/* ==========================================================================
   DHI AMRUTAM — PREMIUM ABOUT SECTION STYLESHEET (about.css)
   Combines luxury serif typography, soft cream/sage light sections, and deep
   emerald teal dark sections with smooth interactions and micro-animations.
   ========================================================================== */

/* --- 1. Root & Variables --- */
:root {
    --dhi-teal-darkest: #071B19;
    --dhi-teal-dark: #0A2321;
    --dhi-teal-mid: #005550;
    --dhi-teal-light: #0D6963;
    --dhi-teal-subtle: #E6F0EF;
    --dhi-gold: #FFA55E;
    --dhi-gold-dark: #E67328;
    --dhi-cream: #FAF8F5;
    --dhi-cream-alt: #F4F8F7;
    --dhi-warm-white: #FFFDFB;
    --dhi-border-light: #EBE4DB;
    --dhi-border-dark: rgba(255, 255, 255, 0.12);
    --dhi-text-dark: #1D3534;
    --dhi-text-muted: #5A716E;
    --dhi-radius-lg: 15px;
    --dhi-radius-md: 10px;
    --dhi-radius-pill: 12px;
    --dhi-shadow-soft: 0 10px 30px rgba(0, 85, 80, 0.07);
    --dhi-shadow-hover: 0 20px 40px rgba(0, 85, 80, 0.13);
    --dhi-transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- 2. Secondary Sticky Navigation Bar --- */
.about-subnav-wrapper {
    background: #FFFFFF;
    border-bottom: 1px solid var(--dhi-border-light);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.about-subnav-scroll {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    white-space: nowrap;
}

.about-subnav-scroll::-webkit-scrollbar {
    display: none;
}

.about-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: var(--dhi-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dhi-text-dark);
    text-decoration: none;
    white-space: nowrap;
    background: transparent;
    border: 1px solid transparent;
    transition: var(--dhi-transition);
}

.about-subnav-link i {
    font-size: 0.85rem;
    color: var(--dhi-teal-mid);
    transition: var(--dhi-transition);
}

.about-subnav-link:hover {
    color: var(--dhi-teal-mid);
    background: var(--dhi-teal-subtle);
    border-color: rgba(0, 85, 80, 0.15);
}

.about-subnav-link.active {
    color: #FFFFFF;
    background: var(--dhi-teal-mid);
    border-color: var(--dhi-teal-mid);
    box-shadow: 0 4px 15px rgba(0, 85, 80, 0.25);
}

.about-subnav-link.active i {
    color: var(--dhi-gold);
}

/* --- 3. Section Color Themes (Light / Dark Alternating) --- */
.sec-light-cream {
    background-color: var(--dhi-cream);
}

.sec-light-sage {
    background-color: var(--dhi-cream-alt);
}

.sec-white {
    background-color: #FFFFFF;
}

.sec-dark-teal {
    background-color: var(--dhi-teal-dark);
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.sec-dark-teal::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 165, 94, 0.08) 0%, rgba(0, 85, 80, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.sec-dark-teal::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 105, 99, 0.25) 0%, rgba(10, 35, 33, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.sec-darkest {
    background-color: var(--dhi-teal-darkest);
    color: #FFFFFF;
}

/* --- 4. Badges & Headers --- */
.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--dhi-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-badge-light {
    background: rgba(0, 85, 80, 0.08);
    color: var(--dhi-teal-mid);
    border: 1px solid rgba(0, 85, 80, 0.15);
}

.about-badge-dark {
    background: rgba(255, 255, 255, 0.08);
    color: var(--dhi-gold);
    border: 1px solid rgba(255, 165, 94, 0.3);
    backdrop-filter: blur(8px);
}

.about-badge-accent {
    background: rgba(255, 143, 73, 0.12);
    color: var(--dhi-gold-dark);
    border: 1px solid rgba(255, 143, 73, 0.25);
}

.about-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dhi-text-dark);
}

