/* Legends' Invitational - Clean Tight Design */

:root {
    --flyer-blue: #0095DB;
    --flyer-red: #C8102E;
    --dark-bg: #2C3E50;
    --light-bg: #f8f9fa;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section - Tight, Clean Design */
.hero {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(rgba(44, 62, 80, 0.65), rgba(44, 62, 80, 0.65)), 
                url('../images/hero_wormsley.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 4px solid var(--flyer-red);
}

.hero-logo-corner {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    max-width: 213px;
    width: 100%;
    z-index: 100;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.hero-badge-top {
    background: var(--flyer-red);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-align: center;
    max-width: fit-content;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    color: white;
    margin: -3rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-center {
    max-width: 320px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.6));
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8);
}

.hero-hundred {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    margin: 0;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.9);
    letter-spacing: 0;
    line-height: 1;
}

.hero-festival {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(44, 62, 80, 0.95);
    padding: 0;
    border-radius: 8px;
    flex-wrap: wrap;
    position: relative;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.main-nav a:last-child {
    border-right: none;
}

.main-nav a:hover {
    background: var(--flyer-blue);
}

/* Countdown */
.countdown {
    background: var(--flyer-red);
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.countdown h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

.countdown-label {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* Countdown Register Button */
.countdown-register {
    margin-top: 3rem;
    text-align: center;
}

.register-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
}

/* Corporate Hospitality Section - Matches Site Colors */
.corporate-hospitality {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a237e 0%, #16213e 50%, #2c3e50 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.corporate-hospitality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(33, 150, 243, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(211, 47, 47, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.corporate-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.corporate-intro {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2196F3;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-style: italic;
}

.corporate-main {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.corporate-highlight {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    border-radius: 4px;
}

.corporate-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2.5rem 0;
    line-height: 1.5;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.corporate-details {
    margin: 2rem 0;
}

.corporate-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.corporate-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    padding: 1rem;
    background: rgba(211, 47, 47, 0.2);
    border: 2px solid #D32F2F;
    border-radius: 4px;
    text-align: center;
}

.corporate-urgency {
    margin: 2.5rem 0;
    text-align: center;
}

.corporate-urgency p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #ffffff;
}

.corporate-rule {
    font-weight: 600;
    color: #D32F2F;
    font-size: 1.15rem;
}

.corporate-cta {
    text-align: center;
    margin: 3rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.6);
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
}

/* Corporate Packages Accordion */
.corporate-packages {
    margin: 3rem 0;
}

.packages-title {
    font-size: 1.8rem;
    color: #2196F3;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.corporate-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.corporate-package-item {
    background: rgba(33, 150, 243, 0.08);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.corporate-package-item:hover {
    border-color: #2196F3;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.2);
}

.corporate-package-item.active {
    border-color: #2196F3;
    background: rgba(33, 150, 243, 0.12);
}

.corporate-package-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.corporate-package-question:hover {
    background: rgba(33, 150, 243, 0.15);
}

.corporate-package-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.corporate-package-icon {
    font-size: 2rem;
    font-weight: 300;
    color: #2196F3;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.corporate-package-item.active .corporate-package-icon {
    transform: rotate(45deg);
}

.corporate-package-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    margin: 0 1rem 1rem 1rem;
    border-radius: 0 0 8px 8px;
}

.corporate-package-answer p,
.corporate-package-answer ul {
    padding: 1.5rem 2rem;
    color: #1a3a52;
    line-height: 1.7;
    margin: 0;
}

.corporate-package-answer p:first-child {
    padding-top: 1.5rem;
}

.corporate-package-answer ul {
    list-style: none;
    padding-left: 3rem;
    padding-right: 2rem;
    padding-top: 0;
}

.corporate-package-answer li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: #2C4A5F;
}

.corporate-package-answer li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
    font-size: 1.1rem;
}

.corporate-package-answer strong {
    color: #1a3a52;
    font-weight: 700;
}

.package-note {
    font-style: italic;
    color: #2C4A5F !important;
    border-top: 2px solid #2196F3;
    padding-top: 1rem !important;
    margin-top: 1rem !important;
}

.package-savings {
    color: #d4af37 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}

.package-contact {
    background: rgba(33, 150, 243, 0.1);
    padding: 1rem !important;
    border-radius: 6px;
    border-left: 4px solid #2196F3;
    margin-top: 1rem !important;
    color: #1a3a52 !important;
}

.corporate-closing {
    font-size: 1.1rem;
    font-style: italic;
    color: #e0e0e0;
    text-align: center;
    margin-top: 2rem;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 3rem 2rem;
    text-align: center;
    background: white;
}

.about h2 {
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
    color: #666;
    line-height: 1.6;
}

/* Services/Teams Section */
.services {
    padding: 3rem 2rem;
    background: var(--light-bg);
}

.services h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: 12px;
    padding: 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
    background: white;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Colored borders for each service */
.service-card.raf {
    border: 5px solid #2196F3;
}

.service-card.army {
    border: 5px solid #D32F2F;
}

.service-card.navy {
    border: 5px solid #1A237E;
}

/* White background sections */
.service-card .badge-container {
    padding: 3rem 2rem;
    margin-bottom: 0;
    position: relative;
    background: white;
}

.badge-container img {
    max-width: 150px;
    height: auto;
    margin: 0 auto 1rem auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

/* Team name on white background */
.team-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0 0 0;
}

.service-card.raf .team-name {
    color: #2196F3;
}

.service-card.army .team-name {
    color: #D32F2F;
}

.service-card.navy .team-name {
    color: #1A237E;
}

/* Text section below badge */
.service-card h3 {
    font-size: 1.75rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #222;
    font-weight: 700;
    padding: 0 2rem;
}

.service-motto {
    font-style: italic;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
    padding: 0 2rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    padding: 0 2rem 2rem 2rem;
    background: white;
}

/* Schedule */
.schedule {
    padding: 3rem 2rem;
    background: white;
}

.schedule h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    border-radius: 8px;
    background: var(--light-bg);
}

