@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

h1, h2, h3, p, span {
  font-family: 'DM Sans', sans-serif;
}


html {
  scroll-behavior: smooth;
}

html, body {
  cursor: none;  /* Hide default cursor */
}

a {
  text-decoration: none; /* Remove underline */
  color: inherit;        /* Keep icon color unchanged */
}

/* Basic cursor style */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1),
              width 0.15s ease, height 0.15s ease;
  z-index: 9999;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

/* Hover effect - Make cursor larger with smooth transition */
.custom-cursor.hovered {
  width: 35px;  /* Larger size for hover effect */
  height: 35px;
  border-width: 2px;
  transition: width 0.15s ease, height 0.15s ease;
}

/* Force custom cursor on links and buttons */
a:hover, button:hover, input:hover, [role="button"]:hover {
  cursor: none; /* Hide default pointer */
}



/* hide scrollbar */
::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

::-webkit-scrollbar-button {
  width: 1px;
  height: 1px;
}
.external {
  min-height: 100vh;   /* allow it to be taller than the viewport */
  overflow-x: hidden;  /* keep horizontal hidden if needed */
  overflow-y: auto;    /* allow vertical scrolling */
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #0A0A0A;
  color: white;
  line-height: 1.6;
}

/* Header container */
.site-header {
  background: #0A0A0A;
  padding: 16px 24px;
}

/* Navbar layout */
.navbar {
  font-family: 'DM Sans', sans-serif;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* keep brand left, nav right */
  gap: 40px; /* balanced space */
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand__img {
  margin-left: 46px;
  width: 44px;
  height: auto;
}

.brand__stack {
  display: inline-flex;
  align-items: center;  /* instead of baseline */
  gap: 6px;
}

.brand__name {
  position: relative; 
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1px;
  left: 5px;   /* moves it 30px to the right */  
}

.brand__tag {
  position: relative; 
  font-size: 12px;
  letter-spacing: 5px;
  color: #999;
  margin-top: 5px; /* lift slightly so it aligns with “Fresh” */
  left: 14px;   /* moves it 30px to the right */  
}

/* ---------- Search ---------- */
.search {
  flex: 1;                         /* expand to take center space */
  max-width: 500px;                 /* cap width */
  margin: 0 40px;                   /* spacing on both sides */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;                /* smaller height */
  background-color: #1a1a1a;
  border: 1px solid #444;
  border-radius: 9999px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 0 0 rgba(255,255,255,0);
}

.search:hover {
  box-shadow: 0 0 5px rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.25);
}

.search:focus-within {
  box-shadow: 0 0 12px rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.55);
}

.search i {
  font-size: 16px;
  color: #888;
}

.search input {
  font-family: 'DM Sans', sans-serif;
  flex: 1;
  font-size: 14px;
  padding: 4px 0;
  background: transparent; /* should fix */
  border: none;
  color: #eaeaea;
  outline: none;
}



/* Suggestion list keeps your existing IDs/classes */
.suggestion-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 20;
}

/* ---------- Nav ---------- */
.primary-nav { min-width: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #eaeaea;
  font-size: 15px;
  transition: opacity .2s ease;
}

.nav-links a:hover { opacity: .8; }

/* ---------- Small width polish (keeps one row longer) ---------- */
@media (max-width: 1100px) {
  .brand__name { font-size: 24px; }
  .brand__tag  { letter-spacing: 4px; font-size: 11px; top: 1px; }
  .nav-links   { gap: 18px; }
  .search      { width: clamp(240px, 36vw, 480px); padding: 8px 14px; }
}

@media (max-width: 960px) {
  .brand__name { font-size: 22px; }
  .nav-links   { gap: 14px; }
  .search      { width: clamp(220px, 34vw, 420px); }
}


/* Shared Arrow Styles */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(40, 40, 40, 0.6);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;  
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.arrow-icon {
  width: 24px;
  height: 24px;
  stroke: rgb(191, 191, 191);
  stroke-width: 2.2;
}

.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-50%) scale(1.05);
}


/* Position Left and Right */
.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* Search Bar Styling */
.search-bar {
  position: relative; /* important! */
  width: 500px;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 16px;
  background-color: #1a1a1a;
  border-radius: 9999px;
  border: 1px solid #444;
  width: 100%;
}

/* Smooth transition for the search wrapper */
.search-input-wrapper {
  transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out; /* Add transition for box-shadow and border */
}

/* Focus effect on the search wrapper */
.search-input-wrapper:focus-within {
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.4); /* Light gray box-shadow on focus */
  border-color: rgba(255, 255, 255, 0.4); /* Light gray border (optional) */
}

/* Styling for the icon inside the search input */
.search-input-wrapper i {
  color: #888; /* Default color */
  margin-right: 10px;
  font-size: 16px;
  transition: color 0.3s ease-in-out; /* Smooth transition for the icon color */
}

