/********** Template CSS **********/
:root {
  --primary: #6222cc;
  --secondary: #000000;
  --light: #ffffff;
  --dark: #04000b;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* Taille du logo sur écrans larges */
.navbar-brand img {
  max-height: 150px; /* Augmenté pour une meilleure visibilité */
  width: auto;
}

/* Positionnement du texte sous le logo */
.navbar-brand .position-relative h5 {
  bottom: -5px; /* Ajuster la position verticale pour placer le texte en bas du logo */
  font-size: 14px; /* Ajuster la taille du texte si nécessaire */
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 60px;
  z-index: 99;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
  font-weight: 600;
}

.doc-icon {
  background-color: #f9c74f; /* même jaune que l'icône Titre foncier */
  color: #000;
  padding: 6px;
  border-radius: 6px;
  font-size: 14px;
}

/*** Heading ***/
h1,
h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
  font-weight: 500 !important;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
  border: none;
  content: '\f067';
  font-family: 'Font Awesome 5 Free';
  font-size: 10px;
  font-weight: bold;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--light) !important;
  outline: none;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--secondary) !important;
}

.navbar-nav {
  flex: 1;
  justify-content: center;
}

.navbar-light .navbar-brand h1 {
  color: #ffffff;
}

.navbar-light .navbar-brand img {
  max-height: 120px; /* Augmenté pour une meilleure visibilité */
  width: auto;
}

.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: #ffffff;
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark) !important;
  }

  .navbar-light .navbar-brand h1 {
    color: var(--primary);
  }

  .navbar-light .navbar-brand img {
    max-height: 80px; /* Augmenté pour mobile */
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 2px solid rgba(256, 256, 256, 0.1);
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: #ffffff;
  }

  .sticky-top.navbar-light .navbar-brand h1 {
    color: var(--primary);
  }

  .navbar-light .navbar-nav .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }

  .navbar-collapse {
    flex: 1;
    justify-content: center;
    margin-left: 150px;
  }

  .navbar-nav {
    margin: 0;
  }

  .navbar-light .btn {
    color: var(--dark);
    background: #ffffff;
  }

  .sticky-top.navbar-light .btn {
    color: var(--dark);
    background: var(--secondary);
  }
}

/*** Hero Header ***/
.hero-header {
  margin-bottom: 6rem;
  padding: 18rem 0;
  background:
    url(../img/blob-top-left.png), url(../img/blob-top-right.png),
    url(../img/blob-bottom-left.png), url(../img/blob-bottom-right.png),
    url(../img/blob-center.png), url(../img/bg-bottom.png);
  background-position:
    left 0px top 0px,
    right 0px top 0px,
    left 0px bottom 0px,
    right 0px bottom 0px,
    center center,
    center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 991.98px) {
  .hero-header {
    padding: 6rem 0 9rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-header {
    padding: 4rem 0 6rem 0;
    margin-bottom: 3rem;
  }
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 500;
  text-transform: uppercase;
}

.section-title span:first-child,
.section-title span:last-child {
  position: relative;
  display: inline-block;
  margin-right: 30px;
  width: 30px;
  height: 2px;
}

.section-title span:last-child {
  margin-right: 0;
  margin-left: 30px;
}

.section-title span:first-child::after,
.section-title span:last-child::after {
  position: absolute;
  content: '';
  width: 15px;
  height: 2px;
  top: 0;
  right: -20px;
}

.section-title span:last-child::after {
  right: auto;
  left: -20px;
}

.section-title.text-primary span:first-child,
.section-title.text-primary span:last-child,
.section-title.text-primary span:first-child::after,
.section-title.text-primary span:last-child::after {
  background: var(--primary);
}

.section-title.text-secondary span:first-child,
.section-title.text-secondary span:last-child,
.section-title.text-secondary span:first-child::after,
.section-title.text-secondary span:last-child::after {
  background: var(--secondary);
}

.section-title.text-white span:first-child,
.section-title.text-white span:last-child,
.section-title.text-white span:first-child::after,
.section-title.text-white span:last-child::after {
  background: #ffffff;
}

/*** Feature ***/
.feature-item {
  transition: 0.5s;
}

.feature-item:hover {
  margin-top: -15px;
}

/*** About ***/
.progress {
  height: 5px;
}

.progress .progress-bar {
  width: 0px;
  transition: 3s;
}

/*** Fact ***/
.fact {
  margin: 6rem 0;
  background:
    url(../img/blob-top-left.png), url(../img/blob-top-right.png),
    url(../img/blob-bottom-left.png), url(../img/blob-bottom-right.png),
    url(../img/blob-center.png);
  background-position:
    left 0px top 0px,
    right 0px top 0px,
    left 0px bottom 0px,
    right 0px bottom 0px,
    center center;
  background-repeat: no-repeat;
}

/*** Service ***/
.service-item {
  position: relative;
  padding: 45px 30px;
  background: var(--light);
  overflow: hidden;
  transition: 0.5s;
}

.service-item:hover {
  margin-top: -15px;
  padding-bottom: 60px;
  background: var(--primary);
}

.service-item .service-icon {
  margin: 0 auto 20px auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  background: url(../img/blob-primary.png) center center no-repeat;
  background-size: contain;
  transition: 0.5s;
}

.service-item:hover .service-icon {
  color: var(--dark);
  background: url(../img/blob-secondary.png) center center no-repeat;
  background-size: contain;
}

.service-item h5,
.service-item p {
  transition: 0.5s;
}

.service-item:hover h5,
.service-item:hover p {
  color: #ffffff;
}

.service-item a.btn {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px 40px 0 0;
  transition: 0.5s;
  z-index: 1;
}

.service-item a.btn:hover {
  color: var(--dark);
  background: var(--secondary);
}

.service-item:hover a.btn {
  bottom: 0;
}

/*** Project Portfolio ***/
#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--primary);
  border-color: var(--primary);
}

