/* --- CSS Variables (Brand Guidelines) --- */
:root {
    /* Colors */
    --brand-blue: #1F75FE; /* Primary Blue */
    --brand-white: #FFFFFF;
    --brand-gray: #B0B0B0; /* Silver/Gray */
    --brand-dark-bg: #1A1A1A; /* Dark Background */

    /* Text Colors */
    --text-color-dark: #333;
    --text-color-light: var(--brand-white);
    --text-color-muted: #555;
    --text-color-secondary-muted: #666;

    /* Backgrounds */
    --bg-light: #f8f9fa;
    --bg-testimonial: #f0f4f8; /* Specific for testimonials */
    --bg-footer-start: #2c3e50;
    --bg-footer-end: #34495e;
    --bg-hero-overlay: rgba(255, 255, 255, 0.1); /* For hero stats */

    /* Shadows */
    --shadow-small: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-large: rgba(0, 0, 0, 0.15);
    --shadow-cta-blue: rgba(31, 117, 254, 0.4); /* Based on brand-blue */
    --shadow-btn-hover: rgba(0, 212, 170, 0.4); /* Keep if this green is desired, or change to brand-blue */

    /* Spacing Scale (based on 1rem = 16px) */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-xxl: 4rem;    /* 64px */
    --space-xxxl: 5rem;   /* 80px */

    /* Border Radius */
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 15px;
    --border-radius-full: 50%;

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-timing: ease;
    --transition-all: all var(--transition-speed) var(--transition-timing);
}

/* --- Base & Reset Styles --- */

/* Universal Reset: Applies to all elements */
* {
    margin: 0;           /* Removes default outer spacing */
    padding: 0;          /* Removes default inner spacing */
    box-sizing: border-box; /* Ensures padding and border are included in element's total width/height */
}

/* HTML Element Styles */
html {
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
    font-size: 100%;         /* Sets base font size so 1rem = 16px (user can scale) */
    /* Add height: 100% here if you need body height: 100% to fill the viewport,
       though min-height: 100vh on body is often preferred for that. */
    /* height: 100%; */
}

/* Body Element Styles */
body {
    width: 100%;             /* Ensures body spans the full width of the viewport (excludes scrollbar) */
    min-height: 100vh;       /* Ensures body always occupies at least the full viewport height */
    overflow-x: hidden;      /* Prevents horizontal scrolling */
    font-family: 'Arial', sans-serif; /* Sets a default sans-serif font */
    line-height: 1.6;        /* Improves readability of text */
    color: var(--text-color-dark); /* Assumes --text-color-dark is defined elsewhere (e.g., in :root) */
    background-color: var(--brand-white); /* Assumes --brand-white is defined elsewhere (e.g., in :root) */
}
/* --- Global Section & Layout --- */
section, header, footer {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    padding: var(--space-xxl) 0;
}

.container, .expertise-container, .why-choose-container, .testimonials, .our-clients {
    padding: var(--space-lg) var(--space-sm);
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    color: var(--brand-blue);
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    transition: var(--transition-all);
    cursor: default;
    font-weight: bold;
}

.section-title:hover {
    color: var(--brand-gray);
}

.section-title span {
    color: inherit;
}

.section-description, .Ourexpertise-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-muted);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Header Styles --- */
.header {
    background: #B0B0B0; /* ✅ Updated to light grey */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-all);
}

.header.scrolled {
    background: #B0B0B0; /* ✅ Also grey when scrolled */
    padding: var(--space-xs) 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-lg);
    position: relative;
}

/* Logo */
.logo {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--brand-blue);
    transition: color var(--transition-speed) var(--transition-timing);
    z-index: 1001;
}

.logo img {
    height: 140px; /* ✅ Increased from 90px */
    width: auto;
}

.logo:hover {
    color: var(--brand-blue);
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    margin: 0;
    padding: 0;
    transition: var(--transition-all);
}

.nav-menu a {
    color: var(--text-color-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) var(--transition-timing);
    position: relative;
}

.nav-menu a:hover {
    color: var(--brand-blue);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-blue);
    transition: width var(--transition-speed) var(--transition-timing);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* CTA Button - Header specific */
.cta-button {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue));
    color: var(--brand-white);
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-all);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-cta-blue);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color-dark);
    font-size: var(--space-md);
    cursor: pointer;
    z-index: 1001;
    padding: var(--space-xs);
}

.mobile-menu-toggle:hover {
    color: var(--brand-blue);
}

/* Hamburger Icon */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition-all);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden; /* Crucial: Hides parts of slides not currently visible */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Container for slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 400%; /* 4 slides × 100% = 400% */
    height: 100%;
    transition: transform 1s ease-in-out; /* This is crucial for smooth movement */
    z-index: 0;
}

