/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Premium Cream & Lime Green earthy luxury */
    --bg-primary: #FAF6EE;      /* Warm Premium Cream background */
    --bg-dark: #738227;         /* Lime Green (from Velvet 09) */
    --bg-card-light: #F3ECE0;   /* Cream Card BG */
    --bg-card-dark: #5D6A1E;    /* Darker Lime Green Card BG */
    --sunflower-yellow: #F9B306; /* Sunflower Yellow (from Velvet 04) */
    
    --color-primary: #707070;    /* Charcoal Black */
    --color-primary-light: #858585; /* Lighter Charcoal Black */
    --color-secondary: #FAF6EE;  /* Cream for contrast text */
    --color-accent: #C5A880;     /* Antique Gold / Brass */
    
    --text-dark: #121315;       /* Charcoal Black - restored readability */
    --text-light: #FAF6EE;      /* Cream text on green */
    --text-muted-dark: #5D5D61;  /* Slate Gray - restored readability */
    --text-muted-light: #D1D6CD; /* Muted light green-gray on dark bg */
    
    --border-light: rgba(112, 112, 112, 0.15); /* Translucent Charcoal Black border */
    --border-dark: rgba(250, 246, 238, 0.15);   /* Translucent Cream border */
    
    /* Typography */
    --font-serif: "Montserrat", sans-serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: var(--font-serif);
    
    /* Animations & Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --header-height: 90px;
    --header-height-scrolled: 70px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height-scrolled);
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, select, input {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

section {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted-light);
}

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */
.section-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.transformation .section-subtitle,
.portfolio .section-subtitle {
    color: var(--color-accent);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-desc {
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 60px auto;
    color: var(--text-muted-dark);
}

.dark-bg .section-desc {
    color: var(--text-muted-light);
}


/* Utilities */
.mt-4 { margin-top: 32px !important; }
.mt-5 { margin-top: 48px !important; }
.mb-4 { margin-bottom: 32px !important; }
.mb-5 { margin-bottom: 48px !important; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--bg-primary); /* Cream text */
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(18, 19, 21, 0.15);
}

.btn-primary::before {
    background-color: var(--color-accent); /* Gold sliding background fill */
}

.btn-primary:hover {
    color: #121315 !important;
    border-color: var(--color-accent);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.25);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-primary); /* charcoal black text */
    border: 1px solid var(--color-accent);
}

.btn-secondary::before {
    background-color: var(--color-primary); /* Charcoal Black sliding background fill */
}

.btn-secondary:hover {
    color: var(--bg-primary) !important; /* Cream text */
    border-color: var(--color-primary);
    box-shadow: 0 8px 25px rgba(18, 19, 21, 0.15);
}

.btn-link {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}

.btn-link:hover {
    border-color: var(--color-accent);
    padding-left: 5px;
}

/* ==========================================================================
   LAYOUTS (GRID/FLEX)
   ========================================================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.grid-4 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(233, 240, 242, 0.95); /* Light slate-grey-blue translucent */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(28, 83, 96, 0.1);
    transition: var(--transition-smooth);
}

.header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(233, 240, 242, 0.98);
    box-shadow: 0 10px 30px rgba(28, 83, 96, 0.1);
    border-bottom-color: rgba(28, 83, 96, 0.15);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
    border-bottom: 2px solid var(--sunflower-yellow);
    padding-bottom: 4px;
    width: fit-content;
    white-space: nowrap;
}

.logo-main {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.15em;
    color: #1C5360 !important; /* Updated slate-teal logo color */
    line-height: 1;
}

.logo-sub {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.15em;
    color: #1C5360 !important; /* Updated slate-teal logo color */
    line-height: 1;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1C5360; /* Dark slate-teal color for links */
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--sunflower-yellow);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    background-color: #1C5360; /* Dark slate-teal background */
    color: #ffffff; /* White text */
    border-radius: 0; /* Square rectangle button */
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background-color: #133C45; /* Darker slate-teal on hover */
    color: #ffffff;
    transform: translateY(-1px);
}

/* Image Lazy Loading Animation */
img.lazy-load {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

img.lazy-load.loaded {
    opacity: 1;
    filter: blur(0);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    background-color: rgba(250, 246, 238, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 168, 128, 0.25);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1200;
    box-shadow: 0 12px 40px rgba(18, 19, 21, 0.1);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(250, 246, 238, 0.97);
}

/* Invisible bridge to prevent gap hover loss */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
}

.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.active > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--text-dark);
    transition: all 0.25s ease;
    position: relative;
}

.dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--color-accent);
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.dropdown-link:hover {
    background-color: rgba(197, 168, 128, 0.1);
    color: var(--color-primary);
    padding-left: 28px;
    padding-right: 20px;
}

.dropdown-link:hover::before {
    transform: scaleY(1);
}

.dropdown-link span {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1100;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 95vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* Background image style placeholder - actual image to load progressively */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/res_living_open.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    transform: scale(1.05);
    animation: zoomOutHero 10s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 800px;
}

.hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 24px;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 300;
    color: rgba(251, 247, 236, 0.85);
    margin-bottom: 40px;
    line-height: 1.65;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

.scroll-arrow {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    animation: bounceArrow 2s infinite;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
    background-color: var(--bg-primary);
}

.about-text p {
    font-size: 16px;
    color: var(--text-muted-dark);
    margin-bottom: 24px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-sans);
    font-size: clamp(36px, 4vw, 48px);
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted-dark);
    font-weight: 500;
}

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

.about-image-card {
    position: relative;
    width: 100%;
}

