:root {
    --primary: #1a3c40;
    --secondary: #4a7c59;
    --accent: #d4a574;
    --light: #f8f5f1;
    --dark: #0d1f23;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #1a3c40 0%, #0d1f23 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.loading-logo {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 5px;
    letter-spacing: 5px;
}

.loading-logo span {
    display: inline-block;
    animation: loadingPulse 0.8s ease-in-out infinite;
}

.loading-logo .letter-t {
    color: #ff4444;
    animation-delay: 0s;
}

.loading-logo .letter-a {
    color: #ffeb3b;
    animation-delay: 0.1s;
}

.loading-logo .letter-n {
    color: #2196f3;
    animation-delay: 0.2s;
}

.loading-logo .letter-k {
    color: #ff9800;
    animation-delay: 0.3s;
}

.loading-logo .letter-e {
    color: #4caf50;
    animation-delay: 0.4s;
}

.loading-logo .letter-n2 {
    color: #87ceeb;
    animation-delay: 0.5s;
}

@keyframes loadingPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.loading-text {
    color: #f8f5f1;
    font-size: 1.2rem;
    margin-bottom: 40px;
    letter-spacing: 3px;
    opacity: 0.8;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    border-radius: 3px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ff4444, #ffeb3b, #2196f3, #ff9800, #4caf50, #87ceeb);
    width: 0%;
    animation: progressBar 2s ease-in-out forwards;
    border-radius: 3px;
}

@keyframes progressBar {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Hero Animation */
.hero {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero.animate-in {
    opacity: 1;
    transform: scale(1);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    background-color: var(--secondary);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: var(--light);
    font-size: 1.8rem;
    margin-bottom: 0;
    display: flex;
}

.logo h1 span {
    color: var(--light);
}

.logo h1 span {
    display: inline-block;
}

.letter-t {
    color: #ff4444 !important;
}

.letter-a {
    color: #ffeb3b !important;
}

.letter-n {
    color: #2196f3 !important;
}

.letter-k {
    color: #ff9800 !important;
}

.letter-e {
    color: #4caf50 !important;
}

.letter-n2 {
    color: #87ceeb !important;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a.active {
    color: var(--accent);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

.booking-nav {
    background-color: var(--secondary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.booking-nav:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.booking-nav:hover {
    background-color: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(13, 31, 35, 0.7), rgba(13, 31, 35, 0.7)), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.hero.has-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13, 31, 35, 0.65);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--secondary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    padding: 100px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.animate-in .about-text {
    opacity: 1;
    transform: translateX(0);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transition-delay: 0.2s;
}

section.animate-in .about-image {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

section.animate-in .service-card {
    opacity: 1;
    transform: translateY(0);
}

section.animate-in .service-card:nth-child(1) {
    transition-delay: 0.1s;
}

section.animate-in .service-card:nth-child(2) {
    transition-delay: 0.2s;
}

section.animate-in .service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* "Why Visit" section — first services-grid */
#about + section .service-card:nth-child(1) .service-icon,
section:nth-of-type(2) .service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #1abc9c, #16a085);
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.35);
}

#about + section .service-card:nth-child(2) .service-icon,
section:nth-of-type(2) .service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    box-shadow: 0 4px 15px rgba(10, 189, 227, 0.35);
}

#about + section .service-card:nth-child(3) .service-icon,
section:nth-of-type(2) .service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.35);
}

/* "Services" section — second services-grid */
#services .service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    box-shadow: 0 4px 15px rgba(10, 189, 227, 0.35);
}

#services .service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.35);
}

#services .service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #feca57, #ff9f43);
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.35);
}

#services .service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #5f27cd, #a55eea);
    box-shadow: 0 4px 15px rgba(95, 39, 205, 0.35);
}

/* Pricing Section */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.animate-in .pricing-card {
    opacity: 1;
    transform: translateY(0);
}

section.animate-in .pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

section.animate-in .pricing-card:nth-child(2) {
    transition-delay: 0.2s;
}

section.animate-in .pricing-card:nth-child(3) {
    transition-delay: 0.3s;
}

.pricing-card.popular {
    border: 2px solid var(--accent);
}

section.animate-in .pricing-card.popular {
    transform: scale(1.05) translateY(0);
}

