/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #e6f2ff;
    color: #333;
    line-height: 1.6;
}

/* Logo Colors Extracted from your Brand */
:root {
    --primary-blue: #0056b3; /* Adjust this to match the exact blue in your logo */
    --dark-black: #000000;
    --light-bg: #ffffff;
}

/* Navigation */
header {
    background-color: #002147; /* Dark Navy Blue */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo img {
    height: 60px; 
}

/* Desktop Menu Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff; /* White text for the dark background */
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: #58a6ff; /* Light blue when hovered or active */
}

/* Hamburger Menu (Hidden on Desktop) */
.menu-toggle {
    display: none; /* Hidden on large screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #ffffff; /* White lines */
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* --- RESPONSIVE DESIGN FOR PHONES --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Show hamburger on phones */
    }

    /* Hide the normal menu */
    #nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #002147; /* Navy Blue dropdown */
        padding: 20px 5%;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    /* Show the menu when it has the 'active' class */
    #nav-menu.active {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    nav ul li {
        text-align: center;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--dark-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-blue);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
/* Stats Bar Section */
.stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: var(--light-bg);
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 30px 15px;
    background-color: #fff;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--dark-black);
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* The middle blue box */
.stat-highlight {
    background-color: var(--primary-blue);
}

.stat-highlight h3, .stat-highlight p {
    color: white;
}

/* --- RESPONSIVE DESIGN FOR PHONES (Stats Bar) --- */
@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        margin: 20px 5%;
    }
    
    .stat-item {
        padding: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
}

/* Buttons */
.btn {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: white;
}

.btn-link {
    color: var(--primary-blue);
    padding: 0;
    font-weight: bold;
}

/* Feature Sections */
.feature-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

/* Alternating background colors for sections */
.mission-section {
    background-color: #e6f2ff;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
}

.feature-image, .feature-text {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-black);
}

/* Call To Action Section */
.cta-section {
    background-color: var(--dark-black);
    color: white;
    text-align: center;
    padding: 80px 5%;
    margin-top: 40px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--dark-black);
}

.cta-section .btn-secondary {
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background-color: white;
    color: var(--dark-black);
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 50px 5% 20px 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-about {
    flex: 1;
    min-width: 300px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 15px;
}

.footer-about p {
    color: #aaa;
    max-width: 400px;
}

.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-social h3 {
    margin-bottom: 15px;
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a img {
    height: 35px;
    width: 35px;
    transition: transform 0.3s ease;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.social-links a img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
}

/* --- RESPONSIVE DESIGN FOR PHONES --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row; /* Keeps logo and 3 lines side-by-side */
        justify-content: space-between; /* Puts logo left, lines right */
    }
    .hero, .feature-section, .feature-section.reverse {
        flex-direction: column;
        padding: 40px 5%;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-content p {
        text-align: center;
    }

    .hero-buttons, .cta-section .hero-buttons {
        justify-content: center;
    }

    .feature-text h2, .feature-text p, .cta-section h2, .cta-section p {
        text-align: center;
    }

    .btn-link {
        display: block;
        margin-top: 10px;
    }

    nav ul {
        padding-top: 10px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-about p {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }
}



/* =========================================
   CONSULTING PAGE STYLES (Grid Layouts)
   ========================================= */

/* Section Blocks */
.section-block {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-block.alt-bg {
    background-color: #e6f2ff;
    max-width: 100%;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-black);
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Grid Layout (3 columns on Desktop) */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 30px;
}

/* Grid Cards */
.grid-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.grid-card img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* This prevents images from stretching */
}

.grid-card-text {
    padding: 20px;
}

.grid-card-text h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.grid-card-text p {
    color: #555;
    font-size: 0.95rem;
}

/* --- RESPONSIVE DESIGN FOR PHONES & TABLETS --- */
@media (max-width: 900px) {
    /* Tablets: 2 columns */
    .grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* Phones: 1 column */
    .grid-layout {
        grid-template-columns: 1fr;
    }
    
    .section-block {
        padding: 50px 5%;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

/* =========================================
   ACADEMY PAGE STYLES (4-Column Grid)
   ========================================= */

.grid-4-col {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
}

.grid-4-col .grid-card img {
    height: 180px; /* Slightly shorter images for the 4-column layout */
}

/* --- RESPONSIVE DESIGN FOR TABLETS & PHONES --- */
@media (max-width: 1000px) {
    /* Tablets: 2 columns */
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* Phones: 1 column (inherits from the previous mobile code, but just to be safe) */
    .grid-4-col {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* Centered Hero for About Page */
.about-hero {
    text-align: center;
    padding: 80px 5% 40px 5%;
    max-width: 800px;
    margin: 0 auto;
}

.about-logo {
    width: 150px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-black);
}

.about-hero p {
    font-size: 1.2rem;
    color: #555;
}

/* 3-Column Grid for Team */
.grid-3-col {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
}

/* Team Cards */
.team-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

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

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Makes the image a perfect circle */
    margin: 25px auto 15px auto;
    border: 4px solid var(--primary-blue);
}

.team-info {
    padding: 0 20px;
}

.team-info h3 {
    color: var(--dark-black);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-info .role {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN FOR TABLETS & PHONES --- */
@media (max-width: 900px) {
    /* Tablets: 2 columns for team */
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* Phones: 1 column for team */
    .grid-3-col {
        grid-template-columns: 1fr;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
}
/* =========================================
   PARTNERS SECTION STYLES
   ========================================= */
.partners-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 logos side-by-side */
    gap: 40px;
    align-items: center; /* Centers them vertically if they are different sizes */
    margin-top: 30px;
}

.partner-card {
    background-color: #ffffff; /* White background card for the logos */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px; /* Keeps all cards the same height */
}

.partner-card img {
    max-width: 100%;
    max-height: 100px; /* Prevents giant logos from overflowing */
    object-fit: contain; /* Keeps the logo's shape perfect */
    filter: grayscale(100%); /* Makes logos black and white by default */
    opacity: 0.7; /* Slightly faded */
    transition: all 0.3s ease;
}

/* When you hover over a logo, it turns colorful and bright */
.partner-card img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- RESPONSIVE DESIGN FOR PHONES --- */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr); /* Keeps 3 side-by-side on phone */
        gap: 15px; /* Smaller gap so they fit nicely */
    }
    
    .partner-card {
        height: 100px; /* Shorter cards on mobile */
        padding: 10px;
    }
    
    .partner-card img {
        max-height: 60px;
    }
}
/* =========================================
   PURPOSE SECTION STYLES
   ========================================= */
.purpose-section {
    padding: 60px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.purpose-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-left: 5px solid var(--primary-blue); /* A nice blue accent bar on the left */
}

.purpose-container h2 {
    font-size: 2rem;
    color: var(--dark-black);
    margin-bottom: 20px;
}

.purpose-container p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Custom Bullet Points */
.purpose-list {
    list-style: none; /* Removes default black dots */
    padding-left: 5px;
}

.purpose-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Creates a custom blue diamond/dot bullet */
.purpose-list li::before {
    content: "▶"; /* A right-pointing triangle */
    color: var(--primary-blue);
    font-size: 0.8rem;
    position: absolute;
    left: 0;
    top: 4px;
}

/* --- RESPONSIVE DESIGN FOR PHONES --- */
@media (max-width: 600px) {
    .purpose-container {
        padding: 25px;
    }
    
    .purpose-container h2 {
        font-size: 1.7rem;
    }
}