/* dr-umang.css */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Hero Section */
.dr-hero {
    position: relative;
    padding: 8rem 5% 0rem;
    /* Space for navbar */
    background: var(--deep-navy);
    color: var(--ivory);
}

.dr-hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    box-sizing: border-box;
    padding-top: 8rem; /* Matches dr-hero top padding */
    padding-bottom: 6rem; /* Matches dr-hero-text bottom padding */
}

.dr-hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    z-index: 0;
}

.dr-hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    position: relative;
    z-index: 1;
}

.dr-hero-image iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: none;
    position: relative;
    z-index: 1;
}

.dr-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    pointer-events: none;
}

.dr-hero-content {
    max-width: 550px;
    margin: 0 auto 0 0; /* Align to left but respect container */
    pointer-events: auto;
}

.dr-hero-text {
    padding-bottom: 6rem;
}

.dr-eyebrow {
    color: var(--sovereign-gold);
    font-family: 'Brush Script MT', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.dr-hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ivory);
    font-weight: 600;
}

.dr-hero-titles {
    color: var(--sovereign-gold);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.dr-hero-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.dr-hero-actions {
    display: flex;
    gap: 1rem;
}

.dr-hero-actions a.btn-primary,
.dr-hero-actions a.btn-secondary,
.dr-bottom-cta a.btn-primary,
.dr-bottom-cta a.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 48px;
    padding: 0 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dr-hero-actions a.btn-primary,
.dr-bottom-cta a.btn-primary {
    background-color: var(--sovereign-gold);
    color: var(--deep-navy);
    border: none;
}

.dr-hero-actions a.btn-primary:hover,
.dr-bottom-cta a.btn-primary:hover {
    background-color: #d1b45f;
    transform: translateY(-2px);
}

.dr-hero-actions a.btn-secondary,
.dr-bottom-cta a.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--ivory);
    background-color: transparent;
}

.dr-hero-actions a.btn-secondary:hover,
.dr-bottom-cta a.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}


/* Hero Stats Bar */
.dr-hero-stats {
    background-color: var(--ivory);
    color: var(--deep-navy);
    margin: -30px 5% 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.dr-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.dr-stat-item:last-child {
    border-right: none;
}

.dr-stat-icon {
    font-size: 1.8rem;
    color: var(--sovereign-gold);
    margin-bottom: 0.5rem;
}

.dr-stat-value {
    font-size: 2rem;
    color: var(--deep-navy);
    line-height: 1.2;
    letter-spacing: 1px;
    font-family: 'Helvetica', sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.dr-stat-label {
    font-size: 0.9rem;
    color: var(--charcoal);
    opacity: 0.7;
    line-height: 1.5;
    margin: 0;
}

/* Main Layout */
.dr-main-layout {
    margin: 2rem auto 0;
    padding: 2rem 5% 4rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 1.5rem;
}

.dr-content-left {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    min-width: 0;
}

/* Sidebar Right */
.dr-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.dr-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
}

.dr-sidebar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
    border-bottom: 2px solid var(--sovereign-gold);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.dr-glance-list,
.dr-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dr-glance-list li,
.dr-trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.dr-glance-list li:last-child,
.dr-trust-list li:last-child {
    margin-bottom: 0;
}

.dr-glance-list i,
.dr-trust-list i {
    color: var(--sovereign-gold);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.dr-glance-text h4 {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--deep-navy);
    margin-bottom: 0.2rem;
}

.dr-glance-text p {
    font-size: 0.9rem;
    color: var(--soft-slate);
    margin: 0;
}

.dr-cred-list {
    list-style: none;
    padding: 0;
}

.dr-cred-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.dr-cred-list i {
    color: var(--sovereign-gold);
}

/* The Journey */
.dr-section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--deep-navy);
    margin-bottom: 2rem;
}

.dr-section-title.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dr-section-title.centered::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--sovereign-gold);
    margin-top: 1rem;
    border-radius: 2px;
}

.dr-journey-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dr-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.dr-timeline::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(201, 168, 76, 0.3);
    z-index: 1;
}

.dr-timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 120px;
}

.dr-timeline-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid var(--sovereign-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--sovereign-gold);
    margin-bottom: 1rem;
}

.dr-timeline-item p {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--deep-navy);
}

.dr-journey-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.dr-journey-images {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    border-radius: 8px;
}

.dr-journey-images::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.dr-journey-images img {
    flex: 0 0 calc((100% - 2rem) / 3);
    width: calc((100% - 2rem) / 3);
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: start;
}

.dr-journey-prev,
.dr-journey-next,
.dr-expertise-prev,
.dr-expertise-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--sovereign-gold);
    color: var(--deep-navy);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dr-journey-prev,
.dr-expertise-prev {
    left: -20px;
}

.dr-journey-next,
.dr-expertise-next {
    right: -20px;
}

/* Areas of Expertise */
.dr-expertise-carousel-container {
    position: relative;
    width: 100%;
    margin-top: 1rem;
}

.dr-expertise-grid {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dr-expertise-grid::-webkit-scrollbar {
    display: none;
}

.dr-expertise-card {
    position: relative;
    flex: 0 0 calc((100% - 1.2rem) / 5);
    width: calc((100% - 1.2rem) / 5);
    aspect-ratio: 320 / 440;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
}

.dr-expertise-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dr-expertise-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 1.5rem 1rem;
    color: #fff;
}

.dr-expertise-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

