:root {
    --deep-indigo: #120B2D;
    --royal-plum: #31284D;
    --soft-violet: #5F547C;
    --warm-beige: #E5DDD2;
    --ivory-cream: #F5F1EA;

    --heading-font: "Bodoni Moda", serif;
    --body-font: "Jost", sans-serif;

    --shadow-soft: 0 20px 55px rgba(18, 11, 45, 0.12);
    --shadow-card: 0 16px 42px rgba(18, 11, 45, 0.10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--body-font);
    color: var(--deep-indigo);
    background: var(--ivory-cream);
    overflow-x: hidden;
    padding-top: 88px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

main {
    overflow: hidden;
}

::selection {
    background: var(--deep-indigo);
    color: var(--ivory-cream);
}

/* Navbar */
.deoshala-navbar {
    min-height: 88px;
    background: rgba(245, 241, 234, 0.95);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(49, 40, 77, 0.12);
    transition: all 0.3s ease;
}

.deoshala-navbar.scrolled {
    min-height: 72px;
    box-shadow: 0 14px 40px rgba(18, 11, 45, 0.08);
}

.brand-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.deoshala-navbar.scrolled .brand-logo {
    height: 52px;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    color: var(--royal-plum);
    margin: 0 0.28rem;
    padding: 0.72rem 0.58rem;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.58rem;
    right: 0.58rem;
    bottom: 0.42rem;
    height: 1px;
    background: var(--deep-indigo);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--deep-indigo);
}

.deoshala-toggler {
    border: 1px solid rgba(49, 40, 77, 0.2);
    border-radius: 12px;
    padding: 0.6rem 0.75rem;
}

.deoshala-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.btn-brand,
.btn-primary {
    background: var(--royal-plum) !important;
    border: 1px solid var(--royal-plum) !important;
    color: var(--ivory-cream) !important;
    padding: 0.82rem 1.42rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-brand:hover,
.btn-primary:hover {
    background: var(--deep-indigo) !important;
    border-color: var(--deep-indigo) !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(18, 11, 45, 0.22);
}

.btn-brand-outline,
.btn-outline-primary {
    background: transparent !important;
    border: 1px solid var(--soft-violet) !important;
    color: var(--deep-indigo) !important;
    padding: 0.82rem 1.42rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-brand-outline:hover,
.btn-outline-primary:hover {
    background: var(--deep-indigo) !important;
    border-color: var(--deep-indigo) !important;
    color: var(--ivory-cream) !important;
    transform: translateY(-3px);
}

.btn-brand-sm {
    background: var(--royal-plum);
    color: var(--ivory-cream);
    border: 1px solid var(--royal-plum);
    padding: 0.62rem 1.15rem;
    font-size: 0.92rem;
}

.btn-brand-sm:hover {
    background: var(--deep-indigo);
    color: var(--ivory-cream);
}

/* Common */
.section-padding {
    position: relative;
    padding: 92px 0;
}

.soft-section {
    background:
        radial-gradient(circle at top left, rgba(95, 84, 124, 0.10), transparent 32%),
        var(--warm-beige);
}

.section-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(49, 40, 77, 0.10) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--soft-violet);
    margin-bottom: 0.9rem;
}

.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--soft-violet);
    opacity: 0.45;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 52px;
}

.section-heading h2 {
    font-family: var(--heading-font);
    color: var(--deep-indigo);
    font-size: clamp(2.35rem, 4.8vw, 4.2rem);
    line-height: 1.05;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--soft-violet);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Hero fixed for laptop */
