/* Dr. Rebecca Dawson - Custom Styles
   Soft, warm, and inviting medical practice aesthetic
   Primary: Women and mothers | Secondary: Men | Tertiary: Online patients
*/

/* ===== Color Variables ===== */
:root {
    /* Primary Colors - Soft, Warm Tones */
    --primary-blush: #E8B4B8;           /* Soft blush pink */
    --primary-rose: #D4A5A5;            /* Dusty rose */
    --primary-mauve: #C9A0A0;           /* Warm mauve */
    
    /* Secondary Colors - Calming Neutrals */
    --secondary-cream: #FDF8F5;         /* Warm cream/off-white */
    --secondary-sage: #A8C5B5;          /* Soft sage green */
    --secondary-lavender: #D4C4E0;      /* Light lavender */
    
    /* Accent Colors */
    --accent-gold: #C9A962;             /* Warm gold for aesthetics section */
    --accent-teal: #7BA3A8;             /* Calming teal */
    --accent-sage: #A8C5B5;             /* Soft sage green */
    
    /* Text Colors */
    --text-dark: #3D3D3D;               /* Dark gray for body text */
    --text-heading: #2C2C2C;            /* Darker for headings */
    --text-light: #6B6B6B;              /* Light gray for secondary text */
    --text-white: #FFFFFF;
    
    /* Background Colors */
    --bg-white: #FFFFFF;
    --bg-cream: #FDF8F5;
    --bg-light: #FAF7F5;
    --bg-section: #F5F0ED;
    --bg-dark: #3D4A4F;                 /* Deep teal-gray for footer */
    
    /* UI Elements */
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.08);

    /* Typography - 2026 Expert Stack */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

body, input, select, textarea {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-heading);
}

/* ============================================
   HERO SECTION - MODERN DESIGN
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin-top: 0;
}

/* Hero Background */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #FDF8F5 0%, #FAF5F2 50%, #F5FAF7 100%);
}

.hero__bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        radial-gradient(circle at 25% 25%, var(--primary-blush) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, var(--accent-sage) 2px, transparent 2px);
    background-size: 50px 50px;
}

.hero__grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(228, 180, 184, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(228, 180, 184, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
}

/* Hero Container */
.hero__container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Content */
.hero__content {
    animation: fadeInUp 0.8s ease-out;
}

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

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(228, 180, 184, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-rose);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(228, 180, 184, 0.15);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-rose);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
}

.hero__title-rotating {
    display: block;
    font-weight: 700;
    color: var(--primary-rose);
    position: relative;
    height: 1.4em;
}

.rotating-text {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    animation: rotateText 12s infinite;
    color: var(--primary-rose);
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 50%, var(--accent-sage) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.rotating-text.active {
    position: relative;
    opacity: 1;
}

.rotating-text:nth-child(1) {
    animation-delay: 0s;
}

.rotating-text:nth-child(2) {
    animation-delay: 3s;
}

.rotating-text:nth-child(3) {
    animation-delay: 6s;
}

.rotating-text:nth-child(4) {
    animation-delay: 9s;
}

@keyframes rotateText {
    0%, 25% {
        opacity: 1;
        transform: translateY(0);
    }
    30%, 100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .rotating-text {
        color: var(--primary-rose) !important;
        -webkit-text-fill-color: var(--primary-rose) !important;
    }
}

.hero__description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 90%;
}

/* Hero Buttons */
.hero__buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(228, 180, 184, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(228, 180, 184, 0.4);
}

.btn--outline {
    background: transparent;
    color: var(--primary-rose);
    border-color: var(--primary-rose);
}

