@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Urbanist:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-cream: #faf6f0;
    --bg-cream-dark: #f5eedf;
    --navy: #1d2c47;
    --navy-light: #2c3f5f;
    --gold: #cdaa7d;
    --gold-dark: #b69469;
    --gold-light: #dfc8a9;
    --white: #ffffff;
    --text-dark: #222222;
    --text-gray: #666666;
    --text-light: #999999;
    --border-color: rgba(205, 170, 125, 0.2);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Urbanist', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow: 0 10px 30px rgba(29, 44, 71, 0.04);
    --shadow-hover: 0 20px 40px rgba(29, 44, 71, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Base marble background */
.marble-bg {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header & Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 6%;
    border-bottom: 1px solid var(--border-color);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 500;
    position: relative;
}

.top-bar-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.top-bar-phones {
    display: flex;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item[href] {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.top-bar-item[href]:hover {
    color: var(--gold);
}

.top-bar-item svg {
    color: var(--gold);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.top-bar-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.top-bar-icon-btn:hover {
    color: var(--gold);
    transform: translateY(-1px);
}

.book-visit-btn {
    border: 1px solid var(--text-dark);
    padding: 8px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.book-visit-btn:hover {
    background-color: var(--text-dark);
    color: var(--white);
}

.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 6% 15px 6%;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white);
    position: relative;
    z-index: 100;
}

/* Logo Brand */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.desktop-logo {
    display: none;
}

.mobile-logo {
    display: flex;
}

@media (min-width: 769px) {
    .desktop-logo {
        display: flex !important;
        position: absolute;
        left: 50%;
        top: 54%;
        transform: translate(-50%, -50%);
        margin-bottom: 0;
        z-index: 1010;
    }
    .top-bar .desktop-logo .logo-img {
        max-height: 42px;
    }
    .mobile-logo {
        display: none !important;
    }
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--text-dark);
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
}

.logo-icon span {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 300;
    color: var(--text-dark);
    position: relative;
    top: -1px;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--text-dark);
    text-transform: uppercase;
}

.logo-sub {
    font-size: 8px;
    letter-spacing: 0.3em;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 500;
}

/* Main Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
    width: 100%;
}

.nav-links li.active a {
    color: var(--gold);
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--text-dark);
}

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

.mobile-only-nav-item {
    display: none;
}

/* Hero Pages Banner */
.page-hero {
    padding: 90px 6% 75px 6%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.page-hero h1 {
    font-family: var(--font-sans);
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-hero p.subtitle {
    font-family: var(--font-serif);
    font-size: 18px;
    font-style: italic;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 20px auto;
    font-weight: 300;
    line-height: 1.5;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--gold);
}

/* Main Grid Layouts */
.section-container {
    padding: 100px 6%;
    max-width: 1400px;
    margin: 0 auto;
}

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

/* Blog Cards */
.blog-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    transition: var(--transition);
    border: 1px solid transparent;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 67%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.08);
}

.blog-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--navy);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px;
}

.blog-title {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.35;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.blog-card:hover .blog-title {
    color: var(--gold);
}

.blog-readmore {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    margin-top: auto;
    position: relative;
    display: inline-block;
    width: fit-content;
    padding-bottom: 4px;
    transition: var(--transition);
}

.blog-readmore::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    transition: var(--transition);
}

.blog-card:hover .blog-readmore {
    color: var(--gold);
}

.blog-card:hover .blog-readmore::after {
    background-color: var(--gold);
    width: 100%;
}

/* Doctor Profiles Cards */
.doctor-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 50px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url('images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 1;
}