.main-about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    box-shadow: 20px 20px 0 var(--border-light);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.badge-num {
    font-family: var(--font-sans);
    font-size: 40px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* ==========================================================================
   BEFORE/AFTER SLIDER
   ========================================================================== */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 560px;
    margin: 40px auto 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    user-select: none;
    -webkit-user-select: none;
}

.slider-image-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Establishes lower stacking context to hide label-before when covered */
}

.slider-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Establishes higher stacking context */
}

.slider-image-before img, .slider-image-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Clipping layout for the top 'after' image */
.slider-image-after {
    clip-path: inset(0 0 0 50%); /* Dynamic clip path updated by JS slider position */
}

.label {
    position: absolute;
    bottom: 24px;
    background-color: rgba(8, 8, 8, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-light);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}

.label-before {
    left: 24px;
}

.label-after {
    right: 24px;
}

/* Slider Handle styling */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* Synchronized with the clip-path by JS */
    width: 2px;
    background-color: var(--color-accent);
    z-index: 10;
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none; /* Let pointer events pass to input element */
    transform: translateX(-50%);
}

.handle-line {
    width: 2px;
    height: 50%;
    background-color: var(--color-accent);
}

.handle-button {
    width: 48px;
    height: 48px;
    background-color: var(--color-accent);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    margin: 8px 0;
    border: 3px solid var(--bg-dark);
}

.handle-button span {
    margin: 0 2px;
}

/* Overlaying transparent Range Input for cross-browser responsive dragging */
.slider-range-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.service-card {
    background-color: var(--bg-card-light);
    padding: 60px 40px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(197, 168, 128, 0.08);
    border-color: var(--color-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 168, 128, 0.06);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background-color: var(--color-primary);
    color: #121315; /* Contrast dark text */
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

.service-link {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
    display: inline-block;
    margin-top: 24px;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.service-link:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
    padding-left: 5px;
}

/* ==========================================================================
   PORTFOLIO FILTER SECTION
   ========================================================================== */
.portfolio-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    gap: 24px;
}

.filter-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(250, 246, 238, 0.1);
    padding: 6px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-wrap: wrap;
    margin: 0 auto;
}

.filter-btn {
    padding: 10px 28px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    border: none;
    border-radius: 30px;
    color: rgba(250, 246, 238, 0.6);
    cursor: pointer;
    transition: var(--transition-fast);
    background-color: transparent;
}

.filter-btn:hover {
    color: var(--text-light);
}

.filter-btn.active {
    color: #121315; /* dark text on active gold tab */
    background-color: var(--color-accent); /* Golden active background */
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    display: none;
    opacity: 0;
    transform: scale(0.95) translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item.show {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.portfolio-image-box {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.9) 10%, rgba(8, 8, 8, 0.2) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-image-box:hover img {
    transform: scale(1.08);
}

.portfolio-image-box:hover .portfolio-hover {
    opacity: 1;
}

.portfolio-category {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.portfolio-item-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-image-box:hover .portfolio-item-title {
    transform: translateY(0);
}

/* ==========================================================================
   WORKFLOW SECTION (3-STEP)
   ========================================================================== */
.workflow {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.step-card {
    background-color: var(--bg-card-light);
    border-left: 2px solid var(--color-primary);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--color-primary);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(197, 168, 128, 0.05);
    border-color: var(--color-primary);
}

.step-badge {
    font-family: var(--font-serif);
    font-size: 48px;
    color: rgba(197, 168, 128, 0.15);
    font-weight: 500;
    line-height: 1;
}

.step-card:hover .step-badge {
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.step-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.step-content p {
    font-size: 15px;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

/* ==========================================================================
   REDESIGNED SPLIT GET A QUOTE SECTION
   ========================================================================== */
.contact-strip-section {
    background-color: var(--bg-card-light); /* Warm Cream Card BG */
    padding: 120px 0;
}

.quote-split-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background-color: var(--bg-primary); /* Cream card bg */
    border: 1px solid rgba(18, 19, 21, 0.08); /* Clean dark-tint border for light bg */
    box-shadow: 0 30px 60px rgba(18, 19, 21, 0.08); /* Subtle premium soft shadow */
    position: relative;
    overflow: hidden;
}

.quote-info-panel {
    background-color: var(--bg-primary); /* Cream background */
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(18, 19, 21, 0.1);
}

.quote-info-panel h2 {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.25;
    font-weight: 400;
    color: var(--text-dark); /* High-contrast dark */
    margin-bottom: 24px;
}

.quote-info-desc {
    color: var(--text-muted); /* Legible cream-gray */
    font-size: 15.5px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.quote-process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.quote-step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.quote-step-number {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background-color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(18, 19, 21, 0.15);
}

.quote-step-text h4 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark); /* High-contrast dark */
    margin-bottom: 4px;
}

.quote-step-text p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

.quote-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid rgba(18, 19, 21, 0.1);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-accent);
    font-size: 14.5px;
}

.contact-detail-item svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.quote-form-panel {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-primary); /* Cream card bg */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.quote-form-panel h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--text-dark); /* High-contrast dark */
    margin-bottom: 8px;
}

.quote-form-panel p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.quote-interactive-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group-floating {
    position: relative;
    width: 100%;
}

.form-group-floating input,
.form-group-floating select,
.form-group-floating textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #FFFFFF;
    border: 1px solid rgba(18, 19, 21, 0.15);
    color: var(--text-dark); /* Dark text inside input fields */
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-group-floating textarea {
    resize: vertical;
}

.form-group-floating select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5A880' 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 20px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group-floating select option {
    background-color: var(--bg-card-dark); /* Dropdown options match panel */
    color: #FAF6EE;
}