/* Each slide */
.slide {
    width: 25%; /* Each slide takes 25% of the 400% container */
    height: 100%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0; /* Prevents slides from shrinking */
}

/* Hero content overlay */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 var(--space-lg);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: var(--space-md);
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: white;
    font-weight: 500;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: white;
}

/* Navigation Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 4;
    user-select: none; /* Prevent text selection */
    transition: background 0.3s ease;
}

.slide-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.slide-arrow.prev {
    left: 10px;
    border-radius: 0 5px 5px 0;
}

.slide-arrow.next {
    right: 10px;
    border-radius: 5px 0 0 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .slide-arrow {
        padding: 5px 10px;
        font-size: 1.5rem;
    }
}

/* === STATS SECTION === */
.stats-section {
    background: #B0B0B0;
    padding: var(--space-lg) var(--space-md);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100vw;
    max-width: 100vw;
    margin: var(--space-lg) auto;
    box-sizing: border-box;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #3D66C9;
    margin-bottom: var(--space-sm);
    font-weight: bold;
}

.stat-item h4 {
    color: #000;
    opacity: 0.9;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.stat-item p {
    color: #000;
    opacity: 0.9;
}

/* === COMBINED SERVICES SECTION === */
.combined-services {
    padding: var(--space-lg) 0;
    background: var(--bg-light);
}

.combined-services-container {
    padding: 0 var(--space-lg);
}

/* === SECTION HEADER (Our Services title at top) === */
.section-header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.section-title {
    color: var(--brand-blue);
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    transition: var(--transition-all);
    cursor: default;
}

.section-title span {
    color: inherit;
}

/* === CUSTOM STAND FABRICATION SUBSECTION === */
.custom-stand-fabrication {
    width: 100vw;
    margin: var(--space-lg) 0;
    padding: var(--space-lg) 0;
    background: var(--brand-white);
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.why-choose-container {
    padding: var(--space-md) var(--space-lg);
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    width: 100%;
    align-items: stretch;
}

.why-choose-text {
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-md);
}

.why-choose-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--brand-blue);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    transition: var(--transition-all);
}

.why-choose-title:hover {
    color: var(--brand-gray);
}

.why-choose-title span {
    color: inherit;
}

.why-choose-intro {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color-secondary-muted);
    margin-bottom: 0;
}

.why-choose-image {
    position: relative;
    height: 350px;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.slideshow-container .slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    border-radius: var(--border-radius-lg);
}

.slideshow-container .slide.active {
    opacity: 1;
}

/* === SERVICES GRID === */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    width: 100%;
    margin-top: var(--space-lg);
}

@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

.expertise-card {
    background: var(--brand-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-medium);
    transition: var(--transition-all);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-large);
}

.expertise-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.expertise-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.expertise-content {
    padding: var(--space-lg);
    text-align: center;
}

.expertise-title {
    font-size: 1.7rem;
    color: var(--text-color-dark);
    font-weight: bold;
    margin: 0;
}

/* === RESPONSIVE STYLING === */
@media (max-width: 768px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .why-choose-text {
        height: auto;
        padding: var(--space-md);
    }

    .why-choose-image {
        height: 250px;
    }

    .why-choose-title {
        font-size: 1.6rem;
    }

    .why-choose-intro {
        font-size: 0.95rem;
    }
}

/* --- Our Clients Section Styles --- */
.our-clients {
    padding: var(--space-lg) var(--space-lg);
    background: var(--brand-white);
    text-align: center;
    width: 100%;
}

.our-clients .section-title {
    color: var(--brand-blue);
    margin-bottom: var(--space-md);
    font-weight: bold;
    transition: var(--transition-all);
}

.our-clients .section-title:hover {
    color: var(--brand-gray);
}

.our-clients .section-description {
    font-size: 1.1rem;
    color: var(--text-color-muted);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.client-logo {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition-all);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.client-logo:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-large);
    border-color: var(--brand-blue);
}

.client-logo img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform var(--transition-speed) var(--transition-timing);
    padding: 5px;
}

.client-logo:hover img {
    transform: scale(1.05);
}

/* --- Testimonials Section Styles --- */
.testimonials {
    padding: var(--space-lg) 0;
    background: var(--bg-testimonial);
    text-align: center;
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
}

.testimonials .section-title {
    color: var(--brand-blue);
    margin-bottom: var(--space-md);
    font-weight: bold;
    transition: var(--transition-all);
}

.testimonials .section-title:hover {
    color: var(--brand-gray);
}

