@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
    --background: 0 0% 100%;
    --foreground: 25 25% 18%;
    --card: 0 0% 100%;
    --card-foreground: 25 25% 18%;
    --popover: 0 0% 100%;
    --popover-foreground: 25 25% 18%;
    --primary: 39 74% 54%;
    --primary-foreground: 0 0% 100%;
    --secondary: 35 30% 96%;
    --secondary-foreground: 25 25% 18%;
    --muted: 35 30% 96%;
    --muted-foreground: 25 15% 45%;
    --accent: 39 74% 54%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 35 20% 90%;
    --input: 35 20% 90%;
    --ring: 39 74% 54%;
    --radius: 0.375rem;
    --eagle-red: 39 74% 54%;
    --eagle-red-light: 39 74% 45%;
    --eagle-dark: 25 35% 20%;
    --eagle-gray: 25 15% 45%;
    --eagle-light-gray: 35 20% 90%;
    --eagle-warm: 35 30% 96%;
}

.dark {
    --background: 25 25% 8%;
    --foreground: 35 30% 96%;
    --card: 25 25% 12%;
    --card-foreground: 35 30% 96%;
    --popover: 25 25% 12%;
    --popover-foreground: 35 30% 96%;
    --primary: 39 74% 54%;
    --primary-foreground: 0 0% 100%;
    --secondary: 25 25% 18%;
    --secondary-foreground: 35 30% 96%;
    --muted: 25 25% 18%;
    --muted-foreground: 25 15% 60%;
    --accent: 39 74% 54%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 25 25% 20%;
    --input: 25 25% 20%;
    --ring: 39 74% 54%;
}

* {
    border-color: hsl(var(--border));
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

.nav-link {
    font-family: 'Inter', system-ui, sans-serif !important;
}

.dropdown-container * {
    font-family: 'Inter', system-ui, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(135deg, hsl(var(--eagle-red)) 0%, hsl(var(--eagle-red-light)) 100%);
}

.bg-industrial {
    background: linear-gradient(135deg, hsl(var(--eagle-dark)) 0%, hsl(220 20% 20%) 50%, hsl(var(--eagle-dark)) 100%);
}

.bg-subtle {
    background: hsl(var(--eagle-warm));
}

.card-industrial {
    background-color: hsl(var(--card));
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-industrial:hover {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transform: translateY(-0.25rem);
    border-color: hsla(var(--eagle-red), 0.3);
}

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.reveal-left {
    transform: translateX(-3rem);
}

.reveal.reveal-right {
    transform: translateX(3rem);
}

.reveal.reveal-left.active,
.reveal.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal.reveal-scale {
    transform: scale(0.9);
}

.reveal.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-150 {
    transition-delay: 150ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-450 {
    transition-delay: 450ms;
}

.delay-600 {
    transition-delay: 600ms;
}

/* Dropdown Menu Styles */
.dropdown-container {
    position: relative;
    display: inline-block;
}

/* Invisible bridge for hover stability */
.dropdown-container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #ffffff;
    border: 1px solid #f1f1f1;
    border-radius: 12px;
    padding: 2.25rem;
    min-width: 680px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 25px 50px -12px rgba(89, 58, 33, 0.15);
    /* Tinted shadow */
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
}

/* Mobile dropdown fixes */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 300px;
        max-width: 85vw;
        padding: 1.5rem;
        gap: 1.5rem;
        grid-template-columns: 1fr;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
    }

    .dropdown-column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        min-width: 280px;
        max-width: 90vw;
        padding: 1rem;
        gap: 1rem;
    }
}

.dropdown-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
}

.dropdown-column-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: #000000;
    /* Black */
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f59e0b;
    /* Golden Yellow */
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    font-family: 'Playfair Display', serif;
}

.dropdown-link {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: #4b5563;
    transition: all 0.2s ease;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'Inter', system-ui, sans-serif;
}

.dropdown-link:hover {
    color: #f59e0b;
    transform: translateX(4px);
}

.dropdown-sub-item {
    font-size: 0.8125rem;
    padding-left: 14px;
    position: relative;
    color: #6b7280;
    font-family: 'Inter', system-ui, sans-serif;
}

.dropdown-sub-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background-color: #d1d5db;
    transition: all 0.2s ease;
}

.dropdown-link:hover.dropdown-sub-item::before {
    width: 10px;
    background-color: #f59e0b;
}

/* Mobile Dropdown styles */
.mobile-dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #fcfcfc;
    border-radius: 8px;
}

.mobile-dropdown-content.active {
    max-height: 2000px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    border: 1px solid #f3f4f6;
}

.mobile-dropdown-item {
    padding: 0.625rem 1.5rem;
    display: block;
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 500;
    font-family: 'Inter', system-ui, sans-serif;
}