.form-group-floating label {
    display: block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.required-star {
    color: #d93025;
    margin-left: 3px;
    font-weight: bold;
}

.form-group-floating input::placeholder,
.form-group-floating textarea::placeholder {
    color: rgba(18, 19, 21, 0.45);
}

.form-group-floating input:focus,
.form-group-floating select:focus,
.form-group-floating textarea:focus {
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.08);
    outline: none;
}
.form-group-floating input:focus,
.form-group-floating select:focus,
.form-group-floating textarea:focus {
    box-shadow: 0 0 10px rgba(197, 168, 128, 0.1);
}

.form-group-floating.error input,
.form-group-floating.error select,
.form-group-floating.error textarea {
    border-color: #e03939;
}

.error-msg {
    position: absolute;
    bottom: -22px;
    left: 4px;
    font-size: 11px;
    color: #e03939;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.form-group-floating.error .error-msg {
    opacity: 1;
}

.btn-submit {
    padding: 16px 40px;
    height: 52px;
    position: relative;
    cursor: pointer;
}

/* Spinner indicator */
.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid var(--text-dark);
    border-radius: 50%;
    position: absolute;
    animation: rotateSpinner 0.8s linear infinite;
}

.hidden {
    display: none !important;
}

/* Form Success screen */
.form-feedback {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 0.5s ease;
}

.feedback-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feedback-icon {
    width: 60px;
    height: 60px;
    color: var(--color-primary);
    background-color: rgba(197, 168, 128, 0.1);
    padding: 12px;
    border-radius: 50%;
}

.feedback-success h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-secondary);
}

.feedback-success p {
    color: var(--text-muted-dark);
    font-size: 15px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid var(--border-dark);
    padding: 40px 0 10px 0;
}

.brand-col .logo {
    margin-bottom: 24px;
}

.brand-col .logo-main {
    color: var(--text-light) !important;
}

.brand-col .logo-sub {
    color: var(--text-light) !important;
}

.footer-desc {
    color: var(--text-muted-light);
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 24px;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted-light);
}

.footer-col ul li a:hover {
    color: var(--text-light);
    padding-left: 4px;
}

.footer .grid-4 {
    grid-template-columns: 1.1fr 0.65fr 0.65fr 3.3fr;
    gap: 30px;
}

.contact-info {
    font-size: 13px;
    color: var(--text-muted-light);
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 270px;
    flex-shrink: 0;
}

a[href^="tel:"],
.contact-info a,
.contact-detail-item span {
    white-space: nowrap;
    display: inline-block;
}

.contact-info a:hover {
    color: var(--text-light);
}

.footer-contact-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
}

.footer-map-wrapper {
    width: 340px;
    height: 195px;
    flex-shrink: 0;
    border: 1px solid var(--border-dark);
    padding: 3px;
    background-color: var(--text-light);
    transition: var(--transition-fast);
}

@media (max-width: 1250px) {
    .footer-contact-content {
        flex-direction: column;
        gap: 16px;
    }
    .footer-map-wrapper {
        width: 100%;
        max-width: 340px;
    }
}

@media (max-width: 992px) {
    .footer .grid-4 {
        grid-template-columns: 1fr;
    }
    .footer-contact-content {
        flex-direction: column;
        gap: 16px;
    }
    .footer-map-wrapper {
        width: 100%;
        max-width: 360px;
        height: 190px;
    }
}

.footer-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.1) contrast(1.05); /* Normal light map theme (white layout) */
}

.footer-map-wrapper:hover {
    border-color: var(--color-accent);
}

.footer-map-wrapper:hover iframe {
    filter: none; /* Full colored normal light map on hover */
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-dark);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(251, 247, 236, 0.4);
    letter-spacing: 0.02em;
}

/* ==========================================================================
   PERSISTENT WHATSAPP FLOAT BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-fast);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #25d366;
    border-radius: 50%;
    opacity: 0;
    animation: rippleWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: var(--bg-dark);
    color: #FFFFFF; /* Explicit white text */
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
}

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

