﻿:root {
    /* PRIMARY - Keep client's beige for backgrounds */
    --primary: #e5d0bc;           /* Keep - use for backgrounds/navbar */
    --primary-dark: #1B3A52;      /* CHANGE - Deep navy for buttons/headings */
    --primary-light: #f0e5d7;     /* Keep */

    /* ACCENT - Strong contrast colors */
    --accent: #2C7A7B;            /* CHANGE - Rich teal for accents/hover */
    --accent-light: #4A9B9F;      /* CHANGE - Lighter teal */

    /* Neutrals - keep existing */
    --white: #ffffff;
    --off-white: #FBF9F5;
    --cream: #F5EFE6;
    --beige: #EDE3D5;
    --light-gray: #D9CFC1;
    --gray: #6F6A60;
    --dark-gray: #4A4A4A;
    --dark: #222222;
    --brown: #8B6F47;

    /* Semantic Colors */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.16);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 450ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Blog/Card specific */
    --card-bg: #ffffff;
    --muted: #6F6A60;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--off-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
    color: var(--dark);
    font-size: 1rem;

}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--space-md));
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
}

@media (min-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
}

/* ============================================
   LOGO STYLES
   ============================================ */
.navbar-brand-logo {
    text-decoration: none;
}

.logo-container {
    text-align: center;
    padding: 3px 10px;
    background: transparent;
}

.logo {
    color: var(--dark);
}

.brand {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0;
    color: var(--dark);
    gap: 0;
}

.brand-carey {
    margin-right: 6px;
}

.tooth-wrapper {
    display: inline-flex;
    align-items: flex-end;
    height: 100%;
}

.tooth-letter {
    width: 28px;
    height: auto;
    margin-bottom: 2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

    .tooth-letter path {
        fill: #ffffff;
        stroke: #ffffff;
    }

.brand-n {
    font-style: italic;
    margin-left: 1px;
}

.brand-divider {
    display: block;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 15%, rgba(255,255,255,0.6) 85%, transparent 100%);
    margin: 6px 0 5px;
}

.sub {
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 4.5px;
    margin: 0;
    color: var(--dark);
    text-transform: uppercase;
    text-indent: 4.5px;
}