.dr-expertise-overlay p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.dr-expertise-card:hover img {
    transform: scale(1.05);
}

/* Quote Section */
.dr-quote-section {
    background: var(--deep-navy);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.dr-quote-text {
    flex: 1;
}

.dr-quote-icon {
    font-size: 3rem;
    color: var(--sovereign-gold);
    opacity: 0.5;
    margin-bottom: 1rem;
}

.dr-quote-text blockquote {
    font-size: 2rem;
    font-family: 'Outfit', sans-serif;
    line-height: 1.3;
    margin: 0 0 2rem 0;
}

.dr-quote-sig {
    font-family: 'Brush Script MT', cursive;
    /* or some script font */
    font-size: 2rem;
    color: var(--sovereign-gold);
}

.dr-quote-image {
    flex: 1;
}

.dr-quote-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Bottom 3-Col Grid */
.dr-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.dr-info-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 12px;
}

.dr-info-card h3 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--sovereign-gold);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.dr-info-list {
    list-style: disc;
    padding-left: 1.2rem;
}

.dr-info-list li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: #000;
}

.dr-location-list {
    list-style: none;
    padding: 0;
}

.dr-location-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #000;
}

.dr-location-list i {
    color: var(--sovereign-gold);
}

.dr-info-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Expandable Cards */
.dr-expandable-card {
    position: relative;
    padding-bottom: 3rem !important; /* Make room for the expand button */
}

.dr-expandable-content {
    max-height: 300px;
    overflow-y: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dr-expandable-content::-webkit-scrollbar {
    display: none;
}

/* Removed the max-height override for expanded state to keep card height fixed */

.dr-card-expand-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 70%, rgba(255,255,255,1) 100%);
    display: none; /* Hidden by default, shown by JS if needed */
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 15px;
    cursor: pointer;
    color: var(--sovereign-gold);
    font-size: 0.9rem;
    z-index: 10;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.dr-expandable-card.has-overflow .dr-card-expand-btn {
    display: flex;
}

.dr-expandable-card.expanded .dr-card-expand-btn {
    background: transparent;
    height: 40px;
}

.dr-expandable-card.expanded .dr-card-expand-btn i {
    transform: rotate(180deg);
}

.dr-card-expand-btn i {
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 1200px) {
    .dr-expertise-card {
        flex: 0 0 calc((100% - 0.6rem) / 3);
        width: calc((100% - 0.6rem) / 3);
    }
}

@media (max-width: 1024px) {
    .dr-main-layout {
        display: flex;
        flex-direction: column;
    }

    .dr-hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .dr-hero-actions {
        justify-content: center;
    }

    .dr-hero-image {
        position: relative;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 0;
    }

    .dr-hero-stats {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        transform: translateY(0);
        margin-top: 2rem;
        padding: 0;
        border: none;
        border-radius: 0;
    }
    
    .dr-hero-stats::-webkit-scrollbar {
        display: none;
    }

    .dr-stat-item {
        flex: 0 0 160px;
        scroll-snap-align: center;
        border-right: 1px solid rgba(13, 27, 62, 0.1);
    }

    .dr-stat-value {
        font-size: 1.6rem;
    }

    .dr-stat-item:last-child {
        border-right: none;
    }

    .dr-info-grid {
        grid-template-columns: 1fr;
    }

    .dr-quote-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* .dr-hero-stats is handled by display: flex above */

    .dr-expertise-card {
        flex: 0 0 calc((100% - 0.3rem) / 2);
        width: calc((100% - 0.3rem) / 2);
    }

    .dr-timeline {
        flex-wrap: wrap;
        gap: 1rem 2rem;
        justify-content: center;
    }

    .dr-timeline::before {
        display: none;
    }

    .dr-journey-images img {
        min-width: 100%;
    }

    .dr-quote-section {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .dr-journey-prev,
    .dr-expertise-prev {
        left: 5px;
    }
    .dr-journey-next,
    .dr-expertise-next {
        right: 5px;
    }

    .dr-hero {
        padding: 6rem 1rem 0;
        /* Increased top padding to clear the navbar */
    }

    .dr-hero-text h1 {
        font-size: 2.2rem !important;
    }
    
    .dr-section-title {
        font-size: 1.8rem !important;
    }

    .dr-hero-titles {
        font-size: 1rem;
        /* Smaller subtext */
    }

    .dr-hero-desc {
        font-size: 0.95rem;
        /* Smaller description */
    }

    .dr-hero-text {
        padding-bottom: 2rem;
    }

    .dr-eyebrow {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }

    /* .dr-hero-stats flex properties already apply */

    .dr-main-layout {
        padding: 2rem 1rem 4rem;
        gap: 2rem;
    }

    .dr-info-card {
        padding: 1.5rem;
    }

    .dr-bottom-cta {
        padding: 2rem 1.5rem !important;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 1rem;
    }

    .dr-bottom-cta h2 {
        font-size: 1.8rem !important;
        text-align: center;
    }
    
    .dr-bottom-cta p {
        text-align: center;
    }

    .dr-bottom-cta>div:last-child {
        display: flex !important;
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 180px !important;
        height: 180px !important;
        aspect-ratio: 1/1 !important;
        margin: 0 auto;
    }

    .dr-bottom-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .dr-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .dr-hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}


@media (max-width: 480px) {
    .dr-expertise-card {
        flex: 0 0 100%;
        width: 100%;
    }
}