/* =========================================
   DR. SAJID AMIN – ULTRA-PREMIUM CLINIC CSS
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
    --primary: #a30a48;
    --primary-light: #c2185b;
    --primary-dark: #7f0836;

    --secondary: #5e0e5e;
    --secondary-light: #7b1b7b;
    --secondary-dark: #450845;

    --bg: #ffffff;
    --bg-alt: #f9f9fb;
    --bg-card: #ffffff;

    --text: #1a1a1a;
    --text-muted: #6b6b6b;

    --border: rgba(163, 10, 72, 0.12);
    --glow: rgba(163, 10, 72, 0.08);
    /* Softened for light mode */
    --glow-strong: rgba(94, 14, 94, 0.12);

    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', sans-serif;

    --radius: 12px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing system */
    --section-padding-mobile: 60px;
    --section-padding-tablet: 80px;
    --section-padding-desktop: 110px;
    --inner-padding-mobile: 20px;
    --inner-padding-tablet: 30px;
    --inner-padding-desktop: 40px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Prevent horizontal scroll at root */
    overflow-x: hidden;
}

body {
    font-family: var(--sans);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Body scroll lock class */
}

body.menu-open {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ── Utility ── */
.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.section {
    padding: var(--section-padding-desktop) 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-label {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    background: rgba(163, 10, 72, 0.04);
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 18px;
}

.section-title span {
    color: var(--primary);
}

.section-title-h5 {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 2vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.75;
display: contents;
}

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

.text-center .section-subtitle {
    margin-inline: auto;
}

/* ── Gold Divider ── */
.primary-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 20px auto 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(20px);
    /*backdrop-filter: blur(20px);*/
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1002;
}

.nav-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-logo-name {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav-logo-sub {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    transition: color var(--transition);
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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

.nav-cta {
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border-radius: 6px;
    font-weight: 600 !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 8px 25px rgba(163, 10, 72, 0.15);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--secondary) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(94, 14, 94, 0.2);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px;
    width: 44px;
    height: 44px;
    z-index: 1002;
    flex-shrink: 0;
    transition: border-color var(--transition);
}

.nav-toggle:hover {
    border-color: var(--primary);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--primary);
}

/* Mobile nav overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.visible {
    opacity: 1;
}

/* ============================================
   HERO
   ============================================ */
#hero {
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to bottom, #ffffff, #f9f9fb);
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('hero_bg.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    will-change: transform;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(163, 10, 72, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(163, 10, 72, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 40px;
    width: min(1200px, 92%);
    margin-inline: auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 7px 18px;
    width: fit-content;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(163, 10, 72, 0.04);
    animation: fadeSlideUp 0.8s ease both;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--secondary);
    animation: fadeSlideUp 0.9s 0.1s ease both;
}

.hero-headline .line2 {
    color: var(--primary);
    display: block;
}

.hero-underline {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), transparent);
    margin-top: 8px;
    animation: expandLine 1s 0.8s ease forwards;
}

.hero-micro {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    line-height: 2;
    animation: fadeSlideUp 0.9s 0.2s ease both;
}

.hero-para {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: var(--text-muted);
    max-width: 460px;
    animation: fadeSlideUp 0.9s 0.3s ease both;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeSlideUp 0.9s 0.4s ease both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #ffffff;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(163, 10, 72, 0.15);
    transition: var(--transition);
    min-height: 48px;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--secondary);
    box-shadow: 0 12px 30px rgba(94, 14, 94, 0.2);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 8px;
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    min-height: 48px;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(163, 10, 72, 0.12);
    transform: translateY(-2px);
}

.hero-metrics {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    animation: fadeSlideUp 0.9s 0.5s ease both;
}

.hero-metric .num {
    font-family: var(--serif);
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}

.hero-metric .label {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeSlideUp 1s 0.3s ease both;
}

.hero-doctor-frame {
    position: relative;
    width: 420px;
    max-width: 100%;
    height: 520px;
}

.hero-doctor-bg {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(94, 14, 94, 0.05), rgba(163, 10, 72, 0.03));
    border: 1px solid var(--border);
}

