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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #082d63;
}

a {
    text-decoration: none;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    width: 100%;
    height: 120px;

    background: #ffffff;

    position: relative;
    z-index: 1000;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.nav-container {
    width: 90%;
    max-width: 1370px;

    height: 100%;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    width: 100px;

    display: flex;
    align-items: center;
}

.logo img {
    width: 125px;
    height: 95px;
    margin-top: 8px;

    object-fit: contain;
}




/* NAVIGATION */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 55px;
}

.nav-menu a {
    position: relative;

    color: #071f49;

    font-size: 16px;
    font-weight: 700;

    transition: 0.3s ease;
}

.nav-menu a:hover {
    color: #087fe8;
}


/* ACTIVE */

.nav-menu a.active {
    color: #087fe8;
}

.nav-menu a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -14px;

    width: 45px;
    height: 3px;

    transform: translateX(-50%);

    background: #087fe8;

    border-radius: 10px;
}


/* LOGIN */

.login-btn {
    padding: 14px 30px;

    color: #ffffff;

    background: linear-gradient(100deg,
            #063c8e,
            #08a9e8);

    border-radius: 6px;

    font-size: 16px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(0, 100, 200, 0.25);

    transition: 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0, 100, 200, 0.35);
}


/* =========================================
   GALLERY HERO
========================================= */

.gallery-hero {
    height: 345px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(105deg,
            #063572,
            #001d50);

    color: #ffffff;
}


/* DECORATIVE CIRCLE */

.gallery-hero::before {
    content: "";

    position: absolute;

    width: 400px;
    height: 400px;

    left: -130px;
    top: -200px;

    border: 2px dashed rgba(255, 255, 255, 0.15);

    border-radius: 50%;
}


/* BLUE CIRCLE */

.hero-circle {
    position: absolute;

    width: 280px;
    height: 160px;

    right: -60px;
    bottom: 20px;

    background: rgba(0, 132, 255, 0.13);

    border-radius: 50%;
}


/* HERO CONTAINER */

.gallery-hero-container {
    width: 90%;
    max-width: 1210px;

    height: 100%;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;
}


/* HERO CONTENT */

.gallery-hero-content {
    position: relative;

    z-index: 2;
}

.hero-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;
}

.hero-label span {
    width: 32px;
    height: 2px;

    background: #ffffff;
}


.gallery-hero-content h1 {
    font-family: Georgia, serif;

    font-size: 55px;

    line-height: 1.03;

    margin-bottom: 18px;
}

.gallery-hero-content h1 strong {
    display: block;

    color: #ffc400;
}


.gallery-hero-content p {
    max-width: 510px;

    color: #e0eaf8;

    font-size: 15px;

    line-height: 1.65;
}


/* HERO IMAGE */

.gallery-hero-image {
    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    position: relative;
}

.gallery-hero-image img {
    height: 330px;

    max-width: 100%;

    object-fit: contain;

    position: relative;

    z-index: 2;
}


/* LEARN TEXT */

.learn-text {
    position: absolute;

    right: 20px;
    top: 105px;

    color: #13b5ef;

    font-size: 18px;

    font-weight: 700;

    line-height: 1.25;

    transform: rotate(-7deg);

    z-index: 3;
}

/* Gallery hero */

.gallery {
    padding: 60px 0 30px;
    background: #092e63;
    height: 180px;
}

.gallery h2 {
    color: white;
    text-align: center;
    font-family: Georgia, serif;
    font-size: 33px;
    margin: 0;
}


/* =========================================
   GALLERY SECTION
========================================= */

.gallery-section {
    padding: 55px 0 65px;

    background: #ffffff;
}


/* HEADING */

.gallery-heading {
    text-align: center;

    margin-bottom: 22px;
}

.section-label {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    color: #087fe8;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-label span {
    width: 30px;
    height: 2px;

    background: #087fe8;
}


.gallery-heading h2 {
    color: #092f65;

    font-family: Georgia, serif;

    font-size: 38px;

    margin-bottom: 8px;
}

.gallery-heading h2 span {
    color: #087fe8;
}

.gallery-heading p {
    color: #5f7b9b;

    font-size: 15px;
}


/* =========================================
   FILTER BUTTONS
========================================= */

.gallery-filter {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin: 25px 0;
}

