
:root {
  /* --main-color: #2d4a84; */
  --main-color: #0084cc;
  /* --secondary-color: #000000;  */
  --secondary-color: #00c52b; 
  --footer-color: #0084cc;
  --background-color: #ffffff;
}

html {
  scroll-behavior: smooth;
  background-color: var(--background-color);
}


.border-left-secondary-thick {
  border-left: 3px solid #0084cc !important;
}

.bg-primary-dark {
  background-color: #0084cc;
  color: white;
}

.bg-light-eee {
  background-color: #0084cc !important;
}

header a {
  color: white !important;
}

#cssmenu > ul > li:hover,
#cssmenu ul li.active,
#cssmenu ul li.active:hover,
#cssmenu ul li.has-sub.active:hover {
  background-color: #0084cc !important;
  color: #fff !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

li.active,
#cssmenu ul li.active:hover,
#cssmenu ul li.has-sub.active:hover {
  background-color: #0084cc !important;
  color: #fff !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#cssmenu ul ul li {
  background: #0084cc;
}

#cssmenu ul ul li:hover {
  background-color: #0084cc;
}

.bg-primary-slightly-faded {
  background-color: rgba(38, 74, 143, 0.8) !important;
}

.bg-gradient-with-transparent {
  background: linear-gradient(
    0deg,
    rgba(41, 104, 167, 1.0) 0%,
    rgba(41, 104, 167, 1.0) 80%,
    rgba(41, 104, 167, 0.7)
  ) !important;
}

.border-left-primary,
.border-left-primary-thick {
  border-left: none !important;
}

.border-left-secondary-thick {
  border-left: none !important;
}

.border-left-primary,
.border-left-primary-thick {
  /*border-bottom: 3px solid #0084cc !important;*/
  padding: 5px;
}

.border-left-secondary-thick {
  /*border-bottom: 3px solid #0084cc !important;*/
  border-bottom: none !important;
}

.border-bottom-secondary {
  border-bottom: 3px solid #ffff00 !important;
}

.owl-dots .owl-dot.active span {
  background: #ffff00 !important;
}

/* home page - leader */
.leader-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.leader-img-container {
  height: 300px;
  overflow: hidden;
}

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

.leader-info {
  padding: 20px;
  background-color: #fff;
}

.leader-title {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 5px;
}

.leader-name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0;
}

.leaders-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/* events & announcement sections*/

/* Section styles */
.section-container {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/*.section-title-text::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    left: 0;*/
/*    top: 0;*/
/*    height: 100%;*/
/*    width: 5px;*/
/*    background-color: #0d6efd;*/
/*}*/

/* Update the view-all class to be hidden by default */
.view-all {
  font-size: 0.8rem;
  color: #6c757d;
  margin-left: 10px;
  transition: all 0.3s ease;
  opacity: 0; /* Start with zero opacity (invisible) */
  transform: translateX(-10px); /* Start slightly to the left */
}

/* Make it visible on hover with animation */
.custom-section-title:hover .view-all {
  color: #0d6efd;
  opacity: 1; /* Fade in to full opacity */
  transform: translateX(0); /* Move to normal position */
}

/* Event cards */
.event-card {
  /*height: 100%;*/
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background-color: #fff;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.event-img-container {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 ratio */
}

.event-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-img {
  transform: scale(1.05);
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3)
  );
}

.event-content {
  padding: 20px;
}

.event-date {
  color: #0d6efd;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.event-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #212529;
}

.event-description {
  color: #6c757d;
  font-size: 0.9rem;
}

/* Announcements section */
.announcement-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.announcement-item:hover {
  background-color: #f8f9fa;
}

.announcement-icon {
  flex: 0 0 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  position: relative;
}