.portfolio-item img {
  transition: 0.5s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(98, 34, 204, 0.9);
  transition: 0.5s;
  opacity: 0;
}

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

/*** Newsletter ***/
.newsletter {
  margin: 6rem 0;
  background:
    url(../img/blob-top-left.png), url(../img/blob-top-right.png),
    url(../img/blob-bottom-left.png), url(../img/blob-bottom-right.png),
    url(../img/blob-center.png);
  background-position:
    left 0px top 0px,
    right 0px top 0px,
    left 0px bottom 0px,
    right 0px bottom 0px,
    center center;
  background-repeat: no-repeat;
}

/*** Testimonial ***/
.testimonial-carousel .testimonial-item {
  padding: 0 30px 30px 30px;
}

.testimonial-carousel .owl-nav {
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--light);
  border-radius: 60px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/*** Team ***/
.team-item .btn {
  color: var(--primary);
  background: #ffffff;
}

.team-item .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

/*** Footer ***/
.footer {
  margin-top: 6rem;
  padding-top: 9rem;
  background: url(../img/bg-top.png), url(../img/map.png);
  background-position:
    center top,
    center center;
  background-repeat: no-repeat;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(256, 256, 256, 0.1);
  border-radius: 40px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
  color: var(--secondary);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgb(255, 119, 0);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.footer .copyright a:hover,
.footer .footer-menu a:hover {
  color: var(--secondary);
}

/*** Responsive Styles ***/

/* Mobile (small screens): 0 → 576px */
/* Content should be in columns, text centered, images at 100%. */
@media (max-width: 575.98px) {
  /* General */
  .container-xxl {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 60px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 12px;
  }

  .navbar-nav .nav-link {
    text-align: center;
    padding: 10px 0;
  }

  .navbar-nav {
    justify-content: center;
    align-items: center;
  }

  .navbar-collapse {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  /* Fix for dropdown toggle button in navbar on small screens */
  .nav-item.dropdown > button.nav-link.dropdown-toggle,
  .nav-item.dropdown > a.nav-link.dropdown-toggle {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #606060;
    color: white;
    border: none;
    border-radius: 4px;
    text-align: left;
  }

  .nav-item.dropdown > button.nav-link.dropdown-toggle::after,
  .nav-item.dropdown > a.nav-link.dropdown-toggle::after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f078'; /* caret down */
    float: right;
    margin-top: 6px;
  }

  /* Bring buttons closer on small screens */
  .navbar .btn.ms-3 {
    margin-left: 0.5rem !important;
  }

  .navbar .btn.ms-2 {
    margin-left: 0.25rem !important;
  }

  /* Hero Section */
  .hero-header {
    padding: 4rem 0 3rem 0;
    margin-bottom: 2rem;
  }

  .hero-header .row {
    text-align: center;
  }

  .hero-header h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .hero-header .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    text-align: center;
  }

  .feature-item h5 {
    font-size: 1rem;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  /* About Section */
  .about h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .about p {
    font-size: 0.9rem;
    text-align: center;
  }

  .about .row {
    text-align: center;
  }

  .about img {
    margin-top: 2rem;
  }

  /* Facts Section */
  .fact .col-md-6,
  .fact .col-lg-3 {
    margin-bottom: 2rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer {
    padding-top: 2rem;
    margin-top: 4rem;
  }

  .footer .row.g-5 > .col-md-6,
  .footer .row.g-5 > .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    text-align: center;
  }

  .footer .btn.btn-link {
    font-size: 0.8rem;
  }

  .footer p {
    font-size: 0.8rem;
  }

  .footer .section-title {
    font-size: 1rem;
  }

  .footer .row.g-2 .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1rem;
  }

  /* Back to Top */
  .back-to-top {
    right: 15px;
    bottom: 20px;
  }

  /* Section Titles */
  .section-title {
    font-size: 0.9rem;
  }

  .section-title span:first-child,
  .section-title span:last-child {
    width: 20px;
    margin-right: 10px;
  }

  .section-title span:last-child {
    margin-left: 10px;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Text */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3;
  }

  p {
    line-height: 1.5;
  }

  /* 404 Page */
  .display-1 {
    font-size: 3rem;
  }

  .container-xxl.py-5 .container.px-lg-5 h3 {
    font-size: 1rem;
  }

  .container-xxl.py-5 .container.px-lg-5 p {
    font-size: 0.8rem;
  }

  .container-xxl.py-5 .container.px-lg-5 .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  /* Map */
  #map {
    height: 200px;
  }

  /* Chatbot */
  .chat-window {
    width: 95%;
    height: 350px;
  }

  .chat-messages {
    height: 250px;
  }

  /* Buttons */
  .btn {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  /* Sections */
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Large mobile / Small tablet: 576px → 768px */
/* A little more space; some blocks can be in two columns. */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* General */
  .container-xxl {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 70px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 13px;
  }

  /* Hero Section */
  .hero-header {
    padding: 5rem 0 4rem 0;
    margin-bottom: 3rem;
  }

  .hero-header h1 {
    font-size: 1.8rem;
  }

  .hero-header p {
    font-size: 1rem;
  }

  .hero-header .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
  }

  .feature-item h5 {
    font-size: 1.1rem;
  }

  /* About Section */
  .about h1 {
    font-size: 1.8rem;
  }

  .about p {
    font-size: 1rem;
  }

  /* Facts Section */
  .fact .col-md-6 {
    margin-bottom: 2rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer .row.g-5 > .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }

  .footer .btn.btn-link {
    font-size: 0.85rem;
  }

  .footer p {
    font-size: 0.85rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1rem;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Map */
  #map {
    height: 250px;
  }

  /* Chatbot */
  .chat-window {
    width: 90%;
    max-width: 350px;
    height: 400px;
  }

  .chat-messages {
    height: 300px;
  }
}

