:root {
  --overlay: rgba(0,0,0,0.45); /* adjust opacity for darkness */
}

html, body {
  height: 100%;
 
}


.container_des {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.box {
  width: 100%;
  padding-left: 2px;
  padding-right: 2px;
  margin-bottom: 10px;
  border: 1px solid #ccc;  /* ✅ Add your border here */
     /* optional for softer corners */
  box-sizing: border-box;  /* ✅ keeps width consistent */
  line-height: 1;
  word-wrap: break-word;
  text-align: center;
}

/* --- Responsive font adjustment --- */
@media (max-width: 768px) {
  .box {
    font-size: 90%;
  }
}

@media (max-width: 480px) {
  .box {
    font-size: 80%;
  }
}

/* ============================================
   FEATURES CARDS — ALWAYS UNIFORM SIZE
============================================ */

/* Wrapper */
.features .card {
  width: 100%;
  max-width: 360px;           /* uniform width */
  height: 480px;              /* fixed height for ALL sizes */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.features .card:hover {
  transform: translateY(-5px);
}

/* Uniform Image Height */
.features .card-img-top {
  height: 220px;              /* FIXED height */
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Content stays flexible */
.features .card-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.features .card-title {
  font-weight: 600;
  font-size: 1.2rem;
}

.features .card-text {
  flex: 1;                      /* content fills space naturally */
  margin-top: 40px;
  text-align: left;
  overflow: hidden;
  line-height: 1.4;
}

/* Button */
.features .btn-link {
  color: #2138b9;
  font-weight: 500;
}

/* Carousel Controls */
#featuresCarousel .carousel-control-prev,
#featuresCarousel .carousel-control-next {
  width: 45px;
  height: 45px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#featuresCarousel .carousel-control-prev {
  left: -35px;
}
#featuresCarousel .carousel-control-next {
  right: -35px;
}

#featuresCarousel .carousel-control-prev-icon,
#featuresCarousel .carousel-control-next-icon {
  filter: invert(1);
  width: 22px;
  height: 22px;
}

/* Ensure column spacing doesn’t break alignment */
.features .mx-2 {
  margin-left: 8px !important;
  margin-right: 8px !important;
}
/* FORCE CARDS TO HAVE ONE UNIFORM SIZE ACROSS ALL SCREEN SIZES */
.features .col,
.features .col-4,
.features .col-6,
.features .col-md-3,
.features .col-sm-6 {
  flex: 0 0 auto !important;
  width: 360px !important;
  max-width: 360px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 10px !important;      /* gap between cards */
}

/* CARD FIXED HEIGHT ON ALL SCREEN SIZES */
.features .card {

  height: 450px !important;     /* FIXED height */
  overflow: hidden !important;  /* prevents stretching */
  width: 100%;
}

/* MOBILE SETTINGS (768px and below) */
@media (max-width: 768px) {

  .features .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    overflow-x: hidden !important;
  }

  .features .col {
    flex: 0 0 auto !important;
    width: 360px !important;
    max-width: 360px !important;
    margin: 10px !important;
  }
}








header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}


.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}



 



.hero {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  color: #e2f3cb;
  text-align: center;
  padding: 120px 20px; /* keep your padding from second code */
}

.hero-logo {
  max-width: 120px;  /* adjust size */
  margin-bottom: 1px; /* space below logo */
}

.modal {
  z-index: 1055 !important; /* Bootstrap default for modals */
}
.modal-backdrop {
  z-index: 1050 !important; /* Bootstrap default for backdrop */
}




.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

#heroTitle {
  font-weight: 700; /* 700 = bold */
}

#heroDesc {
  font-weight: 390; /* medium boldness */
}


.custom-btn {
  background-color: #5d8a38; /* Orange */
  border-color: #739652;
  color: #fff;
}

.custom-btn:hover {
  background-color: #47bb12; /* Darker orange */
  border-color: #6ba015;
}





