@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --color-primary: #e06506;          /* Orange */
    --color-primary-hover: #c45604;
    --color-secondary: #00a03a;        /* Green */
    --color-maroon: #680517;           /* Matrimony Group classic maroon */
    --color-text-dark: #333333;
    --color-text-muted: #757575;
    --color-bg-light: #f5f5f5;
    --color-white: #ffffff;
    --color-border: #e0e0e0;

    --font-family-base: 'Lato', sans-serif;
    --font-family-serif: 'Playfair Display', serif;
    --font-family-body: 'Inter', sans-serif;
    
    --color-hero-red: #E63946;
    --color-hero-accent: #F8EDEB;
    --hero-overlay-grad: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.2) 100%);
}

body {
    font-family: var(--font-family-base) !important;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
    color: var(--color-text-dark);
}

/* Buttons */
.btn-marathi {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-family-base);
    font-weight: 700;
    border: none;
    border-radius: 3px; 
    padding: 10px 24px;
    text-transform: uppercase;
    font-size: 14px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-marathi:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    text-decoration: none;
}

.btn-marathi-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 3px;
    padding: 10px 24px;
    font-weight: 700;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.btn-marathi-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

/* Header */
.marathi-header {
    background-color: var(--color-white);
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.marathi-nav-link {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 15px;
}

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

/* Form Controls */
.marathi-form-control {
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 12px;
    font-family: var(--font-family-base);
    font-size: 14px;
    color: var(--color-text-dark);
    width: 100%;
}

.marathi-form-control:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 1px rgba(224, 101, 6, 0.2);
}

/* Utility */
.text-theme-primary {
    color: var(--color-primary) !important;
}
.text-theme-secondary {
    color: var(--color-secondary) !important;
}
.bg-theme-primary {
    background-color: var(--color-primary) !important;
}
.bg-theme-light {
    background-color: var(--color-bg-light) !important;
}
.bg-white {
    background-color: var(--color-white) !important;
}
/* Feature Cards Premium */
.feature-card-premium {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(111, 15, 27, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

.feature-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px -10px rgba(224, 101, 6, 0.15);
}

.feature-card-premium .feature-icon-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(224, 101, 6, 0.05) 0%, transparent 70%);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card-premium:hover .feature-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

.feature-card-premium .feature-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.feature-card-premium h4 {
    color: var(--color-maroon);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.feature-card-premium p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.trusted-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-maroon);
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
}

.trusted-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Localized Banner Section */
.marathi-banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 240px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
}

.marathi-banner-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.marathi-banner-card .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.marathi-banner-card:hover .banner-img {
    transform: scale(1.1);
}

.marathi-banner-card .banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    color: white;
    text-align: left;
    transition: all 0.3s ease;
}

.marathi-banner-card:hover .banner-overlay {
    padding-bottom: 2rem;
}

