/* Google Fonts: Outfit and Playfair Display */
:root {
    --primary: #f06265;
    /* Burgundy Pink */
    --primary-dark: #f06265;
    /* Deep Burgundy */
    --secondary: #0f172a;
    /* Slate Dark */
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    overflow-x: hidden;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.text-primary {
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

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

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

.divider {
    height: 3px;
    width: 60px;
    background: var(--primary);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(185, 145, 70, 0.2);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a:not(.btn) {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav a:not(.btn):hover::after {
    width: 100%;
}

.header-actions-mobile {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.modern-hero-curve {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 140%;
    background: var(--secondary);
    border-bottom-right-radius: 50%;
    border-top-right-radius: 50%;
    z-index: 1;
}

.modern-hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-image-column {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-circle-mask {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 15px solid #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    background: #fff;
}

.hero-circle-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 5s ease-out;
    transform: scale(1.05);
}

.hero-circle-mask img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-badge {
    position: absolute;
    background: var(--primary);
    color: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(185, 145, 70, 0.4);
}

.badge-top-left {
    top: 28px;
    left: 13px;
}

.badge-bottom-right {
    bottom: 20px;
    right: 20px;
}

.badge-num {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
    margin-top: 5px;
}

.decor-plus {
    position: absolute;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    opacity: 0.8;
    line-height: 1;
}

.top-plus {
    top: 0;
    right: 50px;
}

.bottom-plus {
    bottom: -30px;
    left: 50px;
    color: var(--primary);
}

.hero-content-column {
    flex: 1;
}

.hero-content-column h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Form Styling */
.modern-form-wrapper {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-top: 4px solid var(--primary);
}

.modern-form-wrapper h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    color: var(--secondary);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
}

.modern-form-wrapper input,
.modern-form-wrapper select,
.modern-form-wrapper textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
    background: #f8fafc;
    resize: vertical;
}

.modern-form-wrapper input:focus,
.modern-form-wrapper select:focus,
.modern-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(185, 145, 70, 0.1);
}

.w-100 {
    width: 100%;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card-icon svg {
    width: 30px;
    height: 30px;
}

/* Specialities & Gradients */
.gradient-bg {
    background: linear-gradient(135deg, rgba(239, 230, 213, 0.4) 0%, rgba(255, 255, 255, 1) 100%);
}

.specialities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 3rem;
}

.specialities-grid>* {
    flex: 1 1 300px;
    max-width: calc(33.333% - 20px);
}

.speciality-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.hover-zoom:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(185, 145, 70, 0.15);
}

.hover-zoom .speciality-img img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-zoom:hover .speciality-img img {
    transform: scale(1.05);
}

.speciality-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.speciality-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8), transparent);
    padding: 20px;
}

.speciality-overlay h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
}

.speciality-content {
    padding: 25px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(185, 145, 70, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(185, 145, 70, 0.1);
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    color: var(--text-main);
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 20px;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary);
}

.author-info span {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

/* Expert Section */
.expert-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.expert-content {
    flex: 1;
}

.expert-content .divider {
    margin-left: 0;
}

.expert-image {
    flex: 1;
}

.image-box {
    position: relative;
    padding: 20px;
}

.image-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    background: var(--primary);
    border-radius: 12px;
    z-index: -1;
    opacity: 0.2;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #fff;
    transition: var(--transition);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--secondary);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background: var(--bg-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 25px 25px;
    margin: 0;
    color: var(--text-light);
}

/* Creative CTA Section */
.creative-cta {
    position: relative;
    background-color: #6a1a41;
    /* Deep burgundy matching example */
    overflow: hidden;
    padding: 120px 0;
    color: #fff;
    font-family: var(--font-heading);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2.5px, transparent 2.5px);
    background-size: 25px 25px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 70%);
}

.floating-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.mt-4 {
    margin-top: 2.5rem;
    display: inline-block;
}

.creative-heading {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.5;
    color: #fff;
    font-weight: 400;
    margin-bottom: 0;
}

.inline-img {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    border-radius: 50%;
    overflow: hidden;
    vertical-align: -0.2em;
    margin: 0 0.3em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.4s ease;
}

.creative-heading:hover .inline-img {
    transform: scale(1.1) rotate(5deg);
}

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

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    border-radius: 30px;
    padding: 12px 35px;
    backdrop-filter: blur(5px);
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Tags Section */
.gradient-divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(to right, #cf3c72, #6b2447);
    /* Pink to burgundy gradient matching image */
    margin: 0 auto 2.5rem;
    border-radius: 2px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto 40px;
}

.search-tag {
    background: #ffffff;
    border-radius: 30px;
    padding: 12px 15px; /* Reduced side padding slightly to help fit 2 in a line */
    font-size: 0.85rem; /* Reduced font size to accommodate long text in 2 columns */
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.01);
    flex: 0 0 calc(50% - 15px); /* Force exactly 2 per line */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-tag:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: #fff;
    padding: 20px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 1.5rem;
}

.footer h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer ul a {
    opacity: 0.8;
}

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

.footer ul a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mobile sticky CTA */
.d-mobile {
    display: none;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1.0s;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.scrolled {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Floating Action Buttons */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-wa:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .floating-wa {
        display: none;
        /* Hidden on mobile as requested, since WA is in the solid dock */
    }
}

/* Responsive */
@media (max-width: 992px) {
    .specialities-grid>* {
        max-width: calc(50% - 15px);
    }

    .modern-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .modern-hero-curve {
        width: 120%;
        height: 40%;
        border-radius: 0 0 50% 50%;
        top: -10%;
        left: -10%;
    }

    .hero-circle-mask {
        width: 350px;
        height: 350px;
    }

    .modern-form-wrapper {
        text-align: left;
    }

    .form-row {
        flex-direction: column;
    }


    .hero-text p {
        margin: 0 auto 2rem;
    }

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

    .expert-wrapper {
        flex-direction: column;
    }

    .expert-content .divider {
        margin: 0 auto 1.5rem;
    }

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

@media (max-width: 768px) {
    .specialities-grid>* {
        max-width: 100%;
    }

    .header-actions-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .header-call-btn {
        background: var(--primary);
        color: #fff;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .d-mobile {
        display: flex !important;
    }

    .modern-hero {
        padding: 120px 0 50px;
    }

    .hero-circle-mask {
        width: 280px;
        height: 280px;
    }

    .hero-badge {
        width: 100px;
        height: 100px;
        z-index: 5;
    }

    .badge-top-left {
        top: -22px;
        left: -22px;
    }

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

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

    .top-plus {
        right: 10px;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 40px;
    }

    .nav.active {
        left: 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

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

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-form-wrapper {
        flex: 0 0 100%;
        width: 100%;
    }

    .mobile-solid-dock {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--primary-dark);
        z-index: 999;
        justify-content: space-around;
        padding: 12px 5px;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
    }

    .mobile-solid-dock .dock-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #fff;
        gap: 6px;
        font-size: 0.8rem;
        font-weight: 600;
        flex: 1;
        /* Makes all 3 items equal width */
        text-align: center;
    }

    .footer {
        padding-bottom: 70px;
    }

    /* Space for sticky dock */
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    /* Creative Section Mobile */
    .creative-heading {
        font-size: 2rem;
        line-height: 1.4;
    }

    .creative-heading br {
        display: none;
    }

    .inline-img {
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        margin: 0 0.2em;
    }

    .floating-path {
        display: none;
    }

    .creative-cta {
        padding: 40px 0;
    }
}