.sec-dark-teal .about-heading,
.sec-darkest .about-heading {
    color: #FFFFFF;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dhi-teal-mid);
    font-weight: 500;
}

.sec-dark-teal .about-lead,
.sec-darkest .about-lead {
    color: #E6F0EF;
}

.about-text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--dhi-text-muted);
}

.sec-dark-teal .about-text,
.sec-darkest .about-text {
    color: rgba(255, 255, 255, 0.82);
}

/* --- 5. Hero Intro Card & Visual Blocks --- */
.about-hero-block {
    position: relative;
    padding: 60px 0;
}

.about-hero-media-wrapper {
    position: relative;
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 85, 80, 0.18);
    border: 4px solid #FFFFFF;
}

.about-hero-media-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-hero-media-wrapper:hover img {
    transform: scale(1.03);
}

.about-hero-floating-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 85, 80, 0.12);
    border-radius: var(--dhi-radius-md);
    padding: 18px 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.about-hero-floating-dark {
    background: rgba(10, 35, 33, 0.92);
    border: 1px solid rgba(255, 165, 94, 0.35);
    color: #FFFFFF;
}

/* --- 6. Feature & Principle Cards --- */
.about-card {
    background: #FFFFFF;
    border-radius: var(--dhi-radius-lg);
    border: 1px solid var(--dhi-border-light);
    padding: 32px 28px;
    height: 100%;
    transition: var(--dhi-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.about-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dhi-shadow-hover);
    border-color: rgba(0, 85, 80, 0.25);
}

.about-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--dhi-border-dark);
    backdrop-filter: blur(10px);
}

.about-card-dark:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 165, 94, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.about-card.featured-border {
    border-top: 4px solid var(--dhi-gold);
}

.about-icon-box {
    width: 58px;
    height: 58px;
    border-radius: var(--dhi-radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 22px;
    transition: var(--dhi-transition);
}

.about-icon-teal {
    background: var(--dhi-teal-subtle);
    color: var(--dhi-teal-mid);
}

.about-card:hover .about-icon-teal {
    background: var(--dhi-teal-mid);
    color: #FFFFFF;
    transform: scale(1.08) rotate(4deg);
}

.about-icon-gold {
    background: rgba(255, 165, 94, 0.15);
    color: var(--dhi-gold);
    border: 1px solid rgba(255, 165, 94, 0.3);
}

.about-card:hover .about-icon-gold {
    background: var(--dhi-gold);
    color: #FFFFFF;
    transform: scale(1.08) rotate(-4deg);
}

/* --- 7. Timeline Component --- */
.about-timeline {
    position: relative;
    padding-left: 20px;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 42px;
    width: 2px;
    background: linear-gradient(180deg, var(--dhi-gold) 0%, var(--dhi-teal-mid) 100%);
}

.about-timeline-item {
    position: relative;
    display: flex;
    gap: 26px;
    margin-bottom: 35px;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-dot {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--dhi-teal-mid);
    box-shadow: 0 0 0 6px rgba(0, 85, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--dhi-teal-mid);
    flex-shrink: 0;
    z-index: 1;
    transition: var(--dhi-transition);
}

.about-timeline-item:hover .about-timeline-dot {
    background: var(--dhi-teal-mid);
    color: var(--dhi-gold);
    transform: scale(1.15);
}

.about-timeline-content {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-md);
    padding: 24px 28px;
    flex-grow: 1;
    box-shadow: var(--dhi-shadow-soft);
    transition: var(--dhi-transition);
}

.about-timeline-item:hover .about-timeline-content {
    border-color: rgba(0, 85, 80, 0.25);
    transform: translateX(6px);
    box-shadow: var(--dhi-shadow-hover);
}

/* --- 8. Six Lenses Grid --- */
.about-lenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.about-lens-card {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-lg);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--dhi-transition);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgb(0 0 0 / 27%) 0px 30px 60px -30px, rgb(10 37 64 / 8%) 0px -2px 6px 0px inset;
}

