/* ============================================
   ASAP Towing V2 - Global Styles
   ============================================ */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600;700&display=swap');

/* CSS Variables - Trucking-optimized palette */
:root {
    --primary-gradient-start: #071f15;
    --primary-gradient-end: #093028;
    --btn-gradient-start: #134E5E;
    --btn-gradient-mid: #71B280;
    --btn-cta-start: #EB3349;
    --btn-cta-mid: #F45C43;
    --header-bg: #0a0f0d;
    --text-white: #ffffff;
    --text-light: #f0f4f2;
    --accent-green: #71B280;
    --accent-green-hover: #5fa876;
    --accent-amber: #e8a838;
    --card-bg: rgba(0, 0, 0, 0.35);
    --card-border: rgba(113, 178, 128, 0.25);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #0f1412 0%, #1a221e 50%, #141a17 100%);
    min-height: 100vh;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Header Styles
   ============================================ */
.main-header {
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white) !important;
}

.navbar-brand span {
    color: var(--accent-green);
}

.nav-link {
    color: var(--text-white) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--accent-green) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* ============================================
   🔥 DROPDOWN MENU - PREMIUM EDITION
   ============================================ */
/* ============================================
   🔽 DROPDOWN TOGGLE - CUSTOM ARROW
   ============================================ */

/* Remove Bootstrap default arrow */
.dropdown-toggle::after {
    display: none !important;
}

/* Custom dropdown indicator */
.nav-link.dropdown-toggle {
    position: relative;
    padding-right: 28px !important;
}

/* Custom arrow icon */
.nav-link.dropdown-toggle::before {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-green);
    border-bottom: 2px solid var(--accent-green);
    transform: translateY(-70%) rotate(45deg);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Arrow animation on hover */
.nav-link.dropdown-toggle:hover::before {
    border-color: #fff;
    transform: translateY(-50%) rotate(45deg);
}

/* Arrow rotation when dropdown is open */
.nav-item.dropdown.show .nav-link.dropdown-toggle::before {
    transform: translateY(-30%) rotate(-135deg);
    border-color: var(--accent-green);
}

/* Glow effect on open */
.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    content: '';
    position: absolute;
    right: 6px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
    filter: blur(4px);
    display: block !important;
}

.dropdown-menu {
    background: #000;
    border: 1px solid rgba(113, 178, 128, 0.3);
    border-radius: 16px;
    padding: 8px;
    margin-top: 15px;
    min-width: 240px;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(113, 178, 128, 0.1),
        0 0 30px rgba(113, 178, 128, 0.1);
    animation: dropdownReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

/* Glow border effect */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--accent-green), 
        transparent
    );
    opacity: 0.8;
}

@keyframes dropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Nav tire icon - SVG inherits color */
.nav-icon-tire,
.hero-feature-icon-tire {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.15em;
}

.nav-icon-tire {
    width: 18px;
    height: 18px;
}

.hero-features-links .hero-feature-icon-tire {
    width: 1rem;
    height: 1rem;
    margin-right: 0.35rem;
    vertical-align: -0.2em;
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 20px;
    margin: 4px 0;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    letter-spacing: 0.5px;
}

/* Animated background on hover */
.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(113, 178, 128, 0.2) 0%, 
        rgba(19, 78, 94, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

/* Glow line on left */
.dropdown-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-green), #134E5E);
    border-radius: 3px;
    transition: height 0.3s ease;
    box-shadow: 0 0 10px var(--accent-green);
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #fff;
    background: transparent;
    padding-left: 28px;
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item:hover::after {
    height: 60%;
}

/* Premium nav icons: Services & Locations (a11y: use aria-hidden on decorative icons) */
.dropdown-item i {
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(113, 178, 128, 0.18);
    border-radius: 8px;
    color: var(--accent-green);
    transition: all 0.3s ease;
}

.dropdown-item:hover i {
    background: var(--accent-green);
    color: #000;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(113, 178, 128, 0.5);
}

/* ============================================
   🚀 BUTTONS - ULTIMATE EDITION (Compact)
   ============================================ */

/* === PRIMARY CTA BUTTON (Red/Orange) === */
.btn-cta {
    --btn-glow: rgba(235, 51, 73, 0.6);
    --btn-glow-hover: rgba(235, 51, 73, 0.8);
    
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #EB3349 0%, #F45C43 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 0 0 0 var(--btn-glow),
        0 8px 25px -8px var(--btn-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Animated shine effect */
.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 60%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    z-index: 2;
}

/* Pulse ring effect */
.btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--btn-glow);
    border-radius: 12px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: -1;
    animation: btnPulseRing 2s ease-out infinite;
}

@keyframes btnPulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 25px var(--btn-glow-hover),
        0 15px 35px -12px var(--btn-glow-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}

.btn-cta:hover::before {
    left: 150%;
}

.btn-cta:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 
        0 0 15px var(--btn-glow),
        0 8px 20px -8px var(--btn-glow);
}

/* Phone icon special animation */
.btn-cta i.fa-phone-alt {
    position: relative;
    animation: phoneFloat 3s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-2px) rotate(5deg); }
}

.btn-cta:hover i.fa-phone-alt {
    animation: phoneShake 0.4s ease-in-out infinite;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(-15deg); }
    40% { transform: rotate(15deg); }
    60% { transform: rotate(-10deg); }
    80% { transform: rotate(10deg); }
}

/* === SECONDARY BUTTON (Green Gradient) === */
.btn-grad {
    --btn-glow: rgba(113, 178, 128, 0.5);
    --btn-glow-hover: rgba(113, 178, 128, 0.7);
    
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: linear-gradient(135deg, #134E5E 0%, #71B280 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 8px 25px -8px var(--btn-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

/* Floating particles effect */
.btn-grad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

/* Border glow animation */
.btn-grad::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-green), #134E5E, var(--accent-green));
    background-size: 400% 400%;
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-grad:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 25px var(--btn-glow-hover),
        0 15px 35px -12px var(--btn-glow-hover),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.btn-grad:hover::before {
    opacity: 1;
}

.btn-grad:hover::after {
    opacity: 1;
}

.btn-grad:active {
    transform: translateY(-1px) scale(1);
}

.btn-grad i {
    transition: transform 0.3s ease;
}

.btn-grad:hover i {
    transform: translateX(3px);
}

/* === SMALL BUTTON VARIANTS === */
.btn-cta-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    gap: 8px;
}

