@font-face {
  font-family: 'Figtree';
  src: url('../fonts/fingtree/Figtree-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter_18pt-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope/Manrope-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: 300;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/bebusneue/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.graph-outer-container {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  padding: 10px;
}

.graph-outer-container .flex-thirty {
  flex-basis: 30%;
}

.graph-outer-container .flex-seventy {
  flex-basis: 70%;
}

.graph-cell {
  min-height: 75px;
  flex-grow: 1;
  flex-basis: 100%;
}

.fixed-3-7 .col-sm-3 {
  width: 25%;
}

.fixed-3-7 .col-sm-9 {
  width: 75%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .graph-cell {
    min-height: 100px;
  }

  .graph-outer-container {
    flex-wrap: wrap;
  }
}

.construction_section {
  padding: 50px 60px;
}

.join_us_text {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
}

.join_us h3 {
  color: #081A31;
  font-size: 32px;
  line-height: 42px;
  font-weight: 300;
  margin-bottom: 30px;
}

.join_us h3 strong {
  font-weight: 600;
}



.custom_slider_classes .text-justify {
  text-align: justify;
}

.custom_slider_classes .carousel-control-prev,
.custom_slider_classes .carousel-control-next {
  width: 10rem !important;
}


.custom_slider_classes h3 {
  color: #000000;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  padding-top: 100px;
}

.custom_slider_classes p_arrow_slide_icon svg {
  fill: #000000;
}

.custom_slider_classes .slider-preview {
  background: #f4f4f4;
  border: 1px solid #bdbdbd;
  border-radius: 7px;
  height: 550px;
  width: 100%;
}

.project-list-view-section .project-item {
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-list-view-section .project-section-flex-container {
  height: 100%;
}

.project-list-view-section .col-lg-6 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-list-view-section .col-lg-6 img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.project-list-view-section .project-section-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
  padding: 2rem;

}


.project-list-view-section .project-section-learn-more {
  color: #000;
  background-color: rgba(255, 223, 73, 1);
  text-decoration: none;
  padding: 0.625rem 1.25rem;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 150px;

}

.project-list-view-section .project-section-learn-more:hover {
  background-color: rgb(247, 209, 42);

  color: #000;

  text-decoration: none;

}

.project-list-view-section .project-main-heading {
  text-transform: uppercase;
}


/* On small screens, allow items to stack naturally */
@media (max-width: 767.98px) {
  .project-list-view-section .project-item {
    height: auto;
  }

  .project-list-view-section .col-lg-6 {
    height: auto;
  }

  .project-list-view-section .col-lg-6 img {
    height: auto;
    max-height: 300px;
    object-fit: cover;
  }

  .project-list-view-section .project-section-card {
    padding: 1.5rem;
  }
}


/* hero section ends */


.news-list-section .news-card {
  background-color: rgba(0, 132, 83, 0.08);
  border-radius: 0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.news-list-section .news-title {
  font-weight: 700;
  text-transform: uppercase;
}

.news-list-section .news-date {
  font-size: 0.875rem;
  color: #6c757d;
}

.news-list-section .news-body {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.news-list-section .read-more-btn {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 0;
  background-color: #fff !important;
}

.news-list-section .read-more-btn:hover {
  color: #272525;
}

.news-list-section .pagination-container {
  margin-top: 2rem;
  text-align: left;
}

.news-list-section .page-item #page-link {
  background-color: rgba(255, 255, 255, 1);
  border: 1px solid #000000;
  color: #000000;
  transition: 0.2s ease;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 5px;
  text-align: center;
  line-height: 40px;
}

.news-list-section .page-item #page-link:hover {
  background-color: #e2e6ea;
  border-radius: 5px;
}

.news-list-section .page-item.active #page-link {
  background-color: rgba(0, 132, 83, 1);
  color: white;
  border-radius: 5px;
  border: none;
}


section.contact_section_form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  background-color: #ebf5f1;
  flex-wrap: wrap;
  min-height: 50vh;
}

