/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5282;
    --secondary-color: #ed8936;
    --cta-peach: #FF8E5E;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f0f4f8;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --soft-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-bg-light: rgba(255, 255, 255, 0.15);
    --glass-bg-strong: rgba(255, 255, 255, 0.7);
    --glass-bg-card: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-border-strong: rgba(255, 255, 255, 0.5);
    --glass-blur: 16px;
    --glass-blur-strong: 24px;
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    backdrop-filter: blur(var(--glass-blur)) saturate(180%);
    box-shadow: var(--glass-shadow);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 40px;
    max-width: 100%;
    transition: all 0.3s ease;
}

.navbar.scrolled .container {
    padding: 0.35rem 40px;
}

.logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 45px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section with Slider */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-color);
    /* Soft faint gradient background (blue to lighter blue) */
    background: linear-gradient(180deg, rgba(240, 249, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
    margin-top: 0;
    padding-top: 70px;
    /* account for fixed navbar */
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Keep transparent: remove white faint overlay */
    background: transparent;
}

/* Slider Controls - Glassmorphism */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

/* Slider Indicators - Glassmorphism */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 16px;
    border-radius: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

.indicator.active {
    background: var(--white);
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: var(--primary-color);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
    color: #6b7280;
    /* neutral grey */
}

/* Hero-specific CTA override (peach color) */
.hero .btn-primary {
    background: var(--cta-peach);
    color: #fff;
    border: none;
}

.hero .btn-primary:hover {
    background: #ff7a63;
    /* slightly darker peach */
}

/* Set headings to the primary blue color */
h1,
h2,
h3,
h4,
h5 {
    color: var(--primary-color);
}

/* About text neutral grey */
.about-content p {
    color: #6b7280;
}

.btn-primary {
    display: inline-block;
    padding: 12px 36px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #dd6b20 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(237, 137, 54, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #dd6b20 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(237, 137, 54, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.3);
    transform: translateY(-2px);
}

/* About Section - Glassmorphism */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(240, 244, 248, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 142, 94, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(44, 82, 130, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #6b7280;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}

/* Dynamic hero text classes - used by JS to change based on bg brightness */
.hero.dark-text .hero-title,
.hero.dark-text .hero-subtitle,
.hero.dark-text .hero-description {
    color: #ffffff !important;
    /* force white text when image is dark */
}

.hero.light-text .hero-title,
.hero.light-text .hero-subtitle,
.hero.light-text .hero-description {
    color: var(--primary-color) !important;
    /* keep original primary color when image is light */
}

/* Stats Section - Glassmorphism */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0e6ff 50%, #ffeee6 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    animation: floatGradient 15s ease-in-out infinite;
}

@keyframes floatGradient {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes movePattern {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(100px) translateY(100px);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    /* blue numbers */
    position: relative;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    /* grey text */
    line-height: 1.4;
}

/* stat-icon added for small peach icon above the number */
.stat-icon {
    font-size: 2rem;
    color: var(--cta-peach);
    margin-bottom: 0.6rem;
    text-shadow: 0 4px 15px rgba(255, 142, 94, 0.3);
}

/* Default accent for service/package icons */
.accent-peach {
    color: var(--cta-peach);
}

.accent-blue {
    color: var(--primary-color);
}

/* Services Section - Glassmorphism */
.services {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 248, 0.9) 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 142, 94, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(44, 82, 130, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.65);
    padding: 2rem 1.75rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.35s cubic-bezier(.2, .9, .2, 1);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--cta-peach);
    /* default to peach */
}

.service-icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Glow underline for service and package cards */
.service-card::after,
.package-card::after {
    content: '';
    display: block;
    height: 4px;
    width: 0;
    margin: 14px auto 0 auto;
    background: linear-gradient(90deg, transparent, var(--cta-peach), transparent);
    border-radius: 4px;
    transition: width 0.28s cubic-bezier(.2, .9, .2, 1), box-shadow 0.28s ease;
    box-shadow: none;
}

.service-card:hover::after,
.package-card:hover::after {
    width: 60%;
    box-shadow: 0 0 18px rgba(255, 142, 94, 0.35);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Packages Section - Glassmorphism */
.packages {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    position: relative;
}

.packages::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 142, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

.packages-grid {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) transparent;
}

.packages-grid::-webkit-scrollbar {
    height: 6px;
}

.packages-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.packages-grid::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.packages-grid .package-card {
    flex: 0 0 calc(25% - 1.5rem);
    min-width: 280px;
    scroll-snap-align: start;
}

@media (max-width: 1200px) {
    .packages-grid .package-card {
        flex: 0 0 calc(33.333% - 1.5rem);
    }
}

@media (max-width: 992px) {
    .packages-grid .package-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .packages-grid .package-card {
        flex: 0 0 85%;
        min-width: 260px;
    }
}

.package-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(.2, .9, .2, 1);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.15);
    border-color: rgba(255, 142, 94, 0.25);
}

