/* Google Fonts Configuration */
:root {
    --primary-color: #d4af37; /* Subtle Gold */
    --primary-light: #f5d67b;
    --dark-bg: #05070a; /* Deep Black */
    --dark-surface: #11151c;
    --light-bg: #ffffff;
    --light-surface: #f4f6f9;
    --text-dark: #b0bac9;
    --text-light: #333333;
    --heading-font: 'Outfit', sans-serif;
    --body-font: 'Inter', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: initial; /* Lenis handles smooth scroll */
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 span {
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }

.dark-section {
    background-color: var(--dark-bg);
    color: #fff;
    padding: 6rem 0;
}

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

.light-section {
    background-color: var(--light-bg);
    color: var(--text-light);
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn i { margin-left: 8px; }

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: #fff;
    color: var(--dark-bg);
}

.glow-btn {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 7, 10, 0.85); /* Dark Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.nav-logo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    display: block;
    flex-shrink:0;
}

.logo-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.nav-links li a {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

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

.nav-links li a:hover::after { width: 100%; }
.nav-links li a:hover { color: var(--primary-color); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.call-btn {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.call-btn i { color: var(--primary-color); margin-right: 5px; }
.call-btn:hover { color: var(--primary-color); }

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 99;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition-fast);
}

.floating-whatsapp:hover { transform: scale(1.1); }

/* Hero Section */
.hero {
    position: relative;
    min-height:100vh;
    display: flex;
    align-items: center;
    padding-top: 3rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 800px;
}

.subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.hero-desc {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.hero-cta a {
    opacity: 1 !important;
    visibility: visible !important;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Journey Section */

.section-header { 
    margin-bottom: 4rem;
    position: relative;
    z-index: 20;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}
.journey {
    scroll-margin-top: 100px;
    overflow: visible !important;
}

.journey-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.journey-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--light-surface);
    transform: translateX(-50%);
    border-radius: 5px;
}

.journey-step {
    position: relative;
    width: 50%;
    padding: 2rem 4rem;
}

.step-left { left: 0; text-align: right; }
.step-right { left: 50%; }

.step-marker {
    position: absolute;
    top: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 8px #fff;
}

.step-left .step-marker { right: -25px; }
.step-right .step-marker { left: -25px; }

.step-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition-fast);
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

/* Services Horizontal Scroll Layout */
.services-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 3rem 0;
}

.services-scroll-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem 1rem;
    position: relative;
    scrollbar-width: none; 
    -ms-overflow-style: none;
}

.services-scroll-container::-webkit-scrollbar {
    display: none;
}

.service-card-horizontal {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: #11151c;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
    cursor: grab;
    opacity: 0;
    transform: translateX(50px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-horizontal:active {
    cursor: grabbing;
}

.service-card-horizontal:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
    background: #151a22;
    border-color: var(--primary-color);
}

.service-card-horizontal h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    align-self: flex-start;
}

.service-card-horizontal p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Navigation Dots */
.services-nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 0.4;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .service-card-horizontal {
        flex: 0 0 80%;
    }
}

/* Projects Section */
.projects-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-item {
    flex: 0 0 calc(33.333% - 1.4rem);
    min-width: 350px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    scroll-snap-align: center;
}

.projects-nav-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}