.about-lens-card:hover {
    border-color: var(--dhi-teal-mid);
    transform: translateY(-4px);
    box-shadow: var(--dhi-shadow-hover);
}

.about-lens-number {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #ffa55e;
    color: #ffffff;
    font-weight: 800;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--dhi-transition);
}

.about-lens-card:hover .about-lens-number {
    background: var(--dhi-teal-mid);
    color: var(--dhi-gold);
}

/* --- 9. Step Framework (4 Steps) --- */
.about-steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.about-step-card {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-lg);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--dhi-transition);
}

.about-step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--dhi-teal-mid);
    opacity: 0;
    transition: var(--dhi-transition);
}

.about-step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--dhi-shadow-hover);
}

.about-step-card:hover::before {
    opacity: 1;
}

.about-step-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(0, 85, 80, 0.18);
    line-height: 1;
    margin-bottom: 14px;
    display: block;
    transition: var(--dhi-transition);
}

.about-step-card:hover .about-step-num {
    color: var(--dhi-gold);
    transform: scale(1.1);
    transform-origin: left;
}

/* --- 10. Luxury Editorial Quote Band --- */
.about-quote-band {
    background: linear-gradient(135deg, var(--dhi-teal-darkest) 0%, var(--dhi-teal-dark) 50%, #003835 100%);
    color: #FFFFFF;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 165, 94, 0.2);
    border-bottom: 1px solid rgba(255, 165, 94, 0.2);
}

.about-quote-band::before {
    content: "“";
    position: absolute;
    top: -40px;
    left: 5%;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 280px;
    line-height: 1;
    color: rgba(255, 165, 94, 0.06);
    pointer-events: none;
}

.about-quote-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.85rem;
    line-height: 1.45;
    font-weight: 600;
    color: #FFFFFF;
    font-style: italic;
}

.about-quote-author {
    color: var(--dhi-gold);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* --- 11. Comparison Box (Side-by-Side Mindset) --- */
.about-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.about-compare-card {
    border-radius: var(--dhi-radius-lg);
    padding: 34px 28px;
    position: relative;
    transition: var(--dhi-transition);
}

.about-compare-old {
    background: #FFFFFF;
    border: 1px dashed #D0C9C0;
    color: var(--dhi-text-dark);
}

.about-compare-new {
    background: linear-gradient(135deg, var(--dhi-teal-mid) 0%, var(--dhi-teal-dark) 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 165, 94, 0.3);
    box-shadow: 0 15px 35px rgba(0, 85, 80, 0.25);
}

.about-compare-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

/* --- 12. Vision & Mission Split Panels (Enhanced with Images) --- */
.about-vm-card {
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    height: 100%;
    transition: var(--dhi-transition);
    display: flex;
    flex-direction: column;
}

.about-vm-card-vision {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    box-shadow: var(--dhi-shadow-soft);
}

.about-vm-card-vision:hover {
    transform: translateY(-6px);
    box-shadow: var(--dhi-shadow-hover);
    border-color: rgba(0, 85, 80, 0.3);
}

.about-vm-card-mission {
    background: linear-gradient(145deg, var(--dhi-teal-darkest) 0%, var(--dhi-teal-dark) 50%, var(--dhi-teal-mid) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    box-shadow: 0 15px 35px rgba(0, 45, 42, 0.25);
}

.about-vm-card-mission:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 45, 42, 0.4);
    border-color: rgba(255, 165, 94, 0.4);
}

.about-vm-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.about-vm-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-vm-card:hover .about-vm-img-wrapper img {
    transform: scale(1.08);
}

.about-vm-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 35, 33, 0.85) 100%);
}

