/* CUSTOM PROPERTY */
:root {
  /* colors */
  --raw-seinna: hsla(24, 74%, 58%, 1);
  --sizzling-sunrise: hsl(51, 95%, 54%);
  --scarlet: hsla(13, 96%, 47%, 1);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);

  /* typography */

  --ff-saira-stencil-one: "Saira Stencil One", sans-serif;
  --ff-poppins: "Poppins", sans-serif;
  --ff-roboto: "Roboto", sans-serif;

  --fs-1: 1rem;
  --fs-2: calc(1.813rem + 1vw);
  --fs-3: calc(1.313rem + 1vw);
  --fs-4: 1.4rem;
  --fs-5: 1rem;
  --fs-6: 0.813rem;
  --fs-7: 0.75rem;

  --fw-400: 400;
  --fw-700: 700;

  /**
   * transition
   */

  --transition-1: 0.25s ease-in-out;

  /**
   * spacing
   */

  --section-padding: 80px;

  /**
   * radius
   */

  --radius-4: 4px;
  --radius-12: 12px;
}

/* THEME COLORS */
body.dark_theme {
  --bg-primary: hsl(0, 0%, 12%);
  --bg-secondary: hsl(0, 0%, 19%);
  --color-primary: hsl(0, 0%, 100%);
  --color-secondary: hsl(0, 0%, 62%);
  --card-shadow: hsla(0, 0%, 0%, 0.4);
  --input-bg: hsl(0, 0%, 16%);

  --shadow-1: 10px 10px 40px var(--card-shadow);
}

body.light_theme {
  --bg-primary: hsl(0, 0%, 90%);
  --bg-secondary: hsl(0, 0%, 100%);
  --color-primary: hsl(0, 0%, 12%);
  --color-secondary: hsl(0, 0%, 37%);
  --card-shadow: hsla(0, 0%, 0%, 0.1);
  --input-bg: hsl(0, 0%, 93%);

  --shadow-1: 10px 10px 40px var(--card-shadow);
}

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

a,
img,
time,
span,
input,
label,
select,
button,
textarea,
ion-icon {
  display: block;
}

input,
button,
select,
textarea {
  background: none;
  border: none;
  font: inherit;
}

button,
select {
  cursor: pointer;
}

input,
textarea {
  width: 100%;
}

ion-icon {
  pointer-events: none;
}

:is(a, button, select) {
  outline-color: var(--scarlet);
  outline-offset: 3px;
}

::selection {
  background: var(--color-primary);
  color: var(--bg-primary);
}

html {
  font-family: var(--ff-roboto);
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  transition: var(--transition-1);
  /* height: 200vh; */
}

body.active {
  overflow: hidden;
}

/* REUSED STYLE */
.container {
  padding-inline: 10px;
}

.h1 {
  font-size: var(--fs-1);
  line-height: 1.2;
  font-weight: 400;
}

.h2,
.h3,
.h4 {
  color: var(--color-primary);
  font-family: var(--ff-poppins);
  line-height: 1.2;
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
}

.h4 {
  font-size: var(--fs-5);
}

.hero-content p {
  font-size: var(--fs-5);
  color: var(--color-primary);
}

.w-100 {
  width: 100%;
}

.btn {
  max-width: max-content;
  color: var(--color-primary);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius-4);
  transition: var(--transition-1);
}

.btn-primary {
  border-color: var(--color-primary);
}

.btn-primary:is(:hover, :focus) {
  background: var(--color-primary);
  color: var(--bg-primary);
}

.btn-secondary {
  background: var(--raw-seinna);
  border-color: var(--raw-seinna);
  color: var(--black);
}

.btn-secondary:is(:hover, :focus) {
  --raw-seinna: hsl(24, 74%, 64%);
}

.hero-content .btn {
  display: inline-block;
  margin: 20px auto 0;
}

.section-subtitle {
  position: relative;
  color: var(--color-secondary);
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
}