.btn-cta-sm::after {
    display: none;
}

.btn-grad-sm {
    padding: 10px 20px;
    font-size: 0.75rem;
    border-radius: 8px;
    letter-spacing: 0.5px;
    gap: 8px;
}

/* === LARGE BUTTON VARIANTS === */
.btn-cta-lg {
    padding: 18px 44px;
    font-size: 0.95rem;
    border-radius: 14px;
    gap: 12px;
}

.btn-grad-lg {
    padding: 18px 44px;
    font-size: 0.95rem;
    border-radius: 14px;
    gap: 12px;
}

/* === CTA with Phone Layout === */
.btn-cta span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-cta small {
    font-size: 0.6rem;
    opacity: 0.9;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-cta strong {
    font-size: 0.9rem;
    font-weight: 800;
}

/* === OUTLINE BUTTON === */
.btn-outline {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-green);
    background: transparent;
    border: 2px solid var(--accent-green);
    border-radius: 12px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--accent-green);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    z-index: -1;
}

.btn-outline:hover {
    color: #000;
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 
        0 0 25px rgba(113, 178, 128, 0.4),
        0 8px 25px -8px rgba(113, 178, 128, 0.5);
    text-decoration: none;
}

.btn-outline:hover::before {
    width: 350px;
    height: 350px;
}

/* === GHOST BUTTON === */
.btn-ghost {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

/* === ICON BUTTON === */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

.btn-icon::after {
    border-radius: 50%;
}

.btn-icon i {
    font-size: 1.1rem;
}

/* ============================================
   📱 RESPONSIVE BUTTONS
   ============================================ */

@media (max-width: 991.98px) {
    .btn-cta,
    .btn-grad {
        padding: 13px 30px;
        font-size: 0.8rem;
    }
    
    .btn-cta-lg,
    .btn-grad-lg {
        padding: 16px 38px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .btn-cta,
    .btn-grad {
        padding: 12px 26px;
        font-size: 0.8rem;
        width: 100%;
    }
    
    .btn-cta::after {
        display: none;
    }
    
    .btn-cta-sm,
    .btn-grad-sm {
        padding: 9px 18px;
        font-size: 0.7rem;
        width: auto;
    }
    
    .btn-outline,
    .btn-ghost {
        padding: 10px 24px;
        font-size: 0.8rem;
    }
    
    .btn-cta strong {
        font-size: 0.85rem;
    }
    
    .btn-cta small {
        font-size: 0.55rem;
    }
}

@media (max-width: 575.98px) {
    .btn-cta,
    .btn-grad {
        padding: 11px 22px;
        font-size: 0.75rem;
        border-radius: 10px;
    }
    
    .btn-cta-lg,
    .btn-grad-lg {
        padding: 13px 30px;
        font-size: 0.85rem;
    }
    
    .btn-cta strong {
        font-size: 0.8rem;
    }
}

/* ============================================
   ⚡ BUTTON STATES
   ============================================ */

/* Loading State */
.btn-loading {
    pointer-events: none;
    position: relative;
}

.btn-loading span,
.btn-loading i {
    opacity: 0;
}

.btn-loading::after {
    content: '' !important;
    position: absolute !important;
    width: 18px !important;
    height: 18px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top-color: #fff !important;
    border-radius: 50% !important;
    animation: btnSpinner 0.7s linear infinite !important;
    opacity: 1 !important;
}

@keyframes btnSpinner {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Disabled State */
.btn-cta:disabled,
.btn-grad:disabled,
.btn-outline:disabled,
.btn-ghost:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    animation: none !important;
}

.btn-cta:disabled::before,
.btn-cta:disabled::after,
.btn-grad:disabled::before,
.btn-grad:disabled::after {
    display: none;
}

/* ============================================
   ✨ SPECIAL EFFECTS
   ============================================ */

/* Magnetic effect on hover */
.btn-magnetic {
    transition: transform 0.2s ease-out;
}

/* Success state */
.btn-success {
    background: linear-gradient(135deg, #11998e, #38ef7d) !important;
}

/* Danger state */
.btn-danger {
    background: linear-gradient(135deg, #cb2d3e, #ef473a) !important;
}
/* ============================================
   Off-Canvas Menu Styles - NEON EDITION
   ============================================ */

.offcanvas {
    background: linear-gradient(180deg, #000000 0%, #0a1f1a 100%) !important;
    max-width: 320px;
    border-left: 1px solid rgba(113, 178, 128, 0.3) !important;
    box-shadow: 
        -5px 0 30px rgba(0, 0, 0, 0.8),
        -2px 0 15px rgba(113, 178, 128, 0.15),
        inset 1px 0 0 rgba(113, 178, 128, 0.2);
}

/* Neon glow line on left edge */
.offcanvas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--accent-green) 15%,
        var(--accent-green) 85%,
        transparent 100%
    );
    box-shadow: 
        0 0 10px var(--accent-green),
        0 0 20px var(--accent-green),
        0 0 40px rgba(113, 178, 128, 0.5);
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 
            0 0 10px var(--accent-green),
            0 0 20px var(--accent-green),
            0 0 40px rgba(113, 178, 128, 0.5);
    }
    50% {
        opacity: 0.7;
        box-shadow: 
            0 0 5px var(--accent-green),
            0 0 10px var(--accent-green),
            0 0 20px rgba(113, 178, 128, 0.3);
    }
}

/* Subtle animated background pattern */
.offcanvas::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(113, 178, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(19, 78, 94, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header */
.offcanvas-header {
    border-bottom: 1px solid rgba(113, 178, 128, 0.2);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.5rem;
}

/* Header bottom glow */
.offcanvas-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-green),
        transparent
    );
    box-shadow: 0 0 10px var(--accent-green);
}

.offcanvas-title {
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 800;
}

.offcanvas-title span {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(113, 178, 128, 0.5);
}

