/*
Theme Name: Level the Field
Theme URI: https://levelthefield.ca
Author:  BigNERD Solutions x CHDL 2026
Author URI: https://carterhales.com
Description: Custom WordPress theme for Level the Field Foundation website with ACF-powered hero slider and flexible content sections
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: levelthefield
Tags: charity, nonprofit, custom-header, custom-logo, flexible-header, accessibility-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================================================== */

:root {
    /* Primary Colors */
    --color-primary: #175E54;
    --color-primary-dark: #0f4439;
    --color-secondary: #00675B;
    --color-accent: #00BC70;
    --color-gold: #FBBD47;
    --color-gold-dark: #D39826;
    --color-fifa-yellow: #F9B909;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-light: #F4F4F4;
    --color-gray: #666666;
    --color-gray-dark: #333333;

    /* Typography */
    --font-serif: 'Serifa', 'Times New Roman', serif;
    --font-sans: 'Scandia', 'Helvetica', 'Arial', sans-serif;
    --font-system: 'Arial', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 40px;
    --spacing-xl: 60px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-full: 100px;

    /* Transitions */
    --transition-base: all 0.3s ease;

    /* Header */
    --header-height: 55px;
}

/* ==========================================================================
   RESET AND BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-system);
    line-height: 1.6;
    color: var(--color-primary);
}

/* Fix for sticky header covering anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 55px; /* Accounts for sticky header height */
}

/* Additional specific offset for donate section */
#donate {
    scroll-margin-top: 55px;
}

/* ==========================================================================
   TYPOGRAPHY - FONT DEFINITIONS
   ========================================================================== */

/* Font Utility Classes */
.font-serifa {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-weight: 400;
    color: #00675B;
}

.font-serifa-light {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-weight: 300;
}

.font-serifa-bold {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-weight: 700;
    color: #00675B;
}

.font-serifa-extra-bold {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-weight: 800;
}

.font-scandia {
    font-family: 'Scandia', 'Helvetica', 'Arial', sans-serif;
    font-weight: 400;
    font-style: normal;
}

.font-scandia-medium {
    font-family: 'Scandia', 'Helvetica', 'Arial', sans-serif;
    font-weight: 500;
    font-style: normal;
}

.font-weight-normal {
    font-weight: 400;
}

.font-weight-bold {
    font-weight: 700;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 22px 0;
    z-index: 1000;
    transition: var(--transition-base);
}

/* Header scrolled state - applied via JavaScript */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Form input focus states - applied via JavaScript */
.form-input-focused {
    border-color: var(--color-primary) !important;
    transition: border-color 0.3s ease;
}

.custom-amount-focused {
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(0, 188, 112, 0.1);
}

/* Button pulse animation */
.btn-pulse {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Button click animation */
.btn-click {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 500;
    gap: 22px;
    flex-shrink: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #175E54;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00BC70;
}

.contest-btn,
.nav-links .menu-item a.contest-btn,
.nav-links .menu-item.contest-btn a {
    background: #FBBD47;
    color: #175E54;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 500;
    font-family: 'Serifa', 'Times New Roman', serif;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(235, 172, 33, 0.2);
    text-decoration: none;
}

.contest-btn:hover,
.nav-links .menu-item a.contest-btn:hover,
.nav-links .menu-item.contest-btn a:hover {
    background: #F0B23A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(235, 172, 33, 0.3);
}

.donate-btn {
    background-color: #175E54;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donate-btn:hover {
    background-color: #0f4439;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 94, 84, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #175E54;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -7px);
}

/* FIFA BANNER SECTION - Base styles in components.css */

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    color: white;
    padding: 8rem 0 4rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2d7d6f;
    margin-bottom: 0;
    top: -1px;
}

.hero-bg-carousel {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-bg-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, #2d7d6f 0%, #2d7d6f 30%, rgba(45, 125, 111, 0.8) 50%, rgba(45, 125, 111, 0.4) 70%, transparent 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.hero-content-carousel {
    width: 100%;
    height: 100%;
}

.hero-content-swiper {
    width: 100%;
    height: 100%;
}

.hero-content-swiper .swiper-wrapper,
.hero-content-swiper .swiper-slide {
    height: auto;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
    color: white;
}

