@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

/* Mangal Matrimony Premium System Root vars */
:root {
    --brand-primary: #8B1E2D;
    /* Deep royal red */
    --brand-primary-light: #ab2538;
    --brand-dark-red: #5E1220;
    /* Dark wine red */
    --brand-gold: #C9A227;
    /* Premium gold */
    --brand-gold-light: #E2C86B;
    /* Soft gold */
    --brand-cream: #FBF6EE;
    /* Cream background */
    --brand-ivory: #FFFDF8;
    /* Warm ivory */
    --text-dark: #2D1F1B;
    /* Text dark */
    --text-muted: #6B5B55;
    /* Muted paragraph tone */

    /* Legacy variables mapping for older components */
    --primary: #8B1E2D;
    --hov-primary: #5E1220;
    --soft-primary: rgba(139, 30, 45, 0.05);
    --secondary: #C9A227;
    --soft-secondary: rgba(201, 162, 39, 0.1);
}

* {
    font-family: 'Lora', serif;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    background-color: var(--brand-ivory);
    line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.heading-font *,
[class*="display-"],
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
}

/* Premium utility classes */
.bg-premium-dark {
    background-color: var(--brand-dark-red) !important;
    color: white !important;
}

.bg-premium-red {
    background-color: var(--brand-primary) !important;
    color: white !important;
}

.bg-premium-cream {
    background-color: var(--brand-cream) !important;
}

.bg-premium-ivory {
    background-color: var(--brand-ivory) !important;
}

.text-premium-gold {
    color: var(--brand-gold) !important;
}

.text-premium-dark {
    color: var(--text-dark) !important;
}

.text-premium-red {
    color: var(--brand-primary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

/* Effects */
.shadow-premium {
    box-shadow: 0 10px 40px rgba(94, 18, 32, 0.08) !important;
    /* Soft luxurious shadow with red tint */
}

/* Redefined Glassmorphism */
.glassmorphism-premium {
    background: rgba(251, 246, 238, 0.90);
    /* Cream base */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Premium Buttons */
.btn-premium {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark-red) 100%);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(139, 30, 45, 0.2);
}

.btn-premium:hover {
    background: linear-gradient(135deg, var(--brand-dark-red) 0%, var(--brand-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 30, 45, 0.3);
}

.btn-premium-outline {
    background: transparent;
    color: inherit;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid var(--brand-primary);
    transition: all 0.3s ease;
}

.btn-premium-outline:hover {
    background: var(--brand-soft-gold);
    color: var(--brand-dark-red) !important;
    border-color: var(--brand-gold);
}

.btn-gold {
    background: linear-gradient(135deg, var(--brand-gold) 0%, #B8860B 100%);
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.4);
}

/* Override existing brand colors */
.bg-primary-grad,
.btn-primary {
    background: var(--brand-primary) !important;
    border-color: var(--brand-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--brand-dark-red) !important;
    border-color: var(--brand-dark-red) !important;
}

.text-primary {
    color: var(--brand-primary) !important;
}

/* Hover Cards */
.premium-hover-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.premium-hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(94, 18, 32, 0.08);
    /* Wine red soft shadow */
}

/* Floral Ornaments Base */
.floral-ornament {
    opacity: 0.05;
    pointer-events: none;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Subtle floral grid/pattern overlay */
.bg-floral-pattern {
    position: relative;
    background-color: var(--brand-ivory);
}

.bg-floral-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url('data:image/svg+xml;utf8,<svg width="400" height="400" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg"><g fill="%23C9A227" fill-rule="evenodd" opacity="0.6"><path d="M100 0c0 55.228-44.772 100-100 100V0h100zm100 0c0 55.228 44.772 100 100 100V0H200zm0 200c0-55.228 44.772-100 100-100v100H200zm0 0c0-55.228-44.772-100-100-100v100h100zm-100 0c0 55.228-44.772 100-100 100v-100h100zm200 0c0 55.228 44.772 100 100 100v-100H300zm0 100c0-55.228 44.772-100 100-100v100H300zm-200 0c0-55.228-44.772-100-100-100v100h100zM200 200c0 55.228-44.772 100-100 100V200h100z"/></g></svg>');
    background-size: 300px 300px;
    z-index: 0;
}

/* Form Styles Premium */
.form-control-premium {
    background: var(--brand-ivory);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
    padding: 12px 18px;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-control-premium:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.15);
    outline: none;
}