.project-img {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-item:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.project-item:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay .tag {
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.project-overlay h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.project-overlay p { font-size: 0.9rem; color: #ddd; }

/* Trust & Transparency */
.trust-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.trust-content { flex: 1; }
.trust-image-box { flex: 0.8; }

.trust-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.trust-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.trust-list i {
    font-size: 2rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.trust-list h4 { color: #fff; font-size: 1.2rem; margin-bottom: 0.5rem; }

.trust-card-anim {
    background: linear-gradient(135deg, var(--dark-surface), rgba(17,21,28,0.5));
    border: 1px solid rgba(212,175,55,0.2);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

.trust-card-anim::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.trust-card-anim h3 { font-size: 2rem; margin-bottom: 1.5rem; color: var(--primary-color); }
.trust-card-anim ul { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.trust-card-anim li { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: #fff; }
.trust-card-anim li i { color: var(--primary-color); }

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--light-surface);
    padding: 2.5rem;
    border-radius: 8px;
}

.stars { color: var(--primary-color); margin-bottom: 1rem; }
.review { font-size: 1.05rem; font-style: italic; margin-bottom: 1.5rem; color: #444; }

.client-info strong { display: block; color: var(--dark-bg); font-family: var(--heading-font); font-size: 1.1rem; }
.client-info span { font-size: 0.85rem; color: #777; }


/* Contact Form Section */
.contact-section {
    background: linear-gradient(135deg, #11151c, var(--dark-bg));
    padding: 6rem 0;
    color: #fff;
}

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

.contact-info h2 { font-size: 3rem; line-height: 1.1; margin-bottom: 1rem; }
.contact-info h2 span { color: var(--primary-color); }
.contact-info > p { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 3rem; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.method { display: flex; align-items: flex-start; gap: 1.5rem; }
.method i { font-size: 1.8rem; color: var(--primary-color); }
.method h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.method p { color: var(--text-dark); font-size: 0.95rem; }

.contact-form-wrapper {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    color: var(--dark-bg);
}

.contact-form-wrapper h3 { font-size: 1.8rem; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; color: #555; }
.form-group input, .form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.submit-btn { width: 100%; padding: 1.2rem; font-size: 1.1rem; margin-top: 1rem; border: none; }
.form-note { font-size: 0.8rem; color: #777; text-align: center; margin-top: 1rem; }
.form-note i { color: #25D366; }

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content { text-align: center; }
.footer-brand h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.footer-brand h2 span { color: var(--primary-color); }
.footer-brand p { color: #888; margin-bottom: 2rem; }

.social-links { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem;}
.social-links a {
    width: 40px; height: 40px;
    background: #111; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #fff; transition: var(--transition-fast);
}
.social-links a:hover { background: var(--primary-color); color: #000; }

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}


/* Responsive */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .project-item { flex: 0 0 calc(50% - 1rem); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: block; }
    
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .hero-cta { flex-direction: column; }
    
    .journey-line { left: 30px; }
    .journey-step { width: 100%; padding: 0 0 2rem 60px !important; left: 0 !important; text-align: left; }
    .step-marker { left: 5px !important; right: auto !important; }

    .project-item { flex: 0 0 100%; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .trust-flex { flex-direction: column; }
}

/* Appointment Popup styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 10, 0.85); /* Matches dark backdrop matching existing dark glassmorphism */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #ffffff; /* White theme */
    width: 90%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    transform: translateY(30px);
    transition: var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.popup-close:hover {
    color: var(--primary-color);
}

.popup-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.popup-content .form-group {
    margin-bottom: 1.25rem;
}

.popup-content .form-group label {
    display: block;
    color: #555;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.popup-content .form-group input, 
.popup-content .form-group select {
    width: 100%;
    padding: 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.popup-content .form-group input:focus, 
.popup-content .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
    background-color: #ffffff;
}

/* Submit button specific to popup */
.popup-submit {
    width: 100%;
    background-color: var(--primary-color) !important;
    color: #ffffff !important; /* Forces white text on yellow button */
    border: none;
    padding: 1.1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.popup-submit:hover {
    background-color: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* Mobile responsive for popup */
@media (max-width: 480px) {
    .popup-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    .popup-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    .popup-content .form-group {
        margin-bottom: 1rem;
    }
    .popup-content .form-group input, 
    .popup-content .form-group select {
        padding: 0.8rem;
    }
}
/* Step 5 Journey Center Popup */
#step5-image-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    max-width: 90%;
    background: #fff;
    padding: 5px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 9999;
    display: none;
    height: auto;
}

#step5-image-popup.show {
    display: block;
}

#step5-image-popup img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

#step5-popup-close {
    #step5-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    color: black;
    border: 2px solid black;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
}


/* FORCE horizontal projects layout */
.projects-wrapper {
    width: 100%;
    overflow: hidden;
}

#project-gallery {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 2rem !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    padding: 1rem 0 !important;
}

#project-gallery .project-item {
    display: block !important;
    flex: 0 0 32% !important;
    min-width: 350px !important;
    max-width: 400px !important;
    height: 450px !important;
}



@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #05070a;

        display: none;   /* hidden by default */
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        gap: 20px;
        z-index: 9999;
    }

    .nav-links.active {
        display: flex;   /* THIS shows menu */
    }
}