.doctor-card > * {
    position: relative;
    z-index: 2;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.doctor-avatar-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.doctor-card:hover .doctor-avatar-wrapper {
    transform: scale(1.03);
    border-color: var(--gold);
}

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

.doctor-name {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.doctor-role {
    font-family: var(--font-serif);
    font-size: 13px;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 35px;
    letter-spacing: 0.05em;
}

.doctor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.open-profile-btn {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.open-profile-btn:hover {
    color: var(--gold);
}

.doctor-socials {
    display: flex;
    gap: 8px;
}

.doctor-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--gold-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.doctor-social-btn:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* Appointment Section */
.appointment-section {
    display: flex;
    min-height: 600px;
    background-color: var(--navy);
    max-width: 100%;
    margin: 0 auto;
}

.appointment-image {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.appointment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appointment-content {
    flex: 1.1;
    padding: 80px 8%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-content h2 {
    font-family: var(--font-sans);
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.appointment-content p.subtitle {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 45px;
    font-weight: 300;
}

.appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 14px 18px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.12);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
    padding-right: 40px;
}

/* Custom styles for select option styling in browsers */
select.form-control option {
    background-color: var(--navy);
    color: var(--white);
}

.form-submit-btn {
    grid-column: span 2;
    background-color: var(--gold);
    color: var(--text-dark);
    border: none;
    padding: 16px;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 15px;
    border-radius: 2px;
}

.form-submit-btn:hover {
    background-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

/* Instagram Section */
.instagram-section {
    padding: 90px 0 0 0;
    background-color: var(--white);
    text-align: center;
}

.instagram-section h3 {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 600;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    width: 100%;
}

.instagram-item {
    position: relative;
    padding-top: 100%; /* Square aspect ratio */
    overflow: hidden;
    cursor: pointer;
}

.instagram-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 44, 71, 0.7);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.instagram-item:hover img {
    transform: scale(1.08);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 6% 30px 6%;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-nav {
    margin-bottom: 45px;
}

.footer-nav .nav-links a {
    font-size: 10px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 50px;
    margin-bottom: 60px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column.left {
    align-items: flex-start;
    text-align: left;
}

.footer-column.center {
    align-items: center;
    text-align: center;
}

.footer-column.right {
    align-items: flex-end;
    text-align: right;
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 10px;
    max-width: 250px;
    line-height: 1.5;
}

.footer-column p.sub-text {
    font-size: 11px;
    color: var(--text-light);
}

.footer-column a.footer-address-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-column a.footer-address-link:hover {
    color: var(--gold);
}

.footer-column a.contact-link {
    font-size: 14px;
    color: var(--text-dark);
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-column a.contact-link:hover {
    color: var(--gold);
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-links a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gold-light);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.footer-social-links a:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    width: 100%;
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

/* Home Hero Section */
.home-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background-image: linear-gradient(rgba(29, 44, 71, 0.5), rgba(29, 44, 71, 0.3)), url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 20%;
    color: var(--white);
    overflow: hidden;
}

.home-hero-content {
    max-width: 650px;
    z-index: 10;
}

.home-hero-subtitle {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.home-hero-title {
    font-family: var(--font-sans);
    font-size: 52px;
    font-weight: 300;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

.home-hero-text {
    font-family: var(--font-serif);
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
}

.home-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.home-hero-btn-primary {
    background-color: var(--gold);
    color: var(--text-dark);
    border: 1px solid var(--gold);
    padding: 14px 32px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
}

.home-hero-btn-primary:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--navy);
    transform: translateY(-2px);
}

.home-hero-btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    padding: 14px 32px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
}

.home-hero-btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* About Statistics & Info Section */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.stat-number {
    font-family: var(--font-sans);
    font-size: 36px;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
}

/* Specialties Section */
.specialties-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.specialties-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.specialty-row-item {
    display: flex;
    gap: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 25px;
    transition: var(--transition);
}

.specialty-row-item:hover {
    border-color: var(--gold);
}

.specialty-num {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.05em;
}

.specialty-info h3 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--text-dark);
    transition: var(--transition);
}

.specialty-row-item:hover h3 {
    color: var(--gold);
}

.specialty-info p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Before / After Slider */
.ba-section {
    background-color: var(--bg-cream);
    padding: 100px 6%;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ba-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ba-visual {
    position: relative;
    width: 100%;
    height: 380px;
    border: 1px solid var(--border-color);
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    gap: 12px;
}

.ba-img-half {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.ba-img-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(29, 44, 71, 0.85);
    color: var(--white);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 5px 12px;
}

.ba-img-half:last-child .ba-label {
    left: auto;
    right: 15px;
}

/* Popular Procedures Cards styling */
.procedure-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.procedure-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.procedure-image-box {
    position: relative;
    width: 100%;
    padding-top: 67%;
    overflow: hidden;
}

.procedure-image-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.procedure-card:hover .procedure-image-box img {
    transform: scale(1.06);
}

.procedure-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--gold);
    color: var(--text-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 2px;
}

.procedure-body {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.procedure-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.procedure-desc {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 25px;
    line-height: 1.5;
}

.procedure-book-btn {
    border: 1px solid var(--text-dark);
    padding: 10px 0;
    text-align: center;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    transition: var(--transition);
    margin-top: auto;
}

.procedure-card:hover .procedure-book-btn {
    background-color: var(--text-dark);
    color: var(--white);
}

/* Testimonial slider styling */
.testimonials-section {
    background-color: var(--bg-cream-dark);
    padding: 100px 6%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-stars {
    color: var(--gold);
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 25px;
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 24px;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 300;
}

.testimonial-client {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-client-role {
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-top: 5px;
}

/* Transparent Header Override */
.header-transparent {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    background-color: transparent !important;
    border-bottom: none !important;
    z-index: 1000;
}

.header-transparent .logo-text {
    color: var(--white) !important;
}

.header-transparent .logo-sub {
    color: rgba(255, 255, 255, 0.7) !important;
}

.header-transparent .logo-icon {
    border-color: var(--white) !important;
}

.header-transparent .logo-icon svg {
    color: var(--white) !important;
}

.header-transparent .logo-icon circle {
    stroke: var(--white) !important;
}

.header-transparent .logo-icon path {
    fill: var(--white) !important;
}

.header-transparent .nav-links a {
    color: var(--white) !important;
}

.header-transparent .nav-links a:hover {
    color: var(--gold-light) !important;
}

.header-transparent .nav-links a::after {
    background-color: var(--gold-light) !important;
}

.header-transparent .menu-toggle {
    color: var(--white) !important;
}

/* Transparent Top Bar Override */
.top-bar-transparent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    background-color: transparent !important;
    border-bottom: none !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.top-bar-transparent .top-bar-icon-btn {
    color: var(--white) !important;
}

.top-bar-transparent .top-bar-icon-btn:hover {
    color: var(--gold-light) !important;
}

.top-bar-transparent .book-visit-btn {
    border-color: var(--white) !important;
    color: var(--white) !important;
}

.top-bar-transparent .book-visit-btn:hover {
    background-color: var(--white) !important;
    color: var(--navy) !important;
}

/* Logo Image class */
.logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.header-transparent .logo-img {
    filter: brightness(0) invert(1); /* Ensure the logo is crisp white on dark background overlay */
}

.logo-container:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 10px rgba(205, 170, 125, 0.45));
}

.header-transparent .logo-container:hover .logo-img {
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(255, 255, 255, 0.45));
}

/* Home Hero Layout with Overlay Header */
.home-hero-exact {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 180px 6% 120px 6%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25)), url('images/hero.jpg');
    background-size: cover;
    background-position: center 15%;
    color: var(--white);
    overflow: hidden;
}

.home-hero-exact .home-hero-content {
    max-width: 900px;
    margin-bottom: 40px;
}

.home-hero-exact .home-hero-title {
    font-family: var(--font-sans);
    font-size: 58px;
    font-weight: 300;
    letter-spacing: 0.12em;
    line-height: 1.15;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
}

.home-hero-exact .home-hero-text {
    font-family: var(--font-sans);
    font-size: 15px;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 35px auto;
    font-weight: 400;
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 25px 6%;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.15));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 10;
}

.hero-bottom-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.hero-bottom-item .dot-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bottom-item .dot-icon::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--white);
    border-radius: 50%;
}

/* Chevron Down animations */
.chevron-down {
    transition: transform var(--transition);
}
.nav-links li:hover .chevron-down {
    transform: translateY(2px);
}

/* Shopping Cart Badge */
.top-bar-icon-btn {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--gold);
    color: var(--navy);
    font-size: 8px;
    font-weight: 700;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--white);
    line-height: 1;
}
.top-bar-transparent .cart-badge {
    border-color: var(--navy);
    background-color: var(--gold);
    color: var(--white);
}

/* About Cosmetic Section matching Mockup */
.about-cosmetic-section {
    padding: 120px 6% 40px 6%;
    background-color: var(--bg-cream); /* Cream base color */
    position: relative;
    overflow: hidden;
}
.about-cosmetic-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}
.about-cosmetic-images {
    position: relative;
    width: 100%;
    aspect-ratio: 1.15 / 1;
}
.about-img-back {
    width: 65%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 8%;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}