.timeline-item.highlight {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-left: 4px solid var(--flyer-red);
}

.timeline-item.trophy {
    background: linear-gradient(135deg, #e6f2ff 0%, #cce5ff 100%);
    border-left: 4px solid var(--flyer-blue);
}

.timeline-time {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--flyer-blue);
    text-align: center;
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #222;
}

.timeline-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Format Explainer */
/* The Hundred Format Section */
.format-explainer {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a3a52 0%, #2C4A5F 100%);
    color: white;
}

.format-explainer h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--flyer-blue);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.format-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: white;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.format-card-modern {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.8) 0%, rgba(44, 62, 80, 0.9) 100%);
    border-left: 5px solid var(--flyer-red);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

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

.format-card-modern h3 {
    font-size: 1.2rem;
    color: var(--flyer-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.format-card-modern p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a3a52 0%, #2C4A5F 100%);
    color: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--flyer-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.faq-intro {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(44, 62, 80, 0.8);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(33, 150, 243, 0.1);
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--flyer-blue);
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.faq-answer ul {
    padding: 0 2rem 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.faq-answer p:first-child {
    padding-top: 0;
}

.faq-answer ul {
    list-style: none;
    padding-left: 3rem;
    padding-right: 2rem;
}

.faq-answer li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-answer li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--flyer-blue);
    font-weight: bold;
}

.faq-answer strong {
    color: var(--flyer-blue);
}

/* Testimonials */
.testimonials {
    padding: 4rem 2rem;
    background: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--light-bg);
    border-left: 4px solid var(--flyer-red);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-quote::before {
    content: '"';
    font-size: 2.5rem;
    color: var(--flyer-blue);
    line-height: 0;
    vertical-align: -0.4rem;
    margin-right: 0.2rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--flyer-blue);
    font-size: 0.95rem;
}

/* Wormsley */
.wormsley {
    padding: 3rem 2rem;
    background: var(--light-bg);
}

.wormsley h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

.wormsley-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    align-items: start;
}

.wormsley-text .lead {
    text-align: left;
    margin-bottom: 1.5rem;
}

.wormsley-address {
    background: white;
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid var(--flyer-red);
}

.wormsley-address h4 {
    color: var(--flyer-red);
    margin-bottom: 0.5rem;
}

.wormsley-address p {
    color: #666;
    line-height: 1.6;
}

/* Gallery */
.gallery {
    padding: 3rem 2rem;
    background: white;
}

.gallery h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 149, 219, 0.8);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.carousel-btn:hover {
    background: rgba(0, 149, 219, 1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-indicator.active {
    background: var(--flyer-blue);
    width: 14px;
    height: 14px;
}

.carousel-counter {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--flyer-blue);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.photo-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.03);
}

/* Charity */
.charity {
    padding: 3rem 2rem;
    background: var(--light-bg);
}

.charity h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

.charity-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.charity-logo img {
    max-width: 250px;
    height: auto;
}

.charity-text {
    max-width: 600px;
    text-align: center;
}

.charity-text .lead {
    margin-bottom: 1.5rem;
}