/* ==========================================================================
   SCROLL & ENTRY ANIMATIONS
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px) rotateX(10deg);
    transform-origin: top center;
    animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle { animation-delay: 0.15s; }
.hero-title { animation-delay: 0.3s; }
.hero-description { animation-delay: 0.45s; }
.hero-actions { animation-delay: 0.6s; }

/* Intersection Observer animations */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Mask Reveal (Clip-Path Slide) */
.reveal-mask {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-mask.active {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

/* Premium Staggered Grids */
.reveal-stagger-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger-item.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger-item:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger-item:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger-item:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger-item:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger-item:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger-item:nth-child(6) { transition-delay: 0.55s; }

.reveal-up.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes zoomOutHero {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceArrow {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-8px) rotate(45deg); }
    60% { transform: translateY(-4px) rotate(45deg); }
}

@keyframes rippleWhatsApp {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rotateSpinner {
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
/* Compact Desktop Navigation for Small Displays / MacBook Air */
@media (min-width: 901px) and (max-width: 1200px) {
    .header-container {
        padding: 0 20px;
    }
    .logo {
        gap: 6px;
    }
    .logo-main, .logo-sub {
        font-size: 19px;
    }
    .nav-menu ul {
        gap: 18px;
    }
    .nav-link {
        font-size: 13px;
    }
    .btn-nav {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-height: 80px;
        --header-height-scrolled: 65px;
    }
    .container {
        padding: 0 30px;
    }
    .section-padding {
        padding: 90px 0;
    }
    .grid-2 {
        gap: 40px;
    }
    .grid-3 {
        gap: 30px;
    }
    .grid-4 {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .main-about-img {
        height: 400px;
    }
    .slider-container {
        height: 450px;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .quote-split-container {
        grid-template-columns: 1fr;
    }
    .quote-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 50px 40px;
    }
    .quote-form-panel {
        padding: 50px 40px;
    }

    /* Mobile Navigation Drawer */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        z-index: 1050;
        transition: var(--transition-smooth);
        padding: 120px 40px 40px 40px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 18px;
    }

    /* Mobile Dropdown Accordion */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }

    .nav-dropdown.active > .dropdown-menu {
        max-height: 300px;
        padding: 10px 0 0 0;
        transform: none;
    }

    .nav-dropdown:hover > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        padding: 0;
    }

    .nav-dropdown:hover.active > .dropdown-menu {
        max-height: 300px;
        padding: 10px 0 0 0;
    }

    .dropdown-link {
        padding: 8px 16px;
        font-size: 14px;
        color: var(--text-muted);
        border-left: 2px solid rgba(197, 168, 128, 0.3);
    }

    .dropdown-link:hover {
        padding-left: 20px;
        padding-right: 12px;
        color: var(--text-dark);
    }

    .dropdown-link span {
        display: none;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image-wrapper {
        padding-left: 0;
        margin-top: 40px;
    }
    .main-about-img {
        box-shadow: none;
    }
    .experience-badge {
        padding: 20px;
        bottom: -20px;
        left: 20px;
    }
    .slider-container {
        height: 350px;
    }
    .label {
        font-size: 11px;
        padding: 6px 12px;
        bottom: 16px;
    }
    .label-before { left: 16px; }
    .label-after { right: 16px; }
    
    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .quote-info-panel, .quote-form-panel {
        padding: 40px 30px;
    }
}

/* ==========================================================================
   SERVICES PAGE STYLING
   ========================================================================== */
.services-hero {
    position: relative;
    background-color: var(--color-primary);
    padding: 200px 0 120px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 19, 21, 0.75), rgba(18, 19, 21, 0.75));
    z-index: -1;
}

.services-hero .hero-content {
    margin: 0 auto;
    text-align: center;
}

.services-hero .hero-content {
    margin: 0 auto;
}

.services-hero .section-subtitle {
    color: var(--color-accent);
}

.services-hero .page-title {
    color: var(--text-light);
    margin-top: 10px;
    font-size: clamp(40px, 6vw, 64px);
}

.services-hero .section-desc {
    color: var(--text-muted-light);
}

/* Background image assignments - Matched to Section Features */
.services-page-hero {
    background-image: url('assets/res_living_lounge.jpg');
}
.residential-page-hero {
    background-image: url('assets/res_living_open.jpg');
}
.commercial-page-hero {
    background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1600&q=80');
}
.institutional-page-hero {
    background-image: url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da?auto=format&fit=crop&w=1600&q=80');
}
.consultation-page-hero {
    background-image: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1600&q=80');
}
.blog-page-hero {
    background-image: url('assets/res_bedroom.jpg');
}
.contact-page-hero {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1600&q=80');
}
.portfolio-page-hero {
    background-image: url('assets/res_living_open.jpg');
}

.service-detail-section {
    border-bottom: 1px solid var(--border-light);
}

.service-detail-section.dark-bg {
    border-bottom: 1px solid var(--border-dark);
}

.service-num-badge {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    background-color: rgba(197, 168, 128, 0.08); /* Updated to Gold */
    padding: 8px 16px;
    display: inline-block;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.service-num-badge.badge-accent {
    color: var(--color-accent);
    background-color: rgba(197, 168, 128, 0.1);
}

.service-detail-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 8px;
}

.service-tagline {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.service-tagline.text-muted {
    color: var(--color-accent) !important;
}

.service-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--text-muted-dark);
}

.service-includes {
    margin-bottom: 30px;
}

.service-includes h3 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.includes-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.includes-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    color: var(--text-muted-dark);
}

.includes-list.list-light li {
    color: var(--text-muted-light);
}

.includes-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.includes-list.list-light li::before {
    color: var(--color-accent);
}

.service-ideal {
    font-size: 15px;
    margin-bottom: 40px;
    padding: 16px 24px;
    background-color: rgba(197, 168, 128, 0.04); /* Updated to Gold */
    border-left: 3px solid var(--color-primary);
}

.dark-bg .service-ideal {
    background-color: rgba(255, 255, 255, 0.02); /* Updated to Translucent White */
    border-left-color: var(--color-accent);
}

.service-ideal strong {
    color: var(--text-dark);
    margin-right: 8px;
}

.dark-bg .service-ideal strong {
    color: var(--text-dark); /* Keep light text since dark-bg holds light text */
}

.service-ideal span {
    color: var(--text-muted-dark);
}

.dark-bg .service-ideal span {
    color: var(--text-muted-dark);
}

.service-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .includes-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-choose-us {
    background-color: var(--color-primary);
    border-top: 1px solid var(--border-dark);
    color: var(--text-light);
}

.why-choose-us .section-subtitle {
    color: var(--color-accent);
}

.why-choose-us .section-title {
    color: var(--text-light);
}

.why-choose-desc {
    font-size: 16px;
    color: rgba(251, 247, 236, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
}

.why-choose-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border: 1px solid var(--border-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-choose-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(251, 247, 236, 0.1);
}

.why-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.why-num {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background-color: rgba(197, 168, 128, 0.15);
    padding: 6px 12px;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 2px;
}

.why-content h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 8px;
}

.why-content p {
    font-size: 15px;
    color: rgba(251, 247, 236, 0.8);
    line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding-top: 80px;
    padding-bottom: 60px;
}