/* Tablet: 768px → 992px */
/* Two-column layout, wider menus. */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* General */
  .container-xxl {
    padding-left: 30px;
    padding-right: 30px;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 80px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 14px;
  }

  .navbar-nav .nav-link {
    padding: 20px 15px;
  }

  /* Hero Section */
  .hero-header {
    padding: 8rem 0 6rem 0;
    margin-bottom: 4rem;
  }

  .hero-header h1 {
    font-size: 2.2rem;
  }

  .hero-header p {
    font-size: 1.1rem;
  }

  .hero-header .btn {
    font-size: 0.9rem;
    padding: 0.7rem 1.4rem;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }

  .feature-item h5 {
    font-size: 1.2rem;
  }

  /* About Section */
  .about h1 {
    font-size: 2rem;
  }

  .about p {
    font-size: 1rem;
  }

  /* Facts Section */
  .fact .col-md-6,
  .fact .col-lg-3 {
    margin-bottom: 2rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer .row.g-5 > .col-md-6,
  .footer .row.g-5 > .col-lg-3 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }

  .footer .btn.btn-link {
    font-size: 0.9rem;
  }

  .footer p {
    font-size: 0.9rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.1rem;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Map */
  #map {
    height: 300px;
  }

  /* Chatbot */
  .chat-window {
    width: 85%;
    max-width: 400px;
    height: 450px;
  }

  .chat-messages {
    height: 350px;
  }
}

