/* CSS Variables */
:root {
    --teal: #5926aa;
    --teal-dark: #000080;
    --teal-light: #6a76ff;
    --coral: #9E2A3A;
    --coral-dark: #d4503e;
    --coral-light: #ff6b6b;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-light: #e9ecef;
    --gray: #6c757d;
    --text-dark: #212529;
    --text-body: #495057;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(89, 38, 170, 0.3);
    --shadow-coral-glow: 0 0 30px rgba(158, 42, 58, 0.3);
    --transition: all 0.3s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --gradient-primary: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }

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

a:hover {
    color: var(--coral-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-coral {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(158, 42, 58, 0.3);
}

.btn-coral:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-coral-glow);
}

.btn-teal {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(89, 38, 170, 0.3);
}

.btn-teal:hover {
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    position: relative;
    z-index: 1;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
    border-radius: 6px;
}

.btn-outline:hover {
    color: var(--white);
    border-color: transparent;
}

.btn-outline:hover::after {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--teal) 0%, rgba(89, 38, 170, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(89, 38, 170, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar:has(.nav-links.active) {
    background: var(--teal);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
    text-decoration: none;
}

.brand-icon {
    width: 8px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        var(--coral) 0px,
        var(--coral) 6px,
        transparent 6px,
        transparent 10px
    );
    animation: float 3s ease-in-out infinite;
}

.brand-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 5px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 25px 18px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--coral);
}

.nav-links a:hover::after {
    width: calc(100% - 36px);
}

.btn-nav {
    background-color: var(--coral);
    color: var(--white) !important;
    padding: 12px 24px !important;
    border-radius: 4px;
    margin-left: 10px;
}

.btn-nav:hover {
    background-color: var(--coral-dark);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 44px;
    height: 44px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--teal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 999;
}

.nav-links.active a {
    font-size: 1.25rem;
    padding: 20px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    overflow: hidden;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 6s ease-out forwards;
}

.hero-slide.prev {
    opacity: 0;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(89, 38, 170, 0.7) 0%, rgba(29, 51, 92, 0.6) 50%, rgba(158, 42, 58, 0.5) 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    z-index: 1;
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
}

.hero-indicator:hover {
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.1);
}

/* Progress bar on active indicator */
.hero-indicator.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--coral);
    animation: indicatorProgress 6s linear forwards;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease forwards;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0;
    margin-bottom: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.4s;
}

