:root {
    --primary: #6E2F6B;
    --secondary: #E9D6E8;
    --text: #222222;
    --background: #FFFFFF;
    --accent: #F3C7CF;
    --light-grey: #F5F5F5;
    --white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 30px rgba(110, 47, 107, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .btn {
    color: var(--white);
}

.nav-links .btn:hover {
    color: var(--primary);
}

.nav-links .btn::after {
    display: none;
}

.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    padding: 5px;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FDFBFD 0%, #E9D6E8 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    background: var(--secondary);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Footer */
.main-footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-container {
        height: 70px;
    }

    .logo img {
        height: 50px !important;
    }

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}

/* Sticky Appointment Widget */
.sticky-widget {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    width: 350px;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    border-radius: 20px 0 0 20px;
    border-left: 4px solid var(--primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-widget.active {
    transform: translateY(-50%) translateX(0);
}

.widget-header {
    background: var(--secondary);
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px 0 0 0;
}

.vertical-text {
    position: absolute;
    left: -44px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    white-space: nowrap;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.sticky-widget.active .vertical-text {
    display: none;
}

.widget-body {
    padding: 20px;
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.call-btn {
    background: var(--primary);
    color: white;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.divider span {
    background: white;
    padding: 0 10px;
    position: relative;
    z-index: 1;
    color: #999;
    font-size: 0.8rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #eee;
}

.mini-form input,
.mini-form select,
.mini-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #5a2559;
}

.trust-microcopy {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #888;
}

.trust-microcopy p {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    padding: 10px;
}

.bottom-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.call-bar {
    background: var(--secondary);
    color: var(--primary);
    margin-right: 5px;
}

.whatsapp-bar {
    background: #25D366;
    color: white;
    margin-right: 5px;
}

.book-bar {
    background: var(--primary);
    color: white;
    flex: 1.5;
}

@media (max-width: 768px) {
    .sticky-widget {
        width: 100%;
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        transform: translateY(100%);
        border-radius: 20px 20px 0 0;
        border-left: none;
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
        height: 85vh;
        /* Max height for mobile form */
        overflow-y: auto;
    }

    .sticky-widget.active {
        transform: translateY(0);
    }

    .vertical-text {
        display: none;
        /* Hide side tab on mobile */
    }

    .mobile-bottom-bar {
        display: flex;
    }

    /* Push footer up to not hide behind bar */
    body {
        padding-bottom: 70px;
    }
}

/* Premium UI/UX Additions */

/* Soft Gradients */
.bg-gradient-premium {
    background: linear-gradient(135deg, #fdfbfd 0%, #f4eef4 100%);
}

.text-gradient {
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Accordion FAQs */
.accordion {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #f9f9f9;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.accordion-content p {
    padding: 20px;
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* Hero CTA Alignment */
.hero-cta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* Premium Review Card */
.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    text-align: left;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.review-text {
    font-style: italic;
    color: #555;
    margin: 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.reviewer-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Premium Card Hover */
.service-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


/* --- Advanced Animations & Micro-Interactions --- */

/* Base Animation Setup */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

/* Scale Hover Effect for Cards */
.service-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    transition: transform 0.5s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent);
}

/* Button Pulse & Shine */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(110, 47, 107, 0.4);
}

/* Hero Content Animation */
.hero h1 {
    animation: slideInDown 1s ease-out;
}

.hero p {
    animation: slideInUp 1s ease-out 0.3s backwards;
}

.hero-cta {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Before/After Image Hover */
.ba-container img {
    transition: transform 0.5s ease;
}

.ba-container:hover img {
    transform: scale(1.05);
}

/* --- Premium Phase 2 Additions --- */

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-img {
    animation: float 4s ease-in-out infinite;
}

/* Statistics Section */
.stat-card {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .stat-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 0;
    }

    .stat-card:last-child {
        border-bottom: none;
    }

    .hero .container {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        display: none;
        /* Hide complex hero image on mobile to focus on CTA */
    }

    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .reveal {
        padding: 20px !important;
    }
}