.testimonials-grid {
    margin-top: 40px;
}

#userSubmittedFeaturedGrid:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#userSubmittedFeaturedGrid:not(:empty) {
    margin-top: 30px;
}

.testimonial-card {
    background-color: var(--bg-card-light);
    padding: 50px 40px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(197, 168, 128, 0.08);
    border-color: var(--color-primary);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #FFC107; /* Golden star color matching Google Reviews */
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.testimonial-quote {
    color: var(--color-accent);
    margin-bottom: 20px;
}

.testimonial-quote svg {
    width: 28px;
    height: 28px;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-dark);
margin-bottom: 30px;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.testimonial-card:hover .client-avatar-wrapper {
    transform: scale(1.1);
    border-color: var(--color-primary);
}

.client-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.client-info h4 {
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.client-info span {
    font-size: 13px;
    color: var(--text-muted-dark);
}

/* Google Rating Summary Header */
.google-rating-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 245, 238, 0.95));
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 35px 40px;
    margin-top: 40px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    align-items: center;
    gap: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.google-rating-score-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-right: 1px solid var(--border-light);
    padding-right: 30px;
}

.google-logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #222222;
}

.google-big-score {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    color: #222222;
}

.google-stars-row {
    display: flex;
    gap: 4px;
    color: #FFC107;
    margin: 6px 0;
}

.google-stars-row svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.google-total-count {
    font-size: 13px;
    color: var(--text-muted-dark);
    font-weight: 500;
}

/* Rating Distribution Bars */
.google-bars-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted-dark);
}

.rating-bar-row span:first-child {
    width: 24px;
}

.rating-bar-row span:last-child {
    width: 24px;
    text-align: right;
}

.rating-bar-bg {
    flex: 1;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFC107, #FF9800);
    border-radius: 4px;
    transition: width 0.6s ease-in-out;
}

/* Actions Box */
.google-actions-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-left: 1px solid var(--border-light);
    padding-left: 30px;
    justify-content: center;
}

.g-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    width: 100%;
    position: relative;
    border: none;
    outline: none;
    line-height: 1.3;
}

.g-btn span {
    white-space: nowrap;
}

.g-btn-primary {
    background-color: var(--color-primary); /* Deep Charcoal #121315 */
    color: #ffffff;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(18, 19, 21, 0.2);
}

.g-btn-primary:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(18, 19, 21, 0.3);
}

.g-btn-secondary {
    background-color: #ffffff;
    color: var(--color-primary);
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.g-btn-secondary:hover {
    background-color: var(--bg-primary);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Card Top Row with Verified Pill */
.testimonial-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.g-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(52, 168, 83, 0.1);
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(52, 168, 83, 0.2);
}

/* Review Tags display on cards */
.review-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.review-card-tag {
    font-size: 11px;
    font-weight: 600;
    background-color: var(--bg-primary);
    color: var(--color-primary);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

/* Playstore Style Modal Overlays */
.review-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.review-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.review-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    border-radius: 20px;
    padding: 35px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.review-modal-overlay.active .review-modal-card {
    transform: translateY(0) scale(1);
}

.review-modal-card.modal-large {
    max-width: 850px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 22px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #0f172a;
}

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

.google-badge-small, .google-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.modal-header h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-muted-dark);
}

/* Play Store Star Picker */
.star-rating-input-group {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.star-rating-input-group label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 10px;
}

.interactive-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 38px;
    color: #cbd5e1;
    cursor: pointer;
    user-select: none;
}

.interactive-stars .star-item {
    transition: transform 0.15s ease, color 0.15s ease;
}

.interactive-stars .star-item:hover,
.interactive-stars .star-item.selected,
.interactive-stars .star-item.hovered {
    color: #FFC107;
    transform: scale(1.15);
}

.rating-label-text {
    display: block;
    margin-top: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-primary);
}

/* Form Styles inside Modal */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e03939;
}

.form-group.error .error-msg {
    opacity: 1;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-dark);
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

.review-tags-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-chip {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-chip.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.g-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.g-modal-btn-cancel {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.g-modal-btn-cancel:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.g-modal-btn-submit {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(18, 19, 21, 0.15);
}

.g-modal-btn-submit:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(18, 19, 21, 0.25);
}

/* View All Reviews Modal Specifics */
.view-all-header {
    margin-bottom: 20px;
}

.view-all-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.star-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-pill.active {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(18, 19, 21, 0.25);
}

.search-sort-row {
    display: flex;
    gap: 12px;
}

.review-search-box {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13.5px;
}

.review-sort-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    padding: 10px 38px 10px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.review-sort-dropdown:hover {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.review-sort-dropdown:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(18, 19, 21, 0.1);
}

.review-sort-dropdown option {
    background-color: #ffffff;
    color: #1e293b;
    padding: 10px 14px;
    font-weight: 500;
}

.all-reviews-scroll-list {
    max-height: 440px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 6px;
}

.modal-review-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-review-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.modal-review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-user-details h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}

.modal-user-details span {
    font-size: 12px;
    color: #64748b;
}

.modal-review-stars {
    color: #FFC107;
    font-size: 14px;
}

.modal-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 12px;
}

.modal-review-date {
    font-size: 11px;
    color: #94a3b8;
}

.view-all-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Toast Notification */
.review-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f172a;
    color: #ffffff;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    animation: slideInUp 0.3s ease-out;
}

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