/* Featured card - subtle highlight, same hover behavior */
.package-card.featured {
    border-color: rgba(255, 142, 94, 0.2);
}

.package-image {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
}

.package-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.package-card:hover .package-image::after {
    opacity: 1;
}

.package-card:hover .package-image {
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, var(--cta-peach) 0%, #f97316 100%);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 142, 94, 0.4);
    z-index: 2;
}

.package-badge.special {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.4);
}

.package-content {
    padding: 1.75rem 2rem 2rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-content p {
    flex: 1;
    margin-bottom: 1.25rem;
}

.package-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 1rem;
    flex-shrink: 0;
}

.package-icon.accent-peach {
    background: rgba(255, 142, 94, 0.12);
    color: var(--cta-peach);
}

.package-icon.accent-blue {
    background: rgba(44, 82, 130, 0.1);
    color: var(--primary-color);
}

.package-card:hover .package-icon {
    transform: scale(1.1);
}

.package-icon {
    transition: transform 0.3s ease;
}

.package-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.package-content .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 28px;
    background: rgba(44, 82, 130, 0.08);
    border: 2px solid var(--primary-color);
    font-size: 0.9rem;
}

.package-content .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Gallery Section - Glassmorphism */
.gallery {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse, rgba(44, 82, 130, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Gallery with Video Layout */
.gallery-with-video {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.25rem;
}

.gallery-with-video .gallery-video-container {
    grid-column: 4;
    grid-row: 1 / 3;
}

/* Gallery Video Container */
.gallery-video-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    background: #000;
}

.gallery-video-container:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.gallery-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-video-container:hover .video-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.video-overlay i {
    font-size: 4rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.gallery-video-container:hover .video-overlay i {
    transform: scale(1.1);
}

.video-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.video-mute-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
}

/* Fullscreen Video Modal */
.video-fullscreen-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-fullscreen-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-fullscreen-modal video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-fullscreen-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-fullscreen-unmute {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    border-radius: 50px;
    background: var(--secondary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.video-fullscreen-unmute:hover {
    background: #dd6b20;
    transform: translateX(-50%) scale(1.05);
}

.video-fullscreen-unmute.hidden {
    display: none;
}

.gallery-btn-container {
    text-align: center;
    margin-top: 2.5rem;
}

/* Image Modal / Lightbox */
.image-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.image-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.image-modal .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    transition: opacity 0.25s ease;
}

.image-modal .modal-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    transform: translateY(10px) scale(0.98);
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.image-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    max-height: calc(90vh - 40px);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255, 255, 255, 0.68);
    /* white shade with 68% opacity */
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: rgba(17, 24, 39, 0.65);
    /* cross at about 65% opacity */
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.6rem;
    /* larger cross that fills the circle */
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
    backdrop-filter: blur(4px);
}

.modal-close:hover {
    transform: scale(1.03);
    /* subtle grow on hover, NO TILT */
    background: rgba(255, 255, 255, 0.92);
    /* slightly more solid on hover */
    color: rgba(17, 24, 39, 0.92);
    /* make cross more visible on hover */
}

.modal-close:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(226, 232, 240, 0.6);
}

/* Increase touch target while keeping the visual small */
.modal-close::before {
    content: '';
    position: absolute;
    inset: -10px;
    /* increases the clickable area */
}

