/*
Theme Name: Silver Rose Theme
Theme URI: 
Author: Antigravity
Author URI: 
Description: A premium, modern WordPress theme for Silver Rose Dermatology Clinic. Features a transforming pill header, popup modals, typewriter effects, scroll animations, and a complete dermatology clinic experience.
Version: 2.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silver-rose-theme
*/

/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    /* Core Brand Colors */
    --color-navy:         #04002E;
    --color-navy-mid:     #070050;
    --color-navy-lt:      #0a0077;
    --color-rose:         #6B1040;
    --color-rose-lt:      #8a1a55;
    --color-gold:         #F5C842;
    --color-gold-dk:      #D4A81A;
    --color-gold-lt:      #fce77a;

    --color-primary:      var(--color-navy);
    --color-primary-lt:   var(--color-navy-lt);

    /* Surface & Background */
    --bg-light:     #fafaf9;
    --bg-white:     #ffffff;
    --bg-subtle:    #f4f4f2;
    --bg-dark:      #04002E;

    /* Text */
    --text-heading: #0f0730;
    --text-body:    #5a5775;
    --text-white:   #ffffff;
    --text-muted:   #9b93b8;

    /* Glass */
    --color-glass-bg:     rgba(255, 255, 255, 0.97);
    --color-glass-border: rgba(4, 0, 46, 0.05);

    /* Layout */
    --max-width:    1280px;
    --section-pad:  130px;
    --section-pad-sm: 80px;
    --border-color: #e8e6f0;

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', 'Google Sans Flex', sans-serif;
    --font-body:    'Inter', 'Google Sans Flex', sans-serif;

    /* Radii */
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;
    --radius-pill: 999px;

    /* Shadows — Layered like the real deal */
    --shadow-xs:  0 1px 3px rgba(4,0,46,0.04), 0 1px 2px rgba(4,0,46,0.03);
    --shadow-sm:  0 4px 6px -1px rgba(4,0,46,0.05), 0 2px 4px -1px rgba(4,0,46,0.04);
    --shadow-md:  0 10px 25px -5px rgba(4,0,46,0.08), 0 4px 10px -5px rgba(4,0,46,0.05);
    --shadow-lg:  0 24px 48px -12px rgba(4,0,46,0.14), 0 8px 16px -8px rgba(4,0,46,0.08);
    --shadow-xl:  0 40px 70px -15px rgba(4,0,46,0.20), 0 16px 28px -8px rgba(4,0,46,0.10);
    --shadow-gold: 0 8px 30px -4px rgba(245,200,66,0.30), 0 2px 8px rgba(245,200,66,0.15);
    --shadow-rose: 0 8px 30px -4px rgba(107,16,64,0.25);

    /* Transitions */
    --ease-fast:   0.18s cubic-bezier(0.2, 0, 0, 1);
    --ease-normal: 0.38s cubic-bezier(0.2, 0, 0, 1);
    --ease-slow:   0.65s cubic-bezier(0.2, 0, 0, 1);
    --ease-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--text-body);
    background: var(--bg-light);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.5rem); letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); letter-spacing: -0.02em; line-height: 1.15; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--ease-fast); }
a:hover { color: var(--color-rose); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Utility: Scroll Animations
   ========================================================================== */
[data-anim] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-anim="fade-up"]    { transform: translateY(40px); }
[data-anim="fade-left"]  { transform: translateX(-40px); }
[data-anim="fade-right"] { transform: translateX(40px); }
[data-anim="zoom-in"]    { transform: scale(0.92); }

[data-anim].is-visible {
    opacity: 1 !important;
    transform: translate(0,0) scale(1) !important;
    visibility: visible !important;
}

/* Global Icon Fix */
i.fa, i.fas, i.fab, i.fa-solid, i.fa-brands, i.fa-regular {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==========================================================================
   Buttons — Premium & Confident
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 2.4rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.975rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all var(--ease-normal);
    line-height: 1;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-navy);
    box-shadow: var(--shadow-gold);
    border-color: var(--color-gold);
}
.btn-primary:hover {
    background: var(--color-gold-dk);
    border-color: var(--color-gold-dk);
    color: var(--color-navy);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px -6px rgba(245,200,66,0.45);
}

.card-glass {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--ease-normal);
}
.card-glass:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(4,0,46,0.12);
}

.btn-outline {
    background: transparent;
    color: var(--text-heading);
    border-color: var(--border-color);
}
.section--dark .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}
.btn-outline:hover {
    background: var(--bg-subtle);
    color: var(--text-heading);
    border-color: rgba(4,0,46,0.2);
    transform: translateY(-2px);
}
.section--dark .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.btn-dark {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
    box-shadow: var(--shadow-md);
}
.btn-dark:hover {
    background: #000;
    border-color: #000;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-rose {
    background: var(--color-rose);
    color: #fff;
    border-color: var(--color-rose);
    box-shadow: var(--shadow-rose);
}
.btn-rose:hover {
    background: var(--color-rose-lt);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 40px -6px rgba(107,16,64,0.35);
}

/* ==========================================================================
   Section Layout — Premium & Spacious
   ========================================================================== */
.section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    /* Elegant overlapping circles / petals pattern */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%236B1040' stroke-width='1.5' stroke-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3Ccircle cx='0' cy='80' r='40'/%3E%3Ccircle cx='80' cy='0' r='40'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='0' cy='0' r='40'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
}

