/* CSS Reset and Base Styles */
:root {
    --primary-color: #2563eb;      /* Vibrant blue (Your original value) */
    --primary-dark: #1d4ed8;       /* Darker blue */
    --primary-light: #02D8E9;      /* Lighter blue */
    --secondary-color: #00BFFF;    /* BRIGHT SKY BLUE (New Value) */
    --secondary-dark: #0099CC;     /* Darker Bright Sky Blue (New Value) */
    --accent-color: #f59e0b;       /* Amber/orange for accents */
    --dark-color: #111827;         /* Dark blue-gray */
    --text-color: #374151;         /* Gray text */
    --light-text: #6b7280;         /* Lighter gray */
    --light-bg: #f8fafc;           /* Light blue-gray background */
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-padding: 2rem;
    --section-spacing: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-spacing) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--light-text);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--container-padding);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
}

.tagline {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color); /* This changes the color to orange (#f59e0b) */
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--white);
}

.nav-link.active::before {
    opacity: 1;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Prevent flash only on screens wider than 1024px */
@media (min-width: 1024px) {
  .mobile-menu-container,
  .mobile-menu-overlay {
    opacity: 0;
    pointer-events: none;
    transition: none;
  }

  body.js-ready .mobile-menu-container,
  body.js-ready .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.3s ease;
  }
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    z-index: 1001;
}

/* Show the mobile menu button only on screens up to 767px */
@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* --- MOBILE MENU OVERLAY --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Menu Container: Sliding Animation and Visibility --- */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background-color: var(--white); /* White Background */
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
    transition: transform 0.3s ease; /* Slide transition (kept for the main menu) */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);

    transform: translateX(100%);
}

.mobile-menu-container.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--dark-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-nav-menu {
    list-style: none;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    min-height: 1px;
    display: block;
}

.mobile-nav-menu li {
    padding: 0;
    margin: 0;
    overflow: visible;
    position: relative;
    /* Apply the default border here */
    border-bottom: 1px solid #f0f0f0; 
}

/* Remove border from the last item */
.mobile-nav-menu li:last-child {
    border-bottom: none;
}

/* --- Main Navigation Links: Text Color Blue on White Background --- */
.mobile-nav-menu .mobile-nav-link {
    display: block;
    padding: 1rem 0.5rem;
    font-weight: 500;
    /* Remove border-bottom from the link */
    border-bottom: none; 
    transition: var(--transition);
    color: var(--primary-color);
}

.mobile-nav-link:hover {
    color: var(--primary-dark);
}

.mobile-nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ------------------------------------------------------------------- */
/* --- Dropdown Menu Styles (INSTANT HIDE/SHOW & NO ARROWS) --- */
/* ------------------------------------------------------------------- */

/* The dropdown item (LI) should not have a bottom border by default */
.mobile-nav-menu li.dropdown-menu-item {
    border-bottom: none;
}

/* Style for the link that toggles the dropdown */
.dropdown-toggle {
    position: relative;
    /* Remove extra padding for the arrow */
    padding-right: 0.5rem !important; 
    cursor: pointer;
}

/* REMOVE ARROW ICON */
.dropdown-toggle::after {
    content: none; /* Remove the arrow content */
}

/* Initially hide the submenu (INSTANT HIDE) */
.dropdown-menu {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    /* Use display: none for instant hide/show */
    display: none; 
    overflow: hidden;
    /* REMOVED: transition: max-height 0.3s ease-out; */
    background-color: #f8f8f8; 
    margin-top: 0; 
    border-bottom: 0; 
    padding-top: 0;
    padding-bottom: 0;
}

/* When the dropdown is active (INSTANT SHOW) */
.dropdown-menu-item.active .dropdown-menu {
    display: block; 
    /* REMOVED: max-height: 500px; */
    /* REMOVED: transition: max-height 0.5s ease-in; */
}

/* FIX: Re-introduce the separation border on the parent LI *only when the dropdown is closed* */
.mobile-nav-menu li.dropdown-menu-item:not(.active) {
    border-bottom: 1px solid #f0f0f0; 
}

/* Ensure no border when active to prevent the gap */
.mobile-nav-menu li.dropdown-menu-item.active {
    border-bottom: none;
}

/* Style for submenu links */
.dropdown-menu .mobile-nav-link {
    padding: 0.75rem 1.5rem; 
    /* Use a light border between submenu items */
    border-bottom: 1px solid #eee; 
    font-weight: 400; 
    color: var(--dark-color); 
}

