:root {
    /* The Royal Brand Palette based on your logo */
    --royal-navy: #0A192F;       /* Deep, luxurious dark blue for text and headers */
    --brand-blue: #005BB5;       /* The vibrant blue from your logo's swirl */
    --brand-green: #8CC63F;      /* The clinical green from your logo's cross */
    
    /* Luxury Accents & Backgrounds */
    --accent-gold: #C5A880;      /* Keeps the luxury hotel feel for the suites */
    --bg-color: #FAFAFA;
    --text-primary: var(--royal-navy); 
    --text-secondary: #4A5568;
    --white: #FFFFFF;
    --border-color: #E2E8F0;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
}

h1, h2, h3, .brand-name {
    font-family: 'Playfair Display', serif;
}

/* Utility Bar */
.utility-bar {
    background-color: var(--royal-navy);
    color: var(--white);
    font-size: 0.8rem;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    letter-spacing: 0.5px;
}

.utility-right a {
    color: var(--white);
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.utility-right a:hover {
    opacity: 1;
    color: var(--brand-green);
}

/* Main Navigation & Brand Styling */
#main-nav {
    background-color: var(--white);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    height: 45px; 
    width: auto;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--royal-navy);
    line-height: 1;
}

.brand-sub {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--brand-blue);
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.highlight-link {
    color: var(--accent-gold) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--royal-navy);
    box-shadow: 0 4px 12px rgba(10, 25, 47, 0.2);
}

.hero-cta-btn {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-blue);
    border: 1px solid var(--brand-blue);
    padding: 12px 24px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
}

.btn-secondary:hover {
    background-color: var(--brand-blue);
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 85vh; 
    position: relative;
    background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 100px 5% 110px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 25, 47, 0.4); 
    z-index: 1;
}

/* The Glassmorphism Panel */
.hero-content.glass-panel {
    position: relative;
    z-index: 2;
    max-width: 650px;
    width: 100%;
    background: rgba(255, 255, 255, 0.65); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px);
    padding: 50px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.8); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-kicker {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--royal-navy);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* The Trust Banner */
.hero-trust-banner {
    position: absolute;
    bottom: -30px; 
    left: 5%;
    right: 5%;
    background-color: var(--royal-navy);
    z-index: 10;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px 25px;
    padding: 25px 20px;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.15);
    border-top: 3px solid var(--accent-gold);
}

.trust-item {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.trust-icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

/* Interactive Nudge Section */
.booking-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    background-color: var(--white);
}

.booking-container {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(10, 25, 47, 0.08);
    max-width: 600px;
    width: 100%;
    border-top: 4px solid var(--brand-blue);
}

.booking-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--royal-navy);
}

.subtitle {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--bg-color);
    outline: none;
    cursor: pointer;
    color: var(--royal-navy);
}

select:focus {
    border-color: var(--brand-blue);
}

/* Nudge Card (Dynamic) */
.nudge-card {
    margin-top: 30px;
    padding: 25px;
    background-color: #F8FAF9; 
    border: 1px solid rgba(140, 198, 63, 0.3); 
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nudge-card.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.nudge-card.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.nudge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.nudge-header h3 {
    color: var(--royal-navy);
    font-family: 'Playfair Display', serif;
}

.badge {
    background-color: var(--brand-green);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.nudge-options {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-primary);
}

/* =========================================
   THE FOUNDER'S LEGACY SECTION
   ========================================= */
.legacy-section {
    background-color: var(--royal-navy);
    color: var(--white);
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--accent-gold);
}

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

.section-kicker {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.legacy-content h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 35px;
    color: var(--white);
}

.founder-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--accent-gold);
    line-height: 1.6;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--accent-gold);
}

.founder-bio {
    color: #A0AEC0; 
    font-size: 1.05rem;
    margin-bottom: 45px;
    line-height: 1.8;
}

.founder-signature {
    display: flex;
    flex-direction: column;
}

.signature-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
}

.signature-title {
    color: var(--brand-blue); 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
    font-weight: 600;
}

.legacy-image-wrapper {
    position: relative;
    padding: 20px;
}

.image-placeholder {
    position: relative;
    z-index: 2;
}

.legacy-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.gold-accent-frame {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    z-index: -1;
    border-radius: 4px;
}

@media (max-width: 960px) {
    .legacy-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .legacy-content h2 {
        font-size: 2.2rem;
    }
    
    .gold-accent-frame {
        top: 15px;
        right: 15px;
    }
}

/* =========================================
   LOCATION & CONTACT SECTION
   ========================================= */
.location-section {
    background: white;
    padding: 100px 5%;
    border-top: 1px solid #eee;
}

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

.location-heading {
    font-family: serif;
    font-size: 42px;
    color: var(--rg-navy);
    margin: 10px 0 30px 0;
}

.location-details {
    margin-bottom: 40px;
}

