/* =========================================================
   IDEAS RULE SOLICITORS — MASTER STYLESHEET
   Version: 2.3
   Includes:
     - Base / Reset / Utilities / Buttons
     - Transparent navbar + flashy dropdowns
     - Hero carousel — SPLIT layout (text LEFT, video RIGHT)
     - Page headers / Practice cards / Blog / People
     - Forms / Appointment booking / Back to top
     - Footer / Tabs / Alerts / Animations
     - Responsive + Print styles
   ========================================================= */

/* ---------------------------------------------------------
   1. ROOT VARIABLES
--------------------------------------------------------- */
:root {
    --brand-dark: #0d1b2a;
    --brand-navy: #1b263b;
    --brand-gold: #b99b6b;
    --brand-gold-light: #d4b88c;
    --brand-cream: #f8f5f0;
    --brand-muted: #6c7a8d;
    --brand-border: #e0dbd2;
    --brand-text: #1e1e1e;
    --brand-text-muted: #5a5a5a;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ---------------------------------------------------------
   2. BASE / RESET
--------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--brand-text);
    line-height: 1.7;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--brand-dark);
    margin-top: 0;
}

p { margin-bottom: 1rem; }

a { transition: var(--transition); }

img { max-width: 100%; height: auto; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--brand-cream); }
::-webkit-scrollbar-thumb { background: var(--brand-gold); }
::-webkit-scrollbar-thumb:hover { background: #a5885a; }

/* Selection */
::selection {
    background: var(--brand-gold);
    color: #fff;
}

/* ---------------------------------------------------------
   3. UTILITY CLASSES
--------------------------------------------------------- */
.bg-brand-dark   { background-color: var(--brand-dark) !important; }
.bg-brand-navy   { background-color: var(--brand-navy) !important; }
.bg-brand-cream  { background-color: var(--brand-cream) !important; }

.text-brand-gold  { color: var(--brand-gold) !important; }
.text-brand-navy  { color: var(--brand-navy) !important; }
.text-brand-muted { color: var(--brand-muted) !important; }

.section-pad    { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--brand-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--brand-dark);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.section-title-light { color: #fff; }

.divider-gold {
    width: 60px;
    height: 2px;
    background: var(--brand-gold);
    margin: 0 0 1.5rem 0;
}

.divider-gold-center {
    width: 60px;
    height: 2px;
    background: var(--brand-gold);
    margin: 0 auto 1.5rem auto;
}

/* ---------------------------------------------------------
   4. BUTTONS
--------------------------------------------------------- */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 2px;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-brand-gold {
    background-color: var(--brand-gold);
    border: 1px solid var(--brand-gold);
    color: #fff;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
}
.btn-brand-gold:hover,
.btn-brand-gold:focus {
    background-color: #a5885a;
    border-color: #a5885a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(185, 155, 107, 0.3);
}

.btn-outline-gold {
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    background: transparent;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
}
.btn-outline-gold:hover {
    background: var(--brand-gold);
    color: #fff;
}

.btn-outline-light-custom {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    background: transparent;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
}
.btn-outline-light-custom:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark-navy {
    background-color: var(--brand-navy);
    border: 1px solid var(--brand-navy);
    color: #fff;
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
}
.btn-dark-navy:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-sm { padding: 0.5rem 1.2rem !important; font-size: 0.8rem !important; }
.btn-lg { padding: 0.9rem 2.4rem !important; font-size: 1rem !important; }

/* ---------------------------------------------------------
   5. TOP BAR
--------------------------------------------------------- */
.top-bar {
    background-color: var(--brand-dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 0.55rem 0;
    letter-spacing: 0.3px;
    font-family: var(--font-body);
    transition: var(--transition);
}
.top-bar a {
    color: var(--brand-gold-light);
    text-decoration: none;
}
.top-bar a:hover { color: #fff; }
.top-bar-item { white-space: nowrap; }
.top-bar-sep { margin: 0 0.75rem; opacity: 0.4; }

/* ---------------------------------------------------------
   6. NAVBAR / HEADER (Transparent → Solid on scroll)
--------------------------------------------------------- */
.navbar {
    background-color: transparent;
    box-shadow: none;
    padding: 1.25rem 0;
    transition: background-color 0.4s ease,
                padding 0.4s ease,
                box-shadow 0.4s ease,
                backdrop-filter 0.4s ease;
    z-index: 1030;
    position: sticky;
    top: 0;
}

/* Solid state (added by JS on scroll) */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* On transparent state — dark links over hero */
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .navbar-brand .brand-text {
    color: #0d1b2a !important;
}
.navbar:not(.scrolled) .brand-text small {
    color: rgba(13, 27, 42, 0.65);
}
.navbar:not(.scrolled) .navbar-toggler {
    border-color: rgba(13, 27, 42, 0.4);
}
.navbar:not(.scrolled) .navbar-toggler-icon {
    filter: none;
}

/* Solid state — dark links */
.navbar.scrolled .nav-link {
    color: var(--brand-dark) !important;
}
.navbar.scrolled .brand-text small {
    color: var(--brand-muted);
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0;
}
.brand-logo {
    width: 100px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
    transition: var(--transition);
}
.navbar.scrolled .brand-logo {
    width: 90px;
    height: 45px;
}
.brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
    white-space: nowrap;
    transition: color 0.4s ease;
}
.brand-highlight {
    color: var(--brand-gold);
    transition: color 0.4s ease;
}
.brand-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-muted);
    font-weight: 400;
    margin-top: 2px;
    transition: color 0.4s ease;
}

/* Nav links */
.nav-link {
    color: var(--brand-dark) !important;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.2rem;
    padding: 0.6rem 0.85rem !important;
    position: relative;
    transition: color 0.3s ease;
}

/* Flashy underline animation on hover */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light));
    transition: width 0.35s ease, left 0.35s ease;
    border-radius: 2px;
}
.nav-link:hover::before {
    width: 70%;
    left: 15%;
}
.nav-link:hover {
    color: var(--brand-gold) !important;
}
.nav-link.active {
    color: var(--brand-gold) !important;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-light));
    border-radius: 2px;
}