.form-label-premium {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.bootstrap-select>.dropdown-toggle,
.bootstrap-select .btn,
.form-control-premium.aiz-selectpicker+.btn {
    background: var(--brand-ivory) !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
    border-radius: 8px !important;
    height: auto !important;
    padding: 12px 18px !important;
    font-family: 'Lora', serif !important;
}

.bootstrap-select.show>.dropdown-toggle {
    border-radius: 8px !important;
}

.bootstrap-select .dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid rgba(201, 162, 39, 0.2) !important;
    box-shadow: 0 15px 40px rgba(94, 18, 32, 0.12) !important;
    overflow: hidden;
    padding: 0;
    margin-top: 4px !important;
}

.bootstrap-select .dropdown-menu .inner.show {
    border-radius: 12px;
}

.bootstrap-select .dropdown-menu .dropdown-item {
    padding: 10px 18px;
    transition: all 0.2s ease;
}

.bootstrap-select .dropdown-menu .dropdown-item.active,
.bootstrap-select .dropdown-menu .dropdown-item:active {
    background-color: var(--brand-primary) !important;
}

/* Focus and Outline Fixes */
.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select .dropdown-toggle:active,
.bootstrap-select.show .dropdown-toggle {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(201, 162, 39, 0.15) !important;
    border-color: var(--brand-gold) !important;
    border-radius: 8px !important;
}

.bootstrap-select .dropdown-menu {
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(201, 162, 39, 0.3) !important;
}

.bootstrap-select .dropdown-menu .inner,
.bootstrap-select .dropdown-menu .inner.show,
.bootstrap-select .dropdown-menu ul {
    border-radius: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}




/* Slider Essentials */
.hero-slider-fade .carousel-item {
    transition: opacity 1.5s ease-in-out;
}

/* Ornate elements */
.ornament-corner {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.ornament-corner-tl {
    top: -20px;
    left: -20px;
    transform: rotate(0deg);
}

/* Mangal Matrimony Premium Text Logo Styling */
.mm-text-logo {
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mm-brand-wrap {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    line-height: 1;
}

.mm-brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    line-height: 1.3;
    padding-bottom: 5px;
    margin-bottom: -5px;
}

@media (min-width: 768px) {
    .mm-brand-title {
        font-size: 34px;
    }
}

.mm-brand-mangal {
    background: linear-gradient(to right, #8f1d2c 0%, #b32633 50%, #c83a3a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-right: 6px;
}

.mm-brand-matrimony {
    background: linear-gradient(to right, #c89b2c 0%, #d7af45 50%, #e0bf61 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mm-brand-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 8px;
    font-weight: 600;
    font-style: italic;
    color: var(--brand-primary);
    text-transform: none;
    letter-spacing: 0.5px;
    opacity: 1;
    margin-top: 6px;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .mm-brand-tagline {
        font-size: 11px;
        letter-spacing: 1.2px;
    }
}

/* Hover refinement */
.mm-brand-wrap:hover .mm-text-logo {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* Password Visibility Toggle Styling */
.password-toggle-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--brand-gold);
    z-index: 10;
    font-size: 1.2rem;
    padding: 0 5px;
    transition: color 0.3s ease;
}

.password-toggle-icon:hover {
    color: var(--brand-primary);
}

.premium-password-input {
    padding-right: 50px !important; /* Make room for the eye icon */
}

/* Independent Hero Text Shift for Desktop */
@media (min-width: 992px) {
    .hero-text-shift {
        margin-top: -100px;
    }
}

/* =====================================================
   PREMIUM HOMEPAGE ENHANCEMENTS
   ===================================================== */

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* --- Section Label --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.section-label-line {
    width: 40px;
    height: 2px;
    background: var(--brand-gold);
    display: inline-block;
}
.section-label-text {
    font-family: 'Lora', serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-gold);
}

/* --- Section Title --- */
.section-title {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    font-size: 42px;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 16px;
}
.section-subtitle {
    font-family: 'Lora', serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
}
.section-subtitle.centered {
    margin-left: auto;
    margin-right: auto;
}
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold), transparent);
    margin-top: 20px;
    margin-bottom: 0;
}
.section-divider.centered {
    margin-left: auto;
    margin-right: auto;
}

/* --- Stats Ticker Band --- */
.stats-band {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark-red) 100%);
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.08"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}
.stat-item {
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.15);
}
.stat-number {
    font-family: 'Playfair Display', serif !important;
    font-size: 42px;
    font-weight: 700 !important;
    color: var(--brand-gold-light);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-family: 'Lora', serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
@media (max-width: 767px) {
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .stat-item {
        margin-bottom: 28px;
    }
    .stat-number {
        font-size: 36px;
    }
}

/* --- About Section Enhancements --- */
.about-image-group {
    position: relative;
    padding: 10px 10px 10px 0;
}
.about-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(94, 18, 32, 0.15);
    position: relative;
    z-index: 2;
}
.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.about-image-accent {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 180px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    border: 5px solid var(--brand-ivory);
    box-shadow: 0 15px 40px rgba(94, 18, 32, 0.12);
    z-index: 3;
}
.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-dot-grid {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--brand-gold) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.3;
    z-index: 1;
    border-radius: 8px;
}
.about-experience-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--brand-gold), #B8860B);
    color: #fff;
    padding: 18px 24px;
    border-radius: 12px;
    text-align: center;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3);
}
.about-experience-badge .badge-number {
    font-family: 'Playfair Display', serif !important;
    font-size: 36px;
    font-weight: 700 !important;
    line-height: 1;
    display: block;
}
.about-experience-badge .badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}
@media (max-width: 991px) {
    .about-image-main img {
        height: 380px;
    }
    .about-experience-badge {
        right: 0;
        top: 10px;
    }
    .about-image-accent {
        width: 140px;
        height: 140px;
    }
}

