/* 1. ROOT VARIABLES & THEME */
:root {
    --saffron: #FF9933;
    --maroon: #800000;
    --gold: #D4AF37;
    --black: #1a1a1a;
    --white: #ffffff;
    --off-white: #fffaf0;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 2. RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--off-white);
    color: var(--black);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* 3. SLIM NAVIGATION (Smaller Size) */
.top-nav {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 0; /* Control size via flex height */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.logo-img {
    width: 45px; /* Smaller Logo */
    height: auto;
    transition: var(--transition);
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    color: var(--maroon);
    font-size: 1.3rem; /* Slimmer font */
    line-height: 1;
}

.logo-text span {
    font-size: 0.55rem;
    letter-spacing: 1.2px;
    color: var(--saffron);
    font-weight: bold;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: var(--maroon);
    font-weight: 600;
    margin-left: 20px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.8rem; /* Smaller links */
    position: relative;
}

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

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

/* 4. HERO SECTION (With On-Load Animation) */
.hero-section {
    background: radial-gradient(circle at center, #3d0000 0%, #000000 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
    color: var(--white);
    position: relative;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease forwards;
}

.brand-name {
    color: var(--saffron);
    display: block;
}

.hero-text-content p {
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
}

/* Circular Image Pulse Animation */
.circular-frame {
    width: 380px;
    height: 380px;
    background: var(--white);
    border-radius: 50%;
    border: 8px solid var(--gold);
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
    animation: zoomIn 1s ease forwards;
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aura-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(255, 153, 51, 0.2) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 4s infinite ease-in-out;
}

/* 5. ABOUT SECTION (Rounded Rectangle) */
.section-padding {
    padding: 100px 0;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.rounded-rect-frame {
    width: 360px;
    height: 460px;
    border-radius: 25px;
    border: 6px solid var(--gold);
    background: var(--white);
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.rounded-rect-frame:hover {
    transform: rotate(-2deg);
}

.himalayan-quote {
    border-left: 4px solid var(--saffron);
    padding: 10px 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--maroon);
    background: rgba(255, 153, 51, 0.05);
    border-radius: 0 10px 10px 0;
}

/* 6. POOJA GRID (Section Colors & Hover) */
#poojas {
    background: var(--white);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--maroon);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: 60px;
    font-style: italic;
}

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

.pooja-card {
    background: var(--off-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    position: relative;
}

.pooja-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--maroon);
    border-radius: 0 0 20px 20px;
    transition: var(--transition);
    z-index: 1;
}

.pooja-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow);
}

.pooja-card:hover::after {
    height: 5px;
}

.pooja-icon {
    width: 65px;
    height: 65px;
    background: var(--white);
    color: var(--maroon);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 7. CONTACT & FOOTER */
.footer {
    background: var(--maroon);
    color: var(--white);
    padding: 80px 0 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: var(--saffron);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1rem;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--saffron);
    color: var(--maroon);
    transform: translateY(-5px);
}

/* 8. SMALLER TOGGLE MENU & MOBILE FIXES */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 22px; /* Smaller Toggle */
    height: 16px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--maroon);
    transition: var(--transition);
    border-radius: 5px;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100%;
        background: var(--white);
        transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        padding: 50px 0;
        text-align: center;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        top: 70px;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links li a {
        margin: 0;
        font-size: 1.1rem;
    }

    .hero-flex, .about-flex {
        flex-direction: column;
        text-align: center;
    }

    .circular-frame {
        width: 280px;
        height: 280px;
    }

    .rounded-rect-frame {
        width: 260px;
        height: 340px;
    }
}

/* 9. KEYFRAME ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}
/* --- BUTTON DESIGNS (Home Section) --- */
.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-call {
    background: var(--maroon);
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px; /* Capsule shape */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--maroon);
    transition: all 0.3s ease;
}

.btn-call:hover {
    background: transparent;
    color: var(--saffron);
    border-color: var(--saffron);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- POOJA SECTION RECTANGLE BOXES --- */
.pooja-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pooja-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px; /* Rectangular design */
    text-align: center;
    border: 1px solid #eee;
    border-top: 5px solid var(--gold); /* Top Accent */
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pooja-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--saffron);
}

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

/* --- ABOUT SECTION IMAGE RESIZING --- */
.about-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.rounded-rect-frame {
    width: 350px;  /* Fixed Width */
    height: 450px; /* Fixed Height */
    border-radius: 20px;
    border: 8px solid var(--gold);
    overflow: hidden; /* Important for resizing */
    box-shadow: 20px 20px 0px rgba(128, 0, 0, 0.1); /* Decorative Shadow */
}