.section-title {
  max-width: 350px;
  margin-bottom: 30px;
}

.section-text {
  color: var(--color-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
}

.tooltip {
  position: absolute;
  top: -40px;
  background: var(--raw-seinna);
  min-width: max-content;
  color: var(--white);
  font-size: 15px;
  font-weight: var(--fw-700);
  padding: 5px 10px;
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-1);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-1);
  z-index: 1;
}

/* HEADER */
.header {
  padding-block: 15px;
  padding-bottom: 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: var(--transition-1);
  z-index: 4;
}

.header.active {
  padding-block: 12px;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.logo {
  position: relative;
  min-width: 40px;
  z-index: 2;
}

.logo img {
  color: var(--color-primary);
  font-family: var(--ff-saira-stencil-one);
  width: 55px;
  height: 55px;
}

.logo span {
  display: inline-block;
  color: var(--raw-seinna);
  margin-left: 2px;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}

.navbar-actions select {
  color: var(--color-primary);
  width: 45px;
}

.navbar-actions option {
  background: var(--bg-primary);
  color: var(--color-primary);
}

.theme-btn {
  padding: 4px;
  width: 48px;
  background: var(--bg-secondary);
  border-radius: 100px;
  transition: var(--transition-1);
}

.header.active .theme-btn {
  background: var(--bg-primary);
}

.theme-btn .icon {
  position: relative;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50px;
  box-shadow: inset 9px -6px var(--color-primary);
  transition: var(--transition-1);
}

.theme-btn.active .icon {
  left: 20px;
  box-shadow: inset 20px -20px var(--sizzling-sunrise);
}

.nav-toggle-btn {
  position: relative;
  transform: rotate(-55deg);
  transition: var(--transition-1);
  z-index: 2;
}

.nav-toggle-btn.active {
  transform: rotate(-45deg);
}

.nav-toggle-btn span {
  width: 20px;
  height: 2px;
  background: var(--color-primary);
  margin: 5px;
  transition: var(--transition-1);
}

.nav-toggle-btn :is(.one, .three) {
  width: 10px;
}

.nav-toggle-btn .one {
  margin-left: auto;
  transform-origin: left;
}

.nav-toggle-btn .three {
  transform-origin: right;
}

.nav-toggle-btn.active .one {
  transform: rotate(90deg) translateX(-3px);
}

.nav-toggle-btn.active .three {
  transform: rotate(90deg) translateX(3px);
}

.navbar {
  position: fixed;
  background: var(--bg-secondary);
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  visibility: hidden;
  transition: 0.75s cubic-bezier(0.71, 0.01, 0.24, 0.99);
  transition-delay: 0.5s;
  z-index: 1;
}

.navbar.active {
  top: 0;
  visibility: visible;
  transition-delay: 0s;
}

.navbar-list > li {
  margin-block: 20px;
  padding-inline: 50px;
  overflow: hidden;
}

.navbar-link {
  position: relative;
  width: max-content;
  margin-inline: auto;
  color: var(--color-primary);
  font-family: var(--ff-poppins);
  font-size: var(--fs-1);
  padding: 7px;
  transform: translateY(50px);
  transition: 0.75s cubic-bezier(0.68, -0.55, 0.27, 2);
}

.navbar.active .navbar-link {
  transform: translateY(0);
  transition-delay: 0.5s;
}

.navbar-link::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  height: 4px;
  width: 0;
  background: var(--raw-seinna);
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus)::before {
  width: 100%;
}

/* Page Title */
section.page-title {
  position: relative;
  width: 100vw; /* full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-block: var(--section-padding);
  background: url("/assets/images/stats-bg-3.jpg") no-repeat center center/cover;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 0;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* optional: overlay tint */
  z-index: -1;
}

/* HERO */
main {
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 115px;
  margin-bottom: var(--section-padding);
}

.hero-banner {
  max-width: 500px;
  width: 125%;
  margin-bottom: 30px;
}

