/* Premium Stylesheet for Court Marriage by Area in Delhi (Location) Page */

/* --- Design Tokens --- */
:root {
    --color-primary: #961b36;          /* Logo Maroon */
    --color-primary-dark: #5c0a1d;     /* Dark Logo Maroon */
    --color-accent-orange: #d4af37;    /* Logo Gold */
    --color-accent-green: #25d366;     /* WhatsApp Green */
    --color-green-hover: #1ebd5b;
    --color-orange-hover: #c49e2b;
    --color-brown-banner: #fff5f6;     /* Maroon Banner */
    
    --color-bg-light: #fafafc;         /* Soft Gray-Blue */
    --color-white: #ffffff;
    --color-border: #f1e2e5;
    
    --text-main: #2d3748;              /* Dark Slate */
    --text-muted: #718096;             /* Slate Gray */
    --text-light: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 25px -5px rgba(150, 27, 54, 0.05), 0 8px 16px -6px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 35px -5px rgba(150, 27, 54, 0.08), 0 12px 20px -8px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Premium Gradients */
    --gradient-hero: linear-gradient(135deg, #fff5f6 0%, #fffbf2 50%, #f4f7f6 100%);
    --gradient-primary: linear-gradient(135deg, #961b36 0%, #5c0a1d 100%);
    --gradient-gold: linear-gradient(135deg, #e5c158 0%, #c49e2b 100%);
    --gradient-whatsapp: linear-gradient(135deg, #25d366 0%, #1ebd5b 100%);
    --gradient-light-green: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
    --gradient-banner: linear-gradient(135deg, #fff5f6 0%, #fef8eb 100%);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

ul {
    list-style: none;
}

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

/* --- Common UI Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-xs {
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.btn-large {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

.btn-orange {
    background: var(--gradient-gold);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(196, 158, 43, 0.25);
}
.btn-orange:hover {
    background: linear-gradient(135deg, #c49e2b 0%, #a3801a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(196, 158, 43, 0.35);
}

.btn-green {
    background: var(--gradient-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}
.btn-green:hover {
    background: linear-gradient(135deg, #1ebd5b 0%, #159c47 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-green-solid {
    background: var(--gradient-whatsapp);
    color: var(--color-white);
}
.btn-green-solid:hover {
    background: linear-gradient(135deg, #1ebd5b 0%, #159c47 100%);
}

.btn-orange-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}
.btn-orange-outline:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.btn-white-solid {
    background-color: var(--color-white);
    color: var(--text-main);
    border: 1px solid var(--color-border);
}
.btn-white-solid:hover {
    background-color: var(--color-primary-light);
}

.btn-blue-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}
.btn-blue-outline:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}
.btn-white:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

/* Sections Base */
.light-bg {
    background-color: var(--color-bg-light);
    padding: 5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.section-tag {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ab5800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}

/* --- Top Utility Bar --- */
.top-bar {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.top-link:hover {
    color: var(--color-accent-orange);
}

.green-text {
    color: var(--color-accent-green);
    font-weight: 600;
}
.green-text:hover {
    color: var(--color-white);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* --- 2. Main Header / Navigation --- */
.main-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: start;
}

.logo-area .logo {
    height: 48px;
    width: auto;
}

.logo-info {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    justify-self: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    justify-self: end;
}

/* --- Sub-header bar --- */
.sub-header-bar {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.sub-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sub-header-title {
    font-weight: 600;
    color: var(--color-primary-dark);
}

.sub-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* --- 5. Hero Section --- */
.hero-section {
    background: var(--gradient-hero);
    color: var(--text-main);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-left .tagline {
    display: inline-block;
    color: #ab5800;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.hero-left h1 {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.hero-feature-card span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.hero-feature-card .icon {
    width: 24px;
    height: 24px;
    color: #f39c12;
    flex-shrink: 0;
}

/* Quick Answers Card */
.quick-answers-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 1px solid var(--color-border);
}

.most-searched-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background-color: var(--color-accent-green);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.quick-answers-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.quick-answers-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-answers-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0f6f8;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    color: var(--color-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.quick-answers-list li a:hover {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.quick-answers-list li a .chevron-icon {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

/* --- 6. WhatsApp Document Check Section --- */
.whatsapp-check-section {
    padding: 5rem 0;
    background-color: var(--color-bg-light);
}

.whatsapp-card-container {
    background: var(--gradient-light-green);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(37, 211, 102, 0.15);
}

.whatsapp-left .orange-tag {
    display: inline-block;
    color: #ab5800;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.whatsapp-left h2 {
    color: var(--color-primary-dark);
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.whatsapp-left .description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    color: var(--color-primary-dark);
    font-weight: 700;
    font-size: 0.95rem;
}

.badge-sub {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 2px;
}

/* Consultation Form Card */
.consultation-form-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-xl);
}

.consultation-form-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.consultation-form-card .form-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: #f8fafc;
    transition: var(--transition);
}

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

.btn-green-submit {
    width: 100%;
    background: var(--gradient-whatsapp);
    color: var(--color-white);
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.btn-green-submit:hover {
    background: linear-gradient(135deg, #1ebd5b 0%, #159c47 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.phone-link-btn {
    display: block;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-accent-orange);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.phone-link-btn:hover {
    color: var(--color-orange-hover);
    text-decoration: underline;
}

.confidential-text {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    line-height: 1.4;
}

/* --- 7. Localities Section --- */
.localities-grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.locality-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.locality-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
}

.locality-card h4 {
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.85rem;
    font-weight: 800;
}

.locality-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* --- 8. Bottom CTA Bar --- */
.bottom-cta-banner {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 4rem 0;
}

.bottom-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.cta-text-area {
    max-width: 700px;
}

.cta-tag {
    display: inline-block;
    color: #f39c12;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.bottom-cta-content h3 {
    color: var(--color-white);
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.bottom-cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.cta-action-area {
    display: flex;
    gap: 1rem;
}

.cta-action-area .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

/* --- 9. Footer --- */
.main-footer {
    background-color: #041720;
    color: rgba(255, 255, 255, 0.7);
    padding: 4.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 3rem;
    padding-bottom: 3.5rem;
}

.footer-brand .logo-area {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-brand .logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.footer-brand .logo-area:hover .logo {
    transform: scale(1.05);
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--color-white);
}

.brand-desc {
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-details p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-column h5 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-column ul li a:hover {
    color: var(--color-accent-orange);
}

.sub-domain-link {
    color: var(--color-accent-orange) !important;
    font-weight: 600;
}

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

/* --- 10. Fixed Floating Action Buttons --- */
.floating-actions {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1.25rem;
    border-radius: 30px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.float-btn:hover {
    transform: translateY(-3px);
}

.float-wa {
    background-color: #25d366;
}
.float-wa:hover {
    background-color: #1ebd58;
}

.float-call {
    background-color: var(--color-primary);
}
.float-call:hover {
    background-color: var(--color-primary-dark);
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .quick-answers-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .whatsapp-card-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .localities-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        display: flex;
        justify-content: space-between;
    }

    .nav-menu {
        display: none;
    }
    
    .hero-left h1 {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .whatsapp-card-container {
        padding: 2rem;
    }
    
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .utility-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bottom-cta-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cta-action-area {
        width: 100%;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-features-grid {
        grid-template-columns: 1fr;
    }
    
    .localities-grid-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .floating-actions {
        bottom: 1rem;
        right: 1rem;
    }
}

@media (max-width: 600px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
}