.contact_section_form .contact_img {
  width: 50%;
}

.contact_section_form .contact_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  display: block;
}

.contact_section_form .contact_field {
  width: 50%;
  padding: 0 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact_section_form .contact_field button {
  background-color: #028554;
  width: 100%;
  padding: 15px;
  color: white;
  font-size: 16px;
  border: none;
}

.contact_section_form .contact_field label {
  width: 100%;
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
}

.contact_field input,
.contact_field select,
.contact_field textarea {
  width: 100%;
  display: block;
  outline: none;
  border: none;
  padding: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  box-sizing: border-box;
}

.contact_section_form .contact_field textarea {
  height: 150px;
  color: grey;
  font-family: "Inter", sans-serif;
}

.contact_section_form .input_radio,
.contact_section_form .input_checkbox {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 10px;
}

.contact_section_form .input_radio input,
.contact_section_form .input_checkbox input {
  width: auto;
  margin: 0;
}

.contact_section_form .input_radio label,
.contact_section_form .input_checkbox label {
  width: auto;
  margin-left: 5px;
}

@media (max-width: 991px) {
  section.contact_section_form {
    min-height: auto;
  }

  .contact_section_form .contact_img,
  .contact_section_form .contact_field {
    width: 100%;

  }

  .contact_section_form .contact_img {
    height: 400px;
    object-fit: cover;
  }

  .contact_section_form .contact_img img {
    height: 100%;
  }

  .contact_section_form .contact_field {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .contact_section_form .contact_field {
    padding: 20px;
  }


  .contact_section_form .contact_field button {
    padding: 12px;
    font-size: 14px;
  }

  .contact_field input,
  .contact_field select,
  .contact_field textarea {
    padding: 12px;
    font-size: 13px;
  }

  .contact_section_form .contact_img {
    height: 250px;
  }
}

.table_section {
  padding: 20px;
  line-height: 1.6;
}

.table_section .search_section label {
  display: block;
  color: #000;
  font-weight: 600;
  margin-bottom: 5px;
}

.table_section .search_section input[type="search"] {
  width: 100%;
  min-width: 250px;
  height: 52px;
  background-color: transparent;
  border: 1px solid #cccccc;
  border-radius: 7px;
  padding: 0 15px;
  font-size: 16px;
}

/* Table styles */
.table_section .table-container {
  overflow-x: auto;
  margin: 25px 0;

  border-radius: 5px;
  background: rgba(235, 245, 241, 1);
}

.table_section .styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  min-width: 600px;
}

.table_section .styled-table caption {
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
}

.table_section .styled-table thead tr {
  background-color: #ebf5f1;
  color: #000;
  text-align: left;
  font-weight: bold;
}

.table_section .styled-table th,
.styled-table td {
  padding: 16px 20px;
  text-align: left;
}

.table_section .styled-table tbody tr:nth-of-type(odd) {
  background-color: #fafdfc;
}

.table_section .styled-table tbody tr:nth-of-type(even) {
  background-color: #f5faf8;
}

.table_section .styled-table tbody tr:hover {
  background-color: #d8efe5;
}

/* Mobile card view */
.mobile-cards {
  display: none;
}

.mobile-card {
  background: white;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.mobile-card-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.mobile-card-row:last-child {
  border-bottom: none;
}

.mobile-card-label {
  font-weight: bold;
  color: #555;
  min-width: 120px;
}

/* Pagination styles */
.table_section .button_pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.table_section .button_secion button {
  padding: 8px 15px;
  border: none;
  color: white;
  font-weight: 400;
  background-color: rgba(0, 132, 83, 1);
  border-radius: 0px;
}

.table_section select.rows-per-page {
  border: none;
  background: transparent;
  margin-right: 20px;
  font-size: 18px;
}

.table_section span.page-info {
  font-size: 18px;
  margin-right: 20px;
  font-weight: 500;
}

.table_section button.nav-btn {
  border: 1.5px solid black;
  padding: 10px;
  border-radius: 5px;
  background: transparent;
}

.table_section button.nav-btn.active {
  background: black;
}

.table_section button.nav-btn.active svg path {
  stroke: white;
}

.table_section .top-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3;
}

@media (max-width: 767px) {
  .d-flex.justify-content-between {
    flex-direction: column;
    gap: 15px;
  }

  .table_section .top-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 3;
  }

  .table_section .search_section {

    width: 100%;
  }

  .table_section .search_section input[type="search"] {
    max-width: 100%;
  }

  .table_section .styled-table {
    display: none;
  }

  .mobile-cards {
    display: block;
  }

  .table_section .button_pagination {
    justify-content: space-between;
  }
}