.btn--outline:hover {
    background: var(--primary-rose);
    color: #fff;
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn__icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn__icon {
    transform: translateX(4px);
}

/* Hero Stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hero__stat {
    text-align: left;
}

.hero__stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-rose);
    margin-bottom: 0.25rem;
}

.hero__stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Visual */
.hero__visual {
    position: relative;
    animation: fadeInRight 0.8s ease-out 0.2s both;
}

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

.hero__image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero__image {
    width: 100%;
    padding-bottom: 125%;
    border-radius: 20px;
}

/* Hero Highlights */
.hero__highlights {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(228, 180, 184, 0.1);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item--link {
    text-decoration: none !important;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.highlight-item--link:hover {
    transform: translateY(-2px);
}

.highlight-item--link:hover .highlight-item__text strong {
    color: var(--primary-rose);
}

.highlight-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
}

.highlight-item__icon--rose {
    background: var(--primary-rose);
}

.highlight-item__icon--sage {
    background: var(--accent-sage);
}

.highlight-item__text {
    display: flex;
    flex-direction: column;
}

.highlight-item__text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
}

.highlight-item__text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Scroll Arrow */
.hero .goto-next {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Responsive Design */
@media screen and (max-width: 980px) {
    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero__content {
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__description {
        max-width: 100%;
    }
    
    .hero__buttons {
        justify-content: center;
    }

    .hero__highlights {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .hero__stats {
        justify-content: center;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 736px) {
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .hero__stat {
        text-align: center;
    }
}

/* ===== Base Overrides ===== */
html, body {
    background: var(--bg-white);
    color: var(--text-dark);
}

body, input, select, textarea {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-dark);
}

body.is-preload:before,
body.is-preload:after,
body.landing:before,
body.landing:after {
    background: var(--bg-cream);
}

a {
    color: var(--primary-rose);
    border-bottom-color: rgba(212, 165, 165, 0.3);
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
    color: var(--primary-blush) !important;
    border-bottom-color: transparent;
}

strong, b {
    color: var(--text-heading);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 300;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 2.2em;
}

p {
    color: var(--text-dark);
    line-height: 1.8;
}

/* ===== Header Visibility & Styling Fix ===== */
#header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

#header.alt {
    background: rgba(255, 255, 255, 0.95) !important;
}

#header #logo {
    color: var(--primary-rose) !important;
    font-weight: 600 !important;
}

#header nav a {
    color: var(--text-heading) !important;
}

#header nav a:hover,
#header nav a.active {
    color: var(--primary-rose) !important;
}

#header .button.primary {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 100%) !important;
    color: #fff !important;
    border: none !important;
}

#header .button.primary:hover {
    background: linear-gradient(135deg, var(--primary-blush) 0%, var(--primary-rose) 100%) !important;
}

hr {
    border-bottom-color: var(--border-light);
}

/* ===== Header ===== */
#header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

#header h1 a {
    color: var(--text-heading);
    font-weight: 400;
    letter-spacing: 0.05em;
}

#header nav ul li a,
#header nav ul li span {
    color: var(--text-dark);
}

#header nav ul li.active > a,
#header nav ul li.active > span {
    color: var(--primary-rose);
}

body.landing #header {
    background: transparent;
}

body.landing #header h1 a {
    color: var(--text-white);
}

body.landing #header nav ul li a,
body.landing #header nav ul li span {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== Buttons ===== */
input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
    background-color: transparent;
    border-radius: 30px;
    box-shadow: inset 0 0 0 2px var(--primary-rose);
    color: var(--primary-rose) !important;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85em;
    padding: 0 2.5em;
    transition: all 0.3s ease;
}

input[type="submit"]:hover,
input[type="submit"]:active,
input[type="reset"]:hover,
input[type="reset"]:active,
input[type="button"]:hover,
input[type="button"]:active,
.button:hover,
.button:active {
    background-color: var(--primary-rose);
    box-shadow: inset 0 0 0 2px var(--primary-rose);
    color: var(--text-white) !important;
}

.button.primary {
    background-color: var(--primary-rose);
    box-shadow: none;
    color: var(--text-white) !important;
}

.button.primary:hover {
    background-color: var(--primary-blush);
}