/* Dropdown toggle caret */
.nav-link.dropdown-toggle::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    border: none;
    margin-left: 0.4rem;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    vertical-align: middle;
}
.nav-item.dropdown.show .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* ---------------------------------------------------------
   CUSTOM DROPDOWN MENU
--------------------------------------------------------- */
.dropdown-menu-custom {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 0.75rem;
    margin-top: 0.75rem !important;
    min-width: 340px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: dropdownFadeIn 0.35s ease forwards;
    border-top: 3px solid var(--brand-gold);
}

/* Small caret arrow above dropdown */
.dropdown-menu-custom::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 2rem;
    width: 16px;
    height: 16px;
    background: var(--brand-gold);
    transform: rotate(45deg);
    border-radius: 2px;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-wide {
    min-width: 400px;
}

/* Dropdown items with icon + text layout */
.dropdown-menu-custom .dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.7rem 0.85rem;
    border-radius: 3px;
    transition: background 0.25s ease, transform 0.25s ease;
    color: var(--brand-dark);
    font-family: var(--font-body);
    white-space: normal;
    line-height: 1.4;
}

.dropdown-menu-custom .dropdown-item:hover {
    background: linear-gradient(90deg, var(--brand-cream), rgba(185,155,107,0.08));
    transform: translateX(4px);
    color: var(--brand-dark);
}

.dropdown-menu-custom .dropdown-item.active {
    background: linear-gradient(90deg, rgba(185,155,107,0.15), transparent);
    color: var(--brand-dark);
}

.dropdown-menu-custom .dd-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(185, 155, 107, 0.12);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-menu-custom .dropdown-item:hover .dd-icon {
    background: var(--brand-gold);
    color: #fff;
    transform: scale(1.05) rotate(-3deg);
}

.dropdown-menu-custom .dd-body {
    display: flex;
    flex-direction: column;
}
.dropdown-menu-custom .dd-body strong {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark);
    letter-spacing: 0.2px;
}
.dropdown-menu-custom .dd-body small {
    font-size: 0.75rem;
    color: var(--brand-muted);
    margin-top: 2px;
    line-height: 1.4;
}