.about-vm-body {
    padding: 30px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.about-vm-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-vm-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-vm-card-vision .about-vm-list li {
    color: var(--dhi-text-dark);
}

.about-vm-card-mission .about-vm-list li {
    color: rgba(255, 255, 255, 0.9);
}

.about-vm-list li i {
    color: var(--dhi-gold-dark);
    font-size: 0.85rem;
}

.about-vm-card-mission .about-vm-list li i {
    color: var(--dhi-gold);
}

/* --- Quote Band Portrait Enhanced --- */
.quote-portrait-wrapper {
    position: relative;
    display: inline-block;
}

.quote-portrait-img {
    width: 250px;
    height: 250px;
    border-radius: 5%;
    object-fit: cover;
    border: 2px solid #FFA55E;
    box-shadow: 0 0 0 6px rgba(255, 165, 94, 0.25), 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: var(--dhi-transition);
}

.quote-portrait-wrapper:hover .quote-portrait-img {
    transform: scale(1.06);
    box-shadow: 0 0 0 8px rgba(255, 165, 94, 0.4), 0 15px 35px rgba(255, 165, 94, 0.3);
}

.quote-icon-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #005550;
    border: 2px solid #FFA55E;
    color: #FFA55E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- 4-Step Cards with Images --- */
.about-step-card-v2 {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--dhi-transition);
    box-shadow: var(--dhi-shadow-soft);
}

.about-step-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--dhi-shadow-hover);
    border-color: rgba(0, 85, 80, 0.35);
}

.about-step-img-box {
    position: relative;
    height: 175px;
    overflow: hidden;
}

.about-step-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-step-card-v2:hover .about-step-img-box img {
    transform: scale(1.1);
}

.about-step-num-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 35, 33, 0.88);
    border: 1px solid rgba(255, 165, 94, 0.4);
    backdrop-filter: blur(8px);
    color: #FFA55E;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.about-step-body {
    padding: 24px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


/* --- 13. Related Topics Links Grid --- */
.about-related-card {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-lg);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-decoration: none;
    transition: var(--dhi-transition);
}

.about-related-card .arrow-link {
    font-weight: 700;
    color: var(--dhi-teal-mid);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    transition: var(--dhi-transition);
}

.about-related-card:hover .arrow-link {
    color: var(--dhi-gold-dark);
    transform: translateX(6px);
}

/* --- 13b. Explore Split Cards (Horizontal on Desktop, Vertical Stack on Mobile) --- */
.about-explore-split-card {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    transition: var(--dhi-transition);
    cursor: pointer;
}

.about-explore-split-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 85, 80, 0.12) !important;
    border-color: #FFA55E !important;
}

.about-explore-split-card .about-explore-img-wrap {
    width: 42%;
    min-width: 190px;
    position: relative;
    overflow: hidden;
    background: #0A2321;
}

.about-explore-split-card .about-explore-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.about-explore-split-card:hover .about-explore-img-wrap img {
    transform: scale(1.08);
}

