/*================================================================
   1. CONFIG & BASE STYLES
================================================================*/

/* Global Variables (Theming, Spacing, Typography) */
:root {
    /* Color Palette (Applied) 🎨 */
    --navy-blue: #000080;
    --tangerine: #F08000;
    --french-violet: #880099;
    --golden-yellow: #FFC000;
    
    /* Theme Application */
    --clr-primary: var(--tangerine);            /* Main CTA/Accent (Tangerine) */
    --clr-accent: var(--french-violet);         /* Secondary CTA/Icon (French Violet) */
    --clr-text-main: #FFFFFF;                   /* White/Light text on dark background */
    --clr-text-secondary: var(--golden-yellow); /* Golden Yellow for key secondary text */
    --clr-bg-light: #0A0A50;                    /* Lighter Navy/Card background */
    --clr-border: #151590;                      /* Border/Separator color */
    --clr-hover-primary: var(--french-violet);  /* Hover over primary element */
    --clr-hover-secondary: rgba(255, 255, 255, 0.15); /* Light hover effect */
    
    /* Typography ✍️ */
    --font-stack: 'Inter', sans-serif;
    --fw-heading: 800;
    --fw-link: 600;
    --fw-body: 400;

    /* Sizing & Spacing (sz = size) 📏 */
    --sz-padding-section: 100px 0;
    --sz-radius-default: 8px;
    --sz-container-width: 1280px;

    /* Effects & Transitions ✨ */
    --fx-shadow-card: 0 6px 20px rgba(0, 0, 0, 0.4); /* Darker shadow for lift */
    --fx-transition-speed: 0.3s;
}

/* Reset & Base Elements */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--navy-blue); /* Navy Blue background */
    color: var(--clr-text-main);
    font-family: var(--font-stack);
    font-weight: var(--fw-body);
    line-height: 1.6;
}

/* Global Container */
.container {
    margin-inline: auto;
    max-width: var(--sz-container-width);
    padding-inline: 5%;
    width: 100%;
}

/* Headings */
h1, h2, h3 {
    font-weight: var(--fw-heading);
    line-height: 1.2;
}

h2 {
    color: var(--clr-primary); /* Tangerine for section titles */
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.section {
    padding: var(--sz-padding-section);
}

.section-subtitle {
    color: var(--clr-text-secondary); /* Golden Yellow for sub-titles */
    font-size: 1.1rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Links & General Elements */
a {
    color: var(--clr-text-secondary); /* Golden Yellow for links */
    text-decoration: none;
    transition: color var(--fx-transition-speed);
}
a:hover {
    color: var(--clr-hover-primary); /* French Violet on hover */
}

/*================================================================
   2. BUTTONS
================================================================*/

.button {
    border: 2px solid transparent;
    border-radius: 50px; /* Pill shape for modern look */
    cursor: pointer;
    display: inline-block;
    font-weight: var(--fw-link);
    padding: 12px 30px;
    text-decoration: none;
    transition: all var(--fx-transition-speed) ease-out;
    text-transform: uppercase;
}

/* Primary Button Style (Tangerine) */
.primary-btn {
    background: var(--clr-primary);
    color: var(--navy-blue); /* Dark text on bright button */
    border-color: var(--clr-primary);
}

.primary-btn:hover {
    background: var(--clr-accent); /* French Violet on hover */
    color: var(--clr-text-main); /* White text */
    border-color: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(136, 0, 153, 0.5); /* Violet shadow */
}

/* Secondary Button Style (typically used in hero) */
.secondary-btn {
    background: transparent;
    border-color: var(--clr-text-main);
    color: var(--clr-text-main);
    margin-left: 15px;
}

.secondary-btn:hover {
    background: var(--clr-hover-secondary);
}

/* Section View All Button (Golden Yellow / Navy Contrast) */
.more-btn {
    background: transparent;
    border: 2px solid var(--clr-text-secondary);
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    padding: 12px 35px;
    border-radius: var(--sz-radius-default);
}

.more-btn:hover {
    background: var(--clr-text-secondary);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    color: var(--navy-blue);
    transform: translateY(-2px);
}

/* Specific Button for Marketplace (French Violet) */
.product-btn {
    background: var(--clr-accent);
    border-radius: 5px;
    color: var(--clr-text-main);
    font-size: 0.9rem;
    padding: 8px 20px;
    transition: background var(--fx-transition-speed);
}

.product-btn:hover {
    background: var(--tangerine); /* Tangerine on product hover */
}

/* Specific Button for Donation (Tangerine) */
.donate-btn {
    background: var(--clr-primary);
    border: 2px solid var(--clr-primary);
    color: var(--navy-blue);
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 50px;
}

.donate-btn:hover {
    background: transparent;
    border-color: var(--clr-text-main);
    color: var(--clr-text-main);
}
.full-width-button{
    border-color: var(--clr-primary);
}

/*================================================================
   3. HEADER & NAVIGATION
================================================================*/

/* ==== BASE HEADER ==== */
header {
  background: var(--navy-blue);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--clr-border);
}

/* container spacing */
.container {
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ==== NAVBAR LAYOUT ==== */
.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==== LOGO ==== */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 90px;
  height: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.logo img:hover {
  transform: scale(1.05);
}

/* ==== NAVIGATION ==== */
nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--golden-yellow); /* Golden Yellow nav text */
  text-decoration: none;
  font-weight: var(--fw-link);
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
}

