:root {
    --purple: rgba(128, 0, 128, 0.9);
    --purple-solid: #800080;
    --purple-dark: #5a005a;
    --purple-light: rgba(128, 0, 128, 0.12);
    --purple-mid: rgba(128, 0, 128, 0.45);
    --white: #ffffff;
    --off-white: #fdf8fd;
    --text: #1a0a1a;
    --text-light: #6b4a6b;
    --accent: #e8b4e8;
    --accent-gold: #f0a500;
    --accent-gold-dark: #d4900a;
    --gold: #c9a84c;
    --font-display: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
    --shadow-lg: 0 20px 60px rgba(128, 0, 128, 0.2);
    --primary: #800080;
    --primary-dark: #4b004b;
    --gray: #7a5a7a;
    --light: #f3e6f3;
    --secondary: #2e2b2e;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    padding-top: 95px;
}

/* TOP BAR */
.topbar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    padding: 6px 0;
}

.topbar .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-left {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-left a,
.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.88);
    transition: color .2s;
    text-decoration: none;
}

.topbar-left a:hover {
    color: var(--accent);
}

.topbar-right {
    display: flex;
    gap: 10px;
}

.topbar-right a {
    color: rgba(255, 255, 255, 0.75);
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all .2s;
    text-decoration: none;
}

.topbar-right a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* FIXED NAVBAR */
nav {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    margin: 25px auto 0;
    max-width: 88%;
    width: auto;
    overflow-x: visible;
    overflow-y: visible;
    padding: 12px 0;
    background-color: rgba(248, 250, 252, 0.95);
    box-shadow: rgba(0, 0, 0, 0.15) 0px 3px 45px 0px;
    backdrop-filter: blur(12px);
    border-radius: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    line-height: 24px;
    transition: transform 0.3s, background-color 0.3s, opacity 0.3s, box-shadow 0.3s, border-color 0.3s, margin 0.3s, backdrop-filter 0.3s;
    -webkit-font-smoothing: antialiased;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-icon {
    width: 46px;
    height: 46px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
}

.logo-text strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--primary-dark);
}

.logo-text span {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: .4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    border-radius: 6px;
    transition: all .2s;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--light);
    color: var(--primary);
}

.btn-appt {
    background: #f0a500;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    white-space: nowrap;
    transition: background .2s, transform .15s !important;
    display: flex;
    align-items: center;
    gap: 7px;
}

.btn-appt:hover {
    background: #d4900a !important;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 10001;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger:hover {
    background: rgba(128, 0, 128, 0.08);
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #800080;
    border-radius: 4px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    margin: 0 auto;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown-menu a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-toggle i {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

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

@media (max-width: 768px) {
    nav {
        max-width: 94%;
        margin-top: 15px;
        padding: 10px 0;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        border: 1px solid rgba(128, 0, 128, 0.2);
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
    }

    .nav-links.show {
        display: flex;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        padding: 12px 16px;
        font-size: 16px;
        text-align: left;
        width: 100%;
        border-radius: 12px;
    }

    .btn-appt {
        justify-content: center;
        margin-top: 6px;
    }

    .dropdown {
        display: block;
        width: 100%;
    }

    .dropdown .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 16px;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding-left: 24px;
        display: none;
        background: #faf5fa;
        width: 100%;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 16px 10px 30px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .logo-text strong {
        font-size: 14px;
    }

    .logo-text span {
        font-size: 9px;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* BREADCRUMB */
.breadcrumb {
    background: var(--purple-light);
    padding: 12px 24px;
    font-size: 0.82rem;
    color: var(--text-light);
    position: relative;
    z-index: 5;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb a {
    color: var(--purple-solid);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

/* HERO SECTION */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(26, 10, 26, 0.93) 0%, rgba(61, 0, 61, 0.85) 50%, rgba(42, 0, 42, 0.93) 100%), url('https://images.unsplash.com/photo-1516627145497-ae6968895b74?w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #ffffff;
    border-radius: 100% 100% 0 0 / 100% 100% 0 0;
    transform: scaleX(1.15);
    z-index: 3;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
    text-align: center;
    z-index: 4;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 180, 232, 0.12);
    border: 1px solid rgba(232, 180, 232, 0.25);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gold);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.25s;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s;
}

.btn-outline:hover {
    background: white;
    color: var(--purple-solid);
    border-color: white;
}

/* STATS BAND */
.stats-band {
    background: var(--purple);
    padding: 30px 24px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(26, 10, 26, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transform: translateY(-30px);
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* GENERAL SECTIONS */
section {
    padding: 90px 24px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--purple-solid);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 50px;
}

/* INTRO SECTION */
.intro-bg {
    background: var(--off-white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    object-fit: cover;
}

.highlight-box {
    background: var(--purple-light);
    border-left: 4px solid var(--purple-solid);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-top: 1.8rem;
    font-weight: 500;
    color: var(--purple-dark);
    font-size: 0.9rem;
}

/* PHASES CARDS */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.phase-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border: 1px solid rgba(128, 0, 128, 0.08);
}

.phase-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.phase-header {
    background: var(--purple);
    color: #fff;
    padding: 1.2rem 1.5rem;
}

.phase-header h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.phase-body ul {
    list-style: none;
    padding: 1.5rem;
}

.phase-body ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    margin-bottom: 12px;
    color: var(--text-light);
}

.phase-body ul li::before {
    content: "✓";
    color: var(--purple-solid);
    font-weight: bold;
    font-size: 1rem;
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 22px;
    box-shadow: 0 2px 16px rgba(128, 0, 128, 0.07);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--purple-solid), #d070d0);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(128, 0, 128, 0.12);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card p {
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--purple) 100%);
    text-align: center;
    padding: 70px 24px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* FOOTER */
footer {
    background: #1a0a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 24px 30px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-brand .logo-main {
    color: var(--accent);
    font-size: 1.4rem;
    font-family: var(--font-display);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: white;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--purple-solid);
    font-size: 1.1rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 10px;
}

/* SCROLL TOP BUTTON */
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 999;
}

#scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATIONS */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {

    .intro-grid,
    .phases-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .footer-top {
        grid-template-columns: 1fr;
    }
}