/* =========================================
   VARIABLES & RESET
========================================= */
:root {
    --primary-blue: #0A3A6B;
    /* Deep professional blue */
    --secondary-blue: #1A5FA1;
    --dark-grey: #1A202C;
    --medium-grey: #4A5568;
    --light-grey: #F7FAFC;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
    --error-red: #E53E3E;
    --success-green: #38A169;

    --font-main: 'Inter', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--dark-grey);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* =========================================
   UTILITIES
========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--light-grey);
}

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

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

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.d-none {
    display: none !important;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--medium-grey);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    gap: 8px;
    text-align: center;
}

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

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

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

.btn-secondary:hover {
    background-color: var(--light-grey);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    color: var(--white);
}

.btn-large {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-middle {
    padding: 10px 25px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-img {
    height: 70px;
    object-fit: contain;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-blue);
    line-height: 1;
}

.logo-subtitle {
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.desktop-nav {
    display: none;
    gap: 24px;
}

.desktop-nav a {
    color: var(--dark-grey);
    font-weight: 500;
}

.desktop-nav a:hover {
    color: var(--primary-blue);
}

.header-cta {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    gap: 16px;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    box-shadow: var(--shadow-md);
}

.mobile-nav a.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-grey);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    background-color: #1a202c;
    background-image: linear-gradient(rgba(10, 58, 107, 0.90), rgba(26, 32, 44, 0.75)), url('assets/industrial_cinematic_hero.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0 30px;
    /* Reduced bottom padding */
    color: var(--white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .subheadline {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.service-line {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #A0AEC0;
}

.trust-badges-hero {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.trust-badges-hero span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =========================================
   SECTIONS GENERAL
========================================= */
section {
    padding: 25px 0;
    /* Increased from 5px to give breathable feel */
}

/* =========================================
   STATS SECTION
========================================= */
.stats-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    /* Reduced gap */
    padding: 10px 15px 20px;
    /* Added side padding for better scroll feel */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.stats-grid::-webkit-scrollbar {
    display: none;
}

.stat-card {
    flex: 0 0 calc(28% - 4px);
    /* Show ~3.5 cards */
    scroll-snap-align: start;
    background: transparent;
    padding: 5px;
    border: none;
    box-shadow: none;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    font-size: 2rem;
    color: #3182ce;
    margin-bottom: 10px;
    background: #ebf8ff;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark-grey);
    margin-bottom: 2px;
    line-height: 1;
}

.stat-text {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--medium-grey);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
}

/* =========================================
   CLIENTS SECTION
========================================= */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    margin-top: 20px;
}

.marquee {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: marquee-left-to-right 20s linear infinite;
}

@keyframes marquee-left-to-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.client-logo-img {
    max-height: 75px;
    max-width: 180px;
    object-fit: contain;
    /* Removed grayscale to keep them in color from start */
    transition: all 0.3s ease;
}

.client-logo-img:hover {
    transform: scale(1.1);
}

/* =========================================
   SERVICES SECTION
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.2s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .service-card:active {
        background-color: #f0f4f8;
        transform: translateY(-2px);
    }
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.service-title-wrapper {
    display: flex;
    flex-direction: column;
}

.service-click-hint {
    font-size: 0.85rem;
    color: var(--secondary-blue);
    font-weight: 500;
    margin-top: 2px;
}

.service-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-grey);
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.service-card:hover .service-arrow {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateX(4px);
}

.service-icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: var(--dark-grey);
}

.service-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.service-list i {
    margin-top: 5px;
}

/* =========================================
   EXPERTISE SECTION
========================================= */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .expertise-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.expertise-card {
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.expertise-icon {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 16px;
    background: var(--light-grey);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
}

.expertise-card h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.small-text {
    font-size: 0.9rem;
    color: var(--medium-grey);
}

/* =========================================
   ABOUT (WHY CHOOSE US)
========================================= */
/* =========================================
   MODERN ABOUT SECTION (WHY INDUSTRIES TRUST)
========================================= */
.about-section-modern {
    background-color: var(--primary-blue); /* Updated color as requested */
    padding: 100px 0;
    color: var(--white);
    overflow: hidden;
}

.about-section-modern .section-title {
    color: var(--white) !important; /* Ensure title is white */
}

.about-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .about-grid-modern {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.about-left-pane {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.about-image-container {
    margin-top: 20px;
    position: relative;
    padding-bottom: 20px; /* Space for the badge overlap */
}

.slideshow {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    background-color: #000;
}

.about-display-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    display: block; /* Ensure it's not hidden by default display:none but by opacity */
    transition: opacity 1s ease-in-out, transform 0.5s ease;
}

.about-display-img.active {
    opacity: 1;
}

.about-display-img:hover {
    transform: scale(1.03);
}

/* Trust Badge */
.trust-badge {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 85px;  /* Reduced 50% */
    height: 85px; /* Reduced 50% */
    background-color: #0c121d; /* Deep dark navy */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff; /* Slightly thinner border */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 20;
    text-align: center;
}

.trust-badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.trust-number {
    font-size: 1.9rem; /* Reduced 50% */
    font-weight: 800;
    color: #2b6cb0; /* Vibrant blue */
    margin-bottom: 2px;
}

.trust-text {
    font-size: 0.45rem; /* Reduced 50% */
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .trust-badge {
        width: 70px;  /* Proportional reduction */
        height: 70px;
        right: 0px;
        bottom: 0px;
    }
    .trust-number {
        font-size: 1.5rem;
    }
    .trust-text {
        font-size: 0.4rem;
    }
}

/* Right Pane - Feature Cards */
.features-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.08); /* Translucent white for blue background */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateX(10px);
    border-color: var(--secondary-blue);
}

.feature-icon-box {
    font-size: 1.6rem;
    color: var(--secondary-blue);
    /* Professional blue theme */
    min-width: 32px;
}

.feature-text-box h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 700;
}

.feature-text-box p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .about-section-modern {
        padding: 60px 0;
    }

    .no-center-mobile {
        text-align: left !important;
    }

    .feature-item {
        padding: 20px;
        gap: 15px;
    }

    .feature-item:hover {
        transform: none;
        /* Disable shift on mobile touch */
    }

    .feature-text-box h4 {
        font-size: 1.05rem; /* Decreased as requested */
    }

    .feature-text-box p {
        font-size: 0.9rem; /* Decreased as requested */
    }

    .client-logo-img {
        max-height: 60px; /* Reduced 20% from 75px */
        max-width: 144px; /* Reduced 20% from 180px */
    }
}

/* =========================================
   INDUSTRIES SECTION
========================================= */
.industries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.industry-card {
    background: var(--light-grey);
    padding: 20px 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--dark-grey);
}

