/* ======================================
      Tiny Scholars Reviews CSS
====================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Fredoka',sans-serif;
}

body{
background:linear-gradient(#b8ecff,#eafcff,#fff8dc);
overflow-x:hidden;
position:relative;
}

/* ================= Clouds ================= */

.cloud{
position:absolute;
background:white;
border-radius:50px;
opacity:.9;
animation:cloudMove linear infinite;
}

.cloud::before{
content:"";
position:absolute;
width:60px;
height:60px;
background:white;
border-radius:50%;
left:20px;
top:-25px;
}

.cloud::after{
content:"";
position:absolute;
width:80px;
height:80px;
background:white;
border-radius:50%;
right:15px;
top:-35px;
}

.cloud1{
width:160px;
height:60px;
top:60px;
left:-180px;
animation-duration:45s;
}

.cloud2{
width:180px;
height:65px;
top:180px;
left:-220px;
animation-duration:55s;
}

.cloud3{
width:140px;
height:55px;
top:320px;
left:-160px;
animation-duration:50s;
}

@keyframes cloudMove{
from{
transform:translateX(0);
}
to{
transform:translateX(1800px);
}
}

/* ================= Balloons ================= */

.balloon{
position:fixed;
font-size:45px;
animation:floatBalloon 5s ease-in-out infinite;
z-index:5;
}

.balloon1{
left:25px;
top:180px;
}

.balloon2{
right:30px;
top:220px;
animation-delay:2s;
}

@keyframes floatBalloon{
0%,100%{
transform:translateY(0);
}
50%{
transform:translateY(-20px);
}
}

/* ================= Navbar ================= */

.navbar{

display:flex;
justify-content:space-between;
align-items:center;

padding:18px 45px;

background:rgba(255,255,255,.9);

backdrop-filter:blur(10px);

box-shadow:0 8px 20px rgba(0,0,0,.08);

position:sticky;
top:0;
z-index:999;

}

.logo{

font-size:34px;
font-weight:bold;
color:#ff6b6b;

}

nav a{

text-decoration:none;

margin:0 15px;

font-size:18px;

font-weight:bold;

color:#555;

transition:.3s;

}

nav a:hover{

color:#ff6b6b;

}

/* ================= Hero ================= */

.hero{

text-align:center;

padding:80px 20px;

}

.hero h1{

font-size:55px;

color:#ff6b6b;

margin-bottom:20px;

}

.hero p{

font-size:23px;

color:#555;

line-height:38px;

max-width:900px;

margin:auto;

}

/* ================= Rating ================= */

.overall{

width:80%;

margin:40px auto;

background:white;

padding:35px;

border-radius:30px;

text-align:center;

box-shadow:0 12px 25px rgba(0,0,0,.08);

}

.overall h2{

font-size:60px;

}

.overall h3{

font-size:34px;

color:#10ac84;

margin:15px 0;

}

.overall p{

font-size:20px;

color:#666;

}
/* ======================================
            REVIEW CARDS
====================================== */

.reviews{

width:90%;
margin:60px auto;

display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.review-card{

background:white;
padding:30px;

border-radius:30px;

text-align:center;

box-shadow:0 12px 25px rgba(0,0,0,.08);

transition:.4s;

position:relative;

overflow:hidden;

}

.review-card::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:8px;

background:linear-gradient(90deg,#ff6b6b,#FFD93D,#54a0ff,#10ac84);

}

.review-card:hover{

transform:translateY(-10px);

box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.avatar{

width:90px;
height:90px;

margin:auto;

border-radius:50%;

background:#FFD93D;

display:flex;

justify-content:center;
align-items:center;

font-size:45px;

margin-bottom:20px;

}

.review-card h3{

color:#ff6b6b;

font-size:28px;

margin-bottom:10px;

}

.review-card h4{

font-size:22px;

margin-bottom:15px;

}

.review-card p{

font-size:18px;

line-height:30px;

color:#555;

}

/* ======================================
          STATISTICS
====================================== */

.stats{

width:90%;

margin:70px auto;

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.box{

background:white;

padding:35px;

text-align:center;

border-radius:25px;

box-shadow:0 10px 20px rgba(0,0,0,.08);

transition:.3s;

}

.box:hover{

transform:translateY(-8px);

background:#fffbe6;

}

.box h2{

font-size:45px;

color:#10ac84;

margin-bottom:10px;

}

.box p{

font-size:20px;

color:#666;

}

/* ======================================
          REVIEW FORM
====================================== */

.form-section{

width:80%;

margin:80px auto;

background:white;

padding:45px;

border-radius:30px;

box-shadow:0 12px 25px rgba(0,0,0,.08);

}

.form-section h2{

text-align:center;

font-size:40px;

color:#ff6b6b;

margin-bottom:30px;

}

form{

display:flex;

flex-direction:column;

gap:20px;

}

input,
select,
textarea{

padding:16px;

border:2px solid #ddd;

border-radius:15px;

font-size:18px;

outline:none;

}

input:focus,
select:focus,
textarea:focus{

border-color:#54a0ff;

}

button{

background:#FFD93D;

border:none;

padding:16px;

font-size:22px;

font-weight:bold;

border-radius:40px;

cursor:pointer;

transition:.3s;

}

button:hover{

background:#FFC107;

transform:scale(1.05);

}

/* ======================================
            FOOTER
====================================== */

footer{

margin-top:80px;

padding:50px;

text-align:center;

background:linear-gradient(135deg,#54a0ff,#6ec6ff,#7bed9f);

color:white;

}

footer h2{

font-size:36px;

margin-bottom:15px;

}

footer p{

font-size:20px;

}

/* ======================================
      FLOWER & BUTTERFLY
====================================== */

body::before{

content:"🌸";

position:fixed;

left:20px;

bottom:20px;

font-size:45px;

animation:flower 4s infinite;

pointer-events:none;

}

body::after{

content:"🦋";

position:fixed;

right:25px;

bottom:40px;

font-size:42px;

animation:butterfly 5s infinite;

pointer-events:none;

}

@keyframes flower{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-15px);

}

}

@keyframes butterfly{

0%{

transform:translate(0,0);

}

25%{

transform:translate(-20px,-10px);

}

50%{

transform:translate(10px,-25px);

}

75%{

transform:translate(-15px,-10px);

}

100%{

transform:translate(0,0);

}

}

/* ======================================
          RESPONSIVE
====================================== */

@media(max-width:768px){

.navbar{

flex-direction:column;

gap:15px;

padding:20px;

}

.hero h1{

font-size:38px;

}

.hero p{

font-size:18px;

}

.form-section{

width:95%;

padding:25px;

}

.reviews,
.stats{

grid-template-columns:1fr;

}

}