/* General Styles */
:root {
    --primary-blue: #1a3673;
    --accent-gold: #e3a008;
    --text-dark: #333;
    --text-light: #f4f7f6;
    --bg-light: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-light { background: #f9f9f9; }
.bg-dark { background: var(--primary-blue); color: white; }

.underline {
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 10px auto;
}

.section-header { text-align: center; margin-bottom: 50px; }

/* Navigation */
.navbar {
    background: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo .arb-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    border-bottom: 3px solid var(--accent-gold);
}

.brand-subtext {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-blue);
}

.nav-links { display: flex; list-style: none; }
.nav-links li { margin-left: 30px; }
.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--accent-gold); }

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(26, 54, 115, 0.8), rgba(26, 54, 115, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    margin-top: 70px;
}

.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; max-width: 800px; margin-inline: auto; }

.btn-primary {
    background: var(--accent-gold);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
}
.btn-primary:hover { background: #c28a07; }

/* Cards & Grids */
.services-grid, .about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-10px); }
.service-card i { font-size: 2.5rem; color: var(--accent-gold); margin-bottom: 20px; }
.service-card ul { list-style: none; margin-top: 15px; text-align: left; }
.service-card li { padding: 5px 0; border-bottom: 1px solid #eee; }

/* Vision/Mission Cards */
.vision-mission { display: flex; gap: 20px; margin-top: 30px; }
.vision-mission .card { flex: 1; padding: 20px; border-left: 4px solid var(--accent-gold); background: #f1f4f9; }

/* Contact Form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
}

/* Responsive Menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 15px 0; }
    .menu-toggle { display: block; font-size: 1.5rem; cursor: pointer; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

footer { text-align: center; padding: 20px; background: #111; color: #777; font-size: 0.9rem; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.accent-text { color: var(--accent); font-size: 2.5rem; }

.approach-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; 
    margin-top: 50px; 
}
.step-card { 
    padding: 40px 20px; 
    border: 1px solid #eee; 
    position: relative; 
    transition: 0.3s;
}
.step-card:hover { border-color: var(--primary); background: #f9f9f9; }
.step-icon { 
    font-size: 3rem; 
    font-weight: 900; 
    color: var(--primary); 
    opacity: 0.1; 
    position: absolute; 
    top: 10px; 
    left: 20px; 
}

.outcomes-flex { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.outcome-box { 
    flex: 1; 
    min-width: 300px; 
    background: var(--white); 
    padding: 30px; 
    border-left: 5px solid var(--primary); 
    box-shadow: var(--shadow);
}
:root {
    --primary: #1a3673; /* ARB Navy */
    --accent: #e3a008;  /* Gold */
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text: #334155;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

/* Fix for the Hero/Top Stats bar */
.stats-bar {
    background: var(--primary);
    color: white;
    padding: 40px 0;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h2 {
    color: var(--accent);
    font-size: 2.5rem;
    margin: 0;
}

/* Our Approach - Card Layout Fix */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 5%;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent);
    position: relative;
    transition: transform 0.3s ease;
}

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

.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
}

/* Institutional Outcomes Section */
.outcomes-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 5%;
    background: var(--light-bg);
}

.outcome-box {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: white;
    border-left: 5px solid var(--primary);
    border-radius: 4px;
}

.outcome-box h4 {
    color: var(--primary);
    margin-top: 0;
}

/* Utility classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }

/* --- Our Impact-Driven Approach Styling --- */
#approach {
    padding: 80px 0;
    background-color: #ffffff;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-top: 4px solid #e3a008; /* ARB Gold Accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-card h3 {
    color: #1a3673; /* ARB Navy */
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* The Large Background Number Styling */
.step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: #1a3673;
    opacity: 0.05;
}

/* --- Institutional Outcomes Styling --- */
.outcomes-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.outcomes-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.outcome-box {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 30px;
    border-left: 5px solid #1a3673;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.outcome-box h4 {
    color: #1a3673;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.outcome-box p {
    font-size: 0.95rem;
    color: #444;
}

/* Responsive Fix for Mobile */
@media (max-width: 768px) {
    .outcomes-flex {
        flex-direction: column;
    }
}

/* --- Who We Are / About Section --- */
.section {
    padding: 80px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px; /* Space between image and text */
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 20px 20px 0 #f4f7f6; /* Modern light-gray offset shadow */
}

.about-text {
    flex: 1;
}

.section-header-left h2 {
    color: #1a3673; /* ARB Navy */
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.underline-left {
    width: 50px;
    height: 4px;
    background: #e3a008; /* ARB Gold */
    margin-bottom: 20px;
}

/* Vision & Mission Styling */
.vision-mission-v2 {
    margin-top: 30px;
}

.vm-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.vm-item i {
    font-size: 1.2rem;
    color: #e3a008;
    background: rgba(227, 160, 8, 0.1); /* Light gold circle background */
    padding: 15px;
    border-radius: 50%;
}

.vm-item h4 {
    color: #1a3673;
    margin-bottom: 5px;
    font-weight: 700;
}

/* --- Stats Section --- */
.stats-section.bg-dark {
    background-color: #1a3673; /* Solid ARB Navy background */
    color: #ffffff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-card h3 {
    font-size: 3rem;
    color: #e3a008; /* Big gold numbers */
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-card p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Responsive Fixes */
@media (max-width: 992px) {
    .about-flex {
        flex-direction: column; /* Stack image on top of text for mobile */
        gap: 40px;
    }
}
/* Section Container Styling */
#approach {
    background-color: #ffffff; /* Clean white background */
    padding: 100px 0;
}

.heading {
    color: #1a3673; /* ARB Navy */
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: #e3a008; /* ARB Gold */
    margin: 0 auto 50px;
}

/* Grid Layout */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Individual Styling */
.step-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 8px;
    border: 1px solid #eef2f6;
    position: relative;
    overflow: hidden; /* Clips the background icon */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: #e3a008; /* Highlights border on hover */
    box-shadow: 0 15px 40px rgba(26, 54, 115, 0.08);
}

