/* =========================================================
   IELTS EXAM ONLINE - MAIN STYLE.CSS
   ========================================================= */

/* GOOGLE FONT IMPORT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f9ff;
overflow-x:hidden;
color:#111;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* =========================================================
   HEADER
   ========================================================= */

header{
position:sticky;
top:0;
z-index:999;
background:#fff;
box-shadow:0 2px 20px rgba(0,0,0,0.08);
}

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 0;
}

.logo{
font-size:32px;
font-weight:800;
color:#0d47a1;
}

.logo span{
color:#ff3d00;
}

.menu{
display:flex;
gap:30px;
align-items:center;
}

.menu a{
color:#222;
font-weight:500;
transition:.3s;
}

.menu a:hover{
color:#0d47a1;
}

.btn{
background:linear-gradient(45deg,#ff6a00,#ff3d00);
padding:13px 26px;
border-radius:50px;
color:#fff !important;
font-weight:600;
display:inline-block;
transition:.3s;
box-shadow:0 10px 25px rgba(255,61,0,0.2);
}

.btn:hover{
transform:translateY(-4px);
}

.secondary-btn{
padding:13px 26px;
border-radius:50px;
border:2px solid #0d47a1;
color:#0d47a1;
font-weight:600;
transition:.3s;
display:inline-block;
}

.secondary-btn:hover{
background:#0d47a1;
color:#fff;
}

/* MOBILE MENU */

.mobile-toggle{
display:none;
font-size:30px;
cursor:pointer;
color:#0d47a1;
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero{
padding:100px 0;
background:linear-gradient(135deg,#e8f1ff,#ffffff);
position:relative;
overflow:hidden;
}

.hero::before{
content:'';
position:absolute;
width:450px;
height:450px;
background:#0d47a1;
right:-150px;
top:-100px;
border-radius:50%;
opacity:.08;
}

.hero-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:60px;
}

.hero-text{
animation:fadeInLeft 1s ease;
}

.hero-text h4{
color:#ff6a00;
font-size:18px;
margin-bottom:15px;
text-transform:uppercase;
}

.hero-text h1{
font-size:65px;
line-height:1.1;
margin-bottom:25px;
font-weight:800;
color:#0d47a1;
}

.hero-text h1 span{
color:#ff3d00;
}

.hero-text p{
font-size:18px;
line-height:1.9;
margin-bottom:35px;
color:#555;
}

.hero-buttons{
display:flex;
gap:20px;
flex-wrap:wrap;
}

.hero-image{
position:relative;
animation:fadeInRight 1s ease;
}

.hero-image img{
border-radius:30px;
box-shadow:0 15px 40px rgba(0,0,0,0.15);
}

.floating-card{
position:absolute;
background:#fff;
padding:20px;
border-radius:18px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.card-1{
top:40px;
left:-30px;
}

.card-2{
bottom:40px;
right:-30px;
}

.floating-card h3{
font-size:30px;
color:#0d47a1;
}

.floating-card p{
font-size:14px;
color:#666;
}

/* =========================================================
   COMMON SECTION
   ========================================================= */

.section{
padding:100px 0;
}

.section-title{
text-align:center;
margin-bottom:60px;
}

.section-title h2{
font-size:48px;
margin-bottom:15px;
color:#0d47a1;
font-weight:800;
}

.section-title p{
max-width:700px;
margin:auto;
line-height:1.9;
color:#666;
}

/* =========================================================
   FEATURES
   ========================================================= */

.features{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
}

.feature-box{
background:#fff;
padding:35px;
border-radius:24px;
transition:.4s;
box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.feature-box:hover{
transform:translateY(-10px);
}

.feature-icon{
width:80px;
height:80px;
background:linear-gradient(45deg,#0d47a1,#1565c0);
display:flex;
align-items:center;
justify-content:center;
border-radius:20px;
font-size:35px;
color:#fff;
margin-bottom:25px;
}

.feature-box h3{
margin-bottom:15px;
font-size:24px;
}

.feature-box p{
line-height:1.8;
color:#666;
}

/* =========================================================
   COUNTER SECTION
   ========================================================= */

.counter-section{
background:#0d47a1;
padding:80px 0;
color:#fff;
}

.counter-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
text-align:center;
}

.counter-box h2{
font-size:55px;
margin-bottom:10px;
color:#ffb300;
}

.counter-box p{
font-size:18px;
}

/* =========================================================
   VIDEO SECTION
   ========================================================= */

.video-section{
padding:100px 0;
}

.video-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.video-content h2{
font-size:48px;
color:#0d47a1;
margin-bottom:20px;
}

.video-content p{
line-height:1.9;
margin-bottom:30px;
color:#555;
}

.video-box iframe{
width:100%;
height:400px;
border:none;
border-radius:25px;
box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

/* =========================================================
   DASHBOARD SECTION
   ========================================================= */

.dashboard-section{
background:#0d47a1;
color:#fff;
position:relative;
overflow:hidden;
}

.dashboard-wrapper{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.dashboard-text h2{
font-size:50px;
margin-bottom:25px;
font-weight:800;
}

.dashboard-text p{
font-size:18px;
line-height:1.9;
margin-bottom:35px;
opacity:.95;
}

.dashboard-list{
display:grid;
gap:18px;
}

.dashboard-list div{
background:rgba(255,255,255,0.08);
padding:18px 22px;
border-radius:14px;
backdrop-filter:blur(8px);
font-weight:500;
}

.dashboard-image img{
border-radius:25px;
box-shadow:0 15px 40px rgba(0,0,0,0.25);
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.pricing-box{
background:#fff;
border-radius:28px;
padding:45px 35px;
text-align:center;
box-shadow:0 8px 30px rgba(0,0,0,0.07);
transition:.4s;
}

.pricing-box:hover{
transform:translateY(-10px);
}

.pricing-box.active{
background:linear-gradient(135deg,#0d47a1,#1565c0);
color:#fff;
}

.pricing-box h3{
font-size:28px;
margin-bottom:15px;
}

.price{
font-size:54px;
font-weight:800;
margin-bottom:25px;
}

.pricing-box ul{
margin-bottom:35px;
padding:0;
}

.pricing-box ul li{
margin:14px 0;
font-size:16px;
}

.pricing-box.active .btn{
background:#fff;
color:#0d47a1 !important;
}

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta{
margin:100px auto;
background:linear-gradient(135deg,#ff6a00,#ff3d00);
padding:90px 20px;
border-radius:35px;
text-align:center;
color:#fff;
width:90%;
max-width:1200px;
}

.cta h2{
font-size:52px;
margin-bottom:20px;
}

.cta p{
max-width:750px;
margin:auto;
line-height:1.9;
margin-bottom:35px;
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */

.testimonial-section{
background:#f1f6ff;
}

.testimonial-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:30px;
}

.testimonial-box{
background:#fff;
padding:35px;
border-radius:25px;
box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.testimonial-box p{
line-height:1.9;
margin-bottom:20px;
color:#555;
}

.testimonial-user{
display:flex;
align-items:center;
gap:15px;
}

.testimonial-user img{
width:60px;
height:60px;
border-radius:50%;
object-fit:cover;
}

.testimonial-user h4{
margin-bottom:5px;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-container{
max-width:900px;
margin:auto;
}

.faq-item{
background:#fff;
margin-bottom:20px;
border-radius:18px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.06);
}

.faq-question{
padding:22px 25px;
cursor:pointer;
font-weight:600;
background:#fff;
position:relative;
}

.faq-question::after{
content:'+';
position:absolute;
right:25px;
font-size:24px;
top:18px;
}

.faq-answer{
padding:0 25px;
max-height:0;
overflow:hidden;
transition:.4s;
color:#666;
line-height:1.8;
}

.faq-item.active .faq-answer{
padding:0 25px 25px;
max-height:300px;
}

.faq-item.active .faq-question::after{
content:'−';
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
background:#071d3b;
color:#fff;
padding:90px 0 30px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:40px;
margin-bottom:60px;
}

.footer-logo{
font-size:36px;
font-weight:800;
margin-bottom:18px;
}

.footer-logo span{
color:#ff6a00;
}

.footer-about p{
line-height:1.9;
color:#d4deea;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4{
margin-bottom:20px;
font-size:22px;
}

.footer-links a{
display:block;
margin-bottom:12px;
color:#d4deea;
}

.footer-contact p{
margin-bottom:12px;
color:#d4deea;
}

.social-icons{
display:flex;
gap:15px;
}

.social-icons a{
width:45px;
height:45px;
background:rgba(255,255,255,0.08);
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
color:#fff;
transition:.3s;
}

.social-icons a:hover{
background:#ff6a00;
transform:translateY(-5px);
}

.copyright{
border-top:1px solid rgba(255,255,255,0.1);
padding-top:25px;
text-align:center;
color:#c9d3df;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */

.whatsapp-float{
position:fixed;
right:20px;
bottom:20px;
width:65px;
height:65px;
background:#25d366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:34px;
color:#fff;
z-index:999;
box-shadow:0 10px 30px rgba(0,0,0,0.2);
animation:pulse 2s infinite;
}

.back-to-top{
position:fixed;
right:20px;
bottom:100px;
width:55px;
height:55px;
background:#0d47a1;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:22px;
cursor:pointer;
z-index:999;
opacity:0;
visibility:hidden;
transition:.3s;
}

.back-to-top.show{
opacity:1;
visibility:visible;
}

/* =========================================================
   ANIMATION
   ========================================================= */

.animate{
opacity:0;
transform:translateY(40px);
transition:all 1s ease;
}

.animate.show{
opacity:1;
transform:translateY(0);
}

@keyframes pulse{
0%{
transform:scale(1);
}
50%{
transform:scale(1.08);
}
100%{
transform:scale(1);
}
}

@keyframes fadeInLeft{
from{
opacity:0;
transform:translateX(-50px);
}
to{
opacity:1;
transform:translateX(0);
}
}

@keyframes fadeInRight{
from{
opacity:0;
transform:translateX(50px);
}
to{
opacity:1;
transform:translateX(0);
}
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:991px){

.menu{
position:fixed;
top:80px;
left:-100%;
background:#fff;
width:100%;
flex-direction:column;
padding:40px 20px;
transition:.4s;
box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.menu.active{
left:0;
}

.mobile-toggle{
display:block;
}

.hero-wrapper,
.video-wrapper,
.dashboard-wrapper,
.footer-grid{
grid-template-columns:1fr;
}

.hero-text h1{
font-size:46px;
}

.section-title h2,
.video-content h2,
.dashboard-text h2,
.cta h2{
font-size:36px;
}

.floating-card{
display:none;
}

}

@media(max-width:600px){

.hero{
padding:70px 0;
}

.hero-text h1{
font-size:38px;
}

.hero-buttons{
flex-direction:column;
}

.btn,
.secondary-btn{
width:100%;
text-align:center;
}

.section-title h2,
.video-content h2,
.dashboard-text h2,
.cta h2{
font-size:30px;
}

.video-box iframe{
height:250px;
}

.counter-box h2{
font-size:40px;
}

}