/* AOS (Animate On Scroll) library handles all fade-in animations */
/* We removed custom fade-in styles as AOS provides better functionality */
/* You can customize animations using data-aos attributes in HTML */

/* Color Variables - Primary and Secondary Colors */
/* Primary color: #F48020 (Orange) */
/* Secondary color: #4C28A6 (Purple) */
:root {
    --primary-color: #F48020;
    --secondary-color: #4C28A6;
    --primary-hover: #e06d0d; /* Slightly darker for hover states */
    --secondary-hover: #3d1f85; /* Slightly darker for hover states */
}

/* Primary Color Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.hover\:text-primary:hover {
    color: var(--primary-color);
}

.hover\:bg-primary:hover {
    background-color: var(--primary-color);
}

/* Hover states for primary color */
.hover\:bg-primary-hover:hover {
    background-color: var(--primary-hover);
}

/* Secondary Color Utility Classes */
.text-secondary {
    color: var(--secondary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.hover\:text-secondary:hover {
    color: var(--secondary-color);
}

.hover\:bg-secondary:hover {
    background-color: var(--secondary-color);
}

/* Hover states for secondary color */
.hover\:bg-secondary-hover:hover {
    background-color: var(--secondary-hover);
}

/* Gradient Classes */
/* Horizontal gradient: primary to secondary */
.bg-gradient-primary-secondary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* Horizontal gradient: secondary to primary */
.bg-gradient-secondary-primary {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

/* Diagonal gradient (to bottom-right): primary to secondary */
.bg-gradient-to-br-primary-secondary {
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
}

/* Diagonal gradient (to bottom-right): secondary to primary */
.bg-gradient-to-br-secondary-primary {
    background: linear-gradient(to bottom right, var(--secondary-color), var(--primary-color));
}

/* Focus ring colors for form inputs */
.focus\:ring-primary:focus {
    --tw-ring-color: var(--primary-color);
}

/* Slider styles */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide slides outside viewport for slide effect */
}

/* Each slide starts hidden and transitions smoothly with slide effect */
/* All slides use the same consistent sliding animation - including the first slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%); /* Start from right side - same for ALL slides including first */
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out; /* Same transition for all */
    z-index: 0;
    opacity: 0; /* Start hidden - same for all slides */
}

/* Active slide is visible and in position - same effect for ALL slides */
.slide.active {
    transform: translateX(0); /* Slide into view - same animation for all slides */
    z-index: 1;
    opacity: 1; /* Make visible */
}

/* Smooth scrolling for navigation links */
html {
    scroll-behavior: smooth;
}

/* Custom styles for better visual effects */
.slider-btn {
    backdrop-filter: blur(10px);
}

.slider-dots .dot {
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Image styling for better display */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure images in cards display properly */
img {
    max-width: 100%;
    height: auto;
}

/* Header placeholder - no height since header is fixed */
#header-placeholder {
    height: 0;
    margin: 0;
    padding: 0;
}

/* Logo styling */
header img {
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

/* Contact button highlight with border - always visible */
.nav-link-contact {
    border: 2px solid var(--primary-color) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-weight: 500;
}

/* Contact button hover effect */
.nav-link-contact:hover {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Slider content animation - single consistent animation for all elements */
/* Apply fade-in animation to all text and button elements in slider */
.slide.active .text-white h1,
.slide.active .text-white h2,
.slide.active .text-white p,
.slide.active .view-detail-btn {
    animation: fadeInUp 0.8s ease-out;
}

/* Single animation type for all slider content - fade up from bottom */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for slider left content */
@media (max-width: 768px) {
    .slide.active .text-white h1,
    .slide.active .text-white h2,
    .slide.active .text-white p,
    .slide.active .view-detail-btn {
        font-size: 0.875rem;
    }
    
    .slide.active .view-detail-btn {
        padding: 0.5rem 1rem;
    }
}

/* Product Card Hover Effects */
.product-card {
    position: relative;
    overflow: hidden;
    transition-property: transform, box-shadow !important;
    transition-duration: 0.3s !important;
    transition-timing-function: ease !important;
}

/* Bottom border with left-to-right transition */
.product-card::after {
    content: '';
    position: absolute;
    /* Position exactly at the bottom edge - no offset */
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 1s ease;
    z-index: 10;
    /* Match the card's rounded corners exactly - rounded-xl is 0.75rem (12px) */
    /* Use the same border-radius as the card to ensure perfect alignment */
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
    /* Ensure it sits perfectly on the edge with no gaps */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Prevent any visual gaps */
    transform: translateZ(0);
    /* Ensure it renders on top */
    will-change: width;
}

.product-card:hover {
    transform: translateY(-8px) !important;
}

.product-card:hover::after {
    width: 100%;
}

.product-card img {
    transition: transform 0.5s ease;
}

/* Feature Card Hover Effects */
.feature-card {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Top border with left-to-right transition */
.feature-card::before {
    content: '';
    position: absolute;
    /* Position exactly at the top edge - no offset */
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 1s ease;
    z-index: 10;
    /* Match the card's rounded corners exactly - rounded-xl is 0.75rem (12px) */
    /* Use the same border-radius as the card to ensure perfect alignment */
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    /* Ensure it sits perfectly on the edge with no gaps */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* Prevent any visual gaps */
    transform: translateZ(0);
    /* Ensure it renders on top */
    will-change: width;
}

.feature-card:hover::before {
    width: 100%;
}

/* Cursor-following blur glow effect for feature cards */
.feature-card-blur-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 128, 32, 0.3) 0%, rgba(244, 128, 32, 0.15) 40%, transparent 70%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.3s ease;
    z-index: 1;
    left: 50%;
    top: 50%;
    will-change: transform, opacity;
}

.feature-card:hover .feature-card-blur-glow {
    opacity: 1;
}

/* Feature Icon Hover Effects */
.feature-icon {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(0);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: grayscale(0) brightness(1.1);
}

/* Award Card Hover Effects */
.award-card {
    transition: all 0.3s ease;
    position: relative;
}

.award-card:hover {
    transform: scale(1.05);
    /* Add primary color shadow on hover */
    box-shadow: 0 20px 40px rgba(244, 128, 32, 0.3), 0 10px 20px rgba(244, 128, 32, 0.2), 0 5px 10px rgba(244, 128, 32, 0.1) !important;
}

/* Highlight text on hover - make heading more prominent */
.award-card h3 {
    transition: all 0.3s ease;
}

.award-card:hover h3 {
    color: var(--primary-color) !important;
    font-weight: 800;
    transform: scale(1.05);
}

/* Highlight description text on hover */
.award-card p {
    transition: all 0.3s ease;
}

.award-card:hover p {
    color: var(--secondary-color) !important;
    font-weight: 600;
}

/* Icon container hover effects */
.award-card > div:first-child {
    transition: all 0.3s ease;
}

.award-card:hover > div:first-child {
    background-color: var(--primary-color) !important;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(244, 128, 32, 0.4);
}

/* Icon SVG hover effects */
.award-card svg {
    transition: all 0.3s ease;
}

.award-card:hover svg {
    color: white !important;
    transform: scale(1.1) rotate(-5deg);
}

/* Service Card Effects */
.service-card {
    position: relative;
    transition: box-shadow 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer;
}

/* Cursor-following blur glow effect */
.service-card-blur-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 128, 32, 0.4) 0%, rgba(244, 128, 32, 0.2) 40%, transparent 70%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.3s ease;
    z-index: 1;
    left: 50%;
    top: 50%;
    will-change: transform, opacity;
}