/* Laptop: 992px → 1200px */
/* Classic layout, two or three columns, larger images. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* General */
  .container-xxl {
    padding-left: 40px;
    padding-right: 40px;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 100px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 15px;
  }

  /* Hero Section */
  .hero-header {
    padding: 12rem 0 8rem 0;
    margin-bottom: 5rem;
  }

  .hero-header h1 {
    font-size: 2.8rem;
  }

  .hero-header p {
    font-size: 1.2rem;
  }

  .hero-header .btn {
    font-size: 1rem;
    padding: 0.8rem 1.6rem;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 2rem;
    padding: 2rem;
  }

  .feature-item h5 {
    font-size: 1.3rem;
  }

  /* About Section */
  .about h1 {
    font-size: 2.5rem;
  }

  .about p {
    font-size: 1.1rem;
  }

  /* Facts Section */
  .fact .col-md-6,
  .fact .col-lg-3 {
    margin-bottom: 2rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer .btn.btn-link {
    font-size: 1rem;
  }

  .footer p {
    font-size: 1rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.2rem;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Map */
  #map {
    height: 350px;
  }

  /* Chatbot */
  .chat-window {
    width: 80%;
    max-width: 450px;
    height: 500px;
  }

  .chat-messages {
    height: 400px;
  }
}

/* Large screen / Desktop: 1200px → 1400px */
/* More spacious layout, wider margins. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* General */
  .container-xxl {
    padding-left: 50px;
    padding-right: 50px;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 120px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 16px;
  }

  /* Hero Section */
  .hero-header {
    padding: 15rem 0 10rem 0;
    margin-bottom: 6rem;
  }

  .hero-header h1 {
    font-size: 3rem;
  }

  .hero-header p {
    font-size: 1.3rem;
  }

  .hero-header .btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.8rem;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 2.5rem;
    padding: 2.5rem;
  }

  .feature-item h5 {
    font-size: 1.4rem;
  }

  /* About Section */
  .about h1 {
    font-size: 2.8rem;
  }

  .about p {
    font-size: 1.2rem;
  }

  /* Facts Section */
  .fact .col-md-6,
  .fact .col-lg-3 {
    margin-bottom: 2.5rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 2.5rem;
  }

  /* Footer */
  .footer .btn.btn-link {
    font-size: 1.1rem;
  }

  .footer p {
    font-size: 1.1rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.3rem;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Map */
  #map {
    height: 400px;
  }

  /* Chatbot */
  .chat-window {
    width: 75%;
    max-width: 500px;
    height: 550px;
  }

  .chat-messages {
    height: 450px;
  }
}

/* Very large screens: 1400px+ */
/* Centered content with maximum width (e.g., 1400px max). */
@media (min-width: 1400px) {
  /* General */
  .container-xxl {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 140px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 17px;
  }

  /* Hero Section */
  .hero-header {
    padding: 18rem 0 12rem 0;
    margin-bottom: 7rem;
  }

  .hero-header h1 {
    font-size: 3.5rem;
  }

  .hero-header p {
    font-size: 1.4rem;
  }

  .hero-header .btn {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 3rem;
    padding: 3rem;
  }

  .feature-item h5 {
    font-size: 1.5rem;
  }

  /* About Section */
  .about h1 {
    font-size: 3rem;
  }

  .about p {
    font-size: 1.3rem;
  }

  /* Facts Section */
  .fact .col-md-6,
  .fact .col-lg-3 {
    margin-bottom: 3rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 3rem;
  }

  /* Footer */
  .footer .btn.btn-link {
    font-size: 1.2rem;
  }

  .footer p {
    font-size: 1.2rem;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.4rem;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Map */
  #map {
    height: 450px;
  }

  /* Chatbot */
  .chat-window {
    width: 70%;
    max-width: 550px;
    height: 600px;
  }

  .chat-messages {
    height: 500px;
  }
}

/*** Cookie Banner Styles ***/
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px;
  z-index: 10000;
  font-size: 14px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner-content p {
  margin: 0;
  flex: 1;
  font-size: 14px;
}

.cookie-banner-content a {
  color: #fba504;
  text-decoration: underline;
}

