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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Playfair Display', serif;
    color: #505050;
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    /* Safe area insets for iPhone X and newer */
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(224, 208, 224, 0.6) 0%, 
        rgba(232, 216, 232, 0.65) 30%,
        rgba(240, 224, 240, 0.6) 60%,
        rgba(232, 216, 232, 0.65) 100%);
    animation: gradientShift 15s ease infinite;
    background-size: 200% 200%;
    z-index: 1;
    mix-blend-mode: multiply;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(245, 198, 215, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 208, 224, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(240, 224, 240, 0.15) 0%, transparent 50%);
    animation: particleMove 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes particleMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(18px) brightness(1.25) saturate(0.6);
    opacity: 0.5;
    transform: scale(1.1);
    animation: backgroundFloat 25s ease-in-out infinite;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.bg-image:nth-child(2) {
    display: none;
}

.bg-image:first-child[style*="display: none"] ~ .bg-image:nth-child(2) {
    display: block;
}

@keyframes backgroundFloat {
    0%, 100% { transform: scale(1.15) translate(0, 0); }
    50% { transform: scale(1.2) translate(-20px, -20px); }
}

/* Main Wrapper */
.main-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    /* Additional top padding for safe area on mobile */
    padding-top: max(50px, calc(50px + env(safe-area-inset-top)));
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 50px 50px;
    margin-bottom: 80px;
    margin-top: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(248, 240, 252, 0.4));
    border-radius: 50px;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(232, 184, 200, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 3px solid rgba(232, 184, 200, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

.hero-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(245, 198, 215, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 208, 224, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(240, 224, 240, 0.1) 0%, transparent 50%);
    opacity: 0.6;
    animation: patternMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes patternMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.hero-text-wrapper {
    position: relative;
    text-align: center;
    padding: 30px 0;
    width: 100%;
    z-index: 2;
}

.hero-decoration-top,
.hero-decoration-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(232, 184, 200, 0.6), transparent);
    border-radius: 2px;
}

.hero-decoration-top {
    top: 0;
    animation: expandWidth 1s ease-out 0.5s both;
}

.hero-decoration-bottom {
    bottom: 0;
    animation: expandWidth 1s ease-out 0.7s both;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 120px;
        opacity: 1;
    }
}

.hero-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 111, 94, 0.3), transparent);
    margin: 15px auto;
    border-radius: 1px;
    animation: expandWidth 1s ease-out 0.3s both;
}

.banner-frame {
    position: relative;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(232, 184, 200, 0.3));
    border-radius: 30px;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(232, 184, 200, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border: 3px solid rgba(232, 184, 200, 0.4);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-frame:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 80px rgba(232, 184, 200, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.banner-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(232, 184, 200, 0.3) 0%, transparent 70%);
    animation: rotateGlow 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.banner-frame::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.hero-practitioner-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 0;
    margin-top: 20px;
    z-index: 2;
}

.practitioner-info-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(248, 240, 252, 0.3));
    padding: 25px 50px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(232, 184, 200, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practitioner-info-box:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.practitioner-decoration {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(232, 184, 200, 0.5), transparent);
    border-radius: 1px;
    animation: expandWidth 1s ease-out 1s both;
}

.practitioner-decoration:first-child {
    margin-bottom: 5px;
}

.practitioner-decoration:last-child {
    margin-top: 5px;
}

.hero-banner-image-wrapper {
    width: 55%;
    margin: 25px auto;
    display: block;
}

.hero-banner-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 30px !important;
}


@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Practitioner Intro Section (Above About Me) */
.practitioner-intro-section {
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.practitioner-intro-container {
    display: flex;
    justify-content: flex-end;
    padding: 0 40px;
}

.practitioner-photo-box {
    width: 280px;
    height: 350px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 3px solid rgba(139, 111, 94, 0.2);
    transition: transform 0.3s ease;
}

.practitioner-photo-box:hover {
    transform: scale(1.05) translateY(-5px);
}

.practitioner-intro-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.practitioner-intro-photo:nth-child(2) {
    display: none;
}

.practitioner-intro-photo:first-child[style*="display: none"] ~ .practitioner-intro-photo:nth-child(2) {
    display: block;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 198, 215, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 600;
    color: #505050;
    margin: 0;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out 0.2s both;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    text-align: center;
    line-height: 1.3;
}

.hero-sparkle {
    font-size: 2rem;
    opacity: 0.8;
    animation: twinkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(232, 184, 200, 0.5));
}

