/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors - Based on Brand */
    --navy-900: #0f1623;
    --navy-800: #1a2744;
    --navy-700: #243352;
    --navy-600: #2e3f60;
    --navy-500: #384b6e;
    
    /* Gold/Yellow Accent - Brand Color */
    --gold-500: #d4a84b;
    --gold-400: #e6bc5a;
    --gold-300: #f0cd6e;
    --gold-200: #f5dc94;
    
    /* Keep electric for compatibility but use gold */
    --electric-500: #d4a84b;
    --electric-400: #e6bc5a;
    --electric-300: #f0cd6e;
    --electric-200: #f5dc94;
    
    /* Cyan replaced with gold tones */
    --cyan-500: #d4a84b;
    --cyan-400: #e6bc5a;
    --cyan-300: #f0cd6e;
    
    /* Accent - Gold */
    --accent: #d4a84b;
    --accent-bright: #f0cd6e;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    
    /* Gradients - Updated to Gold */
    --gradient-primary: linear-gradient(135deg, #d4a84b 0%, #e6bc5a 100%);
    --gradient-dark: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(15, 22, 35, 0.88) 0%, rgba(26, 39, 68, 0.80) 50%, rgba(36, 51, 82, 0.75) 100%);
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(212, 168, 75, 0.3);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--navy-900);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition-normal);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    position: relative;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--gray-200);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a .nav-home-icon {
    font-size: 0.85rem;
    color: var(--electric-400);
    display: none;
    filter: drop-shadow(0 0 6px var(--electric-400));
}

.nav-links a.active .nav-home-icon {
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 40px);
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(212, 168, 75, 0.4);
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 168, 75, 0.5);
}

.phone-btn i {
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-normal);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(212, 168, 75, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(230, 188, 90, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 24px;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
    color: var(--white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-accent {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 10px rgba(212, 168, 75, 0.3));
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-200);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 168, 75, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 168, 75, 0.5);
}

.btn-primary i {
    transition: var(--transition-normal);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== HERO STATS ===== */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-plus, .stat-percent {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--electric-400);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-300);
    margin-top: 4px;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--electric-400);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--gray-400);
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* ===== OWNER SECTION ===== */
.owner-section {
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.owner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 0% 50%, rgba(212, 168, 75, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(230, 188, 90, 0.08) 0%, transparent 50%);
}

.owner-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.owner-image {
    position: relative;
}

.owner-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.owner-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--electric-500);
    border-radius: 24px;
    opacity: 0.3;
    z-index: -1;
}

.owner-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--gradient-primary);
    border-radius: 24px;
    opacity: 0.2;
    z-index: -1;
}

.owner-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-primary);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(212, 168, 75, 0.4);
}

.owner-badge i {
    font-size: 1.2rem;
}

.owner-badge span {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.owner-content {
    position: relative;
}

.owner-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.3);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--electric-400);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.owner-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.owner-name {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.owner-name span {
    padding: 6px 14px;
    background: rgba(212, 168, 75, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--electric-400);
}

.owner-content > p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 32px;
}

.owner-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.owner-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(212, 168, 75, 0.08);
    border: 1px solid rgba(212, 168, 75, 0.15);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.owner-feature:hover {
    background: rgba(212, 168, 75, 0.15);
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-2px);
}

.owner-feature i {
    color: var(--electric-400);
    font-size: 0.9rem;
}

.owner-feature span {
    color: var(--gray-200);
    font-weight: 500;
}

@media (max-width: 900px) {
    .owner-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .owner-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .owner-image img {
        height: 400px;
    }
    
    .owner-content {
        text-align: center;
    }
    
    .owner-name {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .owner-features {
        justify-content: center;
    }
    
    .owner-content .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .owner-section {
        padding: 60px 0;
    }
    
    .owner-image img {
        height: 350px;
    }
    
    .owner-features {
        flex-direction: column;
    }
    
    .owner-feature {
        justify-content: center;
    }
}

/* ===== FEATURES BAR ===== */
.features-bar {
    background: var(--gradient-primary);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.features-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.feature i {
    font-size: 2rem;
    color: var(--white);
    opacity: 0.9;
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== SECTION STYLES ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    display: inline-block;
}

.section-tag {
    display: block;
    padding: 8px 20px;
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.3);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--electric-400);
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2,
.about-content h2,
.contact-info h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .section-header h2,
    .about-content h2,
    .contact-info h2 {
        white-space: normal;
    }
}