/* Ensure container content overlays the background pattern */
.section > .container {
    position: relative;
    z-index: 10;
}

.section--light { background: var(--bg-white); }
.section--subtle { background: var(--bg-subtle); }
.section--dark {
    background: var(--color-navy);
    color: #fff;
}
.section--dark::before {
    /* Different color pattern for dark mode: soft white gold */
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23F5C842' stroke-width='1.5' stroke-opacity='0.06'%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3Ccircle cx='0' cy='80' r='40'/%3E%3Ccircle cx='80' cy='0' r='40'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='0' cy='0' r='40'/%3E%3C/g%3E%3C/svg%3E");
}
/* Keep dark section subtle glowing radial gradient using AFTER instead of BEFORE */
.section--dark::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at 80% 50%, rgba(107,16,64,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(10,0,119,0.15) 0%, transparent 60%);
}
.section--rose {
    background: var(--color-rose);
    color: #fff;
}
.section--rose::before {
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-opacity='0.08'%3E%3Ccircle cx='40' cy='40' r='40'/%3E%3Ccircle cx='0' cy='80' r='40'/%3E%3Ccircle cx='80' cy='0' r='40'/%3E%3Ccircle cx='80' cy='80' r='40'/%3E%3Ccircle cx='0' cy='0' r='40'/%3E%3C/g%3E%3C/svg%3E");
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5.5rem;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-rose);
    background: rgba(107, 16, 64, 0.05);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
    border: 1px solid rgba(107, 16, 64, 0.12);
}
.section--dark .section-eyebrow {
    color: var(--color-gold);
    background: rgba(245, 200, 66, 0.08);
    border-color: rgba(245, 200, 66, 0.2);
}

.section-title {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-heading);
    line-height: 1.1;
}
.section--dark .section-title { color: #fff; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    max-width: 88%;
    margin: 0 auto;
}
.section--dark .section-subtitle { color: rgba(255,255,255,0.65); }

@media (max-width: 768px) {
    .section { padding: var(--section-pad-sm) 0; }
    .section-header { margin-bottom: 3.5rem; }
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
/* ==========================================================================
   Header / Nav (Modest Pill Design)
   ========================================================================== */
/* ==========================================================================
   ROBUST PILL HEADER (Conflict-Proof)
   ========================================================================== */
/* ==========================================================================
   DYNAMIC HEADER (Normal To Pill)
   ========================================================================== */
header#masthead.site-header {
    height: 100px !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    padding: 0 40px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important; /* Solid white when static */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Scrolled / Pill State */
header#masthead.site-header.is-scrolled {
    height: 70px !important;
    top: 15px !important;
    background: var(--color-glass-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    left: 5% !important;
    border-radius: var(--radius-pill) !important;
    border: 1px solid var(--color-glass-border) !important;
    box-shadow: 0 10px 40px rgba(6, 0, 64, 0.1) !important;
}

.header-pill-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
}

/* Logo Sizing & Scaling - Robust Targeting */
header#masthead .site-branding,
header#masthead .site-branding a,
header#masthead .custom-logo-link,
header#masthead .header-logo-img,
header#masthead .custom-logo {
    height: 50px !important;
    width: auto !important;
    max-height: 50px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.4s ease !important;
}

header#masthead .site-branding img,
header#masthead .custom-logo {
    height: 100% !important;
    width: auto !important;
    object-fit: contain !important;
}

header#masthead.is-scrolled .site-branding,
header#masthead.is-scrolled .site-branding a,
header#masthead.is-scrolled .custom-logo-link,
header#masthead.is-scrolled .header-logo-img,
header#masthead.is-scrolled .custom-logo {
    height: 38px !important;
    max-height: 38px !important;
}

/* Nav Typography */
header#masthead .main-navigation ul {
    display: flex !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

header#masthead .main-navigation ul li a {
    color: var(--text-heading) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.01em !important;
    transition: color 0.25s ease !important;
    position: relative !important;
    padding-bottom: 4px !important;
}

header#masthead .main-navigation ul li a::after {
    content: '' !important;
    position: absolute !important;
    width: 0 !important;
    height: 2px !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: var(--color-rose) !important;
    border-radius: 2px !important;
    transition: width 0.3s cubic-bezier(0.2,0,0,1) !important;
}

header#masthead .main-navigation ul li a:hover {
    color: var(--color-rose) !important;
}

header#masthead .main-navigation ul li a:hover::after {
    width: 100% !important;
}

header#masthead.is-scrolled .main-navigation ul li a {
    font-size: 0.875rem !important;
}

/* Header Actions & Toggle */
header#masthead .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

header#masthead .header-toggle {
    display: none !important;
    color: var(--color-navy) !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
}

@media (max-width: 1100px) {
    header#masthead .main-navigation ul { gap: 15px !important; }
}

@media (max-width: 921px) {
    header#masthead.site-header {
        height: 70px !important;
        padding: 0 20px !important;
    }
    header#masthead.site-header.is-scrolled {
        width: 96% !important;
        top: 15px !important;
        height: 64px !important;
    }
    header#masthead .main-navigation { display: none !important; }
    header#masthead .header-toggle { display: block !important; }
    header#masthead .header-cta { display: none !important; }
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 40, 0.55);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease-normal);
}
.mobile-nav-overlay.is-open { opacity: 1; pointer-events: all; }

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 86vw);
    height: 100%;
    background: var(--bg-white);
    z-index: 2000;
    padding: 2rem 1.75rem;
    transition: right var(--ease-slow);
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    box-shadow: -4px 0 40px rgba(6,0,151,0.15);
}
.mobile-nav-drawer.is-open { right: 0; }

