:root {
    --saffron: #0ea5e9;
    --saffron-deep: #0284c7;
    --white: #FFFFFF;
    --navy: #1A3C8B;
    --navy-deep: #102758;
    --green: #138808;
    --green-deep: #0E6606;
    --ivory: #F0F9FF;
    --ink: #22262E;
    --ink-soft: #5B6270;
    --line: #E8E2D6;
    --shadow: 0 10px 30px rgba(26, 60, 139, 0.08);
    --shadow-lg: 0 20px 50px rgba(26, 60, 139, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
    --ff-en-display: 'Poppins', sans-serif;
    --ff-en-body: 'Inter', sans-serif;
    --ff-mr-display: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    --ff-mr-body: 'Noto Sans Devanagari', 'Mukta', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-en-body);
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.lang-mr {
    font-family: var(--ff-mr-body);
}

h1,
h2,
h3,
h4,
.display {
    font-family: var(--ff-en-display);
    font-weight: 700;
}

body.lang-mr h1,
body.lang-mr h2,
body.lang-mr h3,
body.lang-mr h4,
body.lang-mr .display {
    font-family: var(--ff-mr-display);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

:focus-visible {
    outline: 3px solid var(--green);
    outline-offset: 2px;
}

/* ---------- Paithani signature border (used as section divider) ---------- */
.paithani-border {
    height: 14px;
    width: 100%;
    background-image: repeating-linear-gradient(135deg, var(--saffron) 0 10px, var(--green) 10px 20px, var(--navy) 20px 30px, var(--white) 30px 32px);
    opacity: .9;
}

.paithani-border.thin {
    height: 6px;
}

/* ---------- Navbar ---------- */
/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.page-sub .navbar,
.navbar.scrolled {
    background: rgba(16, 39, 88, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: .2px;
}

.logo .mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--white), var(--saffron) 70%);
    border: 2px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy-deep);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-menu a {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    font-size: .97rem;
    position: relative;
    padding: 4px 0;
    transition: color 0.25s;
}

.nav-menu a:hover {
    color: var(--white);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--saffron);
    transition: width .25s;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .55);
    border-radius: 30px;
    padding: 4px;
    border: 1px solid rgba(26, 60, 139, .15);
}

.lang-switch button {
    padding: 6px 12px;
    border-radius: 24px;
    font-weight: 700;
    font-size: .85rem;
    background: transparent;
    color: var(--navy-deep);
}

.lang-switch button.active {
    background: var(--navy);
    color: var(--white);
}

/* Google Translate widget theming */
#google_translate_element {
    display: inline-block;
    vertical-align: middle;
}

#google_translate_element .goog-te-gadget {
    font-family: var(--ff-en-body) !important;
    font-size: 0 !important;
    color: transparent !important;
}

#google_translate_element .goog-te-gadget-simple {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 1px solid rgba(26, 60, 139, 0.2) !important;
    border-radius: 30px !important;
    padding: 8px 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 42px !important;
    /* Matches navbar button height profile */
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}

#google_translate_element .goog-te-gadget-simple:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: var(--navy) !important;
    box-shadow: 0 4px 12px rgba(26, 60, 139, 0.08) !important;
}

#google_translate_element .goog-te-gadget-simple .goog-te-menu-value {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--navy-deep) !important;
    font-family: var(--ff-en-body) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
}

/* Remove default vertical border separator and google icons inside translate widget */
#google_translate_element .goog-te-gadget-simple span {
    border-left: none !important;
}

#google_translate_element .goog-te-gadget-simple img {
    display: none !important;
}

#google_translate_element .goog-te-menu-value span:nth-child(3) {
    display: none !important;
    /* Hide vertical separator if any */
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate iframe {
    display: none !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 30px;
    font-weight: 600;
    font-size: .92rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(26, 60, 139, .25);
}

.btn-navy:hover {
    background: var(--green);
    transform: translateY(-2px);
}

.btn-saffron, .btn-skyblue {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
    color: var(--white);
    box-shadow: 0 8px 18px rgba(14, 165, 233, .35);
}

.btn-saffron:hover, .btn-skyblue:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(14, 165, 233, .45);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: 6px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
}

/* ---------- Hero (full-bleed image with overlaid text) ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(rgba(16, 39, 88, 0.78), rgba(16, 39, 88, 0.65)),
        url('../assets/banners/Banner-1.jpeg');
    background-size: cover;
    background-position: center 20%;
    padding: 120px 0 80px;
}

/* ---------- Subpage Hero ---------- */
.subpage-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--navy-deep), var(--navy));
    color: var(--white);
    text-align: center;
}

.subpage-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 12px;
}

.subpage-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero .eyebrow {
    background: rgba(255, 255, 255, .92);
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 18px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}

.hero h1 .accent {
    color: var(--saffron);
}

.hero p.lead {
    font-size: 1.08rem;
    color: #F1F3F9;
    max-width: 580px;
    margin: 0 auto 30px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-family: var(--ff-en-display);
    font-size: 1.4rem;
    color: var(--white);
}

body.lang-mr .hero-stats strong {
    font-family: var(--ff-mr-display);
}

.hero-stats span {
    font-size: .82rem;
    color: #D7DCEC;
}

@media (max-width:700px) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        background-position: 65% center;
    }
}

/* legacy hero-visual rules retained for backwards compatibility, unused now */
.hero-visual {
    display: none;
}

