/* Color Palette - Alternating Themes */
:root {
    --gold: #C5A059;
    --gold-gradient: linear-gradient(135deg, #E8D099 0%, #C5A059 100%);
    
    /* Dark Theme Core */
    --bg-main: #0a0a0a; 
    --bg-card: #141414; 
    --white: #ffffff;
    --text-main: #e0e0e0;
    --text-muted: #999999;
    
    /* Light Theme Core (Added for contrast sections) */
    --light-bg: #Faf9f6;
    --light-card: #ffffff;
    --dark-text: #1a1a1a;
    --light-muted: #555555;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--white);
}

.gold-subtitle {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

/* Light Theme Utilities */
.light-section {
    background-color: var(--light-bg) !important;
}

.dark-text {
    color: var(--dark-text) !important;
}

.light-text-muted {
    color: var(--light-muted) !important;
}

/* Buttons */
.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-main);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px; 
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--bg-main);
}

/* Floating Glass Navigation */
/* Floating Glass Navigation */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    /* NEW: Solid White Default State */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    z-index: 1000;
    padding: 10px 25px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}



/* Logo visibility controls */

/* Initially hide the white scrolled logo */
.site-logo.scrolled-logo {
    display: none;
}

/* Scrolled State: Dark Glass (your existing rule) */
.floating-nav.scrolled {
    top: 10px;
    background: rgba(10, 10, 10, 0.85);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(197, 160, 89, 0.3);
}

/* Swap logos when the .scrolled class is active on the parent navbar */
.floating-nav.scrolled .default-logo {
    display: none;
}

.floating-nav.scrolled .scrolled-logo {
    display: block;
}


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

.site-logo {
    max-height: 35px; 
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

/* Default Links (Black) */
.nav-links a {
    text-decoration: none;
    color: #111111; 
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

/* Scrolled Links (Light) */
.floating-nav.scrolled .nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover { 
    color: var(--gold) !important; 
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Default Phone (Black) */
.nav-phone {
    color: #111111;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

/* Scrolled Phone (Light) */
.floating-nav.scrolled .nav-phone {
    color: var(--text-main);
    font-weight: 500;
}

.nav-phone i { color: var(--gold); }
.nav-phone:hover { color: var(--gold) !important; }

.nav-cta {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), var(--bg-main));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    margin-top: 50px; 
}

.hero-subtitle {
    display: inline-block;
    color: var(--gold);
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-title {
    color: var(--white);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero .gold-text { color: var(--gold); }

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Sections Base */
section { padding: 120px 0; }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-title { font-size: 3rem; margin-bottom: 20px; }
.section-desc { color: var(--text-muted); font-size: 1.1rem; }

/* Capabilities Section (Editorial Layout) */
.capabilities-section {
    position: relative;
    padding: 120px 0;
}

.capabilities-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: flex-start;
}

.capabilities-sidebar {
    position: sticky;
    top: 120px; /* Sticks to the screen as you scroll past the list */
}

.capabilities-list {
    display: flex;
    flex-direction: column;
}

.capability-item {
    display: flex;
    gap: 30px;
    padding: 50px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.capability-item:first-child {
    padding-top: 0;
}

.capability-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Massive background number */
.cap-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: rgba(197, 160, 89, 0.2); /* Very subtle gold */
    font-weight: 700;
    transition: color 0.3s ease;
}

.cap-content {
    flex-grow: 1;
}

.cap-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.cap-icon {
    font-size: 1.5rem;
    color: var(--gold);
}

.cap-header h4 {
    font-size: 1.5rem;
    margin: 0;
}

.capability-item p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Hover effect pulls the item together slightly */
.capability-item:hover .cap-number {
    color: var(--gold);
}

/* Responsive adjustments for the new layout */
@media (max-width: 992px) {
    .capabilities-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .capabilities-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .capability-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .cap-number {
        font-size: 3rem;
    }
}



/* =========================================
   Compact Services Section (Reference Style)
   ========================================= */
.compact-services-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.compact-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 10px;
    transition: transform 0.3s ease;
}

.feature-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 25px;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 18px; /* Smooth rounded square like the reference */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-body); /* Using sans-serif for a more modern, compact look */
}