.navbar-brand-logo:hover .tooth-letter {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.navbar-brand-logo:hover .brand {
    color: var(--white);
}

.logo-pill {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.navbar-brand-logo:hover .logo-pill {
    transform: translateY(-2px);
}

.logo-img {
    display: block;
    max-height: 48px;
    width: auto;
}


@media (min-width: 992px) {
    .brand {
        font-size: 42px;
    }

    .brand-carey {
        margin-right: 8px;
    }

    .tooth-letter {
        width: 34px;
        margin-bottom: 3px;
    }

    .brand-divider {
        margin: 8px 0 6px;
        height: 2px;
    }

    .sub {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 5.5px;
        text-indent: 5.5px;
    }

    .logo-container {
        padding: 1px 14px;
    }

}

@media (max-width: 576px) {
    .logo-img {
        max-height: 42px;
    }

    .logo-pill {
        padding: 2px 6px;
        border-radius: 6px;
    }
}

/* ============================================
   NAVIGATION - COMPACT & PROFESSIONAL
   ============================================ */
.navbar {
    --bs-navbar-padding-y: 0.25rem !important;
    --bs-navbar-brand-padding-y: 0.1rem !important;
    background-color: var(--primary);
    padding: 4px 0 !important;
    transition: all var(--transition-base);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

/* More specific selector to override Bootstrap */
nav.navbar.navbar-expand-lg {
    --bs-navbar-padding-y: 0.5rem !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.navbar.shadow-lg {
    box-shadow: var(--shadow-xl);
    background-color: rgba(229, 208, 188, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: transform var(--transition-fast);
    flex: 0 0 auto;
}

    .navbar-brand:hover {
        transform: translateY(-2px);
    }

.navbar .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-dark);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-dark) !important;
    background-color: rgba(0,0,0,0.03);
}

@media (max-width: 991px) {
    /* ======= Mobile navbar fixes (override) ======= */

    /* Keep the collapsed panel as a compact card (remove the large negative horizontal margin) */
    .navbar-collapse {
        background-color: var(--primary);
        margin: 12px 0 0; /* changed from negative horizontal margin */
        padding: 12px !important;
        border-radius: var(--radius-lg);
        box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    }

    /* Stack links cleanly and add subtle spacing */
    .navbar-collapse .nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .navbar-collapse .nav-link {
        color: var(--dark) !important;
        padding: 12px 18px !important;
        border-radius: 8px;
        background: transparent;
        width: 100%;
        box-shadow: none;
    }

    /* Remove the desktop underline indicator in collapsed view (it causes the long blue line) */
    .navbar-collapse .nav-link::after {
        display: none;
    }

    /* Make the active item clearly visible but compact (no large left border) */
    .navbar-collapse .nav-link.active {
        background: rgba(27,58,82,0.06);
        color: var(--primary-dark) !important;
        font-weight: 700;
        border-left: none;
    }

    /* Ensure the Book Appointment button is full width and aligned inside the collapsible menu */
    .navbar-collapse .btn-book-appointment,
    .navbar-collapse .btn {
        width: calc(100% - 24px);
        margin: 8px 12px 0;
        align-self: center;
    }

    /* Toggler styling to match the compact professional look */
    .navbar-toggler {
        border: 1px solid rgba(0,0,0,0.08);
        background: rgba(0,0,0,0.03);
        border-radius: 8px;
        padding: 6px 10px;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    color: var(--white);
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--white);
}

    .btn-primary:hover {
        background-color: var(--accent);
        color: var(--white);
    }

.btn-outline-light {
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
    background-color: transparent;
    box-shadow: none;
}

    .btn-outline-light:hover {
        background-color: var(--primary-dark);
        color: var(--white);
    }

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn-book-appointment {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-book-appointment:hover {
        background-color: var(--accent);
        color: #fff;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        transform: scale(1.05);
    }

    .btn-book-appointment i {
        font-size: 1.2rem;
    }

    /* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out both;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

    .scroll-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* ============================================
   FORMS & INPUTS
   ============================================ */
form {
    margin-bottom: var(--space-2xl);
}

label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--dark);
}

input,
textarea,
select {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark);
    background-color: var(--white);
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    transition: all var(--transition-base);
    width: 100%;
    display: block;
    margin-bottom: var(--space-md);
}

    input:focus,
    textarea:focus,
    select:focus {
        border-color: var(--primary-dark);
        outline: none;
        box-shadow: 0 0 0 3px rgba(27,58,82,0.12);
    }

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Form label icon styling to match sidebar */
.booking-page .form-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.booking-page .form-label i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27, 58, 82, 0.2);
}