.hero-section {
    min-height: auto;
    position: relative;
    display: flex;
    align-items: center;
    padding: 54px 0 68px;
    background:
        radial-gradient(circle at 8% 18%, rgba(95, 84, 124, 0.12), transparent 24%),
        radial-gradient(circle at 93% 76%, rgba(49, 40, 77, 0.10), transparent 28%),
        linear-gradient(135deg, var(--ivory-cream) 0%, #F2ECE4 100%);
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.38;
    background-image:
        linear-gradient(135deg, rgba(49, 40, 77, 0.06) 1px, transparent 1px),
        linear-gradient(45deg, rgba(49, 40, 77, 0.04) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to right, black, transparent 78%);
}

.pattern {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.pattern-leaf-one {
    width: 170px;
    height: 92px;
    left: 5%;
    top: 16%;
    opacity: 0.11;
    border: 3px solid var(--soft-violet);
    border-left: 0;
    border-bottom: 0;
    border-radius: 100% 0 100% 0;
    transform: rotate(-12deg);
}

.pattern-circle-one {
    width: 250px;
    height: 250px;
    right: -90px;
    top: 140px;
    border-radius: 50%;
    background: rgba(95, 84, 124, 0.11);
}

.pattern-dots-one {
    width: 190px;
    height: 190px;
    right: 13%;
    bottom: 8%;
    opacity: 0.25;
    background-image: radial-gradient(circle, var(--soft-violet) 2px, transparent 2px);
    background-size: 22px 22px;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: clamp(3.35rem, 5.2vw, 5.1rem);
    font-weight: 500;
    line-height: 0.98;
    color: var(--deep-indigo);
    margin-bottom: 1.15rem;
    letter-spacing: -0.035em;
}

.hero-subtitle {
    color: var(--soft-violet);
    font-size: 1.05rem;
    line-height: 1.72;
    max-width: 590px;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    max-width: 620px;
}

.hero-mini-stats div {
    background: rgba(229, 221, 210, 0.62);
    border: 1px solid rgba(49, 40, 77, 0.10);
    padding: 0.95rem;
    border-radius: var(--radius-md);
}

.hero-mini-stats strong {
    display: block;
    font-family: var(--heading-font);
    font-size: 1.22rem;
    color: var(--deep-indigo);
}

.hero-mini-stats span {
    color: var(--soft-violet);
    font-size: 0.82rem;
}

.hero-image-card {
    position: relative;
    border-radius: 34px;
    padding: 13px;
    background: rgba(229, 221, 210, 0.76);
    box-shadow: var(--shadow-soft);
}

.hero-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 25px;
    filter: saturate(0.82);
}

.hero-floating-card {
    position: absolute;
    left: -12px;
    bottom: 30px;
    background: var(--deep-indigo);
    color: var(--ivory-cream);
    border-radius: 999px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: var(--shadow-card);
    font-size: 0.92rem;
}

.hero-floating-card i {
    color: var(--warm-beige);
}

/* About */
.portrait-card {
    position: sticky;
    top: 105px;
    padding: 13px;
    border-radius: 34px;
    background: var(--warm-beige);
    box-shadow: var(--shadow-card);
}

.portrait-card img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 25px;
    filter: saturate(0.85);
}

.about-content h3 {
    font-family: var(--heading-font);
    font-size: clamp(2.4rem, 4vw, 4.1rem);
    color: var(--deep-indigo);
    margin-bottom: 0.35rem;
}

.lead-text {
    color: var(--royal-plum);
    font-weight: 700;
    font-size: 1.06rem;
}

.about-content p {
    color: var(--soft-violet);
    line-height: 1.8;
    font-size: 1.01rem;
}

.info-card,
.contact-card,
.principle-card,
.form-card {
    background: rgba(245, 241, 234, 0.78);
    border: 1px solid rgba(49, 40, 77, 0.12);
    border-radius: var(--radius-lg);
    padding: 1.55rem;
    box-shadow: var(--shadow-card);
}

.info-card i,
.contact-card i,
.principle-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--warm-beige);
    color: var(--deep-indigo);
    margin-bottom: 1rem;
}

.info-card h4,
.contact-card h3,
.principle-card h3 {
    font-family: var(--heading-font);
    color: var(--deep-indigo);
    font-size: 1.5rem;
}

.info-card p,
.contact-card p,
.principle-card p {
    color: var(--soft-violet);
    line-height: 1.7;
    margin-bottom: 0;
}

.principle-card {
    height: 100%;
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-8px);
}

/* Cards */
.modern-card {
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(245, 241, 234, 0.82);
    border: 1px solid rgba(49, 40, 77, 0.12);
    box-shadow: var(--shadow-card);
    transition: all 0.35s ease;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 70px rgba(18, 11, 45, 0.16);
}

.card-image {
    position: relative;
    display: block;
    height: 250px;
    overflow: hidden;
    background: var(--warm-beige);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
    filter: saturate(0.86);
}