.accent {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-400);
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--gradient-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: linear-gradient(145deg, var(--navy-700), var(--navy-800));
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 75, 0.1);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(212, 168, 75, 0.05), transparent);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 168, 75, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(212, 168, 75, 0.1);
    z-index: 0;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray-400);
    margin-bottom: 24px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--electric-400);
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
}

.service-link:hover {
    gap: 12px;
    color: var(--electric-300);
}

/* ===== ABOUT SECTION ===== */
.about {
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* About Gallery */
.about-gallery-wrapper {
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
    padding: 30px;
    border: 1px solid rgba(212, 168, 75, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 1350px;
    width: 100%;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1;
    background: var(--navy-900);
    border: 1px solid rgba(212, 168, 75, 0.1);
    transition: var(--transition-normal);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 75, 0.4);
    box-shadow: 0 10px 30px rgba(212, 168, 75, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(26, 39, 68, 0.9);
    border: 2px solid rgba(212, 168, 75, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.gallery-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(26, 39, 68, 0.9);
    border-color: rgba(212, 168, 75, 0.3);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    z-index: 10;
}

.gallery-pagination-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.gallery-pagination-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-pagination-dot.active {
    background: var(--gold-500);
    transform: scale(1.3);
    border-color: var(--gold-400);
}

/* Image Modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.image-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.image-modal-content {
    position: relative;
    z-index: 1;
    max-width: 95%;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.image-modal.active .image-modal-content {
    transform: scale(1);
}

.image-modal-content img {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(26, 39, 68, 0.9);
    border: 2px solid rgba(212, 168, 75, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.image-modal-nav:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-50%) scale(1.1);
}

.image-modal-prev {
    left: 15px;
}

.image-modal-next {
    right: 15px;
}

.image-modal-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-modal-nav:disabled:hover {
    transform: translateY(-50%);
    background: rgba(26, 39, 68, 0.9);
    border-color: rgba(212, 168, 75, 0.3);
}

@media (max-width: 768px) {
    .image-modal-close {
        top: -40px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .image-modal-content {
        max-width: 98%;
        max-height: 90vh;
    }
}

/* About Content Section */
.about-content-section {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.about-content-section .about-features {
    margin-bottom: 40px;
}

.about-phone-btn {
    margin: 0 auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    text-align: left;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-feature i {
    color: var(--electric-400);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    color: var(--gray-200);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-card-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .service-card-wide {
        grid-column: span 1;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    background: var(--navy-900);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--navy-700), var(--navy-800));
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(212, 168, 75, 0.1);
    position: relative;
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 75, 0.3);
    box-shadow: var(--shadow-glow);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-300);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar i {
    font-size: 1.2rem;
    color: var(--white);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ===== FEATURED PROJECTS SECTION ===== */
.featured-projects {
    background: var(--navy-900);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.featured-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 75, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(230, 188, 90, 0.05) 0%, transparent 50%);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.featured-project-card {
    background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 75, 0.1);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    transition: var(--transition-normal);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.featured-project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 75, 0.3);
    box-shadow: 0 20px 60px rgba(212, 168, 75, 0.2);
}

.featured-project-image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.featured-project-card:hover .featured-project-image img {
    transform: scale(1.05);
}

.featured-project-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-project-content h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.3;
}

.featured-project-content p {
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

.featured-project-content p:last-of-type {
    margin-bottom: 24px;
}

.featured-project-specs {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 168, 75, 0.1);
}

.featured-project-specs span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 168, 75, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--electric-300);
    font-weight: 500;
}