/* ============================================
   FOOTER STYLES - PROFESSIONAL & COMPACT
   ============================================ */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 0; /* Remove extra padding, using Bootstrap classes instead */
    position: relative;
}

    .site-footer h3.footer-heading {
        color: var(--white) !important;
        font-size: 1rem;
        margin-bottom: 0.75rem;
        font-weight: 600;
    }

    .site-footer p {
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 0.35rem;
        line-height: 1.4;
        font-size: 0.875rem;
    }

    .site-footer a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: color var(--transition-fast);
    }

        .site-footer a:hover {
            color: var(--accent-light);
            text-decoration: underline;
        }

    .site-footer .footer-contact p,
    .site-footer .footer-contact a,
    .site-footer .footer-contact strong,
    .site-footer .footer-contact b {
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 600;
    }

    .site-footer .footer-contact strong,
    .site-footer .footer-contact b {
        color: var(--white) !important;
        font-weight: 700;
    }

    .site-footer .footer-links li {
        margin-bottom: 0.3rem;
    }

    .site-footer .hours-note {
        font-size: 0.7rem;
        margin-top: 0.5rem;
        font-style: italic;
        opacity: 0.8;
    }

    .site-footer .social-links {
        display: flex;
        gap: 0.6rem;
    }

    .site-footer .social-icon {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        font-size: 0.9rem;
        transition: all var(--transition-base);
    }

        .site-footer .social-icon:hover {
            background: var(--accent);
            transform: translateY(-3px);
            text-decoration: none;
        }

    .site-footer .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.85rem;
    }

    /* ============================================
   PART 2: HERO, FEATURES, AND SERVICES PAGES
   ============================================ */

    /* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: var(--space-3xl) 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--off-white) 50%, var(--primary) 100%);
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 30%, rgba(229, 208, 188, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.12) 0%, transparent 50%);
        pointer-events: none;
    }

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    line-height: 1.1;
}

.hero .hero-tagline {
    font-size: 1.5rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta {
    margin-top: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: var(--space-2xl) 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

        .hero .hero-tagline {
            font-size: 1.2rem;
        }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero .hero-tagline {
        font-size: 1.75rem;
    }
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features {
    padding: var(--space-3xl) 0;
    background-color: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    background: #fff;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-2xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    text-align: center;
    border: 1px solid transparent;
}

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        border-color: var(--accent);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    box-shadow: 0 8px 16px rgba(229, 208, 188, 0.35);
    transition: all var(--transition-base);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .features {
        padding: var(--space-2xl) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-hero {
    position: relative;
    background: url('/images/970652562.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 140px 0;
    text-align: center;
    overflow: hidden;
}

    .services-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.35) 100%);
        backdrop-filter: blur(1px);
        z-index: 1;
    }

.services-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-glass-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 28px;
    border-radius: 50px;
    margin-bottom: 28px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
    animation: fadeInDown 0.8s ease-out;
}

.services-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5), 2px 2px 0 rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -1px;
}

.services-hero .lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--off-white) 100%);
    position: relative;
}

    .services-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100%;
        background: radial-gradient(circle at 20% 30%, rgba(229, 208, 188, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.3) 0%, transparent 50%);
        pointer-events: none;
    }

.services-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 5px;
        background: linear-gradient(90deg, transparent 0%, var(--primary-dark) 20%, var(--accent) 80%, transparent 100%);
        border-radius: 3px;
    }

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-top: 32px;
    line-height: 1.7;
    font-weight: 400;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.service-glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .service-glass-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .service-glass-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
        background: rgba(255, 255, 255, 0.85);
    }

        .service-glass-card:hover::before {
            opacity: 1;
        }

.service-icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(229, 208, 188, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

    .service-icon-wrapper::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.service-glass-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 16px 40px rgba(229, 208, 188, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

    .service-glass-card:hover .service-icon-wrapper::before {
        opacity: 1;
    }

.service-icon-wrapper i {
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.service-glass-card h3 {
    color: var(--primary-dark);
    font-size: 1.75rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
}

.service-glass-card .service-description {
    color: var(--dark-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 28px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

    .service-features li {
        padding: 10px 0 10px 36px;
        position: relative;
        color: var(--dark-gray);
        font-size: 1rem;
        line-height: 1.6;
        transition: color 0.2s ease;
    }

        .service-features li::before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary-dark);
            font-size: 1.2rem;
            font-weight: bold;
            transition: transform 0.2s ease;
        }

.service-glass-card:hover .service-features li::before {
    transform: scale(1.2);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(229, 208, 188, 0.35);
    position: relative;
    overflow: hidden;
}

    .service-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
        transition: left 0.5s ease;
    }

    .service-cta:hover::before {
        left: 100%;
    }

    .service-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(229, 208, 188, 0.45);
        color: #ffffff;
    }

    .service-cta i {
        margin-left: 8px;
        transition: transform 0.3s ease;
    }

    .service-cta:hover i {
        transform: translateX(4px);
    }

.final-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .final-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
        pointer-events: none;
    }

.final-cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.final-cta h2 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.final-cta p {
    color: rgba(255,255,255,0.95);
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.final-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 20px 56px;
    background: #ffffff;
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

    .final-cta-button:hover {
        transform: translateY(-4px);
        box-shadow: 0 15px 50px rgba(0,0,0,0.35);
        color: var(--primary-dark);
        background: var(--cream);
    }

    /* ============================================
   PART 3: ABOUT, TEAM, BOOKING, AND BLOG PAGES
   ============================================ */

    /* ============================================
   ABOUT PAGE
   ============================================ */
