/* ==========================================================================
   UPDATED LUXURY GOLD & WHITE PALETTE (style.css)
   ========================================================================== */

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --card-bg: rgba(16, 16, 16, 0.75);
    --card-border: rgba(255, 255, 255, 0.08);
    
    /* Luxury Gold & White Accents */
    --accent-primary: #C5A059;       /* Royal Champagne Gold */
    --accent-secondary: #F3E5AB;     /* Soft Bright White-Gold */
    --accent-glow: rgba(197, 160, 89, 0.15);
    --text-primary: #FFFFFF;
    --text-secondary: #D1D1D1;       /* Clean White-Grey */
    --text-muted: #777777;
    --hover-color: #E6C280;          /* Vibrant Bright Gold */
    
    --font-display: 'Space Grotesk', sans-serif;
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-cinematic: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Scrollbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* ==========================================================================
   ULTRA-LUXURY CINEMATIC ARCHITECTURAL BACKGROUND (style.css)
   ========================================================================== */
body {
    background-color: #030303; /* Deep cinema black */
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* The Cinematic Camera Layer (Slowly zooming golden villa) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999; /* Safely behind all content */
    pointer-events: none;
    
    /* Ultra-luxury modern villa with warm golden interior lighting */
    background-image: url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?q=80&w=2564&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Raised to 0.58 so the stunning luxury details are clearly visible! */
    opacity: 0.58; 
    
    /* Smooth GPU-accelerated slow-zoom cinematic camera animation */
    animation: cinematicZoom 35s infinite alternate ease-in-out;
}

/* The Professional Vignette Layer (Protects your text contrast) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9998; /* Sits right on top of the image, behind the text */
    pointer-events: none;
    
    /* Dark radial fade to keep the focus in the center, and vertical fade for footer */
    background: radial-gradient(circle, transparent 20%, #030303 95%),
                linear-gradient(to bottom, transparent 50%, #030303 100%);
}

/* ==========================================================================
   CINEMATIC CAMERA ZOOM ANIMATION
   ========================================================================== */
@keyframes cinematicZoom {
    0% {
        transform: scale(1.02) translate(0, 0);
    }
    100% {
        transform: scale(1.08) translate(-0.5%, -0.5%);
    }
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--card-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ==========================================================================
   CINEMATIC PRELOADER (LOADING SCREEN)
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #030303;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: zoomScaleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.preloader-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
    animation: loaderPulse 2s infinite ease-in-out;
}

.preloader-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.preloader-bar {
    width: 140px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
}

.preloader-progress {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    left: -100%;
    animation: loadSlide 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(108, 99, 255, 0.2); }
    50% { transform: scale(1.04); box-shadow: 0 0 40px rgba(0, 217, 255, 0.4); }
}

@keyframes zoomScaleUp {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes loadSlide {
    0% { left: -100%; }
    50% { left: -30%; }
    100% { left: 0%; }
}

/* ==========================================================================
   GLOBAL CINEMATIC BACKGROUND IMAGE (style.css)
   ========================================================================== */
.global-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999; /* Places it behind absolutely everything */
    pointer-events: none; /* Stops the background from blocking clicks */
    background-color: #030303; /* Fallback dark color */
    background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15; /* Subtle (15%) opacity so the golden fluid texture glows gently in the dark */
}

.global-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, #050505 100%),
                linear-gradient(to bottom, transparent 60%, #050505 100%);
    pointer-events: none;
}

/* Ambient glows */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(150px);
    opacity: 0.12;
}
.glow-1 {
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}
.glow-2 {
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
}

/* Typography & General Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
}
p {
    font-family: var(--font-body);
    color: var(--text-secondary);
}
.gradient-text {
    background: linear-gradient(135deg, #FFF 30%, var(--accent-primary) 70%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}
.header-nav.scrolled {
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent-primary);
}
.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 1px;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transition: var(--transition-smooth);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.cta-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4);
}

/* Mobile Toggle Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}
.menu-bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Page Layout Wrappers */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem 2rem;
}
.page-header {
    text-align: center;
    margin-bottom: 5rem;
}
.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: var(--transition-smooth);
}
.glass-card:hover {
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(108, 99, 255, 0.15);
    transform: translateY(-4px);
}

/* Scroll reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   INDEX / HERO CONTAINER STYLING
   ========================================================================== */
.hero-content {
    text-align: center;
    z-index: 10;
    animation: scaleInReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}