.rounded-rect-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Forces image to fit rectangle perfectly */
    object-position: top center;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .rounded-rect-frame {
        width: 280px;
        height: 380px;
    }
}
/* --- ABOUT SECTION STYLING --- */
.about-bg {
    background-color: #fffaf0; /* Sacred off-white */
    position: relative;
    overflow: hidden;
}

.subtitle-tag {
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: block;
}

/* Image Rectangle Logic */
.about-image-side {
    position: relative;
    z-index: 2;
}

.rounded-rect-frame {
    width: 380px;
    height: 480px;
    border-radius: 20px;
    border: 8px solid var(--gold);
    overflow: hidden;
    position: relative;
    z-index: 5;
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.rounded-rect-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* PERFECT RESIZING: No stretching */
    object-position: center;
    transition: transform 0.5s ease;
}

.rounded-rect-frame:hover img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Decorative Gold Square behind the image */
.rect-decoration {
    position: absolute;
    top: 40px;
    left: -30px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 20px;
    z-index: 1;
}

/* --- MODERN READ MORE BUTTON (Liquid Fill Effect) --- */
.read-more-container {
    margin-top: 40px;
}

.modern-read-more {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 35px;
    color: var(--maroon);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--maroon);
    border-radius: 5px;
    overflow: hidden; /* Needed for fill effect */
    transition: all 0.4s ease;
    z-index: 1;
}

.modern-read-more span {
    z-index: 2;
}

.modern-read-more i {
    z-index: 2;
    transition: transform 0.4s ease;
}

/* The Liquid Fill Background */
.modern-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--maroon);
    transition: all 0.4s ease;
    z-index: -1;
}

/* Rollover Hover Effect */
.modern-read-more:hover {
    color: var(--white);
}

.modern-read-more:hover::before {
    left: 0;
}

.modern-read-more:hover i {
    transform: translateX(8px);
    color: var(--saffron);
}

/* Mobile Fixes */
@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
        text-align: center;
    }
    .rounded-rect-frame {
        width: 280px;
        height: 380px;
    }
    .rect-decoration {
        display: none;
    }
    .modern-read-more {
        width: 100%;
        justify-content: center;
    }
}

/* --- CONTACT SECTION RESPONSIVE DESIGN --- */
.contact-section-bg {
    background: linear-gradient(to bottom, #ffffff, #fffaf0);
}

.contact-flex-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.form-wrapper {
    width: 100%;
    max-width: 800px; /* Limits width on desktop for readability */
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(128, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.main-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input Grouping */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.input-group label {
    font-weight: 600;
    color: var(--maroon);
    font-size: 0.9rem;
}

.input-group input, 
.input-group textarea {
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    background: #fdfdfd;
}

.input-group input:focus, 
.input-group textarea:focus {
    border-color: var(--saffron);
    outline: none;
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 153, 51, 0.1);
}

/* Desktop: Side-by-Side Inputs */
.input-row {
    display: flex;
    gap: 20px;
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Mobile Devices (Phones) */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .form-wrapper {
        padding: 20px;
        border-radius: 15px;
    }

    /* Stack Email and Phone on Mobile */
    .input-row {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* --- BUTTON DESIGN (Responsive) --- */
.btn-submit-modern {
    background: var(--maroon);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-submit-modern:hover {
    background: var(--saffron);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 153, 51, 0.3);
}

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

.btn-submit-modern:hover i {
    transform: translate(5px, -5px);
}
/* --- SUCCESS COUNTER STYLES --- */
.counter-section {
    background: var(--maroon);
    padding: 40px 0;
    color: white;
}

.counter-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 30px;
}

.count-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--saffron);
    display: block;
}

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

/* --- TESTIMONIALS DESIGN --- */
.testimonials-bg {
    background-color: var(--off-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.testi-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: var(--transition);
}

.testi-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255, 153, 51, 0.2);
    position: absolute;
    top: 20px;
    right: 20px;
}

.testi-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.testi-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testi-info strong {
    display: block;
    color: var(--maroon);
    font-size: 1rem;
}

.testi-info span {
    font-size: 0.8rem;
    color: var(--saffron);
    font-weight: 600;
    text-transform: uppercase;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .counter-grid { flex-direction: column; }
    .testimonial-grid { grid-template-columns: 1fr; }
}