/* Integrated About Hero Section */
.about-hero-integrated {
    position: relative;
    height: 600px;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding-top: 30px; /* Elevated badge position */
}

.about-hero-integrated #aboutHeroCarousel,
.about-hero-integrated .carousel-inner,
.about-hero-integrated .carousel-item {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
}

.about-hero-integrated .carousel-image-slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: zoomEffect 20s linear infinite alternate;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.container-hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.about-hero-content-box {
    max-width: 900px;
    margin: 0 auto;
}

.about-hero-integrated h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-top: 260px; /* Increased gap to clear faces */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.about-hero-integrated .lead {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 750px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.about-hero-integrated .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 28px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Integrated About Hero Responsive Styles */
@media (max-width: 991px) {
    .about-hero-integrated {
        height: 500px;
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .about-hero-integrated {
        height: 600px;
        min-height: 600px;
        padding-top: 35px; /* Consistent top position for mobile */
    }

    .about-hero-integrated h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
        margin-top: 260px; /* Increased gap for mobile */
        margin-bottom: 16px;
    }

    .about-hero-integrated .lead {
        font-size: 0.95rem;
        padding: 0 15px;
        line-height: 1.6;
    }

    .about-hero-integrated .hero-badge {
        font-size: 0.75rem;
        padding: 6px 18px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .about-hero-integrated {
        height: 580px;
        min-height: 580px;
        padding-top: 25px;
    }

    .about-hero-integrated h1 {
        margin-top: 230px; /* Increased gap for smallest screens */
    }
}

.about-section {
    padding: 80px 0;
    background: #fff;
}

.about-section-alt {
    background: var(--off-white);
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 24px;
}

.modern-quote {
    background: linear-gradient(135deg, rgba(229, 208, 188, 0.15) 0%, rgba(212, 165, 116, 0.10) 100%);
    border-top: 1px solid rgba(27, 58, 82, 0.1);
    border-bottom: 1px solid rgba(27, 58, 82, 0.1);
    padding: 40px 32px;
    margin: 48px 0;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-dark);
    opacity: 0.15;
    position: absolute;
    top: 16px;
    right: 24px;
}

.modern-quote p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark);
    font-style: italic;
    margin: 0;
    font-weight: 500;
}

.mission-box {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    color: #ffffff;
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 60px 0;
}

@media (max-width: 768px) {
    .mission-box {
        padding: 32px 24px;
        margin: 40px 0;
    }
    
    .mission-box h3 {
        font-size: 1.6rem;
    }
}

    .mission-box h3 {
        color: #ffffff;
        font-size: 2rem;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        gap: 16px;
    }

        .mission-box h3 i {
            font-size: 2.5rem;
        }

    .mission-box p {
        font-size: 1.1rem;
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.95);
        margin: 0;
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background: #ffffff;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 208, 188, 0.2);
    position: relative;
    overflow: hidden;
}

    .value-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .value-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    }

@media (max-width: 768px) {
    .value-card {
        padding: 30px 24px;
    }
}

        .value-card:hover::before {
            opacity: 1;
        }

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(229, 208, 188, 0.35);
}

    .value-icon i {
        font-size: 2rem;
        color: #ffffff;
    }

.value-card h4 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.value-card p, .value-list {
    color: var(--dark-gray);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.value-list {
    list-style: none;
    padding: 0;
}

.value-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.value-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-dark);
    font-weight: bold;
}