.marathi-banner-card .banner-text {
    font-size: 22px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.marathi-banner-card .banner-subtext {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Language Dropdown Styling */
.marathi-nav-link .las.la-globe {
    color: var(--color-primary);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    font-size: 14px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    color: var(--color-text-dark);
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(224, 101, 6, 0.05);
    color: var(--color-primary);
}

.dropdown-item.active {
    background-color: var(--color-primary) !important;
    color: white !important;
}

.badge-soft-primary {
    background-color: rgba(224, 101, 6, 0.1);
    color: var(--color-primary);
}

/* Ambassador Banner Refined Styles (Elite Redesign - Scaled Down) */
.ambassador-text-overlay {
    color: #ffffff;
    z-index: 2;
    padding: 2rem 0; /* Reduced padding */
}

.ambassador-badge {
    margin-bottom: 1rem; /* Reduced margin */
    text-align: left;
}

.ambassador-badge img {
    height: 40px; /* Reduced icon height */
    margin-bottom: 0.25rem;
}

.ambassador-badge p {
    font-size: 0.75rem; /* Reduced font size */
    opacity: 0.8;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.ambassador-title {
    font-size: 2.2rem; /* Reduced from 2.8rem */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem; /* Reduced margin */
    color: #ffffff;
}

.ambassador-subtitle {
    font-size: 1rem; /* Reduced from 1.2rem */
    font-weight: 400;
    margin-bottom: 1.5rem; /* Reduced from 3rem */
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

.ambassador-feature-unit {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem; /* Reduced from 2.5rem */
}

.ambassador-icon-circle {
    width: 45px; /* Reduced from 55px */
    height: 45px; /* Reduced from 55px */
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ambassador-icon-circle i {
    font-size: 18px; /* Reduced from 22px */
    color: #680517;
}

.ambassador-feature-info h4 {
    font-size: 1.15rem; /* Reduced from 1.35rem */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.1rem;
}

.ambassador-feature-info p {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.2;
}

.ambassador-pill-btn {
    display: inline-flex;
    align-items: center;
    background: #d48344;
    color: #ffffff;
    padding: 0.7rem 2.8rem; /* Reduced padding */
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem; /* Reduced from 1.15rem */
    text-transform: capitalize;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    text-decoration: none;
    margin-top: 1rem;
}

.ambassador-pill-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    background: #ffffff;
    color: #680517;
}

.ambassador-pill-btn i {
    margin-left: 0.6rem;
}

@media (max-width: 991px) {
    .ambassador-text-overlay {
        position: relative !important;
        background: #680517;
        padding: 3rem 1.5rem;
    }
    .ambassador-title {
        font-size: 1.8rem;
    }
}

/* --- Modern 2026 Hero Redesign --- */

.modern-hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.modern-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hero-overlay-grad);
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Offset for navbar */
}

/* Typography & Content Layout */
.hero-headline {
    font-family: var(--font-family-serif);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.5rem;
    max-width: 600px;
    animation: fadeUp 1s ease forwards;
}

.hero-subtext {
    font-family: var(--font-family-body);
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: fadeUp 1s ease 0.2s forwards;
    opacity: 0;
}

/* Modern Pill Buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    background: var(--color-hero-red);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.3);
    margin-right: 1.5rem;
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn-hero-primary:hover {
    transform: scale(1.05);
    background: #d62839;
    box-shadow: 0 15px 35px rgba(230, 57, 70, 0.4);
    color: #ffffff;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeUp 1s ease 0.4s forwards;
    opacity: 0;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* Glassmorphism Register Card */
.glass-register-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    color: #fff;
    animation: fadeUp 1s ease 0.3s forwards;
    opacity: 0;
}

.card-title-modern {
    font-family: var(--font-family-body);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

/* Modern Form Inputs */
.modern-input-group {
    margin-bottom: 1.5rem;
}

.modern-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: block;
    color: rgba(255, 255, 255, 0.8);
}

.modern-form-control {
    background: #ffffff !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    color: #333 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease !important;
    width: 100%;
}

.modern-form-control:focus {
    outline: none !important;
    border-color: var(--color-hero-red) !important;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15) !important;
}

.btn-modern-register {
    background: var(--color-hero-red);
    color: #fff;
    width: 100%;
    height: 52px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(230, 57, 70, 0.3);
}

.btn-modern-register:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(230, 57, 70, 0.4);
}

.card-footer-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 1.5rem;
}

/* =========================================
   Jeevansathi Style Layout Additions
   ========================================= */

/* Navbar */
.nav-jeevansathi-solid {
    background: #ffffff;
    width: 100%;
    z-index: 1050;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f2f2f2;
}

.nav-jeevansathi-link {
    color: #4a4a4a !important;
    font-size: 15px;
    font-weight: 600;
    margin: 0 1rem;
    font-family: var(--font-family-body);
    transition: color 0.3s;
}

.nav-jeevansathi-link:hover {
    color: var(--color-hero-red) !important;
}