.table_section button.nav-btn {

  cursor: pointer;
  /* Added this line */
}

.table_section button.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #ccc;
}

.table_section button.nav-btn:disabled svg path {
  stroke: #ccc;
}

/* Add these styles to your existing CSS */
.table_section button.nav-btn.active {
  background: black;
}

.table_section button.nav-btn.active svg path {
  fill: white;
  /* Changed from stroke to fill */
}



.image-gallery-section {
  width: 100%;
  padding: 0 60px;
}

.image-gallery-section .main-image-wrapper {
  position: relative;
  margin-bottom: 120px;
  max-width: 100%;
}

.image-gallery-section .main-image {
  width: 100%;
  height: 500px;
  min-width: 250px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
  display: block;
  margin: 0 auto;
}

.image-gallery-section .thumbnails-scroll-container {
  position: absolute;
  bottom: -50px;
  left: -50px;
  right: 0;
  overflow-x: auto;
  padding: 0 10px;
  margin: 0 auto;
}

.image-gallery-section .thumbnails-container {
  display: flex;
  /* gap: 10px;s */
  width: max-content;
  padding: 10px 0;
}

.image-gallery-section .thumbnail,
.image-gallery-section .add-thumbnail {
  width: 90px;
  height: 90px;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s;
}

.image-gallery-section .active-thumbnail {
  border: 2px solid #007bff;
}

.image-gallery-section .add-thumbnail {
  background-color: #f8f9fa;
  font-size: 1.8rem;
  color: #6c757d;
  border: 1px dashed #ccc;
}

/* Scrollbar styling */
.image-gallery-section .thumbnails-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.image-gallery-section .thumbnails-scroll-container::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 5px;
}

.image-gallery-section .thumbnails-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-gallery-section .main-image-wrapper {
    margin-bottom: 100px;
  }

  .image-gallery-section .thumbnail,
  .image-gallery-section .add-thumbnail {
    width: 70px;
    height: 70px;
  }

  .image-gallery-section .image-gallery-section {
    width: 100%;
    padding-left: 50px;
    padding-right: 20px;
  }

  .image-gallery-section .main-image {
    height: 400px;
  }

  .image-gallery-section .thumbnails-scroll-container {
    bottom: -45px;
    left: -50px;
  }
}

@media (max-width: 576px) {
  .image-gallery-section .main-image-wrapper {
    margin-bottom: 90px;
  }

  .image-gallery-section .thumbnail,
  .image-gallery-section .add-thumbnail {
    width: 60px;
    height: 60px;
  }

  .image-gallery-section .image-gallery-section {
    width: 100%;
    padding-left: 50px;
    padding-right: 20px;
  }

  .image-gallery-section .main-image {
    height: 300px;
  }

  .image-gallery-section .thumbnails-scroll-container {
    bottom: -40px;
    left: -40px;
  }
}


.custom-swipper-slider-new .slider-container {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  gap: 1rem;
  padding: 1rem;
  /* Hide scrollbar */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.custom-swipper-slider-new .slider-container::-webkit-scrollbar {
  display: none;
}

.custom-swipper-slider-new .slide {
  scroll-snap-align: start;
  background: #007bff;
  color: white;
  border-radius: 10px;
  height: 300px;
  padding: 2rem;
  text-align: center;
  flex: 0 0 calc(100% / var(--slides-per-view) - 1.5rem);
}

.custom-swipper-slider-new .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 1;
}