.feature-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive constraints for the new layout */
@media (max-width: 992px) {
    .compact-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .compact-features-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .feature-icon {
        margin-bottom: 15px;
    }
}



/* Sectors Section (Dark Variant) */
.sectors-section {
    background-color: var(--bg-main);
}

.cards-grid {
    display: grid;
    /* Forces a perfect 2x2 layout on desktop */
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    /* Limits the max width so the 2x2 cards don't stretch too far */
    max-width: 1000px; 
    margin: 0 auto;
}

/* Tablets get the same 2x2 grid, but we slightly reduce the gap */
@media (max-width: 992px) {
    .cards-grid {
        gap: 30px;
    }
}

/* Mobile screens switch to a clean single column (1x4) */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.modern-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(197, 160, 89, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modern-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 160, 89, 0.5);
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.12);
}

.card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
}

.card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}

.modern-card:hover .card-img-wrapper img { transform: scale(1.08); }

.card-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gold);
    padding: 8px 18px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    z-index: 2;
}

.card-body {
    padding: 0 30px 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.roles-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.roles-title::after {
    content: ''; height: 1px; flex-grow: 1;
    background: rgba(197, 160, 89, 0.2);
}

.roles-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.roles-tags span {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.modern-card:hover .roles-tags span {
    border-color: rgba(197, 160, 89, 0.3);
    color: var(--white);
}

.roles-tags span:hover {
    background-color: var(--gold);
    color: var(--bg-main);
    border-color: var(--gold);
}

/* News & Insights Section (Light Variant) */


#news {
    display: none!important;
}


.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.news-card {
    background: var(--light-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.05); /* Subtle image zoom on hover */
}

.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--white);
    color: var(--bg-main);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.news-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.read-more {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--gold);
}

.read-more:hover i {
    transform: translateX(4px); /* Pushes the arrow slightly right */
}

/* Epic Footer */
/* Modern Minimalist Footer */
.site-footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    /* This creates a wider column for the logo, and equal columns for the rest */
    grid-template-columns: 2fr 1fr 1fr 1.5fr; 
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    max-height: 40px;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-heading {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.contact-col p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact-link {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

/* Circular social buttons */
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--bg-main);
    transform: translateY(-3px);
}

/* Responsive constraints for tablets and mobile */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    background: var(--gold-gradient);
    color: var(--bg-main);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999;
}

.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-5px); }


/* =========================================
   Developer line styles
   ========================================= */
   

#developer, #developer a {
        color: rgba(255,255,255,0.15);
    }

#developer {
         position: absolute;
         display: block;
        width: 100%;
}




/* Responsive Media Queries */
@media (max-width: 992px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .massive-text { font-size: 3rem; }
    .hero-title { font-size: 3.5rem; }
    .floating-nav { width: 90%; padding: 10px 20px; }
    .nav-links, .nav-phone { display: none; } 
}

@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .footer-top { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; margin-top: 20px; }
    .footer-massive-brand h1 { font-size: 15vw; }
}




/* =========================================
   FLOATING WHATSAPP BUTTON
   ========================================= */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Fixed to bottom left */
    background-color: #25D366; /* Official WhatsApp Green */
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

/* Optional: Add a subtle pulse animation to draw attention */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    animation: none; /* Stops pulsing when they hover over it */
}

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 20px;
        left: 20px;
    }
}

/* =========================================
   MEGA MOBILE FRIENDLY FIXES
   ========================================= */

/* Hide hamburger by default on desktop */
.hamburger {
    display: none;
    font-size: 1.5rem;
    color: #111111;
    cursor: pointer;
    transition: color 0.3s ease;
}

.floating-nav.scrolled .hamburger {
    color: var(--white);
}

