/* ============================
   GLOBAL SETTINGS
============================ */

html {
    scroll-behavior: smooth;
    font-size: clamp(16px, 1.2vw + 12px, 20px);
}

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


body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--soft-black);
    background-color: var(--off-white);
    overflow-x: hidden;
    
    justify-content: center;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --text-dark: #2c3e50;
    --text-light: #ecf0f1;
    --bg-light: #ffffff;
    --bg-dark: #34495e;

    --imperial-red: #f94144;
    --orange-crayola: #f6ba99ff;
    --carrot-orange: #f8961e;
    --saffron: #f9c74f;
    --pistachio: #4ed450;
    --zomp: #43aa8b;
    --paynes-gray: #577590;
    --black: #000000;
    --soft-black: #1a1a1a;
    --off-white: #fafafa;

    --gradient-primary: linear-gradient(135deg, var(--imperial-red), var(--carrot-orange));
    --gradient-secondary: linear-gradient(135deg, var(--zomp), var(--pistachio));
    --gradient-accent: linear-gradient(135deg, var(--saffron), var(--carrot-orange));
    --gradient-warm: linear-gradient(135deg, var(--carrot-orange), var(--saffron));
    --gradient-cool: linear-gradient(135deg, var(--paynes-gray), var(--zomp));
    --gradient-title: linear-gradient(135deg, #FFC107, #00C897);


    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --outline: border 1px solid rgba(0, 0, 0, 0.1);
}

/* ============================
   SECTION BASE STYLES
============================ */

section {
    padding: 5rem 0;
    margin: 0 auto;
    text-align: center;
}


/* ============================
   TYPOGRAPHY / FONTS
============================ */

/* Heading sizes are clamped */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', cursive;
    font-weight: 600;
    line-height: 1.2;
}

/* Logo styling */
.logo {
    max-width: 280px;
    height: auto;
    padding: 5px;
    vertical-align: middle;
}

.navbar-brand .logo {
    max-width: 260px;
    height: auto;
    padding: 3px;
    vertical-align: middle;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .logo {
        max-width: 300px;
        padding: 3px;
    }
    
    .navbar-brand .logo {
        max-width: 280px;
        padding: 2px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 220px;
        padding: 2px;
    }
    
    .navbar-brand .logo {
        max-width: 200px;
        padding: 1px;
    }
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--soft-black);
}

a {
    color: var(--carrot-orange);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    cursor: pointer !important;
}

a:hover {
    color: var(--imperial-red);
    text-decoration: underline;
}

.text-decoration-underline {
    text-decoration: underline !important;
}

h2.section-title {
   font-size: clamp(2.5rem, 1rem + 4vw, 3rem) !important;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0.25px var(--off-white);
    background-clip: text;
    font-weight: 800;
    font-family: 'Fredoka', cursive;
    letter-spacing: 1px;
    line-height: 1.2;
}


/* ============================
   TYPOGRAPHY / FONTS - CLAMPED
============================ */

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 1rem + 4vw, 5rem) !important;
    line-height: 1.15;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

h4 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

h5 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h6 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}


/* ============================
   NAVIGATION - REGULAR + MOBILE
============================ */

/* SEE NAVBAR.CSS */


/* ============================
   BUTTONS - ALL
============================ */

/* Base button styles */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    outline: 1px solid var(--off-white);
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: var(--off-white);
    box-shadow: var(--shadow);
    border: none;
}

.btn-primary:hover {
    box-shadow: var(--shadow-hover);
    color: var(--off-white);
}

.btn-secondary {
    background: transparent;
    color: var(--zomp);
    border: 2px solid var(--zomp);
}

.btn-secondary:hover {
    background: var(--zomp);
    color: var(--off-white);
}

.btn-outline {
    background: transparent;
    color: var(--imperial-red);
    border: 2px solid var(--imperial-red);
}

.btn-outline:hover {
    background: var(--imperial-red);
    color: var(--off-white);
}

.bold {
    font-weight: 800 !important;
    text-transform: uppercase;
}

button.primary {
    padding: 1rem 2rem !important;
    border: none !important;
    border-radius: 25px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    color: var(--soft-black) !important;
    outline: 1px solid var(--off-white) !important;
}

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