nav ul li a:hover {
  color: var(--clr-text-main); /* White text on hover */
  background: var(--clr-hover-secondary);
  transform: translateY(-2px);
}

/* ==== SOCIAL ICONS ==== */
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.social-links a {
  color: var(--clr-text-main); /* White icons */
  font-size: 1.5rem; /* Corrected font size for icons */
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--tangerine); /* Tangerine on hover */
  transform: scale(1.2);
}

/* ==== HAMBURGER MENU ==== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger .bar {
  width: 26px;
  height: 3px;
  background: var(--clr-text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==== RESPONSIVE (Adjusted background to Navy) ==== */
@media (max-width: 900px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    background: var(--navy-blue);
    height: 100vh;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
  }

  nav.active { right: 0; }
  nav ul { flex-direction: column; gap: 2rem; }
  .hamburger { display: flex; }
}


/*================================================================
   4. HERO SLIDER SECTION
================================================================*/

.hero-slider-container {
    height: 90vh;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-wrapper,
.hero-slide {
    height: 100%;
    position: absolute;
    width: 100%;
}

.hero-slide {
    align-items: center;
    color: var(--clr-text-main);
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    text-align: center;
    transition: opacity 1s ease-in-out;
}

/* JavaScript Hook */
.hero-slide.active-slide { opacity: 1; }

.hero-slide img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    width: 100%;
    z-index: 1;
}

/* Dark Overlay for Readability */
.hero-slide::before {
    background: rgba(0, 0, 0, 0.65);
    content: '';
    inset: 0;
    position: absolute;
    z-index: 5;
}

.slide-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: var(--golden-yellow);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Slider Navigation */
.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.8rem;
    padding: 15px 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.3s;
    z-index: 20;
}

.slider-arrow:hover {
    background: var(--french-violet);
}

.arrow-prev { border-radius: 0 8px 8px 0; left: 20px; }
.arrow-next { border-radius: 8px 0 0 8px; right: 20px; }

.slider-nav-dots {
    bottom: 20px;
    display: flex;
    gap: 10px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 20;
}

.dot {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    height: 10px;
    transition: background 0.3s, transform 0.3s;
    width: 10px;
}

.dot.active-dot {
    background: var(--tangerine);
    transform: scale(1.2);
}

/*================================================================
   5. CONTENT SECTIONS (Values, Events, Marketplace)
================================================================*/

.mission-values {
    background-color: var(--background-card); /* Lighter Navy background */
}
.section-subtitle {
    color: var(--golden-yellow);
}

.value-grid,
.event-grid,
.product-grid {
    display: grid;
    gap: 30px;
}

.value-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    text-align: center;
}

.value-card {
    background: var(--navy-blue); /* Navy background for contrast */
    border-radius: 10px;
    box-shadow: var(--fx-shadow-card);
    padding: 30px;
    transition: transform var(--fx-transition-speed);
    border-top: 4px solid var(--tangerine);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(240, 128, 0, 0.3); /* Tangerine glow */
}

.value-card .icon {
    color: var(--clr-accent); /* French Violet icon */
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
}

.value-card h3 {
    color: var(--golden-yellow); /* Golden Yellow heading */
    margin-bottom: 10px;
}