.announcement-icon img {
  width: 24px;
  height: auto;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.announcement-item:hover .announcement-icon img {
  transform: scale(1.15);
}

.hexagon {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: rgba(13, 110, 253, 0.1);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.announcement-content {
  flex: 1;
}

.announcement-date {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.announcement-title {
  font-weight: 600;
  color: #212529;
  transition: color 0.3s ease;
}

.announcement-item:hover .announcement-title {
  color: #0d6efd;
}

/* Featured event */
.featured-event {
  height: 100%;
}

.featured-event .event-img-container {
  padding-bottom: 75%; /* 4:3 ratio for featured */
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .announcement-section {
    margin-top: 40px;
  }
}

/* new section*/
/* Section styles */
.section-container {
  padding: 60px 0;
  background-color: #f8f9fa;
}

/* Section headings */
.custom-section-title {
  position: relative;
  margin-bottom: 30px;
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  color: #21407b;
  font-size: 1.875rem;
  font-weight: 500 !important;
}

.custom-section-title-text {
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  padding-left: 15px;
  color: #343a40;
}

.custom-section-title-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: #0d6efd;
}

.view-all {
  font-size: 0.8rem;
  color: #6c757d;
  margin-left: 10px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-10px);
}

.custom-section-title:hover .view-all {
  color: #0d6efd;
  opacity: 1;
  transform: translateX(0);
}

/* News Card */
.news-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.news-card:hover {
    /* transform: scale(1.5); */
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.news-image-container {
  position: relative;
  overflow: hidden;
  height: 250px;
  width: 100%;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  min-height: 120px;
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.3)
  );
}

.news-content {
  flex: 0 0 65%;
  padding: 15px;
}

.news-title {
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  font-size: 1.5rem;
  line-height: 1.4;
  min-height: calc(1rem * 1.4 * 2);
}

.news-card:hover .news-title {
  color: #0d6efd;
}

.news-date {
  color: #0d6efd;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.news-date i {
  margin-right: 5px;
}

/* Add this additional media query for better image handling */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
    height: auto;
  }

  .news-image-container {
    flex: 0 0 auto;
    width: 100%;
    height: 160px;
  }

  .news-content {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* video sections*/

/* Background Section */
.video-gallery-container {
  position: relative;
  background-image: url("http://127.0.0.1:8000/uploads/administration/79410b559846935b409121ac2b6402f8.jpeg");
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dark overlay for readability */
.background-overlay {
  width: 100%;
  height: 100%;
  background: rgb(35 86 140 / 70%); /* Dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gallery Title */
.gallery-title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Video Box */
.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.video-box:hover {
  transform: scale(1.05);
}

/* Video Thumbnail */
.video-thumbnail {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Play Button */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button span {
  width: 0;
  height: 0;
  border-left: 15px solid red;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Video Title */
.video-title {
  color: white;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 10px;
}

/* View More Button */
.btn-outline-light {
  border: 2px solid white;
  color: white;
  transition: background 0.3s ease-in-out;
}

.btn-outline-light:hover {
  background: white;
  color: black;
}

.box-shadow {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-shadow:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

dark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease;
}

.zoom-container:hover .dark-overlay {
  background: rgba(0, 0, 0, 0.6);
}

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

.zoom-container:hover .card-img-top {
  transform: scale(1.1);
}

/* our services section style*/
.services-section {
  background-color: #f8f9fa;
}

.service-card {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}


.service-icon i {
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
  transform: scale(1.1);
}

.get-service-btn {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  padding: 0 1rem 1rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.service-card:hover .get-service-btn {
  bottom: 0;
  opacity: 1;
}

.section-subtitle {
  color: #6c757d;
  margin-bottom: 2rem;
}

/* statistic section*/
.stat-card {
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  color: rgb(244, 237, 237);
}

.stat-title {
  font-size: 1rem;
  color: #fff;
}

.stat-listing {
  margin-top: 1.5rem;
}

.statistics_line {
  background-color: #fff;
  padding: 1px;
  width: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

body {
  font-family: "Roboto", sans-serif !important;
}

.bg-gradient-secondary-transparent {
  background: none !important;
}

.btn-outline-primary {
  border: none;
  font-size: 1rem;
  font-style: italic;
}

.image-overlay-bg-multi {
  background-repeat: no-repeat, no-repeat; /* Repeat for overlay, repeat for image */
  background-position: center, right center; /* Position for overlay (center covers all), position for image */
  background-size: cover, contain; /* Size for overlay (cover fills), size for image */
  /* Or just define common properties once if they apply to all layers */
  /* background-repeat: no-repeat; */
  /* background-position: right center; */
  /* background-size: contain; */ /* This might apply image size to gradient too, be careful */

  color: white; /* Make sure content color contrasts with the dark overlay */
  /* Add padding if needed, e.g., padding: 20px; (py-2 already adds some) */
}

.full-hd-container {
  height: 30rem !important;
}

/*
  .home-slider {
    height: 40rem !important;
  }

  @media (max-width: 768px) {
    .full-hd-container,
    .home-slider {
      height: 30rem !important;
    }
  }

  @media (max-width: 480px) {
    .full-hd-container,
    .home-slider {
      height: 25rem !important;
    }
  }
*/
   .carousel-caption-custom {
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.5);
        padding: 1rem 2rem;
        border-radius: 0.75rem;
        font-size: 1.25rem;
        color: #fff;
    }

   .carousel-item img {
        object-fit: cover;
        height: 100%;
        /* border-radius: 1rem; */
    }

   .carousel-control-prev-icon,
   .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        padding: 1rem;
    }

   .carousel-indicators li {
        background-color: #fff;
        width: 10px;
        height: 10px;
        border-radius: 50%;
    }



/*vertical right social media icons*/

.social-bar {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 5px 0;
  color: #000;
  background-color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: background-color 0.3s ease;
  border-width: 2px;
}

.rounded-full {
  border-radius: 9999px;
}

.border-2 {
  border-width: 2px;
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity));
}

.social-icon:hover {
  background-color: #555;
}

.text-blue-400 {
  --tw-text-opacity: 1;
  color: rgb(96 165 250 / var(--tw-text-opacity)); /* Facebook */
}

.text-sky-400 {
  --tw-text-opacity: 1;
  color: rgb(56 189 248 / var(--tw-text-opacity)); /* Twitter */
}

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity)); /* YouTube */
}