.popular-tag {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--accent);
    color: var(--dark);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 600;
    font-size: 0.8rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.price span {
    font-size: 1rem;
    color: var(--gray);
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.features-list li i {
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Colorful check icons per pricing card */
.pricing-card:nth-child(1) .features-list li i {
    color: #1abc9c;
}

.pricing-card:nth-child(2) .features-list li i {
    color: #ff6b6b;
}

.pricing-card:nth-child(3) .features-list li i {
    color: #5f27cd;
}

/* Events Section — Kiddie Style */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid #eee;
}

section.animate-in .event-card {
    opacity: 1;
    transform: translateY(0);
}

section.animate-in .event-card:nth-child(1) { transition-delay: 0.1s; }
section.animate-in .event-card:nth-child(2) { transition-delay: 0.2s; }
section.animate-in .event-card:nth-child(3) { transition-delay: 0.3s; }

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.event-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
}

/* Kiddie vibrant gradients — site primary palette brightened for kids */
.event-card-img-wrap.ke-v0 { background: linear-gradient(135deg, #2ecc71, #1abc9c); }
.event-card-img-wrap.ke-v1 { background: linear-gradient(135deg, #1abc9c, #48dbfb); }
.event-card-img-wrap.ke-v2 { background: linear-gradient(135deg, #feca57, #ff9f43); }

.event-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-img-wrap .ke-deco {
    position: absolute;
    font-size: 120px;
    opacity: 0.12;
    pointer-events: none;
    animation: keFloat 4s ease-in-out infinite;
}

@keyframes keFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.event-card-body {
    padding: 20px 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.event-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.event-card-tag.ke-c0 { color: #2ecc71; font-size: 13px; font-family: 'Nunito', sans-serif; }
.event-card-tag.ke-c1 { color: #1abc9c; font-size: 13px; font-family: 'Nunito', sans-serif; }
.event-card-tag.ke-c2 { color: #feca57; font-size: 13px; font-family: 'Nunito', sans-serif; }

.event-card-body h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.35rem;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.2;
}

.event-card-body p {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.event-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #999;
    margin-top: 6px;
}

.event-card-meta .event-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card-meta .event-link a {
    color: #48dbfb;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-card-meta .event-link a:hover {
    color: #1abc9c;
}

.events-empty,
.events-loading {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Kiddie badge */
.ke-badge {
    display: inline-block;
    background: #FAC775;
    color: #412402;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-family: 'Nunito', sans-serif;
}

/* Events Modal */
.events-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.events-modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: eventsModalIn 0.3s ease;
}
@keyframes eventsModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.events-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}
.events-modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--primary);
}
.events-modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--gray);
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
}
.events-modal-close:hover {
    background: #f0f0f0;
    color: var(--primary);
}
.events-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.events-modal-body .event-card {
    opacity: 1;
    transform: none;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-height: none;
    overflow: visible;
}

.gallery-grid .gallery-item {
    aspect-ratio: auto;
    height: 200px;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
}

section.animate-in .gallery-item {
    opacity: 1;
    transform: scale(1);
}

section.animate-in .gallery-item:nth-child(1) { transition-delay: 0.1s; }
section.animate-in .gallery-item:nth-child(2) { transition-delay: 0.15s; }
section.animate-in .gallery-item:nth-child(3) { transition-delay: 0.2s; }
section.animate-in .gallery-item:nth-child(4) { transition-delay: 0.25s; }
section.animate-in .gallery-item:nth-child(5) { transition-delay: 0.3s; }
section.animate-in .gallery-item:nth-child(6) { transition-delay: 0.35s; }
section.animate-in .gallery-item:nth-child(7) { transition-delay: 0.4s; }
section.animate-in .gallery-item:nth-child(8) { transition-delay: 0.45s; }

.gallery-item-hidden {
    display: none;
}

.gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-button-container {
    text-align: center;
    margin-top: 40px;
}

#viewAllGalleryBtn {
    min-width: 200px;
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), transparent);
    color: white;
    padding: 30px 15px 15px;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    pointer-events: none;
}

.gallery-caption h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--accent);
}

