/* =========================
   GLOBAL VARIABLES
========================= */

:root {
  --primary-blue: #2D89EF;
  --dark-blue: #256fc2;
  --hover-blue: #F39C12;
  --light-bg: #f8fbff;
  --soft-bg: #eef5fd;
  --dark-footer: #1f2d3d;
}



/* =========================
   TOP CONTACT BAR
========================= */

.top-contact-bar {
  background: var(--dark-blue);
  color: white;
  font-size: 14px;
}

.contact-items {
  padding: 6px 0;
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-items a {
  color: white;
  text-decoration: none;
}

.contact-items a:hover {
  opacity: 0.85;
}

.divider {
  opacity: 0.6;
}


/* =========================
   NAVBAR
========================= */

.custom-navbar {
  background-color: var(--primary-blue);
  padding: 16px 0;
  display: flex;
  align-items: center;
}

.custom-navbar .container {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.custom-navbar .navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.custom-navbar .navbar-nav .nav-link {
  color: white;
  font-size: 1rem;
  margin-left: 18px;
  position: relative;
  transition: color 0.25s ease;
}

.custom-navbar .navbar-nav .nav-link:hover {
  color: #e3f2fd;
}

.custom-navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.25s ease;
}

.custom-navbar .navbar-nav .nav-link:hover::after {
  width: 100%;
}

.custom-navbar .navbar-toggler-icon {
  filter: invert(1);
}


/* =========================
   HOME HERO
========================= */

.hero-section {
  position: relative;
  min-height: 45vh;
  background-image:
    linear-gradient(
      to right,
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.8)
    ),
    url('../images/HomeHero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 2.2rem;
}

.hero-section p {
  font-size: 1.1rem;
}


/* =========================
   FEATURES
========================= */

#features h2,
.section-title {
  color: var(--primary-blue);
  font-weight: 700;
}


/* =========================
   SUPPORT SECTION
========================= */

.support-section {
  padding: 60px 20px;
  background: var(--soft-bg);
}

.support-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.support-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.support-content h2 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 15px;
}

.support-content ul {
  padding-left: 20px;
  line-height: 1.8;
  font-size: 16px;
}


/* =========================
   MISSION SECTION
========================= */

.mission-section {
  padding: 50px 0;
  background: white;
}

.mission-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.mission-card img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  height: 240px;
}

.mission-card h2 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 12px;
}

.mission-card p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 12px;
}

.mission-btn,
.video-gallery-btn,
.application-btn,
.contact-btn {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.mission-btn:hover,
.video-gallery-btn:hover,
.application-btn:hover,
.contact-btn:hover {
  background: var(--hover-blue);
  color: white;
}


/* =========================
   SECTION CURVE
========================= */

.section-curve {
  line-height: 0;
  margin-bottom: -1px;
  background: transparent;
}

.section-curve svg {
  display: block;
  width: 100%;
  height: 110px;
}

.section-curve path{
  fill:#e9edf2;
}


/* =========================
   FEATURED VIDEO
========================= */

.featured-video {
  padding: 90px 0;
  background: #e9edf2;
}

.video-header h2 {
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 12px;
}

.video-header p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #666;
}

