:root {
    /* --- Dark Mode (Default) --- */
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #800020;
    --accent-glow: #a01a31;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(5, 5, 5, 0.85);
    
    --hero-bg: radial-gradient(circle at 50% 50%, #150005 0%, #050505 70%);
    --orb-2-color: rgba(10, 10, 42, 0.4); /* Deep Violet/Blue - Reduced Intensity */
    
    --card-bg: linear-gradient(180deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    --card-hover-bg: linear-gradient(180deg, rgba(30, 10, 15, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
    
    --heading-gradient: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
    --section-heading-gradient: linear-gradient(180deg, #fff, #666);
    
    --input-bg: rgba(255, 255, 255, 0.02);
    --input-border: rgba(255, 255, 255, 0.1);
    --input-text: #ffffff;
    --input-focus-bg: rgba(128, 0, 32, 0.03);
    
    --footer-bg: #000;
    
    --font-heading: 'Cuprum', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-nav: 'Dosis', sans-serif;
    --font-desc: 'Crimson Pro', serif;
    
    --orb-1-bg: radial-gradient(circle, rgba(128, 0, 32, 0.4), transparent 70%); /* Reduced Intensity */
    --orb-3-bg: radial-gradient(circle, rgba(160, 26, 49, 0.15), transparent 60%); /* Reduced Intensity */
}

body.light-mode {
    /* --- Light Mode --- */
    --bg-color: #f8f9fa; /* Lighter white/gray */
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent-color: #a01a31; 
    --accent-glow: #c02a45;
    --glass-bg: rgba(255, 255, 255, 0.6); /* More opaque for light mode glass */
    --glass-border: rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.85);
    
    --hero-bg: radial-gradient(circle at 50% 50%, #ffffff 0%, #f8f9fa 70%); /* Neutral white/gray */
    --orb-2-color: rgba(0,0,0,0); /* Transparent - Remove blue orb */
    --orb-1-bg: none;
    --orb-3-bg: none;
    
    --card-bg: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    --card-hover-bg: linear-gradient(180deg, #fff5f7 0%, #ffffff 100%);
    
    --heading-gradient: linear-gradient(180deg, #1a1a1a 0%, #555555 100%);
    --section-heading-gradient: linear-gradient(180deg, #1a1a1a, #666);
    
    --input-bg: rgba(0, 0, 0, 0.04);
    --input-border: rgba(0, 0, 0, 0.1);
    --input-text: #1a1a1a;
    --input-focus-bg: rgba(160, 26, 49, 0.05);
    
    --footer-bg: #e9ecef;
}

/* --- Footer Split Layout --- */
.footer-content {
    display: flex;
    flex-direction: row; /* Strict row */
    flex-wrap: nowrap; /* Do not wrap on desktop */
    justify-content: space-between;
    align-items: flex-start;
    gap: 200px; /* Increased gap as requested */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.about-card h3 {
    font-family: 'Cuprum', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-left {
    flex: 1; /* Take equal space force side-by-side */
    text-align: left;
    min-width: 0; /* Allow shrinking if needed */
}

.footer-right {
    flex: 1; /* Take equal space force side-by-side */
    text-align: left;
    min-width: 0;
}

.footer-notes {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}


.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 5px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-glow);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* --- Ambient Aurora Background --- */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: var(--bg-color); /* Deep darkness base */
    pointer-events: none;
}

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



body.light-mode {
    /* ... existing light mode vars ... */
    --orb-1-bg: none;
    --orb-3-bg: none;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--orb-1-bg);
    opacity: 0.2; /* Reduced intensity */
    animation-duration: 25s;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: var(--orb-2-color); /* Deep Violet/Blue */
    animation-duration: 30s;
    animation-direction: alternate-reverse;
}

.orb-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--orb-3-bg);
    animation-duration: 35s;
    opacity: 0.2;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    z-index: -1;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

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

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

.brand-font {
    font-family: 'Cuprum', sans-serif;
    font-style: italic;
    font-weight: 700;
}

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

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Smoother transition */
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1), 
                top 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                background 0.4s ease,
                border-radius 0.6s ease;
    backdrop-filter: blur(5px);
    background: transparent;
}

nav.capsule {
    top: 20px;
    width: 90%; 
    max-width: 1000px;
    border-radius: 50px;
    background: var(--nav-bg); 
    /* No border */
    padding: 10px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    backdrop-filter: blur(20px);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: var(--font-nav);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-glow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-primary); /* Use text-primary or accent for better visibility */
    text-shadow: 0 0 10px rgba(128, 0, 32, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        padding: 15px 5%;
        justify-content: space-between;
    }
    
    nav.capsule {
        padding: 10px 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }
    
    .logo {
        z-index: 1003;
    }
}

.theme-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    z-index: 1002;
}

.theme-btn:hover {
    background: var(--glass-bg);
    border-color: var(--accent-color);
    transform: rotate(15deg);
    color: var(--accent-glow);
}

/* --- Hero Section --- */
header#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 100px 20px 0;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content, above background */
    pointer-events: none; /* Let clicks pass through */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-bg);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 900px;
    position: relative;
}