:is(.hero-social-list, .scroll-down) {
  display: none;
}

.hero-content {
  max-width: 450px;
  padding: 15px;
  text-align: center;
}

.hero-title {
  text-align: center;
  margin-bottom: 30px;
}

.hero-content .hero-text {
  padding-bottom: 15px;
}

.hero-h2-booking {
  color: var(--color-primary);
  font-family: var(--ff-poppins);
  line-height: 1.2;
}

/* STATS */
section.stats {
  position: relative;
  width: 100vw; /* full viewport width */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-block: var(--section-padding);
  background: url("/assets/images/stats-bg-3.jpg") no-repeat center center/cover;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 0;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* optional: overlay tint */
  z-index: -1;
}

.stats-list {
  display: grid;
  gap: 30px;
  max-width: 1200px; /* keeps cards nicely centered */
  margin-inline: auto;
  padding-inline: 20px;
}

.stats-card {
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 25px;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
}

.stats-card:is(:hover, :focus) {
  transform: translateY(-5px);
}

.stats-card .card-icon {
  background: var(--raw-seinna);
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.stats-card .card-icon img {
  width: 70%;
  filter: invert(1);
}

.stats-card .card-title {
  width: calc(100% - 95px);
  color: var(--raw-seinna);
  text-align: center;
  font-size: 10px;
}

.stats-card .card-title strong {
  display: block;
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1.3;
  margin-top: 5px;
}

.stats-card > ion-icon {
  color: var(--color-secondary);
}

/* ABOUT */
.about {
  position: relative;
  width: 100vw; /* stretch full viewport width */
  top: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw; /* override container padding */
  margin-right: -50vw;
  overflow: hidden;
  min-height: 100vh;
  padding-block: var(--section-padding);
  padding-left: 20px;
  padding-right: 20px;
}

/* Full-width background video */
.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.3);
}

/* Optional overlay for extra dark effect */
.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Content should appear above video */
.about .container,
.about-banner,
.about-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

/* Banner styling */
.about-banner {
  max-width: 400px;
  margin-inline: auto;
  margin-bottom: 80px;
}

.about-banner img {
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
}

.about-banner img:is(:hover, :focus) {
  transform: translateY(-5px);
}

/* Button styling */
.about .btn {
  max-width: unset;
  width: 100%;
}

.about .btn-secondary {
  margin-bottom: 10px;
}

/* BIOGRAPHY OF LEADERS */
.project {
  padding-block: var(--section-padding);
}

.project-list > li {
  margin-bottom: 25px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-12);
  box-shadow: 2px 4px 6px hsla(0, 0%, 0%, 0.2);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: var(--transition-1);
}

.project-card:is(:hover, :focus)::after {
  background: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(0.5px);
}

.project-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
}

.project-card .card-title {
  margin-bottom: 10px;
}

.project-card :is(.card-title, .publish-date) {
  background: var(--bg-primary);
  padding: 6px 12px;
  width: max-content;
  box-shadow: var(--shadow-1);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-1);
}

.project-card .publish-date {
  font-size: var(--fs-6);
  color: var(--color-primary);
  transition-delay: 0s;
}

.project-card:is(:hover, :focus) :is(.card-title, .publish-date) {
  transform: translateY(0);
  opacity: 1;
}

.project-card:is(:hover, :focus) .publish-date {
  transition-delay: 0.1s;
}

.load-more {
  font-size: var(--fs-4);
  color: var(--raw-seinna);
  text-decoration: underline;
  margin-inline: auto;
}