.industry-card i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

/* Testimonials Slider */
.testimonials-section {
    padding: 80px 0;
    overflow: hidden;
}

.testimonials-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0;
    /* No padding on mobile to show full slide width */
}

@media (min-width: 768px) {
    .testimonials-slider-container {
        padding: 0 50px;
    }
}

.testimonials-wrapper {
    overflow: hidden;
    position: relative;
    transition: min-height 0.4s ease;
}

@media (max-width: 767px) {
    .testimonials-wrapper {
        overflow: visible;
        min-height: 380px;
        max-width: 95%; /* Widened as requested */
        margin: 0 auto;
    }

    .testimonials-track {
        display: grid !important;
        grid-template: 1fr / 1fr;
        align-items: stretch;
        transform: none !important;
        position: relative;
    }
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 767px) {
    .testimonial-card {
        grid-area: 1 / 1;
        position: relative !important;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
    }

    .testimonial-card.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) scale(1);
        z-index: 5;
    }

    .testimonial-card.next {
        opacity: 0.6;
        visibility: visible;
        transform: translateX(25px) scale(0.95);
        z-index: 4;
    }

    .testimonial-card.next-next {
        opacity: 0.3;
        visibility: visible;
        transform: translateX(50px) scale(0.9);
        z-index: 3;
    }

    .testimonial-card.prev {
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        z-index: 1;
    }
}

.testimonial-content {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: left;
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-grey);
    line-height: 1.8;
    /* Increased for readability */
    margin-bottom: 30px;
    /* Increased for "bit wise" spacing */
    font-size: 1.05rem;
    flex-grow: 1;
}

.testimonial-author {
    border-top: 1px solid #edf2f7;
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--medium-grey);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 10;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    display: none;
    /* Hidden on mobile */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .slider-btn {
        display: flex;
        /* Shown on desktop */
    }
}