.hero-content p {
    font-size: 24px;
    line-height: 1.5;
    opacity: 0.95;
}

/* Swiper Pagination */
.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 12px;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet-active {
    background-color: white;
    width: 32px;
    border-radius: 6px;
}

/* ==========================================================================
   PARTNERS / CONTENT SECTION
   ========================================================================== */

.partners {
    padding: 66px 40px 10px;
    background-color: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.partners-container {
    text-align: center;
}

.partners-container h2 {
    font-size: 33px;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #175E54;
    font-weight: 800;
}

.partners-subtitle {
    font-size: 20px;
    line-height: 1.375;
    margin-bottom: 66px;
    color: #175E54;
    font-weight: 700;
}

.community-list {
    list-style: none;
    padding: 0;
    margin: 0 0 66px 120px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    text-align: left;
    max-width: 600px;
}

.community-list-item {
    position: relative;
    padding-left: 24px;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 20px;
    color: #175E54;
    font-weight: 700;
}

.community-list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00BC70;
    font-size: 20px;
    font-weight: bold;
}

.capacity-heading {
    margin-top: 66px;
    margin-bottom: 22px;
}

.capacity-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 25px auto;
    max-width: 750px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.capacity-list-item {
    font-size: 20px;
    color: #175E54;
    font-weight: 700;
    padding: 4px 0 4px 24px;
    position: relative;
}

.capacity-list-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00BC70;
    font-size: 20px;
    font-weight: bold;
}

.learn-more-link {
    display: inline-block;
    background-color: transparent;
    color: #00675B;
    padding: 0;
    border-radius: 0;
    text-decoration: underline;
    font-size: 25px;
    font-weight: 700;
    transition: all 0.3s ease;
    margin: 5px 0 20px 0;
}

.learn-more-link:hover {
    background-color: transparent;
    opacity: 0.8;
    transform: translateY(-2px);
    box-shadow: none;
}

/* ==========================================================================
   CALLOUT BOXES (FLEXIBLE COMPONENT)
   ========================================================================== */

.callout-boxes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 40px;
}

.callout-box {
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.callout-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.callout-box h2,
.callout-box h3 {
    margin-bottom: 16px;
}

.callout-box p {
    line-height: 1.6;
}

.callout-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.callout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   DONATION SECTION
   ========================================================================== */

.donation {
    padding: 0px 40px;
    background-color: white;
}

.donation-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.campaign-item {
    margin-bottom: 40px;
}

.donation-info {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

.fifa-goal-box {
    background-color: #F4F4F4;
    color: #175E54;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.fifa-goal-box h2 {
    font-size: 33px;
    margin-bottom: 20px;
    margin-top: 0;
    color: #EBAC21;
    font-weight: 700;
}

.fifa-goal-box p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #175E54;
    font-weight: 700;
}

.corporation-text {
    font-size: 20px;
    font-weight: 700;
    color: #175E54;
    margin: 20px 0;
    text-align: center;
}

.corporation-text a {
    color: #00BC70;
    text-decoration: underline;
}

.corporation-text a:hover {
    color: #175E54;
}

.large-donation-callout {
    background-color: transparent;
    color: #175E54;
    padding: 24px 0;
    border-radius: 0;
    margin-top: 24px;
    text-align: center;
}

.large-donation-heading {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #175E54;
}

.large-donation-callout p {
    font-size: 20px;
    color: #175E54;
    font-weight: 700;
}

.large-donation-callout a {
    color: #00BC70;
    text-decoration: underline;
}

.large-donation-callout a:hover {
    color: #175E54;
}

.fifa-goal-box p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   CAMPAIGN PAGE
   ========================================================================== */

/* Campaign Hero Section */
.campaign-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Image Container - 70% width on right side (matching original) */
.campaign-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    /* Fade left edge of image container to eliminate hard line */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
}

.campaign-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.campaign-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

.campaign-hero-content {
    max-width: 650px;
    color: white;
}

/* Prevent text wrapping for specific phrases */
.no-wrap {
    white-space: nowrap;
    display: inline-block;
}

.campaign-hero-eyebrow {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    opacity: 0.9;
    color: white;
}

.campaign-hero-heading {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: white;
}