/* ============================================
   TEAM PAGE
   ============================================ */
.team-hero {
    position: relative;
    background: url('/images/1673470626.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.team-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 36, 25, 0.3) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeInDown 0.8s ease-out;
}

.team-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5), 2px 2px 0 rgba(0,0,0,0.4);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -0.5px;
}

.team-hero .lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.team-hero .cta-button {
    display: inline-block;
    margin-top: 16px;
    padding: 16px 48px;
    background: #ffffff;
    color: var(--primary-dark);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.team-hero .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: var(--cream);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .team-hero h1 {
        font-size: 2.2rem;
    }

    .team-hero .lead {
        font-size: 1.1rem;
    }

    .team-section {
        padding: 60px 0;
    }

    .section-header {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 0 20px;
    }


    .team-placeholder {
        font-size: 6rem;
    }

    .team-info {
        padding: 24px;
    }

    .team-info h3 {
        font-size: 1.4rem;
    }
}

    .team-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 480px) {
    .team-hero {
        padding: 60px 0;
    }

    .team-hero-content {
        padding: 0 16px;
    }

    .team-hero h1 {
        font-size: 1.8rem;
    }

    .team-hero .lead {
        font-size: 1rem;
    }

    .team-hero .cta-button {
        padding: 14px 36px;
        font-size: 1rem;
    }

    .section-header {
        padding: 0 16px !important;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .team-grid {
        padding: 0 16px !important;
        gap: 24px;
    }

    .team-info {
        padding: 20px;
    }

    .team-info h3 {
        font-size: 1.3rem;
    }

    .team-role {
        font-size: 0.9rem;
    }

    .team-bio {
        font-size: 0.95rem;
    }
}

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* BLOG HERO */
.blog-hero {
    position: relative;
    background: url('/images/hero-blog.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 36, 25, 0.3) 0%, rgba(0, 0, 0, 0.25) 100%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5), 2px 2px 0 rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -0.5px;
}

.blog-hero .lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #ffffff;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Search Form in Hero */
.hero-search-form {
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--primary-dark);
    padding: 6px 6px 6px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
    border: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.search-pill:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.25);
}

.search-pill .form-control {
    border: 0;
    box-shadow: none;
    padding: 10px 8px;
    min-width: 0;
    flex: 1;
    font-size: 0.95rem;
    background: transparent;
}

.search-pill .form-control::placeholder {
    color: #9aa99a;
}

.search-pill .form-control:focus {
    outline: none;
}

.search-pill .btn {
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    padding: 0;
    height: 42px;
    width: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.search-pill .btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.search-pill .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 196, 176, 0.25);
}

.search-pill .btn i {
    font-size: 1rem;
}

/* CONTENT */
.content-section {
    padding: 72px 0;
    background: #fbfbfb;
}

/* GRID POSTS */
.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .posts-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.post-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    box-shadow: 0 10px 30px rgba(35, 41, 38, 0.08);
    border: 1px solid rgba(34, 41, 36, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 60px rgba(30, 36, 32, 0.12);
}

.post-media {
    height: 240px;
    background: #eee;
    display: block;
    position: relative;
    overflow: hidden;
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-media img {
    transform: scale(1.06);
}

.post-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px 18px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
    color: #fff;
    display: flex;
    align-items: flex-end;
    height: 100%;
    justify-content: flex-start;
    pointer-events: none;
}

.post-body {
    padding: 20px 22px 26px;
}

.post-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #203225;
    margin: 0 0 8px;
}

.post-meta {
    font-size: 0.9rem;
    color: var(--muted);
    display: flex;
    gap: 10px;
    align-items: center;
}