.modern-card:hover .card-image img {
    transform: scale(1.08);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 230px;
    background:
        radial-gradient(circle at center, rgba(95, 84, 124, 0.18), transparent 55%),
        var(--warm-beige);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder.large {
    min-height: 340px;
}

.image-placeholder i {
    font-size: 3.3rem;
    color: var(--royal-plum);
}

.modern-card-body {
    padding: 1.5rem;
}

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--soft-violet);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.card-topline strong {
    color: var(--royal-plum);
}

.modern-card h3 {
    font-family: var(--heading-font);
    color: var(--deep-indigo);
    font-size: 1.68rem;
    line-height: 1.18;
    margin-bottom: 0.8rem;
}

.modern-card h3 a:hover {
    color: var(--soft-violet);
}

.modern-card p {
    color: var(--soft-violet);
    line-height: 1.68;
    margin-bottom: 1.2rem;
}

.text-link {
    color: var(--deep-indigo);
    font-weight: 700;
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
}

.text-link:hover {
    color: var(--soft-violet);
}

.floating-label {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--deep-indigo);
    color: var(--ivory-cream);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Retreat */
.retreat-card {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(245, 241, 234, 0.82);
    border: 1px solid rgba(49, 40, 77, 0.12);
    box-shadow: var(--shadow-card);
}

.retreat-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    color: var(--ivory-cream);
    background: var(--deep-indigo);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.retreat-badge.upcoming {
    background: var(--royal-plum);
}

.retreat-image {
    display: block;
    height: 325px;
    overflow: hidden;
}

.retreat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86);
    transition: transform 0.55s ease;
}

.retreat-card:hover .retreat-image img {
    transform: scale(1.06);
}

.retreat-body {
    padding: 1.65rem;
}

.date-line,
.location-line {
    color: var(--soft-violet);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retreat-body h3 {
    font-family: var(--heading-font);
    color: var(--deep-indigo);
    font-size: 1.95rem;
    line-height: 1.15;
    margin: 0.75rem 0;
}

.retreat-body p {
    color: var(--soft-violet);
    line-height: 1.68;
}

.retreat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(49, 40, 77, 0.12);
}

.retreat-footer span {
    color: var(--soft-violet);
}

.retreat-footer strong {
    color: var(--deep-indigo);
}

/* Testimonials */
.swiper {
    padding-bottom: 56px !important;
}

.swiper-pagination-bullet {
    background: var(--soft-violet);
    opacity: 0.45;
}

.swiper-pagination-bullet-active {
    background: var(--deep-indigo);
    opacity: 1;
}

.testimonial-card {
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(245, 241, 234, 0.84);
    border: 1px solid rgba(49, 40, 77, 0.12);
    box-shadow: var(--shadow-card);
}

.testimonial-video {
    position: relative;
    height: 225px;
    background: var(--warm-beige);
}

.testimonial-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 66px;
    height: 66px;
    border: 0;
    border-radius: 50%;
    background: var(--ivory-cream);
    color: var(--deep-indigo);
    box-shadow: var(--shadow-card);
}

.testimonial-body {
    padding: 1.65rem;
    position: relative;
}

.quote-mark {
    color: var(--warm-beige);
    font-size: 2.3rem;
    margin-bottom: 0.75rem;
}

.testimonial-body p {
    color: var(--soft-violet);
    line-height: 1.75;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(49, 40, 77, 0.10);
}

.testimonial-author img,
.avatar-placeholder {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--royal-plum);
    color: var(--ivory-cream);
    font-weight: 700;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--deep-indigo);
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--soft-violet);
    font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.gallery-item {
    min-height: 300px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    background: var(--warm-beige);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.55s ease;
    filter: saturate(0.86);
}

.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 11, 45, 0.78), transparent 60%);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-content {
    position: absolute;
    z-index: 2;
    left: 1.3rem;
    right: 1.3rem;
    bottom: 1.3rem;
    color: var(--ivory-cream);
}

.gallery-content span {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm-beige);
}

.gallery-content h3 {
    font-family: var(--heading-font);
    font-size: 1.48rem;
    margin: 0.35rem 0 0;
}

/* Contact */
.contact-section {
    background:
        radial-gradient(circle at 80% 10%, rgba(95, 84, 124, 0.12), transparent 35%),
        var(--ivory-cream);
}