/* Responsive adjustments for Google Review Header */
@media (max-width: 992px) {
    .google-rating-summary {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .google-rating-score-box, .google-actions-box {
        border-right: none;
        border-left: none;
        padding-right: 0;
        padding-left: 0;
    }

    .google-rating-score-box {
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 20px;
    }

    .google-actions-box {
        border-top: 1px solid var(--border-light);
        padding-top: 20px;
    }
}

/* ==========================================================================
   CLOSING CTA SECTION
   ========================================================================== */
.closing-cta-section {
    background-color: var(--color-primary);
    color: var(--text-light);
    border-top: none;
    text-align: center;
}

.closing-cta-section .section-subtitle {
    color: var(--color-accent);
}

.closing-cta-section .section-title {
    color: var(--text-light);
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(251, 247, 236, 0.85);
    line-height: 1.7;
}

.section-padding-cta {
    padding: 100px 0;
}

/* ==========================================================================
   PROCESS SECTION (SERVICES PAGE)
   ========================================================================== */
.process-section {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.process-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-step {
    background-color: var(--bg-card-light);
    padding: 40px 30px;
    border: 1px solid rgba(88, 92, 68, 0.06);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(88, 92, 68, 0.05);
}

.process-num {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    background-color: rgba(197, 168, 128, 0.1);
    padding: 6px 12px;
    align-self: flex-start;
    letter-spacing: 0.05em;
    line-height: 1;
    border-radius: 2px;
}

.process-content h3 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-content p {
    font-size: 14px;
    color: var(--text-muted-dark);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   CREATIVE INTERACTIVE SERVICES SPLIT SECTION
   ========================================================================== */
.services-split-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.services-showcase-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(18, 19, 21, 0.15);
    border: 1px solid var(--border-light);
}

.services-showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

.services-showcase-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(76, 83, 64, 0.4) 0%, rgba(112, 112, 112, 0.15) 100%);
    pointer-events: none;
}

.services-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.services-accordion-item {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.services-accordion-item:last-child {
    border-bottom: none;
}

.services-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-accordion-header h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.services-accordion-item.active .services-accordion-header h3,
.services-accordion-item:hover .services-accordion-header h3 {
    color: var(--color-accent); /* Golden Highlight */
}

.services-accordion-icon {
    font-size: 20px;
    color: var(--color-primary);
    transition: transform 0.4s ease;
}

.services-accordion-item.active .services-accordion-icon {
    transform: rotate(45deg);
    color: var(--color-accent);
}

.services-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0;
    margin-top: 10px;
}

.services-accordion-item.active .services-accordion-content {
    max-height: 1000px;
    opacity: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.services-accordion-content p {
    font-size: 15.5px;
    color: var(--text-muted-dark);
    margin-bottom: 16px;
    line-height: 1.6;
}

.services-accordion-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    list-style: none;
    padding: 0;
}

@media (max-width: 768px) {
    .services-accordion-features {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.services-accordion-features li {
    font-size: 14px;
    color: var(--text-dark);
    position: relative;
    padding-left: 18px;
}

.services-accordion-features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

@media (max-width: 991px) {
    .services-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .services-showcase-image {
        order: -1;
    }
}

/* ==========================================================================
   CLICK RIPPLE ANIMATION
   ========================================================================== */
.click-ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(197, 168, 128, 0.4);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-effect 0.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
    z-index: 9999;
}

@keyframes ripple-effect {
    to {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   INTERACTIVE ACTIVE PRESS FEEDBACK
   ========================================================================== */
.btn, .filter-btn, .logo, .nav-links a, .service-link, .whatsapp-float, .portfolio-item {
    transition: transform var(--transition-fast), var(--transition-smooth);
}

.btn:active, .filter-btn:active, .logo:active, .nav-links a:active, .service-link:active, .whatsapp-float:active {
    transform: scale(0.96) !important;
}

/* ==========================================================================
   DARK BG HIGH READABILITY OVERRIDES (Moss Green panels contrast fix)
   ========================================================================== */
.dark-bg, 
.dark-bg h2, 
.dark-bg h3, 
.dark-bg h4, 
.dark-bg p, 
.dark-bg li, 
.dark-bg span,
.dark-bg strong {
    color: #FAF6EE !important; /* Force high-contrast cream */
}

.dark-bg .text-muted,
.dark-bg .service-description,
.dark-bg .service-tagline,
.dark-bg .includes-list li,
.dark-bg .service-ideal span {
    color: #E2E7DF !important; /* Soft light sage-cream for secondary elements */
}

.dark-bg .section-subtitle, 
.dark-bg .service-num-badge {
    color: var(--color-accent) !important; /* Gold highlights */
}

/* ==========================================================================
   CONTACT US PAGE STYLING
   ========================================================================== */
.contact-section {
    padding: 80px 0 100px 0;
}

/* Horizontal quick connect cards */
.contact-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .contact-cards-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.contact-card-box {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition-smooth);
}

.contact-card-box:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 30px rgba(112, 112, 112, 0.15);
}

.contact-card-box .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--bg-dark);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 22px;
    transition: var(--transition-fast);
}

