@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 */
}

/* 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;
}

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

.about-intro {
  /* background-color removed to inherit global background */
  color: #fff;
  padding: 5rem 1rem;
}

.about-intro .container {
  max-width: 900px;
  margin: 0 auto;
}

.about-intro h1 {
  font-size: 3.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem; /* reduced from default 1em */
  line-height: 1.4;       /* smaller than default 1.5 */
}

.about-intro .subtitle {
  margin-top: 0;          /* remove extra gap above */
}

.about-intro h1 span {
  color: #fff; /* Keep same color, emphasis is from font-weight */
}

.about-intro .subtitle {
  font-size: 1.45rem;
  font-weight: 600;
  color: #aaa;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.about-intro .description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
}
/* Intro About */

/* Intro Image */
.about-intro .about-img {
  width: 128%;
  height: auto;
  border-radius: 20px;
  margin-top: 1rem; /* small space from text */
  margin-left: -14%;
  display: flex;
}
/* Intro Image */
.contact-section {
  background: #0a0a0a;
  padding: 3rem 0;
}

.contact-container {
  max-width: 1200px; /* same width control as your design */
  margin: 0 auto; /* center the whole block on the page */
  padding: 0 2rem; /* consistent left/right padding */
}

.contact-heading {
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  margin-bottom: 0;        /* remove bottom margin completely */
  line-height: 1.05;       /* just enough so letters don’t touch */
}

.contact-subheading {
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-top: 0;           /* remove gap above subheading */
  margin-bottom: 2px;      /* tiny gap before divider */
  line-height: 1.2;        /* slightly tighter than normal */
}


.contact-divider {
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  margin: 0; /* aligns with the heading text */
}

.tight-break {
  display: block;
  height: 18px; /* super tight space */
}

.tight-break2 {
  display: block;
  height: 14px; /* super tight space */
}

.tight-break3 {
  display: block;
  height: 16px; /* super tight space */
}


/* About section */
/* How can we help */
.help-section {
  padding-block: clamp(18px, 3.5vw, 34px);
  transform: scale(1.02); /* 0.2x scale up */
}

.help-wrap {
  width: min(100%, var(--content-max, 1150px));
  margin: 0 auto;
  padding-inline: clamp(10px, 2vw, 14px);
}

.help-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 2.7rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px 0;
  color: #f4f4f4;
  text-align: left;
}

/* grid of cards */
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

/* single card */
.help-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #262626;
  border-radius: 14px;
  padding: 16px 16px; /* slightly taller */
  text-decoration: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    0 10px 24px rgba(0,0,0,.30);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    filter .22s ease,
    opacity .22s ease;
  transform: scale(1);
}

/* when grid is hovered, all cards dim */
.help-grid:hover .help-card {
  opacity: 0.6;
  filter: brightness(0.95);
  transform: scale(1);
}

/* hovered card overrides dim and scales up */
.help-grid:hover .help-card:hover {
  opacity: 1;
  filter: brightness(1.02);
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 14px 32px rgba(0,0,0,.40);
}

/* icon circle */
.help-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #d9d9d9;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
  display: grid;
  place-items: center;
  flex: 0 0 44px;
}

.help-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* text block */
.help-body {
  display: grid;
  gap: 4px;
}

.help-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  color: #f0f0f0;
  line-height: 1.2;
}

.help-sub {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: .92rem;
  color: #bdbdbd;
  line-height: 1.25;
}

/* stack on small screens */
@media (max-width: 820px) {
  .help-grid { grid-template-columns: 1fr; }
}


/* layout */
.prayer-section { padding: 14px 0 36px; }
.prayer-wrap {
  width: min(100%, var(--content-max, 1150px));
  margin: 0 auto;
  padding-inline: clamp(10px, 2vw, 20px);
}
.prayer-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #f3f3f3;
  text-align: left;
  margin: 0;
}
.spacer-xxs { height: 10px; }
.group-title {
  margin: 20px 0 10px;
  font: 700 1.5rem 'DM Sans', sans-serif;
  color: #d9d9d9;
}

/* form width */

  width: 100%; /* fill available width */