@media (max-width: 767.98px) {
    .about-explore-split-card {
        flex-direction: column !important;
    }
    .about-explore-split-card .about-explore-img-wrap {
        width: 100% !important;
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    .about-explore-split-card .about-explore-content {
        padding: 22px 18px !important;
    }
}

/* --- 14. Global High-Converting CTA Box --- */
.about-cta-banner {
    background: linear-gradient(135deg, var(--dhi-teal-darkest) 0%, var(--dhi-teal-dark) 60%, #004540 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 165, 94, 0.35);
    padding: 50px 45px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 45, 42, 0.3);
}

.about-cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(255, 165, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.btn-dhi-gold {
    background: linear-gradient(135deg, #FFA55E 0%, #E67328 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: var(--dhi-radius-pill);
    padding: 14px 30px;
    border: none;
    box-shadow: 0 8px 22px rgba(230, 115, 40, 0.35);
    transition: var(--dhi-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-dhi-gold:hover {
    background: linear-gradient(135deg, #FFB273 0%, #F07E35 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 115, 40, 0.45);
    color: #FFFFFF !important;
}

.btn-dhi-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    font-weight: 600;
    border-radius: var(--dhi-radius-pill);
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    transition: var(--dhi-transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-dhi-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

/* --- 14.1 Journey Timeline (Alternating / Rich Cards with Images) --- */
.journey-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, rgba(255, 165, 94, 0.9) 0%, rgba(0, 85, 80, 0.8) 50%, rgba(255, 165, 94, 0.9) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 165, 94, 0.4);
}

.journey-timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: -200px;
}

.journey-timeline-item:last-child {
    margin-bottom: 0;
}

.journey-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.journey-timeline-node {
    position: absolute;
    left: 50%;
    top: 32px;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0A2321;
    border: 3px solid #FFA55E;
    box-shadow: 0 0 0 6px rgba(255, 165, 94, 0.2), 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: #FFA55E;
    z-index: 5;
    transition: all 0.35s ease;
}

.journey-timeline-item:hover .journey-timeline-node {
    background: #FFA55E;
    color: #0A2321;
    box-shadow: 0 0 0 10px rgba(255, 165, 94, 0.35), 0 10px 25px rgba(255, 165, 94, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

.journey-timeline-col {
    width: 50%;
    padding: 0 45px;
}

.journey-timeline-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.journey-timeline-card:hover {
    border-color: rgba(255, 165, 94, 0.45);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 165, 94, 0.15);
}

.journey-timeline-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.journey-timeline-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.journey-timeline-card:hover .journey-timeline-img-wrapper img {
    transform: scale(1.08);
}

.journey-timeline-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 35, 33, 0.95) 100%);
}

.journey-timeline-img-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 35, 33, 0.85);
    border: 1px solid rgba(255, 165, 94, 0.35);
    backdrop-filter: blur(8px);
    color: #FFA55E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.journey-timeline-body {
    padding: 26px 28px;
}

.journey-timeline-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-pill {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(0, 85, 80, 0.35);
    border: 1px solid rgba(0, 85, 80, 0.55);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.journey-pill i {
    color: #FFA55E;
    font-size: 0.7rem;
}

/* --- 15. Responsive Adaptations --- */
@media (max-width: 991px) {
    .about-subnav-wrapper {
        top: 0;
    }
    .about-hero-media-wrapper img {
        height: 380px;
    }
    .about-quote-text {
        font-size: 1.45rem;
    }
    .about-quote-band {
        padding: 50px 0;
    }
    .about-cta-banner {
        padding: 35px 25px;
    }
    .journey-timeline::before {
        left: 30px;
    }
    .journey-timeline-item,
    .journey-timeline-item:nth-child(even) {
        flex-direction: row;
        align-items: flex-start;
    }
    .journey-timeline-node {
        left: 30px;
        top: 30px;
        transform: translate(-50%, 0);
    }
    .journey-timeline-item:hover .journey-timeline-node {
        transform: translate(-50%, 0) scale(1.1);
    }
    .journey-timeline-col {
        width: 100%;
        padding-left: 75px;
        padding-right: 0;
    }
    .journey-timeline-img-wrapper {
        height: 200px;
    }
}

@media (max-width: 767.98px) {
    .about-timeline {
        padding-left: 0 !important;
    }
    .about-timeline::before {
        left: 18px !important;
    }
    .about-timeline-item {
        gap: 12px !important;
        margin-bottom: 24px !important;
    }
    .about-timeline-dot {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0 !important;
    }
    .about-timeline-content {
        flex-direction: column !important;
        padding: 16px 14px !important;
        gap: 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .about-timeline-content img {
        width: 100% !important;
        height: 210px !important;
        max-height: 220px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        margin-bottom: 6px !important;
        flex: none !important;
        display: block !important;
    }
    .about-timeline-content h4 {
        font-size: 1.15rem !important;
        margin-bottom: 6px !important;
        color: #111827 !important;
    }
    .about-timeline-content p {
        font-size: 0.92rem !important;
        line-height: 1.55 !important;
        color: #374151 !important;
    }
    .quote-portrait-img {
        width: 180px !important;
        height: 180px !important;
    }
}

@media (max-width: 575px) {
    .about-hero-media-wrapper img {
        height: 280px;
    }
    .about-hero-floating-card {
        position: static;
        margin-top: 15px;
    }
    .about-timeline::before {
        left: 18px;
    }
    .about-timeline-dot {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    .journey-timeline::before {
        left: 20px;
    }
    .journey-timeline-node {
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 0.95rem;
    }
    .journey-timeline-col {
        padding-left: 52px;
    }
    .journey-timeline-body {
        padding: 20px 16px;
    }
}
/* --- 16. Six Pillars of Differentiation Image Cards --- */
.pillar-card-v2 {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--dhi-transition);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.pillar-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 94, 0.45);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 165, 94, 0.15);
}