/* Contact Section - Glassmorphism */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #e8f0fe 0%, #f5e6ff 50%, #ffe8e0 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 142, 94, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.contact::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(44, 82, 130, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
    align-items: start;
}

/* Form Card - Glassmorphism */
.contact-form-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cta-peach) 0%, #f97316 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(255, 142, 94, 0.35);
}

.form-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--cta-peach);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 142, 94, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
    color: #94a3b8;
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-send {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-send i {
    font-size: 0.9rem;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Info Card - Glassmorphism */
.contact-info-card {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 1;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(51, 65, 85, 0.3);
}

.info-card-header h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.15rem;
}

.info-card-header p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 237, 213, 0.9) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cta-peach);
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 220, 180, 0.5);
}

/* Flip phone icon for Call Us */
.info-item-icon.call-icon {
    transform: scaleX(-1);
}

.info-item-content {
    flex: 1;
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.info-item a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.info-item a:hover {
    color: var(--cta-peach);
}

/* Map Card - Glassmorphism */
.contact-map-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-map-card.clean-map {
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.contact-map-card.clean-map iframe {
    display: block;
}

.contact-map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.map-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.map-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

.btn-map {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-map:hover {
    background: white;
    transform: translateY(-2px);
}

.btn-map i {
    font-size: 0.75rem;
}

/* Social Links Row */
.contact-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.contact-social span {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.social-icons a:hover {
    background: rgba(255, 142, 94, 0.2);
    border-color: var(--cta-peach);
    color: var(--cta-peach);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 142, 94, 0.2);
}

/* Contact Responsive */
@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .form-header,
    .info-card-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Footer - Glassmorphism */
.footer {
    background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.98) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.social-links a i {
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        backdrop-filter: blur(20px) saturate(180%);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: 15px;
    }

    .slider-btn.next {
        right: 15px;
    }

    .slider-indicators {
        bottom: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid,
    .services-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-grid .gallery-item {
        height: 150px;
    }

    /* Mobile Gallery with Video */
    .gallery-with-video {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 0.75rem;
    }

    .gallery-with-video .gallery-video-container {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 200px;
        order: 4;
    }

    .gallery-with-video .gallery-item {
        height: 150px;
    }

    .logo img {
        height: 70px;
    }

    .navbar.scrolled .logo img {
        height: 45px;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Mobile WhatsApp and Chatbot positioning */
    .whatsapp-float {
        bottom: 80px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .chatbot-toggle {
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    /* Mobile Contact Section */
    .contact-content {
        gap: 1.5rem;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 1.25rem;
    }

    .contact-header h2 {
        font-size: 1.25rem;
    }

    .info-item {
        gap: 0.75rem;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .info-text h4 {
        font-size: 0.85rem;
    }

    .info-text p {
        font-size: 0.8rem;
    }

    .contact-map-card.clean-map {
        height: auto;
    }

    .contact-map-card.clean-map iframe {
        height: 200px;
    }

    .contact-social {
        text-align: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .social-icons {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   MODERN MINIMAL CHATBOT - Premium Redesign
   Finally gave this chatbot the love it deserves ♥
   ═══════════════════════════════════════════════════════════════════════════════ */

/* Promo Popup Modal */
.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.promo-popup-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.promo-popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    animation: popupSlideIn 0.4s ease;
}

@keyframes popupSlideIn {
    from {
        transform: scale(0.8) translateY(30px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.promo-popup-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.promo-popup-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #333;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.promo-popup-close:hover {
    background: #ff4444;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.promo-countdown {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.promo-countdown span {
    color: var(--secondary-color);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4),
        0 8px 32px rgba(37, 211, 102, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5),
        0 12px 40px rgba(37, 211, 102, 0.25);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* Floating Toggle Button - The welcoming entry point */
.chatbot-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
    border: none;
    border-radius: 50%;
    color: #000000;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 142, 94, 0.4),
        0 8px 32px rgba(255, 142, 94, 0.2);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Prevent overflow */
    max-width: calc(100vw - 48px);
}

.chatbot-toggle:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 142, 94, 0.5),
        0 12px 40px rgba(255, 142, 94, 0.25);
}

/* Subtle bounce animation on hover */
.chatbot-toggle:hover i {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Notification Badge - Clean and minimal */
.chatbot-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #1D4E89;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    border: 2px solid white;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(29, 78, 137, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 6px rgba(29, 78, 137, 0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Main Container - Clean white floating widget with smooth open animation
   ═══════════════════════════════════════════════════════════════════════════════ */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 380px;
    height: 560px;
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.04);
    border: 1px solid #E5EAF0;
    z-index: 1000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
}

.chatbot-container.active {
    display: flex;
    animation: chatbotOpen 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes chatbotOpen {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Header - Brand Orange, vibrant and premium
   ═══════════════════════════════════════════════════════════════════════════════ */
.chatbot-header {
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
    color: white;
    padding: 1.1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay for depth */
.chatbot-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    pointer-events: none;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Bot Avatar in Header */
.chatbot-header-info>i {
    display: none;
    /* Hide the old icon, we'll use a custom avatar */
}

.chatbot-header-info::before {
    content: 'PH';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chatbot-status {
    font-size: 0.75rem;
    opacity: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #FFFFFF;
    font-weight: 500;
}

.chatbot-status i {
    font-size: 0.5rem;
    color: #4ADE80;
    filter: drop-shadow(0 0 3px #4ADE80);
    animation: statusGlow 2s ease-in-out infinite;
}

@keyframes statusGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 3px #4ADE80);
    }

    50% {
        opacity: 0.7;
        transform: scale(0.9);
        filter: drop-shadow(0 0 6px #4ADE80);
    }
}

/* Close Button - Refined */
.chatbot-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Messages Area - Clean, breathable, smooth scrolling
   ═══════════════════════════════════════════════════════════════════════════════ */
.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #F7F9FC;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scroll-behavior: smooth;
}

/* Elegant scrollbar */
.chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #D1D9E6;
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #B8C4D6;
}

/* Message Base Styles with Animation */
.bot-message,
.user-message {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

/* Message animation */
.message-animate {
    animation: messageSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade out animation for suggestions */
.fade-out {
    animation: fadeOut 0.2s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-5px);
    }
}

.user-message {
    flex-direction: row-reverse;
}

/* Message Avatars - Vibrant and friendly */
.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
    color: #000000;
    box-shadow: 0 4px 12px rgba(255, 112, 67, 0.3);
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #1D4E89 0%, #2563A6 100%);
    color: #000000;
    box-shadow: 0 4px 12px rgba(29, 78, 137, 0.25);
}

/* Message Content */
.message-content {
    max-width: 78%;
}

/* Bot Message Bubble - Clean with orange accent */
.bot-message .message-content p {
    background: #FFFFFF;
    color: #2D3748;
    padding: 0.9rem 1.15rem;
    border-radius: 18px 18px 18px 4px;
    margin: 0;
    box-shadow: 0 2px 12px rgba(255, 142, 94, 0.12);
    border: 1.5px solid #FFE0D0;
    line-height: 1.55;
    font-size: 0.9rem;
}

/* User Message Bubble - Blue gradient */
.user-message .message-content p {
    background: linear-gradient(135deg, #1D4E89 0%, #2563A6 100%);
    color: white;
    padding: 0.9rem 1.15rem;
    border-radius: 18px 18px 4px 18px;
    margin: 0;
    box-shadow: 0 4px 15px rgba(29, 78, 137, 0.3);
    border: none;
    line-height: 1.55;
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Quick Reply Buttons - Vibrant orange brand
   ═══════════════════════════════════════════════════════════════════════════════ */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 0.875rem;
}

.quick-reply {
    background: #FFFFFF;
    border: 2px solid #FF8E5E;
    color: #FF7043;
    padding: 0.65rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 142, 94, 0.15);
    line-height: 1;
}

.quick-reply i {
    font-size: 0.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

/* Flip phone icon to face outward */
.quick-reply i.fa-phone-alt {
    transform: scaleX(-1);
}

.quick-reply:hover {
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 112, 67, 0.4);
}

.quick-reply:hover i {
    transform: scale(1.15);
}

.quick-reply:hover i.fa-phone-alt {
    transform: scaleX(-1) scale(1.15);
}

.quick-reply:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 112, 67, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Follow-up Section - Contextual suggestions after bot replies
   ═══════════════════════════════════════════════════════════════════════════════ */
.follow-up-section {
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 1px dashed #FFD4C2;
}

.follow-up-label {
    display: block;
    font-size: 0.75rem;
    color: #8B9AAF;
    font-weight: 500;
    margin-bottom: 0.625rem;
    letter-spacing: 0.3px;
}

.follow-up-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.follow-up-buttons .quick-reply {
    padding: 0.5rem 0.875rem;
    font-size: 0.8rem;
    background: #FFF9F6;
    border-width: 1.5px;
}

.follow-up-buttons .quick-reply:hover {
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Suggestions Bar - Modern floating suggestions (outside bubbles)
   ═══════════════════════════════════════════════════════════════════════════════ */
.suggestions-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-left: 48px;
    background: linear-gradient(135deg, #FFF9F6 0%, #FFFFFF 100%);
    border-radius: 16px;
    border: 1px solid #FFE8DA;
}

.suggestions-label {
    font-size: 0.7rem;
    color: #9BA8BC;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    background: #FFFFFF;
    border: 1.5px solid #FF8E5E;
    border-radius: 999px;
    color: #FF7043;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(255, 142, 94, 0.1);
}

.suggestion-btn i {
    font-size: 0.75rem;
}

.suggestion-btn span {
    white-space: nowrap;
}

.suggestion-btn:hover {
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 112, 67, 0.3);
}

.suggestion-btn:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Typing Indicator - Orange dots
   ═══════════════════════════════════════════════════════════════════════════════ */
.typing-indicator .message-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.typing-indicator .message-content p {
    background: #FFFFFF;
    padding: 1rem 1.25rem;
    border-radius: 18px 18px 18px 4px;
    box-shadow: 0 2px 8px rgba(255, 142, 94, 0.08);
    border: 1px solid #FFE8DA;
}

.typing-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF8E5E;
    animation: typingBounce 1.4s infinite;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes typingBounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Input Area - Clean and inviting
   ═══════════════════════════════════════════════════════════════════════════════ */
.chatbot-input {
    display: flex;
    padding: 1rem 1.25rem 1.25rem;
    background: #FFFFFF;
    border-top: 1px solid #E8EDF3;
    gap: 0.75rem;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    padding: 0.875rem 1.125rem;
    border: 2px solid #E8EDF3;
    background: #F7F9FC;
    border-radius: 14px;
    font-size: 0.9rem;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input input::placeholder {
    color: #9BA8BC;
}

.chatbot-input input:focus {
    border-color: #FF8E5E;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(255, 142, 94, 0.1);
}

/* Send Button - Vibrant orange CTA */
.chatbot-input button {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF8E5E 0%, #FF7043 100%);
    border: none;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(255, 112, 67, 0.35);
}

.chatbot-input button:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 112, 67, 0.45);
}

.chatbot-input button:active {
    transform: scale(1.02);
}

.chatbot-input button i {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.chatbot-input button:hover i {
    transform: translateX(2px) rotate(-5deg);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Responsive - Mobile-first, always premium
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100% - 20px);
        height: 65vh;
        max-height: 520px;
        min-height: 380px;
        bottom: 70px;
        right: 10px;
        border-radius: 20px;
    }

    .chatbot-toggle {
        bottom: 14px;
        right: 14px;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .chatbot-badge {
        width: 16px;
        height: 16px;
        font-size: 0.55rem;
        top: 2px;
        right: 2px;
        border-width: 1.5px;
    }

    .chatbot-header {
        padding: 0.8rem 0.9rem;
    }

    .chatbot-header-info h4 {
        font-size: 0.9rem;
    }

    .chatbot-header-icon {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    .chatbot-messages {
        padding: 0.875rem;
        gap: 0.625rem;
    }

    .message-avatar {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 0.85rem;
    }

    .bot-message,
    .user-message {
        gap: 0.5rem;
    }

    .message-content {
        max-width: 82%;
    }

    .bot-message .message-content p,
    .user-message .message-content p {
        padding: 0.65rem 0.85rem;
        font-size: 0.82rem;
        border-radius: 14px 14px 14px 4px;
    }

    .user-message .message-content p {
        border-radius: 14px 14px 4px 14px;
    }

    .quick-replies {
        gap: 0.4rem;
        margin-top: 0.6rem;
    }

    .quick-reply {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
        border-width: 1.5px;
        gap: 0.35rem;
    }

    .quick-reply i {
        font-size: 0.7rem;
    }

    .suggestions-bar {
        margin-left: 0;
        padding: 0.45rem 0.5rem;
        border-radius: 12px;
    }

    .suggestions-label {
        font-size: 0.65rem;
    }

    .suggestion-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.72rem;
    }

    .suggestion-btn i {
        font-size: 0.65rem;
    }

    .chatbot-input {
        padding: 0.6rem 0.75rem;
        gap: 0.5rem;
    }

    .chatbot-input input {
        padding: 0.65rem 0.85rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }

    .chatbot-input button {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .chatbot-input button i {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .chatbot-toggle {
        bottom: 12px;
        right: 12px;
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .chatbot-badge {
        width: 14px;
        height: 14px;
        font-size: 0.5rem;
        top: 2px;
        right: 2px;
        border-width: 1px;
    }

    .chatbot-container {
        width: calc(100% - 16px);
        height: 60vh;
        max-height: 500px;
        min-height: 350px;
        bottom: 70px;
        right: 8px;
        border-radius: 20px;
    }

    .chatbot-header {
        padding: 0.75rem 0.875rem;
        border-radius: 20px 20px 0 0;
    }

    .chatbot-header-icon {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        border-radius: 8px;
    }

    .chatbot-header-info h4 {
        font-size: 0.875rem;
    }

    .chatbot-status {
        font-size: 0.65rem;
    }

    .chatbot-close {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .chatbot-messages {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .message-avatar {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        font-size: 0.75rem;
    }

    .bot-message,
    .user-message {
        gap: 0.4rem;
    }

    .message-content {
        max-width: 85%;
    }

    .bot-message .message-content p,
    .user-message .message-content p {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        line-height: 1.45;
        border-radius: 14px 14px 14px 4px;
    }

    .user-message .message-content p {
        border-radius: 14px 14px 4px 14px;
    }

    .quick-replies {
        gap: 0.35rem;
        margin-top: 0.5rem;
    }

    .quick-reply {
        padding: 0.4rem 0.65rem;
        font-size: 0.7rem;
        border-width: 1.5px;
        gap: 0.3rem;
    }

    .quick-reply i {
        font-size: 0.65rem;
    }

    .suggestions-bar {
        margin-left: 0;
        padding: 0.4rem 0.5rem;
        gap: 0.35rem;
        border-radius: 12px;
        margin-top: 0.25rem;
    }

    .suggestions-label {
        font-size: 0.6rem;
        padding: 0;
        margin-bottom: 0.15rem;
    }

    .suggestions-buttons {
        gap: 0.3rem;
    }

    .suggestion-btn {
        padding: 0.35rem 0.55rem;
        font-size: 0.68rem;
        gap: 0.25rem;
    }

    .suggestion-btn i {
        font-size: 0.6rem;
    }

    .chatbot-input {
        padding: 0.5rem 0.625rem;
        gap: 0.4rem;
        /* Safe area for phones with home indicator */
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
    }

    .chatbot-input input {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .chatbot-input button {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .chatbot-input button i {
        font-size: 0.9rem;
    }

    /* Typing indicator adjustments */
    .typing-dots span {
        width: 5px;
        height: 5px;
    }

    .typing-dots {
        gap: 3px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   State-based styling
   ═══════════════════════════════════════════════════════════════════════════════ */
.chatbot-container[data-state="responding"] .chatbot-input input {
    opacity: 0.7;
    pointer-events: none;
}

.chatbot-container[data-state="limiting"] .chatbot-input {
    opacity: 0.5;
    pointer-events: none;
}