body {
    font-family: 'Inter', sans-serif;
    background-color: #FDF7F0;
}

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

.bg-orange-light {
    background-color: #FDF7F0;
}

.text-orange-dark {
    color: #E97444;
}

.bg-orange-button {
    background-color: #E97444;
}

.bg-orange-button:hover {
    background-color: #D4663B;
}

.text-gray-custom {
    color: #555555;
}

.text-dark-brown {
    color: #4A2C2A;
}

.header-bg {
    background-color: #FDF7F0;
    position: relative;
    z-index: 100;
}

.nav-link {
    color: #555555;
    font-weight: 500;
}

.nav-link:hover {
    color: #E97444;
}

.card {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    color: #E97444;
}

.hero-section {
    min-height: 400px;
    display: flex;
    margin-top: 30px;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #FDF7F0;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.5;
}

@keyframes expand {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.motion-preset-expand {
    animation: expand .8s ease-out forwards;
}

.footer-contact {
    padding-top: 20px;
}

/* Client Logos Scrolling Animation */
.client-logos-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.client-logos-slide {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-left 10s linear infinite;
}

.client-logos-slide img {
    flex-shrink: 0;
    width: auto;
    height: 60px;
    margin: 0 2rem;
}

.client-logos-container:hover .client-logos-slide {
    animation-play-state: paused;
}

/* Client count animation styles */
.client-count-wrapper {
    font-size: 3rem;
    font-weight: bold;
    color: #E97444;
    margin-bottom: 1rem;
}

.client-count-wrapper .animated-number {
    display: inline-block;
    min-width: 90px;
    text-align: right;
    color: #f05a2c;
    font-size: 4rem;
}

.client-count-wrapper .animated-text {
    font-size: 2rem;
    color: #555555;
    margin-left: 0.5rem;
}

@media (max-width: 768px) {
    .client-count-wrapper {
        font-size: 2.5rem;
    }
    .client-count-wrapper .animated-number {
        font-size: 3.5rem;
    }
    .client-count-wrapper .animated-text {
        font-size: 1.5rem;
    }
}

/* Custom Swiper navigation arrows */
.swiper-button-next, .swiper-button-prev {
    color: #E97444 !important;
    font-size: 2rem !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
}

.swiper-button-next {
    right: -10px !important;
}

.swiper-button-prev {
    left: -10px !important;
}

@media (max-width: 767px) {
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: auto;
}

.swiper-slide .card {
    width: 100%;
    height: 100%;
}

.swiper {
    padding-left: 30px;
    padding-right: 30px;
}

@media (max-width: 767px) {
    .swiper {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Pastel Color Palette */
:root {
    --pastel-peach: #FFDAC1;
    --pastel-peach-light: #FFE8D9;
    --pastel-peach-dark: #E6B8A2;
    --pastel-blue: #B5EAD7;
    --pastel-blue-light: #D5F3E7;
    --pastel-blue-dark: #8FC7B2;
    --pastel-green: #C7CEEA;
    --pastel-green-light: #DFE3F5;
    --pastel-green-dark: #A5AECC;
    --pastel-lavender: #E2F0CB;
    --pastel-lavender-light: #F0F7E4;
    --pastel-lavender-dark: #C5D8B0;
}

.bg-pastel-peach {
    background-color: var(--pastel-peach);
}

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

.text-pastel-peach-dark {
    color: var(--pastel-peach-dark);
}

.bg-pastel-blue {
    background-color: var(--pastel-blue);
}

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

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

.bg-pastel-green {
    background-color: var(--pastel-green);
}

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

.text-pastel-green-dark {
    color: var(--pastel-green-dark);
}

.bg-pastel-lavender {
    background-color: var(--pastel-lavender);
}

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

.text-pastel-lavender-dark {
    color: var(--pastel-lavender-dark);
}

/* Flip Card Styles */
.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 400px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.flip-card-back {
    transform: rotateY(180deg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.icon-circle {
    transition: all 0.3s ease;
}

.flip-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Custom Swiper Navigation */
.custom-swiper-button-next, .custom-swiper-button-prev {
    color: #E97444 !important;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.custom-swiper-button-next:hover, .custom-swiper-button-prev:hover {
    transform: scale(1.1);
    background: #FDF7F0;
}

.custom-swiper-button-next::after, .custom-swiper-button-prev::after {
    font-size: 1.5rem !important;
}

/* Mission & Vision Section */
.foundation-section {
    background: #FDF7F0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.vision-card, .mission-card {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    position: relative;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card {
    background: linear-gradient(135deg, #E97444 0%, #F39C6B 100%);
    color: white;
    transform: translateX(-100%);
}

.vision-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.mission-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #4A2C2A;
    transform: translateX(100%);
}

.mission-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.section-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: iconFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.vision-card .section-icon {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.mission-card .section-icon {
    background: linear-gradient(135deg, #E97444, #F39C6B);
    box-shadow: 0 10px 30px rgba(233, 116, 68, 0.3);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.vision-card .section-title {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mission-card .section-title {
    background: linear-gradient(135deg, #E97444, #F39C6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.5rem;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    max-width: 400px;
}

.vision-card .quote-text {
    color: rgba(255, 255, 255, 0.95);
}

.mission-card .quote-text {
    color: #374151;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 116, 68, 0.05) 0%, transparent 70%);
    animation: rotate 25s linear infinite reverse;
    pointer-events: none;
}

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

@media (max-width: 768px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    .vision-card, .mission-card {
        padding: 3rem 2rem;
        min-height: 400px;
        transform: translateY(50px);
        opacity: 0;
    }
    .vision-card.animate-in, .mission-card.animate-in {
        transform: translateY(0);
        opacity: 1;
    }
    .section-title {
        font-size: 2rem;
    }
    .quote-text {
        font-size: 1.25rem;
    }
    .section-icon {
        width: 80px;
        height: 80px;
    }
}

.vision-card:hover .section-icon,
.mission-card:hover .section-icon {
    transform: scale(1.1);
}

.vision-card:hover {
    background: linear-gradient(135deg, #F39C6B 0%, #E97444 100%);
}

.mission-card:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%); /* Changed from -40% to -50% */
    }
}
.core-values-section {
        position: relative;
        overflow: hidden;
        padding: 5rem 0;
        min-height: 100vh;
    }

    .core-values-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="80" cy="40" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="40" cy="70" r="1" fill="%23ffffff" opacity="0.02"/><circle cx="60" cy="10" r="1" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

    .container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
    }

    .core-values-title {
        text-align: center;
        font-size: 3rem;
        font-weight: 800;
        letter-spacing: 4px;
        margin-bottom: 4rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .tree-container {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 700px;
        margin-top: -20px;
    }

    .tree-lines {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .trunk-line {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 100px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .main-horizontal {
        position: absolute;
        top: 100px;
        left: 20%;
        right: 20%;
        height: 2px;
        background: repeating-linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .top-left-branch {
        position: absolute;
        top: 100px;
        left: 20%;
        width: 2px;
        height: 40px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .top-right-branch {
        position: absolute;
        top: 100px;
        right: 20%;
        width: 2px;
        height: 40px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .middle-left-branch {
        position: absolute;
        top: 100px;
        left: 40%;
        width: 2px;
        height: 160px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .middle-right-branch {
        position: absolute;
        top: 100px;
        right: 40%;
        width: 2px;
        height: 160px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .bottom-left-horizontal {
        position: absolute;
        top: 260px;
        left: 15%;
        width: 25%;
        height: 2px;
        background: repeating-linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .bottom-right-horizontal {
        position: absolute;
        top: 260px;
        right: 15%;
        width: 25%;
        height: 2px;
        background: repeating-linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .bottom-left-branch {
        position: absolute;
        top: 260px;
        left: 15%;
        width: 2px;
        height: 60px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .bottom-right-branch {
        position: absolute;
        top: 260px;
        right: 15%;
        width: 2px;
        height: 60px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.8) 0px,
            rgba(0, 0, 0, 0.8) 8px,
            transparent 8px,
            transparent 16px
        );
    }

    .values-tree {
        position: relative;
        width: 100%;
        /* REMOVED: height: 700px; */
    }

    .value-node {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .value-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        color: white;
        margin-bottom: 0.8rem;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    }

    .value-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transform: rotate(45deg);
        transition: all 0.6s;
        opacity: 0;
    }

    .value-node:hover .value-icon::before {
        opacity: 1;
        transform: rotate(45deg) translate(50%, 50%);
    }

    .value-node:hover .value-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
    }

    .value-content {
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        padding: 1rem;
        max-width: 200px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
        transition: all 0.4s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .value-node:hover .value-content {
        transform: translateY(-5px);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
        background: rgba(255, 255, 255, 1);
    }

    .value-title {
        color: #E97444;
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 0.4rem;
    }

    .value-description {
        color: #4a5568;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .icon-excellence { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
    .icon-process { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
    .icon-innovation { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
    .icon-client { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
    .icon-change { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
    .icon-optimism { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

    .excellence { 
        top: 80px; 
        left: 20%; 
        transform: translateX(-50%);
    }
    .process { 
        top: 80px; 
        right: 20%; 
        transform: translateX(50%);
    }
    .innovation { 
        top: 200px; 
        left: 40%; 
        transform: translateX(-50%);
    }
    .client { 
        top: 200px; 
        right: 40%; 
        transform: translateX(50%);
    }
    .change { 
        top: 320px; 
        left: 15%; 
        transform: translateX(-50%);
    }
    .optimism { 
        top: 320px; 
        right: 15%; 
        transform: translateX(50%);
    }

    @media (max-width: 1024px) {
        .core-values-title {
            font-size: 2.5rem;
            letter-spacing: 3px;
        }
        
        .value-icon {
            width: 80px;
            height: 80px;
            font-size: 1.5rem;
        }
        
        .value-content {
            max-width: 240px;
            padding: 1.25rem;
        }
    }

    @media (max-width: 768px) {
        .core-values-section {
            padding: 3rem 0;
        }
        
        .core-values-title {
            font-size: 2rem;
            letter-spacing: 2px;
            margin-bottom: 3rem;
        }
        
        .values-tree {
            position: static;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            padding: 2rem 0;
            min-height: auto; /* Ensure it's not constrained */
        }
        
        .value-node {
            position: static; /* THIS IS THE CRITICAL CHANGE */
            transform: none !important;
        }
        
        .tree-lines {
            display: none;
        }
        
        .value-icon {
            width: 70px;
            height: 70px;
            font-size: 1.25rem;
        }
        
        .value-content {
            max-width: 100%;
        }
    }

    @media (max-width: 480px) {
        .container {
            padding: 0 1rem;
        }
        
        .core-values-title {
            font-size: 1.75rem;
            margin-bottom: 2rem;
        }
        
        .values-tree {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }
/* Search Bar Styles */
.search-input {
    padding: 8px 12px;
    padding-right: 40px; /* Make space for the icon */
    border: 1px solid #ddd;
    border-radius: 9999px; /* Tailwind's rounded-full */
    font-size: 0.875rem; /* Tailwind's text-sm */
    outline: none;
    transition: all 0.3s ease;
    width: 200px; /* Default width for desktop */
    background-color: #ffffff;
}

.search-input:focus {
    border-color: #E97444;
    box-shadow: 0 0 0 3px rgba(233, 116, 68, 0.2);
    width: 240px; /* Expanded width for desktop */
}

/* New: Mobile specific search input styles */
@media (max-width: 767px) {
    .search-input.w-full { /* Target the mobile search input specifically */
        width: 100%; /* Make it full width in mobile menu */
        margin-bottom: 1rem; /* Add some space below it */
    }
    .search-input:focus.w-full {
        width: 100%; /* Keep full width on focus for mobile */
    }
}