.gallery-caption p {
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 0;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.gallery-modal img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.gallery-modal-caption {
    text-align: center;
    color: #f1f1f1;
}

.gallery-modal-caption h3 {
    margin-bottom: 6px;
    color: var(--accent);
}

.gallery-modal-caption p {
    margin: 0;
    color: #d7d7d7;
}

.gallery-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-nav.prev {
    left: -8px;
}

.gallery-nav.next {
    right: -8px;
}

/* Contact Section */
.contact-icons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.contact-icon-card {
    text-align: center;
    padding: 30px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease;
}

section.animate-in .contact-icon-card {
    opacity: 1;
    transform: translateY(0);
}

section.animate-in .contact-icon-card:nth-child(1) { transition-delay: 0.1s; }
section.animate-in .contact-icon-card:nth-child(2) { transition-delay: 0.2s; }
section.animate-in .contact-icon-card:nth-child(3) { transition-delay: 0.3s; }
section.animate-in .contact-icon-card:nth-child(4) { transition-delay: 0.4s; }

.contact-icon-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.contact-icon-card .contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.contact-icon-card:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Vibrant kid-style highlight colors per icon */
.contact-icon-card:nth-child(1) .contact-icon {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.35);
}

.contact-icon-card:nth-child(2) .contact-icon {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
    color: #fff;
    box-shadow: 0 4px 15px rgba(10, 189, 227, 0.35);
}

.contact-icon-card:nth-child(3) .contact-icon {
    background: linear-gradient(135deg, #feca57, #ff9f43);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.35);
}

.contact-icon-card:nth-child(4) .contact-icon {
    background: linear-gradient(135deg, #5f27cd, #a55eea);
    color: #fff;
    box-shadow: 0 4px 15px rgba(95, 39, 205, 0.35);
}

/* Matching colored underlines for titles */
.contact-icon-card h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.contact-icon-card:nth-child(1) h4 { color: #ee5a24; }
.contact-icon-card:nth-child(2) h4 { color: #0abde3; }
.contact-icon-card:nth-child(3) h4 { color: #ff9f43; }
.contact-icon-card:nth-child(4) h4 { color: #5f27cd; }

.contact-icon-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.contact-icon-card a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.contact-icon-card:nth-child(1) a { color: #ee5a24; }
.contact-icon-card:nth-child(2) a { color: #0abde3; }
.contact-icon-card:nth-child(3) a { color: #ff9f43; }
.contact-icon-card:nth-child(4) a { color: #5f27cd; }

.contact-icon-card a:hover {
    text-decoration: underline;
}

.contact-map {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.5s;
}

section.animate-in .contact-map {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .gallery-modal img {
        max-height: 60vh;
    }

    .gallery-nav.prev {
        left: 8px;
    }

    .gallery-nav.next {
        right: 8px;
    }

    .gallery-close {
        top: 10px;
        right: 10px;
    }
}

/* kept for form-group reuse */

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Booking Modal */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    overflow-y: auto;
    padding: 20px 0;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 40px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.message-popup {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.message-popup.active {
    opacity: 1;
    visibility: visible;
}

.message-popup-content {
    width: 100%;
    max-width: 480px;
    background-color: #fff;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.message-popup-content h3 {
    color: var(--primary);
    margin-bottom: 12px;
}

.message-popup-content p {
    margin-bottom: 22px;
    color: var(--dark);
    word-break: break-word;
}

/* Footer */
footer {
    background-color: var(--secondary);
    color: var(--light);
    padding: 70px 0 30px;
}

footer h3, footer h4 {
    color: var(--accent);
}

footer a {
    color: #ddd;
    transition: var(--transition);
}

footer a:hover {
    color: var(--accent);
}

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

.footer-logo h3 {
    color: var(--light);
    font-size: 1.8rem;
    display: flex;
}

.footer-logo h3 span {
    display: inline-block;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links ul li a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    font-size: 1rem;
}

.footer-contact p:nth-child(2) i { color: #ff6b6b; }
.footer-contact p:nth-child(3) i { color: #2ecc71; }
.footer-contact p:nth-child(4) i { color: #48dbfb; }
.footer-contact p:nth-child(5) i { color: #feca57; }
.footer-contact p:nth-child(6) i { color: #a55eea; }

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }

    .contact-icons-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
        justify-content: center;
    }

    .logo {
        margin: 0 auto;
    }

    nav ul {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .logo h1 {
        font-size: 1.35rem;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-grid .gallery-item {
        height: 160px;
    }
}

@media (max-width: 576px) {
    .contact-icons-row {
        grid-template-columns: 1fr;
    }

    .contact-map iframe {
        height: 280px;
    }

    .loading-logo {
        font-size: 2.1rem;
        gap: 2px;
        letter-spacing: 1px;
    }

    .loading-text {
        letter-spacing: 1px;
        font-size: 1rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
    }
    
    .booking-content {
                padding: 25px 15px;
                width: 95%;
            }

    .message-popup-content {
        padding: 22px 16px;
    }
            
            .booking-modal {
                padding: 10px 0;
            }
            
}