#hero-dynamic-text {
    display: inline-block;
    color: var(--accent-glow);
    -webkit-text-fill-color: var(--accent-glow); /* Override parent transparent fill */
    width: 2.2em; /* Fixed width to accommodate 'HEARD' */
    text-align: left;
    white-space: nowrap;
}

.accent-text {
    font-family: var(--font-desc);
    color: #ffffff; /* Default to white for dark mode */
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 900; /* Max bold */
    font-size: 2rem; /* Significantly larger */
    margin-bottom: 25px;
    display: block;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.6); /* Stronger glow */
}

body.light-mode .accent-text {
    color: #000000; /* Black for light mode */
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}

#hero-intro {
    font-family: var(--font-desc);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

body.light-mode #hero-intro {
    text-shadow: none; /* Remove shadow in light mode for better legibility */
    color: #333; /* Ensure contrast */
    font-weight: 500;
}

#hero-intro .brand-font {
    color: #ffffff;
    font-size: 1.15em;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

body.light-mode #hero-intro .brand-font {
    color: #000000;
    text-shadow: none;
}

#hero-cta-container {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sand Spread / Blur Reveal Animation */
@keyframes sandSpread {
    0% {
        filter: blur(15px);
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        filter: blur(0);
        opacity: 1;
        transform: scale(1);
    }
}

.hero-content .accent-text,
.hero-content h1,
.hero-content p,
.hero-content #hero-cta-container {
    opacity: 0; /* Initially hidden */
    /* animation: sandSpread 2s cubic-bezier(0.2, 1, 0.3, 1) forwards; */
}

/* Staggered Delays */
.hero-content .accent-text { animation-delay: 0.2s; }
.hero-content h1 { animation-delay: 0.6s; }
.hero-content p { animation-delay: 1.2s; }
.hero-content #hero-cta-container { animation-delay: 1.8s; }

/* Premium Buttons */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--accent-color), #400010);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px rgba(128, 0, 32, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    cursor: pointer;
    text-decoration: none; /* Ensure no underline */
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(128, 0, 32, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.3);
}

.cta-btn.secondary {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    box-shadow: none;
}

.cta-btn.secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: white;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* --- Sections Common --- */
section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-align: center;
    background: var(--section-heading-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-family: var(--font-desc);
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.3rem;
    font-weight: 400;
}

/* --- Features (Categories) --- */
.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-category {
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    /* Card Lift Effect */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-category:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.feature-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-category:hover::before {
    opacity: 1;
}

.feature-category h3 {
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-family: 'Cuprum', sans-serif;
    font-weight: 700;
    font-style: italic;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    list-style: none;
}

.feature-list li {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.feature-list li::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
    border-radius: 50%;
}

/* --- Timeline (Process) --- */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
    width: 50%;
    padding: 0 60px; 
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px var(--accent-color);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content h4 {
    color: var(--text-primary);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-style: italic;
    font-family: 'Cuprum', sans-serif;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    /* Force 4 columns on desktop, stack on mobile */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px; /* Reduced gap slightly */
    align-items: stretch;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px 25px; /* Restored original padding */
    border-radius: 20px; /* Restored original radius */
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 0; /* Prevent overflow in grid */
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: var(--card-hover-bg);
}

.pricing-card h3 {
    font-family: 'Cuprum', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #800000; /* Maroon */
    font-weight: 555;
    font-style: italic;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary); /* White/Black based on theme */
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(128, 0, 32, 0.3);
    /* Force LTR for Arabic Symbol to appear on Left */
    direction: ltr;
    unicode-bidi: isolate;
    display: flex;
    justify-content: center;
    gap: 5px;
    white-space: nowrap; /* Keep Custom Quote on one line */
}

