* {
    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);
}


/* Blog Section */


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

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




/* =========================================
   BLOG / COURSES SECTION
========================================= */

.blog-section {
    padding: 90px 6%;
    background: #f7faff;
    position: relative;
    overflow: hidden;
}


/* Background decoration */

.blog-section::before {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    left: -180px;
    top: 100px;
    border: 1px solid rgba(0, 126, 255, 0.08);
    border-radius: 50%;
}

.blog-section::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -140px;
    bottom: -100px;
    background: rgba(0, 140, 255, 0.06);
    border-radius: 50%;
}


/* =========================================
   SECTION TITLE
========================================= */

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px;
    position: relative;
    z-index: 2;
}

.section-title>span {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #087fe8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;

    margin-bottom: 12px;
}

.section-title>span::after {
    content: "";
    width: 30px;
    height: 2px;
    background: #087fe8;
    border-radius: 5px;
}


.section-title h2 {
    margin: 0 0 12px;

    color: #082d63;

    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1.2;
}


.section-title h2 strong {
    color: #087fe8;
}


.section-title p {
    margin: 0;

    color: #607896;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   BLOG GRID
========================================= */

.blog-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;

    position: relative;
    z-index: 2;
}


/* =========================================
   BLOG CARD
========================================= */

.blog-card {
    background: #ffffff;

    border: 1px solid #e4edf7;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(10, 60, 120, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    position: relative;
}


.blog-card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 45px rgba(5, 65, 130, 0.15);
}


/* =========================================
   IMAGE
========================================= */

.blog-image {
    height: 235px;

    position: relative;

    overflow: hidden;

    background: #eaf3fc;
}


.blog-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.blog-card:hover .blog-image img {
    transform: scale(1.08);
}


/* =========================================
   BADGE
========================================= */

.blog-badge {
    position: absolute;

    top: 16px;
    left: 16px;

    padding: 8px 14px;

    background: #ffffff;

    color: #087fe8;

    border-radius: 30px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.12);

    z-index: 3;
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.image-overlay {
    position: absolute;

    inset: 0;

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

    padding-bottom: 20px;

    background:
        linear-gradient(transparent 45%,
            rgba(3, 35, 80, 0.85));

    opacity: 0;

    transition: 0.4s ease;
}


.blog-card:hover .image-overlay {
    opacity: 1;
}


.image-overlay span {
    padding: 10px 20px;

    background: #087fe8;

    color: #ffffff;

    border-radius: 30px;

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

    transform: translateY(15px);

    transition: 0.4s ease;
}


.blog-card:hover .image-overlay span {
    transform: translateY(0);
}


/* =========================================
   CONTENT
========================================= */

.blog-content {
    padding: 25px 24px 27px;
}


.blog-tag {
    display: inline-block;

    margin-bottom: 10px;

    color: #087fe8;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.blog-content h3 {
    margin: 0 0 10px;

    color: #092f65;

    font-family: Georgia, serif;

    font-size: 23px;

    line-height: 1.3;

    transition: 0.3s ease;
}


.blog-card:hover .blog-content h3 {
    color: #087fe8;
}


.blog-content p {
    margin: 0 0 20px;

    color: #657b96;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   LINK
========================================= */

.blog-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #087fe8;

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition: 0.3s ease;
}


.blog-link span {
    width: 28px;
    height: 28px;

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

    border-radius: 50%;

    background: #eaf6ff;

    transition: 0.3s ease;
}


.blog-link:hover {
    color: #005bb5;
}


.blog-link:hover span {
    background: #087fe8;
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================
   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;
    }
}