/* QUOTE 1 */
/* QUOTE 1 */
.quote {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  min-height: 80vh; /* fills most of viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("/assets/images/quote-img-1.jpg") no-repeat center
    center/cover;
  box-sizing: border-box;
  overflow: hidden;
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}
.quote-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 800px;
  padding: 0 20px;
}
.quote-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}
.quote-subtitle {
  margin-top: 15px;
  font-style: italic;
  color: var(--raw-seinna, #ff7b00);
  font-weight: 500;
  letter-spacing: 1px;
}

/* BOOKINGS */
.contact {
  padding-block: var(--section-padding);
}

.contact-content {
  margin-bottom: 50px;
}

.contact-list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-item-icon {
  font-size: 25px;
  color: var(--color-primary);
}

.contact-item-icon ion-icon {
  --ionicon-stroke-width: 40px;
}

.contact-item-title {
  margin-bottom: 10px;
}

.contact-list-item .contact-info {
  color: var(--color-secondary);
  font-style: normal;
  line-height: 1.6;
  transition: var(--transition-1);
}

.contact-info:not(address):is(:hover, :focus) {
  color: var(--color-primary);
}

.contact-social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-inline: 40px;
}

.contact-social-link {
  position: relative;
  background: var(--color-primary);
  color: var(--bg-primary);
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: var(--transition-1);
}

.contact-social-link:is(:hover, :focus) {
  background: var(--raw-seinna);
  color: var(--white);
}

.contact-social-link:is(:hover, :focus) .tooltip {
  transform: translateY(0);
  opacity: 1;
}

.contact-form {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-1);
}

.form-wrapper {
  margin-bottom: 25px;
}

.form-label {
  color: var(--color-primary);
  font-size: var(--fs-7);
  font-family: var(--ff-poppins);
  margin-bottom: 8px;
  margin-left: 5px;
}

.input-wrapper {
  position: relative;
}

.input-field {
  background: var(--input-bg);
  color: var(--raw-seinna);
  padding: 10px;
  padding-left: 40px;
  border-radius: var(--radius-12);
  transition: var(--transition-1);
}

.input-wrapper ion-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  color: var(--color-secondary);
  font-size: 20px;
  transition: var(--transition-1);
}

.input-wrapper select.input-field {
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

/* Center align select options */
select.input-field {
  text-align: center;
  text-align-last: center;
}

/* For WebKit browsers (Chrome, Safari, mobile) */
select.input-field option {
  text-align: center;
}

/* For Firefox */
@-moz-document url-prefix() {
  select.input-field {
    text-align-last: center;
  }
}

/* Optional: remove default padding to make text truly centered */
select.input-field,
select.input-field option {
  padding-left: 0;
  padding-right: 0;
}

textarea.input-field {
  min-height: 60px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
}

.input-field:focus {
  outline: 1px solid;
}

.input-field:focus + ion-icon {
  color: var(--raw-seinna);
}

.contact .btn-primary {
  max-width: unset;
  width: 100%;
  background: var(--color-primary);
  color: var(--bg-primary);
}

/* TESTIMONIAL */
.testimonials {
  padding: 2rem 1rem;
  background: var(--bg-primary);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-secondary);
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
  border-radius: var(--radius-12);
  box-shadow: 2px 4px 6px hsla(0, 0%, 0%, 0.2);
}

/* .testimonial-card:hover {
  transform: translateY(-5px);
} */

.testimonial-card::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  transition: var(--transition-1);
}

.testimonial-card:is(:hover, :focus)::after {
  background: hsla(0, 0%, 100%, 0.1);
  backdrop-filter: blur(0.5px);
}

.testimonial-card .testimonial-content {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
}

.testimonial-card .testimonial-title {
  padding: 10px 0;
}

.testimonial-card :is(.testimonial-title, .publish-date) {
  background: var(--bg-primary);
  padding: 6px 12px;
  width: max-content;
  box-shadow: var(--shadow-1);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-1);
}

.testimonial-card .publish-date {
  font-size: var(--fs-6);
  color: var(--color-primary);
  transition-delay: 0s;
}

.testimonial-card:is(:hover, :focus) :is(.testimonial-title, .publish-date) {
  transform: translateY(0);
  opacity: 1;
}

.testimonial-card:is(:hover, :focus) .publish-date {
  transition-delay: 0.1s;
}