.about-img-front {
    width: 29%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    position: absolute;
    top: 64%;
    left: 52%;
    border: none;
    border-radius: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    z-index: 2;
    will-change: transform;
}
.about-cosmetic-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.about-tag {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    padding: 7px 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.about-title {
    font-family: var(--font-sans);
    font-size: 44px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 25px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.about-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}
.about-btn {
    display: inline-block;
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 12px 35px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}
.about-btn:hover {
    background-color: var(--navy);
    color: var(--white);
}

/* Credentials Carousel */
.credentials-carousel-container {
    margin-top: 90px;
    padding-top: 60px;
    width: 100%;
}
.credentials-title {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: #9ba5b5;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 35px;
}
.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
}
.carousel-track-wrapper::before,
.carousel-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 180px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.carousel-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #faf6f0, rgba(250, 246, 240, 0));
}
.carousel-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #faf6f0, rgba(250, 246, 240, 0));
}
.carousel-track {
    display: flex;
    gap: 90px;
    align-items: center;
    width: max-content;
    animation: scroll-carousel 30s linear infinite;
}
.carousel-track:hover {
    animation-play-state: paused;
}
.carousel-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    opacity: 0.65;
    transition: opacity var(--transition);
    flex-shrink: 0;
}
.carousel-logo:hover {
    opacity: 1;
}
.carousel-logo svg {
    height: 100%;
    width: auto;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 45px));
    }
}

/* Responsive Overrides for new elements */
@media (max-width: 768px) {
    .home-hero-exact .home-hero-title {
        font-size: 38px;
    }
    
    .home-hero-exact {
        padding-top: 140px;
        padding-bottom: 160px;
    }
    
    .hero-bottom-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 10px;
        padding: 20px 4%;
    }
    
    .hero-bottom-item {
        font-size: 9px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-bottom-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .instagram-item:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none !important;
    }

    .header-transparent {
        top: 0 !important;
    }
    
    .main-header {
        padding: 20px 4%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo-container {
        margin-bottom: 0;
        align-items: flex-start;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .logo-icon {
        display: none;
    }
    
    .main-nav {
        display: none; /* Hide standard nav */
    }
    
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .mobile-header-actions .top-bar-icon-btn {
        color: var(--text-dark);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .header-transparent .mobile-header-actions .top-bar-icon-btn {
        color: var(--white) !important;
    }

    body.mobile-menu-open .mobile-header-actions .top-bar-icon-btn:not(.menu-toggle) {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 24px;
        color: var(--text-dark);
        padding: 0;
        position: relative;
        z-index: 1000;
    }
    
    .header-transparent .menu-toggle {
        color: var(--white) !important;
    }
    
    /* Mobile Menu Drawer style (triggered by JS) */
    .main-nav.mobile-active {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        z-index: 999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0.98;
    }
    
    .main-nav.mobile-active .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }
    
    .main-nav.mobile-active .nav-links a {
        font-size: 16px;
        color: var(--text-dark) !important;
    }

    .main-nav.mobile-active .nav-links a:hover {
        color: var(--gold) !important;
    }

    .mobile-only-nav-item {
        display: block;
        width: 100%;
        padding: 0 20px;
        margin-top: 15px;
    }

    .book-visit-btn-mobile {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        text-align: center;
        padding: 14px 0;
        background-color: var(--navy);
        color: var(--white) !important;
        border: 1px solid var(--navy);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        transition: var(--transition);
    }

    .book-visit-btn-mobile:hover {
        background-color: var(--gold);
        border-color: var(--gold);
        color: var(--text-dark) !important;
    }

    /* Lock body scroll when mobile menu is active */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Position close button fixed and dark when menu is active */
    body.mobile-menu-open .menu-toggle {
        position: fixed;
        right: 4%;
        top: 20px;
        color: var(--text-dark) !important;
        z-index: 1000;
    }

    /* Keep mobile logo visible, fixed and dark when menu is active */
    body.mobile-menu-open .mobile-logo {
        position: fixed;
        left: 4%;
        top: 20px;
        z-index: 1000;
    }
    
    body.mobile-menu-open .header-transparent .mobile-logo .logo-img {
        filter: none !important;
    }
    
    .appointment-section {
        flex-direction: column;
    }
    
    .appointment-image {
        height: 350px;
    }
    
    .appointment-content {
        padding: 50px 6%;
    }
    
    .appointment-form {
        grid-template-columns: 1fr;
    }
    
    .form-submit-btn {
        grid-column: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 30px;
    }
    
    .footer-column {
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-nav .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    /* Responsive overrides for cosmetic about block */
    .about-cosmetic-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-cosmetic-images {
        height: auto;
        max-width: 550px;
        margin: 0 auto;
    }
    .about-cosmetic-content {
        align-items: center;
        text-align: center;
    }
    .about-desc {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p.subtitle {
        font-size: 15px;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile overrides for cosmetic about block */
    .about-cosmetic-images {
        height: auto;
    }
    .about-title {
        font-size: 30px;
    }
    .carousel-track {
        gap: 40px;
    }
}

/* Categories / Procedures Section (3rd Part) */
.procedures-categories-section {
    padding: 0 0 100px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Services Section Header */
.services-section-header {
    text-align: center;
    padding: 80px 40px 50px;
    max-width: 720px;
    margin: 0 auto;
}

.services-section-tag {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--gold);
    text-transform: uppercase;
    margin: 0 0 16px;
    display: block;
}

.services-section-title {
    font-family: var(--font-sans);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 300;
    text-transform: uppercase;
    color: var(--text-dark);
    letter-spacing: 0.15em;
    margin: 0 0 18px;
    line-height: 1.2;
}

.services-section-desc {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 560px;
    margin: 0 auto;
}

.procedures-carousel-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.procedures-carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.procedures-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.procedures-carousel-container .carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(29, 44, 71, 0.7);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
    opacity: 0;
}

.procedures-carousel-container:hover .carousel-nav-btn {
    opacity: 1;
}

.procedures-carousel-container .carousel-nav-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--text-dark);
}

.procedures-carousel-container .carousel-nav-btn.prev-btn {
    left: 20px;
}

.procedures-carousel-container .carousel-nav-btn.next-btn {
    right: 20px;
}

.procedures-carousel-track .procedure-card {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.procedure-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.procedure-card:hover img {
    transform: scale(1.06);
}

/* Crop class for images with black side margins */
.procedure-card img.zoomed-image {
    transform: scale(1.15);
}

.procedure-card:hover img.zoomed-image {
    transform: scale(1.22);
}

.procedure-card img.zoomed-image-small {
    transform: scale(1.08);
}

.procedure-card:hover img.zoomed-image-small {
    transform: scale(1.15);
}

.procedure-card img.zoomed-image-large {
    transform: scale(1.25);
}

.procedure-card:hover img.zoomed-image-large {
    transform: scale(1.32);
}

.procedure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 50px 30px;
    z-index: 1;
}

.procedure-title {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 0;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(28px);
}

.procedure-card:hover .procedure-title {
    transform: translateY(0);
}

.procedure-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    background: transparent;
    padding: 10px 24px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background-color 0.3s ease,
                color 0.3s ease;
    pointer-events: none;
    margin-top: 15px;
}

