/* ================= VARIABLES ================= */
:root {
    --primary: #f26d21;      /* EPA Orange */
    --primary-dark: #d6550a;
    --dark: #0f172a;         /* Navy Blue */
    --light: #f8fafc;        /* Off-white bg */
    --white: #ffffff;
    --gray: #64748b;
    --border: #e2e8f0;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --radius: 16px;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ================= BUTTONS (Perfect Alignment) ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px; /* Bigger touch target */
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    line-height: 1;
    white-space: nowrap; /* Prevents text breaking */
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(242, 109, 33, 0.4);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 109, 33, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
    padding: 12px 30px; /* Compensate for border */
}
.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-link {
    color: var(--primary);
    font-weight: 700;
    padding: 0;
    background: none;
    box-shadow: none;
}
.btn-link:hover { gap: 15px; transform: none; }

.btn-full {
    width: 100%;
    background: var(--dark);
    color: var(--white);
}
.btn-full:hover { background: #1e293b; }

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



/* ================= HERO SECTION ================= */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Background blob */
.hero-bg-shape {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(242,109,33,0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* More space for text */
    gap: 40px;
    align-items: center;
}

.badge-pill {
    display: inline-block;
    background: #fff3ea;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--dark);
}

.hero-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap; /* Safety for small screens */
}

/* Trust Metrics */
.trust-metrics {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.metric { display: flex; flex-direction: column; }
.metric-val { font-size: 28px; font-weight: 800; color: var(--dark); line-height: 1; }
.metric-label { font-size: 13px; color: var(--gray); font-weight: 500; margin-top: 5px; }
.divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Visual */
.image-wrapper {
    position: relative;
    border-radius: 30px;
    /* Removed overflow:visible which causes scroll issues */
}
.image-wrapper img {
    border-radius: 30px;
    width: 100%;
    display: block;
    box-shadow: var(--shadow-lg);
}

.float-card {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}
.float-card i { color: #22c55e; font-size: 18px; }

.card-1 { top: 10%; left: -20px; }
.card-2 { bottom: 10%; right: -20px; animation-delay: 1.5s; }
.card-2 i { color: var(--primary); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ================= BANNER SLIDER ================= */
.banner-section {
    padding-bottom: 60px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 21/9;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

.slide picture, .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slide Overlay */
.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    max-width: 500px;
    color: var(--white);
    z-index: 2;
}

.slide-badge {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.slide-content h2 { font-size: 36px; margin-bottom: 12px; font-weight: 800; line-height: 1.2; }
.slide-content p { font-size: 16px; margin-bottom: 24px; opacity: 0.9; }

.btn-sm { padding: 10px 24px; font-size: 14px; }

/* Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.slider-btn:hover { background: var(--white); color: var(--dark); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 8px; height: 8px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: 0.3s;
}
.dot.active { background: var(--white); width: 24px; border-radius: 10px; }


/* ================= COURSES SECTION ================= */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-header h2 { font-size: 40px; margin-bottom: 15px; letter-spacing: -1px; }
.section-header p { font-size: 18px; color: var(--gray); }

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #e0f2fe;
    color: hsl(0, 0%, 100%);
    font-size: 11px;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.card-icon {
    width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 24px;
}
.cuet-bg { background: #e0f2fe; color: #0284c7; }
.ipmat-bg { background: #fef9c3; color: #ca8a04; }
.clat-bg { background: #f3e8ff; color: #9333ea; }
.cbse-bg { background: #dcfce7; color: #16a34a; }

.course-card h3 { font-size: 22px; margin-bottom: 12px; }
.course-card p { font-size: 15px; color: var(--gray); margin-bottom: 24px; line-height: 1.6; }

.card-features { margin-bottom: 30px; width: 100%; border-top: 1px solid var(--border); padding-top: 20px; }
.card-features li { font-size: 14px; color: var(--dark); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.card-features li i { color: #22c55e; background: #dcfce7; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; }


/* ================= CONTACT SECTION ================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    background: var(--dark);
    padding: 80px;
    border-radius: 40px;
    color: var(--white);
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative circle */
.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(242,109,33,0.15) 0%, rgba(0,0,0,0) 70%);
}

.contact-content h2 { font-size: 42px; margin-bottom: 20px; line-height: 1.1; }
.contact-content p { color: #94a3b8; margin-bottom: 50px; font-size: 18px; max-width: 450px; }

.info-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.info-item i { width: 56px; height: 56px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 22px; border: 1px solid rgba(255,255,255,0.1); }
.info-item span { display: block; font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }
.info-item strong { font-size: 20px; letter-spacing: -0.5px; }

.contact-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    color: var(--dark);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.contact-form-card h3 { font-size: 24px; margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--gray); }
.form-group input, .form-group select {
    width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; font-size: 15px; outline: none; font-family: var(--font-main); transition: 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(242, 109, 33, 0.1); }

/* ================= FOOTER ================= */
footer { background: var(--light); padding: 80px 0 30px; border-top: 1px solid var(--border); margin-top: 60px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; margin-bottom: 60px; }
.footer-brand { max-width: 320px; }
.footer-brand h3 { font-size: 28px; font-weight: 800; margin-bottom: 20px; display: flex; align-items: center; gap: 5px; }
.footer-brand h3 span { color: var(--primary); font-size: 40px; line-height: 0; }
.footer-links h4 { font-size: 16px; margin-bottom: 20px; color: var(--dark); }
.footer-links a { display: block; color: var(--gray); font-size: 15px; margin-bottom: 12px; transition: 0.2s; }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }
.footer-bottom { text-align: center; color: var(--gray); font-size: 14px; padding-top: 30px; border-top: 1px solid var(--border); }


/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .hero-text p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    .trust-metrics { justify-content: center; }
    .image-wrapper { max-width: 500px; margin: 0 auto; }
    .contact-wrapper { padding: 40px; grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .nav-links {
        position: fixed;
        top: 70px; /* Below navbar */
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 998; /* Below hamburger */
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active { transform: translateY(0); }
    .nav-item { font-size: 18px; width: 100%; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
    
    .nav-cta { display: none; }
    .hamburger, .call-btn { display: flex; }
    .mobile-only { display: block !important; }

    /* Hero */
    .hero { padding: 100px 0 60px; }
    .hero-text h1 { font-size: 36px; }
    .badge-pill { font-size: 11px; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    
    /* Metrics Mobile */
    .trust-metrics { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .metric-val { font-size: 22px; }
    
    /* Float Cards */
    .float-card { display: none; /* Hide floating cards on mobile to prevent overflow */ }

    /* Banner Slider */
    .slider-container { aspect-ratio: 1/1; border-radius: 16px; }
    .slide-content { bottom: 30px; left: 20px; right: 20px; text-align: center; align-items: center; display: flex; flex-direction: column; }
    .slide-content h2 { font-size: 24px; }
    .slider-btn { display: none; } /* Hide arrows */

    /* Contact */
    .contact-wrapper { padding: 30px 20px; border-radius: 20px; }
    .contact-content h2 { font-size: 32px; }
    .contact-form-card { padding: 25px; }
}


/* Push the entire website content down */
body {
    padding-top: 90px; /* Adjust this number to match your header height */
}

/* Adjust for Mobile if the header is smaller */
@media (max-width: 991px) {
    body {
        padding-top: 60px; 
    }
}