/* ===== FAMILY INTRO ===== */
.family-intro{
  padding-block: clamp(28px, 4vw, 44px) clamp(36px, 5vw, 56px);
}

.family-wrap{
  width: min(100%, 1120px);         /* same content width rhythm */
  margin: 0 auto;
  padding-inline: clamp(16px, 3vw, 24px);
}

.family-title{
  margin: 0 0 8px 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3.5rem);  /* ~56px at large */
  line-height: 1.12;
  letter-spacing: .1px;
  color: #f2f2f2;
}

.family-sub{
  margin: 0 0 20px 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.25rem);  /* ~20px at large */
  color: #d9d9d9;
}

.family-body{
  margin: 0 0 26px 0;
  max-width: 900px;                 /* keeps text line-length like your figma */
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(.98rem, 1.2vw, 1.03rem);
  line-height: 1.6;
  color: #bfbfbf;
}

/* image */
.family-img {
  display: block;
  width: 100%;
  max-height: 560px;   /* adjust to your liking */
  object-fit: cover;   /* crop instead of stretch */
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0,0,0,.45);
  overflow: hidden;
}

/* Hero Section */
.worship-section {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f5f5f5;
}

.worship-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.worship-header p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 2rem;
}

/* About section */
:root {
  --content-max: 1150px;
  --page-gutter: 24px;
}

.about-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px;
}

.about-intro h1 {
  font-size: 3rem; /* bigger heading per your request */
  margin-bottom: 20px;
}

.about-intro p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.about-image {
  text-align: center;
  margin-top: 20px; /* adjusted to close the gap */
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.about-section {
  background: #0b0b0b;
  padding-block: clamp(44px, 5.4vw, 72px);
}

.about-card {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: clamp(22px, 4.05vw, 50px);
  background: #141414;
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(0, 0, 0, 0.55);
  color: #eaeaea;
  text-align: center;
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: clamp(7px, 0.72vw, 11px);
}

.title {
  font-size: clamp(25px, 3.24vw + 5px, 50px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 clamp(16px, 1.98vw, 25px);
}

.cross-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(6px, 1.2vw, 14px) 0 clamp(20px, 2vw, 30px);
}


.cross {
  width: 50px;
  height: auto; /* keeps original aspect ratio */
  display: block;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.25));
}

.about-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.98vw, 25px);
  align-items: stretch;
}

.about-box {
  background: #202020;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  padding: clamp(16px, 2.34vw, 28px);
  display: flex;
  flex-direction: column;
  text-align: center;
  min-height: 198px;
}

.about-box h3 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin: 0 0 8px 0;
  font-weight: 800;
}

.about-box p {
  color: #cfcfcf;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 auto;
}

.learn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  text-decoration: none;
  color: #eaeaea;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  text-align: center;
  width: 100%;
  transition: 
    color 0.4s ease-in-out,
    text-shadow 0.4s ease-in-out; /* smooth glow transition */
}

.learn .arrow {
  transition: transform 0.3s ease-in-out;
}

.learn:hover {
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.learn:hover .arrow {
  transform: translateX(3px);
}


/* Experience section */
:root { --exp-max: 1160px; } /* match the width of the section above */

.exp-section{
  padding-block: clamp(36px, 5vw, 64px);
  color: inherit;
  font-family: inherit;
}

.exp-cardwrap{
  width:min(100%, var(--exp-max));
  margin-inline:auto;
}

/* Header */
.exp-header{
  text-align:center;
  margin-bottom: clamp(18px, 3.2vw, 28px);
}
.exp-pin{
  width: 38px;   /* bigger width */
  height: 38px;  /* bigger height */
  color: #d8d8d8;
  opacity:.9;
  margin: 0 auto clamp(10px, 1vw, 14px);
  display:block;
}
.exp-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 3.3rem;
  line-height: 1.15;
  margin: 0 0 clamp(6px, .8vw, 10px);
  color: #f2f2f2;
}
.exp-sub{
  max-width: 930px;
  margin: 0 auto;
  font-weight: 35s0;
  font-size: 1.1rem;
  line-height: 1.5;
  color:#cfcfcf;
}

/* Grid of cards */
.exp-grid{
  display:grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;                 /* <- the only gap you'll see */
  justify-content: stretch !important;
  align-content: start !important;
  justify-items: stretch !important;
  align-items: stretch !important;
}

.exp-grid > *{
  margin: 0 !important;
  padding: 0 !important;                /* in case wrappers add inner gutters */
  width: 100% !important;
}