.campaign-hero-subtext {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 24px;
    opacity: 0.95;
}

.campaign-hero-cta {
    display: inline-block;
    background-color: #00BC70;
    color: #175E54;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.campaign-hero-cta:hover {
    background-color: #00A863;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 188, 112, 0.3);
}

/* Campaign Body Section */
.campaign-body {
    padding: 60px 40px;
    background-color: white;
}

.campaign-container {
    max-width: 1200px;
    margin: 0 auto;
}

.campaign-content {
    color: #175E54;
    line-height: 1.7;
}

.campaign-content h2 {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 28px;
    color: #175E54;
    margin: 32px 0 16px 0;
}

.campaign-content h3 {
    font-family: 'Serifa', 'Times New Roman', serif;
    font-weight: 700;
    font-size: 22px;
    color: #175E54;
    margin: 24px 0 12px 0;
}

.campaign-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

.campaign-content a {    
    text-decoration: underline;
}

.campaign-content a:hover {
    color: #175E54;
}

.campaign-content ul,
.campaign-content ol {
    margin: 16px 0 16px 24px;
}

.campaign-content li {
    margin-bottom: 8px;
}

.campaign-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

/* Campaign Page Contest Button */
.campaign-content .contest-btn {
    font-size: 16px;
}

/* Campaign Tables */
.campaign-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.campaign-content table th {
    background-color: #175E54;
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
}

.campaign-content table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.campaign-content table tr:hover td {
    background-color: #f9f9f9;
}

/* Draw Rules Section */
.draw-rules {
    background: #F0F9F7;
    padding: 25px;
    border-left: 4px solid #00BC70;
    margin: 30px 0;
    border-radius: 4px;
}

.draw-rules h3 {
    color: #175E54;
    margin-top: 0;
    margin-bottom: 15px;
}

.draw-rules ol {
    margin: 15px 0;
    padding-left: 25px;
}

.draw-rules li {
    margin: 10px 0;
    line-height: 1.6;
    color: #333;
}

/* Draws Table */
.draws-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}

.draws-table th,
.draws-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.draws-table th {
    background-color: #175E54;
    color: white;
    font-weight: 700;
    font-family: 'Serifa', serif;
}

.draws-table th:last-child {
    padding-left: 50px;
}

.draws-table tr:hover {
    background-color: #f9f9f9;
}

.draws-table td {
    color: #333;
}

.draws-table ul {
    margin: 0;
    padding-left: 20px;
}

.draws-table li {
    margin: 5px 0;
}

.draw-period {
    font-weight: 700;
    color: #175E54;
    display: block;
    margin-bottom: 5px;
}

.draw-actions {
    text-align: center;
    margin-top: 20px;
}

/* Draw Footer */
.draw-footer {
    margin-top: 40px;
}

.draw-footer p {
    color: #666;
    font-size: 16px;
    margin: 10px 0;
    line-height: 1.6;
}

.draw-footer .rules-link {
    color: #00BC70;
    text-decoration: none;
    font-weight: 700;
}

.draw-footer .rules-link:hover {
    text-decoration: underline;
}