.contact-card {
    height: 100%;
    text-align: center;
}

.form-card {
    height: 100%;
}

.form-label {
    color: var(--deep-indigo);
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.form-control {
    border-radius: 15px;
    border: 1px solid rgba(49, 40, 77, 0.14);
    background: rgba(245, 241, 234, 0.72);
    color: var(--deep-indigo);
    padding: 0.92rem 1rem;
}

.form-control::placeholder {
    color: rgba(95, 84, 124, 0.72);
}

.form-control:focus {
    background: var(--ivory-cream);
    border-color: var(--royal-plum);
    box-shadow: 0 0 0 0.25rem rgba(49, 40, 77, 0.10);
    color: var(--deep-indigo);
}

.input-group-text {
    background: var(--warm-beige);
    border-color: rgba(49, 40, 77, 0.14);
    color: var(--deep-indigo);
    border-radius: 15px;
}

.form-message {
    display: none;
    border-radius: 16px;
    padding: 0.9rem 1rem;
    font-weight: 600;
}

.form-message.success,
.form-message.error {
    display: block;
}

.form-message.success {
    background: var(--warm-beige);
    color: var(--deep-indigo);
    border: 1px solid rgba(18, 11, 45, 0.16);
}

.form-message.error {
    background: var(--royal-plum);
    color: var(--ivory-cream);
    border: 1px solid var(--royal-plum);
}

.map-card {
    height: 100%;
    min-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(49, 40, 77, 0.12);
}

/* Video Modal */
.video-modal-content {
    background: var(--deep-indigo);
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}

.video-close {
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 2;
    background-color: var(--ivory-cream);
    opacity: 1;
    border-radius: 50%;
}

/* Footer */
.footer {
    background: var(--deep-indigo);
    color: var(--ivory-cream);
    padding: 76px 0 28px;
}

.footer-logo-img {
    height: 88px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.1rem;
    filter: brightness(0) invert(1);
}

.footer p {
    color: rgba(245, 241, 234, 0.78);
    line-height: 1.75;
}

.footer-links h3,
.footer-contact h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    color: var(--ivory-cream);
    margin-bottom: 1.15rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer a {
    color: rgba(245, 241, 234, 0.78);
    transition: all 0.3s ease;
}

.footer a:hover {
    color: var(--warm-beige);
}

.footer-contact p {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--warm-beige);
    margin-top: 0.28rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(245, 241, 234, 0.10);
    border: 1px solid rgba(245, 241, 234, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background: var(--warm-beige);
    color: var(--deep-indigo);
    transform: translateY(-4px);
}

.btn-footer {
    background: var(--warm-beige);
    color: var(--deep-indigo) !important;
    border: 1px solid var(--warm-beige);
    padding: 0.75rem 1.25rem;
    display: inline-flex;
    margin-top: 0.7rem;
}

.btn-footer:hover {
    background: var(--ivory-cream);
    color: var(--deep-indigo) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 241, 234, 0.12);
    margin-top: 46px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.92rem;
}

/* Floating buttons */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--royal-plum);
    color: var(--ivory-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 18px 45px rgba(18, 11, 45, 0.22);
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    color: var(--ivory-cream);
    background: var(--deep-indigo);
    transform: translateY(-5px) scale(1.04);
}

.retreatModalButton {
    background: var(--deep-indigo) !important;
    border-color: var(--deep-indigo) !important;
    color: var(--ivory-cream) !important;
    position: fixed;
    right: -5%;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    z-index: 999;
    border-radius: 8px 8px 0 0;
    padding: 0.75rem 1.3rem;
}

.retreatModalButton:hover {
    background-color: var(--royal-plum) !important;
    color: var(--ivory-cream) !important;
    transform: translateY(-50%) rotate(-90deg) !important;
}

/* Retreat Modal */
.retreat-modal-content {
    border: 0;
    border-radius: 26px;
    overflow: hidden;
    background: var(--ivory-cream);
}

.retreat-modal-content .modal-header {
    background: var(--deep-indigo);
    color: var(--ivory-cream);
    border-bottom: 0;
    padding: 1.3rem 1.5rem;
}

.retreat-modal-content .modal-title {
    font-family: var(--heading-font);
    font-size: 1.45rem;
}