.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-wrapper:hover .play-overlay {
  opacity: 1;
}

.play-overlay ion-icon {
  font-size: 3rem;
  color: #fff;
}

.testimonial-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.2rem;
  color: var(--white);
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1rem;
  padding: 0 1rem;
}

/* === Fullscreen Video Modal === */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
  animation: zoomIn 0.4s ease;
}

.modal-content {
  position: relative;
  max-width: 90%;
  width: 800px;
}

.modal-content video {
  width: 100%;
  border-radius: 12px;
}

.close-modal {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* Sermon Section */
.container1 {
  justify-content: center; /* centers horizontally */
  align-items: center; /* centers vertically */
  min-height: 100vh; /* full viewport height */
  padding-top: 100px;
}

.container1:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
}

.container2 {
  background-color: var(--bg-secondary);
  height: 700px;
  width: 350px;
  margin: 100px auto; /* centers horizontally + adds top spacing */

  flex-direction: column;
  align-items: center;

  border-radius: var(--radius-12);
  box-shadow: var(--shadow-1);
  transition: all 0.5s ease;
}

.container2:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.player-img {
  width: 220px;
  height: 220px;
  position: relative;
  top: -50px;
  left: 50px;
}

.player-img img {
  object-fit: cover;
  border-radius: 20px;
  height: 0;
  width: 0;
  opacity: 0;
  box-shadow: 0 5px 30px 5px rgba(0, 0, 0, 0.3);
}

.player-img:hover img {
  box-shadow: 0 5px 30px 5px rgba(0, 0, 0, 0.6);
}

.player-img img.activeee {
  width: 100%;
  height: 100%;
  transition: all 0.5s;
  opacity: 1;
}

.music-title {
  font-size: 25px;
  text-align: center;
  font-weight: 800;
  margin: 10px 0 0;
}

.music-artist {
  font-size: 18px;
  text-align: center;
  font-weight: 300;
  margin: 10px 0 20px;
}

.player-progress {
  background-color: #fff;
  border-radius: 5px;
  cursor: pointer;
  height: 6px;
  margin: 40px 20px 35px;
  width: 90%;
}

.progress {
  background-color: #212121;
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

.music-duration {
  position: relative;
  top: -25px;
  display: flex;
  justify-content: space-between;
}

.player-controls {
  position: relative;
  top: 0;
  display: flex;
  justify-content: center;
  left: 75px;
  width: 200px;
}

.fa-solid {
  font-size: 30px;
  color: var(--raw-seinna);
  margin-right: 30px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.fa-solid:hover {
  filter: brightness(40%);
}

.play-button {
  font-size: 44px;
  position: relative;
  top: -6px;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* music */
.music-player-container {
  text-align: center;
  width: 100%;
  max-width: 350px;
  margin: auto;
  padding: 20px;
}

.music-cover {
  width: 100%;
  height: 400px;
  border-radius: 15px;
  margin-bottom: 50px;
}

.music-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.control-btn {
  font-size: 40px;
  cursor: pointer;
  pointer-events: auto;
}

.play-btn {
  font-size: 60px;
}

.player-progress {
  width: 100%;
  height: 8px;
  background: #d8d8d8;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 0;
}

.progress {
  height: 8px;
  background: #4caf50;
  border-radius: 4px;
  width: 0%;
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 5px;
}

#music-title {
  margin-top: 30px;
}

#music-artist {
  margin-bottom: 45px;
}

/* form notification */
#form-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #f0f9f0; /* light green for success */
  color: #0f7b0f;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 1000;
}

#form-message.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#form-message.error {
  background-color: #fdecea;
  color: #b00020;
}

/* FOOTER */
.footer {
  background: var(--bg-secondary);
  padding-block: 20px;
  text-align: center;
  box-shadow: var(--shadow-1);
  border-radius: var(--radius-12);
}

.footer .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.footer .logo img {
  display: block;
  margin: 0 auto;
  max-width: 100px; /* optional: controls logo size */
  height: auto;
}