/* Close Button - Neon Style */
.offcanvas .btn-close {
    filter: none;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    opacity: 1;
    position: relative;
    transition: all 0.3s ease;
}

.offcanvas .btn-close::before,
.offcanvas .btn-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
}

.offcanvas .btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.offcanvas .btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.offcanvas .btn-close:hover {
    border-color: #EB3349;
    background: rgba(235, 51, 73, 0.1);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(235, 51, 73, 0.4);
}

.offcanvas .btn-close:hover::before,
.offcanvas .btn-close:hover::after {
    background: #EB3349;
}

/* Body */
.offcanvas-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    padding: 0;
}

/* Navigation */
.offcanvas-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
    padding: 1.5rem 0;
}

.offcanvas-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem !important;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin: 2px 0;
}

/* Nav link hover/active state */
.offcanvas-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(113, 178, 128, 0.15), transparent);
    transition: width 0.3s ease;
}

.offcanvas-nav .nav-link:hover,
.offcanvas-nav .nav-link:focus {
    color: #fff;
    border-left-color: var(--accent-green);
    padding-left: 2rem !important;
}

.offcanvas-nav .nav-link:hover::before {
    width: 100%;
}

/* Active link */
.offcanvas-nav .nav-link.active {
    color: var(--accent-green);
    border-left-color: var(--accent-green);
    background: linear-gradient(90deg, rgba(113, 178, 128, 0.1), transparent);
    text-shadow: 0 0 10px rgba(113, 178, 128, 0.5);
}

/* Nav link icon – premium match for dropdown (a11y: aria-hidden on decorative icons) */
.offcanvas-nav .nav-link i {
    margin-right: 12px;
    width: 26px;
    min-width: 26px;
    height: 26px;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(113, 178, 128, 0.18);
    border-radius: 6px;
    color: var(--accent-green);
    transition: all 0.3s ease;
}

.offcanvas-nav .nav-link:hover i {
    transform: scale(1.08);
    background: rgba(113, 178, 128, 0.3);
}

/* Off-canvas submenu trigger (Services / Service Areas) */
.offcanvas-nav .nav-group-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    margin: 2px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.offcanvas-nav .nav-group-trigger:hover {
    color: #fff;
    border-left-color: var(--accent-green);
}

.offcanvas-nav .nav-group-trigger .nav-chevron {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.offcanvas-nav .nav-group-trigger[aria-expanded="true"] .nav-chevron {
    transform: rotate(180deg);
    color: var(--accent-green);
}

/* Off-canvas submenu (collapsible links) */
.offcanvas-nav .nav-submenu {
    padding-left: 1.5rem;
    border-left: 2px solid rgba(113, 178, 128, 0.3);
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.offcanvas-nav .nav-submenu .nav-link {
    padding: 0.6rem 1rem !important;
    font-size: 1rem;
}

.offcanvas-nav .nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
    border: none;
}

.offcanvas-nav .nav-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1.5rem;
    margin-top: 0.5rem;
}

/* Footer */
.offcanvas-footer {
    border-top: 1px solid rgba(113, 178, 128, 0.2);
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
}

/* Footer top glow */
.offcanvas-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(113, 178, 128, 0.5),
        transparent
    );
}

.offcanvas-footer .business-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.offcanvas-footer .business-info i {
    color: var(--accent-green);
    margin-right: 10px;
    font-size: 0.9rem;
}

.offcanvas-footer .business-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Phone Link - Neon CTA */
.offcanvas-footer .phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, rgba(113, 178, 128, 0.2), rgba(19, 78, 94, 0.2));
    border: 1px solid var(--accent-green);
    padding: 12px 24px;
    border-radius: 10px;
    margin-top: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.offcanvas-footer .phone-link:hover {
    background: var(--accent-green);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 
        0 5px 20px rgba(113, 178, 128, 0.4),
        0 0 30px rgba(113, 178, 128, 0.3);
}

.offcanvas-footer .phone-link i {
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(0deg); }
}

/* ============================================
   Mobile Menu Toggle - NEON EDITION
   ============================================ */

.navbar-toggler {
    border: 2px solid var(--accent-green);
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
    background: rgba(113, 178, 128, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-toggler::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(113, 178, 128, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.navbar-toggler:hover::before {
    left: 100%;
}

.navbar-toggler:hover {
    background: rgba(113, 178, 128, 0.2);
    box-shadow: 
        0 0 15px rgba(113, 178, 128, 0.4),
        inset 0 0 10px rgba(113, 178, 128, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 
        0 0 0 3px rgba(113, 178, 128, 0.25),
        0 0 15px rgba(113, 178, 128, 0.3);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2371B280' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    transform: scale(1.1);
}

/* Animated hamburger when open */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none;
}

/* ============================================
   Offcanvas Backdrop Enhancement
   ============================================ */

.offcanvas-backdrop.show {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.7);
}

/* ============================================
   Logo in Offcanvas
   ============================================ */

.offcanvas-logo {
    display: block;
}

.offcanvas-logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(113, 178, 128, 0.3));
    transition: filter 0.3s ease;
}

.offcanvas-logo:hover .offcanvas-logo-img {
    filter: drop-shadow(0 0 20px rgba(113, 178, 128, 0.5));
}
/* ============================================
   Area Modal (Service Areas) - hidden by default
   ============================================ */
.area-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1.5rem;
}

.area-modal-overlay.active {
    display: flex;
}

.area-modal {
    max-width: 960px;
    width: 100%;
    background: linear-gradient(180deg, rgba(10,10,10,0.95), rgba(0,0,0,0.9));
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    color: var(--text-white);
}

.area-modal-header h3 {
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.area-modal-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
}
/* ============================================
   HERO SECTION - Urgent Responder + Service Tabs
   Clean, Mobile-First, Conversion-Focused
   ============================================ */

/* CSS Variables for Hero */
:root {
    --hero-accent: #71B280;
    --hero-accent-dark: #5a9a69;
    --hero-danger: #EB3349;
    --hero-dark: #0a0a0a;
    --hero-transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE HERO STRUCTURE (Mobile First)
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    background: var(--hero-dark);
    overflow: hidden;
}

