/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


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

.navbar {
    width: 100%;
    height: 120px;
    background: #ffffff;
    position: relative;
    z-index: 100;

    box-shadow: 0 2px 12px rgba(0, 40, 90, 0.08);
}

.nav-container {
    width: 100%;
    max-width: 1370px;
    height: 100%;
    margin: auto;

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



.logo {
    width: 100px;

    display: flex;
    align-items: center;
}

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

    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-menu a {
    position: relative;
    color: #092650;
    font-size: 16px;
    font-weight: 700;
    transition: 0.3s ease;
}

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

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

    position: absolute;
    left: 50%;
    bottom: -13px;

    width: 42px;
    height: 3px;

    background: #087fe8;
    border-radius: 10px;

    transform: translateX(-50%);
}

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

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

    border-radius: 7px;

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

    box-shadow: 0 9px 22px rgba(0, 100, 200, 0.25);

    transition: 0.3s ease;
}

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

/* Contact Hero */

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

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




/* =========================================
   RIGHT SIDE
========================================= */

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.contact-info {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;

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

/* Card */
.info-card {
    background: #ffffff;
    border: 1px solid #e5edf5;
    border-radius: 16px;

    padding: 30px 25px;
    min-height: 220px;

    display: flex;
    flex-direction: column;       /* Icon top, content bottom */
    align-items: center;
    text-align: center;

    box-shadow: 0 8px 25px rgba(0, 50, 100, 0.08);

    transition: all 0.35s ease;
}

/* Hover */
.info-card:hover {
    transform: translateY(-8px);
    border-color: #087fe8;
    box-shadow: 0 18px 40px rgba(0, 80, 160, 0.15);
}

/* Icon */
.info-icon {
    width: 60px;
    height: 60px;

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

    background: #eaf6ff;
    color: #087fe8;

    border-radius: 50%;
    font-size: 24px;

    margin-bottom: 18px;

    transition: all 0.35s ease;

    margin-left: 144px;
}

/* Icon hover */
.info-card:hover .info-icon {
    background: #087fe8;
    color: #ffffff;
    transform: scale(1.08);
}

/* Content */
.info-content {
    width: 100%;
}

.info-content h4 {
    margin: 0 0 10px;

    color: #092e63;
    font-size: 19px;
    font-weight: 700;
}

/* Paragraph */
.info-content p {
    margin: 0;

    color: #647b95;
    font-size: 14px;
    line-height: 1.7;
}



/* ==============================
   INFO CARD
================================ */

.info-card {
    background: #ffffff;

    border: 1px solid #e5edf5;
    border-radius: 12px;

    padding: 25px;

    display: flex;
    align-items: flex-start;
    gap: 18px;

    min-height: 150px;

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

    transition: all 0.3s ease;
}


/* HOVER */

.info-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(0, 60, 120, 0.14);

    border-color: #087fe8;
}


/* ==============================
   ICON
================================ */

.info-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

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

    background: #eaf6ff;

    color: #087fe8;

    border-radius: 10px;

    font-size: 20px;
}


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

.info-content h4 {
    margin: 3px 0 8px;

    color: #082d63;

    font-size: 17px;
    font-weight: 700;
    font-family: Georgia, serif;
}


.info-content p {
    margin: 0;

    color: #647b95;

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


/* ==============================
   PHONE / EMAIL
================================ */

.info-card:nth-child(2) .info-icon {
    background: #eef9ff;
    color: #087fe8;
}

.info-card:nth-child(3) .info-icon {
    background: #eef9ff;
    color: #087fe8;
}




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

.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 {
    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;
    }
}
