h1 {
  font-size: 3rem;
  line-height: 3.5rem;
  font-weight: 600;
}
h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: #302e2b;
}

h4 {
  text-transform: capitalize;
  font-weight: 400 !important;
}

p {
  color: #302e2b;
}

/* New styles for categories */
.categories-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.category-item {
  padding: 15px;
  margin-bottom: 30px;
  position: relative;
}

.category-item .vc_column-inner {
  position: relative;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.category-item .column-image-bg-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.category-item .column-image-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
}

.category-item .column-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.5;
  z-index: 2;
  transition: all 0.3s ease;
}

.category-item:hover .column-overlay {
  background-color: #3e9b55;
  opacity: 0.5;
}

.category-item .wpb_wrapper {
  position: relative;
  z-index: 3;
  padding: 30px;
}

.category-item h3 {
  font-size: 28px;
  line-height: 1.2;
  text-transform: capitalize;
}

.category-item p {
  margin-bottom: 0;
}

.divider {
  width: 100%;
  height: 100px;
  display: block;
}

.nectar-button {
  border-radius: 0.5rem !important;
}

.nectar-button.large.see-through {
  border-radius: 0.5rem !important;
}

body .nectar-button:hover,
body .nectar-button.regular-button:hover,
body .nectar-button.accent-color:hover {
  background-color: #266041 !important;
  opacity: 1 !important;
}

.wrapper-footer h6 {
  color: #fff;
}

.wrapper-footer ul {
  margin-left: 0 !important;
}

.nectar-list-item {
  color: #302e2b;
}

/* Day in the Life Videos Styles */
.day-in-life-videos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.video-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1.5rem;
}

.single-video-row {
  justify-content: center;
}

.single-video-row .video-item {
  max-width: 600px;
}

.two-video-row {
  justify-content: center;
}

.three-video-row {
  justify-content: space-between;
}

.video-item {
  flex: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
  min-width: 0; /* Allows flex items to shrink below content size */
  max-width: 400px; /* Consistent maximum size for all videos */
}

.video-item:hover {
  transform: translateY(-5px);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /* border-radius: 8px; */
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #666;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-item:hover .video-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333;
  transition: all 0.3s ease;
}

.video-item:hover .play-button {
  background: #3e9b55;
  color: white;
  transform: scale(1.1);
}

.video-title {
  text-transform: capitalize;
  margin-top: 1rem;
  font-weight: 600;
  text-align: center;
}

/* Lightbox Styles */
.video-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.video-lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  width: 90vw;
  height: 80vh;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox-video-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: #3e9b55;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .video-item {
    max-width: 100%;
    width: 100%;
  }

  .single-video-row .video-item {
    max-width: 100%; /* Full width on mobile */
  }

  .video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .lightbox-content {
    width: 95vw;
    height: 70vh;
    max-width: 95vw;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #lightbox-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-close {
    top: -35px;
    font-size: 1.5rem;
  }
}