.button.primary:active {
    background-color: var(--primary-mauve);
}

/* Book Now Button - Special Styling */
.button.book-now {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 100%);
    box-shadow: 0 4px 15px rgba(212, 165, 165, 0.4);
    border: none;
    color: var(--text-white) !important;
}

.button.book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 165, 0.5);
}

/* Aesthetics/Premium Button */
.button.premium {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D4B86A 100%);
    box-shadow: 0 4px 15px rgba(201, 169, 98, 0.3);
    color: var(--text-white) !important;
}

/* ===== Banner / Hero Section ===== */
#banner {
    background-color: var(--bg-cream);
    background-image: none;
    min-height: 100vh;
}

#banner:after {
    background-image: linear-gradient(135deg, rgba(232, 180, 184, 0.15) 0%, rgba(168, 197, 181, 0.1) 100%);
}

#banner .content {
    text-align: center;
}

#banner .content header h2 {
    color: var(--text-heading);
    font-size: 2.8em;
    font-weight: 300;
    margin-bottom: 0.3em;
}

#banner .content header p {
    color: var(--text-light);
    font-size: 1.3em;
    font-weight: 300;
}

#banner .content .image {
    border: 5px solid var(--bg-white);
    box-shadow: var(--shadow-medium);
}

/* ===== Spotlight Sections ===== */
.spotlight {
    background-attachment: scroll;
    box-shadow: none;
}

.spotlight .content {
    background: var(--bg-white);
    border-color: var(--primary-rose) !important;
}

.spotlight.style1 .content {
    border-color: var(--primary-rose);
}

.spotlight.style2 .content {
    border-color: var(--secondary-sage);
}

.spotlight.style3 .content {
    border-color: var(--accent-teal);
}

/* ===== Wrapper Sections ===== */
.wrapper {
    background: var(--bg-white);
}

.wrapper.style1 {
    background: var(--bg-white);
}

.wrapper.style2 {
    background: linear-gradient(135deg, var(--accent-teal) 0%, #688D92 100%);
}

.wrapper.style2 h1, 
.wrapper.style2 h2, 
.wrapper.style2 h3, 
.wrapper.style2 h4, 
.wrapper.style2 p,
.wrapper.style2 strong {
    color: var(--text-white) !important;
}

.wrapper.style2 .button.primary {
    background-color: var(--text-white);
    color: var(--accent-teal) !important;
    border: none;
}

.wrapper.style2 .button.primary:hover {
    background-color: transparent !important;
    color: var(--text-white) !important;
    box-shadow: inset 0 0 0 2px var(--text-white) !important;
}

.wrapper.style-cream {
    background: var(--bg-cream);
}

.wrapper.style-sage {
    background: linear-gradient(135deg, var(--secondary-sage) 0%, #B8D4C5 100%);
}

/* Section Headers */
header.major {
    margin-bottom: 3em;
}

header.major:after {
    background: linear-gradient(90deg, var(--primary-rose), var(--primary-blush));
    height: 3px;
    border-radius: 2px;
}

header.major h2 {
    color: var(--text-heading);
}

header.major p {
    color: var(--text-light);
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2.5em 2em;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 100%);
    margin-bottom: 1.5em;
}

.service-card .icon:before {
    font-size: 1.8em;
    color: var(--text-white);
}

.service-card h3 {
    color: var(--text-heading);
    margin-bottom: 0.5em;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95em;
}

/* Aesthetics Card - Premium Styling */
.service-card.premium {
    background: linear-gradient(135deg, #FAF8F5 0%, #FDF9F6 100%);
    border: 1px solid rgba(201, 169, 98, 0.2);
}

.service-card.premium .icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D4B86A 100%);
    color: #fff;
}

/* Women's Health Specific Accents */
.button.womens-health {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 100%) !important;
    border-color: var(--primary-rose) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(212, 165, 165, 0.3);
}

.button.womens-health:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 165, 0.4);
}