.hero-sparkle-left {
    animation-delay: 0s;
}

.hero-sparkle-right {
    animation-delay: 0.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2);
    }
}

.main-title-container {
    position: relative;
    display: inline-block;
    margin: 20px 0;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(232, 184, 200, 0.2), rgba(255, 255, 255, 0.3));
    border-radius: 25px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 40px rgba(232, 184, 200, 0.3);
    border: 2px solid rgba(232, 184, 200, 0.4);
    overflow: hidden;
}

.main-title-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(232, 184, 200, 0.2) 0%, transparent 70%);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.main-service-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 6rem;
    font-weight: 400;
    color: #505050;
    margin: 0;
    letter-spacing: 6px;
    animation: fadeInDown 1s ease-out 0.4s both;
    text-shadow: 
        3px 3px 10px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(232, 184, 200, 0.4);
    text-transform: uppercase;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.service-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    color: #6B5B4A;
    font-weight: 500;
    margin: 20px 0;
    animation: fadeInDown 1s ease-out 0.6s both;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    padding: 10px 0;
}

.practitioner-intro {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: #505050;
    margin: 20px 0 5px;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out 0.8s both;
}

.practitioner-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #505050;
    font-weight: 500;
    margin-bottom: 10px;
    animation: fadeInDown 1s ease-out 1s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.illustration-wrapper {
    margin: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    animation: fadeInScale 1.2s ease-out 0.8s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.illustration-main {
    max-width: 100%;
    width: 360px;
    height: auto;
    object-fit: contain;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-15px) rotate(2deg); 
    }
}

.practitioner-intro {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    color: #505050;
    margin: 5px 0;
    letter-spacing: 2px;
    animation: fadeInDown 1s ease-out 0.8s both;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

.practitioner-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #8B6F5E;
    font-weight: 500;
    margin: 5px 0;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out 1s both;
    text-transform: uppercase;
}


/* Sections */
.section {
    margin-bottom: 80px;
    margin-top: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.section.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #505050;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 20px;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(139, 111, 94, 0.5), transparent);
    border-radius: 2px;
}