.service-card:hover .service-card-blur-glow {
    opacity: 1;
}

/* Primary color shadow on hover */
.service-card:hover {
    box-shadow: 0 20px 40px rgba(244, 128, 32, 0.4), 0 10px 20px rgba(244, 128, 32, 0.3), 0 5px 10px rgba(244, 128, 32, 0.2) !important;
}

/* Service Icon Hover Effects */
.service-icon-container {
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon-container {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(76, 40, 166, 0.3);
}

.service-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    color: white;
}

/* AOS handles footer animations via data-aos attributes */

/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

/* ============================================
   NEW TIMELINE DESIGN - SIMPLE & RELIABLE
   ============================================ */

/* ============================================
   NEW SIMPLE TIMELINE STYLES
   ============================================ */

/* Timeline Container */
.timeline-container {
    position: relative;
}

/* Timeline Line - Vertical line on desktop */
.timeline-line {
    position: absolute;
    left: 2rem; /* 32px - matches left-8 */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
}

/* Animated Arrow Moving Down Timeline */
.timeline-arrow-down {
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 10px solid var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(244, 128, 32, 0.6));
    animation: arrow-move-down-timeline 3s ease-in-out infinite;
    z-index: 5;
}

/* Arrow Animation - Moves from top to bottom continuously */
@keyframes arrow-move-down-timeline {
    0% {
        top: -10px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Timeline Dot - Circular markers */
.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(244, 128, 32, 0.4);
    position: relative;
    z-index: 10;
}

/* Timeline Card - No hover effects */

/* Responsive - Hide timeline line and dots on mobile */
@media (max-width: 768px) {
    .timeline-line {
        display: none;
    }
    
    .timeline-dot {
        display: none;
    }
}

/* Legacy Timeline Styles - Keep for backward compatibility */
.timeline-row {
    position: relative;
    min-height: 180px;
}

/* Timeline Card - Simple Design */
.timeline-card-simple {
    position: relative;
    overflow: visible;
    background: white;
    border: 1px solid #e5e7eb;
}

/* Timeline Card - No hover effects */
/* Disable all hover effects on timeline cards in the journey section */
section:has(.max-w-4xl) .bg-orange-50.rounded-xl.shadow-lg,
section:has(.max-w-4xl) .bg-orange-50.rounded-xl.shadow-lg:hover {
    transition: none !important;
    transform: none !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Disable hover on content boxes in timeline */
section:has(.max-w-4xl) .bg-primary\/10.rounded-lg,
section:has(.max-w-4xl) .bg-primary\/10.rounded-lg:hover {
    transition: none !important;
    transform: none !important;
    background-color: rgba(244, 128, 32, 0.1) !important;
}

/* Alternative selector for browsers that don't support :has() */
.max-w-4xl .bg-orange-50.rounded-xl.shadow-lg,
.max-w-4xl .bg-orange-50.rounded-xl.shadow-lg:hover {
    transition: none !important;
    transform: none !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

.max-w-4xl .bg-primary\/10.rounded-lg,
.max-w-4xl .bg-primary\/10.rounded-lg:hover {
    transition: none !important;
    transform: none !important;
    background-color: rgba(244, 128, 32, 0.1) !important;
    border-left: 4px solid var(--primary-color) !important;
    border-left-color: var(--primary-color) !important;
}

/* Timeline Card Text Spacing */
.timeline-card-simple p {
    line-height: 1.65 !important;
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
    color: #4b5563 !important;
}

.timeline-card-simple h3 {
    line-height: 1.4 !important;
    margin-bottom: 0 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

.timeline-card-simple a {
    line-height: 1.5 !important;
    display: inline-block !important;
}

/* Animated Arrow Container */
.timeline-arrow-container {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

/* Animated Arrow - Moves continuously down the timeline */
.timeline-arrow {
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--primary-color);
    filter: drop-shadow(0 2px 3px rgba(244, 128, 32, 0.6));
    animation: arrow-move-down 4s linear infinite;
    z-index: 2;
}

/* Arrow Animation - Moves from top to bottom continuously */
@keyframes arrow-move-down {
    0% {
        top: -8px;
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        top: calc(100% + 8px);
        opacity: 0;
    }
}

/* Timeline Marker Styling - Square markers */
.timeline-row > div > div:nth-child(2) {
    width: 12px !important;
    height: 12px !important;
    background-color: var(--primary-color) !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 8px rgba(244, 128, 32, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    z-index: 20 !important;
}

/* Connecting Lines - Fixed position, don't move on hover */
.timeline-row > div > div:first-child > div:last-child,
.timeline-row > div > div:last-child > div:last-child {
    z-index: 5;
    pointer-events: none;
    transition: none !important;
}

/* Responsive Timeline Adjustments */
@media (max-width: 768px) {
    .timeline-row {
        min-height: auto;
        padding: 1.5rem 0 !important;
    }
    
    .timeline-row > div {
        flex-direction: column !important;
    }
    
    .timeline-row > div > div:first-child,
    .timeline-row > div > div:last-child {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Hide connecting lines and markers on mobile */
    .timeline-row > div > div:first-child > div:last-child,
    .timeline-row > div > div:last-child > div:last-child {
        display: none !important;
    }
    
    .timeline-row > div > div:nth-child(2) {
        display: none !important;
    }
    
    /* Hide timeline line and arrows on mobile */
    .timeline-arrow-container {
        display: none !important;
    }
}

/* Year Tag Styling - Positioned outside card */
.timeline-card > div:first-child {
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.75rem;
    z-index: 30;
}

/* Connecting Line Styling - Horizontal lines from cards to timeline */
.timeline-card > div:last-child {
    background-color: var(--primary-color) !important;
    height: 2px !important;
    z-index: 15;
}

/* Timeline Marker Styling - Center dots */
.timeline-item > div > div:nth-child(2),
.timeline-item > div > div:nth-child(3) {
    width: 20px !important;
    height: 20px !important;
    background-color: var(--primary-color) !important;
    border: 4px solid white !important;
    box-shadow: 0 4px 12px rgba(244, 128, 32, 0.4), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    z-index: 20 !important;
}

/* Learn More Link Hover Effect */
.timeline-card a {
    transition: all 0.2s ease;
}

.timeline-card a:hover {
    color: var(--primary-color) !important;
}

/* Icon Container Styling */
.timeline-card .w-8 {
    transition: all 0.3s ease;
}

.timeline-card:hover .w-8 {
    transform: scale(1.1);
    background-color: var(--primary-color) !important;
}

.timeline-card:hover .w-8 svg {
    color: white !important;
}

/* Leadership Card Hover Effects */
.leadership-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leadership-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.8s ease;
    z-index: 10;
}

.leadership-card:hover::after {
    width: 100%;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(244, 128, 32, 0.25), 0 15px 30px rgba(76, 40, 166, 0.2) !important;
}

/* Mission Card Hover Effects */
.mission-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
}

.mission-card > * {
    position: relative;
    z-index: 1;
}

/* Capability Card Hover Effects */
.capability-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.8s ease;
    z-index: 10;
}

.capability-card:hover::after {
    width: 100%;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(244, 128, 32, 0.3), 0 10px 20px rgba(244, 128, 32, 0.2) !important;
}

/* Infrastructure Card Hover Effects */
.infrastructure-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.infrastructure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.8s ease;
    z-index: 10;
}

.infrastructure-card:hover::before {
    width: 100%;
}

.infrastructure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(244, 128, 32, 0.25), 0 8px 15px rgba(76, 40, 166, 0.15) !important;
}

.infrastructure-card svg {
    transition: transform 0.3s ease;
}

.infrastructure-card:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Location Card Hover Effects */
.location-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.8s ease;
    z-index: 10;
}