.custom-swipper-slider-new .slider-nav button {
  pointer-events: all;
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-swipper-slider-new .slider-nav button:hover {
  background: #f8f9fa;
  transform: scale(1.05);
}

.custom-swipper-slider-new .slider-nav button i {
  font-size: 1.2rem;
  color: #007bff;
}

.custom-swipper-slider-new .slider-wrapper {
  position: relative;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px;
  background-color: #222e2e;
  position: relative;
  z-index: 1000;
  min-height: 100.17px;
}

.logo {
  color: #cbd5d1;
  font-size: 28px;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, .9);
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 3px;
  font-size: 18px;
  font-family: "Bebas Neue", sans-serif;
  font-style: normal;
  line-height: 1em;
}

.nav a:hover {
  opacity: 0.7;
}

.contact-btn {
  background: rgba(163, 163, 163, .2);
  padding: 18px 27px;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 1.5px;
  font-family: europa;
  font-style: normal;
  margin-left: 1em;
  padding: 1em 1.5em !important;
}


.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100%;
  background: #222E2B;
  padding: 100px 40px;
  transition: 0.4s ease;
  z-index: 9;
}

.sidebar.active {
  right: 0;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 30px;
}

.sidebar a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar a:hover {
  color: #d6d2a9;
}

.submenu {
  display: none;
  padding-left: 20px;
  margin-top: 20px;
}

.submenu a {
  font-size: 16px;
  letter-spacing: 2px;
}

.plus {
  font-size: 20px;
  transition: 0.3s;
}


@media(max-width:768px) {

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

.header_logo img {
  width: 300px;
}

.pre-footer {
  background: #324544;
  padding: 80px 20px;
}

.pre-footer h2 {
  text-transform: none;
  font-weight: 400;
  letter-spacing: .94px;
  font-size: 48px;
  font-family: bebas-neue, sans-serif;
  line-height: 1em;
  font-style: normal;
  color: #fff;
  margin: 0;
}

.pre-footer .contact-btn {
  display: inline-block;
  padding: 16px 35px;
  background: #1f2526;
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
  transition: .3s;
  white-space: nowrap;
}

.pre-footer .contact-btn:hover {
  opacity: .8;
}

.search-wrapper {
  max-width: 600px;
  width: 100%;
  position: relative;
}

.search-wrapper input {
  width: 100%;
  padding: 15px 20px 15px 50px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7f7f7;
  font-size: 14px;
  outline: none;
}

.search-wrapper input::placeholder {
  color: #f7f7f7;
  opacity: .6;
}

.search-wrapper::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("https://assets.squarespace.com/universal/images-v6/icons/icon-searchqueries-20-light.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.7;
}

/* ================= FOOTER ================= */

.footer {
  background: #222e2e;
  color: rgba(255, 255, 255, .4);
  padding-bottom: 65px;
}

.footer-container {
  max-width: 1020px;
  margin: auto;
  display: grid;
  grid-template-columns: 8.5fr auto 1fr;
  gap: 60px;
  padding: 0 20px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 16px;
  font-family: europa;
  line-height: 1.3em;
  font-style: normal;
}

.footer ul {
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-buttons a {
  padding: 13px 26px;
  text-decoration: none;
  text-align: center;
  font-weight: 300;
  letter-spacing: 3px;
  font-size: 12px;
  font-family: europa, sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #1f2526;
  border: 1px solid #1f2526;
  transition: .3s;
}

.footer-buttons a:hover {
  opacity: .8;
}

.social {
  text-align: center;
  margin-top: 50px;
  padding: 0 20px;
}

.social a {
  color: #fff;
  margin: 0 10px;
  font-size: 18px;
  transition: .3s;
}

.social a:hover {
  opacity: .7;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  padding: 0 20px 65px;

}

.footer-services {
  position: relative;
  text-align: center;
  padding: 65px 20px 24px;
}

.services-label {
  color: #dcb386;
  /* Accent color from image or fallback */
  color: #61b0cf;
  /* Trying a blue-ish color based on "SERVICES" in image, but let's stick to theme */
  color: #a9c6ce;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  cursor: pointer;
  margin: 0;
  transition: 0.3s;
}

.services-label:hover {
  opacity: 0.8;
}

.services-list {
  position: absolute;
  bottom: 60px;
  transform: translateX(-50%);
  left: 50%;
  background: transparent;
  display: none;
  /* Hidden by default */
  flex-direction: column;
  gap: 8px;
  background-color: #222e2e;
  text-align: right;
  min-width: 250px;
}

.footer-services:hover .services-list {
  display: flex;
}

.services-list a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: 0.3s;
  display: block;
  padding: .5em 1.5em;
}

.services-list a:hover {
  color: #a9c6ce;
}

/* ================= RESPONSIVE ================= */

@media(max-width:768px) {

  .pre-footer h2 {
    font-size: 34px;
    text-align: center;
  }

  .pre-footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .pre-footer-left {
    align-items: center;
    width: 100%;
  }

  .search-wrapper {
    max-width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-buttons {
    flex-direction: column;
  }

  .footer-services {
    display: none;
  }
}

/* ================= SEARCH MODAL ================= */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem 1rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s;
}

.search-modal.search-modal-open {
  visibility: visible;
  opacity: 1;
}

.search-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.search-modal-box {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 4rem);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem 0;
  flex-shrink: 0;
}