/* Large Background Number (Step Icon) */
.step-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 5rem;
    font-weight: 900;
    color: #1a3673;
    opacity: 0.04; /* Very subtle ghost number */
    transition: opacity 0.3s ease;
}

.step-card:hover .step-icon {
    opacity: 0.08; /* Becomes slightly more visible on hover */
}

/* Text Elements within Cards */
.step-card h3 {
    color: #1a3673; /* ARB Navy */
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.step-card p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    #approach {
        padding: 60px 0;
    }
    
    .heading {
        font-size: 2rem;
    }
}

/* --- Professional Footer Styles --- */
.main-footer {
    background-color: #0d1b3e; /* Darker variant of ARB Navy for depth */
    color: #ffffff;
    padding: 70px 0 30px;
    font-family: 'Inter', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
}

.footer-col h4 {
    color: #e3a008; /* ARB Gold */
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branding p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
    margin: 20px 0;
    max-width: 320px;
}

.footer-logo {
    height: 60px;
    filter: brightness(0) invert(1); /* Makes the logo white for the dark footer */
}

/* Links & List Items */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #e3a008;
    opacity: 1;
    padding-left: 5px;
}

/* Contact Items */
.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: #e3a008;
    margin-top: 5px;
}

.footer-contact-item span {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: #e3a008;
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .main-footer {
        text-align: center;
    }
    .branding p {
        margin-inline: auto;
    }
    .footer-contact-item {
        justify-content: center;
    }
}
/* --- Split Contact Section Styles --- */
.contact-split-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.contact-flex-container {
    display: flex;
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(26, 54, 115, 0.1);
}

/* Image Side */
.contact-visual {
    flex: 1;
    position: relative;
    min-height: 500px;
}

.side-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 54, 115, 0.95));
    padding: 40px;
    color: #ffffff;
}

.image-overlay-content h3 {
    color: #e3a008; /* ARB Gold */
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.image-overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

/* Form Side */
.contact-form-card {
    flex: 1;
    padding: 60px;
}

.form-header h2 {
    color: #1a3673; /* ARB Navy */
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 700;
    color: #1a3673;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fdfdfd;
}

.btn-gold-submit {
    width: 100%;
    background: #e3a008;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}

.btn-gold-submit:hover {
    background: #c28a07;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .contact-flex-container { flex-direction: column; }
    .contact-visual { min-height: 300px; }
    .contact-form-card { padding: 40px 20px; }
}

/* ==========================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================== */

/* Tablet Optimization (992px and below) */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    /* About Section */
    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    /* Contact Split Section */
    .contact-flex-container {
        flex-direction: column;
    }

    .contact-visual {
        min-height: 350px;
    }

    /* Footer Grid */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Mobile Optimization (768px and below) */
@media (max-width: 768px) {
    /* Typography Scaling */
    .hero h1 {
        font-size: 2.2rem;
    }

    .heading, .section-header-left h2 {
        font-size: 1.8rem;
    }

    /* Navigation Menu Fix */
    .nav-links {
        display: none; /* Controlled by JS .active class */
        flex-direction: column;
        position: absolute;
        top: 85px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary);
    }

    /* Stats Section */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card h3 {
        font-size: 2.2rem;
    }

    /* Vision/Mission */
    .vision-mission, .vision-mission-v2 {
        flex-direction: column;
    }

    /* Approach Grid - ensure cards take full width */
    .approach-grid {
        grid-template-columns: 1fr;
    }

    /* Institutional Outcomes */
    .outcomes-flex {
        flex-direction: column;
    }

    .outcome-box {
        min-width: 100%;
    }

    /* Footer Cleanup */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-contact-item {
        justify-content: center;
    }

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

/* Small Phone Fixes (480px and below) */
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: auto;
        padding: 100px 0;
    }

    .btn-primary, .btn-gold-submit {
        width: 100%;
        text-align: center;
    }
}

/* --- Stats Bar Base Styling --- */
.stats-bar {
    background-color: var(--primary); /* ARB Navy */
    padding: 60px 0;
    color: #ffffff;
}

/* Base Grid for Desktop */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-item h2.accent-text {
    color: var(--accent); /* ARB Gold */
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* --- Mobile Responsiveness --- */

/* Tablet View (992px and below) */
@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
        gap: 40px 20px;
    }
}

/* Small Mobile View (576px and below) */
@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr; /* Single Column Stack */
    }
    
    .stat-item {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-item h2.accent-text {
        font-size: 2rem;
    }
}

.client-ticker {
    overflow: hidden;
    white-space: nowrap;
    padding: 40px 0;
    background: #ffffff;
    border-radius: 12px;
}

.ticker-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.ticker-content img {
    height: 50px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.ticker-content img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-icon {
    font-size: 40px;
    color: var(--primary-blue);
    opacity: 0.6;
}

/* --- Navigation Desktop Rules --- */
.menu-toggle {
    display: none; /* This hidden rule MUST be outside the media query */
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-blue);
}

/* --- Mobile Specific Rules (768px and below) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Hamburger only appears on mobile */
    }

    .nav-links {
        display: none; /* Hide horizontal links on mobile */
        flex-direction: column;
        position: absolute;
        top: 85px; 
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex; /* Show vertical drawer when toggled */
    }
    
    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }
}