* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: #111;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: .4s;
    padding: 20px 0;
}

.header.active {
    background: #fffafa;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80px;
    /* animation: rotateLogo 6s linear infinite; */
}

@keyframes rotateLogo {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.logo-text h2 {
    font-size: 34px;
    line-height: 1;
    color: #001b64;
    font-weight: 800;
}

.logo-text p {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    font-weight: bold;
}

/* MENU */

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: #001b64;
    font-weight: 500;
    position: relative;
    transition: .3s;
}

.nav-links a:hover {
    color: #ff8800;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: #ffd54a;
}

/* BUTTON */

.enquire-btn {
    background: linear-gradient(45deg, #001b64, #003cff);
    color: #fff;
    padding: 14px 28px;
    border-radius: 15px;
    font-weight: 600;
    transition: .4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.enquire-btn:hover {
    transform: translateY(-4px);
}

.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .3s;
    z-index: 999;
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #222 !important;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* MOBILE MENU */

.menu-toggle {
    display: none;
    font-size: 34px;
    color: #001b64;
    cursor: pointer;
}

.mobile-btn {
    display: none;
}

/* ================= HERO ================= */
.hero {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #f8fbff;
    padding: 120px 0 80px;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;

}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin-top: 50px;
}

.hero-content small {
    color: #ff9800;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 60px;
    line-height: 1.1;
    color: #001b64;
    font-weight: 800;
    margin: 15px 0;
}

.hero-content p {
    font-size: 24px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 16px 35px;
    background: linear-gradient(45deg, #001b64, #003cff);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: .3s;
}

.hero-btn:hover {
    transform: translateY(-4px);
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 6px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}


/* ================= FEATURES ================= */

.features {

    position: relative;
    z-index: 10;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border-radius: 6px;
    background: #001b64;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature {
    padding: 35px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: .4s;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feature:last-child {
    border-right: none;
}

.feature-icon {
    font-size: 40px;
}

/* ================= COURSES ================= */

.courses {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title span {
    color: #ff9800;
    font-weight: 600;
}

.section-title h2 {
    font-size: 55px;
    color: #001b64;
}

/* ================= COURSE GRID ================= */

.course-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

/* CARD */

.course-card {
    width: 220px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 6px;
    padding: 25px 20px;

    text-align: center;

    background: #fff;

    border: 1px solid #eee;

    transition: .4s;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* ICON */

.course-icon {
    width: 100px;
    height: 100px;

    background: linear-gradient(45deg, #001b64, #003cff);

    border-radius: 50%;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 45px;

    margin-bottom: 20px;
}

/* TITLE */

.course-card h3 {
    font-size: 23px;
    color: #001b64;
}

/* ================= TABLET ================= */

@media(max-width:992px) {

    .course-grid {
        gap: 20px;
    }

    .course-card {
        width: 45%;
    }

}

/* ================= MOBILE ================= */

@media(max-width:768px) {
    .nav-links a {
        color: white;
    }

    .course-grid {
        flex-direction: column;
        /* align-items: center; */
    }

    .course-card {
        width: 100%;
        max-width: 350px;
        padding: 25px 20px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .course-card h3 {
        font-size: 20px;
    }

    .course-icon {
        width: 85px;
        height: 85px;
        font-size: 38px;
    }

}

.opportunity {
    margin: 50px auto 0;
    width: fit-content;
    background: #001b64;
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 500;
}

/* ================= WHY CHOOSE ================= */

.why {
    padding-bottom: 100px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.why-box {
    text-align: center;
    padding: 25px 20px;
    border-radius: 6px;
    transition: .4s;
    box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}

.why-box:hover {
    background: #f8f8f8;
    transform: translateY(-8px);
}

.why-icon {
    font-size: 60px;
    color: #001b64;
    margin-bottom: 20px;
}

.why-box h4 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #001b64;
}

.why-box p {
    color: #555;
    line-height: 1.7;
}

/* ================= FOOTER ================= */

footer {
    background: #001b64;
    color: #fff;
    /* margin-top: 50px; */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.footer-box {
    padding: 35px 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-box:last-child {
    border-right: none;
}

.footer-box h4 {
    margin-bottom: 15px;
    font-size: 22px;
}

.footer-box p {
    line-height: 1.9;
}

.copy {
    text-align: center;
    padding: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= MOBILE ================= */

@media(max-width:1100px) {

    .course-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {

    .header {
        padding: 15px 0;
        background-color: #f8f8f8;
    }

    .logo img {
        width: 55px;
    }

    .logo-text h2 {
        font-size: 24px;
    }

    /* .logo-text p {
        display: none;
    } */

    /* MOBILE MENU */

    .menu-toggle {
        display: block;
    }

    .desktop-btn {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #001b64;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-btn {
        display: inline-block;
    }

    /* HERO */
    /* .dropdown {
        width: 100%;
    } */

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        margin-top: 10px;
        background: #f8f8f8;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    /* .hero {
        padding: 0 60px;
    } */

    .hero-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        margin-top: -20px;
    }

    .hero-content {
        max-width: 100%;
        margin-top: revert-layer;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-image {
        text-align: center;
    }

    .hero-image img {
        max-width: 100%;
    }

    /* FEATURES */

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* COURSES */

    .course-grid {
        grid-template-columns: 1fr;
    }

    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;
    }

    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .section-title h2 {
        font-size: 38px;
    }
}