/* UPCOMING EVENTS */
.upcoming-events {
  padding: 4rem 0;
  background: #7029cf; /* Lighter Navy/Card background */
  text-align: center;
   background-image: url('images/Lifted_Hands.JPG');
     background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--navy-blue); /* Navy background for event card */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--fx-shadow-card);
  transition: transform 0.3s ease;
  border-top: 3px solid var(--french-violet);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(136, 0, 153, 0.4);
}

.event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-details {
  padding: 1.5rem;
  text-align: center;
  
}

.event-details h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--tangerine); /* Tangerine heading */
}

.event-details p {
  font-size: 0.95rem;
  color: var(--text-muted); /* Using light gray for body text */
  margin: 0.3rem 0;
}

.event-details i {
  color: var(--french-violet); /* French Violet icon */
  margin-right: 8px;
}

.event-btn {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--tangerine); /* Tangerine button */
  color: var(--navy-blue);
  padding: 0.6rem 1rem;
  border-radius:6px;
  transition: background 0.3s;
}

.event-btn:hover {
  background: var(--french-violet);
  color: var(--clr-text-main);
}

.date-time {
    color: var(--clr-primary); /* Tangerine date/time */
    display: block;
    font-size: 0.95rem;
    font-weight: var(--fw-link);
    margin-bottom: 15px;
}

.event-info p {
    color: var(--clr-text-secondary); /* Golden Yellow info */
    font-size: 1rem;
    margin-bottom: 20px;
}

.read-more {
    border-bottom: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    display: inline-block;
    font-weight: var(--fw-link);
    padding-bottom: 2px;
}

.read-more:hover {
    opacity: 0.7;
}

/* Event Pop-up Modal Styles (Overlay and Content Box) */
.event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 1000; 
    overflow-y: auto;
}

.event-modal-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

/* Close Button */
.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
}

/* Event Image and Title */
.event-highlight img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.event-highlight h2 {
    color: var(--primary-color, #7029CF);
    margin-top: 5px;
    margin-bottom: 15px;
}

.modal-details p {
    margin: 5px 0;
    font-size: 1.5rem;
     color: var(--primary-color, #7029CF);
    line-height: 1.4; /* Improve readability with line breaks */
}

/* Countdown Styles */
.countdown-display {
    margin: 20px 0;
    padding: 15px;
    background-color: #081962;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.countdown-heading {
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--primary-color, #7029CF);
}

.timer-values {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--primary-color, #7029CF);
}

.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    line-height: 1;
}

.timer-unit span:first-child {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 4px;
}

.timer-separator {
    font-size: 2rem;
    color: #999;
}

.hidden-message {
    display: none;
    font-weight: bold;
    color: green;
    margin-top: 10px;
}

/* Optional: Add a slight animation to the modal */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: #333;
}