.drawer-close {
    align-self: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

.mobile-nav-drawer .drawer-logo img { height: 40px; margin-bottom: 2rem; }

.mobile-nav-drawer ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 2rem;
}
.mobile-nav-drawer ul li a {
    display: block;
    padding: 0.9rem 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-heading);
    border-bottom: 1px solid var(--bg-subtle);
    transition: color var(--ease-fast), padding-left var(--ease-fast);
}
.mobile-nav-drawer ul li a:hover {
    color: var(--color-primary);
    padding-left: 0.5rem;
}
.mobile-nav-drawer .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ==========================================================================
   Typewriter
   ========================================================================== */
.typewriter-text {
    border-right: 3px solid var(--color-gold);
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--color-gold); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
/* ==========================================================================
   Hero Section Fixes
   ========================================================================== */
.hero-slider-section {
    position: relative;
    min-height: 100vh;
    padding-top: 120px; /* Increased to avoid header overlap */
    overflow: hidden;
    background: #000;
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,0,40,0.4) 0%, rgba(10,0,40,0.8) 100%);
    z-index: 2;
}

.hero-slider-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    padding-top: 100px; /* Internal content padding */
}

/* Decorative blobs */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}
.hero-section::before {
    width: 500px;
    height: 500px;
    background: var(--color-rose);
    top: -100px;
    right: -150px;
}
.hero-section::after {
    width: 400px;
    height: 400px;
    background: var(--color-primary-lt);
    bottom: -80px;
    left: -100px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 1.5rem;
}

.hero-logo {
    height: 80px;
    margin: 0 auto 2.5rem;
    filter: brightness(0) invert(1);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(255,205,87,0.15);
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--color-gold); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}
.hero-badge i { color: var(--color-gold); font-size: 1rem; }

/* ==========================================================================
   Marquee / Trust Bar — Premium Strip
   ========================================================================== */
.marquee-section {
    background: var(--color-navy);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.2rem 0;
    overflow: hidden;
}
.marquee-track {
    display: flex;
    gap: 0;
    white-space: nowrap;
    animation: marquee-scroll 28s linear infinite;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    padding: 0 2.5rem;
    letter-spacing: 0.02em;
}
.marquee-item i { color: var(--color-gold); font-size: 0.85rem; }
.marquee-dot { color: var(--color-gold); padding: 0 0.5rem; }

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   About / Welcome Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-text .tagline {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-primary);
}
.about-highlight-item i {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}
.about-highlight-item strong { display: block; color: var(--text-heading); margin-bottom: 0.2rem; font-size: 0.95rem; }
.about-highlight-item span { font-size: 0.88rem; }

.about-visual {
    position: relative;
}
.about-visual-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-navy) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.about-visual-card::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,205,87,0.12);
    border-radius: 50%;
    bottom: -80px;
    right: -80px;
}
.about-stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.about-stat { text-align: center; }
.about-stat .num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
    display: block;
}
.about-stat .lbl {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.4rem;
    display: block;
}
.about-visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.about-visual-badge i { color: var(--color-gold); }

@media (max-width: 880px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { max-width: 480px; margin: 0 auto; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--ease-normal);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-rose));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ease-normal);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(4,0,46,0.08);
}
.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    flex-shrink: 0;
    transition: all var(--ease-bounce);
}
.service-icon-wrap i {
    font-size: 1.45rem;
    color: var(--color-navy);
    transition: all var(--ease-fast);
}
.service-card:hover .service-icon-wrap {
    background: var(--color-navy);
    border-color: var(--color-navy);
    transform: scale(1.1) rotate(-6deg);
}
.service-card:hover .service-icon-wrap i {
    color: var(--color-gold);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-heading);
}
.service-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0;
}
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1.5rem;
    transition: gap var(--ease-fast), color var(--ease-fast);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-heading);
}
.service-card-link:hover { gap: 0.7rem; color: var(--color-rose); }

/* ==========================================================================
   Why Choose Us — Elevated
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.why-card {
    padding: 2.5rem 2.25rem;
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--ease-normal);
}
.why-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(245,200,66,0.25);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}
.why-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(245,200,66,0.12);
    border: 1px solid rgba(245,200,66,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all var(--ease-normal);
}
.why-card:hover .why-icon {
    background: var(--color-gold);
    border-color: var(--color-gold);
}
.why-icon i { color: var(--color-gold); font-size: 1.3rem; transition: color var(--ease-fast); }
.why-card:hover .why-icon i { color: var(--color-navy); }
.why-card h3 { font-size: 1.15rem; color: #fff; margin-bottom: 0.6rem; font-weight: 700; letter-spacing: -0.01em; }
.why-card p { font-size: 0.93rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin: 0; }

/* ==========================================================================
   Stats Counter Section — Dramatic
   ========================================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}
.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.07);
    transition: all var(--ease-normal);
}
.stat-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(245,200,66,0.25);
    transform: translateY(-6px);
}
.stat-card .stat-num {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-gold);
    line-height: 1;
    display: block;
    letter-spacing: -0.03em;
}
.stat-card .stat-label {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.75rem;
    display: block;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.8rem;
}
@media (max-width: 600px) {
    .stats-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
}
.testimon.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all var(--ease-normal);
}
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(4,0,46,0.12);
}
.testimonial-stars {
    color: var(--color-gold);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}
.testimonial-quote {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.75rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-rose));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-author-name { font-weight: 700; font-size: 0.95rem; color: var(--text-heading); }
.testimonial-author-tag  { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   Doctor / Team Section
   ========================================================================== */