.hero-content.text-left { text-align: left; }
.hero-content.text-center { text-align: center; }
.hero-content.text-right { text-align: right; }

@media (max-width: 576px) {
  .hero-content { padding: 1rem; }
  #heroTitle { font-size: 1.6rem; }
}












#guestContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.guest-card {
  background: #fff;
  display: flex;
  width: 80%;
  min-height: 400px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

.guest-card img {
  width: 40%;
  object-fit: cover;
}

.guest-content {
  padding: 20px;
  flex: 1;
}

.guest-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 24px;
}

.guest-content p {
  text-align: justify;
  line-height: 1.5;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .guest-card { flex-direction: column; }
  .guest-card img { width: 100%;  }
}


/* --- About Management Section Styles --- */


/* Search input and Add button */


/* Cards container */
#cardsContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Card styles */
#cardsContainer .card {
  background: #fff;
  display: flex;
  width: 80%;
  min-height: 700px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}
#cardsContainer .card img {
  width: 120px;         /* or any fixed width you want */
  height: 120px;        /* or any fixed height you want */
  object-fit: cover;    /* ensures the image covers the box without distortion */
  border-radius: 8px;   /* optional: rounded corners */
  margin: 20px auto 0;  /* optional: center image and add spacing */
  display: block;
}
.card-content {
  padding: 20px;
  flex: 1;
}
.card h3 {
  margin-top: 0;
}
.card p {
  text-align: justify;
}
.card-footer {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.card-actions button {
  margin-right: 10px;
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* About Modal styles */
#aboutModal {
  
  position: fixed;
  z-index: 1055 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
#aboutModalContent {
  background: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 50%;
  max-width: 600px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* About Modal Close Button */
#aboutModalClose {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: 0.3s;
}
#aboutModalClose:hover {
  color: #e74c3c;
}

/* Form styles inside About modal */
#aboutForm label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}
#aboutForm input[type="text"],
#aboutForm textarea,
#aboutForm input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}
#aboutForm textarea {
  resize: none;
}
#aboutSaveBtn {
  margin-top: 20px;
  padding: 12px;
  background: linear-gradient(135deg, #007bff, #0069d9);
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
  width: 100%;
}
#aboutSaveBtn:hover {
  background: linear-gradient(135deg, #0069d9, #0056b3);
  transform: scale(1.02);
}

/* Status text colors */
.card-footer span.status-posted {
  color: #28a745; /* Green */
  font-weight: bold;
}
.card-footer span.status-unposted {
  color: #6c757d; /* Grey */
  font-weight: bold;
}

/* Buttons */
.post-btn {
  background: #28a745;
  color: white;
}
.post-btn:hover {
  background: #218838;
}
.unpost-btn {
  background: #ffc107;
  color: black;
}
.unpost-btn:hover {
  background: #e0a800;
}
.edit-btn {
  background: #17a2b8;
  color: white;
}
.edit-btn:hover {
  background: #138496;
}
.delete-btn {
  background: #dc3545;
  color: white;
}
.delete-btn:hover {
  background: #c82333;
}



.service-card {
  border: none !important;
  box-shadow: none !important;
}

.service-card img {
  border: none !important;
  outline: none !important;
}

.service-content {
  border: none !important;
}

/* === Fade-in Scroll Animation === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* Remove spacing between main sections except slideshow */
.container_des,
.features,
#map-section,
.detail-container,
.service-card,
.wrap {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Add spacing between slides in the slideshow */
.slideshow-container .slide {
    margin: 15px;           /* space around each slide */
    padding: 10px;          /* internal spacing inside each slide */
    border-radius: 10px;    /* optional rounded corners */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* optional shadow for separation */
    background-color: #fff; /* optional background for clarity */
}

/* If using a horizontal carousel, prevent slides from sticking */
.slideshow-container {
    display: flex;
    flex-wrap: wrap;        /* allow slides to wrap if needed */
    gap: 15px;              /* spacing between slides horizontally and vertically */
}