.script-heading {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    margin-top: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.statement-block {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(139, 111, 94, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.statement-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.border-decoration {
    position: absolute;
    border-color: #8B6F5E;
    border-style: solid;
    pointer-events: none;
}

.border-decoration.top-left {
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-top-width: 4px;
    border-left-width: 4px;
    border-right-width: 0;
    border-bottom-width: 0;
}

.border-decoration.bottom-right {
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    border-bottom-width: 4px;
    border-right-width: 4px;
    border-top-width: 0;
    border-left-width: 0;
}

.statement-text {
    position: relative;
    z-index: 1;
}

.statement-text p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #6B5B4A;
    margin-bottom: 30px;
    line-height: 2;
}

.statement-text p:last-child {
    margin-bottom: 0;
}

.practitioner-block {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.photo-frame {
    width: 100%;
    max-width: 320px;
    height: 420px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.photo-frame:hover {
    transform: scale(1.05) rotate(2deg);
}

.practitioner-photo {
    width: 100%;
    height: 110%;
    object-fit: cover;
    object-position: center 10%;
    position: absolute;
    top: -5%;
    left: 0;
}

.practitioner-photo:nth-child(2),
.practitioner-photo:nth-child(3),
.practitioner-photo:nth-child(4) {
    display: none;
}

.practitioner-photo:first-child[style*="display: none"] ~ .practitioner-photo:nth-child(2) {
    display: block;
}

.practitioner-photo:nth-child(2)[style*="display: none"] ~ .practitioner-photo:nth-child(3) {
    display: block;
}

.practitioner-photo:nth-child(3)[style*="display: none"] ~ .practitioner-photo:nth-child(4) {
    display: block;
}

.photo-frame {
    position: relative;
}

.practitioner-details {
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(139, 111, 94, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practitioner-details:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.healing-path-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    font-weight: 600;
    color: #505050;
    margin-bottom: 25px;
}

.practitioner-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #6B5B4A;
    margin: 20px 0 15px;
}

.practitioner-role {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #6B5B4A;
    font-style: italic;
}

/* Content Sections */
.content-section,
.what-is-section {
    margin-top: 0;
}

.text-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(139, 111, 94, 0.2);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.text-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.text-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 2;
    color: #505050;
}

.text-card p:last-child {
    margin-bottom: 0;
}

/* Overview Section */
.overview-section {
    margin-top: 0;
}

.mind-visualization {
    margin: 0 0 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease-out;
}

.mind-visualization.animate {
    opacity: 1;
    transform: scale(1);
}

.mind-image {
    width: 100%;
    max-width: 650px;
    height: auto;
    display: block;
    object-fit: contain;
    animation: pulse 3s ease-in-out infinite;
}

.mind-image:nth-child(2),
.mind-image:nth-child(3) {
    display: none;
}

.mind-image:first-child[style*="display: none"] ~ .mind-image:nth-child(2) {
    display: block;
}

.mind-image:nth-child(2)[style*="display: none"] ~ .mind-image:nth-child(3) {
    display: block;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.95;
        transform: scale(1.02);
    }
}

/* Contact Section */
.contact-section {
    margin-top: 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(139, 111, 94, 0.2);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.contact-icon-wrapper {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.contact-icon {
    width: 80px;
    height: 80px;
    opacity: 0.8;
    filter: drop-shadow(0 5px 15px rgba(232, 184, 200, 0.3));
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.contact-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    font-weight: 600;
    color: #505050;
    margin-bottom: 25px;
    letter-spacing: 1px;
    animation: fadeInDown 1s ease-out 0.3s both;
}

.contact-message {
    font-size: 1.4rem;
    color: #505050;
    margin-bottom: 50px;
    line-height: 2;
    font-weight: 400;
    font-style: italic;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    width: 100%;
}

.contact-item {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(232, 184, 200, 0.3);
    width: 500px;
    max-width: 500px;
    min-width: 500px;
    box-sizing: border-box;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(232, 184, 200, 0.5);
}

.contact-item:nth-child(3) {
    cursor: pointer;
}

/* Booking Disclaimer */
.booking-disclaimer {
    margin-top: 20px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    border: 2px solid rgba(232, 184, 200, 0.3);
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.disclaimer-text {
    font-size: 0.95rem;
    color: #6B5B4A;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    font-style: italic;
    letter-spacing: 0.3px;
}

.disclaimer-text::before {
    content: '* ';
    color: #e74c3c;
    font-weight: bold;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 184, 200, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-box {
    background: rgba(232, 184, 200, 0.3);
    transform: rotate(5deg);
}

.contact-item-icon {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.contact-label {
    font-weight: 600;
    color: #8B6F5E;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}


.contact-link {
    color: #8B6F5E;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
    min-width: 200px;
    word-spacing: 0.2em;
    letter-spacing: 0.5px;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B6F5E;
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #6B5B4A;
}

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

/* Scroll to Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(232, 184, 200, 0.95);
    border: 2px solid rgba(139, 111, 94, 0.4);
    border-radius: 50%;
    color: #505050;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.scroll-to-top-btn:hover {
    background: rgba(232, 184, 200, 1);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 111, 94, 0.5);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn svg {
    width: 24px;
    height: 24px;
    stroke: #505050;
}

.scroll-to-top-btn:hover svg {
    stroke: #6B5B4A;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-wrapper {
        padding: 45px 35px;
    }

    .hero-section {
        padding: 50px 35px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .main-service-title {
        font-size: 4.5rem;
    }

    .contact-item {
        width: 450px !important;
        max-width: 450px !important;
        min-width: 450px !important;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 40px 25px;
        padding-top: max(40px, calc(40px + env(safe-area-inset-top)));
        width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .hero-section {
        padding: 40px 25px;
        width: 100%;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content {
        width: 100%;
        box-sizing: border-box;
    }
    
    .hero-text-wrapper {
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
    }

    .main-service-title {
        font-size: 3.5rem;
        letter-spacing: 3px;
    }

    .service-subtitle {
        font-size: 1.2rem;
    }

    .hero-banner-image-wrapper {
        width: 90%;
        margin: 15px auto;
    }

    .hero-banner-image {
        max-width: 100%;
        margin: 0 auto;
        max-height: 300px;
    }

    .illustration-main {
        width: 280px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: stretch;
        justify-items: stretch;
        width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .statement-block,
    .practitioner-block {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .statement-block {
        text-align: left;
        padding: 35px 25px;
    }
    
    .practitioner-block {
        text-align: center;
    }
    
    .statement-text {
        text-align: left;
        width: 100%;
    }

    .statement-block,
    .practitioner-details {
        padding: 35px 25px;
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .script-heading {
        font-size: 2.8rem;
    }

    .text-card,
    .contact-card {
        padding: 40px 30px;
    }

    .border-decoration {
        width: 150px;
        height: 150px;
    }

    .contact-details {
        width: 100%;
        align-items: stretch;
    }

    .contact-item {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px;
        flex-wrap: wrap;
        box-sizing: border-box;
        margin: 0;
    }

    .booking-disclaimer {
        margin-top: 15px;
        padding: 15px 20px;
        max-width: 100%;
    }

    .disclaimer-text {
        font-size: 0.9rem;
    }

    .scroll-to-top-btn {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top-btn svg {
        width: 20px;
        height: 20px;
    }

    .contact-icon-box {
        width: 45px;
        height: 45px;
    }

    .contact-item-icon {
        width: 24px;
        height: 24px;
    }

    .photo-frame {
        max-width: 100%;
        width: 100%;
        height: 350px;
        margin: 0 auto;
    }

    .practitioner-details {
        padding: 30px 20px;
    }

    .contact-item {
        min-width: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .contact-link {
        word-break: break-word;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-wrapper {
        padding: 30px 20px;
        padding-top: max(30px, calc(30px + env(safe-area-inset-top)));
        width: 100%;
        box-sizing: border-box;
    }

    .hero-section {
        padding: 30px 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .main-service-title {
        font-size: 2.8rem;
        letter-spacing: 2px;
        margin: 8px 0;
    }

    .service-subtitle {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .hero-banner-image-wrapper {
        width: 90%;
        margin: 10px auto;
    }

    .hero-banner-image {
        margin: 0 auto;
        max-height: 250px;
    }

    .illustration-main {
        width: 240px;
    }

    .statement-block,
    .practitioner-details {
        padding: 30px 20px;
    }

    .section-heading {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .script-heading {
        font-size: 2.2rem;
    }

    .text-card,
    .contact-card {
        padding: 30px 20px;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-message {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 35px;
    }

    .contact-details {
        width: 100%;
        align-items: stretch;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        text-align: left;
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0;
    }
    
    .content-grid {
        justify-items: stretch;
        width: 100%;
        padding: 0;
    }
    
    .statement-block,
    .practitioner-block {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .statement-block {
        text-align: left;
        padding: 30px 20px;
    }
    
    .practitioner-block {
        text-align: center;
    }
    
    .statement-text {
        text-align: left;
    }

    .contact-icon-box {
        width: 40px;
        height: 40px;
    }

    .contact-item-icon {
        width: 22px;
        height: 22px;
    }

    .contact-info-box {
        width: 100%;
    }

    .photo-frame {
        max-width: 100%;
        width: 100%;
        height: 300px;
        margin: 0 auto;
    }

    .practitioner-details {
        padding: 25px 15px;
    }

    .border-decoration {
        width: 120px;
        height: 120px;
    }

    .contact-item {
        min-width: auto !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px;
        flex-wrap: wrap;
        box-sizing: border-box;
    }

    .contact-link {
        word-break: break-word;
        font-size: 1rem;
    }

    .scroll-to-top-btn {
        width: 42px;
        height: 42px;
        bottom: 15px;
        right: 15px;
    }

    .scroll-to-top-btn svg {
        width: 18px;
        height: 18px;
    }

    .statement-text p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .practitioner-name {
        font-size: 1.8rem;
    }

    .practitioner-role {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .main-wrapper {
        padding: 25px 15px;
        padding-top: max(25px, calc(25px + env(safe-area-inset-top)));
    }

    .hero-section {
        padding: 25px 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .main-service-title {
        font-size: 2.3rem;
        letter-spacing: 1px;
    }

    .service-subtitle {
        font-size: 1rem;
    }

    .hero-banner-image {
        max-height: 200px;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-message {
        font-size: 1rem;
    }

    .text-card,
    .contact-card {
        padding: 25px 15px;
    }

    .scroll-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }

    .scroll-to-top-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    padding: 20px;
    box-sizing: border-box;
}

.booking-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(8px);
    animation: overlayFadeIn 0.4s ease;
}

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

.booking-modal-content {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 240, 252, 0.95) 100%);
    padding: 50px 60px;
    border-radius: 40px;
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(232, 184, 200, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    border: 3px solid rgba(232, 184, 200, 0.5);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.4s ease;
    z-index: 10001;
    margin: auto;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    overflow-x: hidden;
}

.booking-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(245, 198, 215, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(224, 208, 224, 0.08) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 40px;
    z-index: 0;
}

.booking-modal-content > * {
    position: relative;
    z-index: 1;
}

/* Custom Scrollbar for Modal */
.booking-modal-content::-webkit-scrollbar {
    width: 8px;
}

.booking-modal-content::-webkit-scrollbar-track {
    background: rgba(232, 184, 200, 0.1);
    border-radius: 10px;
}

.booking-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.6), 
        rgba(232, 184, 200, 0.4));
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.booking-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.8), 
        rgba(232, 184, 200, 0.6));
    background-clip: padding-box;
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.85) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.booking-modal.active .booking-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.booking-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.3), 
        rgba(232, 184, 200, 0.2));
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(232, 184, 200, 0.2);
    border: 2px solid rgba(232, 184, 200, 0.3);
}