/* ---------- Section shared ---------- */
section {
    padding: 84px 0;
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}

.section-head .eyebrow {
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    color: var(--navy-deep);
    margin-bottom: 12px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 1.02rem;
}

/* ---------- Services ---------- */
.services {
    background: var(--ivory);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), var(--navy-deep));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--ink-soft);
    font-size: .94rem;
}

/* ---------- Success Stories ---------- */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.story-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.story-card .photo {
    position: relative;
}

.story-card .photo img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.story-card .wed-date {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy-deep);
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
}

.story-body {
    padding: 20px;
}

.story-body h3 {
    font-size: 1.05rem;
    color: var(--navy-deep);
    margin-bottom: 8px;
}

.story-body p {
    font-size: .92rem;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.read-more {
    font-weight: 700;
    font-size: .88rem;
    color: var(--green-deep);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--navy);
}

/* ---------- About ---------- */
.about {
    background: var(--ivory);
}

.about-inner {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.about-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    color: var(--navy-deep);
    margin-bottom: 16px;
}

.about-text p {
    color: var(--ink-soft);
    margin-bottom: 14px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}

.stat-box {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.stat-box strong {
    display: block;
    font-family: var(--ff-en-display);
    font-size: 1.7rem;
    color: var(--saffron-deep);
}

body.lang-mr .stat-box strong {
    font-family: var(--ff-mr-display);
}

.stat-box span {
    font-size: .8rem;
    color: var(--ink-soft);
}

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--navy);
    padding: 30px 0;
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: .88rem;
    font-weight: 600;
}

.trust-item .ico {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--saffron);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
}

/* ---------- Contact ---------- */
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: .86rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    font-size: .94rem;
    font-family: inherit;
    background: var(--ivory);
    transition: border-color .2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--navy);
    outline: none;
}

.field .error {
    color: #C62828;
    font-size: .78rem;
    margin-top: 4px;
    display: none;
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
    border-color: #C62828;
}

.field.invalid .error {
    display: block;
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 230px;
    margin-bottom: 20px;
    border: 1px solid var(--line);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info p {
    font-size: .92rem;
    color: var(--ink-soft);
    margin-bottom: 10px;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.social-row a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    transition: background .2s;
}

.social-row a:hover {
    background: var(--green);
}

/* ---------- Footer ---------- */
footer {
    background: var(--navy-deep);
    color: #D9E0F0;
    padding: 56px 0 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 34px;
}

.footer-grid h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid li {
    margin-bottom: 10px;
    font-size: .88rem;
}

.footer-grid a:hover {
    color: var(--saffron);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.footer-grid p {
    font-size: .86rem;
    color: #AEB8D6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
    text-align: center;
    font-size: .82rem;
    color: #9AA6C8;
}

/* ---------- Popup Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 39, 88, .55);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: var(--white);
    border-radius: 22px;
    max-width: 880px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(16px) scale(.97);
    transition: transform .3s ease;
    max-height: 90vh;
}

.modal-overlay.show .modal-box {
    transform: translateY(0) scale(1);
}

.modal-visual {
    background: linear-gradient(160deg, var(--saffron) 0%, #FFB85C 55%, var(--green) 140%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.modal-visual img {
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

.modal-content {
    padding: 40px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ivory);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--navy-deep);
    z-index: 5;
}

.modal-content h2 {
    font-size: 1.5rem;
    color: var(--navy-deep);
    margin-bottom: 10px;
}

.modal-content p {
    color: var(--ink-soft);
    font-size: .95rem;
    margin-bottom: 22px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------- Registration Modal ---------- */
.reg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(16, 39, 88, .6);
    backdrop-filter: blur(6px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1100;
    padding: 40px 20px;
    overflow-y: auto;
}

.reg-overlay.show {
    display: flex;
}

.reg-box {
    background: var(--white);
    border-radius: 22px;
    max-width: 760px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.reg-box h2 {
    color: var(--navy-deep);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.reg-box p.sub {
    color: var(--ink-soft);
    font-size: .92rem;
    margin-bottom: 24px;
}

.progress-bar {
    height: 6px;
    background: var(--line);
    border-radius: 6px;
    margin-bottom: 28px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 33%;
    background: linear-gradient(90deg, var(--saffron), var(--green));
    transition: width .3s ease;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-grid .full {
    grid-column: 1/-1;
}

.step-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 26px;
}

.photo-upload {
    border: 2px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 22px;
    text-align: center;
    cursor: pointer;
    background: var(--ivory);
}

.photo-upload img {
    max-width: 120px;
    border-radius: 50%;
    margin: 0 auto 10px;
}

.photo-upload span {
    display: block;
    font-size: .85rem;
    color: var(--ink-soft);
}

/* ---------- Utility / animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: var(--white);
    padding: 10px 16px;
    z-index: 2000;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width:980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        max-width: 420px;
        margin: 0 auto;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-inner {
        grid-template-columns: 1fr;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .modal-box {
        grid-template-columns: 1fr;
    }

    .modal-visual {
        display: none;
    }
}

@media (max-width:700px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 24px;
        gap: 18px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
        transform: translateY(-130%);
        transition: transform .3s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .hamburger {
        display: flex;
    }

    .nav-right .btn-navy {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        justify-content: flex-start;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-ctas {
        flex-direction: column;
    }
}