/* ============================================
   ART SKULLS - Modern Auto Styling Website
   Author: Vitalii @ vnik.ai
   ============================================ */

/* ============================================
   RESET & VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #ec4899;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --dark-lighter: #334155;
    --light: #ffffff;
    --gray: #94a3b8;
    --success: #10b981;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Russo One', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.5);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor,
.cursor-follower {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.1s ease, opacity 0.3s ease;
}

.cursor {
    background: var(--primary);
    mix-blend-mode: difference;
    opacity: 0.8;
}

.cursor-follower {
    border: 2px solid var(--primary-light);
    transform: scale(2);
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cursor-hover .cursor {
    transform: scale(1.5);
}

.cursor-hover .cursor-follower {
    transform: scale(3);
}

@media (max-width: 768px) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.skull-loader {
    font-size: 4rem;
    color: var(--primary);
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: var(--spacing-md);
}

.loading-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 3px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--dark-lighter);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 2s ease-in-out infinite;
}

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

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    max-width: 100%;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--light);
    transition: var(--transition-base);
}

.logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    position: relative;
    color: var(--light);
    opacity: 0.9;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: var(--transition-base);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    transition: var(--transition-base);
}

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

.nav-link:hover {
    color: white;
    opacity: 1;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-call {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-call:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--light);
    border-radius: 3px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0;
    transition: width 0.1s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -10%;
    right: -10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--light);
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   HERO STATS
   ============================================ */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 150px;
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light);
    opacity: 0.8;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SCROLL INDICATOR
   ============================================ */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative;
    margin: 0 auto var(--spacing-sm);
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s ease-in-out infinite;
}

@keyframes wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

.scroll-text {
    font-size: 0.85rem;
    color: var(--light);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    padding: 0.5rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    color: white;
}

.section-description {
    color: var(--light);
    opacity: 0.85;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    background: rgba(15, 23, 42, 0.6);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.service-card {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover::after {
    opacity: 1;
    animation: rotate 20s linear infinite;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.4), 
                0 0 50px rgba(99, 102, 241, 0.2),
                inset 0 0 50px rgba(99, 102, 241, 0.1);
}

.service-card.featured {
    border: 2px solid var(--primary);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3),
                0 0 30px rgba(99, 102, 241, 0.2);
    animation: pulse-card 3s ease-in-out infinite;
}

.featured-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    animation: bounce-badge 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
    z-index: 1;
}

.service-icon i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
}

.icon-bg {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: white;
    z-index: 1;
    position: relative;
}

.service-description {
    color: var(--light);
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    z-index: 1;
    position: relative;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.service-features {
    margin-bottom: var(--spacing-md);
    z-index: 1;
    position: relative;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--light);
    opacity: 0.95;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.service-features li:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--primary-light);
}

.service-features i {
    color: var(--primary-light);
    font-size: 1rem;
    filter: drop-shadow(0 2px 4px rgba(99, 102, 241, 0.5));
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.1);
    margin-top: 0.5rem;
}

.service-link:hover {
    gap: 1rem;
    color: white;
    background: var(--gradient-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
    background: var(--dark);
    padding: var(--spacing-xl) 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--light);
    opacity: 0.7;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    opacity: 1;
    border-color: transparent;
    transform: translateY(-2px);
}

.portfolio-slider {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 400px;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.portfolio-content p {
    color: var(--light);
    opacity: 0.85;
    margin-bottom: var(--spacing-sm);
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition-base);
}

.portfolio-link:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-glow);
}

/* Swiper Custom Styles */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white !important;
    transition: var(--transition-base);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet {
    background: var(--light);
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: rgba(30, 41, 59, 0.3);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text .section-subtitle {
    margin-bottom: var(--spacing-sm);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.about-description {
    color: var(--light);
    opacity: 0.9;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.about-features {
    display: grid;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-text p {
    color: var(--light);
    opacity: 0.85;
    font-size: 0.95rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary);
    border-radius: var(--radius-xl);
    transform: translate(20px, 20px);
    z-index: -1;
    transition: var(--transition-base);
}

.image-wrapper:hover .image-decoration {
    transform: translate(10px, 10px);
}

/* ============================================
   CONTACTS SECTION
   ============================================ */
.contacts {
    background: var(--dark);
}

.contacts-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.info-text p,
.info-text a {
    color: var(--light);
    opacity: 0.85;
    font-size: 1rem;
    line-height: 1.6;
    transition: var(--transition-fast);
}

.info-text a:hover {
    color: var(--primary-light);
    opacity: 1;
}

.info-text .highlight {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 1.2rem;
}

.info-text .small {
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--light);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: var(--shadow-glow);
}

.contact-map {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(0.9);
}

.map-button {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
}

.map-button:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.footer-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--light);
    opacity: 0.7;
    margin: 0.5rem 0;
}