.doctor-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 5rem;
    align-items: center;
}
.doctor-image-wrap {
    position: relative;
}
.doctor-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 380px;
    background: linear-gradient(145deg, rgba(6,0,151,0.08) 0%, rgba(95,15,64,0.08) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px dashed rgba(6,0,151,0.12);
}
.doctor-image-placeholder i { font-size: 5rem; color: rgba(6,0,151,0.2); }
.doctor-badge-wrap {
    position: absolute;
    bottom: 1.5rem;
    right: -1.5rem;
    background: var(--color-gold);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-gold);
}
.doctor-badge-wrap .num { font-size: 1.8rem; font-weight: 800; color: var(--text-heading); display: block; }
.doctor-badge-wrap .lbl { font-size: 0.78rem; font-weight: 600; color: var(--text-heading); }

.doctor-creds {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}
.cred-tag {
    background: rgba(6,0,151,0.07);
    color: var(--color-primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(6,0,151,0.12);
}
.doctor-bio { font-size: 1rem; line-height: 1.8; color: var(--text-body); margin-bottom: 2rem; }

@media (max-width: 860px) {
    .doctor-grid { grid-template-columns: 1fr; gap: 3rem; }
    .doctor-image-wrap { max-width: 380px; margin: 0 auto; }
    .doctor-badge-wrap { right: 0; }
}

/* ==========================================================================
   FAQ Accordion — Refined
   ========================================================================== */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: all var(--ease-fast);
}
.faq-item.is-open {
    border-color: var(--color-rose);
    box-shadow: var(--shadow-sm), 0 0 0 3px rgba(107,16,64,0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.3rem 1.75rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    gap: 1rem;
    transition: color var(--ease-fast);
}
.faq-question:hover { color: var(--color-primary); }
.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--ease-fast), transform var(--ease-normal);
    color: var(--color-primary);
    font-size: 0.9rem;
}
.faq-item.is-open .faq-icon {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.8;
    padding: 0 1.75rem;
}
.faq-item.is-open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.4rem;
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */
.cta-strip {
    background: var(--color-navy);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(107,16,64,0.4) 0%, transparent 65%),
                radial-gradient(ellipse at 80% -20%, rgba(10,0,119,0.3) 0%, transparent 60%);
    pointer-events: none;
}
.cta-strip h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
}
.cta-strip p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.cta-strip-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Contact Section — Elevated Cards
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.contact-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all var(--ease-normal);
}
.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(4,0,46,0.12);
}
.contact-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.contact-card-icon i { color: var(--color-gold); font-size: 1.3rem; }
.contact-card h3 { font-size: 1.2rem; color: var(--text-heading); margin-bottom: 0.85rem; font-weight: 700; }
.contact-card p, .contact-card address {
    font-style: normal;
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.9;
}
.contact-card a { color: var(--color-navy); font-weight: 600; }
.contact-card a:hover { color: var(--color-rose); }

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-navy);
    color: rgba(255,255,255,0.75);
}

.footer-top {
    padding: 5rem 0 3.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 4rem;
}

.footer-col-logo img {
    height: 50px;
    margin-bottom: 1.25rem;
    filter: brightness(0) invert(1);
}
.footer-col .footer-blurb {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.62);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all var(--ease-fast);
}
.footer-social a:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-navy);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--color-gold);
    border-radius: var(--radius-pill);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--ease-fast), gap var(--ease-fast);
}
.footer-links a::before {
    content: '›';
    color: var(--color-gold);
    font-size: 1rem;
    font-weight: 700;
}
.footer-links a:hover { color: #fff; gap: 0.75rem; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.62);
    margin-bottom: 1rem;
}
.footer-contact-item i {
    color: var(--color-gold);
    font-size: 0.95rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}
.footer-contact-item a { color: rgba(255,255,255,0.62); }
.footer-contact-item a:hover { color: var(--color-gold); }

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--color-gold); }

@media (max-width: 860px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-col-logo { grid-column: 1/-1; }
}
@media (max-width: 560px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-col-logo { grid-column: auto; }
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2.5rem;
    right: 2rem;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    transition: all var(--ease-normal);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.55);
    color: #fff;
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsapp-pulse 2.5s ease-out infinite;
}
@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(2); opacity: 0; }
}

/* ==========================================================================
   Popup Modals & Side Contact
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 40, 0.85);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease-normal);
    z-index: 100000000;
    backdrop-filter: blur(8px);
}
.modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.modal-dialog {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(6,0,151,0.25);
    transform: translateY(30px) scale(0.97);
    transition: transform var(--ease-normal);
    position: relative;
}
.modal-overlay.is-open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-header {
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid var(--bg-subtle);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    background: var(--bg-white);
    z-index: 1;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.modal-title { font-size: 1.35rem; color: var(--text-heading); margin: 0; }
.modal-subtitle { font-size: 0.9rem; color: var(--text-body); margin: 0.25rem 0 0; }

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-body);
    transition: background var(--ease-fast), color var(--ease-fast);
    flex-shrink: 0;
}
.modal-close:hover { background: var(--color-primary); color: #fff; }

.modal-body { padding: 1.75rem 2rem 2rem; }

/* Modal service info */
.modal-service-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lt));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.modal-service-icon i { color: #fff; font-size: 1.6rem; }
.modal-service-desc { font-size: 0.98rem; line-height: 1.8; color: var(--text-body); margin-bottom: 1.5rem; }
.modal-service-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 2rem;
}
.modal-service-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: var(--text-body);
}
.modal-service-list li i { color: var(--color-primary); font-size: 0.85rem; flex-shrink: 0; }