/* ============================================
   TOP URGENCY BAR
   ============================================ */
.hero-urgency-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-bottom: 1px solid rgba(113, 178, 128, 0.3);
    flex-shrink: 0;
    z-index: 10;
}

.urgency-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: var(--hero-danger);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--hero-danger);
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.live-text {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.urgency-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--hero-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.urgency-phone:hover {
    color: #fff;
}

.urgency-phone i {
    font-size: 0.75rem;
}

/* ============================================
   MAIN HERO LAYOUT
   ============================================ */
.hero-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

/* ============================================
   IMAGE COLUMN (Mobile: Compact)
   ============================================ */
.hero-image-col {
    position: relative;
    width: 100%;
    height: 22vh;
    height: 22svh;
    min-height: 140px;
    max-height: 180px;
    flex-shrink: 0;
    overflow: hidden;
}

.hero-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s var(--hero-transition);
}

.hero-image.active {
    opacity: 1;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.1) 0%,
        rgba(10, 10, 10, 0.5) 100%
    );
}

/* Navigation Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: var(--hero-accent);
    border-color: var(--hero-accent);
    color: #000;
}

.hero-arrow-prev { left: 10px; }
.hero-arrow-next { right: 10px; }

/* ============================================
   CONTENT COLUMN
   ============================================ */
.hero-content-col {
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--hero-dark);
    min-height: 0;
    overflow: hidden;
}

/* ============================================
   SERVICE TABS (Mobile: Compact)
   ============================================ */
.hero-tabs {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.hero-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.hero-tab i {
    font-size: 0.85rem;
}

.hero-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.hero-tab.active {
    color: var(--hero-accent);
}

/* Tab Indicator */
.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25%;
    height: 2px;
    background: var(--hero-accent);
    transition: transform 0.4s var(--hero-transition);
    border-radius: 2px 2px 0 0;
}

/* ============================================
   CONTENT PANELS (Mobile: No Scroll)
   ============================================ */
.hero-panels {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.hero-panel {
    position: absolute;
    inset: 0;
    padding: 1rem 1rem 0.75rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 
        opacity 0.5s var(--hero-transition),
        visibility 0.5s var(--hero-transition),
        transform 0.5s var(--hero-transition);
    overflow: hidden; /* NO SCROLL - everything must fit */
}

.hero-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 1;
}

/* Badge (Mobile: Compact) */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(235, 51, 73, 0.15);
    border: 1px solid rgba(235, 51, 73, 0.4);
    padding: 4px 10px;
    border-radius: 50px;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    align-self: flex-start;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--hero-danger);
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

.badge-repair,
.badge-roadside {
    background: rgba(113, 178, 128, 0.15);
    border-color: rgba(113, 178, 128, 0.4);
}

.badge-repair i,
.badge-roadside i {
    color: var(--hero-accent);
    font-size: 0.55rem;
}

/* Title (Mobile: Compact) */
.hero-title {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    flex-shrink: 0;
}

.text-accent {
    display: block;
    color: var(--hero-accent);
}

/* Subtitle (Mobile: Compact - 2 lines max) */
.hero-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.6rem;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Features (Mobile: Compact) */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem;
    flex-shrink: 0;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(113, 178, 128, 0.1);
    border: 1px solid rgba(113, 178, 128, 0.3);
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features li i {
    color: var(--hero-accent);
    font-size: 0.55rem;
}

/* Overview panel: service links list */
.hero-features-links {
    flex-direction: column;
    gap: 6px;
}