.booking-modal-close:hover {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.5), 
        rgba(232, 184, 200, 0.4));
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(232, 184, 200, 0.4);
    border-color: rgba(232, 184, 200, 0.5);
}

.booking-modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

.booking-modal-close svg {
    width: 22px;
    height: 22px;
    stroke: #8B6F5E;
    stroke-width: 2.5;
}

.booking-modal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    position: relative;
}

.booking-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(232, 184, 200, 0.6), 
        transparent);
    border-radius: 2px;
}

.booking-modal-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.2rem;
    font-weight: 600;
    color: #505050;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 1px;
}

.booking-modal-subtitle {
    font-size: 1.15rem;
    color: #6B5B4A;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    /* Ensure form group properly contains input */
    overflow: visible;
    width: 100%;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #505050;
    display: flex;
    align-items: center;
    gap: 5px;
}

.form-label .required {
    color: #e74c3c;
    font-size: 1.2rem;
}

.form-input,
.form-textarea {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    padding: 12px 18px;
    border: 2px solid rgba(139, 111, 94, 0.25);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #505050;
    transition: all 0.3s ease;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    /* Fix for mobile cursor positioning */
    position: relative;
    display: block;
    vertical-align: middle;
    line-height: 1.5;
    -webkit-tap-highlight-color: transparent;
    /* Prevent cursor from appearing outside on mobile */
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
}

