/* global styles */
html {
    margin: 0 !important;
}

/* styles in header */
.groupBody:hover ul{display: block;}

/* styles in webApp */
#social-list .social-item {
    opacity: 0;
    transform: translateY(14px) scale(0.5);
    pointer-events: none;
    transition:
        opacity .35s ease,
        transform .45s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc((var(--count, 2) - var(--i, 0)) * 60ms);
}
#social-list.is-open .social-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: calc(var(--i) * 90ms);
}

/* styles in contactUs */
* { font-family: 'Vazirmatn UI', 'Vazirmatn FD NL', sans-serif; }
.gradient-gold { background: linear-gradient(135deg, #bc8c3c 0%, #d4a853 50%, #bc8c3c 100%); }
.gradient-dark { background: linear-gradient(135deg, #13432b 0%, #1a5a3a 100%); }
.text-gradient { background: linear-gradient(135deg, #bc8c3c, #d4a853); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hover-lift { transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(19, 67, 43, 0.15); }
.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
@keyframes fadeIn { to { opacity: 1; } }
.slide-up { animation: slideUp 0.8s ease-out forwards; opacity: 0; transform: translateY(30px); }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
.pattern-bg { background-image: radial-gradient(circle at 1px 1px, rgba(188, 140, 60, 0.15) 1px, transparent 0); background-size: 30px 30px; }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; right: 0; width: 0; height: 2px; background: #bc8c3c; transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.contact-card { transition: all 0.4s ease; }
.contact-card:hover { transform: translateY(-5px); }
.contact-card:hover .icon-wrapper { background: linear-gradient(135deg, #bc8c3c, #d4a853); }
.contact-card:hover .icon-wrapper svg { color: #13432b; }
.icon-wrapper { transition: all 0.4s ease; }
.social-icon { transition: all 0.3s ease; }
.social-icon:hover { transform: translateY(-5px) scale(1.1); }
.pulse-ring { animation: pulseRing 2s infinite; }
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(188, 140, 60, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(188, 140, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(188, 140, 60, 0); }
}
.counter { font-variant-numeric: tabular-nums; }
.gold-border { border: 1px solid rgba(188, 140, 60, 0.3); }
.gold-border-hover:hover { border-color: #bc8c3c; }
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeIn 1s ease-out forwards; opacity: 0; }
.slide-up { animation: slideUp 1s ease-out forwards; opacity: 0; transform: translateY(40px); }
.slide-right { animation: slideRight 1s ease-out forwards; opacity: 0; transform: translateX(40px); }
@keyframes slideRight { to { opacity: 1; transform: translateX(0); } }
.category-card { position: relative; overflow: hidden; }
.category-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(19, 67, 43, 0.9) 0%, rgba(19, 67, 43, 0.6) 100%); opacity: 0; transition: opacity 0.4s ease; }
.category-card:hover::before { opacity: 1; }
.category-card:hover .category-content { transform: translateY(0); opacity: 1; }
.category-card:hover .category-image { transform: scale(1.1); }
.category-content { transform: translateY(20px); opacity: 0; transition: all 0.4s ease; }
.category-image { transition: transform 0.6s ease; }
.filter-btn { transition: all 0.3s ease; }
.filter-btn.active { background: linear-gradient(135deg, #bc8c3c, #d4a853); color: #13432b; border-color: #bc8c3c; }
.search-input:focus { border-color: #bc8c3c; box-shadow: 0 0 0 3px rgba(188, 140, 60, 0.1); }
.feature-card { transition: all 0.4s ease; }
.feature-card:hover { transform: translateY(-5px); }
.feature-card:hover .feature-icon { background: linear-gradient(135deg, #bc8c3c, #d4a853); }
.feature-card:hover .feature-icon svg { color: #13432b; }
.feature-icon { transition: all 0.4s ease; }
.gallery-swiper { padding: 20px 10px 60px; }
.gallery-swiper .swiper-pagination-bullet { background: #bc8c3c; opacity: 0.4; }
.gallery-swiper .swiper-pagination-bullet-active { opacity: 1; }
.faq-item { border: 1px solid rgba(188, 140, 60, 0.2); transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(188, 140, 60, 0.5); }
.faq-item.active { border-color: #bc8c3c; box-shadow: 0 10px 30px rgba(19, 67, 43, 0.1); }
.faq-question { cursor: pointer; transition: all 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-item.active .faq-icon { transform: rotate(180deg); background: #bc8c3c; color: #13432b; }
.faq-icon { transition: all 0.3s ease; }
.faq-item.active .faq-number { background: #bc8c3c; color: #13432b; }
.brand-logo { filter: grayscale(100%); opacity: 0.6; transition: all 0.3s ease; }
.brand-logo:hover { filter: grayscale(0%); opacity: 1; }
.sticky-sidebar { position: sticky; top: 100px; }
.progress-line { position: absolute; top: 40px; right: 40px; width: 2px; height: calc(100% - 80px); background: rgba(188, 140, 60, 0.2); }
.progress-line::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; background: linear-gradient(180deg, #bc8c3c, #d4a853); animation: progressFill 2s ease-out forwards; height: 0; }
@keyframes progressFill { to { height: 100%; } }

/* Speedometer */
.speedometer {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #1a5a3a 0%, #13432b 70%, #0d2e1e 100%);
    box-shadow: 
        0 0 0 8px rgba(188, 140, 60, 0.2),
        0 0 0 12px rgba(188, 140, 60, 0.1),
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(0, 0, 0, 0.3);
}
.speedometer::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 2px dashed rgba(188, 140, 60, 0.3);
}
.needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 120px;
    background: linear-gradient(to top, #bc8c3c, #d4a853);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(-135deg);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(188, 140, 60, 0.6);
    animation: needleMove 3s ease-out forwards;
}
.needle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #d4a853, #bc8c3c);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(188, 140, 60, 0.8);
}
@keyframes needleMove {
    0% { transform: translate(-50%, -100%) rotate(-135deg); }
    30% { transform: translate(-50%, -100%) rotate(45deg); }
    60% { transform: translate(-50%, -100%) rotate(20deg); }
    80% { transform: translate(-50%, -100%) rotate(35deg); }
    100% { transform: translate(-50%, -100%) rotate(28deg); }
}
.speed-number {
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #bc8c3c, #d4a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(188, 140, 60, 0.3);
}
.speed-unit {
    position: absolute;
    bottom: 18%;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
}
.tick {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 15px;
    background: rgba(188, 140, 60, 0.6);
    transform-origin: center 130px;
}
.tick.major {
    height: 20px;
    width: 3px;
    background: #bc8c3c;
}
.tick-label {
    position: absolute;
    top: 50%;
    left: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    transform-origin: center 105px;
}

/* Road animation */
.road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #0d2e1e 0%, #13432b 60%, transparent 100%);
    overflow: hidden;
}
.road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to left,
        #bc8c3c 0px,
        #bc8c3c 40px,
        transparent 40px,
        transparent 80px
    );
    animation: roadMove 1.5s linear infinite;
    opacity: 0.6;
}
@keyframes roadMove {
    from { transform: translateX(0); }
    to { transform: translateX(-80px); }
}

/* Car */
.car-container {
    position: absolute;
    bottom: 80px;
    left: 10%;
    animation: carBounce 0.6s ease-in-out infinite;
}
@keyframes carBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
.headlight {
    animation: headlightBlink 1.5s ease-in-out infinite;
}
@keyframes headlightBlink {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 10px #d4a853); }
    50% { opacity: 0.7; filter: drop-shadow(0 0 20px #d4a853); }
}

/* Floating elements */
.float-slow { animation: floatSlow 6s ease-in-out infinite; }
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
.float-medium { animation: floatMedium 4s ease-in-out infinite; }
@keyframes floatMedium {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(-3deg); }
}

/* Big 404 background */
.bg-404 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30rem;
    font-weight: 900;
    color: rgba(188, 140, 60, 0.03);
    pointer-events: none;
    line-height: 1;
    white-space: nowrap;
}

/* Glitch effect */
.glitch-text {
    position: relative;
    display: inline-block;
}
.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.glitch-text::before {
    animation: glitch1 3s infinite;
    color: #bc8c3c;
    z-index: -1;
}
.glitch-text::after {
    animation: glitch2 3s infinite;
    color: #d4a853;
    z-index: -2;
}
@keyframes glitch1 {
    0%, 90%, 100% { transform: translate(0); opacity: 0; }
    92% { transform: translate(-2px, 2px); opacity: 0.7; }
    94% { transform: translate(2px, -2px); opacity: 0.7; }
    96% { transform: translate(-1px, 1px); opacity: 0.7; }
}
@keyframes glitch2 {
    0%, 90%, 100% { transform: translate(0); opacity: 0; }
    93% { transform: translate(2px, -2px); opacity: 0.7; }
    95% { transform: translate(-2px, 2px); opacity: 0.7; }
    97% { transform: translate(1px, -1px); opacity: 0.7; }
}
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(188, 140, 60, 0.4); }
    70% { box-shadow: 0 0 0 30px rgba(188, 140, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(188, 140, 60, 0); }
}

.btn-hover {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.btn-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.btn-hover:hover::before {
    width: 300px;
    height: 300px;
}
.pattern-bg { background-image: radial-gradient(circle at 1px 1px, rgba(188, 140, 60, 0.1) 1px, transparent 0); background-size: 30px 30px; }

/* Main spinner - Car wheel style */
.wheel-spinner {
    position: relative;
    width: 200px;
    height: 200px;
    animation: wheelSpin 2s linear infinite;
}
@keyframes wheelSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.wheel-rim {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #bc8c3c 0deg,
        #d4a853 30deg,
        #13432b 60deg,
        #bc8c3c 90deg,
        #d4a853 120deg,
        #13432b 150deg,
        #bc8c3c 180deg,
        #d4a853 210deg,
        #13432b 240deg,
        #bc8c3c 270deg,
        #d4a853 300deg,
        #13432b 330deg,
        #bc8c3c 360deg
    );
    box-shadow: 
        0 0 40px rgba(188, 140, 60, 0.4),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}
.wheel-rim::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    background: #13432b;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.6);
}
.wheel-rim::after {
    content: '';
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #bc8c3c 0deg,
        transparent 30deg,
        transparent 60deg,
        #bc8c3c 90deg,
        transparent 120deg,
        transparent 150deg,
        #bc8c3c 180deg,
        transparent 210deg,
        transparent 240deg,
        #bc8c3c 270deg,
        transparent 300deg,
        transparent 330deg,
        #bc8c3c 360deg
    );
}
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #d4a853 0%, #bc8c3c 50%, #13432b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(188, 140, 60, 0.6),
        inset 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
.wheel-spokes {
    position: absolute;
    inset: 0;
}
.spoke {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 70px;
    background: linear-gradient(to bottom, #d4a853, transparent);
    transform-origin: top center;
    border-radius: 2px;
}

/* Orbiting dots */
.orbit-container {
    position: absolute;
    width: 300px;
    height: 300px;
    animation: orbitSpin 8s linear infinite;
}
@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.orbit-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bc8c3c;
    box-shadow: 0 0 15px rgba(188, 140, 60, 0.8);
}
.orbit-dot:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.orbit-dot:nth-child(2) { top: 50%; right: 0; transform: translateY(-50%); animation: pulse 1.5s ease-in-out infinite; }
.orbit-dot:nth-child(3) { bottom: 0; left: 50%; transform: translateX(-50%); animation: pulse 1.5s ease-in-out infinite 0.5s; }
.orbit-dot:nth-child(4) { top: 50%; left: 0; transform: translateY(-50%); animation: pulse 1.5s ease-in-out infinite 1s; }
@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.6; }
}
.orbit-dot:nth-child(1) {
    animation: pulse2 1.5s ease-in-out infinite;
}
.orbit-dot:nth-child(3) {
    animation: pulse2 1.5s ease-in-out infinite 0.5s;
}
@keyframes pulse2 {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.5); opacity: 0.6; }
}

/* Progress bar */
.progress-bar {
    position: relative;
    width: 300px;
    height: 6px;
    background: rgba(188, 140, 60, 0.1);
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg, #bc8c3c, #d4a853, #bc8c3c);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: progressFill 3s ease-in-out infinite, shimmer 2s linear infinite;
    box-shadow: 0 0 10px rgba(188, 140, 60, 0.6);
}
@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 80%; }
    100% { width: 100%; }
}
@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

/* Loading text animation */
.loading-text span {
    display: inline-block;
    animation: textWave 1.5s ease-in-out infinite;
    color: #bc8c3c;
}
@keyframes textWave {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-8px); opacity: 1; }
}

/* Road animation */
.road-line {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to left,
        #bc8c3c 0px,
        #bc8c3c 40px,
        transparent 40px,
        transparent 80px
    );
    animation: roadMove 1s linear infinite;
    opacity: 0.5;
}

/* Speed lines */
.speed-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(to left, transparent, #bc8c3c, transparent);
    animation: speedLine 2s linear infinite;
    opacity: 0.4;
}
@keyframes speedLine {
    0% { transform: translateX(100vw); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateX(-100vw); opacity: 0; }
}

/* Logo pulse */
.logo-pulse {
    animation: logoPulse 2s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(188, 140, 60, 0.5)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(188, 140, 60, 0.8)); }
}