.location-intro {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.location-field {
    margin-bottom: 20px;
}

.location-field-label {
    display: block;
    font-size: 10px;
    color: var(--rg-gold);
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.location-field-value {
    font-size: 15px;
    color: var(--rg-navy);
    font-weight: 500;
}

.location-cta {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
}

.location-map-wrapper {
    height: 450px;
    background: #f4f4f4;
    border: 1px solid var(--rg-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 800px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================
   FOOTER STYLING 
   ========================================= */
.site-footer {
    background-color: var(--royal-navy);
    color: var(--white);
    padding: 80px 5% 30px;
    border-top: 1px solid var(--accent-gold); 
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
}

.footer-brand p {
    color: #A0AEC0; 
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-logo {
    height: 35px;
}

.footer-links h4, .footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--brand-green);
}

.footer-contact p {
    color: #A0AEC0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: #A0AEC0;
    font-size: 0.85rem;
}

/* =========================================
   PROCEDURES SHOWCASE PAGE
   ========================================= */
.procedures-header {
    text-align: center;
    padding: 80px 5% 40px;
    background-color: var(--white);
}

.procedures-header .section-kicker {
    color: var(--brand-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.procedures-header h1 {
    font-size: 3.5rem;
    color: var(--royal-navy);
    margin-bottom: 20px;
}

.procedures-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.procedures-showcase {
    background-color: var(--bg-color);
    padding: 20px 5% 80px;
}

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

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:hover {
    color: var(--brand-blue);
}

.tab-btn.active {
    color: var(--royal-navy);
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-blue);
}

.tab-content {
    display: none; 
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block; 
}

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

.procedure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.procedure-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid var(--border-color);
}

.procedure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.1);
}

.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent-gold);
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 1.5rem;
    color: var(--royal-navy);
    margin-bottom: 5px;
}