.retreat-modal-content .modal-body {
    padding: 1.5rem;
}

.retreat-modal-content .modal-footer {
    border-top: 1px solid rgba(49, 40, 77, 0.12);
    padding: 1rem 1.5rem;
}

.form-section {
    padding-bottom: 1.4rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid rgba(49, 40, 77, 0.12);
}

.form-section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-family: var(--heading-font);
    color: var(--deep-indigo);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.retreat-modal-content .form-check-label {
    color: var(--soft-violet);
    font-weight: 500;
}

.retreat-modal-content .alert-info {
    background: var(--warm-beige);
    border-color: rgba(49, 40, 77, 0.12);
    color: var(--deep-indigo);
}

.retreat-modal-content .alert-warning {
    background: rgba(229, 221, 210, 0.65);
    border-color: rgba(49, 40, 77, 0.12);
    color: var(--royal-plum);
}

.retreat-modal-content .alert-light {
    background: rgba(245, 241, 234, 0.78);
    border-color: rgba(49, 40, 77, 0.12);
    color: var(--soft-violet);
}

/* Laptop height fix */
@media (min-width: 992px) and (max-height: 820px) {
    body {
        padding-top: 78px;
    }

    .deoshala-navbar {
        min-height: 78px;
    }

    .brand-logo {
        height: 54px;
    }

    .hero-section {
        padding: 38px 0 48px;
    }

    .hero-title {
        font-size: clamp(3rem, 4.45vw, 4.25rem);
        line-height: 0.98;
        margin-bottom: 0.95rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.58;
        margin-bottom: 1.1rem;
    }

    .hero-actions {
        margin-bottom: 1rem;
    }

    .hero-mini-stats div {
        padding: 0.78rem;
    }

    .hero-image {
        height: 365px;
    }

    .hero-image-card {
        border-radius: 28px;
    }

    .hero-floating-card {
        bottom: 22px;
    }
}

/* Responsive */
@media (max-width: 1199px) {
    body {
        padding-top: 82px;
    }

    .deoshala-navbar {
        min-height: 82px;
    }

    .brand-logo {
        height: 58px;
    }

    .navbar-collapse {
        background: var(--ivory-cream);
        border: 1px solid rgba(49, 40, 77, 0.12);
        border-radius: 22px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: var(--shadow-card);
    }
}