.testimonials .section-description {
    font-size: 1.1rem;
    color: var(--text-color-muted);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.testimonial {
    background: var(--brand-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 10px 25px var(--shadow-small);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue));
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.testimonial .stars {
    color: #f5b301;
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.testimonial p {
    color: var(--text-color-muted);
    font-style: italic;
    margin-bottom: var(--space-md);
    line-height: 1.6;
    font-size: 1rem;
}

.testimonial h4 {
    color: var(--brand-blue);
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: var(--space-sm);
}

.testimonial .company {
    color: var(--text-color-secondary-muted);
    font-weight: normal;
    font-size: 0.9rem;
}

/* --- Call-To-Action (CTA) Section --- */
.cta {
    background: linear-gradient(135deg, var(--brand-gray), var(--brand-gray));
    padding: var(--space-lg) var(--space-lg);
    color: var(--brand-white);
    text-align: center;
    width: 100%;
}

.cta h2 {
    font-size: 2.5rem;
    color: #FFFFFF;
    transition: color var(--transition-speed) var(--transition-timing);
    margin-bottom: var(--space-md);
    font-weight: bold;
}

.cta h2:hover {
    color: #1F75FE;
}

.cta p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .cta-button {
    background: var(--brand-blue);
    color: var(--brand-white);
    padding: var(--space-md) var(--space-xl);
    border: none;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: var(--transition-all);
    display: inline-block;
    font-size: 1rem;
}

.cta .cta-button:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-cta-blue);
}
/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, var(--bg-footer-start), var(--bg-footer-end));
    color: var(--brand-white);
    padding: var(--space-xl) 0 var(--space-sm);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

/* Logo image */
.footer-brand img {
    max-width: 160px;
    margin-bottom: var(--space-sm);
    border-radius: var(--border-radius-md);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-size: var(--space-sm);
    transition: var(--transition-all);
}

.social-links a:hover {
    background: darken(var(--brand-blue), 10%); /* Example: darker blue */
    background: #0056b3;
    transform: translateY(-2px);
}

.footer-section h4 {
    margin-bottom: var(--space-sm);
    color: var(--brand-blue);
    font-size: 1.2rem;
    font-weight: bold; /* Ensured footer headings are bold */
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: var(--brand-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-speed) var(--transition-timing);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--brand-blue);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-sm);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-container {
        padding: 0 var(--space-md);
    }
    .nav-menu {
        gap: var(--space-md);
    }
    .logo img {
        height: 70px;
    }
    .cta-button {
        padding: var(--space-sm) 1.3rem;
    }
}

@media (max-width: 992px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .expertise-image {
        height: 300px;
    }
    .why-choose-content {
        grid-template-columns: 1fr;
    }
    .why-choose-image {
        height: 400px;
        margin-top: var(--space-lg);
    }
}

@media (max-width: 768px) {
    section, header, footer {
        padding: var(--space-xl) 0;
    }
    .section-title,
    .why-choose-title,
    .our-clients .section-title,
    .testimonials .section-title,
    .cta h2 {
        font-size: 2rem;
        margin-bottom: var(--space-sm);
    }
    .section-description,
    .testimonials .section-description,
    .cta p,
    .why-choose-intro {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    .nav-container {
        padding: 0 var(--space-sm);
    }
    .logo {
        font-size: 1.5rem;
    }
    .logo img {
        height: 60px;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--brand-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-lg);
        font-size: 1.2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        opacity: 0;
        transform: translateY(20px);
        transition: all var(--transition-speed) var(--transition-timing);
    }
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    .header.scrolled .nav-menu {
        background: var(--brand-gray);
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .footer-section {
        margin-bottom: var(--space-lg);
    }
    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }
    .social-links {
        justify-content: flex-start;
    }
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    .client-logo {
        height: 180px;
        padding: var(--space-md);
    }
    .client-logo img {
        max-height: 100px;
    }
}