.pillar-img-box {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.pillar-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pillar-card-v2:hover .pillar-img-box img {
    transform: scale(1.1);
}

.pillar-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(10, 35, 33, 0.95) 100%);
}

.pillar-img-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 35, 33, 0.88);
    border: 1px solid rgba(255, 165, 94, 0.4);
    backdrop-filter: blur(8px);
    color: #FFA55E;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.pillar-body {
    padding: 24px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* --- Comparison Section Visuals --- */
.comparison-wrapper {
    position: relative;
}

.vs-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #FFA55E;
    color: #0A2321;
    font-weight: 900;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px #FAF8F5, 0 8px 20px rgba(0,0,0,0.15);
    z-index: 10;
}

/* --- Interconnected Items --- */
.interconnected-item {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--dhi-transition);
    box-shadow: 0 4px 15px rgba(0, 85, 80, 0.04);
}

.interconnected-item:hover {
    transform: translateX(6px);
    border-color: var(--dhi-teal-mid);
    box-shadow: var(--dhi-shadow-soft);
}

.interconnected-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffa55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
    transition: var(--dhi-transition);
}

.interconnected-item:hover .interconnected-icon {
    background: var(--dhi-teal-mid);
    color: var(--dhi-gold);
}

@media (max-width: 991px) {
    .vs-circle {
        position: static;
        transform: none;
        margin: 20px auto;
    }
}
.ttm-page-title-row::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 28, 25, 0.38) 0%, rgba(0, 16, 14, 0.52) 100%);
    pointer-events: none;
}

/* ==========================================================================
   OUR STORY & PHILOSOPHY — INTERACTIVE COMPONENTS (3D FLIP, TABS, EVOLUTION)
   ========================================================================== */

/* --- 3D Flip Card Component --- */
.flip-card-3d {
    background-color: transparent;
    perspective: 1200px;
    height: 390px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--dhi-radius-lg);
    box-shadow: 0 10px 30px rgba(0, 85, 80, 0.08);
}

.flip-card-3d:hover .flip-card-inner,
.flip-card-3d.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flip-card-front {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgb(0 0 0 / 27%) 0px 30px 60px -30px, rgb(10 37 64 / 8%) 0px -2px 6px 0px inset;
}

.flip-card-back {
    background: linear-gradient(145deg, #0A2321, #005550);
    color: #FFFFFF;
    transform: rotateY(180deg);
    padding: 30px 26px;
    justify-content: center;
    border: 1px solid rgba(255, 165, 94, 0.35);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
}

.flip-card-front-img {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.flip-card-front-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.flip-card-3d:hover .flip-card-front-img img {
    transform: scale(1.08);
}

.flip-card-front-body {
    padding: 22px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flip-hint-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 85, 80, 0.88);
    backdrop-filter: blur(4px);
    color: #FFA55E;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 165, 94, 0.3);
}

/* --- Philosophy Luxury Tabs --- */
.philosophy-nav-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    border: none;
    margin-bottom: 30px;
}