/* ===== About Section ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4em;
    align-items: center;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-image img {
    width: 100%;
    display: block;
}

.about-content h2 {
    font-size: 2.2em;
    margin-bottom: 0.5em;
}

.about-content .tagline {
    color: var(--primary-rose);
    font-size: 1.1em;
    font-style: italic;
    margin-bottom: 1.5em;
}

@media screen and (max-width: 980px) {
    .about-intro {
        grid-template-columns: 1fr;
        gap: 2em;
    }
}

/* ===== Practice Gallery ===== */
.practice-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    margin-top: 2em;
}

.practice-gallery .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.practice-gallery .gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

@media screen and (max-width: 736px) {
    .practice-gallery {
        grid-template-columns: 1fr;
    }
}

/* ===== Telehealth Section ===== */
.telehealth-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2em;
    margin-top: 3em;
}

.step-card {
    text-align: center;
    padding: 2em;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-rose);
    color: var(--text-white);
    font-size: 1.5em;
    font-weight: 400;
    margin-bottom: 1em;
}

.step-card h4 {
    color: var(--text-heading);
    margin-bottom: 0.5em;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.9em;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
}

.contact-info {
    padding: 2em;
}

.contact-info h3 {
    color: var(--text-heading);
    margin-bottom: 1em;
    border-bottom: 2px solid var(--primary-rose);
    padding-bottom: 0.5em;
    display: inline-block;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5em;
}

.contact-item .icon {
    color: var(--primary-rose);
    margin-right: 1em;
    font-size: 1.2em;
    min-width: 30px;
}

.contact-item .details h4 {
    color: var(--text-heading);
    margin-bottom: 0.2em;
    font-size: 1em;
}

.contact-item .details p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95em;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border: none;
}

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

/* ===== Medical Aid Notice ===== */
.medical-aid-notice {
    background: var(--bg-cream);
    border-radius: 10px;
    padding: 1.5em 2em;
    margin-top: 2em;
    display: flex;
    align-items: center;
    gap: 1em;
}

.medical-aid-notice .icon {
    color: var(--secondary-sage);
    font-size: 1.5em;
}

.medical-aid-notice p {
    margin: 0;
    color: var(--text-dark);
}

/* ===== Forms ===== */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-dark);
    padding: 0.8em 1em;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-rose);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 165, 165, 0.15);
}

label {
    color: var(--text-heading);
    font-weight: 400;
}

::placeholder {
    color: var(--text-light) !important;
}

/* ===== Footer ===== */
#footer {
    background: var(--bg-dark);
    padding: 4em 0 3em;
    color: var(--text-white);
}

#footer h4 {
    color: var(--text-white);
    margin-bottom: 1.5em;
}

#footer p, #footer strong, #footer em, #footer li {
    color: rgba(255, 255, 255, 0.8) !important;
}

#footer a {
    color: var(--primary-blush);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

#footer .icons .icon.alt:before {
    color: var(--bg-dark) !important;
    text-shadow: 1px 0 0 rgba(255, 255, 255, 0.8), 
                 -1px 0 0 rgba(255, 255, 255, 0.8), 
                 0 1px 0 rgba(255, 255, 255, 0.8), 
                 0 -1px 0 rgba(255, 255, 255, 0.8);
}

#footer .copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    margin-top: 3em;
}

#footer .copyright li {
    border-left-color: rgba(255, 255, 255, 0.2);
}

#footer .copyright a {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 100px; /* Moved up to avoid overlap with reCAPTCHA badge */
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: none !important;
}

