/* =========================================
   1. RESET & VARIABLES
   ========================================= */
:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-main: #ffffff;
    --text-muted: #a0a0b0;

    /* Branding Colors - Gold/Premium */
    --primary-hue: 45;
    /* Goldish */
    --primary: #dcb14a;
    --primary-gradient: linear-gradient(135deg, #f8dda5 0%, #dcb14a 100%);
    --secondary-gradient: linear-gradient(135deg, #2a2a35 0%, #15151a 100%);

    /* Spacing */
    --container-width: 1200px;
    --nav-height: 80px;

    /* Effects */
    --glass-bg: rgba(10, 10, 15, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(220, 177, 74, 0.2);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* =========================================
   2. UTILITIES & COMPONENTS
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #000;
    /* Dark text on gold looks premium */
    box-shadow: 0 4px 15px rgba(220, 177, 74, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 177, 74, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.btn-block {
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(135deg, #f8dda5 0%, #dcb14a 25%, #fff 50%, #dcb14a 75%, #f8dda5 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: gradient-pan 4s linear infinite;
}

@keyframes gradient-pan {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* Scroll Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
    /* Smoother cubic bezier */
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

/* 3D Tilt Context */
.service-card,
.testimonial-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
}

/* =========================================
   3. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    height: 70px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: var(--transition);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding-top: var(--nav-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Abstract Background Orbs */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.7; /* Increased from 0.4 */
    filter: saturate(1.1);
}

.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.4), rgba(10, 10, 15, 0.8)); /* Reduced opacity */
    z-index: 1;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 177, 74, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    z-index: 2;
}

.orb-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
    animation: float 10s infinite ease-in-out;
}

.orb-2 {
    width: 400px;
    height: 400px;
    bottom: 0;
    left: -100px;
    background: radial-gradient(circle, rgba(74, 100, 220, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    animation: float 15s infinite ease-in-out reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

/* =========================================
   5. SERVICES SECTION
   ========================================= */
.services {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--secondary-gradient);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(220, 177, 74, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: rgba(220, 177, 74, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.learn-more {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.learn-more:hover {
    gap: 10px;
}

/* =========================================
   6.5. SERVICES LIST & WHO WE ARE
   ========================================= */
.service-list {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    padding-left: 0;
}

.service-list li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.who-we-are {
    padding: 6rem 0;
    background: var(--bg-dark);
    /* Contrast with Services */
}

.visual-shape-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 177, 74, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border: 1px solid rgba(220, 177, 74, 0.2);
    position: relative;
}

.visual-shape-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px dashed rgba(220, 177, 74, 0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* =========================================
   6.8. TESTIMONIALS & SLIDER
   ========================================= */
.testimonials {
    padding: 6rem 0;
    background: var(--bg-darker);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    overflow: hidden;
    /* Hide overflow from slider */
}

/* Slider Container */
.testimonials-slider {
    width: 100%;
    position: relative;
    padding: 1rem 0;
}

/* Slider Track - The moving part */
.testimonials-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    /* Animation will be handled by JS for seamless cloning or CSS if simple */
    /* For seamless infinite scroll with CSS, we need duplicated content. 
       Let's stick to simple flex for now and let JS handle the movement or add animation here directly if we duplicate content.
       Since we only have 4 items, let's set animation for now but it might snap if not duplicated. 
       Actually, let's use the animation approach and we will duplicate items in JS.
    */
    animation: scroll 30s linear infinite;
}

.testimonials-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 4 - 2rem * 4));
    }

    /* Move by total width of original items */
}

.testimonial-card {
    background: var(--secondary-gradient);
    border: var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    width: 350px;
    /* Fixed width for slider */
    flex-shrink: 0;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    /* Auto height based on content usually better for slider cards but equal height looks good */
    min-height: 300px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 177, 74, 0.3);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.client-info {
    margin-top: auto;
}

.client-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary);
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   7. ABOUT SECTION (Adjustment)
   ========================================= */
.about {
    padding: 6rem 0;
    background: var(--secondary-gradient);
    /* Slight contrast */
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.about-features li i {
    color: var(--primary);
}

.about-visual {
    position: relative;
    height: 400px;
    background: var(--secondary-gradient);
    border-radius: 20px;
    border: var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-gradient);
    padding: 2rem;
    border-radius: 15px;
    color: #000;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.stats-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
    color: #000;
}

.stats-card p {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

/* =========================================
   7. CONTACT SECTION
   ========================================= */
.contact {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item a,
.contact-item p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.contact-form-wrapper {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: var(--glass-border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    height: 120px;
    resize: none;
}

/* =========================================
   8. FOOTER
   ========================================= */
.footer {
    padding: 4rem 0 2rem;
    border-top: var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
    color: var(--text-main);
}

.footer-social a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav-links,
    .navbar .btn-primary {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        padding: 2rem;
        border-bottom: var(--glass-border);
    }

    .about-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}