button.primary:hover::before {
    left: 100%;
}

/* Hero buttons */
.hero-buttons {
    gap: 1.5rem !important;
     margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 150px;
    opacity: 0;
    transform: translateY(30px);
    margin: 0.5rem 0;
    display: inline-block;
}

@media (min-width: 769px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        display: inline-block;
        margin: 0 0.5rem;
    }
}

.hero-buttons .btn-primary {
    background: var(--imperial-red);
    border: 2px solid var(--imperial-red);
    color: var(--off-white);
}

.hero-buttons .btn-primary:hover {
    background: var(--off-white);
    border: 2px solid var(--imperial-red);
    color: var(--imperial-red);
}

.hero-buttons .btn-secondary {
    background: var(--off-white);
    border: 2px solid var(--off-white);
    color: var(--soft-black);
}

.hero-buttons .btn-secondary:hover {
    background: transparent;
    border: 2px solid var(--off-white);
    color: var(--off-white);
}

.hero-buttons .btn-outline-light {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    color: var(--off-white);
    box-shadow: var(--shadow);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--off-white);
    border: 2px solid var(--imperial-red);
    color: var(--imperial-red);
}

/* Policy page back buttons */
.btn-primary-back {
    background: var(--gradient-primary);
    color: var(--off-white);
    border: 2px solid transparent;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-primary-back:hover {
    background: var(--off-white);
    color: var(--imperial-red);
    border: 2px solid var(--imperial-red);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-primary {
    background: transparent;
    color: var(--imperial-red);
    border: 2px solid var(--imperial-red);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    color: var(--off-white);
    border: 2px solid transparent;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Alternative gradient button for distinction */
.btn-secondary-gradient {
    background: var(--gradient-warm);
    color: var(--off-white);
    border: 2px solid transparent;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn-secondary-gradient:hover {
    background: var(--off-white);
    color: var(--carrot-orange);
    border: 2px solid var(--carrot-orange);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mission buttons styling */
.mission-buttons {
    margin: 2rem auto !important;
}

.mission-buttons .btn {
    min-width: 200px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 576px) {
    .mission-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .mission-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Modal header styling for better contrast */
.modal-header {
    background: linear-gradient(135deg, #d2691e, #b8860b) !important;
    border-bottom: none !important;
}

.modal-title {
    color: white !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 0.8 !important;
}

.modal-header .btn-close:hover {
    opacity: 1 !important;
}



/* ============================
   HERO SECTION
============================ */

.hero {
    min-height: 100vh;
    background-color: var(--paynes-gray);
    background: linear-gradient(rgba(87, 117, 144, 0.8), rgba(26, 26, 26, 0.8)), url('../assets/photos/pexels-marcin-dampc-807808-1684187.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--off-white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-content {
    text-align: center;
    padding-top: 4rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle,
.hero-description,
.hero-content p.text-muted,
.scroll-indicator {
    opacity: 0;
    transform: translateY(30px);
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .title-line {
    opacity: 0;
    transform: translateY(100px);
}

.title-line {
    display: block;
}

.highlight {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--carrot-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    font-style: bold;
    color: var(--carrot-orange);
    opacity: 0;
    transform: translateY(50px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 2rem;
    opacity: 0;
    color: var(--off-white);
    transform: translateY(30px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.event-details {
    margin-bottom: 2rem;
}

.detail-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-label {
    display: block;
    font-weight: 600;
    color: var(--saffron);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.1rem;
    line-height: 1.4;
}

/* ============================
   SCROLL INDICATOR - DOWN + UP
============================ */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
    opacity: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transform: translateY(30px);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-light);
    margin: 10px auto;
    position: relative;
    animation: scroll 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
}

@keyframes scroll {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}


/* ============================
   ABOUT SECTION
============================ */

.about {
    background: var(--off-white);
}

.about-text img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.highlight-card,
.facilitator-card {
    opacity: 1;
    transform: none;
}

.about-lead {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 600;
    color: var(--imperial-red);
    margin-bottom: 1.5rem;
}

.about-secondary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    color: var(--soft-black);
    margin-bottom: 1.5rem;
}

.about-tertiary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
    color: var(--soft-black);
    margin-bottom: 1.5rem;
}

blockquote {
    background: rgba(0, 0, 0, 0.8);
    color: var(--off-white);
    padding: 3rem 2.5rem 2.5rem 2.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    font-style: italic;
    position: relative;
    border-left: 4px solid var(--saffron);
}

blockquote::before {
    content: '"';
    font-size: clamp(2rem, 6vw, 4rem);
    position: absolute;
    top: 0px;
    left: 15px;
    opacity: 0.3;
}

blockquote::after {
    content: '"';
    font-size: clamp(2rem, 6vw, 4rem);
    position: absolute;
    bottom: 5px;
    right: 25px;
    opacity: 0.3;
}


.highlight-card {
    background: var(--off-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--carrot-orange);
    margin-bottom: 1.5rem;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
}

.highlight-card-orange {
    border-left-color: var(--carrot-orange);
}

.highlight-card-green {
    border-left-color: var(--pistachio);
}

.highlight-card-red {
    border-left-color: var(--imperial-red);
}

.highlight-card-blue {
    border-left-color: #4A90E2;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.highlight-icon .material-icons {
    font-size: 5rem;
    color: var(--green);
    display: block;
    margin: 0 auto 1rem auto;
}

.highlight-card h3 {
    margin-bottom: 1rem;
    color: var(--paynes-gray);
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    text-align: center;
}

.about-highlights {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .highlight-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
        min-height: 150px;
    }

    .highlight-card h3 {
        font-size: 1.3rem;
    }
}

/* ============================
   AGENDA SECTION
============================ */

.agenda {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(26, 26, 26, 0.5)), url('../assets/photos/pexels-nietjuhart-796607.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    position: relative;
}

.event-agenda-title {
    color: var(--saffron);
    font-weight: 700;
    margin-bottom: 3rem;
}

.agenda .timeline-content h3 {
    color: var(--carrot-orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    font-weight: 700;
}

.agenda .timeline-content p {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    font-weight: 500;
    line-height: 1.6;
}

.agenda .timeline-time {
    background: rgba(0, 0, 0, 0.9);
    color: var(--carrot-orange);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    border: 2px solid var(--carrot-orange);
    text-shadow: none;
    border: 2px solid var(--saffron);
}

/* ============================
   FUN-CILLATORS SECTION
============================ */

.facilitators {
    background: white;
    color: var(--soft-black);
}

.funcillators-title {
    color: var(--saffron);
}

.facilitators-intro {
    font-size: 1.1rem;
    line-height: 1.8;
}

.facilitators-intro .lead {
    color: var(--soft-black);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 600;
}

.facilitators-grid {
    margin-bottom: 3rem;
}

.facilitator-card {
    background: var(--pistachio);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    text-align: center;
}

.facilitator-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.facilitator-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.facilitator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition);
}

.facilitator-card:hover::before {
    left: 100%;
}

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

.facilitator-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-weight: 600;
    text-align: center;
}

.facilitator-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.next-event-info {
    padding: 2rem;
}

/* ============================
   JOIN US (Next Event) SECTION
============================ */

.next-event-title {
    color: var(--saffron);
}

.next-event-placeholder {
    background: rgba(255, 255, 255, 0.95);
    color: var(--soft-black);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 3px solid var(--saffron);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    text-align: center;
}

.event-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.event-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.detail-label {
    color: var(--paynes-gray);
    font-weight: 600;
    font-size: 1rem;
    vertical-align: baseline;
    padding-right: 0.25rem;
}

.detail-value {
    color: var(--soft-black);
    font-weight: 700;
    font-size: 1rem;
    vertical-align: baseline;
    padding-right: 0.25rem;
}

.clickable-location {
    cursor: pointer;
    color: var(--mint-green);
    text-decoration: underline;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.clickable-location:hover {
    color: var(--imperial-red);
    text-decoration-color: var(--imperial-red);
}
}

@media (max-width: 768px) {
    .event-info-row {
        flex-direction: column;
        gap: 1rem;
    }
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
}

.timeline-time {
    padding: 1rem;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    font-weight: 600;
    position: relative;
    display: inline-block;
    width: 100%;
}

.timeline-time::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 3;
}

@media (min-width: 992px) {
    .timeline-item:nth-child(odd) .timeline-time::after {
        right: -30px;
    }

    .timeline-item:nth-child(even) .timeline-time::after {
        left: -30px;
    }
}

@media (max-width: 991px) {
    .timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-time::after {
        left: -30px;
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h3 {
    margin-bottom: 1rem;
    color: var(--saffron);
}

.location {
    background: linear-gradient(rgba(26, 26, 26, 0.6), rgba(87, 117, 144, 0.6)), url('../assets/photos/pexels-tirachard-kumtanom-112571-887821.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--off-white);
}

.next-event-info {
    padding: 2rem;
}

.next-event-info h3 {
    color: var(--saffron);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.next-event-info p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.next-event-placeholder {
    background: rgba(255, 255, 255, 0.95);
    color: var(--soft-black);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 3px solid var(--saffron);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.next-event-placeholder h4 {
    color: var(--paynes-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

.next-event-placeholder .h2 {
    color: var(--carrot-orange);
    font-weight: 700;
}

.address {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.map-placeholder {
    background: var(--gradient-secondary);
    height: 300px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.map-content p:first-child {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

.location-text {
    color: var(--off-white);
    font-weight: 400;
    font-size: 1.1rem;
}

/* ============================
   CONTACT / SUBSCRIBE SECTION
============================ */

.contact {
    background: white;
    color: var(--soft-black);
}

.contact .section-title {
    color: var(--saffron);
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    color: var(--soft-black);
}

.contact-info a {
    color: var(--mint-green);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--imperial-red);
    text-decoration: underline;
}

.small-waiver {
    font-size: 0.9rem;
    color: var(--off-white);
}

/* ============================
   Mailerlite Subscription Form
============================ */

.mailerlite-form .ml-embedded {
    max-width: 100%;
}

.ml-form-embedWrapper {
    background: transparent !important;
}

.ml-form-embedContent h4 {
    color: var(--zomp) !important;
    font-family: 'Fredoka', cursive !important;
    font-weight: 600 !important;
}

.ml-form-embedContent p {
    font-family: 'Inter', sans-serif !important;
}

.ml-form-embedContent input[type="email"] {
    border-radius: 25px !important;
    padding: 12px 20px !important;
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: var(--soft-black) !important;
    font-family: 'Inter', sans-serif !important;
}

.ml-form-embedContent input[type="email"]:focus {
    outline: none !important;
    border-color: var(--imperial-red) !important;
    box-shadow: 0 0 0 3px rgba(249, 65, 68, 0.2) !important;
    background: var(--off-white) !important;
}

button .primary {
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    background: var(--imperial-red) !important;
    border: 2px solid var(--imperial-red) !important;
    color: var(--off-white) !important;
    font-family: 'Inter', sans-serif !important;
    cursor: pointer !important;
}

.ml-form-embedContent button:hover {
    background: var(--off-white) !important;
    border: 2px solid var(--imperial-red) !important;
    color: var(--imperial-red) !important;
    transform: translateY(-2px) !important;
}

.ml {
    background: var(--imperial-red) !important;
    border: 2px solid var(--imperial-red) !important;
    color: var(--off-white) !important;
}


/* ============================
   FOOTER 
============================ */

.footer {
    background: var(--soft-black);
    color: var(--off-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--saffron);
    font-weight: 600;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--off-white);
    text-decoration: none;
    transition: var(--transition);
}

footer p {
    color: var(--off-white);
}

.footer-section a:hover {
    color: var(--pistachio);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.social-link i {
    width: 20px;
    text-align: center;
}

/* ============================
   POLICIES PAGE(s)
============================ */

.policy-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.policy-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.policy-icon .material-icons {
    font-size: 2.5rem;
    color: white;
}

.policy-card h3 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.policy-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.policy-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.policy-highlights li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.policy-highlights li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--pistachio);
    font-weight: bold;
}

.policy-highlights li:last-child {
    border-bottom: none;
}

.privacy-content ul,
.safety-content ul,
.accessibility-content ul {
    list-style: none;
    padding-left: 0;
}

.privacy-content li,
.safety-content li,
.accessibility-content li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 0;
}

.privacy-content li:last-child,
.safety-content li:last-child,
.accessibility-content li:last-child {
    border-bottom: none;
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.privacy-content h4,
.privacy-content h5,
.privacy-content h6,
.safety-content h1,
.safety-content h2,
.safety-content h3,
.safety-content h4,
.safety-content h5,
.safety-content h6,
.accessibility-content h1,
.accessibility-content h2,
.accessibility-content h3,
.accessibility-content h4,
.accessibility-content h5,
.accessibility-content h6 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--zomp), var(--pistachio));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-content a:hover,
.safety-content a:hover,
.accessibility-content a:hover {
    color: var(--zomp);
}


/* ============================
   RESPONSIVE STYLES - MOBILE
============================ */

@media (max-width: 768px) {
    .text-center .btn {
        display: inline-block;
        width: auto;
        margin-bottom: 1rem;
        margin-right: 0.5rem;
    }
    
    .btn-primary-back,
    .btn-outline-primary {
        margin-bottom: 1rem;
        margin-right: 0.5rem;
        width: auto;
    }
    
    /* Center policy page buttons on mobile */
    .policy-card .text-center,
    .privacy-content .text-center,
    .safety-content .text-center,
    .accessibility-content .text-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .policy-card .text-center .btn,
    .privacy-content .text-center .btn,
    .safety-content .text-center .btn,
    .accessibility-content .text-center .btn {
        margin: 0;
        width: auto;
        min-width: auto;
        max-width: none;
    }
    
    /* Footer mobile centering */
    .footer-content {
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Footer bottom links - force safety policy to new line */
    .footer-bottom p:last-child {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .footer-bottom a {
        display: inline-block;
        margin: 0.25rem 0;
    }
}

/* ============================
   RESPONSIVE STYLES - TABLET
============================ */



/* ============================
   RESPONSIVE STYLES - DESKTOP
============================ */

/* Add DESKTOP styles here */

.next-event-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.next-event-buttons .btn {
    margin: 0 auto;
    display: block;
}

@media (min-width: 769px) {
    .next-event-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .next-event-buttons .btn {
        display: inline-block;
        margin: 0 0.5rem;
    }
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .hero,
    .agenda,
    .location {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }
    
    .next-event-placeholder {
        text-align: center;
    }
    
    .next-event-placeholder .btn,
    .d-grid .btn,
    .text-center .btn {
        margin: 0 auto !important;
        display: block !important;
    }
    
    .d-grid {
        justify-items: center !important;
    }
}

.past-event-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.past-event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.past-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Special handling for the Fun Practice logo image */
.past-event-image img[src*="logo-fun-practice"] {
    object-fit: contain;
    background-color: var(--off-white);
    padding: 1rem;
}

@media (max-width: 768px) {
    .past-event-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .past-event-image {
        height: 180px;
    }
}

.past-event-card:hover .past-event-image img {
    transform: scale(1.05);
}

.past-event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}

.past-event-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: var(--off-white);
    border-radius: var(--border-radius);
}

.modal-header {
    background: var(--carrot-orange);
    color: white;
    border-bottom: none;
}

.modal-title {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

.modal-timeline .timeline-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.timeline-time-modal {
    background: linear-gradient(135deg, var(--zomp), var(--pistachio));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    min-width: 140px;
    text-align: center;
    margin-bottom: 0.5rem;
}

.timeline-content-modal {
    flex: 1;
}

.timeline-content-modal h6 {
    color: var(--carrot-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content-modal p {
    color: black !important;
    margin-bottom: 0;
}

.modal-text {
    color: black !important;
    margin-bottom: 0;
}

/* ============================
   OUR MISSION SECTION
============================ */

.mission {
    background: var(--off-white);
    color: var(--soft-black);
}

.mission-title {
    color: var(--imperial-red);
}

.mission-lead {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--imperial-red);
}

.mission-text {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--soft-black);
}

/* ============================
   LUMA CALENDAR WIDGET
============================ */

.luma-calendar-widget {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.luma-calendar-widget iframe {
    border-radius: 8px;
}

.calendar-header {
    color: var(--soft-black);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.ml-form-embedContent h4, 
.ml-form-embedContent p
{
    display: none !important;
    height: 0 !important;
    overflow: hidden;
}





@media (max-width: 768px) {
    .luma-calendar-widget {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .luma-calendar-widget {
        padding: 0.5rem;
    }
}
