
        :root {
            --primary-blue: #1a237e;
            --gold: #d4af37;
            --light-gold: #f5e6ab;
            --white: #ffffff;
            --light-gray: #f5f5f5;
            --dark-gray: #333333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            color: var(--dark-gray);
            line-height: 1.6;
            overflow-x: hidden;
        }

        
     .submenu {
  display: none;
  flex-direction: column;
  background: #fff;
  padding: 0;
  margin: 0;
  list-style: none;
  transition: all 0.3s ease;
}

.submenu.open {
  display: flex;
}

/* Optional: improve mobile look */
@media (max-width: 768px) {
  nav ul li {
    position: relative;
  }

  .submenu {
    position: relative;
    background-color: #f9f9f9;
    padding-left: 15px;
  }
}
   
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1a237e;
    cursor: pointer;
}
        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: #333;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
  background: linear-gradient(135deg, #ad0380 0%, #b11575 100%);
       color: var(--white);
            
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        header.scrolled {
            padding: 10px 0;
            background-color: rgba(255, 255, 255, 0.98);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 50px;
            margin-right: 10px;
        }

      .logo-text {
font-family: fantasy;
  font-size: 1.8rem;
  color:linear-gradient(135deg, #1c1c1d 0%, #dd108f 100%);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  position: relative;
  text-shadow: 0 0 6px rgba(255, 196, 2, 0.84);
}


.logo-text span {
  color: #FFD700; /* Rich Gold */
  margin-left: 4px;
  text-shadow:
    0 0 4px rgba(255, 215, 0, 0.6),  /* Soft glow */
    0 0 8px rgba(255, 196, 2, 0);  /* Stronger outer glow */
  font-size: clamp(1.3rem, 4vw, 1.8rem); /* Responsive font size */
  font-family: fantasy, 'Segoe UI', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: inline-block;
}

/* Optional mobile optimization */
@media (max-width: 480px) {
  .logo-text span {
    letter-spacing: 1px;
    text-shadow:
      0 0 3px rgba(255, 215, 0, 0.5),
      0 0 6px rgba(255, 215, 0, 0.7),
      0 0 10px rgba(255, 196, 2, 0.8);
  }
}


/* Hover effect to give holy glow */

/* Mobile responsiveness */
@media (max-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .logo-text::before {
    font-size: 0.9rem;
    margin-right: 6px;
  }
}

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 30px;
        }

        nav ul li a {
            text-decoration: none;
            color: #ffffff;
            font-weight: 600;
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
            position: relative;
        }
@media (max-width: 768px) {
  nav.active ul li a {
    color: #1a237e;
  }
}
        nav ul li a:hover {
            color: yellow;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--gold);
            transition: width 0.3s;
        }

        nav ul li a:hover::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-blue);
            cursor: pointer;
        }

     /* Hero Section - Responsive */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px; /* Reduced for better mobile view */
    max-height: 1200px; /* Limit for very large screens */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    margin-top: 80px;
    padding: 0 15px; /* Added padding for mobile */
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

/* Overlay with gradient for better text visibility */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(26, 34, 126, 0.43) 0%, 
        rgba(26, 34, 126, 0.85) 100%
    );
    z-index: -1;
}

/* Hero Content - Responsive */
.hero-content {
    max-width: 800px;
    width: 90%;
    padding: 20px;
    transform: translateY(0); /* Reset for animation */
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem); /* Responsive font size */
    margin-bottom: 15px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

/* Highlighted Span Elements */
.hero-content h1 span {
    
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
    transform-origin: center bottom;
}

.hero-content h1 span:nth-of-type(1) {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: yellow;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span:nth-of-type(2) {
    font-size: clamp(1rem, 3vw, 1.7rem);
    font-style: italic;
    color: #ffd6fa;
    margin-top: 10px;
    display: block;
}



/* Buttons - Responsive */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 30px);
    background-color: var(--gold);
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    white-space: nowrap;
}


.submenu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 5px;
}

.submenu-toggle .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    .submenu-toggle {
        display: none !important;
    }
    
    .has-submenu:hover .submenu {
        display: block;
        opacity: 1;
        visibility: visible;
    }
}