.philosophy-nav-pills .nav-link {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    color: var(--dhi-text-dark);
    padding: 12px 22px;
    border-radius: var(--dhi-radius-pill);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--dhi-transition);
    box-shadow: 0 4px 15px rgba(0, 85, 80, 0.04);
}

.philosophy-nav-pills .nav-link i {
    color: var(--dhi-teal-mid);
    font-size: 1.1rem;
    transition: var(--dhi-transition);
}

.philosophy-nav-pills .nav-link:hover {
    border-color: var(--dhi-teal-mid);
    color: var(--dhi-teal-mid);
    transform: translateY(-2px);
}

.philosophy-nav-pills .nav-link.active {
    background: var(--dhi-teal-mid) !important;
    color: #FFFFFF !important;
    border-color: var(--dhi-teal-mid) !important;
    box-shadow: 0 8px 25px rgba(0, 85, 80, 0.25);
}

.philosophy-nav-pills .nav-link.active i {
    color: var(--dhi-gold) !important;
}

.philosophy-tab-pane-card {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-lg);
    padding: 36px;
    box-shadow: var(--dhi-shadow-soft);
    position: relative;
    overflow: hidden;
}

.philosophy-tab-pane-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--dhi-gold), var(--dhi-teal-mid));
}

/* --- Evolution Timeline Enhanced Cards --- */
.evolution-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    transition: var(--dhi-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.evolution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 94, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    background: rgba(255, 255, 255, 0.08);
}

.evolution-img-box {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.evolution-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.evolution-card:hover .evolution-img-box img {
    transform: scale(1.08);
}

.evolution-step-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #FFA55E;
    color: #0A2321;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
}

.evolution-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* --- East-West Bridge Cards --- */
.east-west-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--dhi-radius-lg);
    padding: 32px;
    transition: var(--dhi-transition);
    backdrop-filter: blur(10px);
    height: 100%;
}

.east-west-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 165, 94, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.east-west-badge {
    background: rgba(255, 165, 94, 0.15);
    border: 1px solid rgba(255, 165, 94, 0.35);
    color: #FFA55E;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --- East-West Ancient vs Contemporary Science Showcase --- */
.ancient-modern-wrapper {
    position: relative;
    z-index: 1;
}

.ancient-modern-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    transition: var(--dhi-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.ancient-modern-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 94, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
    background: rgba(255, 255, 255, 0.07);
}

.ancient-modern-img-box {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.ancient-modern-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.ancient-modern-card:hover .ancient-modern-img-box img {
    transform: scale(1.08);
}

.ancient-modern-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 25, 0.2) 0%, rgba(7, 27, 25, 0.9) 100%);
}

.ancient-modern-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #FFA55E;
    color: #0A2321;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ancient-modern-tag.tag-cyan {
    background: #00D2C4;
    color: #071B19;
}

.ancient-modern-content {
    padding: 30px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.synergy-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--dhi-radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--dhi-transition);
}

.ancient-modern-card:hover .synergy-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 165, 94, 0.2);
}

.synergy-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 165, 94, 0.2);
    color: #FFA55E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.synergy-item-icon.icon-cyan {
    background: rgba(0, 210, 196, 0.2);
    color: #00D2C4;
}

.synthesis-unifying-banner {
    background: linear-gradient(135deg, rgba(255, 165, 94, 0.15), rgba(0, 85, 80, 0.3));
    border: 1px solid rgba(255, 165, 94, 0.35);
    border-radius: var(--dhi-radius-lg);
    padding: 26px 32px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-align: center;
}