.hero .btn {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-cta {
    margin-top: 2rem;
    padding: 16px 40px;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(158, 42, 58, 0.4);
}

.hero-cta:hover {
    box-shadow: 0 12px 40px rgba(158, 42, 58, 0.5);
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-teal {
    background: linear-gradient(135deg, var(--teal) 0%, rgba(89, 38, 170, 0.9) 100%);
    color: var(--white);
    position: relative;
}

.section-teal::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.section-teal h2,
.section-teal h3 {
    color: var(--white);
}

.section-teal .section-intro {
    color: rgba(255, 255, 255, 0.9);
}

.section h2 {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Intro Section */
.intro-text {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.intro-text h2 {
    color: var(--teal);
    text-align: left;
    font-size: 1.75rem;
    position: relative;
    display: inline-block;
}

.intro-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.intro-text:hover h2::after {
    width: 120px;
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text-body);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    background: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.feature-card:hover::after {
    width: 100px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    color: var(--teal);
    background: linear-gradient(135deg, rgba(89, 38, 170, 0.1) 0%, rgba(106, 118, 255, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--gradient-primary);
    color: var(--white);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--teal-light);
}

.feature-card p {
    color: var(--text-body);
    margin-bottom: 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(89, 38, 170, 0.2);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-image-wrapper {
    overflow: hidden;
    position: relative;
}

.service-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(89, 38, 170, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image-wrapper::after {
    opacity: 1;
}

.service-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-content h3 {
    color: var(--teal);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-content h3 {
    color: var(--teal-light);
}

.service-content p {
    color: var(--text-body);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Mission Section */
.mission-section {
    background-color: var(--off-white);
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, rgba(89, 38, 170, 0.03), transparent);
    pointer-events: none;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.mission-image {
    width: 100%;
    max-width: 500px;
}

.mission-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.mission-image:hover img {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.mission-text {
    max-width: 600px;
}

.mission-text h2 {
    text-align: left;
}

.mission-text blockquote {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--teal);
    border-left: 4px solid transparent;
    border-image: var(--gradient-accent) 1;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    position: relative;
    transition: var(--transition);
}

.mission-text blockquote:hover {
    padding-left: 2rem;
}

/* Calendar */
.calendar-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.calendar-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.google-calendar-embed {
    width: 100%;
    height: 400px;
    border: none;
}

.calendar-note {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

/* Forms */
.form-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.section-teal .form-card {
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    transition: var(--transition);
    background-color: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(89, 38, 170, 0.1);
    transform: translateY(-2px);
}

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

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInScale 0.5s ease forwards;
}

.form-success.hidden {
    display: none;
}

.form-success .checkmark {
    font-size: 4rem;
    color: var(--teal);
    margin-bottom: 1rem;
    display: inline-block;
    animation: pulse 1s ease-in-out 2;
}

.form-success h3 {
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-success p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-form-wrapper h3,
.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-form-wrapper .form-card {
    margin: 1.5rem 0 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--gradient-primary);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 600;
    margin: 1rem 0;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 15px rgba(89, 38, 170, 0.3);
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.social-link svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.contact-image {
    margin-top: 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.contact-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
    color: var(--white);
    text-align: center;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

/* ==================== */
/* CHECK-IN PAGE        */
/* ==================== */

.checkin-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(89, 38, 170, 0.05) 100%);
    position: relative;
}

.checkin-page::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at top right, rgba(158, 42, 58, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.checkin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkin-header h1 {
    color: var(--teal);
}

.checkin-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
}

.queue-display {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.now-serving .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.now-serving .number {
    display: block;
    font-family: 'Lora', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.queue-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.queue-note {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.checkin-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.checkin-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.checkin-form-container h2 {
    text-align: left;
    font-size: 1.5rem;
}

.checkin-form-container > p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.checkin-form-container.hidden {
    display: none;
}

.ticket-display {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: fadeInScale 0.5s ease forwards;
}

.ticket-display.hidden {
    display: none;
}

.ticket {
    border: 3px dashed var(--teal);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(89, 38, 170, 0.02) 0%, rgba(158, 42, 58, 0.02) 100%);
    animation: ticketPop 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.ticket::before,
.ticket::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--off-white);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 3px dashed var(--teal);
}

.ticket::before { left: -12px; }
.ticket::after { right: -12px; }

.ticket-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    margin-bottom: 1rem;
}

.ticket-number {
    font-family: 'Lora', Georgia, serif;
    font-size: 5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.ticket-info p {
    margin: 0.25rem 0;
}

.ticket-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-light);
    font-size: 0.9rem;
    color: var(--gray);
}

.checkin-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.checkin-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.checkin-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checkin-info li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    transition: var(--transition);
    border-radius: 8px;
}

.checkin-info li:hover {
    background-color: rgba(89, 38, 170, 0.05);
    padding-left: 2.5rem;
}

.checkin-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
    transition: var(--transition);
}

.checkin-info li:hover::before {
    transform: scale(1.2);
    left: 0.25rem;
}

/* Button loading state */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid var(--white);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ==================== */
/* ANIMATIONS           */
/* ==================== */

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes ticketPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered delays for grid items */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ==================== */
/* RESPONSIVE           */
/* ==================== */

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }

    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }

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

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section {
        padding: 100px 0;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .mission-content {
        flex-direction: row;
        gap: 4rem;
    }

    .mission-image {
        flex: 1;
    }

    .mission-text {
        flex: 1;
    }

    .contact-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .google-calendar-embed {
        height: 500px;
    }

    /* Check-in page */
    .checkin-content {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }

    .queue-display {
        position: sticky;
        top: 100px;
        align-self: start;
    }

    .checkin-info {
        grid-column: 1 / -1;
    }
}

@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .checkin-content {
        grid-template-columns: 280px 1fr 300px;
    }

    .checkin-info {
        grid-column: auto;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }

    .hero {
        background-attachment: scroll;
    }

    .hero-slide {
        transition: opacity 0.01ms !important;
        transform: none !important;
        animation: none !important;
    }

    .hero-slide.active {
        transform: none !important;
        animation: none !important;
    }

    .hero-indicator.active::after {
        animation: none !important;
    }

    .animate-on-scroll,
    .animate-scale {
        opacity: 1;
        transform: none;
    }

    .hero h1,
    .hero-subtitle,
    .hero .btn {
        opacity: 1;
    }
}

/* ==================== */
/* ADMIN PAGE            */
/* ==================== */

.admin-page {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(89, 38, 170, 0.05) 100%);
}

/* PIN Screen */
.admin-pin-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.admin-pin-screen.hidden {
    display: none;
}

.pin-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.pin-card h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.pin-card > p {
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.pin-form .form-group input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
}

.pin-error {
    color: var(--coral);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pin-error.hidden {
    display: none;
}

/* Admin Dashboard */
.admin-dashboard.hidden {
    display: none;
}

.admin-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.admin-header h1 {
    font-size: 2rem;
    margin-bottom: 0;
}

.admin-actions-top {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.admin-now-serving {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-glow);
    margin-bottom: 2rem;
}

.admin-now-serving .label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.admin-now-serving .number {
    display: block;
    font-family: 'Lora', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Queue Section */
.admin-queue-section {
    margin-bottom: 3rem;
}

.admin-queue-section h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.queue-table-wrapper {
    overflow-x: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.queue-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.queue-table thead {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: var(--white);
}

.queue-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.queue-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-light);
    vertical-align: middle;
}

.queue-table tbody tr:last-child td {
    border-bottom: none;
}

.queue-table tbody tr:hover {
    background-color: rgba(89, 38, 170, 0.03);
}

.queue-ticket {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--teal);
}

.queue-empty {
    text-align: center;
    color: var(--gray);
    padding: 3rem 1rem !important;
    font-style: italic;
}

/* Row highlights */
.queue-row-in-progress {
    background-color: rgba(89, 38, 170, 0.08);
}

.queue-row-done {
    opacity: 0.5;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-waiting {
    background-color: rgba(108, 117, 125, 0.15);
    color: var(--gray);
}

.status-in-progress {
    background: rgba(89, 38, 170, 0.15);
    color: var(--teal);
}

.status-done {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

/* Small button variant */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-complete {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 6px 14px;
    font-size: 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

.btn-complete:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(158, 42, 58, 0.3);
}

/* Admin responsive */
@media (max-width: 639px) {
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .queue-table {
        font-size: 0.85rem;
    }

    .queue-table th,
    .queue-table td {
        padding: 10px 8px;
    }
}

/* Print */
@media print {
    .navbar, .footer { display: none; }
}
