@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Playfair+Display:wght@400;700&family=Roboto+Condensed:wght@700&display=swap');

:root {
    --brand-orange: #EB690A;
    --brand-dark: #1A1A1A;
    --whatsapp-green: #25D366;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
.brand-font {
    font-family: 'Roboto Condensed', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.glass-nav {
    background: #ffffff;
    border-bottom: 3px solid var(--brand-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.glass-nav img {
    display: block;
    flex-shrink: 0;
}

/* NextGen Expansion - custom card styles */
.nextgen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.nextgen-card {
    position: relative;
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    overflow: hidden;
}

.nextgen-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0 0 0 8px;
    letter-spacing: 0.08em;
}

.nextgen-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-orange);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.nextgen-cta:hover,
.nextgen-cta:focus {
    filter: brightness(0.95);
    transform: translateY(-2px);
    outline: none;
}

.progress {
    height: 8px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--brand-orange), #ff9a3a);
    width: 0%;
    transition: width 0.8s ease;
}

/* Predefined progress widths to avoid inline styles */
.progress-fill.p80 { width: 80%; }
.progress-fill.p65 { width: 65%; }
.progress-fill.p30 { width: 30%; }

/* Small responsive tweaks for NextGen section */
@media (max-width: 900px) {
    .nextgen-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .nextgen-grid {
        grid-template-columns: 1fr;
    }
    .nextgen-card { padding: 1rem; }
}

/* Focus styles for keyboard users */
.nextgen-cta:focus-visible {
    box-shadow: 0 0 0 4px rgba(235, 105, 10, 0.12);
}


/* Enhanced Navigation Hover Effect */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
    font-weight: 600;
    color: #374151;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--brand-orange);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-orange);
}

.nav-link:hover::after {
    width: 100%;
}

.hero-overlay {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.2) 100%);
}

.btn-orange {
    background-color: var(--brand-orange);
    color: white;
    transition: all 0.3s;
    border-radius: 9999px;
    /* Rounded full for professional/modern look */
}

.btn-orange:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
}

.industrial-card {
    border-left: 4px solid #e5e7eb;
    transition: all 0.3s;
    border-radius: 12px;
    overflow: hidden;
}

.industrial-card:hover {
    border-left-color: var(--brand-orange);
    background: #f9fafb;
}

.stat-border {
    border-right: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
    .stat-border {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 1rem;
    }
}

#mobile-menu {
    transition: max-height 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

#mobile-menu.active {
    max-height: 400px;
}

#mobile-menu a {
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
}

#mobile-menu a:hover {
    color: var(--brand-orange);
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--whatsapp-green);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-green 2s infinite;
    opacity: 0.5;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.text-brand-orange {
    color: var(--brand-orange);
}

.bg-brand-orange {
    background-color: var(--brand-orange);
}

.border-brand-orange {
    border-color: var(--brand-orange);
}

/* Gear Loader Styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.spinner-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.gear-spin {
    animation: spin-clockwise 4s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.gear-spin-reverse {
    animation: spin-counter-clockwise 4s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.gear-common {
    position: absolute;
}

/* Big Gear */
.gear-1 {
    width: 80px;
    height: 80px;
    top: 35px;
    left: 35px;
    z-index: 10;
    color: var(--brand-orange);
}

/* Small Top-Left - Moved inward */
.gear-2 {
    width: 50px;
    height: 50px;
    top: 8px;
    left: 8px;
    color: var(--brand-dark);
    opacity: 0.9;
    animation-duration: 2.5s;
}

/* Small Bottom-Right - Moved inward */
.gear-3 {
    width: 50px;
    height: 50px;
    bottom: 8px;
    right: 8px;
    color: var(--brand-dark);
    opacity: 0.9;
    animation-duration: 2.5s;
}

.loader-text {
    margin-top: 1rem;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Text Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Gear Animation Keyframes */
@keyframes spin-clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-counter-clockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

iframe {
    border: none;
}