/* --- Reset and Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #072544;
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header & Navigation --- */
.header {
    background: transparent;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between; /* MODIFIED */
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #00FFFF;
}

.nav-item.active {
    color: #00FFFF;
    font-weight: 700;
}

/* ADDED: Hamburger and Close Menu buttons */
.hamburger-menu, .close-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
}

/* --- General Section Styles --- */
.section {
    padding: 60px 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: #E6F1FF;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: #adadad;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    color: #00FFFF;
}

/* --- Hero Section --- */
.hero-section {
    background-color: #0A2E57;
    text-align: center;
    padding: 160px 24px 100px 24px;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: #E0E0E0;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.hero-button {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid #00FFFF;
    border-radius: 8px;
    color: #00FFFF;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-button:hover {
    background-color: #00FFFF;
    color: #072544;
}

/* --- Text Sections (Story, Evolution) --- */
.text-section .section-text {
    font-size: 16px;
    color: #adadad;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

/* --- Core Values Section --- */
.values-section {
    background-color: #0A2E57;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr; /* Default to 1 column for mobile */
    gap: 28px;
}

.value-card {
    background-color: #072544;
    padding: 32px;
    border: 1px solid #5800FF;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(88, 0, 255, 0.2);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px auto;
    background: rgba(88, 0, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 28px;
    height: 28px;
}

.value-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #E6F1FF;
    margin-bottom: 12px;
}

.value-description {
    font-size: 15px;
    color: #adadad;
}

/* --- Mid CTA Section --- */
.mid-cta {
    background-color: #143a65;
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
}

.mid-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.mid-cta-text {
    font-size: 16px;
    color: #adadad;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Bottom CTA Section --- */
.bottom-cta-section {
    background: linear-gradient(90deg, #1E5798 0%, #2874CB 100%);
    padding: 80px 24px;
    text-align: center;
}

.bottom-cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
}

.bottom-cta-subtitle {
    font-size: 18px;
    color: #E0E0E0;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(90deg, #9D00FF 0%, #00FFFF 100%);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(157, 0, 255, 0.3);
}


/* =================================== */
/* ===         FOOTER STYLES         === */
/* =================================== */

.footer {
    padding: 60px 0 30px;
    background-color: #0b2f57;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* Default for mobile */
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 15px;
    margin-bottom: 12px;
    color: #E6F1FF;
}

.footer-description {
    font-size: 14px;
    color: #adadad;
    max-width: 350px;
    margin: 0 auto 30px auto;
}

.footer-contact-card {
    background-color: #1B4571;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 350px;
    text-align: left;
}

.footer-contact-card .contact-item {
    font-size: 15px;
    color: #E6F1FF;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-card .contact-item img {
    filter: brightness(0) invert(1);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #E6F1FF;
    margin-bottom: 20px;
    width: 100%;
    text-align: center; /* Default for mobile */
}

.footer-link {
    font-size: 15px;
    color: #adadad;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    text-align: center; /* Default for mobile */
    width: 100%;
}

.footer-link:hover {
    color: #00FFFF;
}

.footer-divider {
    height: 1px;
    background-color: #2e5a8a;
    margin-top: 40px;
    margin-bottom: 30px;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #adadad;
}

/* === UPDATED: Social Media Links Styles === */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  width: 100%;
  max-width: 350px;
}

.social-links a {
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #00FFFF;
  transform: translateY(-3px);
}


/* =================================== */
/* ===     RESPONSIVE QUERIES      === */
/* =================================== */

/* --- Tablet & Smaller Screens --- */
@media (max-width: 768px) {
    /* === START: MOBILE NAVIGATION STYLES === */
    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
        z-index: 1001; /* Ensure it's clickable */
    }

    .nav-menu {
        display: none; /* Hide nav by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #072544;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex; /* Show nav when active */
    }

    .nav-menu .nav-item {
        font-size: 24px; /* Larger text for mobile menu */
    }
    
    .nav-menu .close-menu {
        display: block; /* Show the close button inside the mobile menu */
        position: absolute;
        top: 20px;
        right: 24px;
        font-size: 40px;
    }
    /* === END: MOBILE NAVIGATION STYLES === */

    .hero-title {
        font-size: 40px;
    }
    .section-title, .bottom-cta-title {
        font-size: 32px;
    }
}

/* --- Tablet (Landscape) --- */
@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Desktop & Larger Screens --- */
@media (min-width: 768px) {
    .section-title {
        font-size: 42px;
    }

    /* Footer Desktop Layout */
    .footer-content {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 50px;
        text-align: left;
    }
    .footer-col {
        align-items: flex-start;
    }
    .footer-description {
        margin-left: 0;
    }
    .footer-title {
        text-align: left;
    }
    .footer-link {
        text-align: left;
    }
    .social-links {
        justify-content: flex-start;
    }
}