.cookie-buttons {
  margin-left: 20px;
}

.cookie-buttons .btn {
  margin-left: 10px;
}

@media (max-width: 767.98px) {
  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    margin-left: 0;
    margin-top: 10px;
  }

  .cookie-buttons .btn {
    margin-left: 5px;
    margin-right: 5px;
  }
}

/*** Contact Form Text Color ***/
#contactForm .form-control {
  color: black !important;
}

/* Very small phones: 0 → 480px (covers 430px width) */
@media (max-width: 480px) {
  /* General */
  .container-xxl {
    padding-left: 2%;
    padding-right: 2%;
    width: 100%;
  }

  /* Navbar */
  .navbar-brand img {
    max-height: 40px;
  }

  .navbar-brand .position-relative h5 {
    font-size: 8px;
  }

  .navbar-nav .nav-link {
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
  }

  /* Hero Section */
  .hero-header {
    padding: 2rem 0 1.5rem 0;
    margin-bottom: 1rem;
  }

  .hero-header .row {
    text-align: center;
  }

  .hero-header h1 {
    font-size: 1rem;
    line-height: 1.1;
  }

  .hero-header p {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .hero-header .btn {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
    margin-top: 0.6rem;
  }

  /* Sections */
  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .section-title {
    font-size: 0.7rem;
  }

  .section-title span:first-child,
  .section-title span:last-child {
    width: 12px;
    margin-right: 6px;
  }

  .section-title span:last-child {
    margin-left: 6px;
  }

  /* Feature Section */
  .feature-item {
    margin-bottom: 0.8rem;
    padding: 0.6rem;
    text-align: center;
  }

  .feature-item h5 {
    font-size: 0.8rem;
  }

  .feature-item p {
    font-size: 0.7rem;
  }

  /* About Section */
  .about h1 {
    font-size: 1.1rem;
    text-align: center;
  }

  .about p {
    font-size: 0.7rem;
    text-align: center;
  }

  .about .row {
    text-align: center;
  }

  .about img {
    margin-top: 1rem;
  }

  /* Facts Section */
  .fact .col-md-6,
  .fact .col-lg-3 {
    margin-bottom: 1rem;
  }

  /* Team Section */
  .team-item {
    margin-bottom: 1rem;
  }

  /* Footer */
  .footer {
    padding-top: 1rem;
    margin-top: 2rem;
  }

  .footer .btn.btn-link {
    font-size: 0.6rem;
  }

  .footer p {
    font-size: 0.6rem;
  }

  .footer .section-title {
    font-size: 0.8rem;
  }

  .footer .row.g-2 .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 0.6rem;
  }

  /* Back to Top */
  .back-to-top {
    right: 8px;
    bottom: 12px;
  }

  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Videos */
  video {
    max-width: 100%;
    height: auto;
  }

  /* Text */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.1;
  }

  p {
    line-height: 1.3;
  }

  /* Map */
  #map {
    height: 150px;
  }

  /* Chatbot */
  .chat-window {
    width: 100%;
    height: 250px;
  }

  .chat-messages {
    height: 150px;
  }

  /* Buttons */
  .btn {
    font-size: 0.6rem;
    padding: 0.3rem 0.6rem;
  }

  /* Cards */
  .card-body {
    padding: 0.8rem;
  }

  .card-title {
    font-size: 0.9rem;
  }

  .card-text {
    font-size: 0.7rem;
  }

  /* Gallery */
  .row.g-3 .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  /* Price Section */
  .row.g-4 .col-md-6,
  .row.g-4 .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-bottom: 0.8rem;
  }

  /* Additional adjustments for property1.html specific elements */
  .badge {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
  }

  .list-unstyled li {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .list-unstyled li i {
    font-size: 0.8rem;
  }

  /* Ensure no horizontal scroll */
  body {
    overflow-x: hidden;
  }

  .container-xxl {
    max-width: 100%;
  }

  /* Center dropdown menu on small screens */
  .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Shift dropdown menu slightly to the left on small screens */
  @media (max-width: 575.98px) {
    .dropdown-menu {
      left: 45% !important;
      transform: translateX(-45%) !important;
    }
    .navbar-light .navbar-nav .nav-item .dropdown-menu {
      right: 10px;
      left: auto;
      margin-left: 0;
    }
  }
}