/* grid for first/last */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* field shell (uniform height, white smooth glow) */
.field {
  position: relative;
  border-radius: 13px;
  background: #0A0A0A;
  /* start with a faint glow so ease-in looks smooth */
  box-shadow:
    0 0 0 2px rgba(255,255,255,.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.field:focus-within {
  box-shadow:
    0 0 0 2px rgba(255,255,255,.55),
    inset 0 0 0 1px rgba(255,255,255,.18);
  transform: translateY(-1px);
}


/* inputs */
.field input,
.field select,
.field textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 52px; /* uniform height */
  border: 0;
  outline: 0;
  background: transparent;
  color: #eee;
  font: 500 1rem 'DM Sans', sans-serif;
  padding: 12px 14px; /* adjusted padding */
  border-radius: 12px;
  transition: color 0.3s ease, background 0.3s ease;
}
.field textarea {
  min-height: 140px;
  height: auto; /* let textarea grow */
  resize: vertical;
}
.field ::placeholder { color: #9f9f9f; }

/* Closed select styling */
.field select {
  background-color: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* Base select styling */
.field select {
  width: 100%;
  height: 52px;
  padding: 12px 42px 12px 14px;
  font: 500 1rem 'DM Sans', sans-serif;
  color: white;
  border: none;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.4); /* semi-transparent */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Style the closed select box */
.field select {
  background-color: #0A0A0A;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
}

/* Keep option text white (some browsers support this) */
.field select option {
  background-color: rgba(20, 20, 20, 0.85);
  color: #fff;
}


/* little helper text */
.hint {
  position: absolute;
  left: 14px;
  bottom: -18px;
  font: 500 .78rem 'DM Sans', sans-serif;
  color: #ff8b8b;
}

.custom-dropdown-options {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
}

/* submit button */
.submit-btn {
  margin-top: 16px;
  background: #fff;
  color: #000;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: 700 .95rem 'DM Sans', sans-serif;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.2s ease, background 0.4s ease;
}
.submit-btn:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 820px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* dark autofill fix */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: #eee;
  -webkit-box-shadow: 0 0 0px 1000px #141414 inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* same corner + hairline look as fields */
:root {
  --field-radius: 13px;
}

/* full-width, aligned with inputs because it's inside .prayer-form */
.cta2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  width: calc(65%);
  max-width: none;
  margin-left: 335px;
  margin-right: -160px;

  height: 110px; /* fixed height */
  padding: 22px 40px;

  color: #fff;
  background: #1a1a1a;
  border: 0;
  border-radius: 20px; /* or whatever you want */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 10px 24px rgba(0,0,0,.30);

  transform: scale(0.9); /* smaller */
  transform-origin: center;

  cursor: pointer;
  -webkit-tap-highlight-color: transparent;

  transition:
    box-shadow .45s cubic-bezier(.22,.61,.36,1),
    color      .45s cubic-bezier(.22,.61,.36,1);
}



/* gradient overlay that fades in (so it’s not abrupt) */
.cta2::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: linear-gradient(90deg,#ff7b00 0%,#ff3c00 100%);
  opacity: 0;                                   /* hidden by default */
  transition: opacity .50s cubic-bezier(.22,.61,.36,1);
  z-index: 0;
}

/* soft outer glow that also fades in */
.cta2::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(70% 90% at 50% 50%,
              rgba(255,120,0,.30), rgba(255,60,0,.18) 60%, transparent 80%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity .50s cubic-bezier(.22,.61,.36,1);
  z-index: 0;
}

/* content sits above the overlays */
.cta2 > *{ position: relative; z-index: 1; }

.cta2-label{
  font: 700 1.76rem/1 'DM Sans', sans-serif;
  letter-spacing: .2px;
}

/* small icon box on the right */
.cta2-icon{
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.10);
  transition: transform .45s cubic-bezier(.22,.61,.36,1),
              background .45s cubic-bezier(.22,.61,.36,1);
}

/* HOVER: full gradient, subtle lift, glow, bouncing icon (ease-in/out loop) */
.cta2:hover{
  transform: scale(0.9) translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 16px 36px rgba(0,0,0,.40);
}
.cta2:hover::before{ opacity: 1; }   /* gradient fades in */
.cta2:hover::after { opacity: .65; } /* glow fades in   */

.cta2:hover .cta2-icon{
  background: rgba(0,0,0,.12);
  animation: cta2-bounce 1.15s ease-in-out infinite;
}

/* very gentle bounce */
@keyframes cta2-bounce{
  0%,100%{ transform: translateY(0) }
  40%   { transform: translateY(-4px) }
}




/* 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);
}

  