/* Tablets & Smaller Laptops (Max 992px) */
@media (max-width: 992px) {
    /* Layout structural fixes */
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .capabilities-container { grid-template-columns: 1fr; gap: 50px; }
    .capabilities-sidebar { position: relative; top: 0; }
    .cards-grid { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    
    /* Reduce giant spacing */
    section { padding: 80px 0; }
    
    /* Navigation adjustments */
    .floating-nav { width: 90%; padding: 10px 20px; }
    .nav-actions { display: none; } /* Hide extra buttons to make room */
    .hamburger { display: block; }  /* Show hamburger menu */
    
    /* Mobile Dropdown Menu Styling */
/* Mobile Dropdown Menu Styling */
    .nav-links {
        display: flex !important; /* Overrides any lingering display: none */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        
        /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s ease;
        pointer-events: none; /* Prevents accidental clicks when closed */
    }

    /* When menu is open */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(15px);
        pointer-events: auto; /* Re-enables clicking */
    }

    /* Make sure the phone number hides properly without breaking the links */
    .nav-phone {
        display: none !important;
    }

/* Mobile Phones (Max 768px) */
@media (max-width: 768px) {
    /* Tighten up padding so mobile users don't scroll forever */
    section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }

    /* Fix typography scaling */
    .hero-title { font-size: 2.8rem; }
    .hero-desc { font-size: 1.05rem; }
    .section-title { font-size: 2.3rem; }
    .cap-number { font-size: 3rem; }
    
    /* Stack hero buttons for easy thumb-tapping */
    .hero-buttons { 
        flex-direction: column; 
        width: 100%; 
        padding: 0 20px;
    }
    .hero-buttons a { 
        width: 100%; 
        justify-content: center; 
    }

    /* Grid collapses to single columns */
    .bento-grid, .cards-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    
    /* Fix news grid overflow on tiny phones */
    .news-grid { grid-template-columns: 1fr; }
    
    .capability-item { flex-direction: column; gap: 15px; padding: 40px 0; }

    /* Footer collapsing */
    /* Mobile Phones (Max 768px) */
@media (max-width: 768px) {
    /* ... (keep all your existing mobile rules here) ... */

    /* NEW: Force Footer to Center on Mobile */
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 20px auto; /* Centers the logo image */
    }

    .footer-desc {
        text-align: center;
        margin: 0 auto;
    }

    .footer-links {
        align-items: center; /* Centers the list items */
    }

    .contact-col p, 
    .footer-contact-link {
        text-align: center;
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
        width: 100%;
        margin-top: 15px;
    }
}
    .footer-top { flex-direction: column; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; margin-top: 20px; }
}

/* Tiny Phones (Max 576px) */
@media (max-width: 576px) {
    .hero-title { font-size: 2.3rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}


/* Home Contact Section (Scoped Styles) */
.home-contact-section { padding: 100px 0; background-color: var(--bg-main); }
.contact-header { text-align: center; margin-bottom: 60px; }
.contact-header h2 { font-family: var(--font-heading); font-size: 3.5rem; color: var(--white); margin-bottom: 15px; }
.contact-header p { color: var(--text-muted); font-size: 1.1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: #ffffff; padding: 60px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.contact-details h3 { font-family: var(--font-heading); font-size: 2rem; color: #1a1a1a; margin-bottom: 30px; }
.c-item { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 25px; }
.c-item i { font-size: 1.5rem; color: #10b981; margin-top: 5px; }
.c-item h4 { font-family: var(--font-body); color: #1a1a1a; font-size: 1.1rem; margin-bottom: 5px; }
.c-item p { color: #475569; font-size: 0.95rem; }

.home-contact-form label { display: block; font-size: 0.9rem; font-weight: 600; color: #334155; margin-bottom: 8px; }
.home-contact-form input, .home-contact-form textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; margin-bottom: 20px; font-family: var(--font-body); }
.home-contact-form button { width: 100%; background: #0f172a; color: white; padding: 15px; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.home-contact-form button:hover { background: #000; }

@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }

