:root {
    --primary: #8B5A2B;
    --secondary: #D4AF37;
    --light: #F5F5F5;
    --dark: #2C1810;
    --accent: #6B4423;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary) !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    color: var(--dark) !important;
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary) !important;
}

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

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(43, 24, 16, 0.7), rgba(43, 24, 16, 0.7)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto 30px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hindi-text {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 20px 0;
    color: var(--secondary);
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

/* Background Colors */
.services-section {
    background-color: var(--light);
}

.benefits-section {
    background-color: var(--light);
}

.faq-section {
    background-color: var(--light);
}

.about-section {
    background-color: white;
}

.testimonials-section {
    background-color: white;
}

.contact-section {
    background-color: white;
}

/* Cards */
.service-card, .benefit-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
}

.service-card:hover, .benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.service-title, .benefit-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description, .benefit-description {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.service-features li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 3px;
    background-color: white;
}

.service-features li.checked:before {
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* About Section */
.about-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: 100%;
    height: auto;
    object-fit: cover;
}

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

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.expertise-tag {
    background-color: rgba(139, 90, 43, 0.1);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Video Section */
.video-section {
    background: linear-gradient(rgba(43, 24, 16, 0.8), rgba(43, 24, 16, 0.8)), url('https://images.unsplash.com/photo-1518837695005-2083093ee35b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 15px 0;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text:before {
    content: """;
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.client-name {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.client-location {
    color: #777;
    font-size: 0.9rem;
}

/* FAQ */
.faq-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-header {
    background-color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-header:hover {
    background-color: rgba(139, 90, 43, 0.05);
}

.faq-header h5 {
    margin: 0;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header h5:after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: var(--transition);
}

.faq-header[aria-expanded="true"] h5:after {
    transform: rotate(180deg);
}

.faq-card .card-body {
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Contact */
.contact-section {
    background-color: white;
    position: relative;
}

.contact-bg {
    background: linear-gradient(rgba(139, 90, 43, 0.9), rgba(139, 90, 43, 0.9)), url('../assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
}

.contact-content {
    position: relative;
    z-index: 1;
}

.contact-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-top: 50px;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 90, 43, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-heading {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(139, 90, 43, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Security and Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.legal-content h1 {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.legal-content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
}

.legal-content h3 {
    color: var(--dark);
    margin: 20px 0 10px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.legal-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 100px;
        background-attachment: scroll;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .service-card, .benefit-card {
        padding: 20px;
    }
    
    .contact-form {
        margin-top: 30px;
        padding: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-button {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .legal-content {
        padding: 120px 20px 40px;
    }

    .video-section,
    .contact-bg {
        background-attachment: scroll;
    }
}