/* Booking Form */
.booking-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
    font-family: var(--font-heading);
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1.5px solid rgba(6,0,151,0.12);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-heading);
    background: var(--bg-light);
    transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(6,0,151,0.08);
    background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { appearance: none; cursor: pointer; }

.form-submit { width: 100%; justify-content: center; margin-top: 0.5rem; }

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
}
.form-note i { margin-right: 0.3rem; }

@media (max-width: 480px) {
    .form-row { grid-template-columns: 1fr; }
    .modal-header { padding: 1.5rem 1.5rem 1rem; }
    .modal-body { padding: 1.25rem 1.5rem 1.5rem; }
}

/* ==========================================================================
   Pages, Posts & Blog Layout styling
   ========================================================================== */
.site-main:not(#primary) {
    padding-top: 150px;
    padding-bottom: 80px;
    background: var(--bg-light);
    min-height: 80vh;
}

body.page .site-main, body.single .site-main, body.blog .site-main {
    padding-top: 150px;
    padding-bottom: 80px;
    background: var(--bg-light);
    min-height: 80vh;
}

.type-page, .type-post, .blog-content-area {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto;
}

.entry-header {
    margin-bottom: 2.5rem;
    border-bottom: 2px solid var(--bg-subtle);
    padding-bottom: 1.5rem;
}

.entry-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-navy);
}

.entry-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.entry-content h2, .entry-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.entry-content img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .type-page, .type-post {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }
}

/* ==========================================================================
   User Snippet Interactivity & Special Sections
   ========================================================================== */

/* ==========================================================================
   User Snippet Interactivity & Special Sections
   ========================================================================== */

/* Standardized Section Spacing */
.section-sp {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .section-sp {
        padding: 80px 0;
    }
}

/* Hero Slider Section */
.home .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-slider-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background: var(--color-primary-green);
    margin-top: 0;
    padding-top: 120px !important; /* Fix for header overlap */
}

/* Gradient Overlay for the Hero Content */
.hero-slider-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6, 0, 97, 0.4) 0%, rgba(6, 0, 97, 0.8) 100%);
    z-index: 5;
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}

.hero-slide.active { 
    opacity: 0.85; 
    animation: heroZoom 15s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-slider-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    animation: heroContentFadeIn 1.5s ease-out forwards;
}

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

.hero-slider-content h1 {
    font-size: clamp(3.2rem, 8vw, 5.5rem);
    margin-bottom: 2rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    text-shadow: 0 15px 45px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, #fff 40%, #ffd6e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.hero-slider-content .hero-vision-p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.hero-grid-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 5rem;
}

.hero-info-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.hero-info-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.hero-info-item h3 {
    color: #ffdce5; /* Softer rose for dark background */
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-info-item p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}


/* Booking Section "Get Started" */
.get-started-section {
    padding: var(--section-pad) 0;
    background: var(--bg-subtle);
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}

.booking-benefits-list {
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.booking-benefits-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1rem;
}

.booking-benefits-list li i {
    color: #1cb85e;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.booking-card-wrap {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .booking-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero-grid-info { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ==========================================================================
   Specialties Timeline Section
   ========================================================================== */
.specialties-section {
    padding: 100px 0;
    background: linear-gradient(rgba(10, 0, 40, 0.94), rgba(10, 0, 40, 0.98)),
                url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

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

.specialties-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.specialties-category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
}

.category-tab.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(6, 0, 151, 0.3);
}

.timeline-track {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    margin: 80px 0;
    border-radius: 2px;
}