.mobile-dropdown-sub-item {
    padding-left: 2.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    font-family: 'Inter', system-ui, sans-serif;
}

.mobile-dropdown-content p {
    font-family: 'Inter', system-ui, sans-serif !important;
}

.mobile-dropdown-toggle i {
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.dropdown-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Premium Icon Styles */
.premium-icon-container {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-icon-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border-color: rgba(245, 158, 11, 0.25);
}

.premium-icon {
    width: 36px;
    height: 36px;
    color: #f59e0b;
    transition: all 0.3s ease;
}

.premium-icon-container:hover .premium-icon {
    transform: scale(1.1);
    color: #d97706;
}

/* Application Icon Styles */
.app-icon-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-icon-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
}

.app-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #f59e0b;
    transition: all 0.3s ease;
}

.app-icon-container:hover .app-icon {
    transform: scale(1.1);
    color: #d97706;
}

/* No underline for anchor card elements */
a.card-industrial {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

a.card-industrial:hover {
    text-decoration: none;
    color: inherit;
}

/* Mobile responsive icons */
@media (max-width: 768px) {
    .premium-icon-container {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin-bottom: 1rem;
    }

    .premium-icon {
        width: 28px;
        height: 28px;
    }

    .app-icon-container {
        padding: 1rem;
        gap: 0.75rem;
    }

    .app-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .premium-icon-container {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        margin-bottom: 0.75rem;
    }

    .premium-icon {
        width: 24px;
        height: 24px;
    }

    .app-icon-container {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .app-icon {
        width: 24px;
        height: 24px;
    }
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4), 0 6px 15px rgba(37, 211, 102, 0.3);
    z-index: 99999;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4), 0 6px 18px rgba(37, 211, 102, 0.3);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
    transition: transform 0.2s ease;
    fill: white !important;
    color: white !important;
}

.whatsapp-float:hover svg {
    transform: rotate(15deg) scale(1.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: max(20px, env(safe-area-inset-bottom) + 80px);
        right: 20px;
        z-index: 99999 !important;
    }

    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
        fill: white !important;
        color: white !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: max(15px, env(safe-area-inset-bottom) + 80px);
        right: 15px;
        z-index: 99999 !important;
    }

    .whatsapp-float svg {
        width: 20px !important;
        height: 20px !important;
        fill: white !important;
        color: white !important;
    }
}

/* Mobile Navigation Improvements */
@media (max-width: 1024px) {
    .dropdown-menu {
        display: none !important;
    }
}