.procedure-card:hover .procedure-btn {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.procedure-btn:hover {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

/* Responsive Overrides for Procedures Section */
@media (max-width: 1024px) {
    .procedures-carousel-track .procedure-card {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media (max-width: 768px) {
    .procedures-categories-section {
        padding: 0 0 60px 0;
    }
    .procedures-carousel-container .carousel-nav-btn {
        opacity: 1; /* always show navigation controls on touch/tablet screens */
        width: 40px;
        height: 40px;
    }
    .procedures-carousel-container .carousel-nav-btn.prev-btn {
        left: 10px;
    }
    .procedures-carousel-container .carousel-nav-btn.next-btn {
        right: 10px;
    }
    .procedures-carousel-track .procedure-card {
        flex: 0 0 50%;
        max-width: 50%;
        aspect-ratio: 4 / 3;
    }
    .procedure-title {
        transform: translateY(0);
        margin-bottom: 12px;
    }
    .procedure-btn {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        margin-top: 0;
    }
}

/* Grid View Active state for Procedures Carousel */
.procedures-carousel-container.grid-view-active {
    align-items: flex-start;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

.procedures-carousel-container.grid-view-active .procedures-carousel-viewport {
    overflow: visible;
}

.procedures-carousel-container.grid-view-active .procedures-carousel-track {
    flex-wrap: wrap !important;
    justify-content: center;
    transform: none !important;
    gap: 40px 30px; /* 40px vertical gap, 30px horizontal gap */
    padding: 20px 0;
}

.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card {
    flex: 0 0 calc((100% - 60px) / 3) !important;
    max-width: calc((100% - 60px) / 3) !important;
    aspect-ratio: 4 / 5;
}

.procedures-carousel-container.grid-view-active .carousel-clone {
    display: none !important;
}

.procedures-carousel-container.grid-view-active .carousel-nav-btn {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Staggered Fade In Animation for Grid View (with X-axis slide/glide) */
@keyframes gridCardFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-40px) translateY(10px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone) {
    animation: gridCardFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(5) { animation-delay: 0.05s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(6) { animation-delay: 0.1s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(7) { animation-delay: 0.15s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(8) { animation-delay: 0.2s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(9) { animation-delay: 0.25s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(10) { animation-delay: 0.3s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(11) { animation-delay: 0.35s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(12) { animation-delay: 0.4s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(13) { animation-delay: 0.45s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(14) { animation-delay: 0.5s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(15) { animation-delay: 0.55s; }
.procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card:not(.carousel-clone):nth-child(16) { animation-delay: 0.6s; }

/* Responsive adjustments for Grid View on Tablet */
@media (max-width: 1024px) {
    .procedures-carousel-container.grid-view-active .procedures-carousel-track .procedure-card {
        flex: 0 0 calc((100% - 30px) / 2) !important;
        max-width: calc((100% - 30px) / 2) !important;
    }
}

.carousel-bottom-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 5;
}

@media (max-width: 480px) {
    .carousel-bottom-actions {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .carousel-clone {
        display: none !important;
    }
    .procedures-carousel-container .carousel-nav-btn {
        display: none !important;
    }
    .procedures-carousel-track {
        flex-direction: column !important;
        transform: none !important;
    }
    .procedures-carousel-track .procedure-card {
        flex: 0 0 auto !important;
        max-width: 100% !important;
        width: 100% !important;
        aspect-ratio: 4 / 3;
        
        /* Mobile Scroll Reveal */
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
                    transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
        will-change: transform, opacity;
    }
    .procedures-carousel-track .procedure-card.reveal-visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* Before / After Comparison Section */
.comparison-section {
    padding: 120px 6%;
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
}

.comparison-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comparison-tag {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    padding: 7px 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.comparison-title {
    font-family: var(--font-sans);
    font-size: 44px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 25px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.comparison-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}

.comparison-btn {
    display: inline-block;
    border: 1px solid var(--navy);
    color: var(--navy);
    padding: 12px 35px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.comparison-btn:hover {
    background-color: var(--navy);
    color: var(--white);
}

.comparison-slider-wrapper {
    position: relative;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    overflow: hidden;
    user-select: none;
    --position: 50%;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.img-before {
    z-index: 2;
    clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
}

.img-after {
    z-index: 1;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);
    width: 2px;
    background-color: var(--white);
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.handle-button svg {
    width: 12px;
    height: 12px;
    margin: 0 -1px;
}

.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 4;
    cursor: col-resize;
    margin: 0;
}

/* Responsive overrides for Before / After Section */
@media (max-width: 991px) {
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .comparison-content {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 80px 6%;
    }
    
    .comparison-title {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .comparison-title {
        font-size: 28px;
    }
}

/* Interactive Body Map Hotspots Section */
.hotspots-section {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
}

.hotspots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
}

.hotspots-image-container {
    position: relative;
    width: 100%;
    display: block;
    line-height: 0;
    overflow: visible; /* Ensure tooltips are not clipped */
}

.hotspots-base-image {
    width: 100%;
    height: auto;
    display: block;
}

.hotspots-content {
    background-color: #121e31; /* Dark navy brand color matching mockup */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 10%;
    color: var(--white);
}

.hotspots-text-wrapper {
    max-width: 500px;
}

.hotspots-tag {
    display: inline-block;
    background-color: #cdaa7d; /* Gold accent color matching mockup tag */
    color: var(--white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    padding: 7px 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hotspots-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hotspots-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hotspots-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: var(--white);
    padding: 12px 35px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
}

.hotspots-btn:hover {
    background-color: var(--white);
    color: #121e31;
    border-color: var(--white);
}

/* Hotspots core styling */
.hotspot {
    position: absolute;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.hotspot-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: var(--white);
    border-radius: 50%;
    z-index: 7;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition);
}

.hotspot:hover .hotspot-dot {
    transform: translate(-50%, -50%) scale(1.15);
}

.hotspot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 6;
    animation: hotspot-pulse-anim 2.2s infinite;
}

@keyframes hotspot-pulse-anim {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

/* Hotspot tooltips */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #f7d5bd; /* Peach color matching mockup */
    color: #121e31;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 15px 35px;
    white-space: nowrap;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #f7d5bd transparent transparent transparent;
}

.hotspot:hover .hotspot-tooltip {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Responsive overrides for Hotspots Section */
@media (max-width: 991px) {
    .hotspots-grid {
        grid-template-columns: 1fr;
    }
    
    .hotspots-content {
        padding: 80px 6%;
        justify-content: center;
        text-align: center;
    }
    
    .hotspots-text-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hotspots-title {
        font-size: 32px;
    }
    
    .hotspot-tooltip {
        font-size: 11px;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .hotspots-title {
        font-size: 26px;
    }
}

/* Popular Procedures Section */
.popular-procedures-section {
    padding: 120px 6%;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.popular-procedures-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.procedure-showcase-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.procedure-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    min-height: auto;
}

.procedure-text-card-wrapper {
    position: relative;
    z-index: 10;
}

.procedure-image-container-wrapper {
    position: relative;
    z-index: 5;
    height: 380px;
}

.procedure-text-card {
    background-image: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 15px 45px rgba(29, 44, 71, 0.08);
    border: none;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.procedure-text-card,
.procedure-text-card .exit-wrapper,
.procedure-text-card .enter-wrapper {
    padding: 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

.procedure-text-card .exit-wrapper,
.procedure-text-card .enter-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background-image: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.procedure-text-card h3 {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 300;
    color: var(--navy);
    letter-spacing: 0.15em;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.procedure-text-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 35px;
    font-weight: 400;
}

.procedure-view-details-btn {
    display: inline-block;
    background-color: var(--navy);
    color: var(--white);
    padding: 14px 35px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
    border: 1px solid var(--navy);
    z-index: 2;
}

.procedure-view-details-btn:hover {
    background-color: transparent;
    color: var(--navy);
    transform: translateY(-2px);
}

.procedure-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 15px 45px rgba(29, 44, 71, 0.08);
}

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

.procedure-image-container .exit-wrapper,
.procedure-image-container .enter-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.procedure-image-container .exit-wrapper img,
.procedure-image-container .enter-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Tabs Navigation */
.procedures-nav-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1000px;
    margin: 30px auto 0 auto;
    border: 1px solid rgba(205, 170, 125, 0.25);
    background-color: var(--bg-cream);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(29, 44, 71, 0.03);
}

.procedure-tab {
    flex: 1;
    background-color: transparent;
    border: none;
    border-right: 1px solid var(--white);
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0;
}

.procedure-tab:last-child {
    border-right: none;
}

.procedure-tab .tab-icon {
    color: var(--gold);
    font-size: 14px;
    transition: var(--transition);
}

.procedure-tab:hover {
    background-color: var(--bg-cream-dark);
}

.procedure-tab.active {
    background-color: var(--navy);
    color: var(--white);
}

.procedure-tab.active .tab-icon {
    color: var(--gold-light);
}

/* Direction-Aware Transition Animations */

/* Up direction: enters from bottom (translates from 100% to 0), exits to top (translates from 0 to -100%) */
.switching-up .exit-wrapper {
    animation: slide-out-up 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.switching-up .enter-wrapper {
    animation: slide-in-up 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Down direction: enters from top (translates from -100% to 0), exits to bottom (translates from 0 to 100%) */
.ticker-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #121e31; /* Theme Dark Navy */
    overflow: hidden;
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll-right 24s linear infinite;
}

/* Pause scroll on hover for readability if user wants to read a specific item */
.ticker-banner:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    min-width: 100%;
    gap: 100px;
    padding-right: 100px;
    box-sizing: border-box;
}

.switching-down .exit-wrapper {
    animation: slide-out-down 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.switching-down .enter-wrapper {
    animation: slide-in-down 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slide-in-up {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-out-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes slide-in-down {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-out-down {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Desktop Styles with overlapping layout */
@media (min-width: 992px) {
    .procedure-showcase {
        grid-template-columns: repeat(12, 1fr);
        min-height: 550px;
        gap: 0;
        align-items: center;
    }
    
    .procedure-text-card-wrapper {
        grid-column: 1 / 7; /* Columns 1 to 6 */
        grid-row: 1;
        z-index: 10;
        align-self: center;
    }
    
    .procedure-image-container-wrapper {
        grid-column: 5 / 13; /* Columns 5 to 12 */
        grid-row: 1;
        z-index: 5;
        height: 500px;
    }
    
    .procedure-text-card {
        height: 420px; /* Force consistent size across all procedure cards */
    }
    
    /* Slightly offset the text card content so it doesn't get covered by the image */
    .procedure-text-card,
    .procedure-text-card .exit-wrapper,
    .procedure-text-card .enter-wrapper {
        padding: 70px 90px 70px 60px; /* More right padding to account for overlap */
    }
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .popular-procedures-section {
        padding: 80px 6%;
    }
    
    .popular-procedures-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .procedure-showcase {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        min-height: auto;
        border-bottom: 1px solid var(--white);
    }
    
    .procedure-text-card-wrapper {
        width: 100%;
    }
    
    .procedure-image-container-wrapper {
        height: 380px;
        width: 100%;
        margin: 0;
    }
    
    .procedure-text-card {
        min-height: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background-image: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/marble-bg.jpg');
        background-size: cover;
        background-position: center;
    }
    
    .procedure-text-card,
    .procedure-text-card .exit-wrapper,
    .procedure-text-card .enter-wrapper {
        padding: 50px 30px;
        align-items: center;
        text-align: center;
        border-radius: 0;
        background-image: linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)), url('images/marble-bg.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .procedure-text-card h3 {
        font-size: 26px;
        margin-bottom: 15px;
    }
    
    .procedure-text-card p {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .procedure-image-container {
        border-radius: 0;
        box-shadow: none;
    }
    
    .procedures-nav-tabs {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        border: 1px solid rgba(205, 170, 125, 0.2);
        background-color: var(--white);
        box-shadow: 0 4px 15px rgba(29, 44, 71, 0.03);
        gap: 0;
        margin-top: 30px;
        border-radius: 4px;
        overflow: hidden;
        padding-top: 0;
    }
    
    .procedure-tab {
        flex: none;
        width: 100%;
        background-color: var(--bg-cream);
        border: none;
        border-bottom: 1px solid var(--white);
        border-radius: 0;
        padding: 16px 24px;
        font-size: 11px;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .procedure-tab:last-child {
        border-bottom: none;
    }
    
    .procedure-tab.active {
        background-color: var(--navy);
        color: var(--white);
    }

    /* Prevent text card height collapse and overlap on mobile view transitions */
    .switching-up .exit-wrapper,
    .switching-down .exit-wrapper {
        display: none !important;
    }
    
    .switching-up .enter-wrapper,
    .switching-down .enter-wrapper {
        position: relative !important;
        opacity: 0;
        animation: fadeInMobile 0.3s ease-out forwards;
    }

    /* Prevent doubling padding on card during transitions */
    .switching-up .procedure-text-card,
    .switching-down .procedure-text-card {
        padding: 0 !important;
    }
}

@keyframes fadeInMobile {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .procedure-tab {
        padding: 14px 20px;
        font-size: 10.5px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .popular-procedures-title {
        font-size: 28px;
    }
    
    .procedure-image-container-wrapper {
        height: 300px;
    }
    
    .procedure-text-card,
    .procedure-text-card .exit-wrapper,
    .procedure-text-card .enter-wrapper {
        padding: 40px 25px;
    }
    
    .procedure-text-card h3 {
        font-size: 22px;
    }
    
    .procedure-text-card p {
        font-size: 14px;
        margin-bottom: 25px;
    }
}

/* Helper class for responsive breaks */
.desktop-only {
    display: inline;
}

/* Gallery Banner Section */
.gallery-banner-section {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background-image: url('images/gallery11.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
}

.gallery-banner-content {
    max-width: 550px;
    margin-left: auto; /* Aligns content to the right, keeping the left face visible */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.gallery-banner-tag {
    display: inline-block;
    background-color: #ebd1be; /* Warm elegant peach/nude background to match the design screenshot exactly */
    color: #6e5a4f; /* Muted brown/taupe text to match the design screenshot exactly */
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 7px 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-radius: 2px;
}

.gallery-banner-title {
    font-family: var(--font-sans);
    font-size: 48px; /* Slightly larger, matching the prominent elegant header */
    font-weight: 300;
    line-height: 1.1; /* Tighter line-height for elegant stacked typography */
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-banner-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 300;
}

.gallery-banner-btn {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.5); /* Softer white border matching the design screenshot */
    color: var(--white);
    padding: 14px 35px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
}

.gallery-banner-btn:hover {
    background-color: var(--white);
    color: var(--navy);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Responsive styles for Gallery Banner */
@media (max-width: 991px) {
    .desktop-only {
        display: none;
    }

    .gallery-banner-section {
        background-image: linear-gradient(rgba(29, 44, 71, 0.65), rgba(29, 44, 71, 0.65)), url('images/gallery11.jpg');
        padding: 80px 6%;
        min-height: 450px;
        justify-content: center;
    }
    
    .gallery-banner-content {
        max-width: 100%;
        margin-left: 0;
        align-items: center;
        text-align: center;
    }
    
    .gallery-banner-title {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .gallery-banner-title {
        font-size: 28px;
    }
    .gallery-banner-btn {
        padding: 12px 28px;
    }
}

/* Reviews Section */
.reviews-section {
    position: relative;
    padding: 100px 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.93)), url('images/marble-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    text-align: center;
    overflow: hidden;
}

.reviews-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.reviews-header {
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-title {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.reviews-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.reviews-stars {
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 4px;
}

.reviews-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px; /* Pre-allocate height to avoid layout shift */
}

.reviews-slider {
    position: relative;
    flex: 1;
    max-width: 820px;
    margin: 0 40px;
    overflow: hidden; /* Clip side-to-side transitions within the container boundaries */
}

.review-slide {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
}

.review-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    transform: translateX(0);
    z-index: 2;
}

.review-slide.leaving {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

/* Direction-aware horizontal slide transitions */
.reviews-slider.slide-next .review-slide.active {
    animation: reviewSlideInRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reviews-slider.slide-next .review-slide.leaving {
    animation: reviewSlideOutLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reviews-slider.slide-prev .review-slide.active {
    animation: reviewSlideInLeft 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reviews-slider.slide-prev .review-slide.leaving {
    animation: reviewSlideOutRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes reviewSlideInRight {
    from { transform: translateX(80px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes reviewSlideOutLeft {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(-80px); opacity: 0; }
}

@keyframes reviewSlideInLeft {
    from { transform: translateX(-80px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes reviewSlideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(80px); opacity: 0; }
}

.review-quote {
    margin-bottom: 30px;
    border: none;
    padding: 0;
}

.review-text {
    font-family: var(--font-serif);
    font-size: 19px;
    font-style: italic;
    line-height: 1.65;
    color: var(--navy-light);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.reviewer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviewer-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(29, 44, 71, 0.08);
}

.reviewer-name {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.reviewer-procedure {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.reviews-nav-btn {
    background: none;
    border: none;
    color: rgba(29, 44, 71, 0.3);
    cursor: pointer;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
    z-index: 10;
}

.reviews-nav-btn:hover {
    color: var(--gold);
    background-color: rgba(205, 170, 125, 0.05);
}

.reviews-nav-btn svg {
    width: 32px;
    height: 32px;
    stroke-width: 0.75;
}

/* Responsive styles for Reviews */
@media (max-width: 991px) {
    .reviews-section {
        padding: 70px 0;
    }
    
    .reviews-title {
        font-size: 26px;
    }
    
    .reviews-carousel-wrapper {
        min-height: 360px; /* Slightly taller for wrapping text */
    }
    
    .reviews-slider {
        margin: 0 10px;
    }
    
    .review-text {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .reviews-carousel-wrapper {
        min-height: 420px;
    }
    
    /* Position navigation arrows below on small screens */
    .reviews-nav-btn {
        position: absolute;
        bottom: -20px;
    }
    
    .prev-btn {
        left: 30%;
    }
    
    .next-btn {
        right: 30%;
    }
    
    .reviews-slider {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 60px 0;
    }
    
    .reviews-title {
        font-size: 22px;
    }
    
    .reviews-carousel-wrapper {
        min-height: 460px;
    }
    
    .review-text {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .prev-btn {
        left: 20%;
    }
    
    .next-btn {
        right: 20%;
    }
}


/* ==========================================================================
   Elegant Luxury Page Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a2c47 0%, #0d1726 100%); /* Depth gradient */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000; /* Ensure it stays above everything */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1),
                transform 0.8s cubic-bezier(0.85, 0, 0.15, 1),
                visibility 0.8s;
}

.preloader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Luxury gold aura pulsing behind the logo */
.preloader-content::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(205, 170, 125, 0.15) 0%, rgba(13, 23, 38, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    animation: preloader-aura-pulse 4s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate;
}

/* Breathing scale and soft glowing drop shadow logo */
.preloader-logo {
    max-height: 48px;
    width: auto;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    filter: drop-shadow(0 0 15px rgba(205, 170, 125, 0.2));
    animation: 
        preloader-logo-intro 1.0s cubic-bezier(0.215, 0.61, 0.355, 1) forwards 0.2s,
        preloader-logo-breath 4s ease-in-out infinite alternate 1.2s;
}

.preloader-line {
    width: 180px;
    height: 1.5px;
    background-color: rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Elegant gold gradient sheen loading line */
.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #cdaa7d, transparent);
    animation: preloader-loading 1.8s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

/* Animations */
@keyframes preloader-logo-intro {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes preloader-logo-breath {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(205, 170, 125, 0.2));
    }
    100% {
        transform: scale(1.03);
        filter: drop-shadow(0 0 25px rgba(205, 170, 125, 0.45));
    }
}

@keyframes preloader-aura-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

@keyframes preloader-loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Hide State (Slides up gracefully while fading) */
.preloader-hidden {
    opacity: 0 !important;
    transform: translateY(-100%) scale(1.02);
    visibility: hidden !important;
}


/* ==========================================================================
   Aesthetic Artistry Section (Non-Surgical Treatments Layout)
   ========================================================================== */
.aesthetic-artistry-section {
    padding: 120px 6%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.aesthetic-artistry-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Column: Overlapping Images Layout */
.artistry-images-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end; /* Align the big image to the right container edge */
    padding-left: 10%; /* Leaves space for the small overlapping image on the left */
    box-sizing: border-box;
}

.artistry-img-big-container {
    width: 85%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(29, 44, 71, 0.06);
}

.artistry-img-big {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.artistry-images-wrapper:hover .artistry-img-big {
    transform: scale(1.02);
}

.artistry-img-small-wrapper {
    position: absolute;
    left: 0;
    bottom: -8%;
    width: 40%;
    z-index: 5;
    will-change: transform;
}

.artistry-img-small {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 45px rgba(29, 44, 71, 0.16);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.artistry-images-wrapper:hover .artistry-img-small {
    transform: translateY(-8px);
}

/* Right Column: Content Card Layout */
.artistry-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.artistry-tag {
    display: inline-block;
    background-color: #121e31; /* Deep Navy Brand Color */
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 7px 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-radius: 2px;
}

.artistry-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.artistry-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 35px;
    font-weight: 400;
}

/* Two-column features grid */
.artistry-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
    width: 100%;
    margin: 0 0 45px 0;
    padding: 0;
    list-style: none;
}

.artistry-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.artistry-check {
    flex-shrink: 0;
}

/* Outline Navy Button */
.artistry-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--navy);
    padding: 15px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
    border: 1px solid var(--navy);
}

.artistry-btn:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 44, 71, 0.08);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .aesthetic-artistry-section {
        padding: 80px 6%;
    }

    .aesthetic-artistry-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .artistry-images-wrapper {
        max-width: 500px;
        margin: 0 auto;
        padding-left: 12%;
    }

    .artistry-img-small-wrapper {
        bottom: -5%;
    }

    .artistry-content {
        align-items: center;
        text-align: center;
    }

    .artistry-features {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .artistry-features li {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .artistry-title {
        font-size: 32px;
    }
    
    .artistry-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .artistry-title {
        font-size: 26px;
    }
    
    .artistry-desc {
        font-size: 14px;
    }
}


/* ==========================================================================
   Doctor Biography Section (Meet Dr. Hoffman Layout)
   ========================================================================== */
.doctor-bio-section {
    padding: 120px 6% 100px 6%;
    background-color: #0b1523; /* Luxury Deep Slate Navy */
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.doctor-bio-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Left Column Content styling */
.doctor-bio-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.doctor-bio-tag {
    display: inline-block;
    background-color: #cdaa7d; /* Brand Elegant Gold */
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    padding: 7px 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-radius: 2px;
}

.doctor-bio-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.doctor-bio-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 35px;
    font-weight: 400;
}

/* Outline White Button */
.doctor-bio-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 15px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.doctor-bio-btn:hover {
    background-color: var(--white);
    color: #0b1523;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Right Column styling: Portrait image with overlays */
.doctor-bio-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 480px;
    justify-self: center;
}

.doctor-img-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

/* Signature overlay on top-right of photo */
.doctor-signature {
    position: absolute;
    top: -20px;
    right: -40px;
    width: 40%;
    height: auto;
    z-index: 10;
    pointer-events: none;
    filter: brightness(0) invert(1); /* Converts black ink SVG to pure white */
    opacity: 0.95;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.doctor-bio-image-wrapper:hover .doctor-signature {
    transform: rotate(2deg) scale(1.05);
}

/* Play Badge card overlay on bottom-left of photo */
.doctor-video-badge {
    position: absolute;
    bottom: 8%;
    left: -40px;
    background-color: var(--white);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
    border-radius: 2px;
    cursor: pointer;
    transition: transform 0.3s var(--transition);
}

.doctor-video-badge:hover {
    transform: translateY(-3px) scale(1.02);
}

.video-play-btn {
    width: 38px;
    height: 38px;
    background-color: #cdaa7d; /* Brand Gold */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(205, 170, 125, 0.4);
}

.video-play-btn svg {
    margin-left: 2px; /* Centering tweak for play arrow triangle */
}

.doctor-video-badge span {
    color: #121e31; /* Brand Navy */
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-family: var(--font-sans);
    text-transform: uppercase;
}

/* Bottom Statistics Counters */
.doctor-stats-container {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 80px;
    padding-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-sans);
    font-size: 46px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .doctor-bio-section {
        padding: 80px 6% 60px 6%;
    }

    .doctor-bio-container {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 40px;
    }

    .doctor-bio-content {
        align-items: center;
        text-align: center;
    }

    .doctor-bio-image-wrapper {
        max-width: 440px;
    }

    .doctor-video-badge {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
    }

    .doctor-video-badge:hover {
        transform: translateX(-50%) translateY(-3px) scale(1.02);
    }

    .doctor-signature {
        right: -10px;
    }

    .doctor-stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
        margin-top: 60px;
        padding-top: 60px;
    }
}

@media (max-width: 768px) {
    .doctor-bio-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .doctor-bio-title {
        font-size: 26px;
    }

    .doctor-bio-desc {
        font-size: 14px;
    }

    .doctor-stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stat-number {
        font-size: 38px;
    }
}


/* ==========================================================================
   Consultation Banner Section Layout
   ========================================================================== */
.consultation-banner-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 80px 8%;
    background-image: linear-gradient(90deg, rgba(11, 21, 35, 0.3) 0%, rgba(11, 21, 35, 0) 60%), 
                      url('images/background2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.consultation-banner-content {
    max-width: 520px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.consultation-banner-title {
    font-family: var(--font-sans);
    font-size: 38px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.consultation-banner-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 35px;
    font-weight: 400;
}

/* Outline white button */
.consultation-banner-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 15px 35px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.85);
}

.consultation-banner-btn:hover {
    background-color: var(--white);
    color: #121e31; /* Brand Navy */
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .consultation-banner-section {
        background-image: linear-gradient(rgba(18, 30, 49, 0.55), rgba(18, 30, 49, 0.55)), 
                          url('images/background2.jpg');
        padding: 80px 6%;
        min-height: 460px;
        justify-content: center;
    }

    .consultation-banner-content {
        align-items: center;
        text-align: center;
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .consultation-banner-title {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .consultation-banner-title {
        font-size: 24px;
    }
    
    .consultation-banner-desc {
        font-size: 14px;
    }
}


/* ==========================================================================
   Horizontal Ticker Offer Banner Layout (No padding/margin, scrolls right)
   ========================================================================== */
.ticker-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #121e31; /* Theme Dark Navy */
    overflow: hidden;
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll-right 24s linear infinite;
}

/* Pause scroll on hover for readability if user wants to read a specific item */
.ticker-banner:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    min-width: 100%;
    gap: 100px;
    padding-right: 100px;
    box-sizing: border-box;
}

.ticker-item {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    white-space: nowrap;
    text-transform: uppercase;
}

.ticker-icon {
    height: 24px;
    width: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
}

/* Seamless infinite scroll keyframes moving right */
@keyframes ticker-scroll-right {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* Seamless infinite scroll keyframes moving left (Fallback option if needed) */
@keyframes ticker-scroll-left {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}


/* ==========================================================================
   Latest News & Offers Section Layout
   ========================================================================== */
.latest-news-section {
    padding: 120px 6% 100px 6%;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.latest-news-title {
    font-family: var(--font-sans);
    font-size: 40px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
}

.latest-news-container {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Individual News Card styling */
.news-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.news-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(29, 44, 71, 0.04);
    margin-bottom: 25px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.04);
}

.news-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.news-tag {
    display: inline-block;
    background-color: #121e31; /* Theme Navy */
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 6px 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-radius: 2px;
}

.news-card-title {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.45;
    color: #121e31;
    text-decoration: none;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.news-card-title:hover {
    color: #cdaa7d; /* Brand Gold */
}

/* Divider & Read More Button Aligned at Bottom */
.news-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(18, 30, 49, 0.08);
    margin-top: auto; /* Pushes bottom contents down */
    margin-bottom: 15px;
}

.news-readmore-btn {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #121e31;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.news-readmore-btn:hover {
    color: #cdaa7d; /* Brand Gold */
}

/* Ticker Footer View More Button */
.latest-news-footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.view-posts-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--navy);
    padding: 15px 40px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: var(--transition);
    border-radius: 2px;
    border: 1px solid var(--navy);
}

.view-posts-btn:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(29, 44, 71, 0.08);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .latest-news-section {
        padding: 80px 6% 60px 6%;
    }

    .latest-news-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .latest-news-container {
        grid-template-columns: 1fr;
        gap: 50px;
        max-width: 480px;
        margin: 0 auto 40px auto;
    }
    
    .news-img-wrapper {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .news-img-wrapper {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .latest-news-title {
        font-size: 26px;
    }
    
    .news-card-title {
        font-size: 18px;
    }
    
    .news-img-wrapper {
        height: 220px;
    }
}

/* ==========================================================================
   Premium Scroll Reveal Animations
   ========================================================================== */
.reveal-element {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.1s cubic-bezier(0.215, 0.61, 0.355, 1.0), 
                transform 1.1s cubic-bezier(0.215, 0.61, 0.355, 1.0);
    will-change: transform, opacity;
}

.reveal-element.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll reveal modifiers */
.reveal-left {
    transform: translateX(-35px) translateY(0);
}
.reveal-left.reveal-visible {
    transform: translateX(0) translateY(0);
}

.reveal-right {
    transform: translateX(35px) translateY(0);
}
.reveal-right.reveal-visible {
    transform: translateX(0) translateY(0);
}

/* Staggered delays for items in grid layouts */
.delay-1 {
    transition-delay: 0.1s;
}
.delay-2 {
    transition-delay: 0.25s;
}
.delay-3 {
    transition-delay: 0.4s;
}
.delay-4 {
    transition-delay: 0.55s;
}

/* Disable reveal animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-element {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
