/* Variables & Reset */
:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #1e293b;
    /* Lighter Navy */
    --accent-color: #d4af37;
    /* Gold/Brass */
    --accent-hover: #b5952f;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --white: #ffffff;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold {
    color: var(--accent-color);
}

.center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--white);
    color: var(--white);
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    border-color: var(--text-dim);
    color: var(--text-dim);
}

.btn-outline:hover {
    border-color: var(--white);
    color: var(--white);
}

.btn-text {
    background: none;
    color: var(--text-dim);
    text-decoration: underline;
    margin-top: 15px;
    border: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

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

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

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    /* Reduced from fixed 100vh to allow less gap */
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    /* Add padding to prevent content touching edges */
    background: url('https://images.unsplash.com/photo-1558002038-1091a166111c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Section General */
.section {
    padding: 40px 0;
    /* Reduced from 60px */
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    /* Center vertically so they look balanced */
}

.about-image {
    /* Removed absolute positioning constraints */
    width: 100%;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-dim);
}

.features-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.features-list i {
    margin-right: 10px;
}

.about-img {
    width: 80%;
    height: auto;
    /* Natural height, no cropping */
    display: block;
    margin: 0 auto;
    /* Center the image horizontally */
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Services Section */
.services {
    background-color: var(--secondary-color);
}

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

.service-card {
    background-color: var(--primary-color);
    padding: 40px 30px;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a202c 100%);
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary-color);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.quote-header {
    text-align: center;
    margin-bottom: 40px;
}

.quote-header p {
    color: var(--text-dim);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.option-card {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: 0.3s;
    display: block;
}

.option-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.option-card input {
    display: none;
}

.option-card input:checked+.icon+.label,
.option-card input:checked+.icon {
    color: var(--accent-color);
}

.option-card:has(input:checked) {
    border-color: var(--accent-color);
    background-color: rgba(212, 175, 55, 0.05);
}

.option-card .icon {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dim);
    transition: 0.3s;
}

.option-card .label {
    font-weight: 600;
    color: var(--text-light);
    transition: 0.3s;
}

.btn-group {
    display: flex;
    justify-content: space-between;
}

/* Result Step */
.result-content {
    text-align: center;
}

.result-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.price-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin: 20px 0;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 30px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Reviews */
.reviews-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.review-card {
    min-width: 300px;
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dim);
}

.review-author {
    font-weight: 700;
    color: var(--white);
}

.google-badge {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2rem;
    font-weight: 600;
}

.google-badge i {
    color: #4285F4;
    margin-right: 10px;
}

/* Footer */
.footer {
    background-color: #020617;
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-details p {
    margin-bottom: 10px;
    color: var(--text-dim);
}

.contact-details i {
    width: 25px;
    color: var(--accent-color);
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-dim);
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-top: 20px;
    }

    .nav-links {
        position: fixed;
        right: -250px;
        /* Hide off-screen */
        top: 0;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.98);
        width: 250px;
        height: 100vh;
        text-align: left;
        padding: 80px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 20px;
        opacity: 0;
        transform: translateX(20px);
        transition: 0.3s ease forwards;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger animation for links */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Above the menu */
    }

    .quote-container {
        padding: 20px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        /* Left align buttons */
    }

    .hero-btns .btn {
        width: auto;
        /* Not full width */
        min-width: 220px;
        /* Minimum width for touch targets */
        text-align: center;
    }

    .btn-secondary {
        margin-left: 0;
        /* Reset margin for vertical stack */
    }

    .btn-group {
        flex-direction: column-reverse;
        gap: 15px;
    }

    .btn-group .btn {
        width: 100%;
        text-align: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 10% auto;
    padding: 40px;
    border: 1px solid var(--accent-color);
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    color: var(--text-dim);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

.modal h2 {
    color: var(--accent-color);
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.modal-body p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

.my-float {
    margin-top: 2px; /* Visual adjustment */
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}