.tax-deductible {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #FFF9E6;
    border-radius: 4px;
    font-size: 16px;
    color: #175E54;
    font-weight: 700;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* About Hero Section */
.about-hero {
    background-color: #175E54;
    padding: 120px 40px 60px;
    text-align: center;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-page-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: white;
    margin: 0;
}

/* About Content Section */
.about-content {
    padding: 60px 40px;
    background-color: white;
}

.about-section {
    text-align: left;
    margin-bottom: 80px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section-heading {
    font-size: 33px;
    line-height: 1.2em;
    color: #175E54;
    margin-bottom: 40px;
    font-weight: 800;
}

.about-section-content {
    color: #175E54;
    font-size: 18px;
    line-height: 1.8;
}

.about-section-content p {
    margin-bottom: 25px;
}

.about-section-content p:last-child {
    margin-bottom: 0;
}

.about-section-content a {
    color: #00675B;
    text-decoration: underline;
}

.about-section-content a:hover {
    color: #175E54;
}

/* Why This Matters - Intro styling */
.about-why-intro {
    margin-bottom: 25px;
}

.about-why-intro p {
    font-size: 18px;
}

.about-why-details {
    margin-bottom: 25px;
}

/* How We Work Section */
.about-how-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-how-item {
    padding-left: 0;
}

.about-how-item-heading {
    font-size: 1.3rem;
    color: #00675B;
    margin-bottom: 15px;
}

.about-how-item-content {
    color: #175E54;
    font-size: 18px;
    line-height: 1.8;
}

.about-how-item-content p {
    margin-bottom: 12px;
}

.about-how-item-content p:last-child {
    margin-bottom: 0;
}

/* About CTA Section */
.about-cta {
    padding: 0 40px;
    margin-top: 60px;
    text-align: center;
    background-color: white;
}

.about-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-cta-heading-link {
    text-decoration: underline;
    text-decoration-color: #175E54;
    color: #175E54;
}

.about-cta-heading-link:hover {
    text-decoration-color: #00675B;
}

.about-cta-heading-link:hover .about-cta-heading {
    color: #00675B;
}

.about-cta-heading {
    font-size: 33px;
    line-height: 1.2em;
    color: #175E54;
    margin-bottom: 24px;
    font-weight: 800;
    transition: color 0.3s ease;
}

.about-cta-button {
    display: inline-block;
    background-color: #00675B;
    color: white;
    padding: 20px 40px;
    margin-bottom: 65px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 103, 91, 0.3);
}

.about-cta-button:hover {
    background-color: #175E54;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 103, 91, 0.4);
    color: white;
}

/* About Page Responsive Styles */
@media (max-width: 1024px) {
    .about-page-title {
        font-size: 2.2rem;
    }

    .about-section-heading {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 100px 30px 50px;
    }

    .about-page-title {
        font-size: 2rem;
    }

    .about-content {
        padding: 40px 30px;
    }

    .about-section {
        margin-bottom: 60px;
    }

    .about-section-heading {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .about-section-content {
        font-size: 16px;
    }

    .about-section-content p {
        margin-bottom: 20px;
    }

    .about-why-intro p {
        font-size: 16px;
    }

    .about-how-item-heading {
        font-size: 1.2rem;
    }

    .about-how-item-content {
        font-size: 16px;
    }

    .about-cta {
        padding: 50px 30px 55px;
    }

    .about-cta-heading {
        font-size: 1.3rem;
    }

    .about-cta-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 90px 20px 40px;
    }

    .about-page-title {
        font-size: 1.75rem;
    }

    .about-content {
        padding: 30px 20px;
    }

    .about-section {
        margin-bottom: 50px;
    }

    .about-section-heading {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .about-how-items {
        gap: 30px;
    }

    .about-how-item-heading {
        font-size: 1.1rem;
    }

    .about-cta {
        padding: 40px 20px 50px;
    }

    .about-cta-heading {
        font-size: 1.2rem;
    }

    .about-cta-button {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background-color: #175E54;
    color: white;
    padding: 60px 40px 30px 40px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    margin-bottom: 40px;
}

.footer-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-org-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-charity-number {
    font-size: 14px;
    opacity: 0.9;
}

.level-logo svg {
    max-width: 300px;
    height: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-4px);
}

.social-link svg {
    display: block;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .footer-main-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Campaign Page - 1024px */
    .campaign-hero-content {
        max-width: 600px;
    }

    .campaign-hero-heading {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    /* Hero adjustments for mobile */
    .hero {
        min-height: 50vh;
        padding: 4rem 0 2rem;
        align-items: flex-end;
    }
    
    .hero-bg-carousel {
        width: 100%;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(to bottom, rgba(45, 125, 111, 0.3) 0%, rgba(45, 125, 111, 0.5) 30%, rgba(45, 125, 111, 0.8) 60%, rgba(45, 125, 111, 0.95) 100%);
    }
    
    .hero-container {
        padding-bottom: 60px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .fifa-banner-video,
    .fifa-banner-img {
        display: none;
    }
    
    .fifa-banner-img-small {
        display: block;
    }
    
    .community-list {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .capacity-list {
        align-items: flex-start;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    /* Campaign Page - 768px */
    .campaign-hero {
        min-height: 400px;
    }

    .campaign-hero-bg {
        width: 100%;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .campaign-hero-content {
        max-width: 100%;
    }

    .campaign-hero-heading {
        font-size: 28px;
        line-height: 1.3;
    }

    .campaign-hero-subtext {
        font-size: 16px;
    }

    .campaign-hero-container {
        padding: 40px 30px;
    }

    .campaign-body {
        padding: 40px 30px;
    }

    .campaign-content table {
        font-size: 14px;
    }

    .campaign-content table th,
    .campaign-content table td {
        padding: 10px 12px;
    }

    /* Draws Table - Tablet */
    .draws-table th:last-child {
        padding-left: 27px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 20px;
    }

    /* Hero adjustments for smallest screens */
    .hero {
        min-height: 45vh;
        padding: 3rem 0 2rem;
        align-items: flex-end;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(to bottom, rgba(45, 125, 111, 0.25) 0%, rgba(45, 125, 111, 0.45) 35%, rgba(45, 125, 111, 0.75) 65%, rgba(45, 125, 111, 0.95) 100%);
    }
    
    .hero-container {
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .partners {
        padding: 40px 20px;
    }

    .partners-container h2 {
        font-size: 24px;
    }

    .community-list {
        grid-template-columns: 1fr;
        gap: 8px;
        padding-left: 20px;
    }

    .donation {
        padding: 40px 20px;
    }

    .fifa-goal-box {
        padding: 30px 20px;
    }

    .fifa-goal-box h2 {
        font-size: 22px;
    }

    .contest-btn,
    .nav-links .menu-item a.contest-btn,
    .nav-links .menu-item.contest-btn a,
    .fifa-goal-box .contest-btn {
        padding: 12px 24px;
        font-size: 14px;
        font-family: 'Serifa', 'Times New Roman', serif;
    }
    
    .nav-links {
        gap: 16px;
        font-size: 15px;
    }

    /* Campaign Page - 480px */
    .campaign-hero {
        min-height: 350px;
    }

    .campaign-hero-container {
        padding: 30px 20px;
    }

    .campaign-hero-content {
        max-width: 100%;
    }

    .campaign-hero-eyebrow {
        font-size: 12px;
    }

    .campaign-hero-heading {
        font-size: 19px;
        line-height: 1.35;
    }

    .campaign-hero-subtext {
        font-size: 13px;
    }

    .campaign-hero-cta {
        padding: 12px 22px;
        font-size: 14px;
    }

    .campaign-body {
        padding: 30px 20px;
    }

    .campaign-content h2 {
        font-size: 24px;
    }

    .campaign-content h3 {
        font-size: 20px;
    }

    .campaign-content table {
        display: block;
        overflow-x: auto;
    }

    /* Draws Table - Mobile Card Layout */
    .draws-table {
        display: block;
        overflow-x: auto;
    }
    
    .draws-table thead {
        display: none;
    }
    
    .draws-table tbody {
        display: block;
    }
    
    .draws-table tr {
        display: block;
        margin-bottom: 30px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        background: #fff;
    }
    
    .draws-table td {
        display: block;
        text-align: left;
        padding: 10px 0;
        border-bottom: none;
    }
    
    .draws-table td:before {
        content: attr(data-label);
        font-weight: 700;
        color: #175E54;
        display: block;
        margin-bottom: 5px;
        font-family: 'Serifa', serif;
    }

    /* Reset button styles for card layout */
    .draws-table .contest-btn,
    .draws-table a.contest-btn,
    td .contest-btn,
    td a.contest-btn {
        padding: 12px 24px;
        font-size: 14px;
        white-space: nowrap;
        display: inline-block;
    }
    
    .draw-actions {
        margin-top: 15px;
        text-align: left;
    }
}

/* Small mobile devices - 425px */
@media (max-width: 425px) {
    .partners {
        padding-bottom: 20px;
    }

    .donation {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .fifa-goal-box {
        margin-bottom: 25px;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .campaign-hero-heading {
        font-size: 17px;
        line-height: 1.4;
    }

    .campaign-hero-subtext {
        font-size: 12px;
    }

    .campaign-hero-eyebrow {
        font-size: 11px;
    }

    .campaign-hero-cta {
        padding: 10px 18px;
        font-size: 13px;
    }
}