.hero-doctor-img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    height: 95%;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius);
    filter: contrast(1) brightness(1);
}

.hero-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(163, 10, 72, 0.08), transparent 70%);
    filter: blur(20px);
}

.hero-card-float {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(94, 14, 94, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 12px 18px;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
}

.hero-card-float.card1 {
    top: 40px;
    right: -20px;
}

.hero-card-float.card2 {
    bottom: 80px;
    left: -24px;
    animation-delay: 2s;
}

.hero-card-title {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.hero-card-val {
    font-family: var(--serif);
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   ABOUT
   ============================================ */
#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    filter: brightness(0.88) contrast(1.05);
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
}

.about-image-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: calc(var(--radius) + 2px);
    background: linear-gradient(135deg, var(--primary) 0%, transparent 50%, var(--secondary) 100%);
    z-index: -1;
    opacity: 0.5;
}

.about-badge-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    text-align: center;
}

.about-badge-num {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.about-badge-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    margin-top: 4px;
}

.about-checklist {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.about-check {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: var(--transition);
    cursor: default;
}

.about-check:hover {
    border-color: var(--border);
    box-shadow: 0 0 20px var(--glow);
}

.check-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(163, 10, 72, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.check-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   EXPERTISE / SERVICES
   ============================================ */
#expertise .services-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    min-height: 44px;
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(163, 10, 72, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: radial-gradient(circle at 80% 20%, rgba(163, 10, 72, 0.04), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(94, 14, 94, 0.12);
    transform: translateY(-6px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
    transition: var(--transition);
    color: #ffffff;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 15px rgba(163, 10, 72, 0.2);
}

.service-name {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
    margin-top: auto;
}

.service-card:hover .service-link {
    gap: 10px;
}

/* ============================================
   BEFORE & AFTER
   ============================================ */
#results {
    background: var(--bg-alt);
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.before-after-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
    background: #f0f0f4;
    cursor: ew-resize;
    touch-action: none;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.ba-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.ba-img.after {
    clip-path: inset(0 50% 0 0);
}

.ba-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    transform: translateX(-50%);
    z-index: 5;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    z-index: 6;
    cursor: ew-resize;
    box-shadow: 0 0 20px rgba(163, 10, 72, 0.4);
}

.ba-labels {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 4;
}

.ba-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.ba-label.before {
    color: white;
}

.ba-label.after {
    color: var(--primary);
}

.results-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-thumb {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/7;
    background: #1a1a1f;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.result-thumb:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(94, 14, 94, 0.1);
}

.result-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.results-trust {
    text-align: center;
    margin-top: 50px;
    font-family: var(--serif);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.results-trust span {
    color: var(--primary);
}

/* ============================================
   PROCESS
   ============================================ */
#process .steps-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    position: relative;
}

.step-connector {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--border) 25%, var(--border) 75%, transparent 95%);
    z-index: 0;
}

.step-connector-animated {
    position: absolute;
    top: 36px;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 0;
    background: linear-gradient(90deg, transparent 5%, var(--primary) 25%, var(--primary) 75%, transparent 95%);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.2s 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-connector-animated.animated {
    transform: scaleX(1);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.step-num {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    transition: var(--transition);
    position: relative;
}

.step-num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: var(--transition);
}

.step-item:hover .step-num {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(163, 10, 72, 0.15);
}

.step-item:hover .step-num::after {
    border-color: var(--border);
}

.step-title {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    max-width: 220px;
    line-height: 1.7;
}

/* ============================================
   WHY CHOOSE
   ============================================ */
#why .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
    align-items: flex-start;
}

.why-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(94, 14, 94, 0.08);
    transform: translateY(-4px);
}

.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    background: rgba(163, 10, 72, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(163, 10, 72, 0.2);
}

.why-info h3 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.why-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   LOCATION
   ============================================ */
#location .location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 380px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: none;
    border: none;
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(163, 10, 72, 0.08);
}

