/* Navbar Styles */
body {
  background-color: #fdf6ee;
}

/* Navbar Styles */
.navbar {
  background-color: white;
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
.navbar-brand img {
  height: 35px;
}

.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #2277c9;
}

.register-btn {
  background-color: #2277c9;
  color: white !important;
  border-radius: 5px;
  padding: 8px 20px !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.register-btn:hover {
  background-color: #1a5fa0;
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  color: #2277c9;
}

/* Photos Slideshow Section */
.photos-slideshow-section {
  background-color: #f8f9fa;
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  color: #2277c9;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.main-slideshow {
  position: relative;
  width: 100%;
  height: 800px; /* Increased height for larger image */
  overflow: hidden;
}

/* Force the owl-carousel to take full width */
.photo-carousel {
  width: 100% !important;
  height: 100% !important;
}

.owl-carousel .owl-stage-outer,
.owl-carousel .owl-stage,
.owl-carousel .owl-item {
  width: 100% !important;
  height: 100% !important;
}

/* Fix for owl-carousel display */
.owl-carousel {
  display: block !important;
}

.owl-carousel .owl-stage {
  display: flex !important;
  width: 100% !important;
}

.owl-carousel .owl-item {
  flex: 0 0 100% !important;
  float: none !important;
  display: block !important;
}

.slideshow-item {
  position: relative;
  height: 800px; /* Match the main-slideshow height */
  width: 100%;
}

.slideshow-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* Center the image */
}

.slideshow-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(34, 119, 201, 0.8);
  color: white;
  padding: 40px; /* Increased padding */
  text-align: center;
}

.slideshow-caption h3 {
  font-size: 3rem; /* Increased font size */
  font-weight: 700;
  margin-bottom: 15px;
}

.slideshow-caption p {
  font-size: 1.6rem; /* Increased font size */
  margin-bottom: 0;
}

/* Make sure controls are properly positioned */
.slideshow-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px; /* Increased padding for better positioning */
  transform: translateY(-50%);
  z-index: 10;
}

.slideshow-prev,
.slideshow-next {
  background: rgba(255, 255, 255, 0.8); /* Increased opacity */
  border: none;
  border-radius: 50%;
  width: 80px; /* Larger buttons */
  height: 80px; /* Larger buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px; /* Larger icons */
  color: #2277c9;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-prev:hover,
.slideshow-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .main-slideshow,
  .slideshow-item {
    height: 600px; /* Smaller height on tablets */
  }
  
  .slideshow-caption h3 {
    font-size: 2.5rem;
  }
  
  .slideshow-caption p {
    font-size: 1.4rem;
  }
  
  .slideshow-prev,
  .slideshow-next {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .main-slideshow,
  .slideshow-item {
    height: 500px; /* Even smaller height on mobile */
  }
  
  .slideshow-caption {
    padding: 25px;
  }
  
  .slideshow-caption h3 {
    font-size: 2rem;
  }
  
  .slideshow-caption p {
    font-size: 1.2rem;
  }
  
  .slideshow-prev,
  .slideshow-next {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

.view-gallery-btn {
  background-color: #2277c9;
  color: white;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.view-gallery-btn:hover {
  background-color: #1a5fa0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .main-slideshow,
  .slideshow-item {
    height: 500px;
  }
  
  .slideshow-caption h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .main-slideshow,
  .slideshow-item {
    height: 400px;
  }
  
  .slideshow-caption {
    padding: 20px;
  }
  
  .slideshow-caption h3 {
    font-size: 1.5rem;
  }
  
  .slideshow-caption p {
    font-size: 1rem;
  }
  
  .slideshow-controls {
    padding: 0 10px;
  }
  
  .slideshow-prev,
  .slideshow-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Latest Happening Section */
.latest-happening-section {
  background-color: #2277c9;
  padding: 60px 0;
}

.latest-happening-section .section-title {
  color: white;
  margin-bottom: 30px;
}

.happening-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.happening-card-header {
  background-color: #2277c9;
  color: white;
  padding: 15px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.happening-card-header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.happening-card-body {
  padding: 20px;
}

/* Updates Styles */
.update-item {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.update-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.update-number {
  font-weight: 700;
  color: #333;
  margin-right: 10px;
  flex-shrink: 0;
}

.update-content p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.update-tag {
  display: inline-block;
  background-color: #ff5722;
  color: white;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
}

/* Calendar Styles */
.calendar-month {
  width: 100%;
}

.month-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.month-header h4 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.prev-month, .next-month {
  cursor: pointer;
  font-size: 1.2rem;
  color: #2277c9;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
}

.calendar-table th, .calendar-table td {
  text-align: center;
  padding: 8px;
  font-size: 0.9rem;
}

.calendar-table th {
  font-weight: 600;
  color: #2277c9;
}

.calendar-table td {
  color: #666;
}

.calendar-table td:first-child, .calendar-table td:last-child {
  color: #999;
}

/* Events Styles */
.event-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.event-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.event-date {
  font-weight: 600;
  color: #2277c9;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.event-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .happening-card {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .latest-happening-section {
    padding: 40px 0;
  }
  
  .happening-card-header h3 {
    font-size: 1.2rem;
  }
  
  .update-content p, .event-content p {
    font-size: 0.9rem;
  }
  
  .calendar-table th, .calendar-table td {
    padding: 5px;
    font-size: 0.8rem;
  }
}
/* Leadership Section Styles */
.leadership-section {
  background-color: fdf6ee;
  padding: 60px 0;
  color: white;
}

.leadership-section .section-title {
  color: #e5751d;
  margin-bottom: 30px;
}

.leadership-card {
  text-align: center;
  margin-bottom: 20px;
}

.leadership-img-container {
  width: 180px;
  height: 180px;
  margin: 0 auto 15px;
  overflow: hidden;
  background-color: white;
  border-radius: 5px;
}

.leadership-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leadership-info {
  margin-top: 10px;
}

.leadership-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.leadership-title {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.see-council-btn {
  background-color: white;
  color: #2277c9;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.see-council-btn:hover {
  background-color: transparent;
  color: white;
}

@media (max-width: 767px) {
  .leadership-img-container {
    width: 150px;
    height: 150px;
  }
  
  .leadership-name {
    font-size: 0.9rem;
  }
  
  .leadership-title {
    font-size: 0.8rem;
  }
}