.form-input:focus,
.form-textarea:focus {
    border-color: rgba(232, 184, 200, 0.7);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 0 0 4px rgba(232, 184, 200, 0.15),
        0 4px 12px rgba(232, 184, 200, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    /* Only apply transform on non-mobile to prevent cursor issues */
    transform: translateY(-1px);
    /* Ensure cursor stays within input on mobile */
    position: relative;
    z-index: 1;
}

.form-input.error,
.form-textarea.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(139, 111, 94, 0.5);
    font-style: italic;
    opacity: 1;
}

.form-input::-webkit-input-placeholder,
.form-textarea::-webkit-input-placeholder {
    color: rgba(139, 111, 94, 0.5);
    font-style: italic;
}

.form-input::-moz-placeholder,
.form-textarea::-moz-placeholder {
    color: rgba(139, 111, 94, 0.5);
    font-style: italic;
    opacity: 1;
}

.form-input:-ms-input-placeholder,
.form-textarea:-ms-input-placeholder {
    color: rgba(139, 111, 94, 0.5);
    font-style: italic;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Inter', sans-serif;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
    min-height: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 2px solid rgba(232, 184, 200, 0.3);
}

.btn-cancel,
.btn-submit {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none;
    box-sizing: border-box;
}

.btn-cancel {
    background: rgba(139, 111, 94, 0.2);
    color: #505050;
    border: 2px solid rgba(139, 111, 94, 0.3);
}

.btn-cancel:hover {
    background: rgba(139, 111, 94, 0.3);
    border-color: rgba(139, 111, 94, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 111, 94, 0.2);
}