.contact-card-box:hover .icon-wrapper {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.contact-card-box h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-card-box p,
.contact-card-box a {
    font-size: 16px;
    color: var(--text-muted-dark);
    line-height: 1.5;
}

.contact-card-box a:hover {
    color: var(--color-accent);
}

/* Main Grid: Form Left, Map Right side-by-side */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

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

.contact-form-card {
    background-color: var(--bg-card-light);
    padding: 50px;
    border: 1px solid var(--border-light);
    position: relative;
}

@media (max-width: 576px) {
    .contact-form-card {
        padding: 30px 20px;
    }
}

.contact-form-card h2 {
    font-family: var(--font-serif);
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.contact-form-card p {
    color: var(--text-muted-dark);
    margin-bottom: 40px;
}

.contact-form .form-group {
    margin-bottom: 24px;
    position: relative;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 576px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    font-family: var(--font-sans);
    color: var(--color-primary);
    font-size: 15px;
    transition: var(--transition-fast);
    border-radius: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Success feedback styling */
.feedback-box {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.feedback-icon {
    width: 80px;
    height: 80px;
    background-color: var(--color-accent);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 36px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.feedback-box h3 {
    font-family: var(--font-serif);
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.feedback-box p {
    color: var(--text-muted-dark);
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* Map card fitting next to form */
.contact-map-card {
    border: 1px solid var(--border-light);
    padding: 10px;
    background-color: var(--bg-card-light);
    display: flex;
    min-height: 450px;
}

.contact-map-card .map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.contact-map-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) contrast(1.1);
    transition: var(--transition-smooth);
}

.contact-map-card:hover iframe {
    filter: grayscale(0.2) contrast(1.0);
}

/* ==========================================================================
   BLOG PAGE STYLING
   ========================================================================== */
.blog-section {
    padding: 80px 0 120px 0;
}

/* Long-form Blog Article Styles */
.blog-article {
    max-width: 820px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 60px 56px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.06);
    color: var(--color-primary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.blog-article h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 64px 0 16px 0;
    padding-top: 48px;
    border-top: 2px solid var(--border-light);
    line-height: 1.3;
}

.blog-article h1:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.blog-article h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 32px 0 12px 0;
    line-height: 1.4;
}

.blog-article p {
    margin-bottom: 18px;
    color: #4a4a4a;
}

.blog-article ul {
    margin: 16px 0 24px 24px;
    padding: 0;
    list-style: disc;
}

.blog-article ul li {
    margin-bottom: 10px;
    color: #4a4a4a;
    line-height: 1.75;
}

.blog-article ul li strong {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .blog-article {
        padding: 36px 22px;
        font-size: 1rem;
    }
    .blog-article h1 {
        font-size: 1.6rem;
        margin: 48px 0 12px 0;
        padding-top: 36px;
    }
    .blog-article h2 {
        font-size: 1.2rem;
    }
}

/* Filter Tab Pills */
.blog-filters-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.blog-filter-btn {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.blog-filter-btn:hover {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
    color: var(--color-secondary);
}

.blog-filter-btn.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

/* Featured Blog Post Card */
.featured-blog-container {
    margin-bottom: 80px;
}

.blog-card-featured {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.blog-card-featured:hover {
    box-shadow: 0 30px 60px rgba(18, 19, 21, 0.08);
}

@media (max-width: 992px) {
    .blog-card-featured {
        grid-template-columns: 1fr;
    }
}

.featured-img-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card-featured:hover .featured-img-wrapper img {
    transform: scale(1.05);
}

.featured-content-wrapper {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 576px) {
    .featured-content-wrapper {
        padding: 30px 20px;
    }
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.blog-category {
    color: var(--color-accent);
}

.blog-date {
    color: var(--text-muted-dark);
}

.blog-card-featured h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.blog-card-featured p {
    color: var(--text-muted-dark);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Regular Grid Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.blog-card {
    background-color: var(--bg-card-light);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.show-card {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(18, 19, 21, 0.06);
}

.blog-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.06);
}

.blog-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-body h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.blog-card-body h3 a:hover {
    color: var(--color-accent);
}

.blog-card-body p {
    color: var(--text-muted-dark);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more-btn {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    cursor: pointer;
}

.read-more-btn:hover {
    color: var(--color-accent);
}

.read-more-btn svg {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.read-more-btn:hover svg {
    transform: translateX(4px);
}

/* Newsletter Panel */
.newsletter-panel {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 40px;
    text-align: center;
    border: 1px solid var(--border-dark);
    position: relative;
}

.newsletter-panel .section-subtitle {
    color: var(--color-accent);
}

.newsletter-panel h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 38px);
    margin-bottom: 16px;
    color: var(--text-light);
}

.newsletter-panel p {
    color: var(--text-muted-light);
    max-width: 500px;
    margin: 0 auto 36px auto;
    font-size: 16px;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
        gap: 16px;
    }
}

.newsletter-form input {
    flex-grow: 1;
    padding: 16px 24px;
    background-color: rgba(250, 246, 238, 0.08);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 15px;
    border-radius: 0;
}

.newsletter-form input:focus {
    border-color: var(--color-accent);
    background-color: rgba(250, 246, 238, 0.12);
    outline: none;
}

.newsletter-form .btn {
    flex-shrink: 0;
}

.newsletter-feedback {
    margin-top: 20px;
    font-weight: 500;
    color: var(--color-accent);
    animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   BLOG MODAL OVERLAY STYLING (Expandable Reader)
   ========================================================================== */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 19, 21, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.blog-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.blog-modal-content {
    width: 100%;
    max-width: 800px;
    height: 100%;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 40px rgba(18, 19, 21, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-modal.active .blog-modal-content {
    transform: translateX(0);
}

.blog-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.btn-modal-close-back {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    cursor: pointer;
    background: none;
    border: none;
}

.btn-modal-close-back:hover {
    color: var(--color-accent);
}

.btn-modal-close {
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary);
    background: none;
    border: none;
    line-height: 1;
}

.btn-modal-close:hover {
    color: var(--color-accent);
}

.blog-modal-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 60px 80px;
}

@media (max-width: 768px) {
    .blog-modal-body {
        padding: 40px 30px;
    }
    .blog-modal-header {
        padding: 20px;
    }
}

.modal-article-hero {
    margin-bottom: 40px;
}

.modal-article-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.modal-article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.modal-article-category {
    color: var(--color-accent);
}

.modal-article-date {
    color: var(--text-muted-dark);
}

.blog-modal-body h1 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    margin-bottom: 30px;
    color: var(--color-primary);
}

.modal-article-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted-dark);
}

.modal-article-text p {
    margin-bottom: 24px;
}

.modal-article-text h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-primary);
    margin: 40px 0 20px 0;
}

.modal-article-text ul,
.modal-article-text ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.modal-article-text li {
    margin-bottom: 10px;
}

.modal-article-blockquote {
    font-family: var(--font-serif);
    font-size: 20px;
color: var(--color-primary);
    border-left: 3px solid var(--color-accent);
    padding-left: 24px;
    margin: 36px 0;
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}




/* Quote Page Hero Background */
.quote-page-hero {
    background-image: linear-gradient(rgba(18, 19, 21, 0.2), rgba(18, 19, 21, 0.4)), url('assets/quote_hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ==========================================================================
   LIVSPACE STYLE DETAILED FORM & OTP VERIFICATION
   ========================================================================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.phone-input-wrapper, .otp-input-wrapper {
    display: flex;
    gap: 12px;
}

.phone-input-wrapper input, .otp-input-wrapper input {
    flex: 1;
}

.send-otp-btn, .verify-otp-btn {
    width: auto !important;
    min-width: 110px;
    height: 54px;
    font-size: 12px !important;
    padding: 0 15px !important;
    box-shadow: none !important;
    border-radius: 0; /* Match input styling box */
}

/* Privacy & Terms Checkbox styling */
.form-group-checkbox {
    margin-top: 10px;
    margin-bottom: 5px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-group-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.checkbox-label {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.4;
}

.policy-link {
    color: var(--color-accent);
    text-decoration: underline;
    font-weight: 600;
}

.policy-link:hover {
    color: var(--color-primary);
}

.relative-error {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    display: none;
    margin-top: 6px;
}

.form-group-checkbox.error .relative-error {
    display: block;
    opacity: 1;
}

/* Success notification message */
.success-msg {
    display: block;
    font-size: 12px;
    color: #2e7d32;
    margin-top: 6px;
    font-weight: 600;
}

/* Simulated toast notifications for OTP code */
.otp-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 1px solid var(--color-accent);
    border-left: 5px solid var(--color-accent);
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 9999;
    font-family: var(--font-sans);
    font-size: 14px;
    max-width: 380px;
    animation: slideInRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.otp-toast-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.otp-toast-body {
    line-height: 1.5;
}

.otp-toast-code {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2em;
    display: block;
    margin-top: 8px;
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 4px;
    text-align: center;
}

/* Modals for terms & privacy policies */
.policy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 19, 21, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.policy-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.policy-modal-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.policy-modal-overlay.active .policy-modal-card {
    transform: translateY(0);
}

.policy-modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.policy-modal-header h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--color-primary);
    margin: 0;
}

.policy-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted-dark);
    transition: color 0.2s ease;
}

.policy-modal-close:hover {
    color: var(--color-primary);
}

.policy-modal-body {
    padding: 30px;
    overflow-y: auto;
    font-size: 14px;
    color: var(--text-muted-dark);
    line-height: 1.6;
}

.policy-modal-body h4 {
    color: var(--color-primary);
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
}

.policy-modal-body p {
    margin-bottom: 16px;
}

/* ==========================================================================
   LEGAL PAGES STYLES (PRIVACY POLICY & TERMS OF SERVICE - MINIMALIST LIVSPACE STYLE)
   ========================================================================== */
.legal-container {
    max-width: 1000px;
    margin: 120px auto 80px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
}

@media (max-width: 992px) {
    .legal-container {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 100px;
    }
    
    .legal-sidebar {
        position: static !important;
        max-height: none !important;
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 16px;
        margin-bottom: 8px;
    }
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 16px;
    border-right: 1px solid #e5e7eb;
}

.legal-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-nav-link {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease;
    display: block;
    line-height: 1.4;
    text-decoration: none;
}

.legal-nav-link:hover, .legal-nav-link.active {
    color: #111827;
    font-weight: 600;
}

.legal-content {
    font-family: var(--font-sans);
    font-size: 14.5px;
    line-height: 1.7;
    color: #374151;
}

.legal-content h1 {
    font-family: var(--font-sans);
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.legal-content h2 {
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-top: 36px;
    margin-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 6px;
}

.legal-content p {
    margin-bottom: 16px;
    color: #4b5563;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
    color: #4b5563;
}

.last-updated {
    font-style: normal;
    color: #6b7280;
    margin-bottom: 32px;
    display: block;
    font-size: 12px;
}

/* ==========================================================================
   CUSTOM DATE & TIME PICKER DESIGN (LIVSPACE STYLE)
   ========================================================================== */
.custom-time-picker-wrapper {
    position: relative;
    width: 100%;
}

.custom-time-picker-wrapper input[readonly] {
    cursor: pointer;
    background-color: #FFFFFF;
}

.time-slots-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border: 1px solid rgba(18, 19, 21, 0.15);
    box-shadow: 0 10px 30px rgba(18, 19, 21, 0.12);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    scrollbar-width: thin;
    scrollbar-color: var(--color-accent) #f3f4f6;
}

.time-slots-dropdown::-webkit-scrollbar {
    width: 6px;
}

.time-slots-dropdown::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.time-slots-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--color-accent);
    border-radius: 3px;
}

.time-slots-dropdown.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.time-slot-option {
    padding: 12px 20px;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: left;
}

.time-slot-option:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
}

.time-slot-option.selected {
    background-color: var(--color-accent);
    color: #FFFFFF;
    font-weight: 600;
}