/* --- TESTIMONIAL SERVICE BADGE --- */
.service-badge {
    display: inline-block;
    background: rgba(128, 0, 0, 0.1);
    color: var(--maroon);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid var(--maroon);
}

.testi-card:hover .service-badge {
    background: var(--maroon);
    color: var(--white);
    transition: 0.3s;
}

/* Ensure testimonials display as a neat grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.verified-icon {
    color: #1da1f2; /* Professional Blue */
    font-size: 0.9rem;
}.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.verified-icon {
    color: #1da1f2; /* Professional Blue */
    font-size: 0.9rem;
}
/* --- TESTIMONIAL ENHANCEMENTS --- */
.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-badge.love {
    background: rgba(255, 105, 180, 0.1);
    color: #ff1493;
    border: 1px solid #ff1493;
}

.service-badge.protective {
    background: rgba(0, 0, 0, 0.05);
    color: var(--black);
    border: 1px solid var(--black);
}

.verified-icon {
    color: #1da1f2; /* Professional Blue */
    font-size: 0.9rem;
}

.testi-card:hover .service-badge.love {
    background: #ff1493;
    color: white;
}

.testi-card:hover .service-badge.protective {
    background: var(--maroon);
    color: white;
    border-color: var(--maroon);
}
/* --- SUBMIT FEEDBACK BUTTON --- */
.submit-feedback-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 153, 51, 0.05);
    border-radius: 15px;
    border: 1px dashed var(--saffron);
}

.submit-feedback-wrapper p {
    font-weight: 600;
    color: var(--maroon);
    margin-bottom: 15px;
}

.btn-open-feedback {
    background: var(--maroon);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-open-feedback:hover {
    background: var(--saffron);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

/* --- MODAL STYLES --- */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 20px;
}

.feedback-modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

.modal-header {
    background: var(--maroon);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-body {
    padding: 25px;
}

.modal-body .form-group {
    margin-bottom: 15px;
}

.modal-body label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--maroon);
}

.modal-body input, 
.modal-body select, 
.modal-body textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.btn-submit-feedback {
    width: 100%;
    background: var(--saffron);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit-feedback:hover {
    background: var(--maroon);
}
/* Ensure the button wrapper is visible */
.submit-feedback-wrapper {
    display: block !important;
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 153, 51, 0.08);
    border: 1px dashed var(--saffron);
    border-radius: 15px;
}

/* Modal is hidden by default */
.feedback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* This hides it */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it is on top of everything */
}

/* When this class is added via JS, the modal shows */
.feedback-modal.active {
    display: flex !important;
}
/* --- BUTTON BOX --- */
.testi-submit-box {
    display: block !important;
    visibility: visible !important;
    margin: 50px auto 0;
    text-align: center;
    padding: 30px;
    background: #fff8f0;
    border: 2px dashed #FF9933;
    border-radius: 15px;
    max-width: 600px;
}

.testi-trigger-btn {
    background: #800000;
    color: #ffffff;
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 15px;
    transition: 0.3s;
}

.testi-trigger-btn:hover {
    background: #FF9933;
    transform: scale(1.05);
}

/* --- OVERLAY (The Pop-up) --- */
.testi-popup-overlay {
    position: fixed !important;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none; /* Controlled by JS */
    justify-content: center;
    align-items: center;
    z-index: 999999 !important; /* Top of everything */
}

/* SHOW CLASS */
.testi-popup-overlay.show-now {
    display: flex !important;
}

.testi-popup-content {
    background: #ffffff;
    width: 90%;
    max-width: 450px;
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.testi-popup-header {
    background: #800000;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testi-popup-close {
    font-size: 2rem;
    cursor: pointer;
}

.testi-popup-form {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.testi-popup-form input, .testi-popup-form select, .testi-popup-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.testi-submit-final {
    background: #FF9933;
    color: #fff;
    padding: 15px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}
/* --- FOOTER STYLING --- */
.footer {
    background: var(--maroon);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    color: var(--saffron);
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

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

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

/* --- FLOATING ACTION BUTTONS --- */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    transition: 0.3s;
}

.whatsapp-float { background: #25d366; }
.call-float { background: var(--maroon); border: 2px solid var(--gold); }

.float-btn:hover {
    transform: scale(1.1);
}

/* Pulse Animation */
.pulse {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    z-index: -1;
    animation: float-pulse 2s infinite;
}

.whatsapp-float .pulse { background: #25d366; }
.call-float .pulse { background: var(--maroon); }

@keyframes float-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 20px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}