.location-card:hover::after {
    width: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3) !important;
}

/* Stats Card Hover Effects */
.stats-card {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stats-card:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive Timeline Adjustments */
@media (max-width: 768px) {
    .timeline-item {
        min-height: auto;
        margin-bottom: 3rem;
    }
    
    .timeline-item > div {
        flex-direction: column !important;
    }
    
    .timeline-item > div > div:first-child,
    .timeline-item > div > div:last-child {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 1rem;
    }
    
    /* Hide connecting lines and markers on mobile */
    .timeline-card > div:last-child {
        display: none !important;
    }
    
    .timeline-item > div > div:nth-child(2),
    .timeline-item > div > div:nth-child(3) {
        display: none !important;
    }
    
    /* Hide timeline line on mobile */
    .timeline-line {
        display: none !important;
    }
    
    /* Adjust card padding on mobile */
    .timeline-card {
        padding: 1.5rem !important;
    }
    
    /* Year tag positioning on mobile */
    .timeline-card > div:first-child {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        margin-bottom: 1rem;
        display: inline-block;
    }
}

/* ============================================
   CLIENTS CAROUSEL STYLES
   ============================================ */

/* Carousel wrapper - hides overflow for seamless loop */
.clients-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

/* Carousel container - holds all logo items */
.clients-carousel {
    display: flex;
    gap: 2rem;
    width: fit-content;
    animation: slide-continuous 30s linear infinite;
    will-change: transform;
}

/* Continuous sliding animation - moves from right to left */
@keyframes slide-continuous {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move by exactly half the width (since we duplicate the logos) */
        transform: translateX(-50%);
    }
}

