/* Custom CSS for Eswans Events */

/* Prevent horizontal overflow and white spaces on mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

/* Ensure all containers stay within viewport */
.container, .max-w-full, .w-full {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for sections that might extend beyond viewport */
section {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* CSS Custom Properties */
:root {
    --Primary-On-Primary-Container: #291135;
    --Primary-Color: #53226D;
    --Hover-Color: #291135;
    
    /* Responsive Typography Scales */
    /* Mobile First (320px+) */
    --H1-Mobile-Sz: 28px;
    --H1-Mobile-Hg: 32px;
    --H2-Mobile-Sz: 24px;
    --H2-Mobile-Hg: 30px;
    --H3-Mobile-Sz: 20px;
    --H3-Mobile-Hg: 26px;
    --H4-Mobile-Sz: 18px;
    --H4-Mobile-Hg: 24px;
    --H5-Mobile-Sz: 16px;
    --H5-Mobile-Hg: 22px;
    --H6-Mobile-Sz: 14px;
    --H6-Mobile-Hg: 20px;
    
    /* Tablet (768px+) */
    --H1-Tablet-Sz: 36px;
    --H1-Tablet-Hg: 40px;
    --H2-Tablet-Sz: 30px;
    --H2-Tablet-Hg: 36px;
    --H3-Tablet-Sz: 24px;
    --H3-Tablet-Hg: 30px;
    --H4-Tablet-Sz: 20px;
    --H4-Tablet-Hg: 26px;
    --H5-Tablet-Sz: 18px;
    --H5-Tablet-Hg: 24px;
    --H6-Tablet-Sz: 16px;
    --H6-Tablet-Hg: 22px;
    
    /* Desktop (1024px+) */
    --H1-Desktop-Sz: 42px;
    --H1-Desktop-Hg: 58px;
    --H2-Desktop-Sz: 36px;
    --H2-Desktop-Hg: 44px;
    --H3-Desktop-Sz: 30px;
    --H3-Desktop-Hg: 36px;
    --H4-Desktop-Sz: 25px;
    --H4-Desktop-Hg: 32px;
    --H5-Desktop-Sz: 20px;
    --H5-Desktop-Hg: 26px;
    --H6-Desktop-Sz: 18px;
    --H6-Desktop-Hg: 24px;
    
    /* Legacy Variables for Compatibility */
    --H1-Large-Sz: 49px;
    --H1-Large-Hg: 58px;
    --H1-Large-Sp: -0.5px;
    --H4-Large-Sz: 25px;
    --H4-Large-Hg: 32px;
    --H4-Large-Sp: 0;
    --Buttons-Medium-Sz: 16px;
    --Body-Medium-Hg: 24px;
    --Caption-Large-Sz: 14px;
    --Caption-Large-Hg: 20px;
    --Caption-Large-Sp: 0.25px;
    --Body-Medium-Sz: 18px;
    --Body-Medium-Sp: -0.5px;
}

/* Custom Tailwind Configuration */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Override Tailwind Base Typography */
@layer base {
    h1:not(.header-logo), h2, h3, h4, h5, h6 {
        all: unset;
        display: block;
    }
    
    /* Prevent Tailwind from overriding our h1 styles */
    h1.page-header,
    h1.h1-text,
    h1.section-heading,
    h1.about-heading,
    .page-header,
    .h1-text,
    .section-heading,
    .about-heading {
        display: block !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }
    
}

/* Force our custom heading styles to take priority */
@layer utilities {
    .h1-text, h1:not([class*="text-"]) {
        font-size: var(--H1-Mobile-Sz) !important;
    }
    .h2-text, h2:not([class*="text-"]) {
        font-size: var(--H2-Mobile-Sz) !important;
    }
    .h3-text, h3:not([class*="text-"]) {
        font-size: var(--H3-Mobile-Sz) !important;
    }
    .h4-text, h4:not([class*="text-"]) {
        font-size: var(--H4-Mobile-Sz) !important;
    }
    .h5-text, h5:not([class*="text-"]) {
        font-size: var(--H5-Mobile-Sz) !important;
    }
    .h6-text, h6:not([class*="text-"]) {
        font-size: var(--H6-Mobile-Sz) !important;
    }
}

/* Custom Font Classes */
.font-marcellus {
    font-family: 'Marcellus', serif;
}

.font-muli {
    font-family: 'Muli', sans-serif;
}

.font-great-vibes {
    font-family: 'Great Vibes', 'Brush Script MT', cursive;
}

.font-poppins {
    font-family: 'Poppins', sans-serif;
}

.font-josefin {
    font-family: 'Josefin Sans', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

/* ========================================
   RESPONSIVE TYPOGRAPHY SYSTEM
   ======================================== */

/* Base Header Styles - Mobile First - Explicit Typography Settings */
/* Exclude .h1-text and .section-heading from here - they have their own dedicated rules below */
h1:not(.header-logo):not(.h1-text):not(.section-heading),
h1.page-header,
h1.hero-header-text,
h1.about-heading,
h1.promise-h1,
h1.services-h1,
h1.gallery-h1,
h1.testimonials-h1,
h1.cta-h1,
.page-header,
.hero-header-text,
.about-heading,
.promise-h1,
.services-h1,
.gallery-h1,
.testimonials-h1,
.cta-h1,
h2.promise-h1,
h2.services-h1,
h2.gallery-h1,
h2.testimonials-h1,
h2.cta-h1 {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

/* h2.h1-text gets mobile sizing from base rules */
h2.h1-text {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

/* Page Header Styling - Explicit Responsive Typography */
.page-header {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    /* Responsive sizes using CSS variables */
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

@media (min-width: 768px) {
    .page-header {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
    }
}

@media (min-width: 1024px) {
    .page-header {
        font-size: var(--H1-Desktop-Sz) !important;
        line-height: var(--H1-Desktop-Hg) !important;
    }
}

@media (min-width: 1440px) {
    .page-header {
        font-size: calc(var(--H1-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H1-Desktop-Hg) * 1.1) !important;
    }
}

h2, .h2-text {
    font-size: var(--H2-Mobile-Sz) !important;
    line-height: var(--H2-Mobile-Hg) !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px !important;
}

h3, .h3-text, .caption-text, .promise-caption, .services-caption, .gallery-caption, .testimonials-caption, .cta-caption {
    font-size: var(--H3-Mobile-Sz) !important;
    line-height: var(--H3-Mobile-Hg) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.25px !important;
}

h4, .h4-text {
    font-size: var(--H4-Mobile-Sz) !important;
    line-height: var(--H4-Mobile-Hg) !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

h5, .h5-text {
    font-size: var(--H5-Mobile-Sz) !important;
    line-height: var(--H5-Mobile-Hg) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.1px !important;
}

h6, .h6-text {
    font-size: var(--H6-Mobile-Sz) !important;
    line-height: var(--H6-Mobile-Hg) !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.15px !important;
}

/* Tablet Responsive Typography (768px+) */
@media (min-width: 768px) {
    /* Only apply to section-specific classes, NOT .h1-text or .section-heading (handled separately) */
    h1:not(.header-logo):not(.h1-text):not(.section-heading),
    h1.page-header,
    h1.about-heading,
    .page-header,
    .about-heading,
    /* Exclude .h1-text and .section-heading elements - they're handled separately */
    .promise-h1:not(.h1-text):not(.section-heading),
    .services-h1:not(.h1-text):not(.section-heading),
    .gallery-h1:not(.h1-text):not(.section-heading),
    .testimonials-h1:not(.h1-text):not(.section-heading),
    .cta-h1:not(.h1-text):not(.section-heading),
    h2.promise-h1:not(.h1-text):not(.section-heading),
    h2.services-h1:not(.h1-text):not(.section-heading),
    h2.gallery-h1:not(.h1-text):not(.section-heading),
    h2.testimonials-h1:not(.h1-text):not(.section-heading),
    h2.cta-h1:not(.h1-text):not(.section-heading) {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }
    
    /* h2.h1-text gets tablet sizing */
    h2.h1-text {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }

    h2, .h2-text {
        font-size: var(--H2-Tablet-Sz) !important;
        line-height: var(--H2-Tablet-Hg) !important;
    }

    h3, .h3-text, .caption-text, .promise-caption, .services-caption, .gallery-caption, .testimonials-caption, .cta-caption {
        font-size: var(--H3-Tablet-Sz) !important;
        line-height: var(--H3-Tablet-Hg) !important;
    }

    h4, .h4-text {
        font-size: var(--H4-Tablet-Sz) !important;
        line-height: var(--H4-Tablet-Hg) !important;
    }

    h5, .h5-text {
        font-size: var(--H5-Tablet-Sz) !important;
        line-height: var(--H5-Tablet-Hg) !important;
    }

    h6, .h6-text {
        font-size: var(--H6-Tablet-Sz) !important;
        line-height: var(--H6-Tablet-Hg) !important;
    }
}

/* Desktop Responsive Typography (1024px+) */
@media (min-width: 1024px) {
    /* Content section headings - 49px (but NOT .section-heading - it has its own rules) */
    h1.about-heading,
    .about-heading,
    /* Exclude .h1-text and .section-heading elements - they're handled separately */
    .promise-h1:not(.h1-text):not(.section-heading),
    .services-h1:not(.h1-text):not(.section-heading),
    .gallery-h1:not(.h1-text):not(.section-heading),
    .testimonials-h1:not(.h1-text):not(.section-heading),
    .cta-h1:not(.h1-text):not(.section-heading),
    h2.promise-h1:not(.h1-text):not(.section-heading),
    h2.services-h1:not(.h1-text):not(.section-heading),
    h2.gallery-h1:not(.h1-text):not(.section-heading),
    h2.testimonials-h1:not(.h1-text):not(.section-heading),
    h2.cta-h1:not(.h1-text):not(.section-heading) {
        font-size: var(--H1-Desktop-Sz) !important;
        line-height: var(--H1-Desktop-Hg) !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }

    h2, .h2-text {
        font-size: var(--H2-Desktop-Sz) !important;
        line-height: var(--H2-Desktop-Hg) !important;
    }
    
    /* About page specific - h2 elements set to 32px */
    body.about-page-wrapper h2.h2-text {
        font-size: 32px !important;
        line-height: 40px !important;
    }
    
    /* About page specific - h6 elements (like "MEET THE CREATIVE DIRECTOR") */
    body.about-page-wrapper h6.h6-text {
        font-size: 14px !important;
        line-height: 20px !important;
        letter-spacing: 0.1em !important;
    }

    h3, .h3-text, .caption-text, .promise-caption, .services-caption, .gallery-caption, .testimonials-caption, .cta-caption {
        font-size: var(--H3-Desktop-Sz) !important;
        line-height: var(--H3-Desktop-Hg) !important;
    }

    h4, .h4-text {
        font-size: var(--H4-Desktop-Sz) !important;
        line-height: var(--H4-Desktop-Hg) !important;
    }

    h5, .h5-text {
        font-size: var(--H5-Desktop-Sz) !important;
        line-height: var(--H5-Desktop-Hg) !important;
    }

    h6, .h6-text {
        font-size: var(--H6-Desktop-Sz) !important;
        line-height: var(--H6-Desktop-Hg) !important;
    }
    
    /* About page specific - h6 elements */
    body.about-page-wrapper h6.h6-text {
        font-size: 14px !important;
        line-height: 20px !important;
        letter-spacing: 0.1em !important;
    }
}

/* Large Desktop Responsive Typography (1440px+) */
@media (min-width: 1440px) {
    /* Content section headings - 53.9px (but NOT .section-heading - it has its own rules) */
    h1.about-heading,
    .about-heading,
    /* Exclude .h1-text and .section-heading elements - they're handled separately */
    .promise-h1:not(.h1-text):not(.section-heading),
    .services-h1:not(.h1-text):not(.section-heading),
    .gallery-h1:not(.h1-text):not(.section-heading),
    .testimonials-h1:not(.h1-text):not(.section-heading),
    .cta-h1:not(.h1-text):not(.section-heading),
    h2.promise-h1:not(.h1-text):not(.section-heading),
    h2.services-h1:not(.h1-text):not(.section-heading),
    h2.gallery-h1:not(.h1-text):not(.section-heading),
    h2.testimonials-h1:not(.h1-text):not(.section-heading),
    h2.cta-h1:not(.h1-text):not(.section-heading) {
        font-size: calc(var(--H1-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H1-Desktop-Hg) * 1.1) !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }

    h2, .h2-text {
        font-size: calc(var(--H2-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H2-Desktop-Hg) * 1.1) !important;
    }
    
    /* About page specific - h2 elements set to 32px (scaled) */
    body.about-page-wrapper h2.h2-text {
        font-size: calc(32px * 1.1) !important; /* 35.2px */
        line-height: calc(40px * 1.1) !important; /* 44px */
    }
}

/* Header Logo Responsive Typography */
.header-logo {
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    color: black !important;
    /* Mobile First */
    font-size: 24px !important;
}

@media (min-width: 640px) {
    .header-logo {
        font-size: 28px !important;
    }
}

@media (min-width: 768px) {
    .header-logo {
        font-size: 32px !important;
    }
}

@media (min-width: 1024px) {
    .header-logo {
        font-size: 36px !important;
    }
}

@media (min-width: 1280px) {
    .header-logo {
        font-size: 40px !important;
    }
}

/* Additional Responsive Adjustments for Small Text Elements */
/* Caption text adjustments for better mobile readability */
@media (max-width: 480px) {
    .caption-text, .promise-caption, .services-caption, .gallery-caption, .testimonials-caption, .cta-caption {
        font-size: 12px !important;
        line-height: 18px !important;
        letter-spacing: 0.2px !important;
    }
    
    /* Ensure main navigation text scales properly on very small screens */
    .mobile-nav-link {
        font-size: 14px !important;
    }
}

/* Fine-tune spacing for different screen sizes */
@media (max-width: 640px) {
    h1:not(.header-logo):not(.h1-text):not(.section-heading),
    h1.page-header,
    h1.about-heading,
    .page-header,
    .about-heading,
    .promise-h1,
    .services-h1,
    .gallery-h1,
    .testimonials-h1,
    .cta-h1,
    h2.promise-h1,
    h2.services-h1,
    h2.gallery-h1,
    h2.testimonials-h1,
    h2.cta-h1 {
        font-size: calc(var(--H1-Mobile-Sz) * 0.9) !important;
        line-height: calc(var(--H1-Mobile-Hg) * 0.9) !important;
    }
    
    /* .h1-text and .section-heading get their own scaling */
    .h1-text,
    h2.h1-text,
    h1.section-heading,
    h2.section-heading,
    .section-heading {
        font-size: calc(var(--H1-Mobile-Sz) * 0.9) !important;
        line-height: calc(var(--H1-Mobile-Hg) * 0.9) !important;
    }
}

/* Endless Image Banner Carousel */
.image-banner-slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    cursor: grab;
    user-select: none;
    display: flex;
    justify-content: center;
}

.image-banner-slider:active {
    cursor: grabbing;
}

.image-banner-track {
    display: flex;
    width: max-content;
    animation: infiniteScroll 30s linear infinite;
    animation-play-state: running;
    transition: transform 0.1s ease-out;
}

.image-banner-item {
    flex: 0 0 auto;
    width: 33.333vw; /* Each image takes 1/3 of viewport width */
    min-width: 400px; /* Minimum width for smaller screens */
    max-width: 500px; /* Maximum width for larger screens */
    height: 600px;
    margin-right: 1rem;
    overflow: hidden;
    position: relative;
}

.image-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.3s ease;
}

.image-banner-item:hover img {
    transform: scale(1.05);
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Pause animation on hover - handled by JavaScript */

@media (max-width: 768px) {
    .image-banner-item {
        width: 33.333vw; /* Keep 3 images visible on tablet */
        min-width: 300px;
        max-width: 350px;
        height: 500px;
        margin-right: 0.75rem;
    }
    
    .image-banner-track {
        animation-duration: 25s;
    }
}

@media (max-width: 480px) {
    .image-banner-item {
        width: 33.333vw; /* Keep 3 images visible on mobile */
        min-width: 250px;
        max-width: 300px;
        height: 400px;
        margin-right: 0.5rem;
    }
    
    .image-banner-track {
        animation-duration: 30s;
    }
}

/* Custom Aspect Ratio Utilities */
.aspect-w-16 {
    position: relative;
    padding-bottom: 75%; /* 16:12 aspect ratio */
}

.aspect-w-4 {
    position: relative;
    padding-bottom: 125%; /* 4:5 aspect ratio */
}

.aspect-w-16 .aspect-h-12,
.aspect-w-4 .aspect-h-5 {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Color Classes */
.bg-primary {
    background-color: var(--Primary-Color);
}

.text-primary {
    color: var(--Primary-Color) !important;
}

.border-primary {
    border-color: var(--Primary-Color);
}

.hover\:text-primary:hover {
    color: var(--Primary-Color);
}

.hover\:bg-primary:hover {
    background-color: var(--Primary-Color);
}

.hover\:border-primary:hover {
    border-color: var(--Primary-Color);
}

.hover\:text-hover:hover {
    color: var(--Hover-Color);
}

/* Custom Button Styles */
.btn-primary {
    background-color: var(--Primary-Color);
    @apply text-white px-8 py-4 font-medium uppercase tracking-wide hover:opacity-90 transition-colors;
}

.btn-secondary {
    @apply bg-white px-8 py-4 font-medium uppercase tracking-wide hover:bg-gray-100 transition-colors;
    color: var(--Primary-Color);
}

/* Custom Section Spacing */
.section-padding {
    @apply py-20;
}

/* Hero Section Enhancements */
.hero-section {
    background-attachment: fixed;
}

/* Service Card Hover Effects */
.service-card {
    @apply bg-white p-8 shadow-xl transition-all duration-300;
}

.service-card:hover {
    @apply shadow-2xl transform -translate-y-2;
}

/* Gallery Image Hover Effects */
.gallery-image {
    @apply transition-transform duration-300;
}

.gallery-image:hover {
    @apply scale-105;
}

/* Testimonial Quote Styling */
.testimonial-quote {
    @apply text-lg text-gray-600 leading-relaxed italic relative;
}

.testimonial-quote::before {
    content: '"';
    @apply text-4xl text-indigo-300 absolute -top-2 -left-2;
}

.testimonial-quote::after {
    content: '"';
    @apply text-4xl text-indigo-300 absolute -bottom-4 -right-2;
}

/* Mobile Menu Animation */
.mobile-menu {
    @apply transition-all duration-300 ease-in-out;
}

.mobile-menu.hidden {
    @apply opacity-0 max-h-0;
}

.mobile-menu:not(.hidden) {
    @apply opacity-100 max-h-96;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    @apply bg-gray-100;
}

::-webkit-scrollbar-thumb {
    @apply bg-indigo-600;
}

::-webkit-scrollbar-thumb:hover {
    @apply bg-indigo-700;
}

/* ========================================
   ENHANCED SCROLL ANIMATIONS
   ======================================== */

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Fade In Down Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-down {
    animation: fadeInDown 0.8s ease-out;
    animation-fill-mode: both;
}

/* Fade In Left Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
    animation-fill-mode: both;
}

/* Fade In Right Animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out;
    animation-fill-mode: both;
}

/* Scale Up Animation */
@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scale-up {
    animation: scaleUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Zoom In Animation */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
    animation-fill-mode: both;
}

/* Slide In Up Animation (for modals/overlays) */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-up {
    animation: slideInUp 0.5s ease-out;
    animation-fill-mode: both;
}

/* Reveal Animation (for images) */
@keyframes reveal {
    from {
        opacity: 0;
        clip-path: inset(0 100% 0 0);
    }
    to {
        opacity: 1;
        clip-path: inset(0 0 0 0);
    }
}

.reveal {
    animation: reveal 1s ease-out;
    animation-fill-mode: both;
}

/* Stagger Animation Delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
.stagger-7 { animation-delay: 0.7s; }
.stagger-8 { animation-delay: 0.8s; }

/* Animation Duration Variations */
.duration-slow { animation-duration: 1.2s !important; }
.duration-slower { animation-duration: 1.5s !important; }
.duration-fast { animation-duration: 0.5s !important; }

/* Initial Hidden State for Animated Elements */
.animate-on-scroll {
    opacity: 0;
}

/* Active State After Animation Triggers */
.animate-on-scroll.animated {
    opacity: 1;
}

/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Custom Focus States */
.focus-ring {
    @apply focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-gray-600 {
        @apply text-gray-900;
    }
    
    .text-gray-500 {
        @apply text-gray-800;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .parallax {
        background-attachment: scroll;
    }
}

/* Hero Section Styling - Updated to use responsive variables */
.hero-header-text {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

@media (min-width: 768px) {
    .hero-header-text {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
    }
}

@media (min-width: 1024px) {
    .hero-header-text {
        font-size: var(--H1-Desktop-Sz) !important;
        line-height: var(--H1-Desktop-Hg) !important;
    }
}

@media (min-width: 1440px) {
    .hero-header-text {
        font-size: calc(var(--H1-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H1-Desktop-Hg) * 1.1) !important;
    }
}

.hero-body-text {
    color: var(--Primary-On-Primary-Container);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: var(--H4-Large-Sz);
    font-style: normal;
    font-weight: 500;
    line-height: var(--H4-Large-Hg);
    letter-spacing: var(--H4-Large-Sp);
}

.hero-button {
    display: flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--Primary-Color);
}

.hero-button-text {
    color: var(--Primary-Color);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: var(--Buttons-Medium-Sz);
    font-style: normal;
    font-weight: 500;
    line-height: var(--Body-Medium-Hg);
    letter-spacing: var(--H1-Large-Sp);
}

/* Caption Text Styling */
.caption-text {
    color: var(--Primary-On-Primary-Container);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: var(--Caption-Large-Sz);
    font-style: normal;
    font-weight: 500;
    line-height: var(--Caption-Large-Hg);
    letter-spacing: var(--Caption-Large-Sp);
}

/* H1 Text Styling - Explicit Responsive Typography */
/* Higher specificity to override section-specific classes */
h1.h1-text,
h2.h1-text,
.h1-text {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    /* Responsive sizes using CSS variables */
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

/* Section Heading Styling - Unified for all section headers */
h1.section-heading,
h2.section-heading,
.section-heading {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    /* Responsive sizes using CSS variables */
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

@media (min-width: 768px) {
    h1.h1-text,
    h2.h1-text,
    .h1-text {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
    }
    
    /* Section heading tablet sizing */
    h1.section-heading,
    h2.section-heading,
    .section-heading {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
    }
}

@media (min-width: 1024px) {
    h1.h1-text,
    h2.h1-text,
    .h1-text {
        font-size: var(--H1-Desktop-Sz) !important;
        line-height: var(--H1-Desktop-Hg) !important;
    }
    
    /* Section heading - unified styling for all section headers */
    h1.section-heading,
    h2.section-heading,
    .section-heading {
        font-size: var(--H1-Desktop-Sz) !important;
        line-height: var(--H1-Desktop-Hg) !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }
}

@media (min-width: 1440px) {
    h1.h1-text,
    h2.h1-text,
    .h1-text {
        font-size: calc(var(--H1-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H1-Desktop-Hg) * 1.1) !important;
    }
    
    /* Section heading - unified styling for all section headers */
    h1.section-heading,
    h2.section-heading,
    .section-heading {
        font-size: calc(var(--H1-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H1-Desktop-Hg) * 1.1) !important;
        font-family: 'Josefin Sans', sans-serif !important;
        font-weight: 600 !important;
        letter-spacing: -0.5px !important;
    }
}

/* First Body Text Styling */
.body-text {
    color: var(--Primary-On-Primary-Container);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: var(--Body-Medium-Sz);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Body-Medium-Hg);
    letter-spacing: var(--Body-Medium-Sp);
}

/* Second Body Text Styling */
.body-text-bold {
    color: var(--Primary-On-Primary-Container);
    text-align: center;
    font-family: Inter, sans-serif;
    font-size: var(--Body-Medium-Sz);
    font-style: normal;
    font-weight: 700;
    line-height: var(--Body-Medium-Hg);
    letter-spacing: var(--Body-Medium-Sp);
}

/* Layout Styling */
.layout-container {
    display: flex;
    width: 640px;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    flex-shrink: 0;
}

/* Custom Utilities */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7);
}

/* Gradient Overlays */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(74, 74, 138, 0.9) 0%, rgba(99, 102, 241, 0.8) 100%);
}

/* Custom Card Styles */
.card {
    @apply bg-white shadow-lg overflow-hidden;
}

.card-header {
    @apply px-6 py-4 border-b border-gray-200;
}

.card-body {
    @apply px-6 py-4;
}

.card-footer {
    @apply px-6 py-4 border-t border-gray-200 bg-gray-50;
}

/* Form Styles */
.form-input {
    @apply w-full px-4 py-3 border border-gray-300 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition-colors;
}

.form-label {
    @apply block text-sm font-medium text-gray-700 mb-2;
}

/* Navigation Styles */
.nav-link {
    @apply text-indigo-800 hover:text-indigo-600 font-medium uppercase tracking-wide transition-colors relative;
}

.nav-link::after {
    content: '';
    @apply absolute bottom-0 left-0 w-0 h-0.5 bg-indigo-600 transition-all duration-300;
}

.nav-link:hover::after {
    @apply w-full;
}

/* Logo Animation */
.logo-animation {
    @apply transition-transform duration-300 hover:scale-105;
}

/* Social Media Icons */
.social-icon {
    @apply w-10 h-10 bg-white flex items-center justify-center text-gray-800 hover:bg-gray-200 transition-colors;
}

/* Custom Grid */
.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Image Overlay Effects */
.image-overlay {
    @apply relative overflow-hidden;
}

.image-overlay::before {
    content: '';
    @apply absolute inset-0 bg-black bg-opacity-0 transition-all duration-300 z-10;
}

.image-overlay:hover::before {
    @apply bg-opacity-30;
}

/* Custom Spacing */
.space-y-16 > * + * {
    margin-top: 4rem;
}

.space-y-20 > * + * {
    margin-top: 5rem;
}

/* Custom Typography */
.heading-xl {
    @apply text-5xl md:text-6xl font-marcellus font-bold;
}

.heading-lg {
    @apply text-4xl md:text-5xl font-marcellus font-bold;
}

.heading-md {
    @apply text-3xl md:text-4xl font-marcellus font-bold;
}

.heading-sm {
    @apply text-2xl md:text-3xl font-marcellus font-bold;
}

/* Custom Colors - Removed conflicting definitions to use CSS variables */

.border-primary {
    @apply border-purple-800;
}

/* Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-slow {
    animation: pulse-slow 2s ease-in-out infinite;
}

/* Simple fade in animation - no blinking */
@keyframes simpleFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: simpleFadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Font loading optimization */
.font-great-vibes {
    font-display: swap;
    font-family: 'Great Vibes', 'Brush Script MT', cursive;
}

/* Ensure Great Vibes loads properly */
@font-face {
    font-family: 'Great Vibes';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/greatvibes/v13/RWmQoPZ8V4CcoUJVhAIAiX0QnK3SujOj.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========================================
   INLINE STYLES EXTRACTED TO EXTERNAL CSS
   ======================================== */

/* Hero Section Tagline Styling - Responsive */
.hero-tagline {
    color: white !important;
    text-align: center !important;
    font-family: 'Great Vibes', 'Brush Script MT', cursive !important;
    font-weight: 100 !important;
    letter-spacing: -0.678px !important;
    /* Mobile First */
    font-size: 32px !important;
    line-height: 40px !important;
}

@media (min-width: 640px) {
    .hero-tagline {
        font-size: 36px !important;
        line-height: 44px !important;
    }
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 40px !important;
        line-height: 48px !important;
    }
}

@media (min-width: 1024px) {
    .hero-tagline {
        font-size: 45px !important;
        line-height: 55px !important;
    }
}

@media (min-width: 1280px) {
    .hero-tagline {
        font-size: 49px !important;
        line-height: 58px !important;
    }
}

/* About Section Heading Styling - Explicit Typography Settings */
.about-heading {
    display: block !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.5px !important;
    /* Responsive sizes handled by CSS variables */
    font-size: var(--H1-Mobile-Sz) !important;
    line-height: var(--H1-Mobile-Hg) !important;
}

@media (min-width: 768px) {
    .about-heading {
        font-size: var(--H1-Tablet-Sz) !important;
        line-height: var(--H1-Tablet-Hg) !important;
    }
}

@media (min-width: 1024px) {
    .about-heading {
        font-size: var(--H1-Desktop-Sz) !important;
        line-height: var(--H1-Desktop-Hg) !important;
    }
}

@media (min-width: 1440px) {
    .about-heading {
        font-size: calc(var(--H1-Desktop-Sz) * 1.1) !important;
        line-height: calc(var(--H1-Desktop-Hg) * 1.1) !important;
    }
}

/* About Section Paragraph Styling */
.about-paragraph {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 300 !important;
    line-height: 1.6 !important;
    color: #374151 !important;
}

/* About Section Button Styling */
.about-button {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #53226D !important;
    border-color: #53226D !important;
    background-color: white !important;
    transition: all 0.3s ease !important;
}

.about-button:hover {
    background-color: #53226D !important;
    color: white !important;
    border-color: #53226D !important;
}

/* Our Promise Section Caption Styling */
.promise-caption {
    color: var(--Primary-Color) !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
}

/* Our Promise Section H1 Styling */
.promise-h1 {
    color: var(--Primary-Color) !important;
    text-align: center !important;
    /* Font size, family, weight, line-height, and letter-spacing handled by responsive system */
}

/* Our Promise Section Body Text Styling */
.promise-body-text {
    color: #291135 !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    letter-spacing: -0.5px !important;
}

/* Our Promise Section Bold Text Styling */
.promise-body-bold {
    color: #291135 !important;
    font-weight: 700 !important;
}

/* Our Promise Section Button Styling */
.promise-button {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #53226D !important;
    border-color: #53226D !important;
    background-color: #FFF0FF !important;
    transition: all 0.3s ease !important;
}

.promise-button:hover {
    background-color: #53226D !important;
    color: white !important;
    border-color: #53226D !important;
}

/* Services Section Background */
.services-bg {
    background-color: #53226D !important;
}

/* Services Section Caption Styling */
.services-caption {
    color: white !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
}

/* Services Section H1 Styling */
.services-h1 {
    color: white !important;
    text-align: center !important;
    /* Font size, family, weight, line-height, and letter-spacing handled by responsive system */
}

/* Service Card Link Styling */
.service-card-link {
    font-family: 'Great Vibes', 'Brush Script MT', cursive !important;
    color: white !important;
    text-align: center !important;
    font-size: 2.25rem !important;
    transition: all 0.3s ease !important;
}

.service-card-link:hover {
    color: #291135 !important;
}

/* Service Card Title Styling - Responsive */
.service-card-title {
    font-family: 'Great Vibes', 'Brush Script MT', cursive !important;
    color: white !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    /* Mobile First */
    font-size: 28px !important;
    line-height: 36px !important;
}

@media (min-width: 640px) {
    .service-card-title {
        font-size: 32px !important;
        line-height: 40px !important;
    }
}

@media (min-width: 768px) {
    .service-card-title {
        font-size: 36px !important;
        line-height: 44px !important;
    }
}

@media (min-width: 1024px) {
    .service-card-title {
        font-size: 40px !important;
        line-height: 48px !important;
    }
}

@media (min-width: 1280px) {
    .service-card-title {
        font-size: 44px !important;
        line-height: 52px !important;
    }
}

/* Gallery Section Caption Styling */
.gallery-caption {
    color: var(--Primary-Color) !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
}

/* Gallery Section H1 Styling */
.gallery-h1 {
    color: var(--Primary-Color) !important;
    text-align: center !important;
    line-height: 1.1 !important;
    /* Font size, family, weight, and letter-spacing handled by responsive system */
}

/* Gallery Section Button Styling */
.gallery-button {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #53226D !important;
    border-color: #53226D !important;
    background-color: white !important;
    transition: all 0.3s ease !important;
}

.gallery-button:hover {
    background-color: #53226D !important;
    color: white !important;
    border-color: #53226D !important;
}

/* Testimonials Section Background */
.testimonials-bg {
    background-color: #f8f4f8;
}

/* Testimonials Section Caption Styling */
.testimonials-caption {
    color: var(--Primary-Color) !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
}

/* Testimonials Section H1 Styling */
.testimonials-h1 {
    color: var(--Primary-Color) !important;
    text-align: center !important;
    line-height: 1.1 !important;
    /* Font size, family, weight, and letter-spacing handled by responsive system */
}

/* Testimonial Image Styling - Semi-circular top frame */
.testimonial-image {
    height: 500px;
    position: relative;
    overflow: hidden;
    /* The actual clipping will be done by .curved-top */
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Apply the semi-circular top frame effect */
.testimonial-image.curved-top {
    /* Create a deep, wide concave curve at the top */
    border-radius: 50% 50% 0 0 / 200px 200px 0 0;
}

/* Testimonial Quote Styling */
.testimonial-quote {
    color: #291135 !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 24px !important;
    letter-spacing: -0.5px !important;
}

/* Testimonial Author Styling */
.testimonial-author {
    color: #291135 !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
}

/* CTA Section Caption Styling */
.cta-caption {
    color: white !important;
    text-align: center !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
}

/* CTA Section H1 Styling */
.cta-h1 {
    color: white !important;
    text-align: center !important;
    /* Font size, family, weight, line-height, and letter-spacing handled by responsive system */
}

/* CTA Section Button Styling */
.cta-button {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: white !important;
    border-color: white !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
}

.cta-button:hover {
    background-color: white !important;
    color: black !important;
    border-color: white !important;
}

/* Footer Tagline Styling */
.footer-tagline {
    color: white !important;
    font-family: 'Great Vibes', 'Brush Script MT', cursive !important;
    font-size: 18px !important;
}

/* Image Banner Slider Styling */
.image-banner-slider {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
    cursor: grab !important;
    user-select: none !important;
}

.image-banner-slider:active {
    cursor: grabbing !important;
}

/* Image Banner Track Styling */
.image-banner-track {
    display: flex !important;
    width: max-content !important;
    animation: infiniteScroll 30s linear infinite !important;
    animation-play-state: running !important;
    transition: transform 0.1s ease-out !important;
}

/* Image Banner Item Styling */
.image-banner-item {
    flex: 0 0 auto !important;
    width: 33.333vw !important; /* Each image takes 1/3 of viewport width */
    min-width: 400px !important; /* Minimum width for smaller screens */
    max-width: 500px !important; /* Maximum width for larger screens */
    height: 600px !important;
    margin-right: 1rem !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Image Banner Item Image Styling */
.image-banner-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    image-rendering: high-quality !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
}

/* Calendly Widget Styling */
.calendly-widget {
    min-width: 320px;
    height: 700px;
}

/* Fallback Logo Styling */
.fallback-logo {
    display: none;
}

/* Background Image Styling - CTA Section */

.cta-bg-image {
    background-image: url('../images/4.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Testimonial Navigation Buttons */
.testimonial-nav-button {
    color: #6b7280 !important;
    transition: all 0.3s ease !important;
}

.testimonial-nav-button:hover {
    color: #53226D !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .image-banner-item {
        width: 33.333vw !important; /* Keep 3 images visible on tablet */
        min-width: 300px !important;
        max-width: 350px !important;
        height: 500px !important;
        margin-right: 0.75rem !important;
    }
    
    .image-banner-track {
        animation-duration: 25s !important;
    }
}

@media (max-width: 480px) {
    .image-banner-item {
        width: 33.333vw !important; /* Keep 3 images visible on mobile */
        min-width: 250px !important;
        max-width: 300px !important;
        height: 400px !important;
        margin-right: 0.5rem !important;
    }
    
    .image-banner-track {
        animation-duration: 30s !important;
    }
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

/* Services Page Hero Section */
.services-hero {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Services Section Styling */
.services-section {
    background-color: #ffffff;
}

.services-section-alt {
    background-color: #f9fafb;
}

/* Service Image Styling */
.service-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0;
    overflow: hidden;
}

.service-image:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Service Content Styling */
.service-content h2 {
    color: #291135;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.service-content h3 {
    color: #291135;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    line-height: 1.3;
}

.service-content p {
    color: #374151;
    line-height: 1.6;
}

.service-content ul li {
    color: #374151;
    line-height: 1.5;
}

/* Service Bullet Points */
.service-bullet {
    color: #53226D;
    font-weight: 600;
}

/* CTA Button Styling */
.cta-button {
    border: 2px solid #1f2937;
    color: #1f2937;
    background-color: transparent;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #1f2937;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments for Services */
@media (max-width: 768px) {
    .service-image {
        height: 300px;
    }
    
    .service-content h2 {
        font-size: 2rem;
    }
    
    .service-content h3 {
        font-size: 1.25rem;
    }
}

@media (min-width: 769px) {
    .service-image {
        height: 400px;
    }
}

/* ========================================
   FORM VALIDATION STYLES
   ======================================== */

/* Error state styling */
.border-red-500 {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
}

.border-red-500:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
    ring-color: #ef4444 !important;
}

/* Error message styling */
.error-message {
    color: #ef4444 !important;
    font-size: 0.75rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
}

/* Form notification animations */
.form-notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Success state styling */
.border-green-500 {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 1px #10b981 !important;
}

/* ========================================
   TOOLTIP STYLES
   ======================================== */

/* Tooltip z-index fix to ensure it appears on top of everything */
#tooltip {
    z-index: 99999 !important;
    position: fixed !important;
    pointer-events: auto !important;
    backdrop-filter: blur(8px) !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    border: none !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3) !important;
    color: #291135 !important;
}

/* Ensure tooltip appears above all other elements */
#tooltip * {
    z-index: 99999 !important;
}

/* Tooltip button styling to ensure it's clickable */
#tooltip button {
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100000 !important;
}

/* Tooltip arrow styling */
#tooltip .absolute {
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.3)) !important;
}

/* ========================================
   BENTO GALLERY STYLES
   ======================================== */

/* Bento Gallery Grid Layout */
.bento-gallery {
    display: grid;
    gap: 1rem;
    grid-auto-rows: 200px;
}

/* Bento Gallery Item Styles */
.bento-gallery .gallery-item {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.bento-gallery .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Bento Grid Layout - Mobile First */
@media (max-width: 767px) {
    .bento-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    
    .bento-gallery .gallery-item.col-span-2,
    .bento-gallery .gallery-item.row-span-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Bento Grid Layout - Tablet */
@media (min-width: 768px) {
    .bento-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    
    .bento-gallery .gallery-item.col-span-2 {
        grid-column: span 2;
    }
    
    .bento-gallery .gallery-item.row-span-2 {
        grid-row: span 2;
    }
}

/* Bento Grid Layout - Desktop */
@media (min-width: 1024px) {
    .bento-gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }
    
    .bento-gallery .gallery-item.col-span-2 {
        grid-column: span 2;
    }
    
    .bento-gallery .gallery-item.row-span-2 {
        grid-row: span 2;
    }
}

/* Gallery Item Image Styling */
.bento-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.bento-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

/* Gallery Item Overlay */
.bento-gallery .gallery-item .absolute {
    transition: all 0.3s ease;
}

.bento-gallery .gallery-item:hover .absolute {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments for Bento Gallery */
@media (max-width: 640px) {
    .bento-gallery {
        gap: 0.75rem;
        grid-auto-rows: 200px;
    }
}

@media (min-width: 1280px) {
    .bento-gallery {
        gap: 1.5rem;
        grid-auto-rows: 220px;
    }
}

/* ========================================
   FLOATING HEADER STYLES
   ======================================== */

/* Smooth floating header transitions */
header {
    transition: all 0.3s ease-in-out !important;
    will-change: transform, background-color, padding, box-shadow;
}

/* Scrolled Header State */
header.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Header Logo Transition */
.header-logo {
    transition: font-size 0.3s ease-in-out !important;
}

/* ========================================
   ENHANCED PARALLAX EFFECTS
   ======================================== */

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

/* Parallax Layer */
.parallax-layer {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Smooth Parallax Background */
.smooth-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.5s ease-out;
}

/* Image Parallax Effect */
.image-parallax {
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   TEXT REVEAL ANIMATIONS
   ======================================== */

/* Split Text Animation */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}

.text-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.6s ease-out forwards;
}

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

/* Underline Reveal Animation */
.underline-reveal {
    position: relative;
    display: inline-block;
}

.underline-reveal::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--Primary-Color);
    transition: width 0.6s ease-out;
}

.underline-reveal.active::after {
    width: 100%;
}

/* ========================================
   IMAGE HOVER EFFECTS
   ======================================== */

/* Image Scale Hover */
.image-hover-scale {
    overflow: hidden;
}

.image-hover-scale img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-hover-scale:hover img {
    transform: scale(1.08);
}

/* Image Zoom with Overlay */
.image-zoom-overlay {
    position: relative;
    overflow: hidden;
}

.image-zoom-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(83, 34, 109, 0);
    transition: background 0.4s ease;
    z-index: 1;
}

.image-zoom-overlay:hover::before {
    background: rgba(83, 34, 109, 0.2);
}

.image-zoom-overlay img {
    transition: transform 0.6s ease;
}

.image-zoom-overlay:hover img {
    transform: scale(1.1);
}