.typing-container {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--accent-secondary);
    min-height: 50px;
    margin-bottom: 2.5rem;
    font-weight: 500;
}
.hero-btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 6rem;
    margin-top: 6rem;
    border-top: 1px solid var(--card-border);
    padding-top: 3rem;
    width: 100%;
    max-width: 900px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scaleInReveal {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   PORTFOLIO CATEGORIES & MASONRY GRID
   ========================================================================== */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4rem;
}
.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}
.portfolio-masonry {
    columns: 3 320px;
    column-gap: 1.5rem;
    width: 100%;
}
.portfolio-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    break-inside: avoid;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.portfolio-item:hover {
    border-color: var(--accent-primary);
}
.portfolio-media {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-item:hover .portfolio-media {
    transform: scale(1.04);
}
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-tag {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.portfolio-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* Dynamic Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    background: var(--bg-primary);
    border: 1px solid var(--card-border);
}
.lightbox-media {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}
.lightbox-iframe {
    width: 80vw;
    height: 45vw;
    max-width: 1000px;
    max-height: 562px;
    border: none;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   SERVICES GRID STYLING
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.service-icon-container {
    width: 60px;
    height: 60px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
}
.service-card:hover .service-icon-container {
    background: var(--accent-primary);
    color: var(--text-primary);
    transform: rotate(10deg);
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.service-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.service-features {
    list-style: none;
    margin-bottom: 2rem;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}
.service-features li svg {
    color: var(--accent-secondary);
    flex-shrink: 0;
}

/* ==========================================================================
   PRICING PACKAGES
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.pricing-card {
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.pricing-card.popular {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.9) 0%, rgba(108, 99, 255, 0.05) 100%);
    transform: scale(1.03);
}
.popular-badge {
    position: absolute;
    top: 25px;
    right: -40px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    padding: 0.4rem 3rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pricing-tier {
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--accent-secondary);
    margin-bottom: 0.5rem;
}
.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
}
.pricing-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-body);
    margin-bottom: 0.75rem;
    margin-left: 5px;
}
.pricing-desc {
    margin-bottom: 2rem;
}
.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.pricing-features li svg {
    color: var(--accent-primary);
}
.pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}
.pricing-features li.disabled svg {
    color: var(--text-muted);
}
.pricing-btn {
    width: 100%;
    justify-content: center;
}

/* ==========================================================================
   ABOUT & TIMELINE & SKILLS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
    align-items: center;
}
.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}
.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.skill-bar-wrapper {
    width: 100%;
}
.skill-label-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.skill-name {
    font-weight: 600;
    font-family: var(--font-display);
}
.skill-percent {
    color: var(--accent-secondary);
}
.skill-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}
.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
}
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--card-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}
.left-item { left: 0; }
.right-item { left: 50%; }
.right-item::after { left: -8px; }
.timeline-content {
    padding: 2rem;
    position: relative;
}
.timeline-year {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--accent-secondary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   FAQ ACCORDIONS
   ========================================================================== */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-header {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}
.faq-header:hover {
    color: var(--accent-secondary);
}
.faq-icon {
    transition: transform 0.3s ease;
    color: var(--accent-primary);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-content p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-secondary);
}
.faq-item.active {
    border-color: rgba(108, 99, 255, 0.3);
}
.faq-item.active .faq-content {
    max-height: 200px;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.contact-method {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.contact-method-icon {
    background: rgba(108, 99, 255, 0.1);
    color: var(--accent-primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-method-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.contact-method-text p, .contact-method-text a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
}
.contact-method-text a {
    color: var(--accent-secondary);
}
.contact-form {
    padding: 3rem;
}
.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}
textarea.form-input {
    resize: none;
    min-height: 150px;
}
.form-label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition-smooth);
}
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: -0.65rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--accent-primary);
    background: var(--bg-primary);
    padding: 0 0.4rem;
}
.contact-map-wrapper {
    grid-column: span 2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    height: 250px;
    margin-top: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    border-top: 1px solid var(--card-border);
    background: var(--bg-secondary);
    padding: 5rem 2rem 2rem 2rem;
    margin-top: 8rem;
    position: relative;
}
.footer-top {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}
.footer-brand p {
    margin-top: 1rem;
    max-width: 320px;
}
.footer-links-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-links-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}
.footer-links-col a:hover {
    color: var(--accent-secondary);
    padding-left: 5px;
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--card-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -100px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: var(--text-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 999;
}
.back-to-top.show {
    right: 30px;
}

/* ==========================================================================
   CHATBOT STYLES (PRESERVED)
   ========================================================================== */
:root {
    --ai-window-bg: rgba(10, 10, 10, 0.85);
    --ai-accent: #6C63FF;
    --ai-sec-accent: #00D9FF;
    --ai-text-prim: #ffffff;
    --ai-text-sec: #bbbbbb;
    --ai-border: rgba(255, 255, 255, 0.08);
}
.karevio-ai-trigger {
    position: fixed;
    bottom: 35px;
    right: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ai-accent), var(--ai-sec-accent));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.4);
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.karevio-ai-trigger:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.5);
}
.karevio-ai-trigger svg {
    width: 30px;
    height: 30px;
}
.pulse-ring {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--ai-sec-accent);
    animation: ringPulse 2s infinite ease-out;
    pointer-events: none;
}
@keyframes ringPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}
.karevio-ai-window {
    position: fixed;
    bottom: 115px;
    right: 30px;
    width: 385px;
    height: 620px;
    max-height: 75vh;
    border-radius: 20px;
    background: var(--ai-window-bg);
    border: 1px solid var(--ai-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 10001;
    transform: translateY(30px) scale(0.92);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.karevio-ai-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.karevio-ai-window.expanded {
    width: 650px;
    height: 750px;
    max-height: 85vh;
}
.ai-header {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--ai-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ai-avatar-wrapper {
    position: relative;
    width: 40px;
    height: 40px;
}
.ai-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--ai-accent);
}
.active-dot {
    position: absolute;
    bottom: 0; right: 0;
    width: 10px; height: 10px;
    background-color: #00FF66;
    border-radius: 50%;
    border: 2px solid #0a0a0a;
    box-shadow: 0 0 8px #00FF66;
}
.ai-identity {
    display: flex;
    flex-direction: column;
}
.ai-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ai-text-prim);
}
.ai-status {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--ai-sec-accent);
}
.ai-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-control-btn {
    background: none;
    border: none;
    color: var(--ai-text-sec);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
}
.ai-control-btn:hover {
    color: var(--ai-text-prim);
    background: rgba(255, 255, 255, 0.05);
}
.ai-body {
    flex-grow: 1;
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.ai-body::-webkit-scrollbar {
    width: 4px;
}
.ai-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.ai-msg-row {
    display: flex;
    gap: 12px;
    max-width: 85%;
    animation: bubbleEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes bubbleEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.ai-msg-row.bot { align-self: flex-start; }
.ai-msg-row.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-bubble-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--ai-border);
    flex-shrink: 0;
}
.ai-bubble-content {
    display: flex;
    flex-direction: column;
}
.ai-bubble-text {
    padding: 0.9rem 1.1rem;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}