/* Client logo item styling */
.client-logo-item {
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.client-logo-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(244, 128, 32, 0.2) !important;
}

/* Pause animation on hover for better UX */
.clients-carousel-wrapper:hover .clients-carousel {
    animation-play-state: paused;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .client-logo-item {
        width: 10rem !important; /* Smaller on mobile */
        height: 5rem !important;
    }
    
    .clients-carousel {
        gap: 1rem;
    }
    
    /* Adjust gradient overlay width on mobile */
    .clients-carousel-wrapper > div:first-child,
    .clients-carousel-wrapper > div:nth-child(2) {
        width: 2rem;
    }
}

/* ============================================
   CONTACT PAGE SPECIFIC STYLES
   ============================================ */

/* Contact Channel Card Hover Effects */
.contact-channel-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Thick border on hover for contact channel cards */
.contact-channel-card:hover {
    border-width: 3px !important;
}

/* Orange border for Email and Call cards on hover */
.contact-channel-card[class*="border-primary"]:hover {
    border-color: var(--primary-color) !important;
}

/* Green border for WhatsApp card on hover */
.contact-channel-card[class*="border-green"]:hover {
    border-color: #22c55e !important;
}

/* Icon container hover effect - for orange square icons */
.contact-channel-card:hover .w-12.bg-primary {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(244, 128, 32, 0.4);
}