.btn:hover {
    background-color: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--primary-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: 450px;
        margin-top: 60px; /* Reduced for mobile */
    }
    
    .hero-content {
        padding: 10px;
    }
    
    .hero h1 {
        margin-bottom: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 400px;
    }
    
    .hero-content h1 span:nth-of-type(1) {
        display: block;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    .hero-content h1 span {
        transition: none;
    }
    
    .btn {
        transition: none;
    }
}

/* Fallback for browsers that don't support video */
@supports not (object-fit: cover) {
    .hero-video {
        display: none;
    }
    .hero {
        background: url('image/fallback-image.jpg') center/cover no-repeat;
    }
}
#about {
    padding: 60px 0;
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 15px;
}
#vision .section-title p {
    color: #1a237e;
}
.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-text {
    flex: 1 1 60%;
    min-width: 300px;
    padding: 20px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-image {
    flex: 1 1 35%;
    min-width: 300px;
    padding: 20px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text, 
    .about-image {
        flex: 1 1 100%;
        min-width: 100%;
    }
    
    .about-image {
        order: -1; /* Image will appear first on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    #about {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-text, 
    .about-image {
        padding: 10px;
    }
}
        /* About Section */
        .section {
            padding: 100px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--gold);
        }

        .section-title p {
            max-width: 700px;
            margin: 20px auto 0;
            color: #fff;
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .about-text p {
            margin-bottom: 15px;
        }

        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        /* Submenu styles */
nav ul li.has-submenu {
  position: relative;
}

nav ul li .submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff; 
  min-width: 180px;
 box-shadow:0 8px 32px 0 rgba(168, 204, 6, 0.25), 0 1.5px 8px 0 rgba(208, 208, 14, 0.86),0 0 0 4px rgba(151, 0, 204, 0.08);
  z-index: 1001;
  border-radius: 0 0 8px 8px;
  padding: 0;
}

nav ul li .submenu li {
  margin: 0;
}

nav ul li .submenu li a {
  color: #1a237e;
  padding: 12px 20px;
  display: block;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
}

nav ul li .submenu li:last-child a {
  border-bottom: none;
}

nav ul li.has-submenu:hover > .submenu,
nav ul li.has-submenu:focus-within > .submenu {
  display: block;
}
.has-submenu .arrow {
  display: none;
  font-size: 0.8rem;
  margin-left: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .has-submenu .arrow {
    display: inline-block;
  }

  .has-submenu.submenu-open .arrow {
    transform: rotate(180deg);
  }

  .submenu {
    display: none;
  }

  .has-submenu.submenu-open .submenu {
    display: block;
  }
}
/* Pastoral Services Section */
    .pastoral-services {
        background-color: #f9f9f9;
        padding: 80px 0;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }
    
    .service-card {
        background: white;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }
    
    .service-icon {
        background: linear-gradient(135deg, #9700cc 0%, #b11575 100%);
        color: white;
        font-size: 2.5rem;
        padding: 30px;
        text-align: center;
    }
    
    .service-content {
        padding: 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .service-content h3 {
        color: #1a237e;
        margin-bottom: 15px;
        font-size: 1.4rem;
    }
    
    .service-content p {
        color: #555;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .service-btn {
        display: inline-block;
        padding: 10px 20px;
        background: #1a237e;
        color: white;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        margin-top: auto;
        transition: all 0.3s ease;
    }
    
    .service-btn:hover {
        background: #9700cc;
        transform: translateY(-3px);
    }
    
    @media (max-width: 768px) {
        .services-grid {
            grid-template-columns: 1fr;
        }
        
        .service-card {
            max-width: 100%;
        }
    }
     /* Ministries Section */
.section-dark {
    background: linear-gradient(135deg, #9600cc9f 0%, #b11575 100%);  padding: 4rem 1rem;
}

.section-dark .section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
color: white;
}

.section-dark .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.divider-line {
  height: 2px;
  width: 50px;
  background-color: #ffd700; /* gold */
}

.divider-icon {
  width: 40px;
  height: 40px;
}
/* Ministries Grid */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

/* Ministry Card - Church Theme & Professional Look */
.ministry-card {
  background: rgba(255, 255, 255, 0.92); /* Glass-like white */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08), 
              0 0 0 4px rgba(0, 98, 204, 0.05);
  padding: 2rem;
  border-radius: 16px;
  transition: all 0.3s ease-in-out;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.04);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png'); /* subtle texture */
}

.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 25px rgba(0, 98, 204, 0.15);
  background-color: #ffffff;
}

.ministry-icon img {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  object-fit: cover;
  background: #f0f6ff;
  padding: 8px;
  border: 3px solid #0077cc;
  transition: transform 0.3s ease;
}

.ministry-card:hover .ministry-icon img {
  transform: scale(1.05);
}

.ministry-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ministry-content h3 {
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  color: #1a237e; /* deep church blue */
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ministry-content p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: #444;
  line-height: 1.7;
  font-family: 'Segoe UI', sans-serif;
}

/* Responsive Layout Improvements */
@media (max-width: 1024px) {
  .ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  .ministry-card {
    padding: 1.8rem;
  }
}

@media (max-width: 768px) {
  .ministries-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
  }
  .ministry-card {
    padding: 1.5rem;
  }
  .ministry-icon img {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .ministries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  .ministry-card {
    padding: 1.3rem 1rem;
    border-radius: 12px;
  }
  .ministry-icon img {
    max-width: 90px;
  }
  .ministry-content h3 {
    font-size: 1.3rem;
  }
  .ministry-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .ministry-card {
    padding: 1rem 0.8rem;
  }
  .ministry-content h3 {
    font-size: 1.2rem;
  }
  .ministry-icon img {
    max-width: 80px;
  }
}


/* Events Carousel Styles */
#events {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.events-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.events-carousel-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.events-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.event-card {
    min-width: calc(33.33% - 14px);
    flex: 0 0 calc(33.33% - 14px);
    transition: all 0.3s ease;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.event-image {
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 25px;
}


.event-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.event-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 1rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.carousel-nav:hover {
    background: #e74c3c;
    color: white;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f1f1f1;
}

.left-arrow {
    left: -30px;
}

.right-arrow {
    right: -30px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 12px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #e74c3c;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .left-arrow {
        left: -25px;
    }
    
    .right-arrow {
        right: -25px;
    }
}