.post-excerpt {
    color: #47524a;
    margin: 14px 0 18px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.read-more i {
    transition: transform 0.2s ease;
}

.read-more:hover i {
    transform: translateX(4px);
}

/* SIDEBAR */
.sidebar-card {
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(33, 40, 34, 0.06);
    border: 1px solid rgba(34, 41, 36, 0.04);
}

.sidebar-title {
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.featured-post {
    padding: 10px 0;
    border-bottom: 1px solid rgba(34, 41, 36, 0.04);
}

.featured-post a {
    color: #1f2a23;
    text-decoration: none;
    font-weight: 700;
}

.featured-post-date {
    color: var(--muted);
    font-size: 0.9rem;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin: 6px;
    border-radius: 999px;
    background: #f2f5f2;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
}

.newsletter-card {
    padding: 26px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 12px 40px rgba(33, 40, 34, 0.12);
}

.newsletter-card h5 {
    margin: 0 0 8px;
}

.newsletter-card p {
    margin-bottom: 0;
}

.newsletter-card form {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    align-items: center;
}

@media (max-width: 576px) {
    .newsletter-card form {
        flex-direction: column;
        align-items: stretch;
    }
}

.newsletter-card input,
.newsletter-card button {
    height: 44px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 0.95rem;
}

.newsletter-card input {
    flex: 1;
    padding: 10px 14px;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: #213225;
}

.newsletter-card input::placeholder {
    color: #9aa99a;
}

.newsletter-card button {
    min-width: 130px;
    padding: 0 18px;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 800;
    border: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.newsletter-card button:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.newsletter-card form > * {
    margin: 0;
}

.newsletter-card input {
    height: 48px;
    line-height: 48px;
}

.newsletter-card button {
    height: 48px;
    line-height: 48px;
}

.newsletter-card form {
    gap: 16px;
    align-items: center;
}

.newsletter-card button {
    margin-top: 0;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .newsletter-card input {
        width: 100%;
    }

    .newsletter-card button {
        width: 100%;
        min-width: 0;
    }
}

/* PAGINATION */
.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding-top: 18px;
}

.pagination .page-link {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid rgba(34, 41, 36, 0.06);
    color: var(--primary-dark);
}

.pagination .page-item.active .page-link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .blog-hero {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-hero .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero .lead {
        font-size: 1rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BOOKING PAGE STYLES
   ============================================ */
.booking-page {
    background: linear-gradient(135deg, var(--cream) 0%, var(--off-white) 100%);
    min-height: calc(100vh - 70px);
}

.booking-header {
    animation: fadeInUp 0.6s ease-out;
}

.badge.bg-primary-light {
    background-color: rgba(107, 124, 93, 0.15) !important;
    color: var(--primary-dark);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
}

.booking-page .card {
    border-radius: var(--radius-xl);
    animation: fadeInUp 0.8s ease-out;
}

.booking-page .form-control,
.booking-page .form-select {
    border: 2px solid var(--beige);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.25rem;
    transition: all var(--transition-base);
    font-size: 1rem;
    background-color: var(--white);
}

.booking-page .form-control:focus,
.booking-page .form-select:focus {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 0.25rem rgba(27, 58, 82, 0.15);
    outline: none;
}

.booking-page .form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
}

/* Form label icon styling to match sidebar */
.booking-page .form-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.booking-page .form-label i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(27, 58, 82, 0.2);
}

.booking-page .btn-primary {
    background-color: var(--primary-dark);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(27, 58, 82, 0.3);
}

.booking-page .btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27, 58, 82, 0.4);
}

/* Contact Info Styles */
.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--cream);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-item h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-item p {
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.6;
}

/* Office Hours Styles */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--cream);
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item.closed {
    opacity: 0.6;
}

.hours-item .day {
    font-weight: 600;
    color: var(--dark-gray);
}

.hours-item .time {
    color: var(--primary-dark);
    font-weight: 500;
}

/* Alert Styles for Booking Page */
.booking-page .alert {
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}

.booking-page .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border-left: 4px solid var(--success);
}

.booking-page .alert-info {
    background-color: rgba(27, 58, 82, 0.1);
    color: var(--dark-gray);
}

