/* ====================================
   Global Variables & Resets
==================================== */
:root {
    --primary: #2A4365;    /* Deep navy blue */
    --secondary: #C5A047;   /* Warm gold */
    --accent: #E53E3E;      /* Vibrant red */
    --background: #F7FAFC;  /* Light sky */
    --text: #2D3748;        /* Dark gray */
    --light-text: #718096;  /* Medium gray */
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background: var(--background) url('https://disciplesunion.org/Images/background.jpg') no-repeat center center/cover;
    color: var(--text);
    line-height: 1.7;
    font-size: 1.1rem;
  }
  /* ====================================
     Typography
  ==================================== */
  h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }
  
  /* ====================================
     Navbar & Hamburger Menu
  ==================================== */
  /* Navbar */
  .navbar {
    background-color: var(--primary);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar .brand {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  
  .brand img {
    height: 40px;
    width: auto;
  }
  
  .navbar ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }
  
  .navbar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
  }
  
  .navbar a:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
  }
  
  /* Hamburger Menu Icon (hidden on larger screens) */
  .hamburger-menu {
    display: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  /* Mobile Nav styles */
  @media (max-width: 768px) {
    .navbar ul {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: var(--primary);
      position: absolute;
      top: 70px; /* adjust based on navbar height */
      left: 0;
    }
    
    .navbar ul.mobile-active {
      display: flex;
    }
    
    .hamburger-menu {
      display: block;
    }
  }
  
  /* ====================================
     Header Sections (Hero/Beliefs/About)
  ==================================== */
  /* Home Page Hero */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(42,67,101,0.85) 0%, rgba(42,67,101,0.95) 100%), url('https://disciplesunion.org/Images/WhatsApp%20Image%202025-02-25%20at%2023.32.03_5e37ea1f.JPG');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem;
    margin-top: 70px;
    position: relative;
  }
  
  .logo-overlay {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    z-index: 10;
  }
  
  .hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
  }
  
  .hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
  }
  
  /* About / Our Story Header */
  .about-header,
  .beliefs-header {
    margin-top: 70px;
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(42,67,101,0.85) 0%, rgba(42,67,101,0.95) 100%), url('https://disciplesunion.org/Images/WhatsApp%20Image%202025-02-25%20at%2023.32.03_5e37ea1f.JPG');
    background-size: cover;
    background-position: center;
    color: white;
  }
  
  .about-header h1,
  .beliefs-header h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  
  .beliefs-header p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
  }
  /* Aims Section Styles */
  .aims-section {
    padding: 4rem 2rem;
    background: var(--background);
    position: relative;
  }
  
  .aims-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .aim-card {
    background: linear-gradient(135deg, #fff5e6 0%, #ffeccc 100%);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transform: rotate(-2deg);
    box-shadow: 15px 15px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 300px;
  }
  
  .aim-card:nth-child(even) {
    transform: rotate(2deg);
    background: linear-gradient(135deg, #e6f3ff 0%, #cce6ff 100%);
  }
  
  .aim-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 20px 20px 40px rgba(0,0,0,0.15);
  }
  
  .aim-card::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 50px;
    height: 50px;
    background: var(--secondary);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  
  .aim-card h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 40px;
  }
  
  .aim-card h3::before {
    content: '🎯';
    position: absolute;
    left: 0;
    font-size: 1.8rem;
  }
  
  .aim-item {
    margin: 1.5rem 0;
    padding-left: 40px;
    position: relative;
  }
  
  .aim-item::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.4rem;
  }
  
  .aim-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.5rem;
  }
  
  /* Objectives Section Styles */
  .objectives-section {
    padding: 4rem 2rem;
    background: linear-gradient(45deg, var(--primary) 0%, #1a2a42 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .objectives-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    filter: blur(80px);
    opacity: 0.15;
  }
  
  .objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .objective-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 380px;
    display: flex;
    flex-direction: column;
  }
  
  .objective-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  }
  
  .objective-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
  }
  
  .objective-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
  }
  
  .objective-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
  }
  
  .objective-item {
    margin: 1.5rem 0;
    padding-left: 30px;
    position: relative;
  }
  
  .objective-item::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 1.2rem;
  }
  
  .objective-item strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
  }
  /* Strategies Section Styles */
  .strategies-section {
    padding: 6rem 2rem;
    background: var(--background);
  }
  
  .strategies-container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
  }
  
  .strategy-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .strategy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary);
    transition: width 0.3s ease;
  }
  
  .strategy-card:hover::before {
    width: 100%;
    opacity: 0.1;
  }
  
  .strategy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  }
  
  .strategy-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(42,67,101,0.1);
    position: absolute;
    top: -10px;
    right: 15px;
  }
  
  .strategy-content {
    position: relative;
    z-index: 1;
  }
  
  .strategy-icon {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
  }
  
  .strategy-card:hover .strategy-icon {
    color: var(--primary);
  }
  
  .strategy-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
  }
  
  .strategy-card p {
    color: var(--light-text);
    line-height: 1.8;
  }
  
  @media (max-width: 768px) {
    .strategies-section {
        padding: 4rem 1.5rem;
    }
    
    .strategy-cards {
        grid-template-columns: 1fr;
    }
  }
  