@media (max-width: 991px) {
    .section-padding {
        padding: 78px 0;
    }

    .hero-section {
        padding: 50px 0 72px;
    }

    .hero-mini-stats {
        grid-template-columns: 1fr;
    }

    .hero-image {
        height: 500px;
    }

    .portrait-card {
        position: relative;
        top: 0;
    }

    .portrait-card img {
        height: 500px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 76px;
    }

    .deoshala-navbar {
        min-height: 76px;
    }

    .brand-logo {
        height: 52px;
    }

    .hero-title {
        font-size: clamp(2.65rem, 12vw, 4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-image {
        height: 410px;
    }

    .hero-floating-card {
        left: 16px;
        right: 16px;
        bottom: 24px;
        justify-content: center;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: clamp(2.15rem, 10vw, 3rem);
    }

    .portrait-card img {
        height: 420px;
    }

    .card-image,
    .retreat-image {
        height: 235px;
    }

    .retreat-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        min-height: 275px;
    }

    .map-card {
        min-height: 350px;
    }

    .footer {
        text-align: center;
    }

    .footer-logo-img {
        margin-left: auto;
        margin-right: auto;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .retreatModalButton {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .eyebrow {
        letter-spacing: 0.16em;
        font-size: 0.66rem;
    }

    .eyebrow::before,
    .eyebrow::after {
        width: 18px;
    }

    .hero-image {
        height: 340px;
    }

    .portrait-card img {
        height: 350px;
    }

    .info-card,
    .contact-card,
    .principle-card,
    .form-card,
    .modern-card-body,
    .retreat-body,
    .testimonial-body {
        padding: 1.2rem;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 18px;
        bottom: 18px;
    }
}


/* =========================================================
   DEOSHALA SECTION BACKGROUND PATTERNS
   Add this at the END of style.css
========================================================= */

main>section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

main>section>.container {
    position: relative;
    z-index: 2;
}

main>section::before,
main>section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}
main>section:nth-of-type(odd)::before {
    width: 340px;
    height: 340px;
    right: -90px;
    top: 70px;
    opacity: 0.16;
    background-image: radial-gradient(circle, var(--soft-violet) 2px, transparent 2px);
    background-size: 24px 24px;
    transform: rotate(8deg);
}

main>section:nth-of-type(even)::before {
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(135deg, rgba(18, 11, 45, 0.05) 1px, transparent 1px),
        linear-gradient(45deg, rgba(95, 84, 124, 0.04) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}

main>section:nth-of-type(4n + 1)::after {
    width: 230px;
    height: 120px;
    left: -55px;
    bottom: 80px;
    opacity: 0.12;
    border: 4px solid var(--deep-indigo);
    border-left: 0;
    border-bottom: 0;
    border-radius: 100% 0 100% 0;
    transform: rotate(-16deg);
}

main>section:nth-of-type(4n + 1) .container::before {
    content: "";
    position: absolute;
    width: 155px;
    height: 3px;
    left: -28px;
    bottom: 132px;
    background: var(--deep-indigo);
    opacity: 0.10;
    transform: rotate(-27deg);
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

main>section:nth-of-type(4n + 2)::after {
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -110px;
    opacity: 0.12;
    background:
        radial-gradient(ellipse at 50% 10%, var(--royal-plum) 0 18%, transparent 19%),
        radial-gradient(ellipse at 28% 34%, var(--soft-violet) 0 16%, transparent 17%),
        radial-gradient(ellipse at 72% 34%, var(--soft-violet) 0 16%, transparent 17%),
        radial-gradient(ellipse at 38% 66%, var(--deep-indigo) 0 14%, transparent 15%),
        radial-gradient(ellipse at 62% 66%, var(--deep-indigo) 0 14%, transparent 15%);
    filter: blur(0.2px);
}

main>section:nth-of-type(4n + 3)::after {
    width: 420px;
    height: 420px;
    left: -180px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.10;
    border: 1px solid var(--deep-indigo);
    border-radius: 50%;
    box-shadow:
        45px 0 0 -8px transparent,
        45px 0 0 -7px var(--royal-plum),
        90px 0 0 -16px transparent,
        90px 0 0 -15px var(--soft-violet);
}

main>section:nth-of-type(4n + 4)::after {
    width: 320px;
    height: 190px;
    right: 6%;
    top: 90px;
    opacity: 0.16;
    background: none;
    border: 3px solid var(--soft-violet);
    border-left: 0;
    border-bottom: 0;
    border-radius: 100% 0 100% 0;
    transform: rotate(18deg);
}

main>section:nth-of-type(4n + 4) .container::after {
    content: "";
    position: absolute;
    width: 210px;
    height: 3px;
    right: -5%;
    top: 100px;
    background: var(--soft-violet);
    opacity: 0.13;
    border-radius: 999px;
    transform: rotate(-18deg);
    pointer-events: none;
    z-index: -1;
}

main>section:nth-of-type(4n + 4) .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    opacity: 0.24;
}

.hero-section .pattern-leaf-one {
    opacity: 0.16;
}

.hero-section .pattern-circle-one {
    opacity: 0.14;
}

.hero-section .pattern-dots-one {
    opacity: 0.20;
}

.soft-section::before {
    opacity: 0.12;
}

.soft-section::after {
    opacity: 0.10;
}

.form-card,
.modern-card,
.retreat-card,
.testimonial-card,
.contact-card,
.info-card,
.principle-card,
.gallery-item,
.map-card {
    position: relative;
    z-index: 3;
}

@media (max-width: 767px) {
    main>section::before {
        opacity: 0.08 !important;
    }

    main>section::after {
        opacity: 0.07 !important;
        transform: scale(0.75);
    }

    main>section:nth-of-type(odd)::before {
        width: 220px;
        height: 220px;
        right: -90px;
        top: 50px;
        background-size: 20px 20px;
    }

    main>section:nth-of-type(4n + 1)::after {
        width: 170px;
        height: 90px;
        left: -65px;
        bottom: 50px;
    }

    main>section:nth-of-type(4n + 1) .container::before {
        display: none;
    }
}


main>section:nth-of-type(even) {
    position: relative;
    overflow: hidden;
}