.hero-features-links li {
    padding: 6px 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.hero-features-links li a {
    color: rgba(255, 255, 255, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.hero-features-links li a:hover {
    color: var(--hero-accent);
}

.hero-features-links li a i {
    color: var(--hero-accent);
    font-size: 0.75rem;
}

.hero-location-summary {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-location-summary i {
    color: var(--hero-accent);
    flex-shrink: 0;
}

/* Overview tab: hide urgency bar and stats bar */
.hero.hero-overview-active .hero-urgency-bar,
.hero.hero-overview-active .hero-stats-bar {
    display: none !important;
}

/* Overview panel: allow scroll so CTAs are visible on small viewports */
.hero-panel.hero-panel-overview {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
    .hero-panel.hero-panel-overview {
        padding: 0.75rem 1rem 1rem;
    }
    .hero-panel.hero-panel-overview .hero-title {
        margin-bottom: 0.5rem;
    }
    .hero-panel.hero-panel-overview .hero-subtitle {
        margin-bottom: 0.5rem;
    }
    .hero-panel.hero-panel-overview .hero-features-links {
        margin-bottom: 0.5rem;
    }
    .hero-panel.hero-panel-overview .hero-location-summary {
        margin: 0.25rem 0 0.5rem;
    }
    .hero-panel.hero-panel-overview .hero-cta {
        margin-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
}

/* CTA Buttons (Mobile: Always Visible) */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--hero-danger) 0%, #c62a3e 100%);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 51, 73, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(235, 51, 73, 0.4);
}

.btn-primary i {
    font-size: 1rem;
}

.btn-primary span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-primary small {
    font-size: 0.6rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-primary strong {
    font-size: 0.9rem;
}

.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--hero-accent);
    border-radius: 8px;
    color: var(--hero-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--hero-accent);
    color: #000;
}

/* ============================================
   BOTTOM STATS BAR (Mobile: Compact)
   ============================================ */
.hero-stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border-top: 1px solid rgba(113, 178, 128, 0.3);
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.hero-stats-bar:hover {
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.stat {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
}

.stat i {
    color: var(--hero-accent);
    font-size: 0.8rem;
}

.stat-value {
    font-weight: 800;
    font-size: 0.75rem;
}

.stat-label {
    display: none;
}

/* Hero Reviews - Google Stars (visible on PC + mobile) */
.hero-reviews {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50px;
    border: 1px solid rgba(255, 193, 7, 0.4);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.hero-reviews-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero-reviews-stars i {
    color: #ffc107;
    font-size: 0.85rem;
}

.hero-reviews-rating {
    font-weight: 800;
    font-size: 0.95rem;
    color: #fff;
}

.hero-reviews-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Show stat-label for Google Reviews stat (PC + mobile) */
.hero-stats-bar .stat.stat-reviews .stat-label {
    display: inline;
    margin-left: 2px;
}

.hero-stats-bar .stat.stat-reviews {
    gap: 4px;
}

.hero-reviews a {
    color: inherit;
    text-decoration: none;
}

.hero-reviews a:hover {
    opacity: 0.9;
}

/* Hero reviews - mobile friendly (visible on both PC & phone hero) */
@media (max-width: 575.98px) {
    .hero-reviews {
        padding: 5px 10px;
        gap: 4px;
        margin-bottom: 0.6rem;
    }
    .hero-reviews-stars i {
        font-size: 0.75rem;
    }
    .hero-reviews-rating {
        font-size: 0.85rem;
    }
    .hero-reviews-label {
        font-size: 0.6rem;
    }
    .hero-stats-bar .stat.stat-reviews .hero-reviews-stars i {
        font-size: 0.65rem;
    }
}

/* Tire icon in stats bar */
.hero-stats-bar .stat-tire-icon {
    width: 0.9rem;
    height: 0.9rem;
    display: inline-block;
    vertical-align: -0.1em;
}

.stat-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   SCROLL INDICATOR - Desktop Only
   ============================================ */
.hero-scroll-hint {
    display: none;
}

/* ============================================
   SMALL MOBILE (375px and below)
   ============================================ */
@media (max-width: 375px) {
    .hero-urgency-bar {
        padding: 6px 12px;
    }

    .live-text {
        font-size: 0.6rem;
    }

    .urgency-phone {
        font-size: 0.75rem;
    }

    .hero-image-col {
        height: 18vh;
        height: 18svh;
        min-height: 110px;
        max-height: 140px;
    }

    .hero-tab {
        padding: 8px 5px;
        font-size: 0.6rem;
        gap: 4px;
    }

    .hero-tab i {
        font-size: 0.75rem;
    }

    .hero-panel {
        padding: 0.75rem 0.85rem 0.6rem;
    }

    .hero-badge {
        padding: 3px 8px;
        font-size: 0.55rem;
        margin-bottom: 0.4rem;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.35rem;
    }

    .hero-subtitle {
        font-size: 0.68rem;
        margin-bottom: 0.5rem;
    }

    .hero-features {
        gap: 4px;
        margin-bottom: 0.6rem;
    }

    .hero-features li {
        padding: 3px 6px;
        font-size: 0.58rem;
    }

    .hero-cta {
        gap: 6px;
    }

    .btn-primary {
        padding: 10px 16px;
    }

    .btn-primary small {
        font-size: 0.55rem;
    }

    .btn-primary strong {
        font-size: 0.8rem;
    }

    .btn-outline {
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .hero-stats-bar {
        padding: 10px 12px;
        gap: 10px;
    }

    .stat-value {
        font-size: 0.7rem;
    }

    .stat i {
        font-size: 0.7rem;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (320px)
   ============================================ */
@media (max-width: 320px) {
    .hero-image-col {
        height: 15vh;
        height: 15svh;
        min-height: 90px;
        max-height: 120px;
    }

    .hero-title {
        font-size: 1.15rem;
    }

    .hero-subtitle {
        font-size: 0.62rem;
        -webkit-line-clamp: 2;
    }

    .hero-features li {
        padding: 2px 5px;
        font-size: 0.55rem;
    }

    .btn-primary {
        padding: 9px 14px;
    }

    .btn-outline {
        padding: 7px 14px;
        font-size: 0.65rem;
    }
}

/* ============================================
   SHORT PHONES (height < 650px)
   ============================================ */
@media (max-height: 650px) and (max-width: 767px) {
    .hero-image-col {
        height: 15vh;
        height: 15svh;
        min-height: 80px;
        max-height: 120px;
    }

    .hero-tab {
        padding: 8px 6px;
    }

    .hero-panel {
        padding: 0.6rem 1rem 0.5rem;
    }

    .hero-badge {
        margin-bottom: 0.35rem;
    }

    .hero-title {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
        -webkit-line-clamp: 2;
    }

    .hero-features {
        margin-bottom: 0.5rem;
    }

    .hero-stats-bar {
        padding: 10px;
    }
}

/* ============================================
   TALL PHONES (height > 750px)
   ============================================ */
@media (min-height: 750px) and (max-width: 767px) {
    .hero-image-col {
        height: 25vh;
        height: 25svh;
        min-height: 160px;
        max-height: 220px;
    }

    .hero-panel {
        padding: 1.25rem 1.25rem 1rem;
    }

    .hero-badge {
        margin-bottom: 0.6rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        -webkit-line-clamp: 3;
    }

    .hero-features {
        margin-bottom: 1rem;
    }

    .hero-features li {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .hero-cta {
        gap: 10px;
    }

    .btn-primary {
        padding: 14px 22px;
    }

    .btn-primary strong {
        font-size: 1rem;
    }

    .btn-outline {
        padding: 12px 22px;
        font-size: 0.8rem;
    }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        height: auto;
    }

    .hero-image-col {
        height: 30vh;
        height: 30svh;
        min-height: 120px;
    }

    .hero-subtitle,
    .hero-features {
        display: none;
    }

    .hero-panel {
        padding: 0.75rem 1rem;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .hero-cta {
        flex-direction: row;
    }

    .btn-primary,
    .btn-outline {
        flex: 1;
    }
}

/* ============================================
   TABLET STYLES (768px+)
   ============================================ */
@media (min-width: 768px) {
    .hero-urgency-bar {
        padding: 12px 40px;
    }

    .live-text {
        font-size: 0.9rem;
    }

    .urgency-phone {
        font-size: 1.1rem;
    }

    .hero-image-col {
        height: 35vh;
        min-height: 250px;
        max-height: 350px;
    }

    .hero-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .hero-arrow-prev { left: 20px; }
    .hero-arrow-next { right: 20px; }

    .hero-tab {
        padding: 14px 20px;
        font-size: 0.8rem;
        gap: 8px;
    }

    .hero-tab i {
        font-size: 1rem;
    }

    .hero-panel {
        padding: 1.75rem 2rem 1.5rem;
        overflow: visible;
    }

    .hero-badge {
        padding: 6px 14px;
        font-size: 0.7rem;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 2.25rem;
        margin-bottom: 0.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
        -webkit-line-clamp: unset;
        display: block;
    }

    .hero-features {
        gap: 8px;
        margin-bottom: 1.25rem;
    }

    .hero-features li {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .hero-cta {
        flex-direction: row;
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        flex: 1;
    }

    .btn-primary {
        padding: 14px 24px;
    }

    .btn-primary strong {
        font-size: 1rem;
    }

    .btn-outline {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .stat-label {
        display: block;
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.6);
    }

    .hero-stats-bar {
        gap: 25px;
        padding: 18px 40px;
    }

    .stat {
        gap: 8px;
    }

    .stat-value {
        font-size: 0.95rem;
    }
}

/* ============================================
   DESKTOP STYLES (1024px+) - FULL SCREEN
   ============================================ */
@media (min-width: 1024px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        height: 100vh;
        height: 100dvh;
        max-height: none;
    }

    .hero-urgency-bar {
        padding: 12px 50px;
    }

    .hero-main {
        flex-direction: row;
        flex: 1;
    }

    /* Image takes left 50% */
    .hero-image-col {
        width: 50%;
        height: 100%;
        min-height: unset;
        max-height: unset;
    }

    .hero-image-overlay {
        background: linear-gradient(
            90deg,
            rgba(10, 10, 10, 0) 0%,
            rgba(10, 10, 10, 0.3) 70%,
            rgba(10, 10, 10, 0.9) 100%
        );
    }

    .hero-arrow {
        width: 54px;
        height: 54px;
        font-size: 1.1rem;
    }

    .hero-arrow-prev { left: 25px; }
    .hero-arrow-next { right: 25px; }

    /* Content takes right 50% */
    .hero-content-col {
        width: 50%;
        border-left: 3px solid var(--hero-accent);
    }

    .hero-tabs {
        border-bottom-width: 2px;
    }

    .hero-tab {
        padding: 18px 24px;
        font-size: 0.85rem;
    }

    .hero-panel {
        padding: 2.5rem 3rem;
        justify-content: center;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 8px 18px;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        max-width: 480px;
    }

    .hero-features {
        gap: 10px;
        margin-bottom: 1.5rem;
    }

    .hero-features li {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-cta {
        flex-direction: row;
        gap: 15px;
        margin-top: 0;
    }

    .btn-primary {
        padding: 16px 28px;
        flex: unset;
    }

    .btn-primary strong {
        font-size: 1.1rem;
    }

    .btn-outline {
        padding: 14px 28px;
        font-size: 0.9rem;
        flex: unset;
    }

    .hero-stats-bar {
        gap: 50px;
        padding: 22px 60px;
    }

    .stat {
        gap: 12px;
    }

    .stat i {
        font-size: 1.2rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Scroll Indicator */
    .hero-scroll-hint {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        position: absolute;
        bottom: 90px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
        color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .hero-scroll-hint:hover {
        color: var(--hero-accent);
    }

    .hero-scroll-hint span {
        font-size: 0.65rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 600;
    }

    .scroll-arrow {
        width: 26px;
        height: 44px;
        border: 2px solid currentColor;
        border-radius: 13px;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 6px;
    }

    .scroll-arrow i {
        font-size: 0.75rem;
        animation: scrollBounce 2s ease-in-out infinite;
    }

    @keyframes scrollBounce {
        0%, 100% {
            transform: translateY(-5px);
            opacity: 0.5;
        }
        50% {
            transform: translateY(5px);
            opacity: 1;
        }
    }
}

/* ============================================
   LARGE DESKTOP (1200px+)
   ============================================ */
@media (min-width: 1200px) {
    .hero-panel {
        padding: 3rem 4rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 520px;
    }

    .hero-features li {
        font-size: 0.9rem;
    }
}

/* ============================================
   ULTRA WIDE (1400px+)
   ============================================ */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 560px;
    }

    .hero-cta {
        gap: 20px;
    }

    .btn-primary {
        padding: 18px 32px;
    }

    .btn-primary strong {
        font-size: 1.2rem;
    }

    .btn-outline {
        padding: 16px 32px;
        font-size: 0.95rem;
    }
}

/* ============================================
   REDUCED MOTION (Accessibility)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .live-pulse,
    .badge-pulse,
    .scroll-arrow i {
        animation: none;
    }

    .hero-image,
    .hero-panel,
    .tab-indicator,
    .hero-arrow,
    .btn-primary,
    .btn-outline {
        transition-duration: 0.01ms;
    }
}

/* ============================================
   Section Color System - Logo Inspired
   ============================================ */

/* Standard sections - Clean dark */
.section {
    padding: 80px 0;
    background: transparent; /* Let body show through */
}

/* Light sections - Subtle white tint */
.section-light {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Green sections - Your logo green (use sparingly for key sections) */
.section-green {
    background: linear-gradient(
        135deg,
        rgba(9, 48, 40, 0.9) 0%,   /* Your existing green */
        rgba(35, 122, 87, 0.7) 50%,
        rgba(9, 48, 40, 0.9) 100%
    );
}

/* Red accent sections - Emergency/CTA sections */
.section-red {
    background: linear-gradient(
        135deg,
        rgba(20, 15, 15, 0.95) 0%,    /* Dark base */
        rgba(235, 51, 73, 0.08) 50%,  /* Subtle red tint */
        rgba(20, 15, 15, 0.95) 100%
    );
    border-top: 2px solid rgba(235, 51, 73, 0.2);
}

/* Services section - Clean and professional */
.section-services {
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(113, 178, 128, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(235, 51, 73, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   Feature Boxes (24/7 Dispatch, Rotator, etc.)
   ============================================ */
.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--accent-green), var(--btn-gradient-start));
    transition: height 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    border-color: rgba(113, 178, 128, 0.5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(113, 178, 128, 0.15);
}

.feature-box:hover::before {
    height: 100%;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--text-white);
}

.feature-box h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.feature-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Service Cards - Scroll Triggered Animations
   ============================================ */
.service-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--card-border);
}

.service-card:hover,
.service-card.animate-on-scroll.in-view:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 20px 40px rgba(113, 178, 128, 0.2), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Scroll animation setup */
.service-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.service-card.animate-on-scroll.in-view:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card.animate-on-scroll.in-view:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.animate-on-scroll.in-view:nth-child(3) {
    transition-delay: 0.3s;
}

/* Rest of your existing styles */
.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}
/* ============================================
   Reduced Motion Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card-icon,
    .service-card h3,
    .service-card p {
        animation: fadeInSimple 0.3s ease forwards;
    }
}

@keyframes fadeInSimple {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================
   Alternative: Intersection Observer Animation (More Performance Friendly)
   ============================================ */

/* If you want to trigger animations only when cards come into view */
.service-card.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-card.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.service-card.animate-on-scroll.in-view:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card.animate-on-scroll.in-view:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card.animate-on-scroll.in-view:nth-child(3) {
    transition-delay: 0.3s;
}

/* ============================================
   Scroll to Top Button (Global)
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1050;
    box-shadow: 0 4px 20px rgba(113, 178, 128, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(113, 178, 128, 0.5);
}

/* ============================================
   Footer Styles
   ============================================ */
.main-footer {
    background-color: var(--header-bg);
    padding: 60px 0 0;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-green);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-green);
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--accent-green);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--accent-green);
    margin-right: 10px;
    width: 20px;
}

.footer-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green) !important;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}


/* ============================================
   Header Fixes - Mobile Alignment
   ============================================ */
.main-header .navbar {
    padding: 0.75rem 0;
}

.main-header .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

/* Mobile Button Fixes */
.btn-cta-sm {
    padding: 8px 15px;
    font-size: 0.75rem;
    margin: 0 10px 0 0;
    white-space: nowrap;
}

.navbar-toggler {
    padding: 0.4rem 0.6rem;
    margin: 0;
}

/* Ensure vertical center on mobile */
@media (max-width: 991.98px) {
    .main-header .container {
        min-height: 60px;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* ============================================
   Logo Styles - Global (DODAJ OVO)
   ============================================ */
.header-logo {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.navbar-brand {
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.offcanvas-logo {
    display: block;
}

.offcanvas-logo-img {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Fix header height consistency */
.main-header .navbar {
    padding: 0.5rem 0 !important;
    min-height: 70px;
}

.main-header .container {
    min-height: 60px;
}

@media (max-width: 991.98px) {
    .header-logo {
        height: 75px;
    }
    
    .main-header .navbar {
        min-height: 60px;
    }
}

@media (max-width: 767.98px) {
    .header-logo {
        height: 70px;
        max-width: 150px;
    }
    
    .offcanvas-logo-img {
        height: 40px;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .main-header .navbar {
        min-height: 55px;
    }
}

/* ============================================
   Entrance Animations
   ============================================ */

/* Base state - hidden before animation */
.animate-ready {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animated state - visible */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Hero specific animations */
.hero-content.animate-ready {
    opacity: 0;
    transform: translateX(-60px);
}

.hero-content.animate-in {
    transform: translateX(0) !important;
}

/* Hero stats */
.hero-stats.animate-ready {
    opacity: 0;
    transform: translateY(30px);
}

/* Feature boxes */
.feature-box.animate-ready {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
}

.feature-box.animate-in {
    transform: translateY(0) scale(1) !important;
}

/* Service cards */
.service-card.animate-ready {
    opacity: 0;
    transform: translateY(50px);
}

/* Brand cards */
.brand-card.animate-ready {
    opacity: 0;
    transform: scale(0.8);
}

.brand-card.animate-in {
    transform: scale(1) !important;
}

/* Section titles */
.section-title.animate-ready,
.section-subtitle.animate-ready {
    opacity: 0;
    transform: translateY(20px);
}

/* Column animations for staggered effect */
[class*="col"].animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[class*="col"].animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============================================
   Data Attribute Animations
   ============================================ */

/* Fade from left */
[data-animate="left"].animate-ready {
    transform: translateX(-50px);
}

[data-animate="left"].animate-in {
    transform: translateX(0) !important;
}

/* Fade from right */
[data-animate="right"].animate-ready {
    transform: translateX(50px);
}

[data-animate="right"].animate-in {
    transform: translateX(0) !important;
}

/* Scale up */
[data-animate="scale"].animate-ready {
    transform: scale(0.8);
}

[data-animate="scale"].animate-in {
    transform: scale(1) !important;
}

/* Fade up (default) */
[data-animate="up"].animate-ready {
    transform: translateY(40px);
}

[data-animate="up"].animate-in {
    transform: translateY(0) !important;
}



/* Counter minimum width */
.counter {
    display: inline-block;
    min-width: 50px;
}

/* ============================================
   Icon Hover Effects
   ============================================ */
.feature-icon,
.service-card-icon {
    transition: transform 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-5deg);
}



/* ============================================
   Reduced Motion (Accessibility)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .animate-ready {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .animate-in {
        transition: none !important;
    }
    
    [class*="col"].animate-ready {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */

/* Banner Base */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(9, 48, 40, 0.98));
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 9999;
    border-top: 3px solid var(--accent-green);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* Cookie Icon */
.cookie-banner-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cookieBounce 2s ease-in-out infinite;
}

.cookie-banner-icon i {
    font-size: 1.8rem;
    color: #fff;
}

@keyframes cookieBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.1) rotate(5deg); }
}

/* Content */
.cookie-banner-content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}

.cookie-banner-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 8px;
}