/* Percentage counter */
.percentage {
    font-variant-numeric: tabular-nums;
    background: linear-gradient(135deg, #bc8c3c, #d4a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow effect */
.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(188, 140, 60, 0.15) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* Rotating ring */
.rotating-ring {
    position: absolute;
    inset: -30px;
    border: 2px dashed rgba(188, 140, 60, 0.3);
    border-radius: 50%;
    animation: ringRotate 10s linear infinite;
}
.rotating-ring.reverse {
    inset: -60px;
    animation: ringRotateReverse 15s linear infinite;
    border-style: dotted;
}
@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes ringRotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* Car silhouette */
.car-silhouette {
    position: absolute;
    bottom: 60px;
    animation: carDrive 4s ease-in-out infinite;
}
@keyframes carDrive {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}


/* Hero Swiper */
.hero-swiper { height: 100vh; }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; }
.hero-swiper .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1); transition: transform 6s ease; }
.hero-swiper .swiper-slide-active .slide-bg { transform: scale(1); }
.hero-swiper .slide-overlay { position: absolute; inset: 0; background: linear-gradient(to left, rgba(19, 67, 43, 0.95) 0%, rgba(19, 67, 43, 0.7) 50%, rgba(19, 67, 43, 0.4) 100%); }
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,0.5); width: 30px; height: 4px; border-radius: 2px; opacity: 1; }
.hero-swiper .swiper-pagination-bullet-active { background: #bc8c3c; width: 50px; }
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { color: #bc8c3c; background: rgba(19, 67, 43, 0.6); width: 50px; height: 50px; border-radius: 50%; backdrop-filter: blur(10px); }
.hero-swiper .swiper-button-next::after, .hero-swiper .swiper-button-prev::after { font-size: 18px; font-weight: bold; }
.hero-swiper .swiper-button-next { right: 30px; left: auto; }
.hero-swiper .swiper-button-prev { left: 30px; right: auto; }

/* Services */
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; bottom: 0; right: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #bc8c3c, #d4a853); transform: scaleX(0); transform-origin: right; transition: transform 0.4s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-icon { transform: rotateY(360deg); }
.service-icon { transition: transform 0.8s ease; }

/* Projects Swiper */
.projects-swiper { padding: 40px 10px 60px; }
.projects-swiper .swiper-pagination-bullet { background: #bc8c3c; opacity: 0.4; }
.projects-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* Testimonial */
.testimonial-swiper { padding: 20px 10px 70px; }
.testimonial-swiper .swiper-pagination-bullet { background: #bc8c3c; opacity: 0.4; }
.testimonial-swiper .swiper-pagination-bullet-active { opacity: 1; }

/* Marquee */
.marquee { display: flex; animation: marquee 30s linear infinite; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(50%); } }

/* Floating shapes */
.float-shape { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }