:root {
    --primary-burgundy: #7B1723;
    --secondary-burgundy: #5e0b15; 
    /*--primary-burgundy: #5e0b15; /* Deep Red */
    /*--secondary-burgundy: #3d050c; /* Darker Red */
    --accent-gold: #c5a065; /* Gold/Bronze */
    --text-white: #ffffff;
    --text-dark: #2c2c2c;
    --bg-cream: #fdfbf7;
    --bg-warm: #F4E9D6;
    --font-heading: 'Archivo', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: linear-gradient(to right, var(--bg-cream) 0%, var(--bg-warm) 100%);
}

.tech-page-body {
    background: linear-gradient(to right, var(--bg-cream) 0%, var(--bg-warm) 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0;
}

a {
    text-decoration: none;
}

/* Header */
header {
    background-color: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background-color 0.3s;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1); /* Ensure logo is white on dark bg */
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

/* Hero Section */
.hero-v2 {
    background: linear-gradient(135deg, rgba(94, 11, 21, 0.9) 0%, rgba(61, 5, 12, 0.95) 100%), url('../images/luxury-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    color: var(--text-white);
    overflow: hidden;
}

.tech-page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(94, 11, 21, 0.96) 0%, rgba(61, 5, 12, 0.97) 60%, rgba(197, 160, 101, 0.9) 100%);
    color: var(--text-white);
}

.tech-page-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.tech-page-hero-text {
    flex: 0 0 55%;
}

.tech-page-tagline-hero {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.tech-page-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.tech-page-subtitle {
    max-width: 520px;
    font-size: 1.02rem;
    line-height: 1.8;
    opacity: 0.9;
}

.tech-page-hero-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-end;
}

.tech-page-hero-visual img {
    max-width: 460px;
    width: 100%;
    border-radius: 26px;
    /* box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); */
}

.tech-page-section {
    padding: 60px 0 80px;
}

.tech-page-header {
    text-align: center;
    margin-bottom: 50px;
}

.tech-page-tagline {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.tech-page-heading {
    font-size: 2rem;
    color: var(--secondary-burgundy);
    margin-bottom: 15px;
}

.tech-page-text {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
}

.tech-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tech-page-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: 30px 24px 32px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 160, 101, 0.25);
}

.tech-page-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.tech-device-name {
    font-size: 1.1rem;
    color: var(--secondary-burgundy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.tech-device-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-top: 8px;
}

.specialisations-page-body .tech-page-item {
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.specialisations-page-body .tech-img-wrapper {
    width: 100%;
    height: clamp(260px, 38vw, 420px);
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

.specialisations-page-body .tech-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.specialisations-page-body .tech-device-name,
.specialisations-page-body .tech-device-desc {
    padding-left: 24px;
    padding-right: 24px;
}

.specialisations-page-body .tech-device-name {
    margin-top: 18px;
}

.specialisations-page-body .tech-device-desc {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .specialisations-page-body .tech-page-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .specialisations-page-body .tech-img-wrapper {
        height: clamp(320px, 96vw, 420px);
    }

    .specialisations-page-body .tech-device-name,
    .specialisations-page-body .tech-device-desc {
        padding-left: 18px;
        padding-right: 18px;
    }

    .specialisations-page-body .tech-device-name {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .specialisations-page-body .tech-img-wrapper {
        height: clamp(280px, 118vw, 380px);
    }
}

@media (min-width: 993px) {
    .specialisations-page-body .tech-page-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .specialisations-page-body .tech-page-grid > .tech-page-item {
        grid-column: span 4;
    }

    .specialisations-page-body .tech-page-grid > .tech-page-item:nth-last-child(1):nth-child(3n + 1) {
        grid-column: 5 / span 4;
    }

    .specialisations-page-body .tech-page-grid > .tech-page-item:nth-last-child(2):nth-child(3n + 1) {
        grid-column: 3 / span 4;
    }

    .specialisations-page-body .tech-page-grid > .tech-page-item:nth-last-child(1):nth-child(3n + 2) {
        grid-column: 7 / span 4;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .specialisations-page-body .tech-page-grid {
        grid-template-columns: repeat(12, 1fr);
        gap: 20px;
    }

    .specialisations-page-body .tech-page-grid > .tech-page-item {
        grid-column: span 6;
    }

    .specialisations-page-body .tech-page-grid > .tech-page-item:nth-last-child(1):nth-child(2n + 1) {
        grid-column: 4 / span 6;
    }
}

.tech-page-cta {
    padding: 40px 0 80px;
}

.tech-page-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    background: linear-gradient(135deg, #b89255 0%, #CDA564 40%, #eac98e 100%);
    border-radius: 24px;
    padding: 35px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tech-page-cta-text h2 {
    font-size: 1.6rem;
    color: var(--secondary-burgundy);
    margin-bottom: 10px;
}

.tech-page-cta-text p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #4a3a1f;
}

.faq-page-hero-visual {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-end;
    display: none;
}

.faq-page-hero-visual img {
    max-width: 460px;
    width: 100%;
    border-radius: 26px;
    display: none;
    /* box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); */
}

@media (max-width: 992px) {
    .tech-page-section {
        padding: 50px 0 70px;
    }

    .tech-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-page-item {
        padding: 24px 20px 26px;
    }

    .tech-page-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .tech-page-hero {
        padding: 120px 0 60px;
    }

    .tech-page-hero-inner {
        flex-direction: column-reverse;
        text-align: center;
    }

    .tech-page-hero-text {
        flex: none;
    }

    .tech-page-title {
        font-size: 2rem;
    }

    .tech-page-subtitle {
        margin: 0 auto;
    }

    .tech-page-cta-inner {
        padding: 28px 22px;
    }

    .tech-page-section {
        padding: 40px 0 60px;
    }

    .tech-page-item {
        padding: 22px 18px 24px;
    }

    .tech-page-cta-text h2 {
        font-size: 1.4rem;
    }
}

.tech-page-slider {
    width: 100%;
    position: relative;
}

@media (min-width: 769px) {
    .tech-page-slider .swiper-pagination {
        display: none;
    }

    .tech-page-grid.swiper-wrapper {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .tech-page-slider {
        padding-bottom: 40px;
        overflow: hidden;
    }

    .tech-page-grid {
        display: flex;
        grid-template-columns: none;
        gap: 0;
    }

    .tech-page-slider .swiper-slide {
        width: 100%;
        flex-shrink: 0;
    }
}

/* Parallax Utilities */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: #ffffff;
    background: #25D366;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.floating-whatsapp i {
    font-size: 28px;
    line-height: 1;
}
.floating-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
    filter: saturate(1.05);
}
.floating-whatsapp:active {
    transform: translateY(0);
}
.floating-whatsapp:focus-visible {
    outline: 3px solid rgba(197, 160, 101, 0.65);
    outline-offset: 3px;
}
@media (max-width: 768px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        width: 54px;
        height: 54px;
    }
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(197, 160, 101, 0.25);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-burgundy);
    cursor: pointer;
}

.faq-question i {
    transition: transform 0.25s ease;
    color: var(--secondary-burgundy);
}

.faq-item.faq-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px;
}

.faq-item.faq-open .faq-answer {
    display: block;
    padding-bottom: 16px;
}

.faq-answer p {
    margin: 0;
    padding-bottom: 4px;
    color: #555;
    line-height: 1.7;
    font-size: 0.96rem;
}

.treatment-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.treatment-category-tab {
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 101, 0.5);
    background: rgba(26, 10, 15, 0.4);
    color: #f9f3ea;
    padding: 10px 20px;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.treatment-category-tab:hover {
    transform: translateY(-1px);
    border-color: #c5a065;
}

.treatment-category-tab.is-active {
    background: linear-gradient(120deg, #c5a065, #e0c392);
    color: #3d050c;
    border-color: transparent;
}

.treatment-category-panels {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.treatment-category-panel {
    display: none;
}

.treatment-category-panel.is-active {
    display: block;
}

.treatment-category-header {
    margin-bottom: 26px;
}

.treatment-category-title {
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3d050c;
    margin: 0 0 6px;
    text-align: center;
}

.treatment-category-summary {
    margin: 0;
    color: #5b3b2f;
    /* max-width: 720px; */
    line-height: 1.7;
    font-size: 0.98rem;
    text-align: center;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 120px;
}

.treatment-card-list {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 16px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(197, 160, 101, 0.3);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.treatment-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.treatment-card-thumb {
    flex: 0 0 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4ece1;
}

.treatment-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treatment-card-content {
    flex: 1;
    min-width: 0;
}

.treatment-card-title {
    margin: 0;
    font-size: 1rem;
    color: #3d050c;
    font-weight: 600;
}

.treatment-card-desc {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

.treatment-card-source {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a08052;
}

.treatment-card-source i {
    font-size: 0.85rem;
}

.treatments-new-hero {
    padding: 120px 0 80px;
    background: radial-gradient(circle at top left, rgba(197, 160, 101, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(94, 11, 21, 0.16), transparent 55%);
}

.treatments-new-hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.treatments-new-hero-text {
    flex: 1;
}

.treatments-new-tagline {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(197, 160, 101, 0.7);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a065;
    margin-bottom: 14px;
}

.treatments-new-title {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #3d050c;
}

.treatments-new-subtitle {
    margin: 0;
    color: #5b3b2f;
    line-height: 1.8;
    max-width: 560px;
}

.treatments-new-hero-visual {
    flex: 0 0 420px;
    max-width: 420px;
}

.treatments-new-hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    object-fit: cover;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.treatments-new-section {
    padding: 40px 0 100px;
}

.treatments-new-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 24px;
    margin-bottom: 40px;
}

.treatments-new-intro-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 24px;
    padding: 20px 22px;
    border: 1px solid rgba(197, 160, 101, 0.3);
}

.treatments-new-intro-card.soft {
    background: rgba(250, 242, 232, 0.9);
}

.treatments-new-intro-card h2,
.treatments-new-intro-card h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #3d050c;
}

.treatments-new-intro-card p {
    margin: 0;
    color: #5b3b2f;
    line-height: 1.7;
}

.treatments-new-intro-card ul {
    margin: 0;
    padding-left: 18px;
    color: #5b3b2f;
    line-height: 1.7;
    font-size: 0.95rem;
}

.treatments-new-intro-card li span {
    font-weight: 600;
}

.treatments-new-brochure {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.treatments-new-block {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr);
    gap: 28px;
    align-items: center;
}

.treatments-new-block.reverse {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
}

.treatments-new-block-media img {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.treatments-new-block-content {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 24px;
    padding: 20px 22px 18px;
    border: 1px solid rgba(197, 160, 101, 0.32);
}

.treatments-new-kicker {
    margin: 0 0 6px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a065;
}

.treatments-new-block-content h2 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #3d050c;
}

.treatments-new-lead {
    margin: 0 0 14px;
    color: #5b3b2f;
    line-height: 1.8;
    font-size: 0.98rem;
}

.treatments-new-pill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.treatments-new-pill {
    border-radius: 16px;
    background: rgba(250, 242, 232, 0.9);
    padding: 10px 12px;
}

.treatments-new-pill h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: #3d050c;
}

.treatments-new-pill p {
    margin: 0;
    font-size: 0.86rem;
    color: #5b3b2f;
    line-height: 1.6;
}

.treatments-new-footnote {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #815438;
    padding-top: 10px;
    border-top: 1px dashed rgba(197, 160, 101, 0.5);
}

.treatments-new-cta {
    margin-top: 52px;
    padding: 22px 22px 20px;
    border-radius: 24px;
    border: 1px solid rgba(197, 160, 101, 0.5);
    background: radial-gradient(circle at top left, rgba(197, 160, 101, 0.14), transparent 60%),
                rgba(26, 10, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.treatments-new-cta-text h2 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #f9f3ea;
}

.treatments-new-cta-text p {
    margin: 0;
    color: #f1e4d3;
    font-size: 0.95rem;
    line-height: 1.7;
}

.treatments-new-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.treatments-new-cta-secondary {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #f9f3ea;
    padding: 10px 18px;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

@media (max-width: 992px) {
    .treatments-new-hero-inner {
        flex-direction: column;
        gap: 32px;
    }

    .treatments-new-hero-visual {
        flex: 0 0 auto;
        max-width: 420px;
        width: 100%;
    }

    .treatments-new-intro-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .treatments-new-block,
    .treatments-new-block.reverse {
        grid-template-columns: minmax(0, 1fr);
    }

    .treatments-new-pill-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .treatments-new-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .treatments-new-hero {
        padding: 100px 0 60px;
    }

    .treatments-new-title {
        font-size: 2rem;
    }

    .treatments-new-section {
        padding-bottom: 80px;
    }
}

.treatment-disclaimer {
    margin-top: 32px;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px dashed rgba(197, 160, 101, 0.6);
    background: rgba(26, 10, 15, 0.55);
}

.treatment-disclaimer p {
    margin: 0;
    color: #f1e4d3;
    font-size: 0.9rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .treatment-grid {
        grid-template-columns: minmax(0, 1fr);
        margin-top: 160px;
    }

    .treatment-category-header {
        margin-bottom: 32px;
    }

    .treatment-card-inner {
        align-items: stretch;
    }

    .treatment-card-thumb {
        flex: 0 0 56px;
        height: 56px;
    }

    .treatment-category-tabs {
        gap: 8px;
    }

    .treatment-category-tab {
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

.hero-content {
    flex: 0 0 50%;
    padding-left: 10%;
    z-index: 2;
    padding-right: 20px;
}

.hero-title {
    font-family: var(--font-hero-title);
    font-size: 3.5rem;
    font-weight: 10;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 40px;
    color: var(--accent-gold);
    background: linear-gradient(to bottom, #e0c392, #c5a065);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-gold {
    background: linear-gradient(90deg, #c5a065, #e6c88d);
    color: #4a000d;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 101, 0.4);
    background: linear-gradient(90deg, #e6c88d, #c5a065);
}

.hero-image-container {
    flex: 1;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

/* Treatment Section */
.treatment-section {
    padding: 100px 0;
    /* background-color: var(--bg-cream); */
    background: linear-gradient(to right, var(--bg-cream) 0%, var(--bg-warm) 100%);
    display: flex;
    justify-content: center;
    margin-top: -50px; /* Overlap effect */
    position: relative;
    z-index: 10;
}

.treatment-container {
    width: 100%;
    max-width: 1300px;
    padding: 0 60px; /* Space for navigation arrows */
    margin: 0 auto;
    overflow: hidden;
    position: relative; /* Ensure navigation absolute positioning works relative to this */
}

.treatment-swiper {
    padding-bottom: 50px !important; /* Space for pagination */
    overflow: hidden; /* Fix swiper overflow issue */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Allow auto height based on content */
}

.treatment-card {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    margin: 0 auto; /* Center card in slide */
    flex-direction: row; /* Default layout */
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--secondary-burgundy) !important;
    background: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: var(--primary-burgundy) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-burgundy) !important;
    opacity: 1;
    width: 25px;
    border-radius: 5px;
    transition: width 0.3s;
}

.treatment-image {
    flex: 0 0 40%;
    position: relative;
}

.treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.treatment-text {
    flex: 1;
    background-color: #7a1020; /* Deep Burgundy matching image */
    background: linear-gradient(135deg, #7a1020 0%, #4a000d 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
}

.treatment-label {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 600;
}

.treatment-title {
    font-size: 2.3rem;
    /* color: var(--text-white); */
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
}

.treatment-desc {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
    font-weight: 300;
    max-width: 80%;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--secondary-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 1rem;
    flex-shrink: 0;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    color: var(--primary-burgundy);
}

/* Technology Section */
.tech-section {
    padding: 100px 0 50px; /* Reduced bottom padding for overlap */
    background-color: transparent; /* Changed from var(--bg-cream) to transparent for overlap */
    text-align: center;
    position: relative;
    z-index: 5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    color: var(--secondary-burgundy);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 70px;
    font-size: 1.1rem;
}

.tech-slider {
    width: 100%;
    position: relative;
}

@media (min-width: 769px) {
    .tech-grid,
    .tech-grid.swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        transform: none !important; /* Disable Swiper translation */
        width: 100% !important;
    }
    
    .tech-slider .swiper-pagination {
        display: none !important;
    }
    
    .tech-item.swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .tech-slider {
        padding-bottom: 40px; /* Space for pagination */
        overflow: hidden;
    }
    
    /* Swiper handles display:flex via swiper-wrapper class */
    .tech-grid {
        display: flex;
    }

    .tech-item {
        width: 100%;
        /* Already defined globally as flex column */
    }
}

.tech-item {
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tech-item:hover {
    transform: translateY(-10px);
}

.tech-img-wrapper {
    height: 250px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    margin-top: 25px;
}

.tech-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.tech-name {
    font-weight: 700;
    color: var(--text-white); /* Changed to white for overlap contrast */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 15px;
}

/* Doctors Section */
.doctors-section {
    /* background:
        radial-gradient(1100px circle at 18% 12%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 62%),
        radial-gradient(900px circle at 22% 28%, rgba(197, 160, 101, 0.38) 0%, rgba(197, 160, 101, 0) 60%),
        radial-gradient(800px circle at 82% 35%, rgba(197, 160, 101, 0.22) 0%, rgba(197, 160, 101, 0) 62%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 65%, rgba(0, 0, 0, 0.42) 100%),
        linear-gradient(135deg, var(--primary-burgundy) 0%, var(--secondary-burgundy) 100%); */
    padding: 250px 0 0px; /* Increased top padding to account for overlap */
    margin-top: -200px; /* Negative margin to create overlap */
    color: var(--text-white);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: var(--primary-burgundy);
}

/* Decorative curve removed for straight overlap */
/* .doctors-section::before { ... } */
.doctors-section::before {
    content: '';
    position: absolute;
    inset: -15%;
    background: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        rgba(255, 255, 255, 0) 1px,
        rgba(255, 255, 255, 0) 12px
    );
    opacity: 0.22;
    mix-blend-mode: overlay;
    transform: rotate(-6deg);
    transform-origin: 50% 50%;
    filter: blur(0.2px);
    pointer-events: none;
    z-index: 0;
}

.doctors-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px circle at 65% 10%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 62%),
        radial-gradient(900px circle at 50% 35%, rgba(197, 160, 101, 0.16) 0%, rgba(197, 160, 101, 0) 70%),
        radial-gradient(1200px circle at 50% 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.doctors-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.doctors-group-img {
    flex: 1.2;
}

.doctors-group-img img {
    width: 100%;
    margin-bottom: -5px;
    /* border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4); */
}

.doctors-grid-wrapper {
    flex: 1;
}

.doctors-cta {
    margin-top: 26px;
    margin-bottom: 20px;
    text-align: center;
}

.doctors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.doctor-card {
    box-sizing: border-box;
    width: calc((100% - 40px) / 3);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--accent-gold);
    border-radius: 12px;
    padding: 8px; /* Reduced padding for "mepet" look */
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.doctor-card:hover {
    background: var(--text-white);
    transform: translateY(-5px);
}

.doctor-card:hover .doctor-name {
    color: var(--secondary-burgundy);
}

.doctor-card:hover .doctor-role {
    color: #666;
}

.doctor-thumb {
    width: 100%;
    aspect-ratio: 1/1; /* Square shape */
    height: auto;
    border-radius: 8px; /* Square with slight radius */
    margin: 0 0 10px 0;
    overflow: hidden;
    border: none; /* Removed border */
}

.doctor-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
    transition: color 0.3s;
}

.doctor-role {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    /* letter-spacing: 0.5px; */
}

/* Profile Section */
.profile-section {
    padding: 120px 0;
    /* background-color: #fcfbf9; */
    background: linear-gradient(to right, var(--bg-cream) 0%, var(--bg-warm) 100%);
    position: relative;
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 0 20px;
}

.profile-img-container {
    flex-shrink: 0;
    width: 380px;
    height: 380px;
    position: relative;
}

.profile-img-circle {
    margin-top: -60px;
    width: 100%;
    /* height: 100%;
    border-radius: 50%;
    background: var(--primary-burgundy);
    overflow: hidden;
    border: 8px solid var(--accent-gold);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); */
}

.profile-img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content {
    flex: 1;
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-burgundy);
    margin-bottom: 5px;
    line-height: 1.3;
}

.profile-titles {
    font-size: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 25px;
    display: block;
}

.profile-desc {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.profile-certs {
    display: flex;
    gap: 15px;
    /* flex-wrap: wrap; */
}

.modal-content.pdf-viewer {
    max-width: 900px;
    height: 90vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative; /* Ensure absolute children are positioned relative to this */
    overflow: hidden; /* Prevent modal content itself from scrolling, let children scroll */
}

.pdf-container {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    /* background-color: #525659; /* PDF viewer background color */
    display: flex;
    flex-direction: column; /* Stack pages vertically */
    align-items: center; /* Center pages */
    padding: 20px 0;
}

#pdfCanvas, .pdf-page-canvas {
    display: block;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin: 0 auto 20px; /* Center horizontally and add bottom margin */
}

.pdf-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 15px; /* Match modal border radius */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.pdf-loading.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(197, 160, 101, 0.3); /* Light gold */
    border-top: 5px solid var(--primary-burgundy);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.progress-text {
    color: var(--secondary-burgundy);
    font-weight: 600;
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pdf-frame {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: 8px;
    background-color: #f5f5f5;
}

.close-modal.pdf-close {
    z-index: 10;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cert-item {
    cursor: pointer;
    /*width: 90px; /* Increased size for better visibility */
    /*height: 90px; /* Square shape */
    /* background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); */
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 12px; /* Breathing room for logos */
    /* transition: all 0.3s; */
}

.cert-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cert-item img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures image stays proportional */
    filter: grayscale(100%); /* Clean, professional look */
    opacity: 0.8;
    transition: all 0.3s;
}

.cert-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.hair-transplant-section {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(123, 23, 35, 0.08) 0%, rgba(197, 160, 101, 0.12) 45%, rgba(244, 233, 214, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.hair-transplant-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px circle at 20% 30%, rgba(197, 160, 101, 0.22) 0%, rgba(197, 160, 101, 0) 62%);
    pointer-events: none;
}

.hair-transplant-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: stretch;
}

.hair-transplant-visual {
    border-radius: 24px;
    min-height: 440px;
    background: url('../images/hair-transplant.jpeg') no-repeat center/cover;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.14);
    position: relative;
    overflow: hidden;
}

.hair-transplant-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
}

.hair-transplant-content {
    border-radius: 24px;
    border: 1px solid rgba(197, 160, 101, 0.35);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    padding: 38px 34px;
}

.hair-transplant-eyebrow {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--secondary-burgundy);
    opacity: 0.85;
}

.hair-transplant-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--secondary-burgundy);
    margin: 12px 0 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hair-transplant-desc {
    color: rgba(44, 44, 44, 0.85);
    line-height: 1.7;
    margin: 0 0 22px;
}

.hair-transplant-points {
    display: grid;
    gap: 14px;
}

.hair-transplant-point {
    display: grid;
    gap: 6px;
    padding-left: 14px;
    border-left: 2px solid rgba(123, 23, 35, 0.25);
}

.hair-transplant-point-title {
    font-weight: 700;
    color: var(--secondary-burgundy);
}

.hair-transplant-point-desc {
    color: rgba(44, 44, 44, 0.78);
    font-size: 0.95rem;
    line-height: 1.6;
}

.hair-transplant-actions {
    margin-top: 26px;
}

@media (max-width: 992px) {
    .hair-transplant-inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .hair-transplant-visual {
        min-height: 320px;
    }
    .hair-transplant-content {
        padding: 30px 22px;
    }
    .hair-transplant-title {
        font-size: 1.9rem;
    }
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: linear-gradient(to right, var(--bg-cream) 0%, var(--bg-warm) 100%);
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    padding: 0 20px;
    align-items: flex-start;
}

.location-map {
    flex: 1.2;
    height: 400px;
    background-color: #eee;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    position: relative;
}

.location-map-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.location-map-btn {
    padding: 10px 16px;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.location-info {
    flex: 0.8;
}

.location-title {
    font-size: 2rem;
    color: var(--secondary-burgundy);
    margin-bottom: 40px;
}

.clinic-item {
    margin-bottom: 0px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.clinic-item:hover {
    background-color: rgba(197, 160, 101, 0.1); /* Light gold bg */
}

.clinic-item.active {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--accent-gold);
}

.clinic-name {
    font-weight: 700;
    color: var(--secondary-burgundy);
    margin-bottom: 10px;
    display: block;
    font-size: 1.1rem;
}

.clinic-address {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0px;
}

/* Footer */
footer {
    background-color: var(--secondary-burgundy);
    color: var(--text-white);
    padding: 80px 0 30px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 0 20px 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    height: 150px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    gap: 20px;
    padding-left: 40px;
}

.social-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent-gold);
    color: var(--secondary-burgundy);
}

.footer-col h4 {
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.78);
}

/* Regenerative Medicine Section */
.regenerative-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #b89255 0%, #CDA564 25%, #eac98e 50%, #CDA564 75%, #b89255 100%);
    position: relative;
    overflow: hidden;
}

.regenerative-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.regenerative-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.regenerative-logo img {
    height: 80px;
    margin-bottom: 30px;
}

.regenerative-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.regenerative-subtitle {
    text-align: center;
    font-size: 2rem;
    color: var(--secondary-burgundy);
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.regenerative-slider {
    width: 100%;
    position: relative;
}

/* Desktop View */
@media (min-width: 769px) {
    .regenerative-cards,
    .regenerative-cards.swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
        max-width: 980px;
        margin: 0 auto 80px;
        transform: none !important;
        width: 100% !important;
    }

    .regenerative-slider .swiper-pagination {
        display: none !important;
    }

    .regenerative-card.swiper-slide {
        width: auto !important;
        height: auto !important;
        margin-right: 0 !important;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .regenerative-slider {
        padding-bottom: 40px;
        overflow: hidden;
    }
    
    /* Swiper handles layout, no need for manual flex/width overrides that might conflict */
}

.regenerative-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
}

.regenerative-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s;
}

.regenerative-card:hover .card-icon {
    transform: scale(1.1);
}

.regenerative-card h4 {
    color: var(--primary-burgundy);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.regenerative-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

.regenerative-card .regenerative-cta {
    margin-top: 22px;
}

#stem-cells,
#plastic-surgery,
#hair-transplant {
    scroll-margin-top: 120px;
}

.doctors-grid.regenerative-experts {
    justify-content: center;
    gap: 15px; /* Smaller gap for smaller items */
}

.regenerative-experts .doctor-card {
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-radius: 16px;
    transition: all 0.4s ease;
}

.regenerative-experts .doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(94, 11, 21, 0.15); /* Burgundy hint */
}

.regenerative-experts .doctor-name {
    color: var(--secondary-burgundy);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    margin-top: 15px;
    letter-spacing: -0.5px;
}

.regenerative-experts .doctor-role {
    color: #8a6d3b; /* Gold-ish dark */
    font-weight: 500;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    display: block;
}

.doctor-card.small {
    width: calc((100% - 60px) / 5); /* 5 items per row */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.doctor-card.small .doctor-thumb {
    width: 100%;
    aspect-ratio: auto;
    height: clamp(220px, 22vw, 320px);
    margin: 0;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
}

.doctor-card.small .doctor-name {
    font-size: 0.85rem;
    padding: 14px 14px 0;
    margin-top: 0;
}

.doctor-card.small .doctor-role {
    font-size: 0.65rem;
    padding: 8px 14px 16px;
    margin-top: 0;
}

@media (max-width: 992px) {
    .regenerative-cards {
        grid-template-columns: 1fr;
    }

    .doctor-card.small {
        width: calc((100% - 30px) / 3); /* 3 items per row on tablet */
    }

    .doctor-card.small .doctor-thumb {
        height: clamp(220px, 34vw, 320px);
    }
}

@media (max-width: 576px) {
    .doctor-card.small {
        width: calc((100% - 15px) / 2); /* 2 items per row on mobile */
    }

    .doctor-card.small .doctor-thumb {
        height: clamp(240px, 58vw, 340px);
    }
}

/* Responsive */
/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
    position: relative; /* Ensure z-index works */
}

.mobile-menu-header {
    display: none;
}

.close-menu-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-menu-btn:hover {
    transform: rotate(90deg);
    color: var(--accent-gold);
}

@media (max-width: 992px) {
    /* Header & Nav */
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--secondary-burgundy);
        display: flex; /* Changed from default flex-direction column in media query */
        flex-direction: column;
        justify-content: flex-start; /* Changed from center to start for scrolling content */
        align-items: center;
        transition: right 0.3s ease;
        z-index: 200; /* Increased z-index to be above header */
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        padding: 30px 20px;
        box-sizing: border-box; /* Ensure padding doesn't affect width */
    }

    .mobile-menu-header {
        display: flex;
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    /* Hero */
    .hero-v2 {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        flex: none;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 40px;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-image-container {
        position: relative;
        width: 100%;
        height: 50vh;
        margin-top: 20px;
    }

    .hero-image-container img {
        mask-image: linear-gradient(to top, transparent 0%, black 20%);
        -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
    }

    /* Sections */
    /* Reset Overlap for Mobile/Tablet */
    .tech-section {
        padding-bottom: 100px;
        background-color: var(--bg-cream);
    }
    
    .doctors-section {
        margin-top: 0;
        padding-top: 120px;
    }
    
    .tech-name {
        color: var(--secondary-burgundy);
    }

    .treatment-container {
        position: relative;
        padding: 0;
    }

    .treatment-card {
        flex-direction: column;
        width: 100%;
        max-width: 500px; /* Limit width on mobile */
    }
    
    .treatment-image {
        height: 250px;
        flex: none;
        width: 100%;
    }

    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.9);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .nav-btn.prev {
        left: -10px;
    }

    .nav-btn.next {
        right: -10px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .doctors-container {
        flex-direction: column;
        gap: 40px;
    }

    /* .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
    } */

    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 30px; /* Increased padding to prevent text hitting edges */
    }

    .profile-content {
        width: 100%;
        box-sizing: border-box;
    }
    
    .profile-img-container {
        width: 300px;
        height: 300px;
    }

    .profile-certs {
        justify-content: center;
    }

    .location-container {
        flex-direction: column;
    }

    .location-map {
        width: 100%; /* Ensure map takes full width */
    }
    
    .location-info {
        width: 100%; /* Ensure info takes full width */
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .treatment-text {
        padding: 40px 30px;
    }

    /* .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    } */
    
    .doctor-card {
        width: calc((100% - 20px) / 2);
    }

    .profile-name {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.body-no-scroll {
    overflow: hidden;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-burgundy);
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--primary-burgundy);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.modal-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(90deg, #c5a065, #e6c88d);
    color: #4a000d;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 101, 0.4);
    background: linear-gradient(90deg, #e6c88d, #c5a065);
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .hero-content {
        padding-top: 20px;
    }

    .btn-gold {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* .tech-grid handled by Swiper now */
    
    /* .doctors-grid {
        grid-template-columns: 1fr;
    } */
    
    .doctor-card {
        /* width: 100%; */
        margin-bottom: 20px;
    }

    .profile-img-container {
        width: 250px;
        height: 250px;
    }

    .cert-item {
        /* width: 60px;
        height: 60px;
        padding: 8px; */
    }

    .location-map {
        height: 300px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
        padding-left: 0px;
    }
}

/* =========================================
   TECHNOLOGY PAGE REDESIGN (NEW)
   ========================================= */

/* Hero Section */
.tech-hero-new {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background-color: #1a0a0f; /* Dark burgundy base */
    overflow: hidden;
    margin-top: 0;
}

.tech-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../images/background-image.jpg') center/cover no-repeat; */
    opacity: 0.3;
    filter: grayscale(100%) contrast(120%);
    z-index: 1;
}

.tech-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #5e0b15 0%, #4a000d 80%);
    z-index: 2;
}

.tech-hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
}

.tech-hero-tag {
    display: block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

.tech-hero-title {
    font-size: 3.5rem;
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.tech-hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Listing Section */
.tech-listing-section {
    padding: 80px 0;
    background-color: #fdfbf7;
}

/* Swiper / Grid Hybrid Layout */
.tech-device-slider {
    padding-bottom: 50px !important; /* Space for pagination */
    overflow: hidden;
}

.tech-card {
    background: #fff;
    border: 1px solid rgba(197, 160, 101, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(94, 11, 21, 0.1);
    border-color: var(--accent-gold);
}

.tech-card-image {
    height: 240px;
    background-color: #f9f5f0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.tech-card:hover .tech-card-image img {
    transform: scale(1.05);
}

.tech-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(197, 160, 101, 0.15);
    line-height: 1;
    z-index: 1;
    font-family: var(--font-heading);
}

.tech-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-card-title {
    font-size: 1.4rem;
    color: var(--secondary-burgundy);
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
}

.tech-card-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    flex: 1;
}

/* Desktop Grid Override */
@media (min-width: 992px) {
    .tech-grid-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .tech-card-slide {
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    
    .tech-pagination {
        display: none !important;
    }
}

/* Mobile Swiper Adjustments */
@media (max-width: 991px) {
    .tech-card {
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    
    .tech-hero-title {
        font-size: 2.5rem;
    }
    
    .tech-listing-section {
        padding: 50px 0;
    }
}

/* CTA Section */
.tech-page-cta-new {
    padding: 80px 0;
    background-color: #fff;
}

.tech-cta-box {
    background: linear-gradient(135deg, #1a0a0f 0%, #3d050c 100%);
    border-radius: 20px;
    padding: 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(61, 5, 12, 0.2);
}

.tech-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.2) 0%, transparent 70%);
    transform: translateX(30%);
}

.tech-cta-box h2 {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: #fff;
}

.tech-cta-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 90%;
}

.btn-gold-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-gold-outline:hover {
    background: var(--accent-gold);
    color: #1a0a0f;
    box-shadow: 0 5px 15px rgba(197, 160, 101, 0.3);
}

@media (max-width: 768px) {
    .tech-cta-box {
        padding: 30px 20px;
        text-align: center;
    }
    
    .tech-cta-box h2 {
        font-size: 1.8rem;
    }
    
    .tech-cta-box p {
        margin: 0 auto 20px;
    }
}

/* =========================================
   FIX: Class Name Mismatches & Missing Styles
   ========================================= */

.tech-card-image-wrapper {
    height: 240px;
    background-color: #f9f5f0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.tech-card:hover .tech-card-img {
    transform: scale(1.05);
}

.tech-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tech-card-line {
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-bottom: 15px;
}

.tech-card-tags {
    margin-top: auto; /* Push to bottom */
    padding-top: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tech-card-tags span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 30px;
    color: #666;
    background: #fdfbf7;
    font-weight: 600;
}

/* =========================================
   TECH PAGE: SWIPER CONTROLS
   ========================================= */

.tech-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    width: 100%;
}

.tech-slider-controls .swiper-pagination {
    position: static; /* Override default absolute */
    width: auto;
    transform: none;
    margin: 0;
}

.tech-prev, .tech-next {
    position: static; /* Override default absolute */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-burgundy);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.tech-prev:after, .tech-next:after {
    font-size: 16px;
    font-weight: bold;
}

.tech-prev:hover, .tech-next:hover {
    background-color: var(--accent-gold);
    color: var(--primary-burgundy);
    transform: scale(1.1);
}

/* Hide controls on desktop as it is grid */
@media (min-width: 992px) {
    .tech-slider-controls {
        display: none !important;
    }
}

/* =========================================
   TECH PAGE: SWIPER NAVIGATION & PAGINATION FIX
   ========================================= */

/* Fix Navigation Arrow Color (White) */
.tech-prev, .tech-next {
    color: #ffffff !important; /* Force white arrow */
    --swiper-navigation-color: #ffffff; /* Swiper CSS Variable */
    --swiper-theme-color: #ffffff;
}

.tech-prev:hover, .tech-next:hover {
    color: var(--primary-burgundy) !important; /* Burgundy arrow on hover */
    background-color: var(--accent-gold) !important;
}

/* Fix Pagination Bullets Alignment & Style */
.tech-slider-controls .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 50px;
}