@media (max-width: 992px) {
    .event-card {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }
    
    .event-image {
        height: 220px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .event-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .left-arrow {
        left: -15px;
    }
    
    .right-arrow {
        right: -15px;
    }
    
    .event-image {
        height: 200px;
    }
    
    .event-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .left-arrow {
        left: -10px;
    }
    
    .right-arrow {
        right: -10px;
    }
    
    .event-card {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .event-image {
        height: 180px;
    }
    
    .event-content {
        padding: 15px;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 400px) {
    .carousel-nav {
        width: 36px;
        height: 36px;
    }
    
    .event-image {
        height: 160px;
    }
    
    .event-content h3 {
        font-size: 1.3rem;
    }
}

        /* Events Section */
        .events-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .event-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow:0 8px 32px 0 rgba(168, 204, 6, 0.25), 0 1.5px 8px 0 rgba(208, 208, 14, 0.86),0 0 0 4px rgba(151, 0, 204, 0.08);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .event-image {
            height: 200px;
            overflow: hidden;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .event-card:hover .event-image img {
            transform: scale(1.1);
        }

        .event-content {
            padding: 25px;
        }

        .event-date {
            display: inline-block;
            background-color:rgb(228, 196, 17);
            color: var(--white);
            padding: 5px 15px;
            border-radius: 30px;
            font-size: 0.8rem;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .event-content h3 {
            margin-bottom: 10px;
            font-size: 1.3rem;
        }

        .event-content p {
            margin-bottom: 15px;
            font-size: 0.9rem;
            color: var(--dark-gray);
        }

        .event-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #777;
        }
        

        /* Media Section */
        .media-section {
       background: linear-gradient(135deg, #9600cc9f 0%, #b11575 100%);
            padding: 100px 0;
            text-align: center;
        }

        .media-section .section-title h2 {
            color: var(--white);
        }

        .media-section .section-title h2::after {
            background-color: var(--gold);
        }

        .media-container {
            max-width: 900px;
            margin: 0 auto;
            position: relative;
        }

        .media-video {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .media-video iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

      .social-links {
    margin-top: 40px;
    text-align: center; 
   }
    a {
    color: white;
    text-decoration: none; /* Optional: remove underline */
}

a:hover {
    color: #ddd; /* Optional: lighter color on hover */
}


  .social-links a {
    display: inline-flex;              
    justify-content: center;          
    align-items: center;              
    margin: 0 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

        .social-links a:hover {
            background-color: var(--gold);
            color: var(--primary-blue);
            transform: translateY(-5px);
        }

        /* Locations Section */
        .locations-section {
            padding: 100px 0;
        }

        .map-container {
            height: 500px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            margin-bottom: 50px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .schedule {
            background-color: var(--light-gray);
            border-radius: 10px;
            padding: 30px;
        }

        .schedule h3 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 1.8rem;
        }

        .schedule-table {
            width: 100%;
            border-collapse: collapse;
        }

        .schedule-table th, .schedule-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

.testimony-form textarea {
  pointer-events: auto !important;
  opacity: 1 !important;
  position: static !important;
  z-index: 1 !important;
  background: rgba(255,255,255,0.8);
  color: #1a237e;
  resize: vertical;
}
        .schedule-table th {
            background-color: var(--primary-blue);
            color: var(--white);
            font-weight: 600;
        }

        .schedule-table tr:nth-child(even) {
            background-color: rgba(212, 175, 55, 0.1);
        }

        .schedule-table tr:hover {
            background-color: rgba(212, 175, 55, 0.2);
        }

       

        /* Footer */
        footer {
       background: linear-gradient(135deg, #1c1c1d 0%, #b11575 100%);
       color: var(--white);
            padding: 60px 0 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-contact h4 {
      color: #fff;
       }
        .footer-logo {
            margin-bottom: 20px;
        }

        .footer-logo img {
            height: 50px;
        }

        .footer-about p {
            margin-bottom: 20px;
        }

        .footer-links h4, .footer-contact h4 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-links h4::after, .footer-contact h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background-color: var(--gold);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links ul li {
            margin-bottom: 10px;
        }

        .footer-links ul li a {
            color: var(--white);
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-links ul li a:hover {
            color: var(--gold);
        }

        .contact-info {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .contact-info i {
            color: var(--gold);
            margin-right: 10px;
            margin-top: 3px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9rem;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .about-content {
                flex-direction: column;
            }
            
            .vm-container {
                flex-direction: column;
            }
            
            .vm-box {
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            nav {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 80%;
                height: calc(100vh - 80px);
                background-color: var(--white);
                transition: all 0.3s;
                z-index: 999;
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            }
            
            nav.active {
                left: 0;
            }
            
            nav ul {
                flex-direction: column;
                padding: 30px;
            }
            
            nav ul li {
                margin: 0 0 20px 0;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .btn {
                display: block;
                margin: 10px auto;
                max-width: 200px;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2rem;
            }
            
            .section {
                padding: 60px 0;
            }
            
            .event-card {
                max-width: 100%;
            }
            
            .donation-options {
                flex-direction: column;
            }
        }
    
        /* Share Your Testimony Section */
.testimony-section {
        background-color: rgb(151 0 204 / var(--tw-bg-opacity, 1));
    padding: 60px 0;
}

.testimony-section .section-title h2 {
    color: #fcfcfc;
    margin-bottom: 10px;
}

.testimony-section .section-title p {
    color: #fafafa;
    margin-bottom: 30px;
}

.testimony-container {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 40px 30px;
    max-width: 600px;
    margin: 0 auto;
}

.testimony-container h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.testimony-container p {
    color: #ffffff;
    margin-bottom: 25px;
}

.testimony-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimony-form input,
.testimony-form textarea {
    padding: 12px 15px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border 0.2s;
}

.testimony-form input:focus,
.testimony-form textarea:focus {
    border: 1.5px solid #2d3e50;
    outline: none;
}

.testimony-form textarea {
    resize: vertical;
    min-height: 120px;
}

.testimony-form .btn {
    background: #cdd70b;
    color: #b11575;
    border: none;
    border-radius: 6px;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.testimony-form .btn:hover {
    background: #1a2533;
}
/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .vm-container {
        flex-direction: column;
    }
    
    .vm-box {
        margin-bottom: 30px;
    }
    
    .events-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .testimony-container {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: all 0.3s;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 30px;
    }
    
    nav ul li {
        margin: 0 0 20px 0;
    }
    
    .hero {
        margin-top: 70px;
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
    
    .map-container {
        height: 400px;
    }
    
    .testimony-section {
        padding: 50px 0;
    }
    
    .testimony-container {
        padding: 25px 20px;
    }
    
    .testimony-form {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
        padding-bottom: 10px;
    }
    
    .section-title h2::after {
        width: 60px;
        height: 2px;
    }
    
    .section-title p {
        font-size: 0.9rem;
    }
    
    .about-content {
        gap: 30px;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .event-card {
        max-width: 100%;
    }
    
    .donation-options {
        flex-direction: column;
        align-items: center;
    }
    
    .donation-option {
        width: 100%;
        text-align: center;
    }
    
    .map-container {
        height: 300px;
        margin-bottom: 30px;
    }
    
    .schedule-table th, 
    .schedule-table td {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .testimony-section {
        padding: 40px 0;
    }
    
    .testimony-container h3 {
        font-size: 1.3rem;
    }
    
    .testimony-form input,
    .testimony-form textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .testimony-form .btn {
        padding: 12px 0;
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        flex-wrap: wrap;
    }
    
    .testimony-container {
        padding: 20px 15px;
    }
    
    .testimony-form textarea {
        min-height: 100px;
    }
}
/* Responsive Styles - Mobile First Approach */

/* Base mobile styles (applies to all screens) */
.testimony-section {
    background-color: rgb(151, 0, 204);
    padding: 3.75rem 0; /* 60px */
}

.testimony-section .section-title h2 {
    color: #fcfcfc;
    margin-bottom: 0.625rem; /* 10px */
}

.testimony-section .section-title p {
    color: #fafafa;
    margin-bottom: 1.875rem; /* 30px */
}

.testimony-container {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 1rem; /* 16px */
    box-shadow: 0 0.5rem 2rem 0 rgba(31, 38, 135, 0.18);
    backdrop-filter: blur(0.625rem); /* 10px */
    -webkit-backdrop-filter: blur(0.625rem);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 1.25rem; /* 20px */
    max-width: 100%;
    margin: 0 auto;
    width: 90%;
}

.testimony-container h3 {
    color: #ffffff;
    margin-bottom: 0.625rem; /* 10px */
    font-size: 1.3rem;
}

.testimony-container p {
    color: #ffffff;
    margin-bottom: 1.5625rem; /* 25px */
    font-size: 0.9rem;
}

.testimony-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem; /* 18px */
}

.testimony-form input,
.testimony-form textarea {
    padding: 0.75rem; /* 12px */
    border: 1px solid #dddddd;
    border-radius: 0.375rem; /* 6px */
    font-size: 1rem;
    font-family: inherit;
    background: #fafbfc;
    transition: border 0.2s;
    width: 100%;
}

.testimony-form input:focus,
.testimony-form textarea:focus {
    border: 1.5px solid #2d3e50;
    outline: none;
}

.testimony-form textarea {
    resize: vertical;
    min-height: 7.5rem; /* 120px */
}

.testimony-form .btn {
    background: #cdd70b;
    color: #b11575;
    border: none;
    border-radius: 0.375rem; /* 6px */
    padding: 0.875rem 0; /* 14px */
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.testimony-form .btn:hover {
    background: #1a2533;
    color: #fff;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .testimony-container {
        padding: 1.5625rem; /* 25px */
        width: 85%;
    }
    
    .testimony-container h3 {
        font-size: 1.4rem;
    }
    
    .testimony-container p {
        font-size: 1rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .testimony-section {
        padding: 3.125rem 0; /* 50px */
    }
    
    .testimony-container {
        padding: 1.875rem; /* 30px */
        max-width: 85%;
    }
    
    .testimony-container h3 {
        font-size: 1.5rem;
    }
    
    .testimony-form {
        gap: 1.25rem; /* 20px */
    }
    
    .testimony-form .btn {
        padding: 0.9375rem 0; /* 15px */
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .testimony-section {
        padding: 3.75rem 0; /* 60px */
    }
    
    .testimony-container {
        padding: 2.5rem; /* 40px */
        max-width: 37.5rem; /* 600px */
    }
    
    .testimony-container h3 {
        font-size: 1.6rem;
    }
    
    .testimony-form input,
    .testimony-form textarea {
        padding: 0.9375rem; /* 15px */
    }
    
    .testimony-form textarea {
        min-height: 8.75rem; /* 140px */
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .testimony-container {
        padding: 2.5rem 3.125rem; /* 40px 50px */
    }
    
    .testimony-container h3 {
        font-size: 1.7rem;
    }
    
    .testimony-form .btn {
        font-size: 1.2rem;
    }
}

/* Super large screens (4K and above) */
@media (min-width: 1600px) {
    .testimony-container {
        max-width: 43.75rem; /* 700px */
    }
    
    .testimony-container h3 {
        font-size: 1.8rem;
    }
    
    .testimony-form input,
    .testimony-form textarea {
        padding: 1.0625rem; /* 17px */
        font-size: 1.1rem;
    }
    
    .testimony-form textarea {
        min-height: 10rem; /* 160px */
    }
}

/* Special adjustments for very small mobile devices */
@media (max-width: 360px) {
    .testimony-container {
        padding: 1.25rem 0.9375rem; /* 20px 15px */
        width: 95%;
    }
    
    .testimony-container h3 {
        font-size: 1.2rem;
    }
    
    .testimony-container p {
        font-size: 0.85rem;
    }
    
    .testimony-form input,
    .testimony-form textarea {
        padding: 0.625rem; /* 10px */
        font-size: 0.9rem;
    }
    
    .testimony-form textarea {
        min-height: 6.25rem; /* 100px */
    }
    
    .testimony-form .btn {
        padding: 0.75rem 0; /* 12px */
        font-size: 1rem;
    }
}

   
    
    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .hero {
            height: 90vh;
            min-height: 500px;
        }
        
        .hero-content h1 {
            font-size: 2rem;
            margin-bottom: 15px;
        }
        
        .hero-content p {
            font-size: 1rem;
            margin-bottom: 25px;
        }
        
        .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
        
        .hero-buttons {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
    }
    
    @media (max-width: 480px) {
        .hero {
            height: 85vh;
            min-height: 400px;
        }
        
        .hero-content h1 {
            font-size: 1.7rem;
        }
        
        .hero-content p {
            font-size: 0.9rem;
        }
    }
/* Ministry Hero */
.ministry-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.ministry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.ministry-hero .container {
    position: relative;
    z-index: 1;
}

.ministry-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Ministry Content */
.ministry-content {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.content-main h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.content-main h3 {
    margin: 2rem 0 1rem;
    color: var(--secondary-color);
}

.programs-list li {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

/* Sidebar */
.sidebar-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.times-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

/* Gallery */
.ministry-gallery {
    padding: 3rem 0;
    background: #f5f5f5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Ministry Hero */
.ministry-hero {
    height: 60vh;
    min-height: 400px; /* Minimum height for smaller screens */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 20px; /* Add padding for smaller screens */
}

.ministry-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.ministry-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
}

.ministry-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem); /* Responsive font size */
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ministry-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto;
}

/* Ministry Content */
.ministry-content {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column by default */
    gap: 2rem;
    padding: 0 20px;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 2fr 1fr; /* Two columns on larger screens */
        gap: 3rem;
        padding: 0;
    }
}

.content-main h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.content-main h3 {
    margin: 1.5rem 0 1rem;
    color: var(--secondary-color);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.content-main p {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
}

.programs-list li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.programs-list h4 {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.programs-list p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Sidebar */
.sidebar-card {
    background: #f9f9f9;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.times-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Gallery */
.ministry-gallery {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: #f5f5f5;
}

.ministry-gallery h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .gallery-grid img {
        height: 250px;
    }
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Button styles for mobile */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

/* Responsive typography */
html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

/* Ensure images don't overflow on small screens */
img {
    max-width: 100%;
    height: auto;
}
 /* Children's Ministry Section Styles */
    #events {
        padding: 80px 0;
        background: linear-gradient(135deg, #fff5f5 0%, #f0f8ff 100%);
        position: relative;
        width: 100%;
        overflow-x: hidden;
    }
    
    /* Add playful background elements */
    #events::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: 
            radial-gradient(circle at 20% 20%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(173, 216, 230, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 60%, rgba(255, 255, 0, 0.05) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .container {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    
    .section-title {
        text-align: center;
        margin-top: 60px;
    }
    
    .section-title h2 {
        color: #28108b;
        font-family: 'Playfair Display', serif;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
        font-size: clamp(1.8rem, 4vw, 2.5rem);
        margin-top: 2.8rem;
    }
    
    .section-title p {
    color: #3f3f3f;
    font-weight: 500;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-align: justify;
}

    .events-carousel-wrapper {
        position: relative;
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .events-carousel-container {
        overflow: hidden;
        margin: 0 40px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        width: 100%;
        max-width: 1000px;
    }
    
    .events-carousel {
        display: flex;
        transition: transform 0.5s ease;
        gap: 0;
        padding: 0;
        width: 100%;
    }
    
    .event-card {
        min-width: 25%;
        flex: 0 0 25%;
        position: relative;
        background: white;
        overflow: hidden;
        transition: all 0.3s ease;
        border: none;
        box-shadow: none;
    }
    
    .event-card:hover {
        transform: scale(1.02);
        z-index: 2;
    }
    
    .event-image {
        height: 280px;
        overflow: hidden;
        position: relative;
        width: 100%;
    }
    
    .event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        filter: brightness(1.1) saturate(1.2);
    }
    
    .event-card:hover .event-image img {
        transform: scale(1.1);
    }
    
   
    
    .event-card:hover .event-image::after {
        opacity: 1;
    }
    
    .event-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        color: white;
        z-index: 1;
        transform: translateY(70%);
        transition: transform 0.3s ease;
        background: linear-gradient(
            to top,
            rgba(71, 12, 191, 0.95) 0%,
            rgba(78, 205, 196, 0.8) 70%,
            transparent 100%
        );
        border-radius: 15px 15px 0 0;
    }
    
    .event-card:hover .event-content {
        transform: translateY(0);
    }
    
    .event-title {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem);
        font-weight: 700;
        margin-bottom: 8px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        font-family: 'Comic Sans MS', cursive, sans-serif;
        line-height: 1.2;
    }
    
    .event-time {
        font-size: clamp(0.9rem, 2vw, 1rem);
        color: #FFE135;
        font-weight: 600;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
        margin-bottom: 5px;
    }
    
    .event-description {
        font-size: clamp(0.8rem, 1.8vw, 0.9rem);
        color: rgba(255,255,255,0.95);
        margin-top: 8px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
        line-height: 1.4;
    }
    
    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 55px;
        height: 55px;
        border-radius: 50%;
        background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
        border: none;
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: all 0.3s ease;
        font-size: 20px;
    }
    
    .carousel-nav:hover {
        background: linear-gradient(135deg, #4ECDC4, #FF6B6B);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
    }
    
    .left-arrow {
        left: -30px;
    }
    
    .right-arrow {
        right: -30px;
    }
    
    .carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 40px;
        flex-wrap: wrap;
    }
    
    .carousel-dot {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #FFB6C1;
        border: 3px solid #FF6B6B;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .carousel-dot.active {
        background: #FF6B6B;
        border-color: #4ECDC4;
        transform: scale(1.3);
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.5);
    }
    
    .carousel-dot:hover {
        background: #4ECDC4;
        border-color: #FFE135;
        transform: scale(1.2);
    }
    
    /* Colorful activity indicators */
    .activity-indicator {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, #FFE135, #FF6B6B);
        color: rgb(38, 36, 36);
        padding: 8px 12px;
        border-radius: 20px;
        font-size: clamp(0.65rem, 1.5vw, 0.75rem);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
font-family: 'Arial', sans-serif;    }

    /* Different colors for different frequencies */
    .event-card:nth-child(2n) .activity-indicator {
        background: linear-gradient(135deg, #4ECDC4, #45B7B8);
    }
    
    .event-card:nth-child(3n) .activity-indicator {
        background: linear-gradient(135deg, #A8E6CF, #88D8A3);
    }
    
    .event-card:nth-child(4n) .activity-indicator {
        background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    }
    
    /* Large Tablets (992px - 1199px) */
    @media (min-width: 992px) and (max-width: 1199px) {
        .event-card {
            min-width: 33.333%;
            flex: 0 0 33.333%;
        }
        
        .event-image {
            height: 240px;
        }
        
        .events-carousel-container {
            margin: 0 35px;
        }
    }
    
    /* Tablets (768px - 991px) */
    @media (min-width: 768px) and (max-width: 991px) {
        #events {
            padding: 60px 0;
        }
        
        .container {
            padding: 0 20px;
        }
        
        .events-carousel-wrapper {
            justify-content: center;
        }
        
        .events-carousel-container {
            margin: 0 30px;
            max-width: 600px;
        }
        
        .event-card {
            min-width: 50%;
            flex: 0 0 50%;
        }
        
        .event-image {
            height: 220px;
        }
        
        .carousel-nav {
            width: 50px;
            height: 50px;
            font-size: 18px;
        }
        
        .left-arrow {
            left: -25px;
        }
        
        .right-arrow {
            right: -25px;
        }
        
        .carousel-dots {
            gap: 12px;
            margin-top: 30px;
        }
        
        .carousel-dot {
            width: 14px;
            height: 14px;
            border-width: 2px;
        }
    }
    
    /* Mobile Landscape and Large Mobile (576px - 767px) */
    @media (min-width: 576px) and (max-width: 767px) {
        #events {
            padding: 50px 0;
        }
        
        .container {
            padding: 0 15px;
        }
        
        .events-carousel-wrapper {
            justify-content: center;
            align-items: center;
        }
        
        .events-carousel-container {
            margin: 0 25px;
            max-width: 400px;
            width: 100%;
        }
        
        .event-card {
            min-width: 100%;
            flex: 0 0 100%;
        }
        
        .event-image {
            height: 250px;
        }
        
        .event-content {
            padding: 18px;
            transform: translateY(60%);
        }
        
        .carousel-nav {
            width: 45px;
            height: 45px;
            font-size: 16px;
        }
        
        .left-arrow {
            left: 5px;
        }
        
        .right-arrow {
            right: 5px;
        }
        
        .carousel-dots {
            gap: 10px;
            margin-top: 25px;
        }
        
        .carousel-dot {
            width: 12px;
            height: 12px;
            border-width: 2px;
        }
        
        .activity-indicator {
            top: 10px;
            right: 10px;
            padding: 6px 10px;
        }
    }
    
    /* Small Mobile Screens (320px - 575px) */
    @media (max-width: 575px) {
        #events {
            padding: 40px 0;
        }
        
        .container {
            padding: 0 10px;
        }
        
        .section-title {
            margin-bottom: 30px;
        }
        
        .events-carousel-wrapper {
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        
        .events-carousel-container {
            margin: 0 20px;
            max-width: 320px;
            width: calc(100% - 40px);
            border-radius: 15px;
        }
        
        .event-card {
            min-width: 100%;
            flex: 0 0 100%;
        }
        
        .event-image {
            height: 200px;
        }
        
        .event-content {
            padding: 15px;
            transform: translateY(50%);
            border-radius: 12px 12px 0 0;
        }
        
        .carousel-nav {
            width: 40px;
            height: 40px;
            font-size: 14px;
        }
        
        .left-arrow {
            left: 5px;
        }
        
        .right-arrow {
            right: 5px;
        }
        
        .carousel-dots {
            gap: 8px;
            margin-top: 20px;
        }
        
        .carousel-dot {
            width: 10px;
            height: 10px;
            border-width: 2px;
        }
        
        .activity-indicator {
            top: 8px;
            right: 8px;
            padding: 5px 8px;
            border-radius: 15px;
        }
        
        /* Mobile-specific interactions */
        .event-content {
            transform: translateY(40%);
        }
        
        .event-card:active .event-content {
            transform: translateY(0);
        }
    }
    
    /* Extra Small Mobile Screens (below 320px) */
    @media (max-width: 319px) {
        #events {
            padding: 30px 0;
        }
        
        .container {
            padding: 0 5px;
        }
        
        .events-carousel-container {
            margin: 0 15px;
            max-width: 280px;
        }
        
        .event-image {
            height: 180px;
        }
        
        .event-content {
            padding: 12px;
        }
        
        .carousel-nav {
            width: 35px;
            height: 35px;
            font-size: 12px;
        }
        
        .carousel-dots {
            gap: 6px;
        }
        
        .carousel-dot {
            width: 8px;
            height: 8px;
        }
    }
    
    /* Touch device optimizations */
    @media (hover: none) and (pointer: coarse) {
        .event-card:hover {
            transform: none;
        }
        
        .event-card:hover .event-image img {
            transform: none;
        }
        
        .event-card:hover .event-image::after {
            opacity: 0;
        }
        
        .carousel-nav:hover {
            transform: translateY(-50%);
            background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
        }
        
        .carousel-dot:hover {
            transform: none;
            background: #FFB6C1;
            border-color: #FF6B6B;
        }
    }
    
    /* Landscape orientation on mobile */
    @media (max-width: 767px) and (orientation: landscape) {
        .event-image {
            height: 160px;
        }
        
        .event-content {
            padding: 12px;
            transform: translateY(20%);
        }
        
        .carousel-nav {
            width: 35px;
            height: 35px;
            font-size: 14px;
        }
    }