.video-badge {
  display: inline-block;
  background: var(--primary-blue);
  color: white;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.video-card {
  max-width: 900px;
  margin: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.15);
  background: white;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-gallery-btn {
  padding: 12px 28px;
  border-radius: 30px;
}


/* =========================
   APPLY PAGE
========================= */

.tour-hero {
  position: relative;
  min-height: 45vh;
  background-image:
    linear-gradient(
      to right,
      rgba(0,0,0,0.6),
      rgba(0,0,0,0.8)
    ),
    url('../images/ApplyHeroImage.JPG');
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.application-section {
  padding: 80px 20px;
  background-color: var(--light-bg);
}

.application-card {
  max-width: 750px;
  margin: auto;
  background: white;
  padding: 50px 40px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.application-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.application-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.application-btn {
  margin-top: 20px;
  padding: 14px 30px;
  border-radius: 6px;
}

.application-email {
  margin-top: 25px;
  font-size: 1.1rem;
}

.application-email a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
}

.application-email a:hover {
  text-decoration: underline;
}


/* =========================
   ABOUT PAGE
========================= */

.about-hero {
  height: 45vh;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('../images/JerryAndKaren.jpg') center/cover no-repeat;
}

.about-section {
  background: white;
}

.about-light {
  background: linear-gradient(
      180deg,
      #eef5fb 0%,
      #f7fafd 100%
  );
}

.about-light h2 {
  font-weight: 800;
  color: #1f2d3d;
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.about-light h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background: #267DC5;
  border-radius: 20px;
  margin: 14px auto 0;
}

.about-card,
.icon-box {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.about-card {
  padding: 30px;
}

.icon-box {
  background: white;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(38,125,197,0.08);
  border-top: 4px solid #267DC5;
  transition: all 0.3s ease;
}

.icon-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(38,125,197,0.15);
}

.icon-circle {
  width: 70px;
  height: 70px;
  background: #267DC5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(38,125,197,0.25);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   GALLERY PAGE
========================= */

.gallery-section {
  background: var(--light-bg);
  padding: 70px 0;
}

#galleryCarousel {
  max-width: 1100px;
  margin: 0 auto;
}

.carousel-inner {
  overflow: visible;
}

.carousel-item {
  transition: transform 0.6s ease;
}

.gallery-carousel-img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-item.active .gallery-carousel-img {
  transform: scale(1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.carousel-item-next .gallery-carousel-img,
.carousel-item-prev .gallery-carousel-img {
  transform: scale(0.92);
  opacity: 0.85;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.65);
  padding: 22px;
  border-radius: 50%;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.lightbox.show {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 85%;
  max-height: 85vh;
  border-radius: var(--radius-md);
}


/* =========================
   CONTACT PAGE
========================= */

.contact-hero {
  position: relative;
  min-height: 45vh;
  background-image:
    linear-gradient(
      to right,
      rgba(0,0,0,0.45),
      rgba(0,0,0,0.45)
    ),
    url('../images/contactHeader.jpeg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.contact-hero h1 {
  font-weight: 700;
}

.contact-section {
  padding: 80px 20px;
  background: var(--light-bg);
}

.contact-card {
  background: white;
  padding: 50px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.contact-info h4,
.contact-hours h4 {
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  font-size: 15px;
}

.contact-item i {
  color: var(--primary-blue);
  font-size: 18px;
}

.hours-card {
  background: var(--light-bg);
  border-radius: 14px;
  padding: 20px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row.closed {
  opacity: 0.6;
}

.contact-cta p {
  color: #666;
  margin-bottom: 15px;
}

.contact-btn {
  padding: 10px 20px;
  border-radius: 10px;
  margin-right: 10px;
}

.contact-btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 10px 20px;
  border-radius: 10px;
}

.contact-btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

.map-section {
  padding: 60px 20px;
  background: white;
}

.map-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}


/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--dark-footer);
  color: #d7dbe0;
  padding: 60px 0 25px;
}

.site-footer h5 {
  color: white;
  margin-bottom: 15px;
  font-weight: 600;
}

.site-footer p {
  font-size: 15px;
  line-height: 1.6;
}

.site-footer a {
  color: #9ecbff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: 0.25s;
}

.social-icons a:hover {
  background: var(--hover-blue);
}

.site-footer hr {
  border-color: rgba(255,255,255,0.1);
  margin: 40px 0 20px;
}

.footer-bottom {
  font-size: 14px;
  opacity: 0.7;
}


/* =========================
   RESPONSIVE STYLES
========================= */

@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--primary-blue);
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
  }

  .custom-navbar .navbar-nav .nav-link {
    margin-left: 0;
    padding: 10px 0;
  }

  .custom-navbar .navbar-nav .nav-link::after {
    display: none;
  }

  #galleryCarousel {
    max-width: 90%;
  }

  .gallery-carousel-img {
    height: 420px;
  }
}

@media (max-width: 768px) {
  .top-contact-bar {
    display: none;
  }


  .hero-section,
  .contact-hero,
  .tour-hero {
    min-height: 30vh;
  }

  .about-hero{
    height: 30vh;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }

  .support-card,
  .mission-card {
    padding: 25px;
    text-align: center;
  }

  .support-img {
    height: 200px;
    margin-bottom: 15px;
  }

  .support-content ul {
    list-style-position: inside;
    padding-left: 0;
  }

  .mission-card img {
    height: auto;
  }

  .contact-card,
  .application-card {
    padding: 30px 22px;
  }

  .hours-row {
    flex-direction: column;
    gap: 4px;
  }

  .contact-btn,
  .contact-btn-outline {
    width: 100%;
    margin: 0 0 10px 0;
  }
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 42px;
  }

  .gallery-carousel-img {
    height: 260px;
    border-radius: 12px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 16px;
  }

  .application-title {
    font-size: 1.6rem;
  }
}