@media (max-width: 600px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    .expertise-image {
        height: 250px;
    }
    .expertise-title {
        font-size: 1.4rem;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .testimonial {
        padding: var(--space-md);
    }
    .testimonial p {
        font-size: 0.95rem;
    }
    .testimonial h4 {
        font-size: 1rem;
    }
    .testimonial .company {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 var(--space-xs);
    }
    .logo {
        font-size: 1.2rem;
    }
    .logo img {
        height: 50px;
    }
    .nav-menu {
        gap: var(--space-md);
        font-size: 1.1rem;
    }
    .cta-button {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.8rem;
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
    .client-logo {
        height: 160px;
    }
    .client-logo img {
        max-height: 90px;
    }
}

/* --- Accessibility --- */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.nav-menu a:focus,
.cta-button:focus,
.mobile-menu-toggle:focus,
.floating-btn:focus {
    outline: 2px solid var(--brand-blue);
    outline-offset: 2px;
}

/* Ensure mobile menu is above everything */
.nav-menu.active {
    z-index: 1000;
}

/* --- Animation Rules --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Apply Animations to Elements --- */
.about {
    animation: fadeInUp 1s ease-out;
}

.expertise {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.why-choose {
    animation: fadeInLeft 1s ease-out 0.3s both;
}

.testimonials {
    animation: fadeInRight 1s ease-out 0.4s both;
}

.cta {
    animation: fadeInUp 1s ease-out 0.5s both;
}

.expertise-card {
    animation: scaleIn 0.8s ease-out both;
}

.expertise-card:nth-child(1) { animation-delay: 0.1s; }
.expertise-card:nth-child(2) { animation-delay: 0.2s; }
.expertise-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial {
    animation: fadeInUp 0.8s ease-out both;
}

.testimonial:nth-child(1) { animation-delay: 0.1s; }
.testimonial:nth-child(2) { animation-delay: 0.2s; }
.testimonial:nth-child(3) { animation-delay: 0.3s; }

.hero-image { /* Ensure this class is applied to your hero image if you want the animation */
    animation: float 3s ease-in-out infinite;
}

.stat-item {
    animation: bounce 2s ease-in-out infinite;
}

.stat-item:nth-child(1) { animation-delay: 0s; }
.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.feature-icon:hover {
    animation: rotate 0.8s ease-in-out;
}

.highlight-icon:hover { /* Ensure this class is applied to any elements you want to pulse on hover */
    animation: pulse 1s ease-in-out;
}

.cta-button {
    animation: pulse 2s ease-in-out infinite;
}

.btn-primary:hover {
    animation: pulse 0.5s ease-in-out;
}

.social-links a {
    animation: fadeInUp 0.5s ease-out both;
}

.social-links a:nth-child(1) { animation-delay: 0.1s; }
.social-links a:nth-child(2) { animation-delay: 0.2s; }
.social-links a:nth-child(3) { animation-delay: 0.3s; }

.nav-menu li {
    animation: fadeInUp 0.5s ease-out both;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }

/* --- Intersection Observer Classes (for JS-triggered animations) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* --- Performance Optimizations --- */
.hero-image,
.expertise-card,
.testimonial,
.feature-icon,
.highlight-icon {
    transform: translateZ(0); /* Promotes GPU acceleration */
    backface-visibility: hidden; /* Fixes potential flickering issues */
}

/* --- Floating Action Buttons --- */
.floating-buttons {
    position: fixed;
    bottom: var(--space-lg); /* ✅ Changed from top to bottom */
    right: var(--space-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--space-lg);
    color: var(--brand-white);
    text-decoration: none;
    transition: var(--transition-all);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
    background: #25D366;
}
.whatsapp-btn:hover {
    background: #128C7E;
}

.quote-btn {
    background: #FF6B35;
}
.quote-btn:hover {
    background: #E55A2B;
}

.meeting-btn {
    background: #4CAF50;
}
.meeting-btn:hover {
    background: #45a049;
}

/* Tooltip Styling */
.floating-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: -160px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: var(--brand-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed) var(--transition-timing), left var(--transition-speed) var(--transition-timing);
}

.floating-btn:hover::after {
    opacity: 1;
    left: -140px;
}

/* Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: var(--space-md); /* ✅ Changed from top to bottom */
        right: var(--space-md);
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: var(--space-lg);
    }

    .floating-btn::after {
        left: 65px;
        top: 50%;
        transform: translateY(-50%);
    }

    .floating-btn:hover::after {
        left: 75px;
    }
}


/* === Experience Section (Full Screen, Full Width) === */
.experience-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    background: white;
    padding: 2rem 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.experience-container {
    width: 100%;
    padding: 0; /* Remove side padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.experience-section .section-title {
    color: #1F75FE;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    align-content: center;
    flex-grow: 1;
    padding: 0; /* Ensure no extra padding */
    width: 100%;
}

/* Responsive Layout */
@media (max-width: 1200px) {
    .events-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .experience-section {
        padding: 1rem 0;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }

    .experience-container {
        padding: 0;
    }

    .experience-section .section-title {
        font-size: 2rem;
    }
}

/* Event Card */
.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-height: 70vh;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Slideshow */
.event-slideshow {
    position: relative;
    height: 300px;
    overflow: hidden;
}

@media (min-height: 800px) {
    .event-slideshow {
        height: 350px;
    }
}

.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.event-slide.active {
    opacity: 1;
}

.event-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Controls */
.slideshow-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slide-dot.active {
    background: white;
}

.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 18px;
    transition: background 0.3s ease;
}

.slideshow-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

/* Text */
.event-info {
    padding: 2rem;
    text-align: center;
}

.event-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .experience-section {
        padding: 1rem 0;
    }

    .event-slideshow {
        height: 250px;
    }

    .event-info {
        padding: 1.5rem;
    }

    .event-name {
        font-size: 1.2rem;
    }

    .slideshow-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .slide-dot {
        width: 10px;
        height: 10px;
    }
}

/* Small screen with short height */
@media (max-height: 600px) {
    .experience-section {
        min-height: auto;
        padding: 2rem 0;
    }

    .events-grid {
        align-content: start;
    }
}