.slider-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-blue);
    width: 28px;
    border-radius: 10px;
}

/* =========================================
   SEO SECTION
========================================= */
.seo-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 0;
}

.seo-card h2 {
    color: var(--white);
    font-size: 1.5rem;
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact-form-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

.contact-form-container {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    /* Increased from 14px */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.2rem;
    /* Increased from 1.1rem */
    background-color: #f7fafc;
    transition: all 0.2s;
    color: var(--dark-grey);
}

.form-group select {
    cursor: pointer;
    font-size: 1.2rem;
    /* Increased size */
    padding: 16px 48px 16px 16px;
    /* Increased padding */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.4em;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
}

.submit-btn {
    position: relative;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background-color: #C6F6D5;
    color: #22543D;
    border: 1px solid #9AE6B4;
}

.form-message.error {
    background-color: #FED7D7;
    color: #822727;
    border: 1px solid #FEB2B2;
}

/* =========================================
   FOOTER & STICKY BAR
========================================= */
.footer {
    background-color: #1e293b;
    /* Dark slate */
    color: #f8fafc;
    padding: 60px 0 30px;
    font-family: inherit;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-info .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 70px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.footer-subtitle {
    font-size: 0.65rem;
    font-weight: 700;
    color: #3b82f6;
    /* Blue subtitle */
    letter-spacing: 0.05em;
    margin-top: 4px;
    text-transform: uppercase;
}

.footer-desc {
    color: #cbd5e1;
    /* Lighter slate */
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background-color: #3b82f6;
    /* Blue underline */
}

.footer-links ul,
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #3b82f6;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-icon {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-top: 4px;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.phone-numbers a,
.contact-info a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-numbers a:hover,
.contact-info a:hover {
    color: #3b82f6;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #334155;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Floating Actions */
.floating-btn {
    position: fixed;
    right: 20px;
    width: 60px; /* Reduced 20% from 55px */
    height: 60px; /* Reduced 20% from 55px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem; /* Reduced from 1.8rem */
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-float {
    bottom: 20px;
    background-color: #25D366;
}

.call-float {
    bottom: 110px; /* Reduced gap from 90px to maintain proportion */
    background-color: #0f172a;
}

.pb-mobile {
    padding-bottom: 100px;
    /* Space for sticky bar */
}

.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    z-index: 1000;
}

.cta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0; /* Reduced as requested */
    font-size: 0.75rem; /* Reduced as requested */
    font-weight: 600;
    color: var(--dark-grey);
    border-right: 1px solid var(--border-color);
}

.cta-item:last-child {
    border-right: none;
}

.cta-item i {
    font-size: 1rem; /* Reduced as requested */
    margin-bottom: 2px;
}

.call-cta i {
    color: var(--primary-blue);
}

.whatsapp-cta i {
    color: var(--whatsapp-green);
}

.quote-cta i {
    color: #DD6B20;
}

/* =========================================
   DESKTOP MEDIA QUERIES (Min-Width: 768px)
========================================= */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .desktop-nav {
        display: flex;
    }

    .header-cta {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .d-none-mobile {
        display: flex;
    }

    .hero {
        padding: 120px 0 100px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .subheadline {
        font-size: 1.3rem;
    }

    .trust-badges-hero {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow-x: visible;
        gap: 20px;
        padding: 0;
    }

    .stat-card {
        flex: auto;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .stat-text {
        font-size: 0.9rem;
        letter-spacing: 0.05em;
    }

    .clients-flex {
        flex-direction: row;
        justify-content: center;
        gap: 50px;
        margin-top: 50px;
    }

    .client-logo-img {
        max-height: 90px;
        max-width: 200px;
    }

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

    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr 1.5fr;
        align-items: center;
    }

    .industries-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonial-card {
        flex: 0 0 33.333%;
    }

    .contact-form-wrapper {
        max-width: 850px;
    }

    .contact-buttons-vertical {
        display: flex;
        gap: 16px;
    }

    .contact-buttons-vertical .btn-full {
        width: auto;
    }

    .mobile-cta-bar {
        display: none;
    }

    .call-float {
        display: none; /* Hidden on desktop, only visible in phone view */
    }

    .pb-mobile {
        padding-bottom: 40px;
    }
}