/* Mobile Menu Enhancements */
@media (max-width: 767px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #mobile-menu {
        position: fixed !important;
        top: 104px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 104px) !important;
        z-index: 999 !important;
        padding: 1.5rem !important;
        overflow-y: auto !important;
        background-color: white !important;
        -webkit-overflow-scrolling: touch;
        border-top: 1px solid hsl(var(--border));
        display: none; /* Hidden by default */
        flex-direction: column;
    }

    /* Only show as flex when explicitly NOT hidden */
    #mobile-menu:not(.hidden) {
        display: flex !important;
    }

    #mobile-menu .nav-link, 
    #mobile-menu .block,
    .mobile-dropdown-toggle {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        color: #374151 !important; /* Darker gray for premium legibility */
        padding: 0.875rem 1rem !important;
        border-radius: 0.5rem !important;
        margin-bottom: 0.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        transition: all 0.2s ease !important;
        background-color: transparent !important;
    }

    #mobile-menu .nav-link:active,
    #mobile-menu .block:active,
    .mobile-dropdown-toggle:active {
        background-color: #f3f4f6 !important;
        color: hsl(var(--primary)) !important;
    }

    header {
        z-index: 1000 !important;
    }

    .menu-open {
        overflow: hidden !important;
        height: 100vh !important;
    }

    .menu-open header {
        background-color: white !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }

    .menu-open .whatsapp-float {
        display: none !important;
    }

    .mobile-dropdown-content {
        background-color: #f9fafb; /* Light backdrop for products */
        border-radius: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        margin-bottom: 0.5rem;
    }

    .mobile-dropdown-item {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem !important;
        color: #4b5563 !important;
        display: block !important;
        border-bottom: 1px solid #f3f4f6;
    }

    .mobile-dropdown-sub-item {
        padding-left: 2rem !important;
        font-size: 0.875rem !important;
        color: #6b7280 !important;
    }

    #mobile-menu .bg-primary {
        background-color: #d39c2f !important;
        color: white !important;
        border-radius: 0.75rem !important;
        font-weight: 700 !important;
        padding: 1.25rem !important;
        margin-top: 1rem !important;
        box-shadow: 0 4px 6px rgba(211,156,47,0.2) !important;
        font-size: 1rem !important;
    }

    .mobile-dropdown-content.active {
        max-height: 2000px;
        overflow-y: visible;
        margin-bottom: 1rem;
    }

    /* Fix button text overflow */
    .tab-btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        line-height: 1.3;
    }

    /* Fix counter text */
    .counter {
        font-size: 1.5rem !important;
        font-weight: bold;
    }

    /* Fix logo text */
    .text-\[7\.5px\] {
        font-size: 8px !important;
        line-height: 1.2;
    }

    /* Fix all buttons */
    button {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        line-height: 1.3;
    }

    /* Fix navigation links */
    .nav-link {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 0.5rem;
        line-height: 1.3;
    }

    /* Fix mobile dropdown toggle */
    .mobile-dropdown-toggle {
        position: relative !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-right: 3rem !important;
        line-height: 1.3;
    }

    .mobile-dropdown-toggle i {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Improve mobile header spacing */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    h2 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
    }

    h3 {
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
    }

    /* Hero section specific fixes */
    .text-4xl {
        font-size: 1.875rem !important;
        line-height: 1.2 !important;
    }

    .text-5xl {
        font-size: 2.25rem !important;
        line-height: 1.2 !important;
    }

    .text-6xl {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .text-7xl {
        font-size: 2.75rem !important;
        line-height: 1.2 !important;
    }

    /* Industries grid fixes for mobile */
    .grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5.xl\:grid-cols-7 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .tab-content .card-industrial {
        padding: 0.75rem !important;
    }

    .tab-content .card-industrial .w-12 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    .tab-content .card-industrial .text-xs {
        font-size: 0.625rem !important;
        line-height: 1.1 !important;
    }

    /* Mobile Grid Fixes */
    .grid {
        gap: 1.5rem !important;
    }

    .md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    .lg\:grid-cols-3,
    .lg\:grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

    /* Mobile Button Fixes */
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Mobile Image Fixes */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Mobile Text Fixes */
    .text-center {
        text-align: center !important;
    }

    /* Mobile Spacing Fixes */
    .mb-16 {
        margin-bottom: 2rem !important;
    }

    .mt-16 {
        margin-top: 2rem !important;
    }

    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .py-12 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Extra small mobile fixes */
    .tab-btn {
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    .mobile-dropdown-toggle {
        font-size: 0.875rem !important;
        padding: 0.75rem 1rem !important;
    }

    .mobile-dropdown-item {
        font-size: 0.8125rem !important;
        padding: 0.625rem 0.75rem !important;
    }

    .mobile-dropdown-sub-item {
        font-size: 0.75rem !important;
        padding-left: 1.5rem !important;
    }

    /* Fix logo on small screens */
    .text-\[7\.5px\] {
        font-size: 7px !important;
    }

    .text-\[9px\] {
        font-size: 8px !important;
    }

    /* Fix counter on small screens */
    .counter {
        font-size: 1.25rem !important;
    }
}

/* Footer mobile fixes */
@media (max-width: 767px) {
    footer .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    footer .flex {
        justify-content: center;
    }

    footer .flex.gap-4 {
        justify-content: center;
        gap: 0.75rem !important;
    }

    footer .w-10 {
        width: 2.5rem !important;
        height: 2.5rem !important;
    }

    footer .text-sm {
        font-size: 0.875rem !important;
    }

    footer .space-y-2-5>*+* {
        margin-top: 0.625rem !important;
    }
}

@media (max-width: 480px) {
    footer .grid {
        gap: 1.5rem !important;
    }

    footer .flex.gap-4 {
        gap: 0.5rem !important;
    }

    footer .w-10 {
        width: 2.25rem !important;
        height: 2.25rem !important;
    }

    footer .text-sm {
        font-size: 0.8125rem !important;
    }
}

/* Tablet Devices */
@media (min-width: 768px) and (max-width: 1023px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .md\:grid-cols-2 {
        grid-template-columns: 1fr 1fr;
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Industries grid for tablet */
    .grid-cols-2.sm\:grid-cols-3.md\:grid-cols-4.lg\:grid-cols-5.xl\:grid-cols-7 {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
}

/* Mobile viewport height fix */
.hero-section,
.min-h-screen {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}

/* Essential missing styles */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }
}

/* Grid utilities */
.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

/* Flex utilities */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-3 {
    gap: 0.75rem;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Spacing utilities */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

/* Background utilities */
.bg-white {
    background-color: white;
}

.bg-background {
    background-color: hsl(var(--background));
}

.bg-secondary {
    background-color: hsl(var(--secondary));
}

.bg-primary {
    background-color: hsl(var(--primary));
}

/* Color utilities */
.text-white {
    color: white;
}

.text-foreground {
    color: hsl(var(--foreground));
}

.text-primary {
    color: hsl(var(--primary));
}

.text-primary-foreground {
    color: hsl(var(--primary-foreground));
}

.text-muted-foreground {
    color: hsl(var(--muted-foreground));
}

/* Border utilities */
.border {
    border-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-border {
    border-color: hsl(var(--border));
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

/* Border radius utilities */
.rounded-md {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Shadow utilities */
.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Transition utilities */
.transition-colors {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Hover utilities */
.hover\\:bg-secondary:hover {
    background-color: hsl(var(--secondary));
}

.hover\\:bg-primary:hover {
    background-color: hsl(var(--primary));
}

.hover\\:text-primary:hover {
    color: hsl(var(--primary));
}

.hover\\:text-foreground:hover {
    color: hsl(var(--foreground));
}

.hover\\:shadow-xl:hover {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.hover\\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Display utilities */
.hidden {
    display: none;
}

.block {
    display: block;
}

/* Position utilities */
.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.top-0 {
    top: 0px;
}

.left-0 {
    left: 0px;
}

.right-0 {
    right: 0px;
}

.z-50 {
    z-index: 50;
}

/* Width utilities */
.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-10 {
    width: 2.5rem;
}

.w-16 {
    width: 4rem;
}

/* Height utilities */
.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-14 {
    height: 3.5rem;
}

.h-16 {
    height: 4rem;
}

/* Object utilities */
.object-contain {
    object-fit: contain;
}

.object-cover {
    object-fit: cover;
}

/* Transform utilities */
.translate-y-0 {
    transform: translateY(0px);
}

/* Opacity utilities */
.opacity-0 {
    opacity: 0;
}

.opacity-90 {
    opacity: 0.9;
}

/* Overflow utilities */
.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Animation utilities */
.animate-in {
    animation-name: enter;
    animation-duration: 0.2s;
}

.slide-in-from-top {
    animation-name: slideInFromTop;
}

@keyframes enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Reveal animation active state */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-100 {
    transition-delay: 0.1s;
}

.reveal.delay-200 {
    transition-delay: 0.2s;
}

.reveal.delay-300 {
    transition-delay: 0.3s;
}

.reveal.delay-400 {
    transition-delay: 0.4s;
}

.reveal.delay-450 {
    transition-delay: 0.45s;
}

.reveal-left {
    transform: translateX(-2rem);
}

.reveal-right {
    transform: translateX(2rem);
}

.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Testimonials & Product Boxes Mobile Fix (up to 480px) */
@media screen and (max-width: 480px) {
    /* Prevent horizontal padding overflow on section */
    section.bg-eagle-dark.section-padding {
        padding: 20px 12px !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Adjust container padding to prevent text from touching navigation arrows */
    .max-w-5xl.px-12 {
        padding-left: 36px !important;
        padding-right: 36px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* Testimonials Container Align */
    #testimonial-container {
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 0px !important;
    }

    /* Text Alignment and Font Size optimization */
    #testimonial-text {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #testimonial-name {
        text-align: center !important;
        font-size: 15px !important;
        font-weight: bold !important;
        margin-bottom: 4px !important;
    }

    #testimonial-country {
        text-align: center !important;
        font-size: 12px !important;
    }

    /* Image / Avatar Fix */
    #testimonial-flag-img {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    .w-16.h-16.rounded-full {
        width: 50px !important;
        height: 50px !important;
        margin: 0 auto 16px auto !important;
        display: block !important;
    }

    /* Slider / Carousel Button Adjustments */
    #prev-testimonial, #next-testimonial {
        width: 32px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    #prev-testimonial i, #next-testimonial i {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Reveal Header Margin */
    .text-center.mb-16.reveal {
        margin-bottom: 24px !important;
    }

    /* Product Boxes Spacing (Aas pass space) */
    #our-products .card-industrial {
        margin-bottom: 0.5rem !important;
        padding: 1.5rem !important; /* Proper internal padding */
    }
}

/* Stats Section Text Overflow Fix for mobiles (up to 480px) */
@media screen and (max-width: 480px) {
    /* Give cards more horizontal space */
    .bg-subtle .grid-cols-2 {
        gap: 0.5rem !important;
    }
    /* Reduce inner padding ONLY for Stats section */
    .bg-subtle .grid-cols-2 .card-industrial {
        padding: 1rem 0.5rem !important;
    }
    /* Shrink font and remove tracking to fit long words like 'MANUFACTURING' */
    .bg-subtle .grid-cols-2 .card-industrial p.uppercase {
        font-size: 0.65rem !important;
        letter-spacing: 0px !important;
        line-height: 1.3 !important;
        word-break: break-word !important; /* Failsafe */
        hyphens: auto;
    }
}