/* Inline style in HTML for contact-entry - override here */
.contact-entry {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 0 !important;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex-shrink: 0;
    background: rgba(163, 10, 72, 0.08);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-info .label {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-info .value {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.6;
}

.contact-info .value a {
    color: var(--text);
    transition: color var(--transition);
}

.contact-info .value a:hover {
    color: var(--primary);
}

/* Location buttons */
.location-btns {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
    background: var(--bg-alt);
}

.testi-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testi-track {
    display: flex;
    gap: 24px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testi-card {
    /* Desktop: show 3, Tablet: show 2, Mobile: show 1 */
    min-width: calc(33.333% - 16px);
    width: calc(33.333% - 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-sizing: border-box;
}

.testi-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(94, 14, 94, 0.1);
    transform: translateY(-5px);
}

.testi-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #ffb400;
    font-size: 1rem;
    letter-spacing: 2px;
}

.star {
    color: #ffb400;
    font-size: 0.9rem;
}

.testi-quote {
    font-family: var(--serif);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testi-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.testi-name {
    font-weight: 500;
    font-size: 0.9rem;
}

.testi-loc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.testi-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 40px;
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testi-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(163, 10, 72, 0.1);
}

.testi-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dot-ind {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot-ind.active {
    background: var(--primary);
    width: 20px;
    border-radius: 3px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
    font-family: var(--serif);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
    min-height: 44px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    transition: var(--transition);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(163, 10, 72, 0.08);
    border-color: var(--primary);
}

.faq-answer {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 400px;
    padding-bottom: 20px;
}

/* ============================================
   FINAL CTA
   ============================================ */
#final-cta {
    background: #ffffff;
    padding: var(--section-padding-desktop) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#final-cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(163, 10, 72, 0.04), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

#final-cta .section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    max-width: 700px;
    margin-inline: auto;
    margin-top: 16px;
}

#final-cta .section-subtitle {
    margin-inline: auto;
    margin-bottom: 14px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-brand-desc {
    font-size: 0.85rem;
    color: #ffffff;
    line-height: 1.8;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
    min-height: 32px;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: #ffffff;
}

.footer-bottom span {
    color: #ffffff;
    font-weight: 500;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(163, 10, 72, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(163, 10, 72, 0);
    }
}

@keyframes shimmer {
    from {
        background-position: -200% 0;
    }

    to {
        background-position: 200% 0;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ============================================
   RESPONSIVE – TABLET (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .section {
        padding: var(--section-padding-tablet) 0;
    }

    #final-cta {
        padding: var(--section-padding-tablet) 0;
    }

    /* NAV: show hamburger */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: min(320px, 85vw);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        padding: 80px 40px 40px;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        list-style: none;
    }

    .nav-links.open {
        right: 0;
        display: flex;
    }

    .nav-overlay {
        display: block;
    }

    .nav-links a {
        font-size: 1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(163, 10, 72, 0.08);
    }

    .nav-links a::after {
        bottom: 0;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-cta {
        margin-top: 16px;
        padding: 13px 28px !important;
        border-radius: 8px !important;
        width: 100%;
        justify-content: center !important;
        font-size: 0.9rem !important;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-right {
        display: none;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

    .hero-para {
        margin-inline: auto;
    }

    .hero-badge {
        margin-inline: auto;
    }

    /* About */
    #about .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap {
        max-width: 420px;
        margin-inline: auto;
    }

    .about-badge-img {
        right: -10px;
        bottom: -10px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Results */
    .results-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .results-right {
        flex-direction: row;
        gap: 16px;
    }

    .result-thumb {
        flex: 1;
        aspect-ratio: 16/9;
    }

    /* Why Choose */
    #why .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Location */
    #location .location-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    /* Testimonials – show 2 on tablet */
    .testi-card {
        min-width: calc(50% - 12px);
        width: calc(50% - 12px);
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

/* ============================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================ */
@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }

    #final-cta {
        padding: var(--section-padding-mobile) 0;
    }

    .container {
        width: min(100%, calc(100% - 40px));
    }

    /* Logo adjust */
    .nav-logo img {
        height: 44px;
    }

    /* Hero */
    .hero-content {
        padding-top: 100px;
        padding-bottom: 30px;
        gap: 32px;
    }

    .hero-badge {
        font-size: 0.66rem;
        padding: 6px 14px;
    }

    .hero-micro {
        font-size: 0.65rem;
        letter-spacing: 0.06em;
    }

    .hero-metrics {
        gap: 18px;
    }

    .hero-metric .num {
        font-size: 1.5rem;
    }

    /* Hero CTA – stack on small screens */
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        max-width: 320px;
    }

    /* About */
    .about-badge-img {
        padding: 12px 16px;
        right: 0;
        bottom: -16px;
    }

    .about-badge-num {
        font-size: 1.5rem;
    }

    .about-badge-lbl {
        font-size: 0.65rem;
    }

    /* Services grid – 1 column */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Results */
    .results-right {
        flex-direction: column;
    }

    .result-thumb {
        aspect-ratio: 16/7;
    }

    /* Process – single column */
    #process .steps-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .step-connector,
    .step-connector-animated {
        display: none;
    }

    .step-item {
        padding: 0 16px;
    }

    .step-desc {
        max-width: 100%;
    }

    /* Why grid – 1 column */
    #why .why-grid {
        grid-template-columns: 1fr;
    }

    /* Why card adjust */
    .why-card {
        padding: 24px;
        gap: 16px;
    }

    /* Location contact section */
    .location-btns {
        flex-direction: column;
    }

    .location-btns .btn-primary,
    .location-btns .btn-secondary {
        flex: unset;
        width: 100%;
        justify-content: center;
    }

    /* Testimonials – 1 card on mobile */
    .testi-card {
        min-width: 100%;
        width: 100%;
        padding: 24px 20px;
    }

    .testi-quote {
        font-size: 0.95rem;
    }

    /* FAQ */
    .faq-question {
        padding: 18px 0;
        font-size: 1rem;
        gap: 12px;
    }

    .faq-list {
        max-width: 100%;
    }

    /* CTA buttons */
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .cta-btns .btn-primary,
    .cta-btns .btn-secondary {
        width: 100%;
        max-width: 320px;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Section text alignment fix */
    .text-center .section-subtitle {
        padding-inline: 0;
    }
}

/* ============================================
   RESPONSIVE – SMALL MOBILE (max 480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --section-padding-mobile: 56px;
    }

    .container {
        width: min(100%, calc(100% - 32px));
    }

    #navbar {
        padding: 12px 0;
    }

    /* Nav logo smaller on tiny screens */
    .nav-logo img {
        height: 38px;
    }

    /* Hero tweaks */
    .hero-content {
        padding-top: 88px;
    }

    .hero-headline {
        font-size: clamp(1.85rem, 9vw, 2.4rem);
    }

    .hero-metrics {
        gap: 14px;
    }

    .hero-metric {
        min-width: calc(33% - 10px);
    }

    /* Service card padding */
    .service-card {
        padding: 22px 18px;
    }

    /* Why card layout */
    .why-card {
        flex-direction: column;
        gap: 14px;
        padding: 20px 18px;
    }

    /* Testi card */
    .testi-card {
        padding: 20px 16px;
    }

    /* About checklist */
    .about-check {
        padding: 12px 14px;
        gap: 10px;
    }

    /* Map height */
    .map-container {
        height: 280px;
    }

    /* Final CTA text */
    #final-cta .section-title {
        font-size: clamp(1.5rem, 8vw, 2.2rem);
    }

    /* Step items */
    .step-item {
        padding: 0 8px;
    }

    .step-num {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
}

/* ============================================
   RESPONSIVE – EXTRA SMALL (max 375px)
   ============================================ */
@media (max-width: 375px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }

    .hero-micro {
        display: none;
    }

    .hero-badge {
        font-size: 0.6rem;
        padding: 5px 12px;
    }

    .section-label {
        font-size: 0.62rem;
        padding: 5px 14px;
        letter-spacing: 0.18em;
    }

    .nav-links {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid var(--border);
        padding: 80px 24px 40px;
    }
}

/* ============================================
   SAFE AREA SUPPORT (notched devices)
   ============================================ */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
.footer-col h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 18px;
}