.timeline-progress {
    position: absolute;
    height: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    width: 0;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.specialties-cards {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: -90px;
}

.spec-card {
    width: 18%;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0.6;
}

.spec-card.active {
    opacity: 1;
    transform: translateY(-10px);
}

.card-connector {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.spec-card.active .card-connector {
    background: var(--color-primary);
    height: 50px;
}

.card-point {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.spec-card.active .card-point {
    background: var(--color-primary);
    border-color: rgba(6, 0, 151, 0.3);
    box-shadow: 0 0 0 8px rgba(6, 0, 151, 0.1);
    transform: translateX(-50%) scale(1.3);
}

.card-icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.spec-card.active .card-icon-box {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-icon-box i {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.spec-card.active .card-icon-box i {
    color: var(--color-gold);
}

.spec-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.spec-card.active .spec-card-title {
    color: var(--color-primary);
}

/* Detail Panel */
.spec-detail-panel {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 3.5rem;
    margin-top: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    animation: fadeInSlide .6s ease forwards;
}

.spec-detail-panel.active { display: block; }

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

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.detail-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gold);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
}

.detail-benefits-box {
    background: rgba(255, 255, 255, 0.04);
    padding: 2rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefits-list li i {
    color: #10b981;
    margin-top: 4px;
}

.spec-nav-btns {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.spec-nav-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: all 0.3s ease;
}

.spec-nav-dot:hover { background: rgba(255, 255, 255, 0.2); }
.spec-nav-dot.active { background: var(--color-gold); color: var(--color-navy); border-color: var(--color-gold); }

@media (max-width: 1024px) {
    .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .specialties-cards { flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; }
    .spec-card { width: 45%; }
    .card-connector, .card-point, .timeline-track { display: none; }
    .spec-detail-panel { padding: 2rem; margin-top: 30px; }
}
/* ==========================================================================
   About Carousel & CTA Card
   ========================================================================== */
.silverrose-about-carousel {
    overflow: hidden;
    width: 100%;
    margin: 40px 0;
    position: relative;
}

.silverrose-carousel-track {
    display: flex;
    gap: 20px;
    animation: silverrose-scroll 40s linear infinite;
    width: max-content;
}

.silverrose-carousel-track img {
    height: 300px;
    width: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes silverrose-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.silverrose-about-cta-card {
    background: var(--bg-white);
    padding: 3.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 40px auto;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   Skin Quiz Section
   ========================================================================== */
.skin-quiz-section {
    padding: 100px 0;
    background: #f8faff;
    position: relative;
    overflow: hidden;
}

.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 4rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.quiz-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quiz-step { display: none; }
.quiz-step.active { display: block; animation: silverrose-fadeInUp 0.5s ease forwards; }

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.quiz-option {
    padding: 1.4rem 1.2rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--ease-normal);
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
}

.quiz-option:hover {
    border-color: var(--color-navy);
    background: rgba(4,0,46,0.03);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quiz-option.selected {
    border-color: var(--color-navy);
    background: var(--color-navy);
    color: white;
    box-shadow: var(--shadow-md);
}

.quiz-progress-bar {
    height: 6px;
    background: #edf2f7;
    border-radius: 10px;
    margin-bottom: 40px;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: 10px;
    width: 0%;
    transition: width 0.4s ease;
}

/* ==========================================================================
   Full-width CTA - Premium Dark
   ========================================================================== */
.full-width-cta {
    padding: 140px 20px;
    background: var(--color-navy);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.full-width-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(107,16,64,0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 50%, rgba(10,0,100,0.3) 0%, transparent 55%);
    pointer-events: none;
}

.cta-content-wrap {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    display: inline-block;
    margin-bottom: 2rem;
}

.cta-title {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
}

@keyframes silverrose-fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .quiz-options { grid-template-columns: 1fr; }
    .quiz-container { padding: 2rem; }
}

/* ==========================================================================
   Stats Grid (By the Numbers) - MISSING FIX
   ========================================================================== */
.section.section--dark {
    background: var(--color-navy) !important;
    color: #ffffff !important;
}

.stats-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 3rem 2rem !important;
    border-radius: var(--radius-lg) !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    transition: all var(--ease-normal) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 200px !important;
}

.stat-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(245,200,66,0.25) !important;
}

.stat-num {
    display: block !important;
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: var(--color-gold) !important;
    line-height: 1 !important;
    margin-bottom: 0.5rem !important;
    font-family: var(--font-heading) !important;
}

.stat-label {
    display: block !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    opacity: 0.9 !important;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: 1fr !important; }
}

/* Global Font Awesome Visibility Brute Force */
[class^="fa-"], [class*=" fa-"] {
    display: inline-block !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", "Font Awesome 5 Free", sans-serif !important;
    font-weight: 900 !important;
    -webkit-font-smoothing: antialiased !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Header Navbar Fix for Astra/Generic Themes */
.site-header #primary-menu, 
.site-header ul.menu,
.site-header .main-navigation ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.site-header .main-navigation ul li,
.site-header #primary-menu li, 
.site-header ul.menu li {
    display: block !important;
}


.site-header .main-navigation ul li a,
.site-header #primary-menu li a, 
.site-header ul.menu li a {
    color: var(--color-navy) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    font-size: 0.95rem !important;
}

/* Side Buttons: Original Slide-Out Design Refined */
.side-contact-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 999999;
    pointer-events: none; /* Container doesn't catch hover */
}

.side-contact-bar .contact-btn {
    display: flex;
    align-items: center;
    background: var(--color-navy);
    color: #fff;
    padding: 0;
    width: 60px;
    height: 60px;
    border-radius: 40px 0 0 40px;
    text-decoration: none;
    box-shadow: -5px 5px 20px rgba(0,0,0,0.15);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2), background 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: auto; /* Individual buttons do */
}

.side-contact-bar .contact-btn i {
    font-size: 24px !important;
    min-width: 60px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.side-contact-bar .contact-btn .btn-text {
    font-weight: 700;
    font-size: 0.95rem;
    padding-right: 25px;
    padding-left: 5px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: var(--font-heading);
}

.side-contact-bar .contact-btn:hover {
    width: 215px !important;
    background: var(--color-navy) !important;
    color: #fff !important;
    z-index: 100;
    box-shadow: -8px 5px 30px rgba(4,0,46,0.25) !important;
}

.side-contact-bar .contact-btn:hover .btn-text {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.side-contact-bar .contact-btn--whatsapp { background: #25D366; }
.side-contact-bar .contact-btn--whatsapp:hover { background: #1aad53 !important; color: #fff !important; }
.side-contact-bar .contact-btn--book { background: var(--color-rose); }
.side-contact-bar .contact-btn--book:hover { background: var(--color-rose-lt) !important; }
.side-contact-bar .contact-btn--call { background: var(--color-navy); }

/* Mobile adjustments for side bar */
@media (max-width: 768px) {
    .side-contact-bar {
        right: 0;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        gap: 10px;
    }
    .side-contact-bar .contact-btn {
        width: 48px;
        height: 48px;
    }
    .side-contact-bar .contact-btn i {
        min-width: 48px;
        font-size: 20px !important;
    }
    .side-contact-bar .contact-btn:hover {
        width: 48px; /* Stay small on mobile to avoid covering content */
    }
    .side-contact-bar .contact-btn .btn-text {
        display: none;
    }
}

/* Global Responsibility Fix */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px; /* Standardizing container width for a premium feel */
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   Our Values Section - Premium Redesign
   ========================================================================== */
.values-section {
    background: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(6, 0, 151, 0.03) 0%, transparent 70%);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.value-item {
    text-align: center;
    padding: 4rem 2.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all var(--ease-normal);
    position: relative;
    overflow: hidden;
}
.value-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-navy), var(--color-rose));
    transform: scaleX(0);
    transition: transform var(--ease-normal);
    transform-origin: left;
}
.value-item:hover::after {
    transform: scaleX(1);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(4,0,46,0.1);
}

.value-icon {
    width: 90px;
    height: 90px;
    background: var(--bg-subtle);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    border-radius: var(--radius-xl);
    margin: 0 auto 2.5rem;
    transition: all var(--ease-bounce);
    border: 1px solid var(--border-color);
}

.value-item:hover .value-icon {
    transform: translateY(-6px) scale(1.05);
    background: var(--color-navy);
    color: var(--color-gold);
    border-color: var(--color-navy);
    box-shadow: 0 16px 40px rgba(4,0,46,0.2);
}

.value-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-navy);
    font-weight: 800;
}