.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity)); /* LinkedIn */
}

.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity)); /* WhatsApp */
}

.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity)); /* Blogger */
}

.text-cyan-400 {
  --tw-text-opacity: 1;
  color: rgb(34 211 238 / var(--tw-text-opacity)); /* Vimeo */
}

.text-blue-300 {
  --tw-text-opacity: 1;
  color: rgb(147 197 253 / var(--tw-text-opacity)); /* Skype */
}

.text-indigo-500 {
  --tw-text-opacity: 1;
  color: rgb(99 102 241 / var(--tw-text-opacity)); /* Tumblr */
}

.text-yellow-400 {
  --tw-text-opacity: 1;
  color: rgb(250 204 21 / var(--tw-text-opacity)); /* Snapchat */
}

.text-pink-400 {
  --tw-text-opacity: 1;
  color: rgb(244 114 182 / var(--tw-text-opacity)); /* Flickr */
}

.text-pink-600 {
  --tw-text-opacity: 1;
  color: rgb(219 39 119 / var(--tw-text-opacity)); /* Instagram */
}

.img-frame {
  background-color: #fff;
  border: 3.5vmin solid #eee;
  border-bottom-color: #fff;
  border-left-color: #eee;
  border-radius: 2px;
  border-right-color: #eee;
  border-top-color: #ddd;
  box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.25),
    0 5px 10px 5px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  display: inline-block;
  /* margin: 2.5vh 0; */
  padding: 1vmin;
  position: relative;
  text-align: center;
  width: 55%;
  margin-left: 5px;
    /* left: 7.5%; */
}


.line_header {
  height: .2rem;
  background-color: #0084cc;
}

#statistics-section {
  position: relative;
  background-image: url("../images/bg/basin.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  width: 100%;
  color: white;
  z-index: 1;
  overflow: hidden;
}

#statistics-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.news-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.news-card:hover .dark-overlay {
  background: rgba(0, 0, 0, 0.5);
}
.news-title {
  font-size: 1.25rem;
  line-height: 1.4;
}
.news-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
}
.badge-primary {
  background-color: #007bff;
  font-size: 0.85rem;
}