.card-sub {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.learn-more {
    text-decoration: none;
    color: var(--royal-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.learn-more:hover {
    color: var(--brand-blue);
}

/* =========================================
   PROGRESSIVE FORM STYLING
   ========================================= */
.intake-form {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.intake-form.hidden {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
}

.intake-form.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.intake-header {
    margin-bottom: 25px;
}

.intake-header h3 {
    color: var(--royal-navy);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.intake-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-row {
    margin-bottom: 15px;
}

.form-row input {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    font-family: 'Inter', sans-serif;
    color: var(--royal-navy);
    font-size: 1rem;
    outline: none;
    background-color: var(--bg-color);
    transition: border-color 0.3s;
}

.form-row input:focus {
    border-color: var(--brand-blue);
    background-color: var(--white);
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--brand-green);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.success-state {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(140, 198, 63, 0.3);
    background-color: #F8FAF9;
    margin-top: 20px;
    border-radius: 4px;
}

.success-state.hidden {
    display: none;
}

/* =========================================
   SURGEONS & CAMPUS PAGE
   ========================================= */
.page-header {
    text-align: center;
    padding: 100px 5% 60px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.page-header .section-kicker {
    color: var(--brand-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.page-header h1 {
    font-size: 3.5rem;
    color: var(--royal-navy);
    margin-bottom: 20px;
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.surgeons-section {
    padding: 100px 5%;
    background-color: var(--bg-color);
}

.surgeons-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.surgeon-block {
    display: flex;
    align-items: center;
    gap: 80px;
}

.surgeon-block.reverse {
    flex-direction: row-reverse;
}

.surgeon-image {
    flex: 1;
    position: relative;
    min-width: 0;
}

.surgeon-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.15);
    position: relative;
    z-index: 2;
    filter: grayscale(20%) contrast(110%); 
}

.gold-accent-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-gold);
    z-index: 1;
}

.gold-accent-border.right {
    left: auto;
    right: -20px;
}

.surgeon-info {
    flex: 1;
    min-width: 0;
}

.surgeon-info .credentials {
    color: var(--brand-blue);
    font-weight: 600;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.surgeon-info h2 {
    font-size: 3rem;
    color: var(--royal-navy);
    line-height: 1.1;
    margin-bottom: 5px;
}

.surgeon-info .title {
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-style: italic;
}

.surgeon-info .bio {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.specialties {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.specialties li {
    color: var(--royal-navy);
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.campus-section {
    padding: 100px 5%;
    background-color: var(--royal-navy);
    color: var(--white);
}

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

.campus-header.text-center {
    text-align: center;
    margin-bottom: 70px;
}

.campus-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.campus-header p {
    color: #A0AEC0;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.campus-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 4px;
    transition: transform 0.3s, border-color 0.3s;
}

.campus-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.campus-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.campus-card h3 {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.campus-card p {
    color: #A0AEC0;
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 960px) {
    .surgeon-block, .surgeon-block.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .gold-accent-border {
        top: 15px; left: 15px;
    }
    .gold-accent-border.right {
        right: 15px;
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RECOVERY SUITES PAGE
   ========================================= */
.suites-header {
    min-height: 70vh;
    background: linear-gradient(rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 0.7)), url('./images/reGAL-190.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 5%;
}

.suites-header-content {
    max-width: 800px;
}

.suites-header-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.suites-header-content p {
    font-size: 1.2rem;
    color: #E2E8F0;
    line-height: 1.6;
}

.suites-intro {
    padding: 100px 5%;
    background-color: var(--white);
}

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

.amenities-section {
    padding: 0 5% 100px;
    background-color: var(--white);
}

.amenities-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.amenity-card {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: 4px;
    border-top: 3px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 25, 47, 0.08);
}

.amenity-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.amenity-card h3 {
    color: var(--royal-navy);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.amenity-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.suites-gallery {
    padding: 0 5% 100px;
    background-color: var(--white);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr; 
    gap: 30px;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    display: block;
}

.gallery-item.large {
    height: 100%;
    min-height: 500px;
}

.gallery-item.small {
    height: 50%;
    min-height: 250px;
}

.gallery-item:hover img {
    transform: scale(1.05); 
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.8));
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.suites-cta {
    background-color: var(--brand-blue);
    padding: 80px 5%;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

@media (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .suites-header-content h1 {
        font-size: 3rem;
    }
    .gallery-item.large {
        min-height: 350px;
    }
    .gallery-item.small {
        min-height: 220px;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS & HAMBURGER MENU
   ========================================= */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; 
}

.hamburger .bar {
    width: 26px;
    height: 2px;
    background-color: var(--royal-navy);
    transition: all 0.4s ease-in-out;
    border-radius: 2px;
}

@media (max-width: 960px) {
    .desktop-only {
        display: none !important;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 25px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
        box-shadow: 0 15px 30px rgba(10, 25, 47, 0.1);
        border-top: 1px solid transparent;
    }

    .nav-links.active {
        max-height: 400px; 
        padding: 30px 0;
        border-top: 1px solid var(--border-color);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0; 
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h1 { font-size: 2.8rem; }
    .suites-header-content h1 { font-size: 3rem; }
    .page-header h1, .procedures-header h1 { font-size: 2.5rem; }
    
    .brand-name { font-size: 1.3rem; }
    .brand-logo { height: 35px; }

    .utility-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 10px 5%;
    }
    .utility-right {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .utility-right a {
        margin-left: 0;
    }
       
    .tab-buttons {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 35px;
    }

    .tab-btn {
        flex: 1 1 calc(50% - 10px); 
        min-width: 140px;
        padding: 10px;
        font-size: 0.95rem;
    }

    .tab-btn.active::after {
        width: 80%;
        left: 10%; 
    }

    .procedure-grid {
        grid-template-columns: 1fr; 
        gap: 25px;
    }

    .card-img {
        height: 200px;
    }

    .card-body {
        padding: 25px 20px;
    }

    .card-body h3 {
        font-size: 1.3rem;
    }

    .card-body p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .legacy-section {
        padding: 80px 5%;
    }

    .location-section {
        padding: 70px 5%;
    }

    .location-heading {
        font-size: 32px;
    }

    .location-map-wrapper {
        height: 350px;
    }

    .surgeons-section,
    .campus-section,
    .suites-intro,
    .amenities-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .surgeons-container {
        gap: 70px;
    }

    .surgeon-info h2 {
        font-size: 2.2rem;
    }

    .campus-header h2 {
        font-size: 2.2rem;
    }
}

/* --- Small phones --- */
@media (max-width: 480px) {
    .hero-content.glass-panel {
        padding: 30px 22px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-cta-btn {
        width: 100%;
        padding: 14px 20px;
    }

    .hero-trust-banner {
        flex-direction: column;
        align-items: flex-start;
        bottom: -70px;
        padding: 20px 25px;
    }

    .hero {
        padding-bottom: 150px;
    }

    .trust-item {
        font-size: 0.85rem;
        white-space: normal;
    }

    .legacy-content h2 {
        font-size: 1.8rem;
    }

    .founder-quote {
        font-size: 1.15rem;
        padding-left: 15px;
    }

    .location-heading {
        font-size: 26px;
    }

    .location-cta {
        display: block;
        text-align: center;
    }

    .surgeon-info h2 {
        font-size: 1.8rem;
    }

    .surgeon-info .title {
        font-size: 1.1rem;
    }

    .campus-header h2 {
        font-size: 1.8rem;
    }

    .procedures-header h1,
    .page-header h1 {
        font-size: 2rem;
    }

    .suites-header-content h1 {
        font-size: 2.2rem;
    }

    .suites-header-content p {
        font-size: 1rem;
    }

    .footer-container {
        text-align: left;
    }

    .booking-container,
    .rg-card {
        padding: 30px 20px;
    }
}

/* =========================================
   RESULTS GALLERY & B&A SLIDER
   ========================================= */
.gallery-section {
    padding: 60px 5% 100px;
    background-color: var(--bg-color);
}

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

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.filter-btn.active {
    background-color: var(--royal-navy);
    border-color: var(--royal-navy);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.gallery-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-card.hidden {
    display: none;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    user-select: none; 
    container-type: inline-size; /* Critical for keeping image proportions */
}

/* Image Core Styling */
.img-before, .img-after {
    height: 100%;
}

.img-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    filter: grayscale(100%) opacity(0.8); 
}

.img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; 
    overflow: hidden;
    border-right: 2px solid var(--accent-gold);
}

.img-after img {
    width: 100cqw; /* Stays identical to container width to avoid squishing */
    max-width: none;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; 
}

/* Labels */
.label-before, .label-after {
    position: absolute;
    bottom: 15px;
    padding: 6px 15px;
    background: rgba(10, 25, 47, 0.7);
    color: var(--white);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border-radius: 2px;
}

.label-before { right: 15px; }
.label-after { left: 15px; }

/* Handle */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 40px;
    margin-left: -20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: ew-resize; 
    z-index: 10;
}

.handle-arrows {
    background-color: var(--accent-gold);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 3px solid var(--white);
    transition: transform 0.1s;
}

.slider-handle:active .handle-arrows {
    transform: scale(0.9);
}

.card-details {
    padding: 25px;
    border-top: 1px solid var(--border-color);
}

.card-details h3 {
    color: var(--royal-navy);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 960px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .slider-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        height: 260px;
    }
    .handle-arrows {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }
    .label-before, .label-after {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

/* --- REGAL PRESTIGE PORTAL (rg-) --- */
:root {
    --rg-navy: #0a1d37;
    --rg-blue: #005bb7;
    --rg-gold: #c5a059;
    --rg-border: #eef0f2;
    --rg-bg: #fdfdfd;
}

.rg-portal-body { 
    background-color: var(--rg-bg); 
    color: var(--rg-navy); 
    margin: 0; 
    font-family: 'Inter', 'Helvetica Neue', sans-serif; 
}

.rg-utility-bar {
    background: var(--rg-navy);
    color: white;
    padding: 10px 50px;
    font-size: 10px;
    letter-spacing: 2px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
}

.rg-main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: white;
    border-bottom: 1px solid var(--rg-border);
    position: fixed;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 1000; 
}

.rg-logo { height: 45px; width: auto; }

.rg-card {
    background: white;
    border: 1px solid var(--rg-border);
    border-top: 3px solid var(--rg-gold); 
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

.rg-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rg-gold);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.rg-btn-primary {
    background: var(--rg-blue);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s ease;
}

.rg-btn-primary:hover { background: var(--rg-navy); }

.rg-password-wrapper { position: relative; width: 100%; }
.rg-toggle-btn {
    position: absolute;
    right: 0;
    top: 15px;
    font-size: 10px;
    color: var(--rg-gold);
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.rg-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
}

.rg-profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--rg-gold);
    padding: 5px;
    background: white;
}

/* =========================================
   General Practitioners Section
   ========================================= */
.general-doctors-section {
    padding: 5rem 5%;
    background-color: var(--light-bg, #fcfcfc);
}

.general-doctors-section .surgeons-container {
    max-width: 1200px;
    margin: 0 auto;
}

.general-doctors-section .campus-header {
    text-align: center;
    margin-bottom: 4rem;
}

.general-doctors-section .campus-header p {
    max-width: 700px;
    margin: 0 auto;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.doctor-card {
    display: flex;
    flex-direction: column;
}

.doctor-card .surgeon-image {
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.doctor-card .surgeon-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.doctor-card:hover .surgeon-image img {
    transform: scale(1.03);
}

.doctor-card .surgeon-info {
    padding-top: 0.5rem;
}

.doctor-card h3 {
    margin: 0.5rem 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-dark, #111);
}

.doctor-card .title {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-blue, #1a365d);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.extra-details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.extra-details.open {
    max-height: 400px; 
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.procedure-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: var(--brand-blue, #1a365d);
}

.procedure-specs li {
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 4px;
}

.detail-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-more .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.learn-more.active .arrow {
    transform: rotate(180deg);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
    .rg-container { grid-template-columns: 1fr; padding: 0 20px; }
    .rg-utility-bar { padding: 10px 20px; flex-direction: column; text-align: center; gap: 8px; }
    .rg-main-nav { padding: 15px 20px; }
    .rg-card { padding: 30px 20px; }
}

@media (max-width: 600px) {
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .doctor-card .surgeon-image img {
        height: 320px;
    }
    .general-doctors-section {
        padding: 3.5rem 5%;
    }
}