.btn-charity {
    display: inline-block;
    background: var(--flyer-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-charity:hover {
    background: #007AB8;
    transform: translateY(-2px);
}

/* Event Sponsor */
.event-sponsor {
    padding: 3rem 2rem;
    background: var(--light-bg);
}

.event-sponsor h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

.event-sponsor-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.event-sponsor-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.event-sponsor-container img:hover {
    transform: scale(1.05);
}

/* Team Sponsors */
.sponsors {
    padding: 3rem 2rem;
    background: white;
}

.sponsors h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--flyer-blue);
    margin-bottom: 2rem;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.sponsors-grid img {
    max-width: 200px;
    height: auto;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.sponsors-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0.3rem 0;
}

/* iPad Landscape Styles */
@media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
    /* Optimize for iPad landscape (1024x768, 1112x834, etc.) */
    
    .hero-logo-center {
        max-width: 250px; /* Reduced by half from ~500px */
    }
    
    .hero-badge-top {
        margin-top: 7rem; /* Moved down further to avoid clash */
        font-size: 0.65rem;
        padding: 0.6rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem; /* Reduced from 3rem */
    }
    
    .hero-hundred {
        font-size: 5rem; /* Reduced from 7rem */
    }
    
    .hero-festival {
        font-size: 2.2rem; /* Reduced from 3rem */
    }
    
    /* Navigation optimized for landscape width */
    .main-nav {
        padding: 0.75rem 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }
    
    /* Ensure all content fits landscape viewport */
    section {
        padding: 3rem 1.5rem;
    }
    
    .container {
        max-width: 1200px;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    /* iPad Portrait Styles */
    
    /* Reduce festival logo by half */
    .hero-logo-center {
        max-width: 250px; /* Reduced by half from ~500px */
    }
    
    /* Move banner down to avoid clash */
    .hero-badge-top {
        margin-top: 7rem; /* Moved down further */
    }
    
    /* Reformat navigation for iPad portrait */
    .main-nav {
        padding: 0.5rem 1rem;
    }
    
    .nav-menu {
        gap: 1rem; /* Reduce gap between nav items */
    }
    
    .nav-menu a {
        font-size: 0.9rem; /* Slightly smaller text */
        padding: 0.5rem 0.8rem; /* Tighter padding */
    }
    
    /* Hamburger menu for iPad if needed */
    .hamburger {
        display: none; /* Keep desktop nav on iPad portrait */
    }
    
    .nav-menu {
        display: flex !important;
        flex-wrap: wrap; /* Allow wrapping if needed */
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .hero-logo-corner {
        max-width: 70px;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .hero-logo-center {
        max-width: 280px;
        margin-top: 3rem;
    }
    
    .hero-badge-top {
        font-size: 0.65rem;
        padding: 0.6rem 1rem;
        margin-top: 6rem;
        letter-spacing: 1px;
        font-weight: 600;
    }
    
    .hero-content {
        margin: auto 0;
        padding: 0 1rem;
        margin-top: 2rem;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 0.75rem;
        font-weight: 800;
    }
    
    .hero-hundred {
        font-size: clamp(4.5rem, 15vw, 6.5rem);
        letter-spacing: 0;
        margin: 0.5rem 0;
        line-height: 1;
        font-weight: 900;
    }
    
    .hero-festival {
        font-size: clamp(2rem, 7vw, 3rem);
        margin: 0.5rem 0;
        font-weight: 700;
    }
    
    /* Hamburger Menu Styles */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 45px;
        height: 45px;
        background: var(--flyer-blue);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        z-index: 1000;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    
    .hamburger span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .hamburger.active {
        background: var(--flyer-red);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(44, 62, 80, 0.98);
        flex-direction: column;
        padding: 5rem 0 2rem 0;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        box-shadow: -4px 0 12px rgba(0,0,0,0.3);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav a {
        padding: 1.2rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.1rem;
    }
    
    .main-nav a:hover {
        background: var(--flyer-blue);
        padding-left: 2.5rem;
    }
    
    .countdown-timer {
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-label {
        font-size: 0.85rem;
    }
    
    .register-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 90%;
        max-width: 350px;
    }
    
    /* Format Mobile */
    .format-explainer h2 {
        font-size: 1.8rem;
    }
    
    .format-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .format-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* FAQ Mobile */
    .faq-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .faq-answer p,
    .faq-answer ul {
        padding: 0 1.5rem 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .faq-answer ul {
        padding-left: 2.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .wormsley-content {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
    }
    
    /* Carousel Mobile Adjustments */
    .carousel-slide {
        height: 300px;
    }
    
    .carousel-btn {
        font-size: 1.5rem;
        padding: 0.4rem 0.8rem;
    }
    
    .carousel-btn.prev {
        left: 0.25rem;
    }
    
    .carousel-btn.next {
        right: 0.25rem;
    }
    
    /* Event Sponsor Mobile Adjustments */
    .event-sponsor-container img {
        max-width: 250px;
    }
    
    /* Team Sponsors Mobile Adjustments */
    .sponsors-grid img {
        max-width: 140px;
    }
    
    /* Corporate Section Mobile */
    .corporate-hospitality {
        padding: 3rem 1.5rem;
    }
    
    .corporate-intro {
        font-size: 1.2rem;
    }
    
    .corporate-main,
    .corporate-highlight,
    .corporate-details p {
        font-size: 1rem;
    }
    
    .corporate-tagline {
        font-size: 1.15rem;
    }
    
    .corporate-price {
        font-size: 1.1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    /* Corporate Packages Mobile */
    .packages-title {
        font-size: 1.4rem;
    }
    
    .corporate-package-question {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
    
    .corporate-package-answer p,
    .corporate-package-answer ul {
        padding: 0 1.5rem 1.2rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .corporate-package-answer ul {
        padding-left: 2.5rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
}

/* Sticky Register Button */
.sticky-register-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #D32F2F 0%, #C62828 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(100px) scale(0.8);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    white-space: nowrap;
}

.sticky-register-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.sticky-register-btn.scroll-down {
    transform: translateY(150px);
    opacity: 0;
}

.sticky-register-btn.hidden-footer {
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.sticky-register-btn:hover {
    background: linear-gradient(135deg, #E53935 0%, #D32F2F 100%);
    box-shadow: 0 12px 35px rgba(211, 47, 47, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.sticky-register-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.sticky-btn-icon {
    font-size: 1.3rem;
    animation: bounce 2s ease-in-out infinite;
}

.sticky-register-btn.pulse {
    animation: pulse-button 1s ease-in-out;
}

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

@keyframes pulse-button {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 15px 40px rgba(211, 47, 47, 0.7);
    }
}

/* Mobile Responsive for Sticky Button */
@media (max-width: 768px) {
    .sticky-register-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 1rem;
        border-radius: 40px;
    }
    
    .sticky-btn-icon {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .sticky-register-btn {
        bottom: 15px;
        right: 15px;
        left: 15px;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transition: none;
}

.scroll-animate.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-up.animated {
    animation-name: fadeInUp;
}

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

.fade-in-left.animated {
    animation-name: fadeInLeft;
}

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

.fade-in-right.animated {
    animation-name: fadeInRight;
}

/* Fade In Scale Animation (for images/cards) */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-scale.animated {
    animation-name: fadeInScale;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Mobile: Faster animations */
@media (max-width: 768px) {
    .scroll-animate.animated {
        animation-duration: 0.6s;
    }
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    z-index: 9998;
    opacity: 0;
    transform: translateY(100px) scale(0.5);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.back-to-top-btn.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
    transform: translateY(-3px) scale(1.1);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* Mobile: Position above sticky register button */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 85px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Urgency Counter Styles */
.urgency-banner {
    background: linear-gradient(135deg, #FFA000 0%, #FF6F00 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 1.5rem 0 2rem 0;
    box-shadow: 0 6px 20px rgba(255, 160, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

.urgency-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.urgency-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

.urgency-text {
    font-size: 1rem;
    line-height: 1.4;
}

.urgency-countdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.countdown-label {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 600;
}

.urgency-countdown-value {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Urgency Badges on Packages */
.urgency-badge {
    background: #D32F2F;
    color: white;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.urgency-badge.high {
    background: linear-gradient(135deg, #FF5722 0%, #D32F2F 100%);
    animation: pulse-badge 2s ease-in-out infinite;
}

.urgency-badge.medium {
    background: linear-gradient(135deg, #FFA726 0%, #FF6F00 100%);
}

/* Hero Urgency Text */
.hero-urgency-text {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(211, 47, 47, 0.15);
    border-radius: 8px;
    border: 2px solid rgba(211, 47, 47, 0.3);
}

.hero-urgency-text p {
    margin: 0;
    font-size: 1rem;
    color: white;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 160, 0, 0.3);
    }
    50% {
        box-shadow: 0 6px 30px rgba(255, 160, 0, 0.5);
    }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .urgency-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1.5rem;
    }
    
    .urgency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .urgency-countdown {
        align-items: center;
    }
    
    .urgency-text {
        font-size: 0.95rem;
    }
    
    .urgency-countdown-value {
        font-size: 1.1rem;
    }
    
    .urgency-badge {
        margin-left: 0;
        margin-top: 0.5rem;
        font-size: 0.7rem;
    }
    
    .hero-urgency-text p {
        font-size: 0.9rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED MOBILE MENU - Premium UX for All Devices
   ═══════════════════════════════════════════════════════════════ */

/* Navigation Overlay (backdrop) */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Close Button */
.nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.nav-close span {
    display: block;
    line-height: 1;
    margin-top: -4px;
}

/* Menu Header */
.nav-header {
    padding: 30px 30px 20px 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.nav-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Enhanced Menu Items */
.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #2196F3;
    padding-left: 35px;
}

.nav-item.nav-active {
    background: rgba(33, 150, 243, 0.2);
    border-left-color: #2196F3;
    font-weight: 600;
}

/* Menu Icons */
.nav-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-text {
    flex: 1;
}

/* Menu Footer with Register Button */
.nav-footer {
    padding: 20px 30px 30px 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.nav-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.nav-register-btn:hover {
    background: linear-gradient(135deg, #42A5F5 0%, #2196F3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ═══════════════════════════════════════════════════════════════
   PHONE - PORTRAIT (< 768px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    /* Hide desktop nav, show hamburger */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 380px;
        height: 100%;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        z-index: 999;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Phone portrait specific */
    .nav-item {
        font-size: 1rem;
        padding: 16px 25px;
    }
    
    .nav-icon {
        font-size: 1.3rem;
        width: 28px;
        height: 28px;
    }
    
    .nav-header h3 {
        font-size: 1.3rem;
    }
    
    .nav-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        top: 15px;
        right: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PHONE - LANDSCAPE (< 768px height)
   ═══════════════════════════════════════════════════════════════ */

@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        width: 90%;
        max-width: 450px;
    }
    
    .nav-header {
        padding: 20px 30px 15px 30px;
    }
    
    .nav-header h3 {
        font-size: 1.2rem;
    }
    
    .nav-item {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .nav-icon {
        font-size: 1.2rem;
        width: 26px;
        height: 26px;
    }
    
    .nav-footer {
        padding: 15px 25px 20px 25px;
    }
    
    .nav-register-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .nav-close {
        width: 36px;
        height: 36px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TABLET - PORTRAIT (768px - 1024px)
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        max-width: 450px;
        height: 100%;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        z-index: 999;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Larger touch targets for tablet */
    .nav-item {
        font-size: 1.15rem;
        padding: 20px 35px;
    }
    
    .nav-icon {
        font-size: 1.6rem;
        width: 36px;
        height: 36px;
    }
    
    .nav-header h3 {
        font-size: 1.6rem;
    }
    
    .nav-close {
        width: 48px;
        height: 48px;
        font-size: 34px;
    }
    
    .nav-register-btn {
        font-size: 1.15rem;
        padding: 18px 28px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TABLET - LANDSCAPE (768px - 1024px)
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 45%;
        max-width: 500px;
        height: 100%;
        background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
        z-index: 999;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Optimized for landscape viewing */
    .nav-header {
        padding: 25px 35px 18px 35px;
    }
    
    .nav-header h3 {
        font-size: 1.4rem;
    }
    
    .nav-item {
        font-size: 1.05rem;
        padding: 16px 35px;
    }
    
    .nav-icon {
        font-size: 1.4rem;
        width: 32px;
        height: 32px;
    }
    
    .nav-footer {
        padding: 18px 35px 25px 35px;
    }
    
    .nav-register-btn {
        font-size: 1.05rem;
        padding: 14px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP (> 1024px) - Keep existing horizontal menu
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 1025px) {
    /* Hide mobile menu elements on desktop */
    .hamburger {
        display: none !important;
    }
    
    .nav-close {
        display: none !important;
    }
    
    .nav-overlay {
        display: none !important;
    }
    
    .nav-header {
        display: none !important;
    }
    
    .nav-footer {
        display: none !important;
    }
    
    /* Desktop horizontal menu */
    .main-nav {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        background: rgba(44, 62, 80, 0.95);
        padding: 0;
        border-radius: 0;
    }
    
    .nav-menu {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        box-shadow: none !important;
        right: auto !important;
    }
    
    .nav-item {
        display: inline-flex !important;
        align-items: center !important;
        padding: 1rem 1.5rem !important;
        margin: 0 !important;
        border: none !important;
        border-right: 1px solid rgba(255,255,255,0.1) !important;
        background: none !important;
        font-size: 1rem !important;
        color: white !important;
        text-decoration: none !important;
    }
    
    .nav-item:last-of-type {
        border-right: none !important;
    }
    
    .nav-item:hover {
        background: var(--flyer-blue) !important;
    }
    
    .nav-icon {
        display: none !important; /* Hide icons on desktop */
    }
    
    .nav-text {
        display: inline !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: white !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY & TOUCH IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* Ensure good touch targets (44x44px minimum) */
@media (pointer: coarse) {
    .nav-item {
        min-height: 44px;
    }
    
    .hamburger {
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-close {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Focus styles for keyboard navigation */
.nav-item:focus,
.hamburger:focus,
.nav-close:focus {
    outline: 3px solid #2196F3;
    outline-offset: 2px;
}

/* Smooth scrolling when menu items are clicked */
html {
    scroll-behavior: smooth;
}

/* Prevent body scroll when menu is open (mobile only) */
@media (max-width: 1024px) {
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
}

/* Custom scrollbar for menu (webkit browsers) */
.nav-menu::-webkit-scrollbar {
    width: 8px;
}

.nav-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.nav-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ═══════════════════════════════════════════════════════════════
   END ENHANCED MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   ENHANCED HERO SECTION - MOBILE OPTIMIZATION
   ═══════════════════════════════════════════════════════════════ */

/* Extra safety for hero logo on very small screens */
@media (max-width: 400px) {
    .hero-logo-corner {
        max-width: 60px;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .hero-badge-top {
        font-size: 0.7rem;
        padding: 0.6rem 1.5rem;
        letter-spacing: 1px;
        margin-top: 0.5rem;
    }
}

/* Phone - Portrait detailed optimization */
@media (max-width: 767px) and (orientation: portrait) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0.75rem;
        justify-content: space-between;
    }
    
    .hero-logo-corner {
        max-width: 70px;
        top: 0.75rem;
        left: 0.75rem;
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.7));
    }
    
    .hero-badge-top {
        font-size: 0.75rem;
        padding: 0.75rem 1.75rem;
        letter-spacing: 1.2px;
        margin-top: 1rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-content {
        margin: auto 0;
        padding: 0 1rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .hero-hundred {
        font-size: clamp(4rem, 16vw, 6rem);
        margin: 0.25rem 0;
        line-height: 0.9;
    }
    
    .hero-festival {
        font-size: clamp(1.6rem, 7.5vw, 2.6rem);
        margin: 0.25rem 0;
        line-height: 1.2;
    }
    
    /* Ensure navigation has proper spacing */
    .main-nav {
        margin-top: auto;
        margin-bottom: 1rem;
    }
}

/* Phone - Landscape optimization */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 0.5rem;
    }
    
    .hero-logo-corner {
        max-width: 50px;
        top: 0.5rem;
        left: 0.5rem;
    }
    
    .hero-badge-top {
        font-size: 0.65rem;
        padding: 0.5rem 1.25rem;
        margin-top: 0.5rem;
        letter-spacing: 1px;
    }
    
    .hero-content {
        margin: auto 0;
        padding: 0 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 0.25rem;
    }
    
    .hero-hundred {
        font-size: clamp(3rem, 10vw, 4.5rem);
        margin: 0;
        line-height: 0.85;
    }
    
    .hero-festival {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin: 0;
    }
    
    .main-nav {
        margin-bottom: 0.5rem;
    }
}

/* Tablet - Portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero {
        min-height: 90vh;
        padding: 1.5rem;
    }
    
    .hero-logo-corner {
        max-width: 100px;
        top: 1rem;
        left: 1rem;
    }
    
    .hero-badge-top {
        font-size: 0.9rem;
        padding: 0.9rem 2rem;
        letter-spacing: 1.4px;
        margin-top: 1.5rem;
    }
    
    .hero-content {
        margin: auto 0;
        padding: 0 2rem;
        margin-top: 2rem;
    }
    
    .hero h1 {
        font-size: clamp(3rem, 7vw, 4rem);
        margin-bottom: 1rem;
    }
    
    .hero-hundred {
        font-size: clamp(5.5rem, 13vw, 7.5rem);
        margin: 0.5rem 0;
    }
    
    .hero-festival {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin: 0.5rem 0;
    }
}

/* Tablet - Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 1.5rem;
    }
    
    .hero-logo-corner {
        max-width: 90px;
        top: 1rem;
        left: 1rem;
    }
    
    .hero-badge-top {
        font-size: 0.85rem;
        padding: 0.8rem 1.8rem;
        letter-spacing: 1.3px;
        margin-top: 1rem;
    }
    
    .hero-content {
        margin: auto 0;
        padding: 0 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-hundred {
        font-size: clamp(4.5rem, 11vw, 6.5rem);
        margin: 0.25rem 0;
    }
    
    .hero-festival {
        font-size: clamp(2rem, 5vw, 3rem);
        margin: 0.25rem 0;
    }
}

/* Very small phones (iPhone SE, etc.) */
@media (max-width: 375px) and (orientation: portrait) {
    .hero-logo-corner {
        max-width: 55px;
    }
    
    .hero-badge-top {
        font-size: 0.65rem;
        padding: 0.6rem 1.25rem;
        letter-spacing: 0.8px;
    }
    
    .hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }
    
    .hero-hundred {
        font-size: clamp(3.5rem, 14vw, 5.5rem);
    }
    
    .hero-festival {
        font-size: clamp(1.4rem, 6.5vw, 2.2rem);
    }
}

/* Large phones (iPhone Pro Max, etc.) */
@media (min-width: 414px) and (max-width: 767px) and (orientation: portrait) {
    .hero-logo-corner {
        max-width: 80px;
    }
    
    .hero-badge-top {
        font-size: 0.8rem;
        padding: 0.8rem 2rem;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-hundred {
        font-size: clamp(4.5rem, 16vw, 6.5rem);
    }
    
    .hero-festival {
        font-size: clamp(1.8rem, 7.5vw, 2.8rem);
    }
}

/* Ensure text remains readable with good contrast */
.hero h1,
.hero-hundred,
.hero-festival {
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.9),
        0 0 8px rgba(0,0,0,0.8),
        0 0 16px rgba(0,0,0,0.6);
}

/* Ensure logo is always visible with good shadow */
.hero-logo-corner {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7))
            drop-shadow(0 2px 4px rgba(0,0,0,0.9));
}

/* Ensure badge stands out */
.hero-badge-top {
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Prevent text overflow on very narrow screens */
@media (max-width: 320px) {
    .hero h1,
    .hero-hundred,
    .hero-festival {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-logo-corner {
        max-width: 50px;
    }
    
    .hero-badge-top {
        font-size: 0.6rem;
        padding: 0.5rem 1rem;
        letter-spacing: 0.5px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   END ENHANCED HERO SECTION MOBILE OPTIMIZATION

/* ═══════════════════════════════════════════════════════════════
   HERO CHARITY INLINE - CLEAN ROCK 2 RECOVERY REFERENCE
   ═══════════════════════════════════════════════════════════════ */

.hero-charity-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: charity-fade-in 1s ease-out 0.8s both;
}

.charity-supporting-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    opacity: 0.95;
}

.charity-logo-inline {
    height: 50px;
    width: auto;
    max-width: 220px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.8));
    transition: transform 0.3s ease;
}

.charity-logo-inline:hover {
    transform: scale(1.05);
}

.charity-tagline-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    opacity: 0.9;
}

/* Animation */
@keyframes charity-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .hero-charity-inline {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .charity-supporting-text {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }
    
    .charity-logo-inline {
        height: 40px;
        max-width: 180px;
    }
    
    .charity-tagline-text {
        font-size: 0.65rem;
        letter-spacing: 1.2px;
    }
}

/* Very small phones */
@media (max-width: 375px) {
    .hero-charity-inline {
        gap: 0.4rem;
        margin-top: 1.25rem;
    }
    
    .charity-supporting-text {
        font-size: 0.65rem;
        letter-spacing: 1.2px;
    }
    
    .charity-logo-inline {
        height: 35px;
        max-width: 160px;
    }
    
    .charity-tagline-text {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

/* Phone landscape */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .hero-charity-inline {
        gap: 0.4rem;
        margin-top: 1rem;
    }
    
    .charity-supporting-text {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
    
    .charity-logo-inline {
        height: 32px;
        max-width: 150px;
    }
    
    .charity-tagline-text {
        font-size: 0.55rem;
        letter-spacing: 0.8px;
    }
}

/* Tablet portrait */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-charity-inline {
        gap: 0.85rem;
        margin-top: 2rem;
    }
    
    .charity-supporting-text {
        font-size: 0.9rem;
        letter-spacing: 2.2px;
    }
    
    .charity-logo-inline {
        height: 55px;
        max-width: 240px;
    }
    
    .charity-tagline-text {
        font-size: 0.8rem;
        letter-spacing: 1.6px;
    }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero-charity-inline {
        gap: 0.7rem;
        margin-top: 1.5rem;
    }
    
    .charity-supporting-text {
        font-size: 0.8rem;
        letter-spacing: 1.8px;
    }
    
    .charity-logo-inline {
        height: 48px;
        max-width: 210px;
    }
    
    .charity-tagline-text {
        font-size: 0.7rem;
        letter-spacing: 1.4px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .hero-charity-inline {
        gap: 0.9rem;
        margin-top: 2.5rem;
    }
    
    .charity-supporting-text {
        font-size: 0.95rem;
        letter-spacing: 2.5px;
    }
    
    .charity-logo-inline {
        height: 60px;
        max-width: 260px;
    }
    
    .charity-tagline-text {
        font-size: 0.85rem;
        letter-spacing: 1.8px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   END HERO CHARITY INLINE
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   📱 MOBILE ENHANCEMENTS - iPhone Specific
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 428px) {
    
    /* Hero Section - Mobile Optimized */
    .hero {
        min-height: 100vh;
        padding: 0;
        background-attachment: scroll !important;
        transform: none !important;
        will-change: auto !important;
    }
    
    .hero * {
        transform: none !important;
        animation: none !important;
        will-change: auto !important;
    }
    
    .hero-logo-corner {
        position: relative;
        top: 0;
        left: 0;
        max-width: 85px;
        margin: 1.5rem 0 0 1.5rem;
    }
    
    .hero-badge-top {
        padding: 1rem 2rem;
        font-size: 0.75rem;
        margin: 1rem auto;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-hundred {
        font-size: 8.5rem;
    }
    
    .hero-festival {
        font-size: 3.5rem;
    }
    
    /* Charity Corner - Handwritten Chalk Font */
    .hero-charity-corner {
        padding: 0 2rem 2rem 2rem;
        transform: rotate(-1.5deg) !important;
    }
    
    .charity-supporting-text {
        font-family: 'Chalkduster', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive !important;
        font-size: 1.1rem !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
        margin-bottom: 0.3rem;
        text-transform: capitalize !important;
    }
    
    .charity-logo-inline {
        height: 60px;
        max-width: 240px;
        margin: 0.5rem 0;
        opacity: 0.9 !important;
        filter: brightness(1.1) !important;
        mix-blend-mode: screen !important;
    }
    
    .charity-tagline-text {
        font-family: 'Chalkduster', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive !important;
        font-size: 1.3rem !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
        font-weight: 600 !important;
        margin-top: 0.3rem;
        text-transform: capitalize !important;
    }
    
    .charity-subtitle-text {
        font-family: 'Chalkduster', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive !important;
        font-size: 1rem !important;
        color: white !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
        font-weight: 400 !important;
        margin-top: 0.2rem;
        font-style: italic !important;
        opacity: 0.95 !important;
    }
    
    /* Hamburger Menu - Always Visible */
    .hamburger {
        display: flex !important;
        position: fixed !important;
        top: 1rem;
        right: 1rem;
        z-index: 9999;
        background: rgba(10, 15, 25, 0.95);
        padding: 14px;
        border-radius: 14px;
        border: 3px solid rgba(255, 255, 255, 0.35);
        width: 56px;
        height: 56px;
        justify-content: space-around;
    }
    
    .hamburger span {
        width: 28px;
        height: 3.5px;
    }
    
    /* Countdown - 2x2 Grid, No Boxes, White Numbers */
    .countdown {
        background: #C8102E;
        color: white;
        padding: 3.5rem 1.5rem;
    }
    
    .countdown h2 {
        color: white;
        font-size: 2.2rem;
    }
    
    .countdown-timer {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: 1fr 1fr !important;
        gap: 2.5rem 2rem !important;
        max-width: 320px !important;
        margin: 0 auto 3rem auto !important;
        justify-items: center !important;
    }
    
    .countdown-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        background: none !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .countdown-number {
        color: white !important;
        font-size: 4.5rem !important;
        font-weight: 900 !important;
        line-height: 1 !important;
        text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4) !important;
        margin-bottom: 0.5rem !important;
    }
    
    .countdown-label {
        color: white !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        letter-spacing: 1.5px !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4) !important;
        text-transform: uppercase !important;
    }
    
    /* All Sections - Proper Spacing */
    section {
        padding: 3rem 1.5rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Buttons - Full Width */
    .register-btn,
    .package-cta,
    .charity-cta {
        width: 100%;
        padding: 1.4rem 2rem;
        font-size: 1.15rem;
    }
    
    /* Text - Readable */
    h2 {
        font-size: 2.4rem !important;
        margin-bottom: 2rem;
    }
    
    h3 {
        font-size: 1.8rem !important;
    }
    
    p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    /* Gallery - Single Column */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Teams - Single Column */
    .teams-grid {
        grid-template-columns: 1fr;
    }
    
    /* Match Cards - Full Width */
    .match-card {
        padding: 2.5rem 2rem;
        margin-bottom: 2rem;
    }
    
    /* ═══════════════════════════════════════════════════════════
       🛑 ANTI-SHUDDER FIXES - STOP ALL PARALLAX/TRANSFORMS
       ═══════════════════════════════════════════════════════════ */
    
    /* Remove ALL transforms and animations globally */
    * {
        transform: none !important;
        animation: none !important;
        will-change: auto !important;
        backface-visibility: hidden !important;
        -webkit-backface-visibility: hidden !important;
    }
    
    /* Exceptions - only these can have transforms */
    .hamburger.active span,
    .hero-charity-corner {
        transform: revert !important;
    }
    
    /* Force smooth scrolling */
    html {
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: auto !important;
    }
    
    body {
        overflow-x: hidden !important;
        -webkit-font-smoothing: antialiased !important;
    }
    
    /* Stop hero from moving */
    .hero {
        position: relative !important;
        background-attachment: scroll !important;
        background-position: center center !important;
        transform: translate3d(0, 0, 0) !important;
    }
    
    /* Prevent any perspective effects */
    html,
    body,
    .hero,
    section {
        perspective: none !important;
        -webkit-perspective: none !important;
        transform-style: flat !important;
        -webkit-transform-style: flat !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   END MOBILE ENHANCEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   📱 iPAD SPECIFIC FIXES
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 429px) and (max-width: 1024px) {
    
    /* Hamburger Menu - Top Right on iPad */
    .hamburger {
        display: flex !important;
        position: fixed !important;
        top: 2rem;
        right: 2rem;
        z-index: 9999;
        background: rgba(10, 15, 25, 0.95);
        padding: 16px;
        border-radius: 16px;
        border: 3px solid rgba(255, 255, 255, 0.35);
        width: 64px;
        height: 64px;
        justify-content: space-around;
        flex-direction: column;
        align-items: center;
    }
    
    .hamburger span {
        width: 32px;
        height: 4px;
        background: white;
        border-radius: 2px;
    }
    
    /* Hero Charity Corner - Right Side on iPad */
    .hero-charity-corner {
        position: absolute !important;
        bottom: 3rem !important;
        right: 3rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        max-width: 280px !important;
        padding: 0 !important;
        transform: rotate(-1.5deg) !important;
    }
    
    .charity-supporting-text {
        font-family: 'Chalkduster', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive !important;
        font-size: 1.4rem !important;
        color: white !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7) !important;
        margin-bottom: 0.5rem !important;
        text-transform: capitalize !important;
    }
    
    .charity-logo-inline {
        height: 80px !important;
        max-width: 280px !important;
        width: auto !important;
        margin: 0.7rem 0 !important;
        opacity: 0.9 !important;
        filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)) !important;
        mix-blend-mode: screen !important;
    }
    
    .charity-tagline-text {
        font-family: 'Chalkduster', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive !important;
        font-size: 1.6rem !important;
        color: white !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7) !important;
        font-weight: 600 !important;
        margin-top: 0.5rem !important;
        text-transform: capitalize !important;
    }
    
    .charity-subtitle-text {
        font-family: 'Chalkduster', 'Comic Sans MS', 'Chalkboard SE', 'Marker Felt', cursive !important;
        font-size: 1.2rem !important;
        color: white !important;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7) !important;
        font-weight: 400 !important;
        margin-top: 0.3rem !important;
        font-style: italic !important;
        opacity: 0.95 !important;
    }
    
    /* Hero Logo - Top Left on iPad */
    .hero-logo-corner {
        position: absolute !important;
        top: 2rem !important;
        left: 2rem !important;
        max-width: 180px !important;
        z-index: 100 !important;
    }
    
    /* Hero Badge - Top Center */
    .hero-badge-top {
        margin-top: 2rem;
        font-size: 1rem;
        padding: 1.2rem 3rem;
    }
    
    /* Hero Content - Center */
    .hero-content {
        padding: 3rem 2rem;
    }
    
    /* Countdown - Better spacing on iPad */
    .countdown {
        padding: 4rem 3rem;
    }
    
    .countdown-timer {
        max-width: 600px;
        gap: 3rem;
    }
    
    .countdown-number {
        font-size: 5rem !important;
    }
    
    .countdown-label {
        font-size: 1.1rem !important;
    }
}

/* iPad Landscape Specific */
@media (min-width: 429px) and (max-width: 1024px) and (orientation: landscape) {
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-charity-corner {
        bottom: 2rem !important;
        right: 2.5rem !important;
    }
    
    .charity-logo-inline {
        height: 70px !important;
        max-width: 240px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   END iPAD FIXES
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   HERO BOTTOM RIGHT IMAGE
   ═══════════════════════════════════════════════════════════════ */

.hero-bottom-right {
    position: absolute;
    bottom: 8rem;
    right: 10rem;
    z-index: 10;
    max-width: 180px;
}

.hero-charity-image {
    width: 100%;
    height: auto;
    max-height: 95px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.7));
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-bottom-right {
        bottom: 1.5rem;
        right: 0.75rem;
        max-width: 130px;
    }
    
    .hero-charity-image {
        max-height: 70px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-bottom-right {
        bottom: 1rem;
        right: 0.5rem;
        max-width: 110px;
    }
    
    .hero-charity-image {
        max-height: 60px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-bottom-right {
        bottom: 6rem;
        right: 6rem;
        max-width: 150px;
    }
    
    .hero-charity-image {
        max-height: 80px;
    }
}

/* Desktop/Laptop adjustments */
@media (min-width: 1025px) {
    .hero-bottom-right {
        bottom: 10rem;
        right: 14rem;
        max-width: 200px;
    }
    
    .hero-charity-image {
        max-height: 110px;
    }
}

/* Large desktop */
@media (min-width: 1400px) {
    .hero-bottom-right {
        bottom: 12rem;
        right: 18rem;
        max-width: 220px;
    }
    
    .hero-charity-image {
        max-height: 120px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION TEXT FIX
   ═══════════════════════════════════════════════════════════════ */

.nav-text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
}

.nav-item {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 30px !important;
    color: white !important;
    text-decoration: none !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border-left: 4px solid transparent !important;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-left-color: #DC3545 !important;
}

.nav-icon {
    font-size: 1.3rem !important;
    display: inline-block !important;
}

.nav-header h3 {
    color: white !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    display: block !important;
    visibility: visible !important;
}