.filter {
    border: none;

    padding: 10px 25px;

    border-radius: 30px;

    background: #eef8ff;

    color: #123b6d;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}

.filter:hover {
    background: #d9efff;

    transform: translateY(-2px);
}

.filter.active {
    color: #ffffff;

    background:
        linear-gradient(90deg,
            #0879ee,
            #09aeea);

    box-shadow:
        0 7px 18px rgba(0, 130, 230, 0.2);
}


/* =========================================
   GALLERY GRID
========================================= */

.gallery-grid {
    width: 90%;
    max-width: 1250px;

    margin: 25px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


/* GALLERY ITEM */

.gallery-item {
    height: 170px;

    position: relative;

    overflow: hidden;

    border-radius: 10px;

    cursor: pointer;

    box-shadow:
        0 6px 20px rgba(0, 50, 100, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}


/* IMAGE HOVER */

.gallery-item:hover img {
    transform: scale(1.08);
}


/* OVERLAY */

.gallery-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 30px 18px 15px;

    color: #ffffff;

    background:
        linear-gradient(transparent,
            rgba(0, 20, 55, 0.9));

    opacity: 0;

    transform: translateY(10px);

    transition: 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;

    transform: translateY(0);
}

.gallery-overlay span {
    color: #ffc400;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;
}

.gallery-overlay h3 {
    margin-top: 4px;

    font-size: 15px;
}


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

.contact-features {
    padding: 25px 0;

    background: #edf8ff;
}

.feature-container {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    border-right: 1px solid #d6e8f5;
}

.feature:last-child {
    border-right: none;
}

.feature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #087fe8;

    font-size: 24px;
}

.feature h3 {
    color: #0a3b73;

    font-size: 13px;

    margin-bottom: 4px;
}

.feature p {
    color: #6a86a3;

    font-size: 10px;
}

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

.footer {
    background: #0945a0;

    color: #ffffff;

    padding-top: 60px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;

    gap: 45px;

    padding-bottom: 45px;
}


/* ABOUT */

/* .footer-logo {
    width: 90px;
    height: 65px;

    object-fit: contain;

    background: #ffffff;

    border-radius: 5px;

    margin-bottom: 15px;
} */

.footer-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    display: block;

    filter: grayscale(100%) invert(100%) brightness(300%) contrast(1000%);

    mix-blend-mode: screen;
}


.footer-about p {
    max-width: 310px;

    color: #ffffff;

    font-size: 13px;

    line-height: 1.7;
}

.footer-about h2 {
    font-size: 15px;
    color: rgb(77, 128, 238);
    margin-bottom: 10px;
}

/* SOCIAL */

.social-links {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}

.social-links a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    transition: 0.3s ease;
}

.social-links a:hover {
    background: #087fe8;

    transform: translateY(-4px);
}


/* FOOTER HEADINGS */

.footer-column h3 {
    position: relative;

    margin-bottom: 20px;

    color: #ffffff;

    font-size: 16px;

    font-style: normal;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 30px;
    height: 2px;

    margin-top: 8px;

}


/* FOOTER LINKS */

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 11px;
}

.footer-column ul li a {
    color: #ffffff;

    font-size: 13px;

    transition: 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;

    padding-left: 5px;
}


/* FOOTER CONTACT */

.footer-contact p {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    color: #e9e9e9;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 13px;
}

.footer-contact p i {
    width: 17px;

    color: #fafeff;

    margin-top: 2px;
}

.footer-contact-btn {
    display: inline-block;

    margin-top: 8px;

    padding: 10px 18px;

    background: #087fe8;

    color: #ffffff;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 700;

    transition: 0.3s ease;
}

.footer-contact-btn:hover {
    background: #08a9e8;

    transform: translateY(-2px);
}


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

.footer-bottom {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    padding: 20px 0;

    border-top: 1px solid rgba(210, 200, 200, 0.1);

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.footer-bottom p {
    color: #ffffff;

    font-size: 17px;
    margin-left: 179px;
}

.footer-bottom p span {
    font-size: 13px;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.footer-bottom a {
    color: #91a9c5;

    font-size: 11px;

    transition: 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}
/* === NEW RESPONSIVE & FONT ALIGNMENT FIXES === */
body {
    font-family: 'Inter', sans-serif !important;
}

h1, h2, h3, h4, h5, h6, .nav-menu a {
    font-family: 'Merriweather', serif !important;
}

/* Global Responsive Tweaks */
@media (max-width: 992px) {
    .nav-menu {
        display: none !important; /* Simplified nav for mobile unless they add hamburger */
    }
    .nav-container {
        justify-content: center;
        flex-direction: column;
        padding: 10px 0;
    }
    .login-btn {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .who-container, .contact-container, .blog-container, .courses-container, .gallery-grid, .footer-container {
        flex-direction: column !important;
        align-items: center !important;
    }
    .who-content, .who-image, .contact-form, .contact-info {
        width: 100% !important;
        padding: 15px !important;
    }
    .course-card, .blog-card, .gallery-item {
        width: 100% !important;
        margin-bottom: 20px !important;
    }
    .footer-col {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
}

/* Mobile Navbar Responsive */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #071f49;
}

@media (max-width: 991px) {
    .nav-container {
        padding: 0 20px;
        position: relative;
    }
    .hamburger { display: block; position: absolute; right: 20px; top: 25px; z-index: 1001; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }
    .nav-menu.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-container > .login-btn {
        display: none;
    }
}