/* Card shell */
.exp-card {
  background: #0f0f0f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  display: grid;
  grid-template-rows: auto auto;
  width: 100%;
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    filter 0.25s ease;
}
.exp-card:hover {
  transform: translateY(-4px) scale(1.02); /* a little more lift + tiny scale */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.12),
    0 12px 28px rgba(0,0,0,.45),
    0 0 20px rgba(255,255,255,0.08); /* faint glow around card */
  filter: brightness(1.03); /* very subtle brightness bump */
}

@media (hover: hover) {
  .exp-card {
    transition: filter 0.5s ease-in-out, transform 0.3s ease;
  }

  /* Dim only non-hovered cards */
  .exp-grid:hover .exp-card:not(:hover) {
    filter: brightness(0.6);
  }

  /* Keep hovered card bright + optional slight lift */
  .exp-grid:hover .exp-card:hover {
    filter: brightness(1);
    transform: translateY(-2px);
  }
}

/* Card image */
.exp-img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 7 / 4;             /* keeps consistent height */
  object-fit: cover;
}

/* Card body */
.exp-body{
  padding: clamp(14px, 1.6vw, 20px);
  display:flex;
  flex-direction:column;
  gap: 6px;
}
.exp-body h3{
  font-weight:600;
  font-size: 1.66rem;
  margin:0 0 4px 0;
  color:#f0f0f0;
}
.exp-body p{
  margin:0 0 auto;
  color:#d1d1d1;
  line-height:1.55;
  font-size: 1rem;
}
.exp-cta{
  display:inline-flex;
  align-items:center;
  gap:.4em;
  text-decoration:none;
  color:#eaeaea;
  font-weight:600;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.2s ease, text-shadow 0.4s ease; /* longer & smoother */
}

.exp-cta:hover {
  color: #fff; 
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4),
               0 0 24px rgba(255, 255, 255, 0.2); /* layered soft glow */
}
.exp-cta .arrow{
  transition: transform .2s ease;
}
.exp-cta:hover .arrow{
  transform: translateX(3px);
}

/* Stack on small screens */
@media (max-width: 780px){
  .exp-grid{ grid-template-columns: 1fr; }
}


/* Optional: Adding focus styles to input for more visual feedback */
.search-input-wrapper input:focus {
  outline: none; /* Remove the default outline */
  border-color: rgba(255, 255, 255, 0.4); /* Light gray border on focus */
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: white;
}

.suggestion-list {
  position: absolute;
  top: 100%; /* ⬅ pushes it below the input */
  left: 0;
  z-index: 99;
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%; /* match width of input */
  display: none;
}

.suggestion-list li {
  padding: 10px 16px;
  cursor: pointer;
  color: #fff;
}

.suggestion-list li:hover {
  background-color: #333;
}

.pastor-section {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  max-width: 720px;
  margin: auto;
  color: #d1d1d1;
  font-family: 'DM Sans', sans-serif;
    transform: scale(1.6);
  transform-origin: top center; /* keep it anchored in place */
}