/* Nav CTA */
.nav-cta {
    font-family: var(--font-body);
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff !important;
    padding: 0.55rem 1.1rem !important;
    position: relative;
    overflow: hidden;
}
.nav-cta::after {
    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.6s ease;
}
.nav-cta:hover::after {
    left: 100%;
}

/* ---------------------------------------------------------
   7. HERO / CAROUSEL — SPLIT LAYOUT
      LEFT  : dark panel with text
      RIGHT : video (with native controls)
--------------------------------------------------------- */
.hero-carousel .carousel-item {
    height: 90vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
    background: var(--brand-dark);
}

/* -------- VIDEO: right half only -------- */
.hero-carousel video {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 55%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

/* Native controls above everything */
.hero-carousel video::-webkit-media-controls {
    z-index: 4;
}
.hero-carousel video[controls] {
    pointer-events: auto;
}
.hero-carousel video::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0,0,0,0.6));
}

/* YouTube iframe — same placement on the right */
.hero-carousel .hero-yt-iframe {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: 55%;
    height: 100%;
    border: 0;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

/* -------- LEFT PANEL (overlay) -------- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    width: 45%;
    background: linear-gradient(135deg,
                rgba(13, 27, 42, 0.98) 0%,
                rgba(27, 38, 59, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    pointer-events: none;
}

/* Soft fade on the right edge of the dark panel */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: -60px;
    bottom: 0;
    width: 60px;
    background: linear-gradient(90deg,
                rgba(13, 27, 42, 0.95) 0%,
                rgba(13, 27, 42, 0) 100%);
    pointer-events: none;
}

/* -------- CONTENT inside left panel -------- */
.hero-content {
    max-width: 100%;
    padding: 3rem 2rem 3rem 4rem;
    border-left: 4px solid var(--brand-gold);
    border-right: none;
    text-align: left;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero-content .badge-custom {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brand-gold-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-content .btn-group-custom {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Indicators */
.carousel-indicators-custom {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
    pointer-events: auto;
}
.carousel-indicators-custom button {
    width: 40px;
    height: 3px;
    border: none;
    background: rgba(255,255,255,0.3);
    padding: 0;
    transition: var(--transition);
    cursor: pointer;
}
.carousel-indicators-custom button.active {
    background: var(--brand-gold);
    width: 60px;
}

/* Prev/Next arrows */
.carousel-control-prev,
.carousel-control-next {
    opacity: 0.6;
    width: 5%;
    z-index: 5;
    pointer-events: auto;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { opacity: 1; }

/* ---------------------------------------------------------
   8. PAGE HEADER (inner pages)
--------------------------------------------------------- */
.page-header {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%);
    padding: 5rem 0 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(185,155,107,0.2);
    border-radius: 50%;
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    position: relative;
    z-index: 1;
}

.breadcrumb-custom {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}
.breadcrumb-custom a {
    color: var(--brand-gold-light);
    text-decoration: none;
}
.breadcrumb-custom a:hover { color: #fff; }

/* ---------------------------------------------------------
   9. PRACTICE CARDS
--------------------------------------------------------- */
.practice-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    border-top: 3px solid var(--brand-gold);
    padding: 2.5rem 2rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.practice-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-top-color: var(--brand-dark);
}
.practice-card .practice-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--brand-cream);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.practice-card h4 {
    font-size: 1.3rem;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}
.practice-card .practice-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}
.practice-card p {
    font-size: 0.95rem;
    color: var(--brand-text-muted);
}

/* ---------------------------------------------------------
   10. LISTS
   .list-arrow  → uses a "▸" arrow
   .list-dot    → uses a "•" dot
--------------------------------------------------------- */
.list-arrow {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.list-arrow li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--brand-text-muted);
}
.list-arrow li::before {
    content: "\25B8"; /* ▸ */
    position: absolute;
    left: 0;
    color: var(--brand-gold);
    font-weight: 700;
}