/* ====================================
     Story Section Full Width Adjustments
  ==================================== */
  .story-section {
    padding: 6rem 0; /* Vertical padding only */
    max-width: none;
    margin: 0;
  }
  
  .story-card {
    display: flex;
    align-items: center;
    gap: 0; /* Remove gap between image and text */
    margin-bottom: 6rem;
    background: white;
    padding: 3rem 0; /* No horizontal padding */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
  }
  
  .story-image {
    flex: 1;
    height: 500px; /* Increased height for impact */
    overflow: hidden;
  }
  
  .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .story-text {
    flex: 1;
    padding: 0 4rem; /* Padding only between image and text */
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .story-card {
      flex-direction: column;
      padding: 0;
      margin-bottom: 4rem;
    }
  
    .story-image {
      width: 100%;
      height: 300px;
      flex: none;
    }
  
    .story-text {
      padding: 2rem 1.5rem;
      width: 100%;
    }
  }
  
  /* For "Our Story" and "Join Us" */
  .content-card, .join-form {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
  }
  
  /* Form Styles (Join Us) */
  .join-form .form-group {
    margin-bottom: 2rem;
  }
  
  .join-form .form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text);
  }
  
  .join-form .form-group input,
  .join-form .form-group textarea,
  .join-form .form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
  }
  
  .join-form .form-group input:focus,
  .join-form .form-group textarea:focus,
  .join-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42,67,101,0.1);
  }
  
  .join-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
  }
  
  /* ====================================
     Buttons
  ==================================== */
  .cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 2.5rem;
    background-color: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
    border: none;
    cursor: pointer;
  }
  
  .cta-button:hover {
    background-color: #C53030;
    transform: translateY(-2px);
  }
  
  .contact-button {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid white;
  }
  
  .contact-button:hover {
    background-color: white;
    color: var(--primary);
  }
  
  /* ====================================
     Cards & Grids (Our Story, Beliefs, Commitment)
  ==================================== */
  /* Mission Cards for Our Story */
  .mission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
  }
  
  .mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .mission-card:hover {
    transform: translateY(-5px);
  }
  
  .mission-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .mission-card p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  /* Timeline (Our Story) */
  .timeline {
    position: relative;
    padding: 6rem 0;
    margin-top: 4rem;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--primary);
    opacity: 0.3;
  }
  
  .timeline-item {
    margin: 4rem 0;
    position: relative;
    width: 50%;
    padding: 0 3rem;
  }
  
  .timeline-item:nth-child(odd) {
    left: 0;
  }
  
  .timeline-item:nth-child(even) {
    left: 50%;
  }
  
  .timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary);
    border-radius: 50%;
    top: 0;
  }
  
  .timeline-item:nth-child(odd)::before {
    right: -10px;
  }
  
  .timeline-item:nth-child(even)::before {
    left: -10px;
  }
  
  /* Beliefs Section Styles */
  .beliefs-content {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, #f8f8f8, #ffffff);
    position: relative;
    overflow: hidden;
  }
  
  .beliefs-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 241, 242, 0.8) 0%, rgba(232, 241, 242, 0) 70%);
    z-index: 1;
  }
  
  .belief-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .belief-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border-left: 5px solid transparent;
  }
  
  .belief-card:nth-child(3n+1) {
    border-left-color: #e3a72f;
  }
  
  .belief-card:nth-child(3n+2) {
    border-left-color: #3f87a6;
  }
  
  .belief-card:nth-child(3n+3) {
    border-left-color: #8a4d76;
  }
  
  .belief-card::after {
    content: '"';
    position: absolute;
    bottom: -15px;
    right: 10px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
  }
  
  .belief-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  .belief-card h3 {
    color: #2a4365;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
  }
  
  .belief-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: currentColor;
  }
  
  .belief-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .belief-card .scripture,
  .belief-card .scripture-ref {
    display: inline-block;
    font-style: italic;
    color: #718096;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
  }
  
  .belief-card .scripture::before,
  .belief-card .scripture-ref::before {
    content: '—';
    position: absolute;
    left: 0;
  }
  .beliefs-content {
    margin-bottom: 4rem; /* Adds visible space between sections */
  }
  
  /* Rules Section Styles */
  /* Rules Section Styles */
  .rules-section {
    padding: 6rem 2rem;
    background: #2a4365;
    position: relative;
    z-index: 1;
  }
  
  .rules-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: -1;
  }
  
  .rules-section h2 {
    color: white;
    position: relative;
    display: inline-block;
    margin: 0 auto 4rem;
  }
  
  .rules-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e3a72f;
  }
  
  /* Fix for the rules section */
  /* Rules Section Styles - Using your specified design with my naming convention */
  .rules-section {
    padding: 4rem 2rem;
    background: linear-gradient(45deg, var(--primary, #ffffff) 0%, #1b4179 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }
  
  .rules-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--secondary, #e3a72f);
    filter: blur(80px);
    opacity: 0.15;
  }
  
  .rules-section .beliefs-content {
    background: transparent;
    padding: 0;
  }
  
  .rules-section .beliefs-content::before {
    display: none;
  }
  
  .rules-section .belief-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .rules-section .belief-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    border-left: none;
    box-shadow: none;
  }
  
  .rules-section .belief-card::after {
    content: none;
  }
  
  .rules-section .belief-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  }
  
  .rules-section .belief-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    color: white;
  }
  
  .rules-section .belief-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary, #e3a72f);
  }
  
  .rules-section .belief-card p {
    color: white;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .rules-section .belief-card .scripture-ref {
    color: var(--secondary, #e3a72f);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.5rem;
    margin-top: auto;
    display: block;
    text-align: right;
    padding-left: 0;
  }
  
  .rules-section .belief-card .scripture-ref::before {
    content: none;
  }
  
  @media (max-width: 768px) {
    .belief-grid {
      grid-template-columns: 1fr;
    }
    
    .beliefs-content,
    .rules-section {
      padding: 4rem 1.5rem;
    }
    
    .rules-section .belief-card {
      min-height: 300px;
    }
  }
  
  /* Commitment Section (What We Believe) */
   /* Commitment Section */
   .commitment-section {
    background-color: var(--primary);
    color: white;
    padding: 6rem 2rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .commitment-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
      radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
      radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 25%);
  }
  
  .commitment-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 3rem;
  }
  
  .commitment-section h2::after {
    background-color: white;
  }
  
  .commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    position: relative;
    z-index: 2;
  }
  
  .commitment-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
  }
  
  .commitment-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-bottom-color: var(--secondary);
  }
  
  .commitment-card h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
  }
  
  .commitment-card h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: width 0.3s ease;
  }
  
  .commitment-card:hover h3::after {
    width: 60px;
    background-color: var(--secondary);
  }
  
  /* ====================================
     Footer
  ==================================== */
  footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-top: 4rem;
  }
  
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .social-links {
    display: flex;
    gap: 1.5rem;
    margin: 1rem 0;
  }
  
  .social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }
  
  .social-links a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
  }
  
  .footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  
  footer p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  /* ====================================
     Animations
  ==================================== */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ====================================
     Responsive Styles
  ==================================== */
  @media (max-width: 768px) {
    .story-card {
      flex-direction: column;
      gap: 2rem;
      padding: 2rem;
    }
    
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .hero p {
      font-size: 1.2rem;
    }
    
    /* Content adjustments */
    .join-content {
      padding: 3rem 1rem;
    }
    
    .content-card,
    .join-form,
    .mission-card,
    .belief-card,
    .commitment-card {
      padding: 1.5rem;
    }
    
    /* Timeline adjustments for Our Story */
    .timeline::before {
      left: 20px;
    }
    
    .timeline-item {
      width: 100%;
      padding-left: 45px;
      left: 0;
    }
    
    .timeline-item::before {
      left: 10px;
    }
    
    .timeline-item:nth-child(even)::before {
      left: 10px;
    }
    
    .footer-buttons {
      flex-direction: column;
      gap: 1rem;
    }
  }
  /* Footer Support Section Styles */
  .support-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .support-details, .web-dev-contact {
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
  }
  
  .support-details h4, .web-dev-contact h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
  }
  
  .banking-details p {
    margin: 0.8rem 0;
    font-size: 0.9rem;
  }
  
  .web-dev-contact {
    background: rgba(197, 160, 71, 0.1);
    border: 1px solid rgba(197, 160, 71, 0.2);
  }
  
  .web-dev-contact a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
  }
  
  .web-dev-contact a:hover {
    opacity: 0.8;
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .support-section {
      grid-template-columns: 1fr;
    }
    
    .support-details, .web-dev-contact {
      padding: 1rem;
    }
    
    .banking-details p {
      font-size: 0.85rem;
    }
  }
  
  /* Media Gallery Styles */
  .media-gallery {
    padding: 6rem 2rem;
    background: var(--background);
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .gallery-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .gallery-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
  }
  
  .gallery-header p {
    color: var(--light-text);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
  }
  
  /* Media Card Styles */
  .media-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  }
  
  /* Carousel Specific Styles */
  .gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16/9;
  }
  
  .carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .carousel-slide.active {
    opacity: 1;
  }
  
  /* Media Content Styles */
  .gallery-image,
  .gallery-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .gallery-video {
    background: #000;
  }
  
  /* Video Controls Styling */
  .gallery-video::-webkit-media-controls-panel {
    background-color: rgba(0,0,0,0.5);
  }
  
  .gallery-video::-webkit-media-controls-play-button,
  .gallery-video::-webkit-media-controls-mute-button {
    filter: invert(1);
  }
  
  /* Navigation Controls */
  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .carousel-prev:hover,
  .carousel-next:hover {
    background: var(--secondary);
  }
  
  .carousel-prev { left: 1rem; }
  .carousel-next { right: 1rem; }
  
  /* Indicator Dots */
  .carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .dot.active {
    background: var(--secondary);
    transform: scale(1.2);
  }
  
  /* Caption Styles */
  .media-caption {
    padding: 1.5rem;
    background: white;
  }
  
  .media-caption h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
  }
  
  .media-caption p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .media-gallery {
      padding: 4rem 1.5rem;
    }
    
    .gallery-header h1 {
      font-size: 2.2rem;
    }
    
    .gallery-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .media-caption {
      padding: 1rem;
    }
    
    .media-caption h3 {
      font-size: 1.1rem;
    }
    
    .media-caption p {
      font-size: 0.9rem;
    }
  
    .gallery-video {
      object-fit: contain;
    }
  }
  /* Add to your existing CSS */
  .gallery-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    aspect-ratio: 16/9;
  }
  
  .carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .carousel-slide.active {
    opacity: 1;
    z-index: 1;
  }
  
  .gallery-video {
    object-fit: cover;
    background: #000;
  }