.search-modal-input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
}

.search-modal-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: #f0f0f0;
  border-radius: 6px;
  font-size: 18px;
  line-height: 1;
  color: #555;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.search-modal-close i {
  font-size: 1em;
}

.search-modal-close:hover {
  color: #000;
  background: #e5e5e5;
}

.search-modal-inner {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.search-modal-input:focus {
  border-color: #324544;
}

.search-modal-input:focus {
  border-color: #324544;
}

.search-modal-input::placeholder {
  color: #999;
}

.search-results-list {
  flex: 1;
  overflow-y: auto;
  max-height: min(60vh, 400px);
  margin: 0 -1.5rem;
  padding: 0 1.5rem;
}

.search-result-item {
  display: block;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #f5f5f5;
}

.search-result-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.search-result-url {
  display: block;
  font-size: 13px;
  color: #666;
}

.search-results-empty-state .search-results-empty {
  padding: 1.5rem 0;
  text-align: center;
  color: #666;
  font-size: 15px;
}

@media (max-width: 576px) {
  .search-modal {
    padding: 1rem 0.75rem;
    align-items: flex-start;
  }

  .search-modal-box {
    max-height: calc(100vh - 2rem);
  }

  .search-modal-header {
    padding: 1rem 1rem 0;
    gap: 0.5rem;
  }

  .search-modal-inner {
    padding: 0.75rem 1rem 1.25rem;
  }

  .search-modal-input {
    padding: 12px 14px;
    font-size: 16px;
  }

  .search-modal-close {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .search-results-list {
    max-height: min(55vh, 320px);
    margin: 0 -1rem;
    padding: 0 1rem;
  }

  .search-result-title {
    font-size: 15px;
  }

  .search-result-url {
    font-size: 12px;
    word-break: break-all;
  }
}

.pre-footer-container {
  display: flex;
  max-width: 1020px;
  gap: 50px;
  margin: auto;
  justify-content: space-between;
  align-items: start;
}

.pre-footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  flex: 1;
}

.pre-footer-left h2 {
  font-family: "Bebas Neue", sans-serif;
}

/* ================= DESKTOP DROPDOWN ================= */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #2f4544;
  min-width: 200px;
  display: none;
  flex-direction: column;
  padding: 15px 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-radius: 0px;
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 16px;
  letter-spacing: 2px;
  display: block;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Show on hover ONLY on large screens */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

.nav a.active,
.nav .dropdown>a.active,
.sidebar a.active {
  color: #d6d2a9 !important;
  font-weight: 600;
}