.value-item p {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin: 0;
    opacity: 0.85;
}

@media (max-width: 991px) {
    .values-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .value-item { padding: 3.5rem 2rem; }
}

@media (max-width: 991px) {
    .values-grid { grid-template-columns: 1fr; gap: 2rem; }
    .value-item { padding: 3rem 1.5rem; }
}

/* ==========================================================================
   Latest Posts Section
   ========================================================================== */
.latest-posts-section {
    background: #f8faff;
    padding: 120px 0;
}

.posts-carousel-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 0 -50px;
}

.posts-grid {
    display: flex !important;
    gap: 2.5rem;
    overflow-x: auto;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    scroll-behavior: smooth;
}

.posts-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.post-card {
    min-width: 280px; /* Fixed minimum width for stability */
    flex: 0 0 auto;
    scroll-snap-align: center;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-normal), box-shadow var(--ease-normal), border-color var(--ease-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.1);
}

.post-content {
    padding: 1.25rem; /* Even smaller padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content h3 {
    font-size: 1.05rem; /* Smaller titles */
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-variation-settings: "wght" 600, "wdth" 95;
    height: 3em; /* Fixed height for title area consistency */
    overflow: hidden;
}

@media (max-width: 768px) {
    .post-card { min-width: 80%; }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-md);
    transition: all var(--ease-normal);
    color: var(--color-navy);
    font-size: 1.1rem;
}

.carousel-nav:hover {
    background: var(--color-navy);
    color: var(--color-gold);
    border-color: var(--color-navy);
    transform: translateY(-50%) scale(1.08);
    box-shadow: var(--shadow-lg);
}

.carousel-nav.prev { left: -10px; }
.carousel-nav.next { right: -10px; }

@media (max-width: 1250px) {
    .carousel-nav.prev { left: 10px; }
    .carousel-nav.next { right: 10px; }
}

/* Removed duplicate .post-card rules and media queries */

/* Blog Archive Button Fix */
.entry-content .btn-outline {
    display: inline-flex;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.entry-content .btn-outline:hover {
    background: var(--color-primary);
    color: #fff !important;
}

/* Blog Archive Grid (Smaller Cards) */
.blog-grid-archive {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.archive-post-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-normal), box-shadow var(--ease-normal), border-color var(--ease-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.archive-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.1);
}

.archive-post-card .post-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.archive-post-card .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    transition: transform 0.6s ease;
}

.archive-post-card:hover .post-thumb img {
    transform: scale(1.08);
}

.archive-post-card .post-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.archive-post-card .entry-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 700;
}

.archive-post-card .entry-title a {
    color: var(--text-heading);
}

.archive-post-card .entry-content {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 1.2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.archive-post-card .btn-outline {
    align-self: flex-start;
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .blog-grid-archive { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 640px) {
    .blog-grid-archive { grid-template-columns: 1fr; }
}

/* Pagination Styling */
.blog-pagination {
    margin: 4rem 0;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: inline-flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.blog-pagination .page-numbers {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--color-navy);
    font-weight: 700;
    transition: all var(--ease-normal);
    font-family: var(--font-heading);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(6, 0, 64, 0.2);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: var(--radius-pill);
    gap: 0.5rem;
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ==========================================================================
   Modern Blog Post Template Styles
   ========================================================================== */
.post-template-modern {
    padding-top: 180px !important;
    background: #fff !important;
}

/* Reading Progress Bar */
.reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-rose), var(--color-gold));
    z-index: 1000000;
    transition: width 0.1s ease-out;
}

