* {margin:0;padding:0;box-sizing:border-box;}
body{font-family:'Poppins',sans-serif;color:#333;}

/* NAVBAR */
nav{
    position: sticky;
    top:0;
    background:#0b3c5d;
    padding:15px 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:100;
    box-shadow:0 2px 10px rgba(0,0,0,0.2);
}
.logo{display:flex;align-items:center;gap:10px;color:white;font-size:24px;font-weight:700;}
.logo-img{width:40px;height:40px;}
.nav-links{display:flex;gap:20px;}
.nav-links li{list-style:none;}
.nav-links a{
    color:rgb(255, 255, 255);
    text-decoration:none;
    padding:8px 14px;
    border-radius:5px;
    transition:all 0.3s ease;
}
.nav-links a:hover{background:#f4d03f;color:#0b3c5d;}
.btn{background:#f4d03f;color:#0b3c5d;padding:10px 20px;border-radius:6px;font-weight:600;text-decoration:none;transition:all 0.3s ease;}
.btn:hover{transform:scale(1.1);background:#d4ac0d;color:white;}
.btn-outline{border:2px solid #f4d03f;padding:10px 20px;border-radius:6px;color:#f4d03f;text-decoration:none;transition:all 0.3s ease;}
.btn-outline:hover{transform:scale(1.1);background:#f4d03f;color:#0b3c5d;}

/* HAMBURGER */
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;}
.hamburger span{width:25px;height:3px;background:white;transition:0.3s;}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
.hamburger.active span:nth-child(2){opacity:0;}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}

.hero {
    background: 
        linear-gradient(rgba(11, 60, 93, 0.85), rgba(20, 83, 116, 0.85)),
        url("home.jpg"); /* <-- ADD YOUR IMAGE HERE */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 70px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    gap: 30px;
    position: relative;
}

.hero {
    animation: heroZoom 2s ease-in-out;
    animation: heroFadeIn 2s ease-in-out;
}

@keyframes heroZoom {
    from { background-size: 110%; }
    to { background-size: 100%; }
}


/* SECTIONS */
section{padding:70px 50px;text-align:center;}
.highlights{background:#f8f9fa;}
.highlight-cards,.course-cards{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin-top:30px;}
.card,.course-card{padding:25px;border-radius:10px;width:240px;transition:all 0.4s ease;text-align:center;}
.card{background:#0b3c5d;color:white;}
.card:hover{transform:translateY(-10px) scale(1.05);box-shadow:0 10px 20px rgba(0,0,0,0.25);}
.course-card{background:#f4d03f;color:#0b3c5d;font-weight:600;cursor:pointer;}
.course-card:hover{transform:translateY(-10px) scale(1.05);box-shadow:0 10px 20px rgba(0,0,0,0.25);background:#f6d94c;}

/* FOOTER */
footer{background:#0b3c5d;color:white;padding:50px 20px;}
#contact {
    background: #0b3c5d; /* dark blue background */
    color: #f4d03f;       /* yellow text */
    text-align: center;   /* center text horizontally */
    padding: 50px 20px;
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: center;    /* center items horizontally */
    justify-content: center; /* center items vertically if height is set */
    border-radius: 12px;
    margin: 50px auto;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

#contact p {
    font-size: 18px;
    margin: 5px 0;
}

/* REVEAL ANIMATIONS */
.reveal{opacity:0;transform:translateY(40px);transition:all 0.8s ease;}
.reveal.active{opacity:1;transform:translateY(0);}

/* RESPONSIVE */
@media(max-width:900px){
    .hamburger{display:flex;}
    .nav-links{position:fixed;right:-100%;top:70px;background:#0b3c5d;flex-direction:column;width:250px;height:100vh;padding-top:40px;transition:0.3s;}
    .nav-links.open{right:0;}
    .hero{flex-direction:column;text-align:center;}
    .hero-image img{width:100%;max-width:350px;}
}
/* HIGHLIGHT CARDS */
.card, .course-card {
    padding: 25px;
    border-radius: 10px;
    width: 240px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    cursor: pointer;
    position: relative; /* needed for z-index */
}

/* HIGHLIGHT CARDS */
.card {
    background: #0b3c5d;
    color: white;
}

.card:hover {
    transform: translateY(-15px) scale(1.05); /* lift + scale */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35); /* stronger shadow */
    z-index: 10; /* pop above neighbors */
}

/* COURSE CARDS */
.course-card {
    background: #f4d03f;
    color: #0b3c5d;
    font-weight: 600;
}

.course-card:hover {
    transform: translateY(-15px) scale(1.05); /* lift + scale */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.35);
    background: #f6d94c;
    z-index: 10;
}

#study-centre {
    background: linear-gradient(135deg, #f1f3ff);
    color: #0b3c5d;
    
    padding: 70px 50px;
    margin: 50px 0;
}
.logo-link {
    text-decoration: none; /* remove underline */
    color: inherit;        /* keep text color */
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none; /* remove underline */
    color: inherit;        /* keep text color */
    display: flex;
    align-items: center;
    transition: transform 0.3s ease; /* smooth hover */
}

.logo-link:hover {
    transform: scale(1.05); /* slightly enlarge on hover */
}

.floating-marquee {
    position: fixed; /* always visible */
    bottom: 20px; /* distance from bottom */
    left: 50%;
    transform: translateX(-50%);
    background: #f4d03f;
    color: #0b3c5d;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: floatMarquee 3s ease-in-out infinite alternate;
    z-index: 999; /* above all content */
    cursor: pointer;
    text-align: center;
    min-width: 250px;
}

/* Floating animation */
@keyframes floatMarquee {
    0% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-10px); }
    100% { transform: translateX(-50%) translateY(0px); }
}

/* Optional hover effect */
.floating-marquee:hover {
    transform: translateX(-50%) translateY(-15px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.map-section {
    padding: 60px 20px;
    text-align: center;
   
    border-radius: 12px;
    margin: 50px 0;
    position: relative;
}

.map-section h2 {
    font-size: 36px;
    color: #f4d03f;
    margin-bottom: 15px;
}

.map-section p {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 30px;
}

.map-container iframe {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.admission{
    background: linear-gradient(135deg, #f1f3ff);
    color: #0b3c5d;
    padding: 70px 50px;
    text-align: center;
    border-radius: 12px;
    margin: 50px 0;
    position: relative;
}

.socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    color: #f4d03f;  /* yellow */
    font-size: 28px; /* ensure visibility */
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Platform-specific hover colors */
.social-icon[href*="instagram"]:hover { color: #e1306c; }
.social-icon[href*="wa.me"]:hover { color: #25d366; }
.social-icon[href*="facebook"]:hover { color: #1877f2; }


/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Popup Box */
.whatsapp-popup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 280px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.popup-header {
    background: #25d366;
    color: #fff;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-header i {
    font-size: 22px;
}

.popup-header span {
    flex: 1;
    margin-left: 10px;
    font-weight: 600;
}

.popup-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.popup-body {
    padding: 15px;
    color: #333;
    font-size: 15px;
}

.popup-btn {
    background: #25d366;
    color: #fff;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.popup-btn:hover {
    background: #1ebe5d;
}

.course-cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

/* Academy block */
.academy-block {
    background: linear-gradient(135deg, #f1f3ff);
    color: #0b3c5d;
    padding: 70px 50px;
    margin: 50px 0;
    position: relative;
    width: 100%;
    text-align: center;
    border-radius: 12px;
}

.academy-block h2 {
    margin-bottom: 25px;
    color: #0b3c5d;
   
}

/* AIM Academy cards in one row */
.aim-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Centered School Coaching card */
.center-card {
    margin: 0 auto;
    text-align: center;
}

/* Course Card (if not already present) */
.course-card {
    background: white;
    padding: 25px;
    width: 280px;
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    transition: 0.35s ease;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}



/* FOOTER */
footer{background:#0b3c5d;color:white;padding:50px 20px;}
.DESGINED BY a{
    background: #0b3c5d; /* dark blue background */
    color: #f4d03f;       /* yellow text */
    text-align: center;   /* center text horizontally */
    padding: 50px 20px;
    display: flex;
    flex-direction: column; /* stack items vertically */
    align-items: center;    /* center items horizontally */
    justify-content: center; /* center items vertically if height is set */
    border-radius: 12px;
    margin: 50px auto;
}
.DESGINED BY p{
    font-size: 18px;
    margin: 5px 0;
}


.course-card {
    width: 100%;
    max-width: 320px;   /* uniform size */
    margin: 0 auto;     /* center card */
}

.center-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.aim-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .aim-row {
        flex-direction: column;
        align-items: center;
    }

    .academy-block {
        padding: 20px 10px;
    }

    .course-card {
        max-width: 90%;
    }
}

.course-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.course-card:hover {
    transform: translateY(-8px) scale(1.04);
}

.aim-row {
    display: flex;
    justify-content: center;
    align-items: stretch;   /* IMPORTANT */
    gap: 20px;
    flex-wrap: wrap;
}

.course-card {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* centers content vertically */
    width: 100%;
    max-width: 320px;
    min-height: 180px;        /* equal height baseline */
    padding: 24px;
    box-sizing: border-box;
}

.center-card {
    min-height: 180px;
}


@media (max-width: 768px) {
    .course-card,
    .center-card {
        max-width: 90%;
        min-height: 170px;
    }
}

.course-card h3 {
    min-height: 48px;
}


@media (min-width: 900px) {
    .aim-row {
        flex-direction: row;
        align-items: stretch;
    }

    .course-card {
        min-height: 220px;
    }
}

.aim-row {
    display: flex;
    flex-direction: column;   /* mobile */
    align-items: center;
    gap: 22px;
}

.course-card h3 {
    min-height: 42px;   /* SAME space for all titles */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.course-card h4 {
    margin: 6px 0;
}

.course-card {
    width: 100%;
    max-width: 320px;
    min-height: 200px;           /* IMPORTANT */
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;     /* vertical centering */
    align-items: center;
    text-align: center;

    padding: 22px 20px;
    box-sizing: border-box;
}