.who-for {
    font-style: italic;
    color: #888;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    line-height: 1.4;
}

.pricing-includes {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1; 
}

.pricing-includes li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    padding-left: 25px;
}

.pricing-includes li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* One Time Services - Redesigned as List */
.one-time-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.one-time-card {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    cursor: default;
}

.one-time-card:hover {
    border-color: var(--accent-glow);
    background: rgba(128, 0, 32, 0.1);
    transform: scale(1.05);
}

.one-time-card h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-secondary);
    font-weight: 500;
}

.one-time-card .price {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    background: var(--accent-color);
    padding: 2px 10px;
    border-radius: 12px;
    direction: ltr;
}

/* Mobile Pricing */
@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .features-container {
        grid-template-columns: 1fr;
    }
}

/* --- FAQ & Form --- */
/* --- FAQ & Form --- */
.about-card, .faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}
.about-card { 
    padding: 40px; 
    margin-bottom: 30px; /* Added gap as requested */
}
.faq-item { 
    margin-bottom: 15px; 
    overflow: hidden; /* Restored for accordion animation */
}

.faq-question {
    padding: 25px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--text-secondary);
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 25px;
    max-height: 500px; /* Sufficient max-height */
}

/* Premium Form */
.contact-form {
    max-width: 800px; /* Wider for 2-col layout */
    margin: 0 auto;
    background: var(--nav-bg);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle glass border */
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05); /* Inner highlight */
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay */
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(128, 0, 32, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group { 
    margin-bottom: 30px; 
    position: relative;
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
    padding: 0 5px;
}

.form-group input { 
    width: 100%; 
    padding: 18px 20px;
    /* padding-top: 25px; Removed for cleaner look, label floats on top border or above */
    background: var(--input-bg); 
    border: 1px solid var(--input-border); 
    color: var(--input-text); 
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: var(--font-body);
}

.form-group input:focus { 
    outline: none; 
    border-color: var(--accent-color); 
    background: var(--input-focus-bg);
    box-shadow: 0 0 0 4px rgba(128, 0, 32, 0.1); /* Subtle ring */
}

/* Floating Label Logic - Adjusted */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
    opacity: 0;
    pointer-events: none;
}

/* Submit Button Specifics */
.submit-btn {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

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

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Mobile Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 40px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- Footer --- */
footer {
    padding: 50px 5% 30px;
    background: var(--footer-bg);
    border-top: 1px solid var(--glass-border);
    margin-top: 0;
    color: #666;
    text-align: center;
}



.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    font-size: 1.5rem;
    color: #888;
}

.footer-socials a:hover {
    color: white;
    transform: scale(1.1);
}

/* --- Modal (Dark/Premium) --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader-text {
    color: #fff; /* or var(--accent-color) */
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-content {
    background: #0a0e14; /* Dark blue/black hint like image */
    padding: 60px 50px;
    border-radius: 8px;
    text-align: left; /* Image has left-aligned-ish text */
    border: 1px solid #1a2230;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.modal-content h2 {
    font-style: italic; /* "SNAPLY's Got Your Enquiry!" in image looks italic */
    color: white;
    margin-bottom: 20px;
    font-size: 2rem;
    text-align: center;
}

.modal-content p {
    color: #a0a0a0;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
}

#modal-socials {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

#modal-socials i {
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

#modal-socials i:hover {
    color: white;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 3.5rem; }
    
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; text-align: left !important; }
    .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot { left: 11px; right: auto; }
}

/* --- Pricing Toggle --- */
.pricing-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.currency-label {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.currency-label.active {
    color: var(--accent-color);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid var(--glass-border);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 3px;
    background-color: var(--text-primary);
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Light mode adjustment for toggle track */
body.light-mode .slider {
    background-color: rgba(0, 0, 0, 0.1);
}