/* Responsive */
@media (max-width: 991px) {
    .contact-info-section {
        margin-top: var(--space-xl);
    }
}

/* Add these mobile-specific improvements for Services page */
@media (max-width: 768px) {
    .services-hero {
        background-attachment: scroll; /* Better mobile performance */
        padding: 100px 0; /* Reduced from 140px */
    }
    
    .services-hero h1 {
        font-size: 2.5rem; /* Reduced from 4rem */
    }
    
    .services-section {
        padding: 60px 0; /* Reduced from 100px */
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 30px; /* Reduced from 40px */
    }
    
    .section-title {
        font-size: 2rem; /* Better mobile scaling */
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 80px 0;
    }
    
    .services-hero h1 {
        font-size: 2rem; /* Even smaller for very small screens */
    }
    
    .hero-glass-badge {
        padding: 10px 24px; /* Slightly smaller */
        font-size: 0.85rem;
    }
    
    .service-glass-card {
        padding: 32px 24px; /* Reduced padding for mobile */
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .final-cta h2 {
        font-size: 2rem; /* Reduced from 3rem */
    }
}

/* ============================================
   BLOG POST DETAIL PAGE STYLES
   ============================================ */
.blog-post-detail {
    background-color: var(--off-white);
}

/* Featured Image Header */
.post-header-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.post-header-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
}

/* Post Header */
.post-header {
    padding-bottom: var(--space-lg);
}

.post-header .display-4 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--primary-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Post Meta Info */
.blog-post-detail .post-meta {
    flex-wrap: wrap;
    gap: var(--space-md) !important;
}

.blog-post-detail .post-meta > div {
    flex-shrink: 0;
}

.author-avatar {
    color: var(--primary-dark);
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.post-tags .badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
}

/* Post Content - Prose Styles */
.post-content.prose {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-gray);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.post-content.prose h1,
.post-content.prose h2,
.post-content.prose h3,
.post-content.prose h4,
.post-content.prose h5,
.post-content.prose h6 {
    color: var(--primary-dark);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.post-content.prose h2 {
    font-size: 1.75rem;
}

.post-content.prose h3 {
    font-size: 1.5rem;
}

.post-content.prose p {
    margin-bottom: var(--space-md);
}

.post-content.prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-lg) 0;
}

.post-content.prose ul,
.post-content.prose ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.post-content.prose li {
    margin-bottom: var(--space-xs);
}

.post-content.prose blockquote {
    border-left: 4px solid var(--primary-dark);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--gray);
    background-color: var(--cream);
    padding: var(--space-md);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.post-content.prose a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.post-content.prose a:hover {
    color: var(--accent);
}

.post-content.prose pre,
.post-content.prose code {
    background-color: var(--dark);
    color: var(--cream);
    border-radius: var(--radius);
    overflow-x: auto;
}

.post-content.prose pre {
    padding: var(--space-md);
    margin: var(--space-lg) 0;
}

.post-content.prose code {
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
}

.post-content.prose pre code {
    padding: 0;
    background: transparent;
}

/* Share Buttons */
.share-buttons {
    background-color: var(--cream) !important;
}

.share-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Related Posts */
.related-posts .card {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.related-posts .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-posts .card-img-top {
    height: 180px;
    object-fit: cover;
}

.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   BLOG POST DETAIL - MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .post-header-image {
        height: 300px;
    }
    
    .post-header .display-4 {
        font-size: 2rem;
    }
    
    .blog-post-detail .container {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }
}

