/* assets/css/styles.css */

/* Keep unique animations/components */
.running-light {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: running-light-animation 5s linear infinite;
    background-size: 200% 100%;
    background-position: 100% 0;
    mix-blend-mode: overlay;
}

@keyframes running-light-animation {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

/* General Body Styles - moved from header.php inline style */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container for responsive centering - moved from header.php inline style */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Updated gradient-text to match company_logo.png colors - moved from header.php inline style */
.gradient-text {
    background: linear-gradient(90deg, #5B8C5A, #E07B39);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

/* Futuristic card styles - moved from header.php inline style and kept as a custom component */
.futuristic-card {
    background-color: #ffffff; /* White background for cards on light scheme */
    border: 1px solid #e2e8f0; /* Subtle border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.futuristic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Button styles - moved from header.php inline style and kept as custom branded colors */
.btn-primary {
    background-color: #2C5E82; /* Darker blue */
    color: white; /* Ensure text is white */
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* Fully rounded */
    font-weight: 600; /* Semi-bold */
    transition: background-color 0.3s ease-in-out;
    display: inline-block; /* Ensure it behaves like a button */
    text-decoration: none; /* Remove underline for links used as buttons */
}
.btn-primary:hover {
    background-color: #204A6B; /* Even darker blue on hover */
}

.btn-secondary {
    background-color: transparent;
    color: #2C5E82; /* Dark blue text */
    border: 2px solid #2C5E82; /* Dark blue border */
    transition: all 0.3s ease-in-out;
    display: inline-block; /* Ensure it behaves like a button */
    text-decoration: none; /* Remove underline for links used as buttons */
    padding: 0.75rem 1.5rem; /* Consistent padding with btn-primary */
    border-radius: 9999px; /* Fully rounded */
    font-weight: 600; /* Semi-bold */
}
.btn-secondary:hover {
    background-color: #2C5E82;
    color: white;
    border-color: #2C5E82;
}

/* Nav link specific styling - combined and refined */
.nav-link {
    /* Use Tailwind's @apply to pull in utility classes and add custom ones */
    /* text-gray-700, hover:text-gray-900, transition-colors, duration-200, ease-in-out, px-2, py-2, rounded-md, font-medium, text-sm */
    /* white-space: nowrap added to force text onto one line */
    /* Ensure these are the only specific styles for .nav-link for clarity */
    white-space: nowrap; /* Forces content onto a single line */
}

/* Active navigation link styling */
.active-nav-link {
    color: #2C5E82; /* Primary blue text color */
    font-weight: 700; /* Bolder text */
    /* You can add more styles like a border-bottom or background-color if desired */
    border-bottom: 2px solid #2C5E82; /* Subtle underline */
    padding-bottom: 2px; /* Space between text and underline */
}


/* Specific custom color utility classes - moved from header.php inline style */
.border-\[\#3A6B8F\] {
    border-color: #2C5E82;
}
.hover\:bg-\[\#3A6B8F\]:hover {
    background-color: #2C5E82;
}
.text-\[\#3A6B8F\] {
    color: #2C5E82;
}
.hover\:text-\[\#2D5B8D\]:hover {
    color: #204A6B;
}


/* Futuristic Card adjustments based on parent background - moved from header.php inline style */
.bg-gray-100 .futuristic-card {
    background-color: white;
}
.bg-white .futuristic-card {
    background-color: #f7fafc;
}

/* Client and Partner Logos */
.grayscale {
    filter: grayscale(100%);
}
.hover\:grayscale-0:hover {
    filter: grayscale(0%);
}
.transition-all {
    transition-property: all;
}
.duration-300 {
    transition-duration: 300ms;
}

/* Gradient CTA Section - moved from header.php inline style */
.gradient-cta-section {
    background: linear-gradient(to right, #5B8C5A, #E07B39, #2C5E82);
    color: white;
}
.gradient-cta-section .btn-primary {
    background-color: white;
    color: #2C5E82;
    border: 2px solid white;
}
.gradient-cta-section .btn-primary:hover {
    background-color: #f0f2f5;
    color: #204A6B;
    border-color: #f0f2f5;
}
.gradient-cta-section .gradient-text {
    background: linear-gradient(90deg, #FFFFFF, #E0E0E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* About Page Specific Styles (or general dark theme styles) */
.bg-gray-900 .futuristic-card,
.bg-gray-800 .futuristic-card {
    background-color: #2d3748;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}
.bg-gray-900 .futuristic-card:hover,
.bg-gray-800 .futuristic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Adjustments for banner text on smaller screens and at high zoom levels */
.text-5xl {
    font-size: clamp(2rem, 5vw, 4rem);
}

.md\:text-7xl {
    font-size: clamp(3rem, 7vw, 6rem);
}

@media (max-width: 1024px) {
    .h-screen {
        height: auto;
    }

    .md\:text-7xl {
        font-size: clamp(2.5rem, 6vw, 5rem);
    }
}


/* Partner Carousel Styles */
.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 0;
}

.partner-item {
    flex: 0 0 20%; /* Each item takes exactly 20% width (5 items = 100%) */
    max-width: 20%;
    padding: 0 8px; /* Add horizontal padding for spacing */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .partner-item {
        flex: 0 0 33.333%; /* 3 items per view on tablets */
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .partner-item {
        flex: 0 0 50%; /* 2 items per view on mobile */
        max-width: 50%;
    }
}

@media (max-width: 480px) {
    .partner-item {
        flex: 0 0 100%; /* 1 item per view on small mobile */
        max-width: 100%;
    }
}