.featured-project-specs span i {
    color: var(--electric-400);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .featured-project-card {
        grid-template-columns: 1fr;
    }
    
    .featured-project-image {
        min-height: 300px;
    }
    
    .featured-project-content {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .featured-projects {
        padding: 60px 0;
    }
    
    .featured-projects-grid {
        gap: 40px;
    }
    
    .featured-project-content {
        padding: 24px;
    }
    
    .featured-project-content h3 {
        font-size: 1.5rem;
    }
    
    .featured-project-content p {
        font-size: 0.95rem;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 75, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(230, 188, 90, 0.05) 0%, transparent 50%);
}

/* ===== PAGE HEADER - PROJECTS PAGE ===== */
.page-header-projects {
    background-image: url('Projekti/3-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 250px;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.page-header-projects::before {
    display: none;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.88) 50%,
        rgba(15, 23, 42, 0.92) 100%
    );
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

/* Override section-header styles for page-header-content to ensure visibility */
.page-header-content .section-tag {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header-content h2 {
    color: var(--white);
}

.page-header-content h2 .accent {
    /* Keep gradient but add shadow for visibility on image background */
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
}

.page-header-content p {
    color: var(--gray-400);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: var(--gradient-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Homepage projects - 3 columns */
.projects-grid-home {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .projects-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid-home {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: var(--navy-800);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(212, 168, 75, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(212, 168, 75, 0.3);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--navy-700), var(--navy-600));
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 4rem;
    color: var(--electric-400);
    opacity: 0.3;
}

.project-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.project-category {
    padding: 8px 16px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.8rem;
}

.project-info {
    padding: 24px;
}

.project-info h4 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--white);
    transition: var(--transition-normal);
}

.project-card:hover .project-info h4 {
    color: var(--electric-400);
}

.project-info > p {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 16px;
    transition: var(--transition-normal);
}

.project-card:hover .project-info > p {
    color: var(--gray-200);
}

.project-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.project-specs span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(212, 168, 75, 0.15);
    border: 1px solid rgba(212, 168, 75, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--electric-400);
    transition: var(--transition-normal);
}

.project-card:hover .project-specs span {
    background: rgba(212, 168, 75, 0.2);
    border-color: rgba(212, 168, 75, 0.4);
    color: var(--electric-400);
}

.project-specs span i {
    font-size: 0.75rem;
    color: var(--electric-400);
}

/* Project Card with Image */
.project-card {
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 1;
    backdrop-filter: blur(2px);
}

.project-card:hover .project-overlay-hover {
    opacity: 1;
}

.project-overlay-hover i {
    font-size: 2.5rem;
    color: var(--electric-400);
}

.project-overlay-hover span {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--electric-400);
}

.projects-pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.projects-pagination-btn,
.projects-page-btn {
    border: 1px solid rgba(212, 168, 75, 0.35);
    background: rgba(212, 168, 75, 0.08);
    color: var(--electric-400);
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.projects-pagination-btn:hover,
.projects-page-btn:hover {
    background: rgba(212, 168, 75, 0.18);
    border-color: rgba(212, 168, 75, 0.5);
}

.projects-pagination-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.projects-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.projects-page-btn {
    min-width: 42px;
}

.projects-page-btn.active {
    background: var(--gradient-primary);
    color: var(--navy-900);
    border-color: transparent;
}

@media (max-width: 640px) {
    .projects-pagination {
        gap: 8px;
    }

    .projects-pagination-btn,
    .projects-page-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* ===== PROJECT MODAL ===== */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
    border-radius: 24px;
    border: 1px solid rgba(212, 168, 75, 0.2);
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-normal);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.project-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

.modal-body {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Modal Gallery */
.modal-gallery {
    padding: 30px;
    background: var(--navy-900);
}

.gallery-main {
    width: 100%;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
}

.gallery-thumbs .thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
    opacity: 1;
    border-color: var(--electric-500);
}

/* Modal Details */
.modal-details {
    padding: 40px;
    overflow-y: auto;
}

.modal-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.modal-details h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.modal-location i {
    color: var(--electric-400);
}

.modal-spec-highlight {
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.spec-item i {
    font-size: 2rem;
    color: var(--electric-400);
}

.spec-value {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.spec-label {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.modal-details h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--gray-200);
}

.modal-equipment {
    list-style: none;
    margin-bottom: 24px;
}

.modal-equipment li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-300);
}

.modal-equipment li:last-child {
    border-bottom: none;
}

.modal-equipment li i {
    color: var(--electric-400);
    width: 20px;
    text-align: center;
}

.modal-equipment li strong {
    color: var(--white);
}

.modal-note {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
}

.modal-note i {
    color: #fbbf24;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-note p {
    font-size: 0.95rem;
    color: var(--gray-300);
    line-height: 1.6;
}

/* Modal Responsive */
@media (max-width: 900px) {
    .modal-project {
        grid-template-columns: 1fr;
    }
    
    .modal-gallery {
        padding: 20px;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .modal-details {
        padding: 24px;
    }
    
    .modal-details h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .gallery-thumbs .thumb {
        width: 60px;
        height: 45px;
    }
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 50%, rgba(212, 168, 75, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 50%, rgba(230, 188, 90, 0.15) 0%, transparent 40%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: 32px;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--navy-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray-400);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--electric-400);
}

.contact-text h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-text p {
    color: var(--gray-400);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-400);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== CONTACT FORM ===== */
.contact-form-wrapper {
    background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
    padding: 48px;
    border-radius: 24px;
    border: 1px solid rgba(212, 168, 75, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 12px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--white);
    transition: var(--transition-normal);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--electric-500);
    box-shadow: 0 0 20px rgba(212, 168, 75, 0.2);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--gray-400);
    pointer-events: none;
    transition: var(--transition-normal);
}