/* Ensure the very last item in the submenu doesn't have a bottom border */
.dropdown-menu li:last-child .mobile-nav-link {
    border-bottom: none;
}

.dropdown-menu .mobile-nav-link:hover {
    color: var(--primary-color);
    background-color: #f0f0f0;
}

/* ------------------------------------------------------------------- */
/* --- Dropdown Menu Styles for Desktop (Solutions) --- */
/* ------------------------------------------------------------------- */

/* The styles below will ONLY apply on desktop screens (768px and up) */
@media (min-width: 768px) {
    
    /* 1. Parent item needs position: relative */
    .dropdown-menu-item {
        position: relative;
    }

    /* 2. Dropdown menu container styling and initial state (hidden) */
    .dropdown-menu {
        /* OVERRIDES the mobile 'display: none' */
        display: block; 
        
        position: absolute;
        top: 100%; 
        left: 50%;
        
        /* Center and initially offset */
        transform: translateX(-50%) translateY(10px);  
        list-style: none;
        background-color: var(--white); 
        box-shadow: var(--shadow); 
        border-radius: var(--border-radius);
        padding: 0.5rem 0;
        min-width: 200px;
        z-index: 1100;  
        
        /* Hiding with opacity/visibility for transition */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* 3. Show on hover */
    .dropdown-menu-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
    
    /* Ensure no mobile padding is inherited on desktop links */
    .dropdown-menu .mobile-nav-link {
        padding: 0.75rem 1.5rem; /* Use the desktop padding */
    }

    /* All other desktop link styles remain the same but can be wrapped in this media query */
    .dropdown-menu li .nav-link {
        display: block;
        padding: 0.75rem 1.5rem;
        white-space: nowrap; 
        color: var(--dark-color); 
        font-weight: 400; 
        transform: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .dropdown-menu li .nav-link::before,
    .dropdown-menu li .nav-link::after {
        content: none !important;
    }

    .dropdown-menu li .nav-link:hover {
        background-color: var(--light-bg); 
        color: var(--primary-color);
        transform: none;
    }

    .dropdown-menu-item .dropdown-toggle:hover {
        transform: none; 
    }
}

.mobile-nav-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
    padding-top: 130px;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -2;
    background-image: url('https://vinculumtechcorp.com/wp-content/uploads/2025/09/crop-0-0-1920-1080-0-Untitled-design-8.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.parallax-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.slogan {
    background-color: rgba(37, 99, 235, 0.8); /* Blue background */
    padding: 1rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.5s;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.7s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.9s;
}

.hero-subtitle strong {
    color: var(--secondary-color);
    font-weight: 700;
    text-shadow: 
        0 0 10px rgba(16, 185, 129, 0.5),
        0 0 20px rgba(16, 185, 129, 0.3),
        0 0 30px rgba(16, 185, 129, 0.2);
    animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    from {
        text-shadow: 
            0 0 10px rgba(16, 185, 129, 0.5),
            0 0 20px rgba(16, 185, 129, 0.3),
            0 0 30px rgba(16, 185, 129, 0.2);
    }
    to {
        text-shadow: 
            0 0 15px rgba(16, 185, 129, 0.7),
            0 0 25px rgba(16, 185, 129, 0.5),
            0 0 35px rgba(16, 185, 129, 0.3);
    }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated-title {
    display: inline-block;
    position: relative;
}

.animated-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

/* ===== SMOOTH CAROUSEL WITH SNAP ===== */
.services-carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 3rem;
    overflow: visible;
    pointer-events: none;
    touch-action: pan-y pinch-zoom;
}

.carousel-container {
    padding: 2rem 0;
    width: 100%;
    overflow: visible;
    pointer-events: none;
}

.carousel-track {
    display: flex;
    width: max-content;
    will-change: transform;
    cursor: grab;
    pointer-events: auto;
}

.carousel-track:active {
    cursor: grabbing;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    /* MODIFIED: Changed 0.6s to 0.3s for faster animation */
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease,
                box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                filter 0.3s ease;
    width: 330px;
    height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-left: 2rem;
    margin-right: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    user-select: none;
    pointer-events: auto;
    transform: scale(0.85);
    opacity: 0.6;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.service-card:nth-child(1)::before {
    background-image: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-card:nth-child(2)::before {
    background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-card:nth-child(3)::before {
    background-image: url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-card:nth-child(4)::before {
    background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-card:nth-child(5)::before {
    background-image: url('https://images.unsplash.com/photo-1548544027-1a96c4c24c7a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

.service-card:nth-child(6)::before {
    background-image: url('https://images.unsplash.com/photo-1556740738-b6a63e27c4df?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
}

/* ACTIVE CARD - Scaled up and prominent */
.service-card.active {
    transform: scale(1.15) !important;
    opacity: 1 !important;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    filter: brightness(1.1);
}

.service-card.active::before {
    opacity: 0.4;
}

/* Hover effect on non-active cards */
.service-card:not(.active):hover {
    transform: scale(0.9) !important;
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    filter: brightness(1.05);
    opacity: 0.8;
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    transition: font-size 0.3s ease;
}

.service-card p {
    margin-bottom: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.service-card.active h3 {
    font-size: 2rem;
}

/* Hide arrow buttons completely */
.carousel-btn {
    display: none !important;
}

/* Enhanced dots with better visibility */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom:  1rem;
    gap: 1rem;
    pointer-events: auto;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* About Section */
.about {
    background-color: var(--light-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.feature.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature:nth-child(1) { transition-delay: 0.1s; }
.feature:nth-child(2) { transition-delay: 0.2s; }
.feature:nth-child(3) { transition-delay: 0.3s; }
.feature:nth-child(4) { transition-delay: 0.4s; }

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color); /* Blue icons */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-content h4 {
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.service-item:nth-child(1) { transition-delay: 0.1s; }
.service-item:nth-child(2) { transition-delay: 0.2s; }
.service-item:nth-child(3) { transition-delay: 0.3s; }
.service-item:nth-child(4) { transition-delay: 0.4s; }

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color); /* Blue accent */
    transition: var(--transition);
}

.service-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color); /* Blue icons */
    font-size: 1.5rem;
}

.service-item h3 {
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    margin: 1rem 0;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-cta {
    margin-top: auto;
    font-weight: 600;
    color: var(--primary-color); /* Blue links */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-cta:hover {
    gap: 1rem;
    color: var(--secondary-color); /* Green on hover */
}

/* Section titles with green highlights */
.section-title h2 span {
    color: var(--secondary-color); /* Green for highlighted text */
}

/* Client Section */
.client-category {
    margin-bottom: 3rem;
}

.client-category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Blue headings */
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.client-logo {
    width: 120px;
    height: 80px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border: 2px solid var(--primary-color); /* Blue border on hover */
}

/* FAQ Section */
.faq {
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(37, 99, 235, 0.05); /* Light blue hover */
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-toggle {
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
    color: var(--secondary-color); /* Green when active */
}

/* Testimonials */
.testimonials {
    background-color: var(--light-bg);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial:nth-child(1) { transition-delay: 0.1s; }
.testimonial:nth-child(2) { transition-delay: 0.2s; }

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color); /* Blue quote marks */
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    margin-bottom: 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.stars {
    color: var(--accent-color); /* Amber stars */
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.contact-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -2;
    background-image: url('https://vinculumtechcorp.com/wp-content/uploads/2025/09/488185097_1082864557190174_6598856711232919733_n-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.contact-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr; /* ← Left side slightly bigger */
    gap: 4rem;
    position: relative;
    z-index: 1;
}


.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-bottom: 3rem; /* adds breathing space below stats */
}

.contact-info h2 {
    color: var(--white) !important;
    font-size: 2.5rem; /* larger and more prominent */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color); /* Blue icons */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-text p {
    margin-bottom: 0;
    opacity: 0.9;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color); /* Green numbers */
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 620px; /* ✅ increased from 520px */
    margin: 0 auto;
    width: 100%;
}

.contact-form-container h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2.1rem; /* ✅ increased from 1.25rem */
    font-weight: 600;  /* slightly bolder for emphasis */
    letter-spacing: 0.5px; /* subtle visual polish */
}


/* Rows & Groups */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
    flex: 1;
}

/* Inputs, Select, Textarea */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px; /* increased from 100px or 120px */
    padding: 14px 16px;
    font-size: 1rem;
    line-height: 1.5;
}


/* Dropdown options */
.form-group select option {
    background: var(--dark-color);
    color: var(--white);
}

/* Button */
button[type="submit"] {
    margin-top: 0.5rem;
    padding: 12px 0;
}

/* “Why Us?” link */
#openWhyUs {
    display: block;
    text-align: center;
    margin-top: 0.6rem;
}

/* Optional: keep the whole section proportionate */
.contact-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color); /* Green on hover */
    padding-left: 5px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile responsive styles remain the same */
@media (max-width: 1024px) {
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid-2col {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 768px) {
     .header-container {
        flex-wrap: wrap;
        padding: 0.75rem var(--container-padding);
    }

    .tagline {
        font-size: 0.8rem; /* Smaller tagline */
        letter-spacing: 0.3px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        padding: 8px;
        font-size: 1.3rem;
        background: rgba(37, 99, 235, 0.1);
        border-radius: 4px;
        transition: var(--transition);
    }

    .mobile-menu-btn:hover {
        background: rgba(37, 99, 235, 0.2);
    }


    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .services-container {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

     .hero {
        padding-top: 100px; /* Increased padding for mobile */
        min-height: 90vh; /* Slightly shorter on mobile */
    }

    .slogan {
        padding: 0.5rem 0.5rem;
        margin-bottom: 0rem;
        font-size: 0.9rem;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        line-height: 1.4;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-cta .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --section-spacing: 3rem;
    }

    .service-item,
    .testimonial {
        padding: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .service-card {
        width: 200px;
        height: 200px;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }
     .header-actions .btn {
            display: none;
        }
        
        .logo-container {
            gap: 0.5rem;
        }
        
        .tagline {
            font-size: 0.7rem;
        }

         .hero {
        padding-top: 90px;
        min-height: 85vh;
    }

    .slogan {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;

    }

    .hero-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
        
}

    /* Ensure the 2-column grid is enforced on all mobile screens */
@media (max-width: 768px) { /* Targeting typical tablet/mobile breakpoint */
    .stats {
        /* Re-declare the grid to enforce 2 columns on mobile */
        display: grid !important; 
        grid-template-columns: repeat(2, 1fr) !important; 
        
        /* Adjusting gap and margin for better mobile fit */
        gap: 1rem !important; 
        margin-top: 2rem !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
}

 /* CUT-OUT DESIGN SERVICES GRID */
        .services-grid-cutout {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }

        .service-card-cutout {
            position: relative;
            background: var(--white);
            border-radius: 20px;
            padding: 3rem;
            min-height: 450px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
        }

        .service-card-cutout:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        }

        /* Large Background Image/Icon - Cut-out Effect */
        .service-bg-icon {
            position: absolute;
            top: 50%;
            right: -80px;
            width: 350px;
            height: 350px;
            transform: translateY(-50%);
            opacity: 0.25; /* Increased from 0.08 */
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            z-index: 0;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            filter: grayscale(70%) brightness(1.1); /* Less grayscale, brighter */
        }

        .service-card-cutout:hover .service-bg-icon {
            opacity: 0.45; /* Increased from 0.15 */
            transform: translateY(-50%) scale(1.15) rotate(8deg); /* Bigger scale, more rotation */
            right: -40px; /* Moves more into view */
            filter: grayscale(0%) brightness(1.2); /* Full color, extra bright */
        }

        /* Different icons for each service */
        .service-card-cutout:nth-child(1) .service-bg-icon {
            background-image: url('https://images.unsplash.com/photo-1557597774-9d273605dfa9?w=500');
        }

        .service-card-cutout:nth-child(2) .service-bg-icon {
            background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=500');
        }

        .service-card-cutout:nth-child(3) .service-bg-icon {
            background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=500');
        }

        .service-card-cutout:nth-child(4) .service-bg-icon {
            background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?w=500');
        }

        /* Content Layer */
        .service-content {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        /* Small Icon Badge */
        .service-icon-badge {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
            transition: all 0.4s ease;
        }

        .service-card-cutout:hover .service-icon-badge {
            transform: scale(1.1) rotate(-5deg);
            box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
        }

        /* Colored variants */
        .service-card-cutout:nth-child(2) .service-icon-badge {
            background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
        }

        .service-card-cutout:nth-child(3) .service-icon-badge {
    	    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));;
    	    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
	}

        .service-card-cutout:nth-child(4) .service-icon-badge {
            background: linear-gradient(135deg, var(--accent-color), #ea580c);
            box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
        }

        .service-card-cutout:nth-child(2):hover .service-icon-badge {
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
        }

        .service-card-cutout:nth-child(3):hover .service-icon-badge {
            box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
        }

        .service-card-cutout:nth-child(4):hover .service-icon-badge {
            box-shadow: 0 12px 30px rgba(245, 158, 11, 0.4);
        }

        .service-card-cutout h3 {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 1rem;
            transition: color 0.3s ease;
        }

        .service-card-cutout:hover h3 {
            color: var(--primary-color);
        }

        .service-card-cutout:nth-child(2):hover h3 {
            color: var(--secondary-color);
        }

        .service-card-cutout:nth-child(3):hover h3 {
            color: var(--primary-color);
        }

        .service-card-cutout:nth-child(4):hover h3 {
            color: var(--accent-color);
        }

        .service-card-cutout p {
            font-size: 1rem;
            color: var(--text-color);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .service-features {
            list-style: none;
            margin-bottom: 2rem;
            flex-grow: 1;
        }

        .service-features li {
            padding: 0.5rem 0;
            padding-left: 1.8rem;
            position: relative;
            color: var(--text-color);
            transition: all 0.3s ease;
        }

        .service-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .service-card-cutout:hover .service-features li::before {
            transform: scale(1.2);
        }

        .service-card-cutout:nth-child(2) .service-features li::before {
            color: var(--secondary-color);
        }

        .service-card-cutout:nth-child(3) .service-features li::before {
            color: var(--primary-color);
        }

        .service-card-cutout:nth-child(4) .service-features li::before {
            color: var(--accent-color);
        }

        .service-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 600;
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.3s ease;
            margin-top: auto;
        }

        .service-cta::after {
            content: '→';
            transition: transform 0.3s ease;
        }

        .service-cta:hover {
            gap: 1rem;
        }

        .service-cta:hover::after {
            transform: translateX(5px);
        }

        .service-card-cutout:nth-child(2) .service-cta {
            color: var(--secondary-color);
        }

        .service-card-cutout:nth-child(3) .service-cta {
            color: var(--primary-color);
        }

        .service-card-cutout:nth-child(4) .service-cta {
            color: var(--accent-color);
        }

        /* Accent Line */
        .service-card-cutout::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: var(--primary-color);
            transition: width 0.4s ease;
        }

        .service-card-cutout:hover::before {
            width: 8px;
        }

        .service-card-cutout:nth-child(2)::before {
            background: var(--secondary-color);
        }

        .service-card-cutout:nth-child(3)::before {
            background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
        }

        .service-card-cutout:nth-child(4)::before {
            background: var(--accent-color);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .services-grid-cutout {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .service-card-cutout {
                padding: 2rem;
                min-height: 380px;
            }

            .service-bg-icon {
                width: 250px;
                height: 250px;
                right: -60px;
            }

            .service-card-cutout h3 {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .service-bg-icon {
                width: 200px;
                height: 200px;
                right: -50px;
                opacity: 0.05;
            }

            .service-card-cutout {
                padding: 1.5rem;
            }
        }

/* --- CLIENT LOGO CAROUSEL STYLES (Multi-Row Moving Carousel 3x14) --- */

/* Keyframes for Left Scroll */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Keyframes for Right Scroll */
@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}


/* Main container to house the individual rows and hide overflow */
.multi-row-carousel {
    overflow: hidden;
    padding: 30px 0;
    margin: 40px auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Base style for all logo tracks (the scrolling row) */
.logo-row-track {
    display: flex;
    width: 200%; /* Ensures all logos and duplicates fit on one long line */
    margin-bottom: 15px; 
}

/* Animation for Track A (Rows 1 & 3: 16 logos) - Scroll Left, Slow */
.track-a {
    /* Increased duration for more logos to move at a reasonable speed */
    animation: scroll-left 40s linear infinite; 
}

/* Animation for Track B (Row 2: 16 logos) - Scroll Right, Medium Speed */
.track-b {
    /* Slightly different speed for variation */
    animation: scroll-right 40s linear infinite;
}

/* Individual logo slide (Common styles for all slides) */
.logo-slide {
    /* Calculation: 100% / 16 logos = ~7.1428% per slide width */
    width: calc(100% / 16); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem; /* Reduced padding for tightly packed logos */
    height: 100px;
    /* Styles for full color and movement (based on previous steps) */
    transition: opacity 0.3s ease, filter 0.3s ease;
    flex-shrink: 0; 
}

/* Logo image styling */
.logo-slide img {
    max-width: 90%;
    max-height: 80px;
    object-fit: contain;
}

/* Hover effect on the logo (kept for future use) */
.logo-slide:hover {
    filter: grayscale(0); 
    opacity: 1;
}

/* Responsive adjustment for screens smaller than 1400px (to prevent extreme shrinking) */
@media (max-width: 1400px) {
    /* Show 12 logos on a medium desktop/large laptop */
    .logo-slide {
        width: calc(100% / 12); 
    }
}

@media (max-width: 900px) {
    /* Show 8 logos on tablets */
    .logo-slide {
        width: calc(100% / 8); 
    }
}

@media (max-width: 600px) {
    /* Show 5 logos on mobile */
    .logo-slide {
        width: calc(100% / 5); 
    }
}

/* --- POS Commercial Clients Carousel Styles --- */

/* The H3 title style */
.client-category h3 {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 3rem; /* Add some space above this new section */
    color: var(--dark-color);
}

/* Main Container to create the viewing window and hide overflow */
.client-carousel-container {
    overflow: hidden;
    padding: 20px 0;
    margin-top: 20px;
    /* Optional styling for separation */
    border: 1px solid var(--border-color); 
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* The Scrolling Track */
.client-logos-track {
    display: flex;
    width: max-content; 
    /* Apply animation: Slower speed since there are fewer items than the main logo section */
    animation: scroll-left 50s linear infinite; 
}

/* Styling for each individual Client Logo box */
.client-logo {
    /* Set a consistent minimum width for the logo slot */
    min-width: 150px; 
    max-width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    margin: 0 15px;
    /* Remove background/border styling now that we're using images */
    flex-shrink: 0; 
    transition: transform 0.3s ease;
}

/* Styling for the actual image inside the logo box */
.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensures the whole logo fits without cropping */
    filter: grayscale(100%); /* Optional: Apply grayscale like the main client list */
    opacity: 0.7;          /* Optional: Apply opacity like the main client list */
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Hover effect: Restore color/opacity on hover */
.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Simple hover effect for the container */
.client-logo:hover {
    transform: translateY(-3px);
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .client-logo {
        min-width: 120px; 
        max-width: 120px;
        margin: 0 8px;
    }
}

/* --- Individual Category Track Animations --- */

/* Construction Track (5 logos - scrolling Right, faster) */
/* Reuses the sizing from the general .client-logo and .client-logos-track rules */
.construction-track {
    animation: scroll-right 30s linear infinite; 
}

/* POS Partner Track (4 logos - scrolling Left, fastest) */
.pos-partner-track {
    animation: scroll-left 25s linear infinite;
}

/* ==========================================================
   --- CONTACT SECTION CARDS (GLASSMORPHISM & LAYOUT) ---
   ========================================================== */

/* 1. LAYOUT: Define the container for the 2-column card grid (Desktop Default) */
.contact-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for Sales and HR */
    gap: 15px; 
    margin-bottom: 20px;
}

/* 2. CARD GLASSMORPHISM & SIZING */
.contact-card {
    /* Glassmorphism Effect */
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    
    /* Sizing & Appearance */
    border-radius: 10px;
    padding: 20px; 
    
    color: #ffffff; 
}

/* 3. FULL WIDTH CARD: Technical Support spans both columns (Desktop Default) */
.contact-card.full-width {
    grid-column: 1 / -1; 
}

/* 4. ICON & HEADER STYLES */
.card-header {
    display: flex;
    align-items: center; 
    margin-bottom: 10px;
}

.card-icon {
    width: 44px; 
    height: 44px;
    min-width: 44px; 
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); 
    color: #ffffff; 
}

/* Style the actual SVG icon inside the container */
.card-icon svg {
    width: 22px; 
    height: 22px;
    fill: currentColor; 
}

/* --- HIGHLIGHT CONTACT DATA --- */

.contact-data {
    font-weight: 700; 
    color: #00e0ff; 
    text-shadow: 0 0 5px rgba(0, 224, 255, 0.4); 
}

/* 5. TEXT STYLES */
.contact-card h3 {
    font-size: 1.15rem; 
    margin: 0;
    line-height: 1.3;
    color: #ffffff; 
}

.contact-card p {
    font-size: 0.85rem; 
    margin-bottom: 5px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75); 
}

.card-description {
    margin-top: 10px;
    opacity: 0.9;
}

.success-message, .error-message {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
  animation: fadeIn 0.4s ease-in;
}

.success-message {
  background-color: #e6f9ed;
  color: #1b5e20;
  border: 1px solid #81c784;
}

.error-message {
  background-color: #fdecea;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