.event-highlight img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.event-highlight h2 {
    color: var(--primary-color, #7029CF); /* Use your primary color */
    margin-top: 5px;
    margin-bottom: 15px;
}

.modal-details p {
    margin: 5px 0;
    font-size: 1rem;
    color: #555;
}

.modal-details i {
    margin-right: 8px;
    color: var(--secondary-color, #ff6b6b);
}

.modal-cta {
    display: block;
    width: 100%;
    margin-top: 20px;
}

.modal-dismiss {
    display: block;
    width: 100%;
    margin-top: 10px;
    background-color: #f1f1f1;
    color: #555;
    border: 1px solid #ddd;
}
/* End Event Pop-up Modal Styles */

/* Marketplace */
.marketplace {
  background: var(--navy-blue);
  border-top: 1px solid var(--clr-border);
}


.shop-hero {
    background-color: var(--clr-bg-light);
    border-bottom: 3px solid var(--clr-primary);
    padding-bottom: 20px;
    padding-top: 50px;
}

.shop-hero h1 {
    color: var(--clr-text-main);
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-item {
    background: var(--clr-bg-light);
    border-radius: 10px;
    box-shadow: var(--fx-shadow-card);
    overflow: hidden;
    padding-bottom: 15px;
    text-align: center;
}

.product-item img {
    height: 200px;
    margin-bottom: 10px;
    object-fit: cover;
    width: 100%;
}

.product-item h3 {
    color: var(--golden-yellow);
    font-weight: var(--fw-link);
    margin-bottom: 5px;
}

.product-item .price {
    color: var(--clr-primary); /* Tangerine price */
    font-size: 1.3rem;
    font-weight: var(--fw-heading);
    margin-bottom: 15px;
}

.section-footer {
    margin-top: 50px;
    text-align: center;
}

.full-gallery {
  padding: 60px 10%;
  text-align: center;
  background-color: var(--background-card);
}

.full-gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--french-violet); /* French Violet gallery title */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.image-grid img:hover {
  transform: scale(1.05);
}


/*================================================================
   6. DONATION SECTION (GIVE)
================================================================*/

.give-modern {
    background: #1fd3d0; 
    color: var(--navy-blue);
    padding: 60px 0;
    text-align: center;
    background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.give-modern h2 {
    color: var(--navy-blue);
}

.give-modern p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--navy-blue);
}

/* Donation Form Styles */
.give-form-section {
    background-color: var(--clr-bg-light);
}

.donation-card {
    background: var(--navy-blue);
    border-radius: 12px;
    border-top: 5px solid var(--tangerine);
    box-shadow: var(--fx-shadow-card);
    margin: 0 auto 40px;
    max-width: 600px;
    padding: 30px 40px;
}

.donation-form legend {
    border-bottom: 2px solid var(--clr-border);
    color: var(--french-violet); /* French Violet legend */
    font-size: 1.1rem;
    font-weight: var(--fw-link);
    margin-bottom: 15px;
    padding-bottom: 5px;
    width: 100%;
}

.donation-form input:not([type="radio"]),
.donation-form select,
.donation-form textarea {
    border: 1px solid var(--clr-border);
    background-color: var(--clr-bg-light);
    color: var(--clr-text-main);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    margin-bottom: 15px;
    padding: 12px 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.donation-form input:focus,
.donation-form select:focus,
.donation-form textarea:focus {
    border-color: var(--clr-accent); /* French Violet focus */
    box-shadow: 0 0 0 3px rgba(136, 0, 153, 0.2);
    outline: none;
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 15px;
}

.amount-options label {
    border: 2px solid var(--clr-border);
    border-radius: 6px;
    cursor: pointer;
    flex-grow: 1;
    font-weight: var(--fw-link);
    padding: 10px;
    text-align: center;
    transition: all 0.2s;
}

.amount-options input[type="radio"] { display: none; }

.amount-options input[type="radio"]:checked + label {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--navy-blue);
}

.card-details-row { display: flex; gap: 15px; }
.card-details-row input { flex: 1; margin-bottom: 0; }
.full-width-button { margin-top: 10px; width: 100%; }

.security-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 20px;
    text-align: center;
}

/*================================================================
   7. CONTACT SECTION
================================================================*/

.contact-content {
    display: grid;
    gap: 40px;
    margin: 0 auto;
    max-width: 900px;
    grid-template-columns: 1fr;
}

.contact-form {
    background: var(--clr-bg-light);
    border-radius: 12px;
    box-shadow: var(--fx-shadow-card);
    padding: 30px;
}

.contact-form label {
    color: var(--golden-yellow);
    display: block;
    font-weight: var(--fw-link);
    margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    border: 1px solid var(--clr-border);
    background-color: var(--navy-blue);
    color: var(--clr-text-main);
    border-radius: 8px;
    font-family: var(--font-stack);
    margin-bottom: 20px;
    padding: 12px;
    transition: border-color 0.3s;
    width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(240, 128, 0, 0.25);
    outline: none;
}

.contact-form .primary-btn { width: 100%; }

.contact-details { padding-top: 20px; }

.contact-details h3 {
    color: var(--tangerine);
    margin-bottom: 20px;
}


.contact-item {
    align-items: flex-start;
    display: flex;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--clr-accent); /* French Violet icon */
    flex-shrink: 0;
    font-size: 1.5rem;
    margin-right: 15px;
    padding-top: 5px;
    text-align: center;
    width: 30px;
}
.section-subtitle-contact {
    color: var(--clr-text-main);
    font-size: 1.1rem;
    margin-bottom: 50px;
    text-align: center;
}