/* --- Promise Cards --- */
.promise-card {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    border-radius: var(--dhi-radius-md);
    padding: 26px 20px;
    transition: var(--dhi-transition);
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 85, 80, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promise-card:hover {
    transform: translateY(-6px);
    border-color: var(--dhi-teal-mid);
    box-shadow: 0 15px 30px rgba(0, 85, 80, 0.12);
}

.promise-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: var(--dhi-teal-subtle);
    color: var(--dhi-teal-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 16px;
    transition: var(--dhi-transition);
}

.promise-card:hover .promise-icon-wrap {
    background: var(--dhi-gold);
    color: #0A2321;
    transform: scale(1.1) rotate(6deg);
}

/* ==========================================================================
   INTERACTIVE DOCTOR GALLERY — DR. NISHI BHATT
   ========================================================================== */
.doctor-gallery-wrapper {
    position: relative;
    z-index: 1;
}

.gallery-filter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.gallery-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--dhi-border-light);
    color: var(--dhi-text-dark);
    padding: 10px 22px;
    border-radius: var(--dhi-radius-pill);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--dhi-transition);
    box-shadow: 0 4px 12px rgba(0, 85, 80, 0.04);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-filter-btn:hover {
    color: var(--dhi-teal-mid);
    border-color: var(--dhi-teal-mid);
    background: var(--dhi-teal-subtle);
    transform: translateY(-2px);
}

.gallery-filter-btn.active {
    background: var(--dhi-teal-mid);
    color: #FFFFFF;
    border-color: var(--dhi-teal-mid);
    box-shadow: 0 8px 20px rgba(0, 85, 80, 0.22);
}

.gallery-filter-btn.active i {
    color: var(--dhi-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item-card {
    background: #0A2321;
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--dhi-shadow-soft);
    border: 1px solid var(--dhi-border-light);
    transition: var(--dhi-transition);
    cursor: pointer;
    height: 250px;
}

.gallery-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 85, 80, 0.25);
    border-color: #FFA55E;
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0A2321;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item-card:hover .gallery-img-wrap img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 25, 0.1) 0%, rgba(0, 85, 80, 0.75) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-center-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFA55E;
    color: #0A2321;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transform: scale(0.7);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item-card:hover .gallery-center-icon {
    transform: scale(1);
}

.gallery-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 85, 80, 0.88);
    backdrop-filter: blur(4px);
    color: #FFA55E;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 94, 0.35);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
}

/* --- Premium Custom Gallery Lightbox --- */
.dhi-lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 27, 25, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dhi-lightbox-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.dhi-lightbox-container {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    max-width: 820px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 165, 94, 0.3);
}

.dhi-lightbox-backdrop.active .dhi-lightbox-container {
    transform: scale(1) translateY(0);
}

.dhi-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background: rgba(7, 27, 25, 0.8);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--dhi-transition);
}

.dhi-lightbox-close:hover {
    background: #FFA55E;
    color: #0A2321;
    border-color: #FFA55E;
    transform: rotate(90deg) scale(1.1);
}

.dhi-lightbox-media {
    position: relative;
    width: 100%;
    max-height: 460px;
    background: #071B19;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dhi-lightbox-media img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}

.dhi-lightbox-content {
    padding: 22px 26px;
    background: #FFFFFF;
    border-top: 1px solid var(--dhi-border-light);
}

/* --- What She Seeks to Understand Dimension Cards --- */
.dimension-card-v2 {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--dhi-radius-lg);
    overflow: hidden;
    transition: var(--dhi-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.dimension-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 94, 0.5);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.dimension-img-box {
    position: relative;
    height: 220px;
}

.dimension-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.dimension-card-v2:hover .dimension-img-box img {
    transform: scale(1.08);
}

.dimension-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 27, 25, 0.15) 0%, rgba(7, 27, 25, 0.9) 100%);
}

.dimension-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #FFA55E;
    color: #0A2321;
    font-weight: 800;
    font-size: 0.74rem;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}

.dimension-icon-float {
    position: absolute;
    bottom: -22px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #ffa55e;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    border: 2px solid rgb(255 255 255 / 40%);
    transition: var(--dhi-transition);
    z-index: 2;
}

.dimension-card-v2:hover .dimension-icon-float {
    background: #FFA55E;
    color: #0A2321;
    transform: scale(1.1) rotate(6deg);
}

.dimension-body {
    padding: 32px 26px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}