.cookie-learn-more {
    font-size: 0.85rem;
    color: var(--accent-green);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-learn-more:hover {
    color: #fff;
}

/* Buttons Container */
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Cookie Buttons */
.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    color: #fff;
    box-shadow: 0 4px 15px rgba(113, 178, 128, 0.4);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(113, 178, 128, 0.5);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-save {
    background: linear-gradient(135deg, #134E5E, #71B280);
    color: #fff;
}

.cookie-btn-save:hover {
    transform: translateY(-2px);
}

/* Close Button */
.cookie-banner-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ============================================
   Cookie Settings Modal
   ============================================ */

.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: linear-gradient(135deg, #093028, #237A57);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.cookie-modal-overlay.show .cookie-modal {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.cookie-modal-header {
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-header h3 i {
    color: var(--accent-green);
}

.cookie-modal-close {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Modal Body */
.cookie-modal-body {
    padding: 25px 30px;
    overflow-y: auto;
    flex: 1;
}

.cookie-modal-intro {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Cookie Options */
.cookie-option {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.cookie-option:hover {
    border-color: rgba(113, 178, 128, 0.3);
}

.cookie-option:last-child {
    margin-bottom: 0;
}

.cookie-option-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-option-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.cookie-option-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-toggle input {
    display: none;
}

.cookie-toggle-label {
    width: 50px;
    height: 26px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-toggle-label.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.cookie-toggle-switch {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-label {
    background: var(--accent-green);
}

.cookie-toggle input:checked + .cookie-toggle-label .cookie-toggle-switch {
    left: 27px;
}

.cookie-always-on {
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
}

/* Modal Footer */
.cookie-modal-footer {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

/* ============================================
   Cookie Banner - Responsive
   ============================================ */

@media (max-width: 991.98px) {
    .cookie-banner-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-icon {
        width: 50px;
        height: 50px;
    }
    
    .cookie-banner-icon i {
        font-size: 1.5rem;
    }
    
    .cookie-banner-content h4 {
        font-size: 1rem;
    }
    
    .cookie-banner-content p {
        font-size: 0.8rem;
    }
    
    .cookie-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-banner-actions .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Modal Mobile */
    .cookie-modal {
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 15px 20px;
    }
    
    .cookie-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .cookie-option {
        padding: 15px;
    }
    
    .cookie-option-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-toggle {
        align-self: flex-start;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .cookie-banner-icon {
        display: none;
    }
    
    .cookie-banner-content {
        min-width: auto;
    }
}

/* ============================================
   Cookie Banner - Animation Variants
   ============================================ */

/* Slide from bottom (default) */
.cookie-banner.slide-up {
    transform: translateY(100%);
}

.cookie-banner.slide-up.show {
    transform: translateY(0);
}

/* Fade in */
.cookie-banner.fade-in {
    transform: translateY(0);
    opacity: 0;
}

.cookie-banner.fade-in.show {
    opacity: 1;
}

/* ============================================
   Cookie Toast Notification
   ============================================ */

.cookie-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, var(--btn-gradient-start), var(--btn-gradient-mid));
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-toast i {
    font-size: 1.2rem;
}

/* ============================================
   PAGE TRANSITIONS
   ============================================ */

/* Transition Overlay */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

/* Hidden state - after page loads */
.page-transition.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Active state - when navigating away */
.page-transition.navigating {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Loader Container */
.transition-loader {
    text-align: center;
}

/* Logo */
.loader-logo {
    margin-bottom: 30px;
}

.loader-logo img {
    height: 60px;
    width: auto;
    animation: logoPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(113, 178, 128, 0.4));
}

@keyframes logoPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Spinner */
.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
}

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

/* Loading Text */
.loader-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-family: var(--font-heading);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767.98px) {
    .loader-logo img {
        height: 50px;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
        border-width: 2px;
    }
    
    .loader-text {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }
}

/* ============================================
   REDUCE MOTION (Accessibility)
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .page-transition {
        transition: none !important;
    }
    
    .page-transition.hidden {
        display: none;
    }
    
    .loader-logo img,
    .loader-spinner {
        animation: none;
    }
}

/* ============================================
   PAGE CONTENT ANIMATIONS
   ============================================ */

/* Animate page content on load */
.page-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.3s;
}

.page-loaded .page-content {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered content animation */
.animate-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.page-loaded .animate-stagger > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.page-loaded .animate-stagger > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.page-loaded .animate-stagger > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.page-loaded .animate-stagger > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.page-loaded .animate-stagger > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* ============================================
   BREADCRUMBS (Service pages)
   ============================================ */
.breadcrumb-wrap {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.breadcrumb-wrap .container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

nav[aria-label="Breadcrumb"] ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    gap: 0.35rem;
}

nav[aria-label="Breadcrumb"] li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.6);
}

nav[aria-label="Breadcrumb"] li:not(:last-child)::after {
    content: " >";
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.25rem;
}

nav[aria-label="Breadcrumb"] a {
    color: rgba(255, 255, 255, 0.85);
}

nav[aria-label="Breadcrumb"] a:hover {
    color: var(--accent-green);
}

nav[aria-label="Breadcrumb"] li[aria-current="page"] {
    color: var(--accent-green);
    font-weight: 600;
}

/* ============================================
   SERVICE HERO - Two column (no tabs)
   ============================================ */
.service-hero {
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    padding-bottom: 0;
    overflow: hidden;
}

.service-hero .hero-urgency-bar {
    margin-bottom: 0;
}

.service-hero .service-hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    min-height: 380px;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.service-hero .service-hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-hero .service-hero-content .text-accent {
    color: var(--accent-green);
}

.service-hero .service-hero-content .lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
}

.service-hero .service-hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.service-hero .service-hero-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.service-hero .service-hero-features li i {
    color: var(--accent-green);
    font-size: 0.9rem;
}

.service-hero .service-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-hero .service-hero-image-col {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.service-hero .service-hero-image-col img {
    width: 100%;
    height: auto;
    display: block;
}

.service-hero .service-hero-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(113, 178, 128, 0.95);
    color: #0a0f0d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991.98px) {
    .service-hero .service-hero-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        min-height: auto;
    }
    .service-hero .service-hero-image-col {
        order: -1;
        max-height: 280px;
        object-fit: cover;
    }
    .service-hero .service-hero-image-col img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 767.98px) {
    .loader-logo img {
        height: 50px;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
    }
    
    .loader-text {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .page-transition,
    .page-transition *,
    .page-content,
    .animate-stagger > * {
        transition: none !important;
        animation: none !important;
    }
}