/* --- Horizontal Process Stepper --- */
.process-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 30px 0 0;
    margin: 0 auto;
    max-width: 100%;
}
.process-stepper::before {
    content: '';
    position: absolute;
    top: 64px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), var(--brand-gold), transparent);
    opacity: 0.25;
    z-index: 0;
}
.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}
.process-step-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(201, 162, 39, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.process-step-icon i {
    font-size: 34px;
    color: var(--brand-gold);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}
.process-step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark-red));
    color: #fff;
    font-family: 'Playfair Display', serif !important;
    font-size: 13px;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 30, 45, 0.3);
    z-index: 4;
}
.process-step-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 17px;
    font-weight: 700 !important;
    color: var(--text-dark);
    margin-bottom: 10px;
    margin-top: 4px;
}
.process-step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 190px;
    margin: 0 auto;
}
.process-step:hover .process-step-icon {
    transform: translateY(-6px);
    border-color: var(--brand-gold);
    background: #fff;
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.18);
}
.process-step:hover .process-step-icon i {
    transform: scale(1.1);
    color: var(--brand-primary);
}

@media (max-width: 991px) {
    .process-stepper {
        flex-direction: column;
        align-items: center;
        gap: 36px;
        padding-top: 10px;
    }
    .process-stepper::before {
        display: none !important;
    }
    .process-step {
        max-width: 340px;
    }
}

/* --- Glass Feature Cards (Why Trust Us) --- */
.feature-card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 162, 39, 0.12);
    border-radius: 20px;
    padding: 44px 32px 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
    height: 100%;
    margin-top: 16px;
}
.feature-card-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.feature-card-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(94, 18, 32, 0.1);
    border-color: rgba(201, 162, 39, 0.25);
}
.feature-card-glass:hover::before {
    opacity: 1;
}
.feature-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12) 0%, rgba(201, 162, 39, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.4s ease;
    border: 1px solid rgba(201, 162, 39, 0.15);
}
.feature-icon-wrap i {
    font-size: 34px;
    color: var(--brand-gold);
    transition: all 0.3s ease;
}
.feature-card-glass:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--brand-gold), #B8860B);
    border-color: transparent;
    transform: scale(1.05);
}
.feature-card-glass:hover .feature-icon-wrap i {
    color: #fff;
}
.feature-card-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 20px;
    font-weight: 700 !important;
    color: var(--text-dark);
    margin-bottom: 12px;
}
.feature-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Testimonial / Success Stories Section --- */
.stories-section.py-7 {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
}
@media (min-width: 992px) {
    .stories-section.py-lg-9 {
        padding-top: 3rem !important;
        padding-bottom: 2rem !important;
    }
}
.stories-section .mb-6 {
    margin-bottom: 1.5rem !important;
}
.stories-section .row.align-items-end {
    align-items: center !important;
}
.stories-section .col-lg-5 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.stories-section .btn-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.stories-section .btn-premium i {
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    position: relative;
    top: 0;
}
.stories-section {
    background: linear-gradient(180deg, var(--brand-cream) 0%, var(--brand-ivory) 100%);
    position: relative;
    overflow: hidden;
}
.stories-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="80" height="80" viewBox="0 0 80 80" xmlns="http://www.w3.org/2000/svg"><path d="M40 0C40 22.1 22.1 40 0 40C22.1 40 40 57.9 40 80C40 57.9 57.9 40 80 40C57.9 40 40 22.1 40 0Z" fill="%23C9A227" opacity="0.03"/></svg>');
    background-size: 80px 80px;
    pointer-events: none;
}
.story-card-premium {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(94, 18, 32, 0.06);
    transition: all 0.4s ease;
    border: 1px solid rgba(201, 162, 39, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.story-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(94, 18, 32, 0.12);
}
.story-card-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}
.story-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.story-card-premium:hover .story-card-image img {
    transform: scale(1.05);
}
.story-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(255,255,255,0.8));
    pointer-events: none;
}
.story-card-body {
    padding: 28px 28px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.story-card-names {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px;
    font-weight: 700 !important;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.story-card-title {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.story-card-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-gold);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.story-card-link:hover {
    color: var(--brand-primary);
    text-decoration: none;
    gap: 10px;
}

/* --- CTA Premium Banner --- */
.cta-premium-banner {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #6D1524 50%, var(--brand-dark-red) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.cta-premium-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-width="0.5" opacity="0.05"/><circle cx="50" cy="50" r="25" fill="none" stroke="white" stroke-width="0.3" opacity="0.04"/></svg>');
    background-size: 100px 100px;
    pointer-events: none;
}
.cta-floating-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.15);
    pointer-events: none;
    animation: floatRing 8s ease-in-out infinite;
}
.cta-floating-ring-1 {
    width: 300px; height: 300px;
    top: -100px; right: -50px;
    animation-delay: 0s;
}
.cta-floating-ring-2 {
    width: 200px; height: 200px;
    bottom: -60px; left: -40px;
    animation-delay: 3s;
}
.cta-floating-ring-3 {
    width: 150px; height: 150px;
    top: 40%; left: 10%;
    animation-delay: 5s;
    border-color: rgba(255,255,255,0.05);
}
@keyframes floatRing {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
.cta-icon-badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(201, 162, 39, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: pulseGlow 3s ease-in-out infinite;
}
.cta-icon-badge i {
    font-size: 44px;
    color: var(--brand-gold-light);
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.1); }
    50% { box-shadow: 0 0 0 20px rgba(201, 162, 39, 0); }
}