.whatsapp-float .whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.whatsapp-float .whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .whatsapp-icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.whatsapp-float .whatsapp-text {
    background: var(--bg-white);
    padding: 0.5em 1em;
    border-radius: 20px;
    margin-right: 10px;
    box-shadow: var(--shadow-soft);
    font-size: 0.9em;
    color: var(--text-dark);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 736px) {
    .whatsapp-float {
        bottom: 80px; /* Moved up for mobile to avoid reCAPTCHA */
        right: 20px;
    }
    
    .whatsapp-float .whatsapp-icon {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-float .whatsapp-text {
        display: none;
    }
}

/* ===== Dropdown Menu Overrides ===== */
.dropotron {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
}

.dropotron > li {
    border-top-color: var(--border-light);
}

.dropotron > li a,
.dropotron > li span {
    color: var(--text-dark);
}

.dropotron > li.active > a,
.dropotron > li.active > span {
    color: var(--primary-rose);
}

.dropotron.level-0:before {
    background: var(--bg-white);
}

/* ===== Icon Overrides ===== */
.icon.alt:before {
    color: var(--bg-white) !important;
    text-shadow: 1px 0 0 var(--primary-rose), 
                 -1px 0 0 var(--primary-rose), 
                 0 1px 0 var(--primary-rose), 
                 0 -1px 0 var(--primary-rose);
}

.icon.major {
    background: var(--bg-cream);
}

.icon.major.alt:before {
    color: var(--bg-cream) !important;
    text-shadow: 1px 0 0 var(--primary-rose), 
                 -1px 0 0 var(--primary-rose), 
                 0 1px 0 var(--primary-rose), 
                 0 -1px 0 var(--primary-rose);
}

/* ===== Specialty Sections ===== */

/* Aesthetics & Wellness - Spa-like Premium Feel */
.section-aesthetics {
    background: linear-gradient(135deg, #FFFBF7 0%, #FDF8F5 100%);
}

.section-aesthetics header.major:after {
    background: linear-gradient(90deg, var(--accent-gold), #D4B86A);
}

.section-aesthetics .service-card {
    border: 1px solid rgba(201, 169, 98, 0.15);
}

.section-aesthetics .service-card .icon {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #D4B86A 100%);
}

/* Women's Health Section */
.section-womens-health {
    background: linear-gradient(135deg, #FDF5F6 0%, #FAF0F1 100%);
}

.section-womens-health header.major:after {
    background: linear-gradient(90deg, var(--primary-blush), var(--primary-rose));
}

/* Men's Health Section */
.section-mens-health {
    background: linear-gradient(135deg, #F5F8FA 0%, #F0F4F6 100%);
}

.section-mens-health header.major:after {
    background: linear-gradient(90deg, var(--accent-teal), #8BB5BA);
}

/* ===== Booking CTA Section ===== */
.booking-cta {
    background: linear-gradient(135deg, var(--primary-rose) 0%, var(--primary-blush) 100%);
    padding: 4em 2em;
    text-align: center;
    border-radius: 20px;
    margin: 3em 0;
}

.booking-cta h3 {
    color: var(--text-white);
    font-size: 1.8em;
    margin-bottom: 0.5em;
}

.booking-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5em;
}

.booking-cta .button {
    background: var(--text-white);
    color: var(--primary-rose) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.booking-cta .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== Patient Resources ===== */
.resources-list {
    list-style: none;
    padding: 0;
    margin: 2em 0;
}

.resources-list li {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.2em 1.5em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.resources-list li:hover {
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-rose);
}

.resources-list li .resource-info {
    display: flex;
    align-items: center;
}

.resources-list li .icon {
    color: var(--primary-rose);
    margin-right: 1em;
    font-size: 1.3em;
}

.resources-list li .resource-name {
    color: var(--text-heading);
    font-weight: 400;
}

.resources-list li .resource-size {
    color: var(--text-light);
    font-size: 0.85em;
}

.resources-list li .button {
    font-size: 0.8em;
    padding: 0 1.5em;
    height: 2.5em;
    line-height: 2.5em;
}

/* ===== Testimonials ===== */
.testimonial {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2em;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2em;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 4em;
    color: var(--primary-blush);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: Georgia, serif;
    opacity: 0.5;
}

.testimonial p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1em;
    padding-left: 1em;
}

.testimonial .author {
    color: var(--text-light);
    font-size: 0.9em;
    text-align: right;
}

/* ===== Mobile Navigation ===== */
#titleBar {
    background: var(--bg-white);
    box-shadow: var(--shadow-soft);
}

#titleBar .title {
    color: var(--text-heading);
}

#titleBar .toggle:before {
    background: var(--primary-rose);
    color: var(--text-white);
}

#navPanel {
    background: var(--bg-white);
}

#navPanel .link {
    border-top-color: var(--border-light);
    color: var(--text-dark);
}