.list-dot {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.list-dot li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--brand-text-muted);
}
.list-dot li::before {
    content: "\2022"; /* • */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-gold);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   11. BLOG / INSIGHTS
--------------------------------------------------------- */
.blog-card {
    border: 1px solid var(--brand-border);
    background: #fff;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
    transform: translateY(-3px);
}
.blog-card .blog-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
}
.blog-card .blog-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card .blog-cat {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.blog-card h5 {
    font-size: 1.15rem;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.blog-card h5 a {
    color: var(--brand-dark);
    text-decoration: none;
}
.blog-card h5 a:hover { color: var(--brand-gold); }
.blog-card p {
    font-size: 0.9rem;
    color: var(--brand-text-muted);
    flex: 1;
}
.blog-card .read-more {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-gold);
    text-decoration: none;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.blog-card .read-more:hover { color: var(--brand-dark); }

.blog-meta {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--brand-muted);
    margin-bottom: 0.5rem;
}

/* ---------------------------------------------------------
   12. PEOPLE CARD
--------------------------------------------------------- */
.people-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    padding: 2.5rem;
    height: 100%;
}
.people-card .avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------
   13. CONTACT INFO
--------------------------------------------------------- */
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-info-item .icon-box {
    width: 44px;
    height: 44px;
    background: rgba(185,155,107,0.15);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-info-item h6 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--brand-muted);
    margin-bottom: 0.25rem;
    font-weight: 600;
}
.contact-info-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ---------------------------------------------------------
   14. FORMS
--------------------------------------------------------- */
.form-control-custom {
    border: 1px solid var(--brand-border);
    border-radius: 2px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: var(--transition);
    width: 100%;
    background: #fff;
    color: var(--brand-text);
}
.form-control-custom:focus {
    border-color: var(--brand-gold);
    box-shadow: 0 0 0 0.2rem rgba(185,155,107,0.15);
    outline: none;
}
.form-label-custom {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-dark);
    margin-bottom: 0.4rem;
    display: block;
}

select.form-control-custom {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c7a8d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* ---------------------------------------------------------
   15. APPOINTMENT / BOOKING
--------------------------------------------------------- */
.booking-step {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}
.booking-step .step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-cream);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}
.booking-step .step-number.active {
    background: var(--brand-gold);
    color: #fff;
}
.booking-step .step-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.time-slot {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid var(--brand-border);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    margin: 0.25rem;
    background: #fff;
    color: var(--brand-dark);
    user-select: none;
}
.time-slot:hover {
    border-color: var(--brand-gold);
    background: var(--brand-cream);
}
.time-slot.selected {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #fff;
}