.btn-submit {
    background: linear-gradient(135deg, rgba(232, 184, 200, 0.8), rgba(232, 184, 200, 0.6));
    color: #505050;
    box-shadow: 0 5px 15px rgba(232, 184, 200, 0.3);
    border: 2px solid rgba(232, 184, 200, 0.4);
}

.btn-submit:hover {
    background: linear-gradient(135deg, rgba(232, 184, 200, 1), rgba(232, 184, 200, 0.8));
    border-color: rgba(232, 184, 200, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 184, 200, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Flatpickr Calendar Styling */
.flatpickr-calendar {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 240, 252, 0.95) 100%) !important;
    border: 3px solid rgba(232, 184, 200, 0.5) !important;
    border-radius: 20px !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(232, 184, 200, 0.2) !important;
    backdrop-filter: blur(20px) !important;
    font-family: 'Inter', sans-serif !important;
    padding: 15px !important;
    z-index: 10002 !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    min-width: 360px !important;
    width: auto !important;
    max-width: 90vw !important;
}

.flatpickr-months {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.2), 
        rgba(232, 184, 200, 0.1));
    border-radius: 15px 15px 0 0;
    padding: 10px 10px;
    border-bottom: 2px solid rgba(232, 184, 200, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flatpickr-month {
    color: #505050;
}

.flatpickr-current-month {
    font-size: 1.2rem;
    font-weight: 600;
    color: #505050;
    font-family: 'Inter', sans-serif;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: #8B6F5E;
    fill: #8B6F5E;
    padding: 10px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(232, 184, 200, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(232, 184, 200, 0.3);
    border-color: rgba(232, 184, 200, 0.5);
    color: #505050;
    fill: #505050;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(232, 184, 200, 0.3);
}

.flatpickr-prev-month:active,
.flatpickr-next-month:active {
    transform: scale(0.95);
}

.flatpickr-weekdays {
    background: rgba(232, 184, 200, 0.1);
    padding: 8px 0;
}

.flatpickr-weekday {
    color: #6B5B4A;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.flatpickr-day {
    color: #505050;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 2px auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.flatpickr-day:hover {
    background: rgba(232, 184, 200, 0.3);
    border-color: rgba(232, 184, 200, 0.5);
    transform: scale(1.05);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.8), 
        rgba(232, 184, 200, 0.6));
    border-color: rgba(232, 184, 200, 0.8);
    color: #505050;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(232, 184, 200, 0.4);
}

.flatpickr-day.today {
    border-color: rgba(232, 184, 200, 0.6);
    background: rgba(232, 184, 200, 0.2);
    font-weight: 600;
}

.flatpickr-day.flatpickr-disabled {
    color: rgba(139, 111, 94, 0.3);
    cursor: not-allowed;
}

.flatpickr-time {
    border-top: 2px solid rgba(232, 184, 200, 0.3);
    padding: 15px 10px 50px 10px !important;
    min-height: 380px !important;
    overflow: visible !important;
    height: auto !important;
    position: relative;
    z-index: 10003 !important;
    margin-bottom: 0 !important;
}

/* Clock/Watch Time Picker */
.clock-time-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 10px 0 30px 0;
    min-height: 350px;
    width: 100%;
    position: relative;
    z-index: 10004 !important;
}

.clock-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.clock-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
}