@media (max-width: 768px) {
    .post-header-image {
        height: 220px;
    }
    
    .post-header .display-4 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .blog-post-detail .post-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: var(--space-sm) !important;
    }
    
    .blog-post-detail .post-meta > div {
        width: 100%;
    }
    
    .post-content.prose {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .post-content.prose h2 {
        font-size: 1.5rem;
    }
    
    .post-content.prose h3 {
        font-size: 1.25rem;
    }
    
    .share-buttons {
        padding: var(--space-md) !important;
    }
    
    .share-buttons .d-flex {
        flex-direction: column;
    }
    
    .share-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .related-posts .row {
        gap: var(--space-md);
    }
    
    .related-posts .col-md-6 {
        width: 100%;
    }
    
    .related-posts .card-img-top {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .post-header-image {
        height: 180px;
    }
    
    .post-header .display-4 {
        font-size: 1.5rem;
    }
    
    .blog-post-detail .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
    
    .post-header .badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .post-tags .badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
    }
    
    .post-content.prose {
        font-size: 0.95rem;
    }
    
    .post-content.prose blockquote {
        padding: var(--space-sm);
        margin: var(--space-md) 0;
    }
    
    .post-content.prose pre {
        padding: var(--space-sm);
        font-size: 0.85rem;
    }
    
    .share-buttons h5 {
        font-size: 1rem;
    }
    
    .related-posts h3 {
        font-size: 1.25rem;
    }
    
    .related-posts .card-title {
        font-size: 1rem;
    }
    
    .related-posts .card-text {
        font-size: 0.85rem;
    }
}

/* ABOUT PAGE HERO TEXT VISIBILITY */
.about-hero-content h1 {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5), 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.about-hero-content .lead {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
}

.about-hero-text-box {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* ============================================
   TEAM PAGE STYLES
   ============================================ */

/* Team Hero Section */
.team-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/1673470626.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: var(--space-3xl) 0;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(229, 208, 188, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(212, 165, 116, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.team-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-hero h1 {
    color: var(--white);
    margin-bottom: var(--space-md);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5), 2px 2px 0 rgba(0, 0, 0, 0.4);
}

.team-hero .lead {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.4);
}

.team-hero .hero-badge {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Team Sections */
.team-section {
    padding: var(--space-3xl) 0;
    background-color: var(--off-white);
}

.team-section-alt {
    background-color: var(--white);
}

/* Team Grid - Responsive Layout */
.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

@media (max-width: 767px) {
    .team-grid {
        gap: var(--space-lg);
    }
}

/* Team Card */
.team-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    width: 380px;
    max-width: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Team Image Container - CRITICAL FOR FIXING CROPPING */
.team-image {
    width: 100%;
    aspect-ratio: 4 / 5; /* Taller portrait ratio to perfectly frame headshots */
    overflow: hidden;
    background-color: var(--beige);
    position: relative;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

/* Team Member Image - KEY FIX FOR CROPPING ISSUE */
.team-member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Prioritize head/face visibility for all members */
    transition: transform var(--transition-slow);
}

.team-card:hover .team-member-img {
    transform: scale(1.05);
}

/* Team Placeholder (for members without photos) */
.team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--primary-dark);
    font-size: 5rem;
}

/* Team Info Section */
.team-info {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: var(--space-xs);
    font-weight: 700;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.team-credentials {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: var(--space-sm);
}

.team-bio {
    color: var(--dark);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* CTA Button in Team Hero */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 32px;
    background-color: var(--primary-dark);
    color: var(--white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

/* Mobile Responsive Adjustments */
@media (max-width: 991px) {
    .team-hero {
        min-height: 50vh;
        padding: var(--space-2xl) 0;
    }
    
    .team-section {
        padding: var(--space-2xl) 0;
    }
}

@media (max-width: 768px) {
    .team-hero {
        min-height: 40vh;
        padding: var(--space-xl) 0;
    }
    
    .team-hero h1 {
        font-size: 2rem;
    }
    
    .team-hero .lead {
        font-size: 1rem;
    }
    
    .team-section {
        padding: var(--space-xl) 0;
    }
    
    .team-info h3 {
        font-size: 1.35rem;
    }
    
    .team-info {
        padding: var(--space-md);
    }
}

@media (max-width: 480px) {
    .team-hero h1 {
        font-size: 1.75rem;
    }
    
    .team-grid {
        gap: var(--space-md);
    }
}

