/* --- About Section Enhancements --- */

/* Base card styling and smooth transition */
.jumbotron-white .card {
  border: none;
  border-radius: 12px;
  background: #ffffff;
  padding: 35px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
}

/* Hover effect: Lift card up and deepen shadow */
.jumbotron-white .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(131, 104, 41, 0.12);
}

/* Icon pulse/zoom effect on card hover */
.jumbotron-white .card:hover img {
  transform: scale(1.1);
}

/* Smooth transition for the card icons */
.jumbotron-white .card img {
  transition: transform 0.3s ease;
}

/* Featured/Middle Card Accent (Optional highlight) */
.jumbotron-white .card.featured-card {
  border-top: 4px solid #836829;
}


/* Option 1 Styles */
.opt1-card {
  border: none;
  border-radius: 12px;
  background: #ffffff;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  border-top: 4px solid #e0e0e0;
}

.opt1-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(131, 104, 41, 0.15);
  border-top-color: #836829; /* Highlights gold brand color on hover */
}

.opt1-card img {
  transition: transform 0.3s ease;
}

.opt1-card:hover img {
  transform: scale(1.12) rotate(3deg);
}

/* Option 1 Styles */
.opt1-card {
  border: none;
  border-radius: 12px;
  background: #ffffff;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  border-top: 4px solid #e0e0e0;
}

.opt1-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(131, 104, 41, 0.15);
  border-top-color: #836829;
}

.opt1-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.opt1-card:hover i {
  transform: scale(1.15);
  color: #836829 !important;
}

/* --- Recent Posts Section Styles --- */
.recent-post-card {
  border: none;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recent-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(131, 104, 41, 0.12);
}

.recent-post-img-wrapper {
  overflow: hidden;
  height: 200px;
}

.recent-post-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.recent-post-card:hover .recent-post-img-wrapper img {
  transform: scale(1.08);
}

.recent-post-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recent-post-date {
  font-family: 'barlow', sans-serif;
  font-size: 12px;
  color: #836829;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}

.recent-post-title {
  font-family: 'El Messiri', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000 !important;
  margin-bottom: 12px;
  line-height: 1.4em;
}

.recent-post-text {
  font-family: 'barlow', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.recent-post-link {
  font-family: 'barlow', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #836829;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.recent-post-link:hover {
  color: #000;
  text-decoration: underline;
}


.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    animation: none;
  }

  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    animation: slowZoom 8s infinite alternate ease-in-out;
  }

  @keyframes slowZoom {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(1.08);
    }
  }

  .hero-learn-btn:hover {
    background: #836829 !important;
    border-color: #836829 !important;
    color: #fff !important;
  }

  

  .custom-menu-link {
    transition: color 0.2s ease-in-out;
  }
  .custom-menu-link:hover {
    color: #FAB82C !important;
  }
  .custom-drop-item:hover {
    background: #2b2210 !important;
    color: #FAB82C !important;
  }
  .dropdown-menu {
    margin-top: 10px !important;
  }