.clock-face {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(232, 184, 200, 0.1));
    border: 4px solid rgba(139, 111, 94, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(232, 184, 200, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clock-number {
    position: absolute;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(139, 111, 94, 0.7);
    z-index: 1;
}

.clock-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #8B6F5E;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.clock-hour-hand,
.clock-minute-hand {
    position: absolute;
    background: #8B6F5E;
    border-radius: 4px;
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.clock-hour-hand {
    width: 4px;
    height: 50px;
    top: 40px;
    left: 50%;
    margin-left: -2px;
    background: linear-gradient(to top, #8B6F5E, rgba(139, 111, 94, 0.7));
}

.clock-minute-hand {
    width: 3px;
    height: 70px;
    top: 20px;
    left: 50%;
    margin-left: -1.5px;
    background: linear-gradient(to top, #8B6F5E, rgba(139, 111, 94, 0.7));
}

/* Clock time display */
.clock-time-display {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #505050;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(232, 184, 200, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: fit-content;
    min-width: 280px;
    justify-content: center;
}

.clock-time-display .time-value {
    min-width: 50px;
    text-align: center;
}

.clock-time-display .time-separator {
    color: rgba(139, 111, 94, 0.6);
    font-size: 1.8rem;
}

.time-ampm-display {
    padding: 8px 16px;
    border: 2px solid rgba(232, 184, 200, 0.4);
    background: rgba(232, 184, 200, 0.2);
    border-radius: 10px;
    color: #505050;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 5px;
    min-width: 60px;
}

.time-ampm-display:hover {
    background: rgba(232, 184, 200, 0.4);
    border-color: rgba(232, 184, 200, 0.6);
    transform: scale(1.05);
}

.time-ampm-display:active {
    transform: scale(0.95);
}

/* Clock Controls - Compact Horizontal Layout */
.clock-controls-compact {
    width: 100%;
    padding: 0 20px 40px 20px;
    max-width: 100%;
    margin-bottom: 0;
}

.time-control-row {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.time-control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 120px;
    max-width: 180px;
}

.time-control-item label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(139, 111, 94, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-stepper-horizontal {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(139, 111, 94, 0.25);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    justify-content: center;
    min-width: 120px;
}

.time-btn-compact {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(232, 184, 200, 0.4);
    background: rgba(232, 184, 200, 0.2);
    border-radius: 8px;
    color: #8B6F5E;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    position: relative;
    z-index: 10006 !important;
}

.time-btn-compact:hover {
    background: rgba(232, 184, 200, 0.4);
    border-color: rgba(232, 184, 200, 0.6);
    transform: scale(1.1);
}

.time-btn-compact:active {
    transform: scale(0.95);
}

.time-value-display-compact {
    min-width: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #505050;
    padding: 0 8px;
}

/* Hide default Flatpickr time inputs */
.flatpickr-time input {
    display: none !important;
}

.flatpickr-time .flatpickr-time-separator {
    color: #8B6F5E;
    font-weight: 600;
}

/* Ensure calendar container doesn't cut off content */
.flatpickr-calendar .flatpickr-innerContainer {
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    padding: 5px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.flatpickr-calendar .flatpickr-wrapper {
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.flatpickr-calendar .flatpickr-days {
    padding: 5px 0 !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

.flatpickr-calendar .flatpickr-dayContainer {
    padding: 0 !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
}

.flatpickr-am-pm {
    background: rgba(232, 184, 200, 0.2);
    border: 2px solid rgba(232, 184, 200, 0.3);
    border-radius: 10px;
    color: #505050;
    font-weight: 600;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.flatpickr-am-pm:hover {
    background: rgba(232, 184, 200, 0.4);
    border-color: rgba(232, 184, 200, 0.5);
}

/* Custom OK Button for Calendar */
.flatpickr-ok-button {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 40px;
    margin: 50px auto 15px !important;
    display: block;
    border: 2px solid rgba(232, 184, 200, 0.4);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.8), 
        rgba(232, 184, 200, 0.6));
    color: #505050;
    box-shadow: 0 4px 12px rgba(232, 184, 200, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 120px;
    width: fit-content;
    outline: none;
    position: relative;
    z-index: 10005 !important;
    clear: both;
}

.flatpickr-ok-button:hover {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 1), 
        rgba(232, 184, 200, 0.8));
    border-color: rgba(232, 184, 200, 0.6);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(232, 184, 200, 0.4);
}

.flatpickr-ok-button:active {
    transform: translateY(0) scale(0.98);
}

/* Mobile fixes for input cursor positioning */
@media (max-width: 768px) {
    /* Fix cursor appearing outside input fields on mobile */
    .form-input,
    .form-textarea {
        /* Remove transform on focus to prevent cursor positioning issues */
        transform: none !important;
        /* Ensure proper containment */
        overflow: visible;
        /* Fix for iOS Safari cursor positioning */
        -webkit-transform: none !important;
        /* Ensure input is properly contained */
        contain: layout style;
        /* Prevent layout shifts */
        will-change: auto;
    }
    
    .form-input:focus,
    .form-textarea:focus {
        /* Remove transform on mobile to prevent cursor issues */
        transform: none !important;
        -webkit-transform: none !important;
        /* Keep other focus styles */
        border-color: rgba(232, 184, 200, 0.7);
        background: rgba(255, 255, 255, 1);
        box-shadow: 
            0 0 0 4px rgba(232, 184, 200, 0.15),
            0 4px 12px rgba(232, 184, 200, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
    
    .form-input[type="text"]#bookingDateTime {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    /* Additional iOS Safari fixes */
    @supports (-webkit-touch-callout: none) {
        .form-input,
        .form-textarea {
            /* iOS Safari specific fixes */
            -webkit-tap-highlight-color: transparent;
            /* Prevent iOS from zooming on focus */
            font-size: 16px !important;
            /* Ensure proper cursor containment */
            position: relative;
            z-index: 1;
        }
        
        .form-input:focus,
        .form-textarea:focus {
            /* Prevent iOS Safari cursor positioning issues */
            /* Use translateZ(0) instead of none for better rendering */
            -webkit-transform: translateZ(0) !important;
            transform: translateZ(0) !important;
        }
    }
    
    .flatpickr-calendar {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        max-width: 95vw !important;
        width: auto !important;
        z-index: 10005 !important;
    }
    
    .flatpickr-ok-button {
        width: 120px;
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* Success Alert Modal */
.success-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10003;
    display: none !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
    padding: 20px;
    box-sizing: border-box;
}

.success-alert-modal.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.success-alert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.7) 100%);
    backdrop-filter: blur(8px);
    animation: overlayFadeIn 0.4s ease;
}

.success-alert-content {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 240, 252, 0.95) 100%);
    padding: 50px 60px;
    border-radius: 40px;
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(232, 184, 200, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(25px);
    border: 3px solid rgba(232, 184, 200, 0.5);
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.85) translateY(30px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.4s ease,
                visibility 0.4s ease;
    z-index: 10004;
    margin: auto;
}

.success-alert-modal.active .success-alert-content {
    opacity: 1;
    visibility: visible;
    animation: successSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes successSlideIn {
    from {
        transform: scale(0.85) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Hide success alert elements when modal is not active */
.success-alert-modal:not(.active) .success-alert-content,
.success-alert-modal:not(.active) .success-alert-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


.success-icon-wrapper {
    position: relative;
    margin: 0 auto 25px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successIconPulse 0.6s ease 0.2s both;
}

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

.success-icon {
    width: 100%;
    height: 100%;
    animation: successIconRotate 0.6s ease;
}

@keyframes successIconRotate {
    0% {
        transform: rotate(-180deg) scale(0);
    }
    60% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

.success-smile {
    position: absolute;
    font-size: 3rem;
    animation: smileBounce 0.8s ease 0.4s both;
}

@keyframes smileBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-15px) scale(1.1);
    }
    60% {
        transform: translateY(-8px) scale(1.05);
    }
}

.success-title {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    color: #505050;
    margin: 0 0 15px 0;
    animation: fadeInDown 0.5s ease 0.3s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
}

.success-message {
    font-size: 1.2rem;
    color: #6B5B4A;
    margin: 0 0 30px 0;
    font-style: italic;
    animation: fadeInDown 0.5s ease 0.4s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-close-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 0.8), 
        rgba(232, 184, 200, 0.6));
    color: #505050;
    box-shadow: 0 5px 15px rgba(232, 184, 200, 0.3);
    border: 2px solid rgba(232, 184, 200, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInDown 0.5s ease 0.5s both;
}

.success-close-btn:hover {
    background: linear-gradient(135deg, 
        rgba(232, 184, 200, 1), 
        rgba(232, 184, 200, 0.8));
    border-color: rgba(232, 184, 200, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 184, 200, 0.4);
}

.success-close-btn:active {
    transform: translateY(0);
}

/* Responsive Success Alert */
@media (max-width: 768px) {
    .success-alert-content {
        padding: 40px 30px;
        max-width: 90%;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-message {
        font-size: 1.1rem;
    }

    .success-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .success-smile {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .success-alert-content {
        padding: 30px 20px;
    }

    .success-title {
        font-size: 1.8rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .success-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .success-smile {
        font-size: 2rem;
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .booking-modal-content {
        padding: 40px 30px;
        width: 95%;
        max-height: 95vh;
    }

    .booking-modal-title {
        font-size: 2.2rem;
    }

    .booking-modal-subtitle {
        font-size: 1rem;
    }

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

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .booking-modal-content {
        padding: 30px 20px;
    }

    .booking-modal-title {
        font-size: 1.8rem;
    }

    .booking-modal-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }

    .booking-modal-close svg {
        width: 18px;
        height: 18px;
    }
}