.footer-text.small {
    font-size: 0.9rem;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-md);
        transition: left 0.4s ease;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contacts-content {
        grid-template-columns: 1fr;
    }
    
    .contact-map {
        height: 400px;
    }
    
    .portfolio-item {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding: 0 var(--spacing-sm);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .service-card {
        padding: var(--spacing-md);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   ADDITIONAL ANIMATIONS
   ============================================ */

/* Rotate animation for service card background */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulse animation for featured card */
@keyframes pulse-card {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3),
                    0 0 30px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 20px 50px rgba(99, 102, 241, 0.5),
                    0 0 50px rgba(99, 102, 241, 0.4);
    }
}

/* Bounce animation for featured badge */
@keyframes bounce-badge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.service-card:hover .service-title {
    background: linear-gradient(90deg, 
        white 0%, 
        var(--primary-light) 50%, 
        white 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Icon rotation on hover */
.service-icon:hover i {
    animation: icon-bounce 0.6s ease-in-out;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-10px) scale(1.1); }
    50% { transform: translateY(0) scale(1.05); }
    75% { transform: translateY(-5px) scale(1.08); }
}

/* Service card entrance animation */
@keyframes card-entrance {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(-20deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Glow pulse for icons */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 25px rgba(99, 102, 241, 0.8),
                    0 0 50px rgba(99, 102, 241, 0.4);
    }
}

.service-icon {
    animation: glow-pulse 3s ease-in-out infinite;
}

/* Text reveal animation */
@keyframes text-reveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover .service-description,
.service-card:hover .service-features {
    animation: text-reveal 0.5s ease-out;
}

/* Border animation */
@keyframes border-dance {
    0%, 100% {
        border-color: rgba(99, 102, 241, 0.3);
    }
    50% {
        border-color: rgba(99, 102, 241, 0.8);
    }
}

.service-card:hover {
    animation: border-dance 2s ease-in-out infinite;
}

/* Gradient animation for buttons */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

/* Service link arrow animation */
@keyframes arrow-slide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.service-link:hover i {
    animation: arrow-slide 0.6s ease-in-out infinite;
}

/* Check icon animation */
@keyframes check-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3) rotate(5deg); }
    100% { transform: scale(1) rotate(0); }
}

.service-features li:hover i {
    animation: check-pop 0.4s ease-out;
}

/* Floating animation for scroll indicator */
@keyframes float-smooth {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.scroll-indicator {
    animation: float-smooth 3s ease-in-out infinite;
}

/* Stats number pop animation */
@keyframes number-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.stat-item:hover .stat-number {
    animation: number-pop 0.5s ease-out;
}

/* Navbar slide down */
@keyframes navbar-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    animation: navbar-slide-down 0.5s ease-out;
}

/* Background pulse */
@keyframes bg-pulse {
    0%, 100% {
        background: rgba(30, 41, 59, 0.3);
    }
    50% {
        background: rgba(30, 41, 59, 0.4);
    }
}

.services {
    animation: bg-pulse 10s ease-in-out infinite;
}

/* Smoke effect */
@keyframes smoke {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1.5);
    }
}

/* Add smoke particles on hover */
.service-card:hover::after {
    animation: smoke 2s ease-out infinite;
}

/* Service card 3D flip on hover */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Rainbow text animation for gradient text */
@keyframes rainbow-text {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.gradient-text {
    animation: rainbow-text 10s linear infinite;
}

/* Particles effect */
@keyframes particles {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* Loading bar effect for nav progress */
@keyframes progress-shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.nav-progress {
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--primary-light) 50%, 
        var(--primary) 100%);
    background-size: 200% 100%;
    animation: progress-shimmer 2s linear infinite;
}