
/* Responsive base - flexible for all devices */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
img, video {
    max-width: 100%;
    height: auto;
}
iframe {
    max-width: 100%;
}

/* Custom styles for Holi theme */
body {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 50%, #ffecd2 100%);
    font-family: 'Poppins', sans-serif;
    color: #333;
    position: relative;
    overflow-x: hidden;
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ff2f92" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="%23ffd400" opacity="0.1"/><circle cx="40" cy="70" r="2.5" fill="%23ffa500" opacity="0.1"/><circle cx="70" cy="80" r="1" fill="%2332cd32" opacity="0.1"/><circle cx="10" cy="60" r="1.8" fill="%2300ced1" opacity="0.1"/><circle cx="90" cy="10" r="2.2" fill="%231e90ff" opacity="0.1"/></svg>') repeat;
    pointer-events: none;
    z-index: -1;
}

.hero-section {
    margin-bottom: 2rem;
    position: relative;
    background: url('https://images.unsplash.com/photo-1583163093287-1a0d5459bdce?w=1920&h=1080&fit=crop') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(255,47,146,0.3);
    overflow: hidden;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff2f92, #ffd400, #ffa500, #32cd32, #00ced1, #1e90ff);
    border-radius: 33px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

@keyframes borderGlow {
    from { box-shadow: 0 0 20px rgba(255,47,146,0.5); }
    to { box-shadow: 0 0 40px rgba(255,47,146,0.8), 0 0 60px rgba(255,212,0,0.6); }
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ff2f92;
    animation: fall 3s linear infinite;
    border-radius: 50%;
}

.confetti-piece:nth-child(2n) {
    background-color: #ffd400;
    animation-duration: 4s;
}

.confetti-piece:nth-child(3n) {
    background-color: #ffa500;
    animation-duration: 5s;
}

.confetti-piece:nth-child(4n) {
    background-color: #32cd32;
    animation-duration: 3.5s;
}

.confetti-piece:nth-child(5n) {
    background-color: #00ced1;
    animation-duration: 4.5s;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

.countdown-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.hover-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 70px;
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.navbar-nav .nav-link {
    color: white !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd400 !important;
    transform: translateY(-1px);
}

.display-4 {
    background: linear-gradient(45deg, #ff2f92, #ffd400, #ffa500, #32cd32, #00ced1, #1e90ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: none;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 5px rgba(255,47,146,0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255,47,146,0.8)); }
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

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

.btn {
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 0.75rem 2rem;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-primary {
    background: #ff2f92;
    border: none;
    color: white;
}

.btn-primary:hover {
    background: #e0287e;
    box-shadow: 0 6px 20px rgba(255,47,146,0.4);
}

.btn-outline-light {
    background: white;
    color: #ff2f92;
    border: 2px solid #ff2f92;
}

.btn-outline-light:hover {
    background: #ff2f92;
    color: white;
    border-color: #ff2f92;
}

.btn-success {
    background: #ffd400;
    border: none;
    color: #333;
}

.btn-success:hover {
    background: #e6bf00;
    box-shadow: 0 6px 20px rgba(255,212,0,0.4);
}

.footer {
    background: linear-gradient(135deg, #000000, #1a1a2e);
    color: white;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff6b6b, #ffa500, #ffff00);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -27px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ff6b6b;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(255,107,107,0.5);
}

.timeline-content h6 {
    margin-bottom: 5px;
    font-weight: bold;
    color: #ff6b6b;
}

.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
}

.section-title {
    color: #ff6b6b;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.img-fluid {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

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

/* Additional Holi decorations */
.holi-splash {
    position: relative;
    overflow: hidden;
}

.holi-splash::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,107,0.1) 0%, transparent 70%);
    animation: splash 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes splash {
    0%, 100% { transform: scale(0.8) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
}

.color-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.color-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.color-dot:nth-child(1) { background: #ff6b6b; left: 10%; top: 20%; animation-delay: 0s; }
.color-dot:nth-child(2) { background: #ffa500; left: 20%; top: 60%; animation-delay: 1s; }
.color-dot:nth-child(3) { background: #ffff00; left: 70%; top: 30%; animation-delay: 2s; }
.color-dot:nth-child(4) { background: #32cd32; left: 80%; top: 70%; animation-delay: 3s; }
.color-dot:nth-child(5) { background: #1e90ff; left: 40%; top: 80%; animation-delay: 4s; }
.color-dot:nth-child(6) { background: #9370db; left: 60%; top: 10%; animation-delay: 5s; }

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

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.countdown-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,107,107,0.3);
    backdrop-filter: blur(10px);
}

.countdown-item .number {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b6b;
    display: block;
}

.countdown-item .label {
    font-size: 0.9rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced card styles for Holi theme */
.card {
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.8));
    backdrop-filter: blur(10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffa500, #ffff00, #32cd32);
    border-radius: 20px 20px 0 0;
}

.card-body {
    position: relative;
    z-index: 1;
}

/* Payment page specific styles */
.payment-qr {
    max-width: 300px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.ticket-display {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
    border: 3px solid #ff6b6b;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.ticket-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23ff6b6b" stroke-width="2" opacity="0.1"/></svg>');
    pointer-events: none;
}

/* Admin panel enhancements */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    margin: 0;
    opacity: 0.9;
}

/* Focus glow for inputs and textareas */
input:focus,
textarea:focus,
select:focus {
    border-color: #ff2f92;
    box-shadow: 0 0 0 3px rgba(255,47,146,0.2);
}

/* Modern UI enhancements */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.15);
}

.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn {
    border-radius: 50px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    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;
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff2f92, #ff6b9d);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e0287e, #ff2f92);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 47, 146, 0.3);
}

.form-control {
    border-radius: 15px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #ff2f92;
    box-shadow: 0 0 0 0.2rem rgba(255, 47, 146, 0.25);
    transform: translateY(-1px);
}

.section-title {
    color: #ff2f92;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff2f92, #ffd400, #32cd32);
    border-radius: 2px;
}

.img-fluid {
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.img-fluid:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="%23ff2f92" opacity="0.1"/><circle cx="80" cy="30" r="0.8" fill="%23ffd400" opacity="0.1"/><circle cx="40" cy="70" r="1.2" fill="%2332cd32" opacity="0.1"/><circle cx="70" cy="80" r="0.6" fill="%2300ced1" opacity="0.1"/><circle cx="10" cy="60" r="0.9" fill="%231e90ff" opacity="0.1"/><circle cx="90" cy="10" r="1.1" fill="%239370db" opacity="0.1"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.footer a,
.footer-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer a:hover,
.footer-link:hover {
    color: #ffd400;
}

/* Group offer banner */
.group-offer-banner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(255, 47, 146, 0.3);
}

.group-offer-inner {
    background: linear-gradient(135deg, #ff2f92 0%, #ff6b9d 50%, #ffd400 100%);
    padding: 1.75rem 2rem;
    color: white;
}

.group-offer-icon {
    font-size: 3rem;
    display: block;
}

.group-offer-percent {
    font-size: 2.5rem;
    font-weight: 800;
}

/* Map overlay link */
.map-container {
    position: relative;
    border-radius: 15px;
}

.map-overlay-link {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}

/* Footer improvements */
.footer {
    margin-top: auto;
}

.footer-brand {
    font-weight: 700;
    color: white !important;
}

.footer-book-btn {
    background: linear-gradient(135deg, #ff2f92, #ff6b9d) !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 0.75rem 2rem !important;
    box-shadow: 0 4px 15px rgba(255,47,146,0.5) !important;
}

.footer-book-btn:hover {
    background: linear-gradient(135deg, #e0287e, #ff2f92) !important;
    color: white !important;
    border-color: white !important;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255,47,146,0.6) !important;
}

/* Smoother page transitions */
html {
    scroll-behavior: smooth;
}

/* Photo cards hover effect */
.photo-card {
    transition: transform 0.3s ease;
}
.photo-card:hover {
    transform: translateY(-5px);
}
.photo-placeholder {
    border: 2px dashed #dee2e6;
}

/* Improve card tap targets on mobile */
@media (max-width: 768px) {
    .group-offer-inner {
        padding: 1.25rem 1rem;
        text-align: center;
    }
    .group-offer-icon {
        margin: 0 auto;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero-section {
        min-height: 80vh;
    }
    .display-4 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        min-height: 70vh;
        padding: 3rem 2rem;
    }
    .display-4 {
        font-size: 2.8rem;
    }
    .lead {
        font-size: 1.1rem;
    }
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }
    .countdown-item {
        margin: 0.5rem;
        min-width: 80px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        border-radius: 15px;
        min-height: 60vh;
    }
    .display-4 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .countdown-item {
        margin-bottom: 1rem;
        min-width: 70px;
    }
    .countdown-item .number {
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }
    .countdown-item .label {
        font-size: 0.8rem;
    }
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    .card {
        margin-bottom: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    body {
        background: #fecfef;
    }
    .admin-stats {
        grid-template-columns: 1fr;
    }
    .table-responsive {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 1.5rem 1rem;
        margin: 1rem;
        min-height: 50vh;
    }
    .display-4 {
        font-size: 1.8rem;
    }
    .lead {
        font-size: 0.9rem;
    }
    .countdown-item {
        min-width: 60px;
        margin: 0.3rem;
    }
    .countdown-item .number {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        line-height: 45px;
    }
    .countdown-item .label {
        font-size: 0.7rem;
    }
    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    .card-title {
        font-size: 1.1rem;
    }
    .card-text {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin: 0.5rem;
        padding: 1rem 0.5rem;
    }
    .display-4 {
        font-size: 1.6rem;
    }
    .countdown-timer {
        margin-bottom: 2rem;
    }
    .countdown-item {
        min-width: 50px;
    }
    .countdown-item .number {
        font-size: 1.3rem;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    .btn-primary, .btn-outline-light {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Print styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
    }
    .btn, .navbar, .footer {
        display: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-section {
        background: #000 !important;
        color: #fff !important;
    }
    .card {
        border: 2px solid #000;
    }
}

/* Pass option selection highlight */
.pass-option:has(input:checked) {
    border-color: #ff2f92 !important;
    background: rgba(255, 47, 146, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 47, 146, 0.3);
}

/* Form responsiveness */
@media (max-width: 768px) {
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Admin panel responsiveness */
@media (max-width: 768px) {
    .admin-stats {
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }
    .stat-card {
        text-align: center;
        padding: 1rem;
    }
    .table-responsive {
        font-size: 0.85rem;
    }
    .table td, .table th {
        padding: 0.5rem;
    }
}

/* Navbar responsiveness */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1rem;
    }
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
}

.holi-photo {
    transition: transform 0.2s;
    object-fit: cover;
}
.holi-photo:hover {
    transform: scale(1.03);
}

/* Card responsiveness */
@media (max-width: 576px) {
    .card {
        margin-bottom: 1rem;
    }
    .card-body {
        padding: 1rem;
    }
}

/* Full responsive - all devices */
@media (max-width: 991px) {
    .container { padding-left: 1rem; padding-right: 1rem; }
    .footer .row { text-align: center; }
    .footer .col-md-6 { margin-bottom: 1rem; }
    .footer-book-btn { display: block; width: 100%; }
}

@media (max-width: 768px) {
    .group-offer-banner .group-offer-inner { padding: 1rem; }
    .pass-option { padding: 0.75rem !important; }
    .map-container iframe { height: 300px; }
    .hero-content { padding: 1rem; }
    .badge.fs-5 { font-size: 0.85rem !important; }
    table .btn-group-sm .btn { font-size: 0.7rem; padding: 0.25rem 0.4rem; }
}

@media (max-width: 576px) {
    .footer.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .section-title { font-size: 1.6rem; }
    .countdown-timer { gap: 0.5rem; }
    .quick-contact-card { margin-bottom: 1rem; }
    .contact-info-card, .contact-form-card { padding: 1rem; }
    .input-group { flex-wrap: wrap; }
    .navbar-brand { font-size: 1rem; }
}

@media (max-width: 380px) {
    .display-4 { font-size: 1.5rem; }
    .btn-lg { font-size: 0.9rem; padding: 0.6rem 1rem; }
    .stat-number { font-size: 1.5rem; }
}

/* ===== RESPONSIVE - ALL DEVICES (Phone, Tablet, Laptop, Desktop, PC) ===== */

/* Base: prevent overflow, ensure fluid layout */
html {
    -webkit-tap-highlight-color: transparent;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* Touch-friendly tap targets (min 44x44px) */
@media (pointer: coarse) {
    .btn, .nav-link, .form-check-input, .form-select, a.btn {
        min-height: 44px;
        min-width: 44px;
    }
    .btn-sm { min-height: 36px; min-width: 36px; }
}

/* Large screens (1200px+) - constrain width for readability */
@media (min-width: 1400px) {
    .container { max-width: 1320px; }
}

/* Tablet landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-section { min-height: 75vh; }
    .hero-content { padding: 2rem 1.5rem; }
    .group-offer-banner .row { flex-direction: column; text-align: center; }
    .group-offer-banner .col-lg-2, .group-offer-banner .col-lg-7, .group-offer-banner .col-lg-3 { max-width: 100%; }
}

/* Tablet portrait (768px - 991px) */
@media (max-width: 991px) {
    .navbar-collapse { background: rgba(0,0,0,0.1); border-radius: 10px; margin-top: 0.5rem; padding: 1rem; }
    .navbar-nav .btn { margin-top: 0.5rem; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    #searchInput, #statusFilter, .btn { margin-bottom: 0.5rem; }
    .footer .col-lg-4, .footer .col-lg-2, .footer .col-lg-3 { margin-bottom: 1.5rem; text-align: center; }
}

/* Mobile landscape / small tablet (576px - 767px) */
@media (max-width: 767px) {
    .hero-section { border-radius: 15px; margin-left: 0.5rem; margin-right: 0.5rem; }
    .countdown-timer { flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
    .countdown-item { flex: 0 0 auto; }
    .alert.alert-danger.border-3 { font-size: 0.9rem; padding: 0.75rem 1rem !important; }
    .admin-stats { grid-template-columns: 1fr; }
    .admin .card-body .row > [class^="col-"] { margin-bottom: 0.75rem; }
    .admin .card-body .row .btn { width: 100%; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table { min-width: 700px; }
    .table td .d-flex { flex-wrap: wrap; }
    .table .mail-btn, .table .delete-btn { font-size: 0.75rem; padding: 0.35rem 0.5rem; }
    .payment .row.mb-4 > [class^="col-"] { margin-bottom: 1rem; }
    .payment .card.border-success { margin-top: 0; }
    .contact-info-card, .contact-form-card { margin-bottom: 1.5rem; }
    .map-container iframe { height: 280px; }
}

/* Mobile portrait (max 575px) */
@media (max-width: 575px) {
    .container, main.container { padding-left: 0.75rem; padding-right: 0.75rem; }
    .hero-section { margin-left: 0.25rem; margin-right: 0.25rem; padding: 1.5rem 0.75rem; min-height: 55vh; }
    .hero-content { padding: 1rem 0.5rem; }
    .display-4 { font-size: 1.75rem; }
    .lead { font-size: 0.95rem; }
    .countdown-item { min-width: 55px; padding: 0.75rem; }
    .countdown-item .number { font-size: 1.4rem; }
    .countdown-item .label { font-size: 0.65rem; }
    .badge.rounded-pill { font-size: 0.75rem !important; padding: 0.4rem 0.8rem !important; }
    .d-flex.gap-3.flex-wrap { gap: 0.5rem !important; }
    .btn-lg { width: 100%; margin-bottom: 0.5rem; }
    .section-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
    .card { margin-bottom: 1rem; }
    .card-body { padding: 1rem; }
    .form-label { font-size: 0.9rem; }
    .pass-option { padding: 0.75rem !important; }
    .group-offer-icon { font-size: 2rem; }
    .group-offer-percent { font-size: 1.75rem; }
    .footer { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .footer h5, .footer h6 { margin-bottom: 1rem; }
    .footer .row.g-4 { gap: 1.5rem; }
    .navbar-brand { font-size: 1rem; }
    .stat-card h3 { font-size: 1.5rem; }
    .admin .card-header.d-flex { flex-direction: column; align-items: flex-start !important; }
    .admin .alert-warning { width: 100%; margin-top: 0.5rem; }
}

/* Extra small phones (max 400px) */
@media (max-width: 400px) {
    .display-4 { font-size: 1.5rem; }
    .countdown-item { min-width: 48px; padding: 0.5rem; }
    .countdown-item .number { font-size: 1.2rem; }
    .btn { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
    .section-title { font-size: 1.35rem; }
    .table { font-size: 0.8rem; }
}

/* Admin: search/filter row - stack on small screens */
@media (max-width: 767px) {
    .admin .card-body .row .col-md-4,
    .admin .card-body .row .col-md-3,
    .admin .card-body .row .col-md-2 { flex: 0 0 100%; max-width: 100%; }
}

/* Prevent long words/emails from breaking layout */
td, th, .card-title, .badge {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.email-cell { max-width: 150px; }
@media (max-width: 767px) {
    .email-cell { max-width: 120px; }
}

/* Ensure images scale properly */
img, video, iframe {
    max-width: 100%;
    height: auto;
}
.img-fluid { max-width: 100%; height: auto; }

/* Payment page: stack order summary and QR on mobile */
@media (max-width: 767px) {
    .payment .col-md-6 { margin-bottom: 1rem; }
    .payment .demo-ticket .row .col-6 { flex: 0 0 100%; max-width: 100%; }
}

/* Contact page: DM section responsive */
@media (max-width: 575px) {
    .contact-form-card img.img-fluid { max-width: 180px; }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Stagger list items slightly */
.list-unstyled li.reveal-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.list-unstyled li.reveal-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.list-unstyled li.reveal-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.list-unstyled li.reveal-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.list-unstyled li.reveal-on-scroll:nth-child(5) { transition-delay: 0.5s; }

/* Click Splash Effect */
.click-splash {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: clickSplash 0.6s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
}

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