.nav-jeevansathi-login {
    color: var(--color-hero-red) !important;
    font-weight: 600;
    margin-right: 1.5rem;
    font-size: 15px;
}

.btn-jeevansathi-register {
    background: var(--color-hero-red);
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s;
}

.btn-jeevansathi-register:hover {
    background: #c9303d;
}

/* Hero Section */
.jeevansathi-hero-section {
    position: relative;
    width: 100%;
    min-height: 550px;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.jeevansathi-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.jeevansathi-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-headline-js {
    font-family: var(--font-family-serif);
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtext-js {
    font-family: var(--font-family-body);
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 400;
    opacity: 0.9;
}

/* Registration Card Overlapping */
.hero-overlapping-form-wrapper {
    position: relative;
    /* Pulling the card down to overlap the next section, but from the bottom of the hero */
    margin-top: -80px; 
    margin-bottom: 20px;
    z-index: 10;
}

.hero-overlapping-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px 30px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hero-overlapping-form .h-45px {
    height: 48px !important;
}

.hero-overlapping-form label {
    font-size: 11px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.hero-overlapping-form .form-control {
    background: #f9f9f9 !important;
    border: 1px solid #e0e0e0 !important;
    color: #333 !important;
    font-size: 14px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.hero-overlapping-form .form-control:focus {
    border-color: var(--color-hero-red) !important;
}

.hero-overlapping-form .input-group-text {
    border-radius: 4px 0 0 4px !important;
}

.hero-overlapping-form .border-left-0 {
    border-radius: 0 4px 4px 0 !important;
}

.btn-js-register {
    background: #d9475c; 
    color: #ffffff !important;
    width: 100%;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-js-register:hover {
    background: #c9303d;
}

/* Bringing People Together Section */
.bringing-people-section {
    background: #ffffff;
    position: relative;
    z-index: 5;
}

.bpt-title-wrap {
    text-align: left;
}

.bpt-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: #777;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.bpt-title {
    font-size: 28px;
    font-family: var(--font-family-body);
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.bpt-title span {
    color: #d9475c;
}

.bpt-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff0f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #d9475c;
}

.bpt-feature-icon img, .bpt-feature-icon i {
    font-size: 24px;
}

.bpt-feature-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.bpt-feature-desc {
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* Responsive Overlap */
@media (max-width: 991.98px) {
    .jeevansathi-hero-section {
        min-height: 400px !important;
    }
    .hero-overlapping-form-wrapper {
        margin-top: -40px; 
    }
    .hero-overlapping-form {
        padding: 20px;
    }
}

/* Transparent Navbar Over Hero */
.nav-modern-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-modern-brand {
    font-family: var(--font-family-serif);
    color: #fff !important;
    font-size: 1.75rem;
    font-weight: 800;
}

.nav-modern-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 15px;
    font-size: 0.95rem;
}

.nav-modern-link:hover {
    color: #fff !important;
}

.btn-nav-login {
    color: #fff !important;
    font-weight: 700;
    margin-right: 20px;
}

.btn-nav-register {
    background: var(--color-hero-red);
    color: #fff !important;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-nav-register:hover {
    transform: scale(1.05);
    background: #d62839;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .modern-hero-section {
        height: auto;
        padding: 120px 0 60px;
        text-align: center;
    }
    .hero-headline {
        font-size: 3rem;
        margin: 0 auto 1.5rem;
    }
    .hero-subtext {
        margin: 0 auto 2.5rem;
    }
    .btn-hero-primary {
        margin-right: 0;
        margin-bottom: 1rem;
        width: 100%;
    }
    .btn-hero-secondary {
        width: 100%;
    }
    .glass-register-card {
        margin-top: 3rem;
    }
}

/* 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: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    color: #FFF;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.whatsapp-float .my-float {
    margin-top: 2px;
}

@media screen and (max-width: 767px) {
    .whatsapp-float {
        bottom: 85px; /* Above mobile bottom nav */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}