.event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}
.event-card:hover .dark-overlay {
  background: rgba(0, 0, 0, 0.5);
}
.event-title {
  font-size: 1.25rem;
  line-height: 1.4;
}
.event-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
}

.badge-success {
  background-color: #28a745;
  font-size: 0.85rem;
}

.event-date-location .small {
  font-size: 0.85rem;
}

.transition-all {
  transition: all 0.3s ease;
}

#backToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: block;
  z-index: 999;
  border-radius: 1.0rem;
  background-color: var(--main-color) !important;
  text-align: center;
}

#news_events .card, 
/* #permit-applications .card,  */
.event-card{
    box-shadow: none !important;
    background-color: #fff;
}

#permit-applications .permit-overlay
{
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: linear-gradient(to left,
    rgba(251, 249, 249, 0.5), 
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 1)
    );
   z-index: 1;
}

#permit-applications.card:hover .permit-overlay {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    background-color: #000;
}

.border-5 {
    border: 2px;
}

.stat-card svg{
    width: 5.5rem;
    height: 5.5rem;
    color: white;
}


.card:hover {
    transform: scale(1.01);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--main-color);
    border-radius: 0.5rem;
    width: 100%;
}

.view_all span{
    font-size: 0.9rem;
    color: var(--main-color);
    font-style: italic;
}

.ega-footer{
  position: relative;
  background-image: url("../images/footer.jpg") !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--main-color);
  /* color: white !important; */
  opacity: 1.0;
  /* width: 100%; */
  /* color: white; */
  z-index: 1;
  /* overflow: hidden; */
}

.bg-header-trans{
   /* position: relative; */
  /* background-image: url("../images/flag1.png"); */
  /* background-repeat: no-repeat; */
  /* background-size: cover; */
  /* background-position: center; */
  /* background-attachment: fixed; */
  /* background-color: var(--main-color); */
  /* color: white !important; */
  /* opacity: 0.9; */
  /* width: 100%; */
  /* color: white; */
  /* z-index: 1; */
  /* overflow: hidden; */
}

.no-gutters {
  margin-right: 0.3rem;
  margin-left: 0.3rem;

  > .col,
  > [class*="col-"] {
    padding-right: 0.3rem;
    padding-left: 0.3rem;
  }
}

.service-hover-box {
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}

.service-hover-box img {
    transition: transform 0.3s ease;
}

.service-hover-box:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.service-hover-box:hover .service-overlay {
    opacity: 1;
}

.custom-card {
    transition: box-shadow 0.3s ease-in-out;
}

.custom-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blockquote {
    padding: 7px;
    background: #f8f9fa;
    border-left: 5px solid #007bff;
    border-radius: 5px;
}


#a-mobile-welcome-note{
   display: none;
}

.home-slider-design {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.head-profile,
.head-welcome-note {
  width: 20%;
  padding: 10px;
}

.a-slider {
  flex: 1;
}

.home-slider {
  height: 30rem;
}

@media (max-width: 768px) {
  .a-slider {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
  }

  .home-slider {
    height: 20rem;
    max-height: 50vh;
  }

  .head-profile,
  .head-welcome-note {
    display: none;
  }

  #a-mobile-welcome-note{
    display: block;
    margin-top: 7.5rem;
  }
}

/* permit application */
 .service-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-radius: 0.75rem;
    }
    
    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .card-img-container {
        height: 200px;
        background-size: cover;
        background-position: center;
        border-radius: 0.75rem;
    }
    
    .card-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        transition: background 0.3s ease;
    }
    
    .service-card:hover .card-overlay {
        background: rgba(0,0,0,0.6);
    }
    
    .service-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .service-title {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .divider-line {
        height: 2px;
        background: linear-gradient(90deg, transparent, #2d4a84, transparent);
    }
    
    .view-all-btn {
        padding: 0.5rem 1.5rem;
        border-radius: 50px;
        font-weight: 500;
    }
    /* end permit application */