.tech-slider-controls .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 0.5;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.tech-slider-controls .swiper-pagination-bullet-active {
    background: var(--primary-burgundy) !important;
    opacity: 1;
    width: 24px; /* Elongated active bullet */
    border-radius: 4px;
}

/* =========================================
   TECH PAGE: SWIPER NAVIGATION & PAGINATION FIX (REFINED)
   ========================================= */

.tech-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    width: 100%;
}

/* Custom Navigation Buttons */
.tech-prev-btn, .tech-next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-burgundy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(94, 11, 21, 0.2);
    font-size: 16px;
    z-index: 10;
}

.tech-prev-btn:hover, .tech-next-btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-burgundy);
    transform: scale(1.1);
}

/* Disabled state */
.tech-prev-btn.swiper-button-disabled, 
.tech-next-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #ccc;
}

/* Pagination Bullets - Fixed Width for Dynamic Effect */
.tech-slider-controls .swiper-pagination {
    position: relative !important;
    width: 80px !important; /* Fixed width is CRITICAL for dynamicBullets */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
}

.tech-slider-controls .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #ccc;
    opacity: 0.5;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.tech-slider-controls .swiper-pagination-bullet-active {
    background: var(--primary-burgundy) !important;
    opacity: 1;
    width: 18px; /* Slightly longer */
    border-radius: 4px;
}