/* --- Hero Floating Elements --- */
.hero-float-element {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.08;
}
.hero-float-1 {
    width: 200px; height: 200px;
    top: 15%; left: 5%;
    border: 2px solid var(--brand-gold);
    border-radius: 50%;
    animation: heroFloat 10s ease-in-out infinite;
}
.hero-float-2 {
    width: 100px; height: 100px;
    bottom: 20%; left: 15%;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: heroFloat 8s ease-in-out infinite 2s;
}
.hero-float-3 {
    width: 60px; height: 60px;
    top: 30%; right: 5%;
    background: rgba(201, 162, 39, 0.15);
    border-radius: 50%;
    animation: heroFloat 7s ease-in-out infinite 4s;
}
@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -15px) scale(1.05); }
    66% { transform: translate(-8px, 10px) scale(0.95); }
}

/* --- Hero Subheading Typewriter --- */
.hero-tag {
    display: inline-block;
    font-family: 'Lora', serif;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-gold-light);
    margin-bottom: 20px;
    padding: 8px 20px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 30px;
    background: rgba(201, 162, 39, 0.08);
}

/* --- Section Wave Divider (hidden for clean hero→stats transition) --- */
.wave-divider {
    display: none;
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}
.wave-divider-top {
    top: -1px;
    bottom: auto;
    transform: rotate(180deg);
}

/* --- Premium Registration Card Header --- */
.reg-card-header {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark-red) 100%);
    padding: 24px 28px;
    border-radius: 16px 16px 0 0;
    text-align: center;
}
.reg-card-header h2 {
    color: #fff !important;
    font-size: 22px;
    margin-bottom: 4px;
}
.reg-card-header p {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    margin-bottom: 0;
}
.reg-card-body {
    padding: 28px;
    background: rgba(255,255,255,0.95);
    border-radius: 0 0 16px 16px;
}

/* --- Stats Inset in Success Stories --- */
.story-stats-row {
    display: flex;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201, 162, 39, 0.15);
}
.story-stat-item {
    flex: 1;
    text-align: center;
    padding: 24px 16px;
    position: relative;
}
.story-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(201, 162, 39, 0.2);
}
.story-stat-number {
    font-family: 'Playfair Display', serif !important;
    font-size: 32px;
    font-weight: 700 !important;
    color: var(--brand-gold-light);
    line-height: 1;
    margin-bottom: 6px;
}
.story-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

/* --- About List Checkmarks --- */
.about-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}
.about-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}
.about-features-list li i {
    color: var(--brand-gold);
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* --- Responsive Typography --- */
@media (max-width: 991px) {
    .section-title {
        font-size: 34px;
    }
    .stat-number {
        font-size: 34px;
    }
}
@media (max-width: 575px) {
    .section-title {
        font-size: 28px;
    }
    .section-subtitle {
        font-size: 15px;
    }
    .feature-card-glass {
        padding: 30px 24px;
    }
    .story-card-image {
        height: 200px;
    }
    .cta-premium-banner {
        padding: 60px 0;
    }
}
.hover-text-white:hover, .hover-text-white:focus, .hover-text-white:active {
    color: white !important;
}
