/* =========================
   GLOBAL SITE STYLES
   ========================= */

/* Base Reset */


html, body {
    overflow-x: hidden;
    width: 100%;
}

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


body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Global override for all left-bar highlight boxes */
.highlight-box,
.value-card,
.feature-box,
.service-highlight,
.ccib-highlight,
.about-highlights .highlight-box {
    /* Remove left border */
    border-left: none !important;
    
    /* Apply new Option 3 styling */
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-box:hover,
.value-card:hover,
.feature-box:hover,
.service-highlight:hover,
.ccib-highlight:hover,
.about-highlights .highlight-box:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* =========================
   HEADER & NAVIGATION
   ========================= */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #000;
}

/* =========================
   BUTTONS
   ========================= */
.cta-button {
    background: #000;
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-1px);
}

.btn-primary {
    background: #000;
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    /* No margin - let parent containers control spacing */
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ffffff;
    color: #000;
    padding: 18px 36px;
    border: 2px solid #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #000;
    color: white;
}

.btn-white {
    background: white;
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-white:hover {
    background: #f8f9fa;
}

.btn-outline {
    background: transparent;
    color: #000;
    padding: 10px 20px;
    border: 1px solid #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #000;
    color: white;
}

/* =========================
   MOBILE MENU
   ========================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #000;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 30px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 2rem;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: #666;
}

/* =========================
   FOOTER
   ========================= */
.footer {
    background: #000;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* =========================
   SECTION HEADERS
   ========================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

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

/* =========================
   PAGE HEADER
   ========================= */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #000;
    letter-spacing: -0.03em;
}

.page-header p {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   BREADCRUMBS
   ========================= */
.breadcrumbs {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs nav {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #000;
}

.breadcrumbs .current {
    color: #000;
    font-weight: 500;
}

/* =========================
   STATS SECTION
   ========================= */
.stats-section {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================
   CTA SECTION
   ========================= */
.cta-section {
    background: #000;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* =========================
   IMAGE GALLERY
   ========================= */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.gallery-image {
    height: 200px;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    background-size: cover;
    background-position: center;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.gallery-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* =========================
   RESPONSIVE - GLOBAL
   ========================= */
@media (min-width: 769px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .cta-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.cta-section {
    text-align: center;
}

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

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.cta-section a {
    margin: 0.5rem;
}

@media (max-width: 640px) {
    .cta-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .cta-section a {
        display: block;
        margin: 1rem auto;
        max-width: 280px;
    }
}