.ai-msg-row.bot .ai-bubble-text {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ai-border);
    color: var(--ai-text-sec);
    border-top-left-radius: 4px;
}
.ai-msg-row.bot .ai-bubble-text strong {
    color: var(--ai-text-prim);
}
.ai-msg-row.user .ai-bubble-text {
    background: linear-gradient(135deg, var(--ai-accent), rgba(108, 99, 255, 0.7));
    color: #ffffff;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.15);
}
.ai-bubble-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 0 4px;
}
.ai-msg-row.user .ai-bubble-meta { justify-content: flex-end; }
.ai-bubble-time {
    font-size: 0.7rem;
    color: #666666;
    font-family: 'Inter', sans-serif;
}
.ai-copy-btn {
    background: none;
    border: none;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    padding: 2px;
}
.ai-copy-btn:hover { color: var(--ai-sec-accent); }
.ai-pills-row {
    padding: 0.5rem 1rem;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--ai-border);
}
.ai-pills-row::-webkit-scrollbar { height: 3px; }
.ai-pills-row::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.08); }
.ai-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ai-border);
    color: var(--ai-text-sec);
    padding: 6px 12px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}
.ai-pill:hover {
    background: rgba(108, 99, 255, 0.1);
    border-color: var(--ai-accent);
    color: var(--ai-text-prim);
}
.ai-footer {
    padding: 1rem;
    background: rgba(5, 5, 5, 0.4);
    border-top: 1px solid var(--ai-border);
}
.ai-input-form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ai-border);
    border-radius: 12px;
    padding: 6px 10px;
    transition: border-color 0.3s ease;
}
.ai-input-form:focus-within { border-color: var(--ai-accent); }
.ai-textarea {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ai-text-prim);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    resize: none;
    max-height: 120px;
    padding: 8px 4px;
}
.ai-submit-btn {
    background: var(--ai-accent);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.25s ease;
    flex-shrink: 0;
    margin-bottom: 2px;
}
.ai-submit-btn:hover { background: var(--ai-sec-accent); }
.loading-ring {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
}
.loading-ring span {
    width: 6px;
    height: 6px;
    background: var(--ai-text-sec);
    border-radius: 50%;
    animation: streamLoad 1.4s infinite ease-in-out both;
}
.loading-ring span:nth-child(2) { animation-delay: 0.2s; }
.loading-ring span:nth-child(3) { animation-delay: 0.4s; }
@keyframes streamLoad {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
    40% { transform: scale(1.1); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 4rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .timeline-container::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 22px; }
    .karevio-ai-window.expanded {
        width: calc(100% - 40px);
        height: 550px;
        bottom: 95px;
        right: 20px;
    }
}
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: var(--transition-smooth);
        z-index: 998;
    }
    .nav-menu.active { left: 0; }
    .hero-content h1 { font-size: 3rem; }
    .stats-bar { flex-direction: column; gap: 2rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .pricing-card.popular { transform: scale(1); }
    .form-group-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
    .karevio-ai-window {
        width: calc(100% - 40px);
        height: 530px;
        max-height: 80vh;
        right: 20px;
        bottom: 95px;
    }
    .karevio-ai-trigger {
        width: 55px;
        height: 55px;
        right: 20px;
        bottom: 20px;
    }
}

/* ==========================================================================
   GLOBAL CINEMATIC BACKGROUND VIDEO
   ========================================================================== */
.global-video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999; /* Places it behind absolutely everything */
    overflow: hidden;
    pointer-events: none; /* Stops the video from blocking clicks */
    background-color: #030303; /* Fallback dark background if video fails */
}

.global-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12; /* Keep this low (12%) so the plexus glows subtly and doesn't block text */
    filter: saturate(80%) contrast(110%);
}

.global-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, #050505 100%),
                linear-gradient(to bottom, transparent 70%, #050505 100%);
    pointer-events: none;
}