#navPanel .link.depth-0 {
    color: var(--text-heading);
}

/* ===== Responsive Adjustments ===== */
@media screen and (max-width: 980px) {
    #banner .content header h2 {
        font-size: 2em;
    }
    
    #banner .content header p {
        font-size: 1.1em;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 736px) {
    #banner .content header h2 {
        font-size: 1.6em;
    }
    
    #banner .content header p {
        font-size: 1em;
    }
    
    .booking-cta {
        padding: 2.5em 1.5em;
    }
    
    .booking-cta h3 {
        font-size: 1.4em;
    }
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1em; }
.mt-2 { margin-top: 2em; }
.mt-3 { margin-top: 3em; }
.mb-1 { margin-bottom: 1em; }
.mb-2 { margin-bottom: 2em; }
.mb-3 { margin-bottom: 3em; }

.bg-cream { background: var(--bg-cream); }
.bg-white { background: var(--bg-white); }

/* ===== Bookem Booking Widget Integration ===== */
.bookem-container {
    background: #fff;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(212, 165, 165, 0.15);
    max-width: 900px;
    margin: 2em auto;
    overflow: hidden;
    min-height: 600px;
}

/* Ensuring the widget scales correctly */
bookem-widget {
    width: 100% !important;
    display: block;
}

/* ============================================
   TELEHEALTH PAGE STYLES
   ============================================ */

.telehealth-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
    margin-top: 2em;
}

@media screen and (max-width: 980px) {
    .telehealth-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .telehealth-steps {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: #fff;
    padding: 2em 1.5em;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blush) 0%, var(--secondary-dusty) 100%);
    color: #fff;
    font-size: 1.5em;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1em;
}

.step-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

.step-card p {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-info-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2em;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.contact-info-card h4 {
    color: var(--primary-rose);
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.contact-info-card p {
    margin-bottom: 0.5em;
}

.contact-info-card ul {
    list-style: none;
    padding: 0;
}

.contact-info-card ul li {
    padding: 0.3em 0;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Patient Resources Section */
.resource-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5em;
    display: flex;
    align-items: center;
    gap: 1em;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.resource-card:hover {
    border-color: var(--primary-rose);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.resource-card .resource-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blush) 0%, var(--primary-rose) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resource-card .resource-icon i {
    color: #fff;
    font-size: 1.2em;
}

.resource-card .resource-details h5 {
    margin: 0 0 0.3em 0;
    color: var(--text-heading);
    font-size: 1em;
}

.resource-card .resource-details p {
    margin: 0;
    font-size: 0.85em;
    color: var(--text-light);
}

/* FAQ Accordion */
.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 1em;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-question {
    padding: 1.2em 1.5em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-heading);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-cream);
}

.faq-question .icon {
    transition: transform 0.3s ease;
    color: var(--primary-rose);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5em;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5em 1.5em;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-dark);
    font-size: 0.95em;
}

/* Medical Aid Notice */
.medical-aid-notice {
    background: linear-gradient(135deg, #FDF8F5 0%, #FAF5F2 100%);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5em 2em;
    border-radius: 0 10px 10px 0;
    margin: 2em 0;
}

.medical-aid-notice h4 {
    color: var(--accent-gold);
    margin-bottom: 0.5em;
}

.medical-aid-notice p {
    margin-bottom: 0;
    color: var(--text-dark);
}