/* Icon container hover effect - for green square icons (WhatsApp) */
.contact-channel-card:hover .w-12.bg-green-500 {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

/* Background icon animation on hover */
.contact-channel-card:hover .absolute.top-0.right-0 {
    opacity: 0.15 !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Contact form input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(244, 128, 32, 0.1) !important;
}

/* Form input placeholder styling */
input::placeholder,
textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Select dropdown styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F48020'%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 0.75rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Social media icon hover effects */
.bg-primary\/10:hover {
    background-color: var(--primary-color) !important;
}

/* Map iframe styling */
iframe {
    border: none;
    border-radius: 0.75rem;
}

/* Mission & Vision Image Blocks */
.mission-image-block,
.vision-image-block {
    position: relative;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.mission-image-block:hover,
.vision-image-block:hover {
    transform: scale(1.02);
}

/* Subtle pattern background for image blocks */
.bg-pattern {
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
}

/* Up and Down Animation for Icons */
@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.icon-float {
    animation: floatUpDown 3s ease-in-out infinite;
    z-index: 10;
}

/* Ensure image blocks maintain aspect ratio on mobile */
@media (max-width: 768px) {
    .mission-image-block,
    .vision-image-block {
        min-height: 300px;
    }
}

/* Why Choose Our Products Card Hover Effect */
.why-choose-card {
    position: relative;
    overflow: visible;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.1) 0%, rgba(249, 115, 22, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: 0.75rem;
}

.why-choose-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 0 0.75rem 0 0;
}

.why-choose-card:hover::before {
    opacity: 1;
}

.why-choose-card:hover::after {
    opacity: 1;
}

.why-choose-card:hover {
    background-color: #fff7ed;
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.why-choose-card > * {
    position: relative;
    z-index: 1;
}

.why-choose-card:hover .w-16 {
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(244, 128, 32, 0.3), 0 4px 6px -2px rgba(244, 128, 32, 0.2);
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    .contact-channel-card {
        margin-bottom: 1.5rem;
    }
    
    /* Stack form and sidebar on mobile */
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