.footer .logo {
  margin-bottom: 15px;
}

.copyright {
  color: var(--color-secondary);
  line-height: 1.6;
}

.copyright a {
  display: inline-block;
  color: var(--raw-seinna);
}

/* Animation */
.autoShow {
  animation: text-appear both;
  animation-timeline: view();
  animation-range: entry 20% cover 100vh;
}

@keyframes text-appear {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* GO TO TOP */
.go-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition-1);
  z-index: 2;
}

.go-top.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* 
CRUSADES SECTION
=================
*/

.crusades_container {
  position: relative;
  max-width: 1350px;
  width: 100%;
  padding: 20px;
  margin: auto;
}

.filter_buttons {
  display: flex;
  gap: 12px; /* Adds space between buttons */
  flex-wrap: wrap; /* Optional: allows wrapping on smaller screens */
  justify-content: center; /* Optional: centers buttons horizontally */
  margin-top: 28px;
}

.crusades_filter {
  padding: 10px 20px;
  font-size: 16px;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

button.activee {
  background: var(--raw-seinna);
  color: var(--white);
}

.filterable_card {
  display: flex;
  margin-top: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.image_card {
  flex-grow: 1;
  flex-basis: 300px;
  background-color: #fff;
  padding: 3px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.image_card.hide {
  display: none;
}

.image_card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.card_body {
  padding: 5px;
}

.card_title {
  font-size: 20px;
  font-weight: 800;
  color: var(--raw-seinna);
}

.card_text {
  font-size: 16px;
  color: var(--color-secondary);
}

.card_link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ----------------------------- */
/*   CLEAN GALLERY (NO CONFLICT) */
/* ----------------------------- */

.ghr-gallery-section {
  padding: 40px 20px;
}

.ghr-gallery-container {
  max-width: 1350px;
  margin: auto;
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ghr-gallery-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ghr-gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.ghr-gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* LIGHTBOX (fullscreen image zoom) */
.ghr-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.ghr-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.ghr-lightbox-close {
  position: absolute;
  top: 40px;
  right: 50px;
  font-size: 55px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s ease;
}

.ghr-lightbox-close:hover {
  color: #f77;
}

/* Back button */
.ghr-back-btn {
  width: 100%;
  padding: 20px 30px 0;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff20;
  color: #fff;
  padding: 10px 18px;
  font-size: 15px;
  border: 2px solid #fff;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.back-btn ion-icon {
  font-size: 20px;
}

.back-btn:hover {
  background: #ffffff40;
  transform: scale(1.05);
}

/* MEDIA QUERY */
/**
 * responsive for larger than 550px screen
 */

@media (min-width: 550px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 550px;
    margin-inline: auto;
  }

  .section-title {
    max-width: 380px;
  }

  /**
   * PROJECT
   */

  .project-list {
    column-count: 2;
    column-gap: 25px;
  }

  .project-list > li:first-child {
    column-span: all;
  }

  .quote-title {
    color: var(--secondary);
  }
}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  .section-title {
    max-width: 430px;
  }

  /**
   * STATS
   */

  .stats-list {
    grid-template-columns: 1fr 1fr;
  }

  /**
   * ABOUT
   */

  .btn-group {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }

  .about .btn {
    max-width: max-content;
  }

  .about .btn-secondary {
    margin-bottom: 0;
  }

  /**
   * CONTACT
   */

  .contact-form {
    max-width: 450px;
    margin-inline: auto;
  }

  /**
   * TESTIMONIAL
   */

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    padding-left: 15px;
  }

  .section-text {
    padding-left: 15px;
  }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-2: 3rem;

    /**
     * spacing
     */

    --section-padding: 100px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1150px;
  }

  .section-content {
    position: relative;
    padding-left: 40px;
  }

  .section-subtitle {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(0.75turn) translateX(-100%);
    transform-origin: left top;
    margin-bottom: 0;
  }

  .section-subtitle::after {
    top: 8px;
    left: auto;
    right: calc(100% + 20px);
  }

  /**
   * HEADER
   */

  .header {
    padding-block: 30px;
  }

  .header.active {
    padding-block: 15px;
  }

  .navbar-actions {
    order: 1;
    margin-left: 0;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar {
    all: unset;
  }

  .navbar-link {
    transform: translateY(0);
    font-size: 13.5px;
    padding-inline: 5px;
  }

  .navbar-list > li {
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .navbar-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .navbar-link::before {
    height: 2px;
  }

  /** 
  * Page Title
  */
  .hero-title {
    padding-top: 0 !important;
  }

  .container1 #stats .hero-title {
    padding-top: 0 !important;
  }

  .container1 {
    padding: 0 !important;
    margin: 0 !important;
  }

  /**
   * HERO
   */

  .hero {
    position: relative;
    padding-top: 25px;
    height: 100vh;
  }

  .hero-banner {
    max-width: unset;
    height: 100%;
    margin-bottom: 0;
  }

  .hero img {
    height: 100%;
    width: auto;
    margin-inline: auto;
  }

  .hero-content {
    --color-primary: var(--white);

    position: absolute;
    top: 50%;
    filter: drop-shadow(2px 4px 10px var(--black));
  }

  .hero .btn-primary:is(:hover, :focus) {
    color: hsl(0, 0%, 12%);
  }

  .hero-social-list {
    display: block;
    position: absolute;
    bottom: 92px;
    left: -30px;
  }

  .hero-social-list::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 13px;
    width: 2px;
    height: 30px;
    background: var(--color-secondary);
  }

  .hero-social-link {
    position: relative;
    color: var(--color-secondary);
    margin-block: 5px;
    padding: 5px;
    font-size: 18px;
    transition: var(--transition-1);
  }

  .hero-social-link:is(:hover, :focus) {
    color: var(--color-primary);
  }

  .hero-social-link .tooltip {
    --trans-x: 10px;

    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(var(--trans-x));
  }

  .hero-social-link:is(:hover, :focus) .tooltip {
    --trans-x: 0;
    opacity: 1;
  }

  .scroll-down {
    display: block;
    position: absolute;
    bottom: 80px;
    right: -30px;
    color: var(--color-secondary);
    font-size: 1.125rem;
    text-transform: uppercase;
    transform: rotate(90deg);
    transform-origin: top right;
  }

  .scroll-down::after {
    content: "";
    position: absolute;
    top: 8px;
    right: -50px;
    width: 30px;
    height: 2px;
    background: var(--color-secondary);
  }

  /**
   * STATS
   */

  .stats-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-card {
    height: 100%;
  }

  /**
   * ABOUT
   */

  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner {
    margin-bottom: 0;
  }

  /**
   * SKILLS
   */

  .skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }

  .skills-content {
    margin-bottom: 0;
  }

  .skills-toggle {
    margin-inline: 0;
  }

  /**
   * PROJECT
   */

  .project-list {
    column-count: 3;
  }

  .project-list > li:first-child {
    column-span: unset;
    margin: 25px;
    margin-left: 0;
  }

  /**
   * CONTACT
   */

  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .contact-content {
    margin-bottom: 0;
  }

  .contact-form {
    width: 100%;
  }

  .contact-list {
    margin-left: -40px;
  }

  /** 
   * CRUSADES SECTION
   */
  .filterable_card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  /**
   * FOOTER
   */

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer .logo {
    margin-bottom: 0;
  }
}

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1150px;
  }

  .section-title {
    max-width: 460px;
  }

  .navbar-link {
    font-size: unset;
  }

  /**
   * HERO
   */

  .hero-social-list {
    left: -80px;
  }

  .scroll-down {
    right: -80px;
  }

  /**
   * ABOUT
   */

  .about-banner {
    max-width: 450px;
  }
}