.pastor-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.pastor-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.pastor-image {
  width: 100%;
  height: 300px; /* adjust height as needed */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.pastor-section p {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #A8A8A8;
}

.pastor-buttons {
  display: flex;
  justify-content: center; /* centers horizontally */
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Base button */
.pastor-btn {
  position: relative;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #000;                 /* text stays black */

  /* gradient lives under a white mask */
  background-image: linear-gradient(270deg, #ff7b00, #ff3c00, #ff7b00);
  background-size: 200% 100%;
  background-position: 0% 50%;

  /* pre-wire the animation but keep it paused */
  animation: pastorGradient 3s linear infinite;
  animation-play-state: paused;

  overflow: hidden;            /* keep mask rounded */
}

/* white mask that hides the gradient until hover */
.pastor-btn {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 6rem; /* wider padding for longer look */
  min-width: 220px;       /* force a minimum width */
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;     /* center text inside */
  color: #000; /* always black */
  background: #fff; /* base white */
  overflow: hidden;
}

.pastor-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7b00, #ff3c00);
  opacity: 0; /* hidden initially */
  transition: opacity 0.6s ease;
  z-index: 0; /* behind the text */
}

.pastor-btn span {
  position: relative;
  z-index: 1; /* text always visible */
  color: #000; /* force black text */
}

.pastor-btn:hover::before {
  opacity: 1; /* fade gradient in smoothly */
}

/*-------*/ 

/* make the CTA break out of any parent grid/flex and center */
.visit-wrapper{
  grid-column: 1 / -1;          /* span all grid columns if inside a grid */
  width: min(100%, var(--content-max, 1150px));
  margin: clamp(24px, 4vw, 40px) auto 0;  /* center + spacing from previous */
  display: flex;
  justify-content: center;
}

.visit-section {
  background: #1a1a1a;
  border-radius: 22px;
  text-align: center;
  padding: clamp(28px, 5vw, 46px) clamp(22px, 4.5vw, 44px);
  max-width: 1000px; /* increase from 720px to 1000px or whatever matches Figma */
  width: 100%;

    /* scale magic */
  transform: scale(1.15); /* 1.0 = default size, 1.2 = 20% bigger */
  transform-origin: center;
}

.visit-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.visit-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0 0.25rem;
}

.visit-subtitle {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.visit-btn {
  display: inline-block;
  padding: 0.7rem 9rem;
  background: #fff;
  color: #000;
  font-weight: bold;
  font-family: 'DM Sans', sans-serif;
  border-radius: 999px;
  text-decoration: none;

  background-size: 200% auto;
  background-position: left center;

  transition: 
    background-position 0.6s ease-in, 
    background-color 0.6s ease-in, 
    color 0.6s ease-in, 
    box-shadow 0.6s ease-in;
}

.visit-btn:hover {
  background: linear-gradient(90deg, #ff7b00, #ff3c00);
  background-size: 200% auto;
  background-position: right center;
  color: #000;
  
  /* ease-out for hover-out smoothness */
  transition: 
    background-position 0.6s ease-out, 
    background-color 0.6s ease-out, 
    color 0.6s ease-out, 
    box-shadow 0.6s ease-out;
}


/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links li a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #fff;
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
  z-index: 1;
  top: 0;
  left: 0;
  pointer-events: none;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: white;
  background-color: rgba(0,0,0,0.5);
  border: none;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Hero Text Overlay */
.hero-text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  color: white;
  max-width: 90%;
  z-index: 5;
}
.hero-text h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 18px;
  margin-bottom: 25px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.btn {
  padding: 10px 20px;
  background-color: #ffffff11;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 27px;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none; /* Remove underline */
  transition: background 0.3s ease;
}
.btn.white {
  font-family: 'DM Sans', sans-serif;
  text-decoration: none; /* Remove underline */
  background-color: white;
  color: #000;
}
.btn:hover {
  background-color: #ffffff33;
  color: white;
}

/* Features Section */
.features {
  text-align: center;
  padding: 60px 30px;
  background-color: #0A0A0A;
}
.features h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.features p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  color: #ccc;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}
.feature-box h4 {
  margin-bottom: 10px;
}
.feature-box a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth color and transform transition */
}
.feature-box a:hover {
  color: #E74224; /* Set the color on hover (or any other color you prefer) */
  transform: scale(1.1); /* Optional: Slight zoom effect when hovering */
}

.worship-section {
    background-color: #11111100;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
    overflow: hidden;
  }
  
  .worship-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .worship-header p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    color: #ccc;
  }

    /*********************************/
  
.horizontal-scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vh;
  transform: rotate(-90deg) translate3d(0,-100vh,0);
  transform-origin: right top;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  height: 100vw;
  perspective: 1px;
	transform-style: preserve-3d;
  padding-bottom: 10rem;
}
.img-wrapper {
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  transform-origin: 50% 50%;
  transform: rotate(90deg) translateZ(.1px) scale(0.9) translateX(0px) translateY(-3vh);
  transition: 1s;
}

.img-wrapper:hover {
 min-height: 65vh;
}

.slower {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(-10vh);
}
.slower1 {
  transform: rotate(90deg) translateZ(-.25px) scale(1.05) translateX(0%) translateY(8vh);
}
.slower2 {
  transform: rotate(90deg) translateZ(-.3px) scale(1.3) translateX(0%) translateY(2vh);
}
.slower-down {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(16vh) ;
}
.faster {
  transform: rotate(90deg) translateZ(.15px) scale(0.8) translateX(0%) translateY(14vh) ;
}
.faster1 {
  transform: rotate(90deg) translateZ(.05px) scale(0.8) translateX(0%) translateY(10vh) ;
}
.fastest {
  transform: rotate(90deg) translateZ(.22px) scale(0.7) translateX(-10vh) translateY(-15vh) ;
}
.vertical {
   transform: rotate(90deg) translateZ(-.15px) scale(1.15) translateX(0%) translateY(0%) ;
}
.last {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(25vh) translateY(-8vh) ;
}

.scroll-info {
  top: 1rem;
}

a {
  color: inherit;
  font-weight: 500;
}

.img-wrapper a {
  overflow: hidden;
  display: block;
  padding: 0.5vh ;
  background: #ededed;
  box-shadow: 0 10px 50px #1f1f1f82;
}

a:hover img {
  filter: none;
}

.scroll-info {
  display: flex;
  align-items: center;
}
.icon svg {
    width: 50px;
    fill: currentcolor;
}
  
  /*********************************/


  /* Remove background from buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    line-height: 1;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  /* Smooth scroll and fade-in effect */
body {
  margin: 0;
  overflow-x: hidden; /* hides horizontal scroll only */
  overflow-y: auto;   /* allows vertical scrolling */
  font-family: sans-serif;
}

.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text animation when it appears */
.text-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

  