.map-placeholder {
    align-items: center;
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    box-shadow: var(--fx-shadow-card);
    color: var(--text-muted);
    display: flex;
    height: 250px;
    font-style: italic;
    justify-content: center;
    margin-top: 30px;
}
/* LIGHTBOX/MODAL STYLES */

.lightbox-caption {
    margin: 15px auto 0;
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: var(--golden-yellow); /* Golden Yellow caption */
    font-size: 16px;
    padding: 10px 0;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: var(--clr-text-main);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--french-violet); /* French Violet on hover */
}

/*==================================================
   Event Detail Pages
====================================================*/

/* 1. Hero Section for Detail Pages */
.event-detail-hero {
    background-color: var(--clr-bg-light);
    padding: 60px 0 40px;
    text-align: center;
}

.event-detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--tangerine);
}

.event-detail-hero .section-subtitle {
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
    color: var(--golden-yellow);
}

/* 2. Main Content Layout (Flex Container) */
.event-details { padding: 50px 0 80px; }

.sidebar {
    flex: 1;
    padding: 20px;
    background-color: var(--clr-bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--tangerine); /* Highlight the sidebar with Tangerine */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.main-content h2, .sidebar h3 {
    color: var(--golden-yellow);
    border-bottom: 2px solid var(--tangerine);
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.sidebar h3 {
    color: var(--french-violet); /* French Violet sidebar heading */
    font-size: 1.4rem;
    border-bottom: none;
    text-align: center;
    margin-top: 0;
}

/* 4. Responsive Mobile Adjustments (Header/Footer background adjusted to Navy) */
@media (max-width: 992px) {
    /* Stack the content and sidebar vertically on tablets/mobiles */
    .event-content-flex {
        flex-direction: column;
        gap: 30px;
    }
    .main-content { order: 2; }
    .sidebar {
        order: 1;
        flex: auto;
        border-left: none;
        border-bottom: 3px solid var(--tangerine);
    }
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.program-card {
  background: var(--clr-bg-light);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
}

.program-card h3 {
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--tangerine);
}

/* Popup Overlay */
.event-popup {
    background: rgba(0,0,0,0.7);
}
.event-popup h2{
    color: var(--tangerine);
}
/* Popup Box */
.popup-content {
  background: var(--clr-bg-light);
  padding: 40px 30px;
  width: 350px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0,0,0,0.5);
  border-top: 6px solid var(--french-violet); /* French Violet top border */
}

/* Close Button */
.close-popup {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: var(--clr-text-main);
    transition: 0.3s;
}
.close-popup:hover {
    color: var(--tangerine);
}

/* Fonts */
.event-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--tangerine);
    margin-top: 10px;
}
.event-info {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Button */
.popup-btn {
    display: inline-block;
    padding: 10px 18px;
    background: var(--tangerine);
    color: var(--navy-blue);
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}
.popup-btn:hover {
    background: var(--french-violet);
    color: var(--clr-text-main);
    border: var(--french-violet) 2px solid;
}


/*================================================================
   8. FOOTER
================================================================*/

footer {
    background: var(--navy-blue);
    color: var(--golden-yellow);
    font-size: 0.9em;
    padding: 20px 0;
    border-top: 1px solid var(--clr-border);
}

footer .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

/* Styling for the new icons in the footer */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    text-decoration: none;
    padding: 0;
    color: var(--clr-text-main); /* White icons */
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--tangerine);
}

/* Style the actual Font Awesome icon element */
.social-links i {
    font-size: 1.4rem;
    width: 20px;
    text-align: center;
}

/*================================================================
   9. RESPONSIVENESS (Media Queries)
================================================================*/

/* Tablet/Desktop Two-Column Layouts */
@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 3fr 2fr;
    }
}

/* Tablet/Mobile Adjustments */
@media (max-width: 768px) {
    /* General Spacing */
    .container {
        padding-inline: 20px;
    }

    /* Hero Slider adjustments */
    .slide-content h1 {
        font-size: 2.5rem;
    }
    .slide-content p {
        font-size: 1.1rem;
    }
    .hero-actions {
        align-items: center;
        flex-direction: column;
    }
    .secondary-btn {
        margin-left: 0;
    }

    /* Donation Form */
    .card-details-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 650px) {
    /* Header/Nav Adjustments */
    .nav-bar {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .nav-bar nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    /* Footer Adjustments */
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    .social-links {
        margin-top: 10px;
    }
}