/* ---------------------------------------------------------
   16. FOOTER
--------------------------------------------------------- */
.footer {
    background-color: var(--brand-dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    padding: 4rem 0 2rem;
    font-family: var(--font-body);
}

.footer h5,
.footer h6 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo {
    width: 100px;
    height: 50px;
    object-fit: contain;
    background: rgba(255,255,255,0.05);
    padding: 4px;
    border-radius: 2px;
}

.footer-tagline {
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer a:hover { color: var(--brand-gold); }

.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links li a { font-size: 0.9rem; }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}
.footer-social a:hover {
    background: var(--brand-gold);
    border-color: var(--brand-gold);
    color: #fff;
    transform: translateY(-2px);
}

.footer .disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 3rem;
    line-height: 1.6;
}
.footer .disclaimer strong { color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------
   17. TABS
--------------------------------------------------------- */
.nav-tabs-custom {
    border-bottom: 1px solid var(--brand-border);
    gap: 0.5rem;
}
.nav-tabs-custom .nav-link {
    border: none;
    color: var(--brand-muted) !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0;
}
.nav-tabs-custom .nav-link.active {
    color: var(--brand-dark) !important;
    border-bottom: 2px solid var(--brand-gold);
    background: transparent;
}
.nav-tabs-custom .nav-link.active::after { display: none; }

/* ---------------------------------------------------------
   18. ALERTS
--------------------------------------------------------- */
.alert {
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: none;
    padding: 1rem 1.25rem;
}
.alert-danger {
    background: #fbeae9;
    color: #8b2a20;
    border-left: 4px solid #c0392b;
}
.alert-success {
    background: #eaf5ec;
    color: #1e5631;
    border-left: 4px solid #2e7d32;
}
.alert-info {
    background: #eaf2fa;
    color: #1c4a75;
    border-left: 4px solid #2c7ab8;
}

/* ---------------------------------------------------------
   19. BACK TO TOP BUTTON
--------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-gold);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(185, 155, 107, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 1050;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--brand-dark);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 30px rgba(13, 27, 42, 0.4);
}

/* ---------------------------------------------------------
   20. ANIMATIONS
--------------------------------------------------------- */
.fade-in {
    animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------
   21. RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 991px) {

    /* Mobile navbar — always solid */
    .navbar {
        background: #fff;
        padding: 0.75rem 0;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .navbar:not(.scrolled) .nav-link,
    .navbar:not(.scrolled) .brand-text,
    .navbar:not(.scrolled) .brand-text small {
        color: var(--brand-dark) !important;
    }
    .navbar:not(.scrolled) .navbar-toggler-icon { filter: none; }
    .navbar:not(.scrolled) .navbar-toggler {
        border-color: var(--brand-border);
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 4px;
        border: 1px solid var(--brand-border);
        max-height: 75vh;
        overflow-y: auto;
    }

    .nav-link {
        padding: 0.75rem 0 !important;
        margin: 0;
        border-bottom: 1px solid var(--brand-cream);
    }
    .nav-link::before,
    .nav-link.active::after { display: none; }

    /* Mobile dropdown */
    .dropdown-menu-custom {
        position: static !important;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--brand-gold);
        border-radius: 0;
        margin: 0.5rem 0 0.5rem 0.5rem !important;
        padding: 0.5rem;
        background: var(--brand-cream);
        transform: none;
        animation: none;
        opacity: 1;
        min-width: auto;
    }
    .dropdown-menu-custom::before { display: none; }
    .dropdown-menu-custom .dropdown-item { padding: 0.6rem 0.5rem; }
    .dropdown-menu-custom .dd-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .nav-cta {
        margin-top: 1rem;
        display: block;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    /* ===== HERO — stack on tablet & mobile ===== */
    .hero-carousel .carousel-item {
        height: auto;
        min-height: 0;
    }
    .hero-carousel video,
    .hero-carousel .hero-yt-iframe {
        position: relative;
        width: 100%;
        height: 50vh;
        min-height: 320px;
        object-fit: cover;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
    }
    .hero-overlay {
        position: relative;
        width: 100%;
        background: var(--brand-dark);
        padding: 3rem 0;
        justify-content: flex-start;
    }
    .hero-overlay::after { display: none; }

    .hero-content {
        padding: 0 1.5rem;
        margin: 0;
        border-left: 4px solid var(--brand-gold);
        border-right: none;
        max-width: 100%;
    }
    .hero-content h1 { font-size: 2.2rem; }

    .section-title { font-size: 1.9rem; }
    .brand-text { font-size: 1.1rem; }
    .page-header h1 { font-size: 2.2rem; }
}

@media (max-width: 767px) {
    .hero-content { padding: 0 1rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p  { font-size: 1rem; }
    .hero-carousel video,
    .hero-carousel .hero-yt-iframe {
        height: 40vh;
        min-height: 260px;
    }
    .section-pad { padding: 3rem 0; }
    .page-header { padding: 3.5rem 0 2rem; }
    .page-header h1 { font-size: 1.8rem; }
    .brand-text { display: none !important; }
    .brand-logo { width: 90px; height: 45px; }
    .section-title { font-size: 1.6rem; }
    .footer { padding: 3rem 0 1.5rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.5rem; }
    .hero-content .btn-group-custom .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* ---------------------------------------------------------
   22. PRINT
--------------------------------------------------------- */
@media print {
    .top-bar,
    .navbar,
    .footer,
    .btn,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators-custom,
    .back-to-top { display: none !important; }

    body { font-size: 12pt; }
    .section-pad { padding: 1rem 0; }
}
}