/* Post Hero */
.post-hero {
    text-align: center;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.post-cat-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(95, 15, 64, 0.08);
    color: var(--color-rose);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    margin-right: 1rem;
}

.post-meta-top .post-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.post-author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.post-author-meta img {
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.author-name {
    font-weight: 600;
    color: var(--text-heading);
}

.reading-time {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-hero-image {
    margin-top: 4rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.post-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Layout Grid */
.post-layout-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 5rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.post-content-area {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.entry-content {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-body);
}

.entry-content > p:first-of-type {
    font-size: 1.4rem;
    color: var(--text-heading);
    font-weight: 500;
}

/* Post Footer & Share */
.post-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.share-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.share-box h4 { margin: 0; font-size: 1rem; color: var(--text-muted); text-transform: uppercase; }

.share-btns { display: flex; gap: 12px; }

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.2rem;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.share-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }

.share-btn.wa { background: #25d366; }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #000; }

/* Sticky CTA Box */
.post-cta-box {
    position: sticky;
    top: 120px;
    background: var(--bg-subtle);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.cta-inner i {
    font-size: 2.5rem;
    color: var(--color-rose);
    margin-bottom: 1.5rem;
}

.post-cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-cta-box p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: 2rem;
}

/* Related Posts */
.related-posts-section {
    padding: 6rem 0;
    margin-top: 6rem;
    background: var(--bg-subtle);
}

.section-header-small {
    margin-bottom: 3rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

.related-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.related-thumb {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-thumb img { transform: scale(1.1); }

.related-info { padding: 1.5rem; }

.related-info h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.related-info .date { font-size: 0.85rem; color: var(--text-muted); }

/* Navigation */
.post-navigation {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
}

@media (max-width: 480px) {
    .nav-links { flex-direction: column; }
    .nav-links a { justify-content: center; }
}
/* ==========================================================================
   Form Fields — Premium UI
   ========================================================================== */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: var(--text-heading);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-heading);
    background: var(--bg-white);
    transition: all var(--ease-fast);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(4,0,46,0.07);
    background: #fff;
}
.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%230f0730' d='M8 11L2 5h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 2.8rem;
}

/* Doctor badge and cred tags upgrade */
.cred-tag {
    background: rgba(4,0,46,0.04);
    color: var(--color-navy);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(4,0,46,0.12);
    letter-spacing: 0.02em;
}

/* Read more link on posts */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-rose);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: gap var(--ease-fast), color var(--ease-fast);
}
.read-more:hover {
    gap: 0.65rem;
    color: var(--color-navy);
}

/* Post date tag */
.post-date {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.6rem;
}

/* ============================================================
   PREMIUM FINISHING DETAILS
   ============================================================ */

/* Post card thumbnail — smooth zoom on hover */
.post-card .post-thumb,
.archive-post-card .post-thumb {
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-subtle);
}
.post-card .post-thumb img,
.archive-post-card .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0, 0, 1);
    display: block;
}
.post-card:hover .post-thumb img,
.archive-post-card:hover .post-thumb img {
    transform: scale(1.06);
}

/* Post content padding — consistent */
.post-card .post-content {
    padding: 1.5rem;
}

/* Doctor image — clean, no dashed border */
.doctor-image-placeholder {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
}

/* Doctor badge — premium gold */
.doctor-badge-wrap {
    background: var(--color-gold);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-gold);
    border: 2px solid #fff;
}

/* Carousel images — consistent rounded look */
.silverrose-carousel-track img {
    height: 280px;
    border-radius: var(--radius-xl);
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.silverrose-carousel-track img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Section--subtle gets a gentle top separator */
.section--subtle {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Scroll animation — snappier settle */
[data-anim].is-visible {
    transition: opacity 0.6s cubic-bezier(0.2,0,0,1), transform 0.6s cubic-bezier(0.2,0,0,1) !important;
}

/* Skin quiz section background upgrade */
.skin-quiz-section {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Values section — subtle off-white */
.values-section {
    background: var(--bg-light) !important;
}

/* Footer top border accent */
.site-footer {
    border-top: 3px solid var(--color-gold);
}

/* Header booking CTA — distinct style */
header#masthead .header-cta {
    padding: 0.7rem 1.6rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-pill) !important;
    background: var(--color-navy) !important;
    color: #fff !important;
    border: 1.5px solid var(--color-navy) !important;
    transition: all var(--ease-normal) !important;
    letter-spacing: 0.01em !important;
}
header#masthead .header-cta:hover {
    background: var(--color-rose) !important;
    border-color: var(--color-rose) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-rose) !important;
}

/* Faq question hover — rose accent */
.faq-question:hover { color: var(--color-rose); }
.faq-item.is-open .faq-icon {
    background: var(--color-rose);
    color: #fff;
}

/* Pagination — navy active state */
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-navy);
    color: #fff;
    border-color: var(--color-navy);
    box-shadow: var(--shadow-md);
}

/* Selection style */
::selection {
    background: var(--color-gold);
    color: var(--color-navy);
}
::-moz-selection {
    background: var(--color-gold);
    color: var(--color-navy);
}

/* Focus ring — accessible but branded */
*:focus-visible {
    outline: 2px solid var(--color-rose);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Smooth scrollbar on webkit */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--color-navy); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-rose); }