.form-group textarea + label {
    top: 16px;
    transform: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 16px;
    font-size: 0.8rem;
    background: var(--navy-800);
    padding: 0 8px;
    color: var(--electric-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-800);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo span {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-400);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--electric-400);
    padding-left: 8px;
}

.footer-newsletter p {
    color: var(--gray-400);
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: rgba(10, 22, 40, 0.5);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: var(--font-secondary);
    outline: none;
    transition: var(--transition-normal);
}

.newsletter-form input:focus {
    border-color: var(--electric-500);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.newsletter-form button:hover {
    transform: scale(1.05);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social .social-link {
    width: 44px;
    height: 44px;
    background: rgba(212, 168, 75, 0.1);
    border: 1px solid rgba(212, 168, 75, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-400);
    transition: var(--transition-normal);
}

.footer-social .social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links ul li span {
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a i,
.footer-links ul li span i {
    color: var(--electric-400);
    width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    color: var(--gray-500);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    transition: var(--transition-normal);
}

.footer-bottom-links a:hover {
    color: var(--electric-400);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--navy-800);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .phone-btn span {
        display: none;
    }
    
    .phone-btn {
        padding: 12px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 32px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .features-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-container {
        padding: 20px;
        max-width: 100%;
    }
    
    .about-gallery-wrapper {
        padding: 0 15px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-feature i {
        font-size: 1rem;
    }
    
    .about-feature span {
        font-size: 0.9rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .hero-content {
        padding-top: 15vh;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    section {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .about-gallery-wrapper {
        padding: 0 10px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .gallery-pagination {
        margin-top: 20px;
    }
    
    .gallery-pagination-dot {
        width: 10px;
        height: 10px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-feature {
        text-align: left;
    }
    
    .about-feature i {
        font-size: 1rem;
    }
    
    .about-feature span {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 10vh;
    }
}

/* ===== POLICY MODALS (PRIVACY & TERMS) ===== */
.policy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    overflow: hidden;
}

.policy-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.policy-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    cursor: pointer;
}

.policy-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: linear-gradient(145deg, var(--navy-800), var(--navy-700));
    border-radius: 24px;
    border: 1px solid rgba(212, 168, 75, 0.2);
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-normal);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    z-index: 2001;
    margin: 20px;
}

.policy-modal.active .policy-modal-content {
    transform: translateY(0) scale(1);
}

.policy-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policy-modal .modal-close:hover {
    background: rgba(239, 68, 68, 0.8);
    border-color: transparent;
    transform: rotate(90deg);
}

.policy-modal-body {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.policy-modal-body::-webkit-scrollbar {
    width: 8px;
}

.policy-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.policy-modal-body::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 75, 0.5);
    border-radius: 4px;
}

.policy-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 75, 0.7);
}

/* Ensure modals are properly hidden when not active */
.policy-modal:not(.active) {
    display: none !important;
}

.policy-modal-body h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy-content {
    color: var(--gray-200);
    line-height: 1.8;
}

.policy-content h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--white);
}

.policy-content h3:first-of-type {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 16px;
    font-size: 1rem;
}

.policy-content ul {
    margin: 16px 0;
    padding-left: 24px;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 8px;
    padding-left: 8px;
}

.policy-content li strong {
    color: var(--electric-400);
}

.policy-date {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(212, 168, 75, 0.2);
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* Policy Modal Responsive */
@media (max-width: 768px) {
    .policy-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .policy-modal-body {
        padding: 32px 24px;
    }
    
    .policy-modal-body h2 {
        font-size: 1.6rem;
    }
    
    .policy-content h3 {
        font-size: 1.1rem;
    }
    
    .policy-content p,
    .policy-content li {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .policy-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .policy-modal-body {
        padding: 24px 20px;
    }
    
    .policy-modal .modal-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .policy-modal-body h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .policy-content h3 {
        font-size: 1rem;
        margin-top: 24px;
    }
}

/* ===== RESPONSIVE - PAGE HEADER PROJECTS ===== */
@media (max-width: 768px) {
    .page-header-projects {
        min-height: 200px;
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .page-header-content .section-tag {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 12px;
    }
    
    .page-header-content h2 {
        margin-bottom: 15px;
    }
    
    .page-header-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .page-header-projects {
        min-height: 180px;
        padding-top: 90px;
        padding-bottom: 35px;
    }
    
    .page-header-overlay {
        background: linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(15, 23, 42, 0.92) 50%,
            rgba(15, 23, 42, 0.95) 100%
        );
    }
    
}
