/* Import Google Font Roboto+Condensed,Instrument+Sans, Plus+Jakarta+Sans */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap");

/* Import fonts at the beginning of the stylesheet */
@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&display=swap");

/* Define variables first for easy customization */
/* Define CSS variables for theme colors */
:root {
  --font-family: "Jost", sans-serif;
  --font-playfair: "Playfair Display", sans-serif;
  --font-serif: serif;
  --primary-color: #ffffff;
  --secondary-color: #002ed0;
  --accent-color: #809bff;
  --tetriary-color: #FCDD09;
  --blue-color: #1b10ae;
  --white-color: #ffffff;
  --text-color-blue: #0000cc;
  --text-color-white: var(--white-color);
  --background-blue: var(--secondary-color);
  --background-white: var(--white-color);
  --border-radius-small: 4px;
  --border-radius-medium: 6px;
  --border-radius-large: 8px;
  --border-radius-xlarge: 30px;
  --linear-gradient: linear-gradient(rgb(253, 204, 4), rgb(0, 51, 204));
}

/* Apply a CSS reset for consistent styling across browsers */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

/* Set base font size and line height */
html {
  font-size: 16px;
  line-height: 1.5;
}

/* Apply base font family and color */
body {
  font-family: var(--font-family);
  background-color: var(--background-white);
  color: var(--text-color-blue);
  line-height: 1.8;
  font-size: 18px;
}

/* Container styles */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Define CSS for custom selection */
*::selection {
  background-color: var(--background-blue);
  color: var(--white-color);
}

/* Define scrollbar styles  */
.scrollable::-webkit-scrollbar {
  width: 10px;
  opacity: 0;
}

.scrollable:hover::-webkit-scrollbar,
.scrollable::-webkit-scrollbar-thumb:hover {
  opacity: 1;
}

::-webkit-scrollbar-track {
  background-color: var(--background-blue);
}

::-webkit-scrollbar-thumb {
  background-color: var(--tetriary-color);
  border-radius: var(--border-radius-xlarge);
  height: 150px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--background-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
  margin-bottom: 25px;
}

p {
  margin-bottom: 16px;
}

ul {
  list-style-type: none;
}

/* Helper Classes */
.color__white {
  background-color: var(--white-color);
}

.color__blue {
  background-color: var(--secondary-color);
}

.background__white {
  background-color: var(--white-color);
}

.background__blue {
  background-color: var(--secondary-color);
}

.intro-text {
  max-width: 1024px;
  margin: 0 auto 40px auto;
  text-align: center;
}

/* Link Styles */
a {
  text-decoration: none;
  transition: all 0.4s ease;
  color: var(--text-color);
}

a:hover {
  color: var(--text-color);
}

/* Icon Styles */

[class^="ri-"] {
  font-size: 20px;
  color: var(--white-color);
  margin-left: 5px;
}

.ri-phone-fill,
.ri-map-fill,
.ri-mail-fill {
  font-size: 30px;
  margin-left: 20px;
}

/* Image Styles */
img {
  width: 100%;
  border-radius: var(--border-radius-medium);
}

.two-col-grid.col__reverse {
  column-gap: 100px;
}

/* Grid Styles */
.two-col-grid,
.two-col-grid-2,
.three-col-grid,
.four-col-grid {
  display: grid;
  align-items: center;
  gap: 35px;
  margin-top: 50px;
}

.two-col-grid {
  grid-template-columns: 1fr 1fr;
}

.two-col-grid-2 {
  grid-template-columns: 1fr 1fr;
}

.three-col-grid {
  grid-template-columns: repeat(3, 1fr);
}

.four-col-grid {
  grid-template-columns: repeat(4, 1fr);
}

.two-col-grid .neuigkeiten-post img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Hover Effects */
.hover-effect {
  transition: all 0.4s ease;
  border-bottom: 3px solid transparent;
}

.hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom-color: var(--white-color);
}

/* Custom Classes */
.content {
  margin-bottom: 0px !important;
}

.hero-heading, 
.cover-heading {
  font-size: 54px;
  margin: 50px 0 25px 0;
}

.column__heading {
  font-size: 28px;
  text-transform: uppercase;
  text-align: flex-start;
  margin: 40px 0 20px 0;
  /* font-family: var(--font-serif); */
}

.section-heading {
  position: relative;
  font-size: 35px;
  text-transform: uppercase;
  text-align: center;
  margin: 50px 0 50px 0;
  font-family: sans-serif;
}

.section-heading::before,
.section-heading::after {
  content: "";
  display: block;
  height: 2px;
  width: 50px;
  max-width: 100%;
  background-color: var(--background-blue);
  margin: 0 auto;
}

.section-heading::before {
  margin-bottom: 25px;
}

.section-heading::after {
  margin-top: 25px;
}

.sub-section-heading {
  font-size: 30px;
  text-transform: uppercase;
}

.contact-title {
  font-size: 18px;
  color: var(--white-color);
}

/* Container styles */
.navbar__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  height: 80px;
}

/* Navbar styles */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background-color: var(--background-white);
  padding: 20px 40px;
  /* Increased padding for better spacing */
}

.navbar .navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo styles */
.navbar__logo {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.navbar__logo .navbar__logo-text {
  color: var(--text-color-blue);
  font-size: 25px;
  font-weight: 600;
}

.navbar__logo .navbar__logo-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar__logo .navbar__logo-icon .ri-service-line {
  font-size: 25px !important;
  font-weight: 600;
  color: var(--text-color-blue) !important;
  margin-right: 10px;
}

/* Navigation items styles */
.nav-items {
  display: flex;
  transition: all 0.4s ease;
}

.nav-items .nav-item {
  color: var(--text-color-blue);
  transition: all 0.4s ease;
  margin-left: 24px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.nav-items .nav-item:hover {
  color: var(--white-color);
  letter-spacing: 2.5px;
}

/* ========== COVER SECTION ========== */

.cover-section {
  min-height: 100vh;
  background-color: var(--background-white);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* .cover-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
} */

.cover-heading,
.cover-paragraph {
  color: var(--text-color-blue);
}

.cover-heading {

  text-transform: uppercase;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  max-width: 100%;
}

.cover-paragraph {
  margin: 24px auto 32px;
  max-width: 750px;
}

/* ========== HERO SECTION ========== */

.hero-section {
  min-height: 100vh;
  background-color: var(--background-blue);
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* .hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
} */

.hero-heading,
.hero-paragraph {
  position: relative;
  z-index: 1;
  color: var(--text-color-white);
}

.hero-heading {
  text-transform: uppercase;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  max-width: 100%;
}

.hero-paragraph {
  margin: 24px auto 32px;
  max-width: 750px;
}

/* Common Button Styles */
.btn__all {
  display: inline-block;
  width: 400px;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 35px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  border-radius: var(--border-radius-medium);
}

.btn__all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Button 1 Specific Styles */
.btn__all.btn_1 {
  background-color: var(--background-white);
  color: var(--text-color-blue);
}

/* Button 1 Hover Styles */
.btn__all.btn_1:hover {
  background-color: transparent;
  color: var(--text-color-blue);
  border-color: var(--secondary-color);
}

/* Button 1 Hover Styles */
.btn__all.btn_2:hover {
  background-color: transparent;
  color: var(--text-color-white);
  border-color: var(--secondary-color);
}

/* Button btn-outline Specific Styles */
.btn__all.btn-outline {
  background: var(--secondary-color);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

/* Button btn-outline Hover Styles */
.btn__all.btn-outline:hover {
  color: var(--text-color-blue);
  background: var(--background-white);
}

/* Button 2 Specific Styles */
.btn__all.btn-outline-light {
  background: var(--secondary-color);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

/* Button 2 Hover Styles */
.btn__all.btn-outline-light:hover {
  color: var(--text-color-blue);
  background: transparent;
  border-color: var(--secondary-color);
}

/* Styles for hist__btn */
.buttons {
  text-align: center;
  margin-top: 50px;
}

.buttons .btn__all {
  margin: 10px;
}

/* Additional Specific Button Styles */
.btn__mitgliedschaft,
.btn__events,
.btn__verein,
.btn__aktivitaeten {
  padding: 12px 30px;
}

/* Additional Specific Button Hover Styles */
.btn__aktivitaeten:hover {
  background: var(--background-blue);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

.btn__verein,
.btn__events {
  background: var(--background-blue);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

.btn__verein:hover,
.btn__events:hover {
  background: transparent;
  border-color: var(--secondary-color);
}

.btn__mitgliedschaft:hover {
  background: var(--background-blue);
  color: var(--white-color);
  border-color: var(--secondary-color);
}

.buttons__mitgliedschaft,
.buttons__events {
  display: flex;
  justify-content: flex-start;
  text-align: center;
  padding-left: 0px;
  margin-left: 0px;
}

@media (max-width: 768px) {

  .buttons__mitgliedschaft,
  .buttons__events {
    justify-content: center;
    /* Center horizontally on small screens */
  }
}

/* ========== ÜBER UNS UND NEUIGKEITEN ========== */

.ueberunsimg {
  margin-top: 50px;
}

#ueberuns .container,
#neuigkeiten .container {
  margin: 50px auto;
}

#ueberuns p,
#neuigkeiten p {
  text-align: left;
}

#neuigkeiten .two-col-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  min-height: 500px;
  max-width: 100%;
  margin-top: 50px;
}

.column__heading {
  text-align: flex-start;
}

.bild_popkonz {
  width: 100%;
  min-height: 500px;
}

/* With these changes, the column direction will be reversed on screens with a maximum width of 1024 pixels. */

@media (max-width: 1024px) {
  .two-col-grid.col__reverse {
    display: flex;
    flex-direction: column-reverse;
    /* Reverse the column direction */
    gap: 0px;
    margin-bottom: 0;
  }

  .two-col-grid {
    gap: 50px;
  }
}

/* ========== ÜBER UNS STATS ========== */

/* Styles for stats__cards */
.stats__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  /* 3 columns with auto wrap */
  gap: 20px;
  /* Gap between cards */
  justify-content: center;
  /* Center horizontally */
  padding: 40px;
  /* Add padding */
}

.stats__cards .card {
  background-color: var(--background-blue);
  /* Background color */
  text-align: center;
  /* Center text */
  padding: 20px;
  /* Add padding */
  border-radius: var(--border-radius-large);
  /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Box shadow */
}

.stats__cards .card h1,
.stats__cards .card span {
  color: var(--text-color-white);
  /* Text color */
}

.stats__cards .card h1 {
  font-size: 45px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  /* Increased font size for h1 font-size: 24px; */
}

/* ==========  SERVICES ==========  */

.service {
  padding: 24px;
  text-align: center;
}

.background__blue {
  background-color: var(--background-blue);
  color: var(--white-color);
  border-radius: var(--border-radius-medium);
  min-height: 500px;
}

.kontakt-info .icon-box,
.service .icon-box {
  font-size: 54px;
  color: var(--white-color);
  position: relative;
  display: inline-block;
  z-index: 2;
}

.kontakt-info .icon-box::after,
.service .icon-box::after {
  content: " ";
  position: absolute;
  top: 20%;
  left: 0%;
  z-index: -1;
  background: var(--tetriary-color);
  border-radius: var(--border-radius-xlarge);
  width: 40px;
  height: 40px;
}

.service h3 {
  margin-top: 16px;
  color: var(--white-color);
}

.service p {
  padding: 20px;
  color: var(--white-color);
  text-align: left;
}

/* ==========  PARTNERSCHAFT ==========  */

#partnerschaft p {
  text-align: left;
}

#partnerschaft p:last-child {
  margin-bottom: 50px;
}

/* ==========  GALERIE & WERBUNG ==========  */

#werbung,
#galerie {
  background: var(--text-color-blue);
}

#werbung p {
  color: var(--white-color);
}

.galerie-item,
.werbung-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.galerie-item img,
.werbung-item img {
  height: 100%;
}

.galerie-item .overlay,
.werbung-item .overlay {
  position: absolute;
  top: 0;
  left: -100%;
  background-color: var(--text-color-blue);
  /* rgba(0, 0, 0, 0.9); */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s ease;
  color: #c4c4c4;
}

.galerie-item .sub-section-heading,
.werbung-item .sub-section-heading {
  font-weight: 400;
  color: var(--white-color);
  text-align: left;
  padding: 30px 20px 50px;
  line-height: 2;
  margin-inline: auto;
}

/* .galerie-btn,
.werbung-item-btn {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-color-blue);
  font-size: 26px;
  color: var(--white-color);
  position: absolute;
  bottom: 24px;
  right: 24px;
  transition: all 0.4s ease;
} */

/* .galerie-btn:hover,
.werbung-btn:hover {
  transform: rotate(45deg);
  color: var(--white-color);
} */

/* .galerie-item:hover .overlay,
.werbung-item:hover .overlay {
  left: 0;
} */

/* ==========  VORSTAND ==========  */

.vorstand-member .content {
  padding: 16px;
  text-align: center;
}

.vorstand-member .content .contact-title {
  text-align: center;
  color: var(--text-color-blue);
}

.galerie-pict .content {
  text-align: center;
}

/* ==========  NEUIGKEITEN ==========  */

#kooperation,
#neuigkeiten,
#galerie {
  background: var(--white-color);
  color: var(--text-color-blue);
  text-align: center;
  place-items: center;
}

/* #neuigkeiten .container {
    background: var(--white-dirty);
} */

.neuigkeiten {
  padding: 24px;
  position: relative;
  margin-bottom: 50px;
}

.neuigkeiten .quote {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 140px;
  opacity: 0.1;
}

.neuigkeiten .stars {
  color: var(--text-color-blue);
}

.neuigkeiten .person {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.neuigkeiten .person img {
  width: 50px;
  margin-right: 18px;
}

.neuigkeiten .person .contact-title {
  margin-bottom: 6px;
}

.neuigkeiten .person p {
  margin: 0;
}

.neuigkeiten .saying {
  margin-top: 18px;
  margin-bottom: 18px;
}

/* ========== RÜCKBLICKE ==========  */

#rueckblicke .content {
  margin-bottom: 50px;
}

.rueckblicke-post .content {
  padding: 24px;
}

/* .rueckblicke-post .content .btn {
  padding: 8px 18px;
} */

/* ========== KONTAKT ==========  */

/* Floating Placeholder Styles */
.input-group,
.form-group {
  position: relative;
  margin-bottom: clamp(20px, 5vw, 30px);
  /* Adjusted margin using clamps */
}

.input-group input,
.input-group textarea,
.form-group textarea,
.form-control {
  width: 100%;
  padding: clamp(20px, 5vw, 25px) clamp(10px, 3vw, 10px);
  /* Adjusted padding using clamps */
  border: 2px solid var(--white-color);
  border-radius: var(--border-radius-medium);
  outline: none;
  font-size: clamp(14px, 3vw, 16px);
  /* Adjusted font size using clamps */
  transition: 0.6s;
}

.input-group label,
.form-group label {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 0 5px;
  font-size: clamp(12px, 3vw, 16px);
  /* Adjusted font size using clamps */
  color: var(--white-color);
  text-transform: uppercase;
  pointer-events: none;
  transition: 0.6s;
}

.input-group input:valid~label,
.input-group textarea:valid~label,
.input-group input:focus~label,
.input-group textarea:focus~label,
.form-group textarea:valid~label,
.form-group textarea:focus~label {
  top: -10px;
  transform: translateY(0%);
  font-size: clamp(10px, 3vw, 12px);
  /* Adjusted font size using clamps */
  font-weight: 600;
  border-radius: var(--border-radius-small);
  padding: 0 5px;
  letter-spacing: 0.1rem;
  color: var(--white-color) !important;
  /* var(--text-color-blue); */
  background-color: var(--background-blue);
  border: 2px solid var(--white-color);
  /* var(--background-blue); */
  z-index: 1000;
}

.input-group input:valid,
.input-group textarea:valid,
.input-group input:focus,
.input-group textarea:focus,
.form-group textarea:valid,
.form-group textarea:focus,
.form-control:focus {
  color: var(--primary-color);
  border: 2px solid var(--white-color);
}

/* Additional Styling */
#kontakt {
  width: 100%;
}

.intro-text {
  padding: 0 clamp(20px, 5vw, 60px);
  /* Adjusted padding using clamps */
}

.section-heading {
  font-size: clamp(24px, 5vw, 32px);
  /* Adjusted font size using clamps */
  color: var(--text-color-blue);
  text-transform: uppercase;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 35px);
  /* Adjusted gap using clamps */
}

.kontakt-info {
  min-height: 320px;
  padding: clamp(10px, 3vw, 15px);
  /* Adjusted padding using clamps */
  text-align: center;
}

.wrapped-text {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.kontakt-info,
.form {
  width: 100%;
  padding: clamp(20px, 5vw, 50px);
  /* Adjusted padding using clamps */
  background-color: var(--background-blue);
  color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.form {
  min-height: 100vh;
  margin: clamp(20px, 5vw, 50px) 0;
  /* Adjusted margin using clamps */
}

.kontakt-info h6,
.form-group label {
  font-weight: 500;
  margin-bottom: clamp(5px, 3vw, 10px);
  /* Adjusted margin using clamps */
}

.form-group {
  margin-bottom: clamp(12px, 3vw, 24px);
  /* Adjusted margin using clamps */
}

.form-control {
  color: var(--white-color);
  background-color: transparent;
  border: 2px solid var(--white-color);
  border-radius: var(--border-radius-medium);
  font-family: var(--font-family);
  padding: clamp(20px, 5vw, 28px) clamp(10px, 3vw, 16px);
  /* Adjusted padding using clamps */
  font-size: clamp(14px, 3vw, 16px);
  /* Adjusted font size using clamps */
  font-weight: 500;
  width: 100%;
  transition: border-color 0.3s ease;
}

.form-control::placeholder {
  color: var(--white-color);
  opacity: 0.7;
}

.form-control:focus {
  outline: 0;
  border-color: var(--secondary-color);
}

.form-control.invalid {
  border-color: var(--secondary-color);
}

.form-group.invalid label {
  color: var(--secondary-color);
}

.error-message {
  color: var(--secondary-color);
  font-size: clamp(10px, 3vw, 12px);
  /* Adjusted font size using clamps */
  margin-top: clamp(2px, 3vw, 4px);
  /* Adjusted margin using clamps */
}

.btn__contact {
  display: inline-block;
  position: relative;
  font-family: var(--font-family);
  color: var(--white-color);
  background-color: transparent;
  border: 2px solid var(--white-color);
  padding: clamp(8px, 2vw, 12px) clamp(25px, 5vw, 35px);
  /* Adjusted padding using clamps */
  border-radius: var(--border-radius-medium);
  width: 100%;
  font-size: clamp(16px, 3vw, 18px);
  /* Adjusted font size using clamps */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 auto;
  z-index: 1;
  outline: none;
}

.btn__contact:hover,
.btn__contact:focus {
  background-color: var(--background-white);
  color: var(--text-color-blue);
  border: 2px solid var(--white-color);
}

/* .btn__contact:disabled {
    background-color: var(--grey-color);
    color: var(--white-color);
    cursor: not-allowed;
}

.btn__contact:disabled:hover {
    background-color: var(--grey-color);
    color: var(--white-color);
} */

@media screen and (max-width: 767px) {
  .three-col-grid {
    grid-template-columns: 1fr;
  }

  .input-group input,
  .input-group textarea,
  .form-group textarea,
  .form-control {
    font-size: clamp(14px, 3vw, 16px);
    /* Adjusted font size using clamps */
  }

  .input-group label,
  .form-group label {
    position: absolute;
    left: 10px;
    top: clamp(10px, 3vw, 20px);
    /* Adjusted top position using clamps */
    padding: 0 clamp(0px, 3vw, 5px);
    /* Adjusted padding using clamps */
    font-size: clamp(14px, 3vw, 16px);
    /* Adjusted font size using clamps */
    text-transform: uppercase;
  }

  .input-group input:valid~label,
  .input-group textarea:valid~label,
  .input-group input:focus~label,
  .input-group textarea:focus~label,
  .form-group textarea:valid~label,
  .form-group textarea:focus~label {
    top: clamp(-10px, 3vw, -20px);
    /* Adjusted top position using clamps */
    font-size: clamp(14px, 3vw, 16px);
    /* Adjusted font size using clamps */
    font-weight: 600;
    border-radius: var(--border-radius-small);
    padding: 0 clamp(0px, 3vw, 5px);
    /* Adjusted padding using clamps */
    color: var(--text-color-blue);
  }
}

.decoration {
  font-size: clamp(16px, 3vw, 18px);
  /* Adjusted font size using clamps */
  font-weight: 500;
  text-transform: initial !important;
}


/* ================GOOGLE MAPS IFRAME STYLES================ */

iframe {
  border: 1px solid #fff;
  width: 100%;
  /* takes precedence over the width set with the HTML width attribute */
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}

#inlineGoogleMap {
  max-width: 100%;
  height: 300px;
}

/* ===================COMMON FOOTER STYLES=================== */

.footer-top .sub-section-heading,
.footer-top a {
  color: var(--white-color);
}

.footer-top a:hover {
  color: var(--body-color);
}

.footer-top img {
  width: unset;
}

#footer p.footer__brand-description {
  color: var(--white-color);
  text-transform: initial;
  text-align: center;
}

.icon,
.parage {
  display: inline-block;
  width: auto;
  height: auto;
  background-color: var(--white-color);
  color: var(--white-color);
}

.parage {
  margin-left: 5px;
}

/* General Styles */
#footer {
  width: 100%;
}

.footer-top {
  background-color: var(--background-blue);
  padding: 50px 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.footer__logo {
  margin-bottom: 30px;
  /*  Reduced margin for better spacing */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer__logo-link {
  font-size: 24px;
  color: var(--white-color);
  font-weight: 600;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  /* Using auto-fill for responsiveness */
  place-self: center !important;
  gap: 50px;
  /* Added gap between grid items */
  margin: 0 auto;
  padding-bottom: 0;
}

.footer-widget {
  text-align: center !important;
}

.footer-widget .sub-section-heading {
  font-size: 20px;
  text-transform: uppercase;
  text-align: center;
}

.list {
  text-align: flex-start;
  list-style: none;
  padding: 0;
}

.list li {
  margin-bottom: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 50px;
  background: var(--background-blue);
  padding: 0px 20px 50px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .developer,
.footer-bottom .copyright {
  color: var(--text-color-white) !important;
}

/* MEDIA QUERIES START */

@media screen and (max-width: 1440px) {
  .nav-item {
    display: none;
  }

  .navbar {
    padding: 0;
    margin: 0;
  }

  .nav-items {
    position: absolute;
    background-color: var(--background-white);
    height: 100vh;
    width: 100%;
    top: 0;
    left: -200%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 30px;
    padding-top: 0;
    margin-top: 15px;
  }

  .nav-items .nav-item {
    margin-top: 30px;
    display: block;
  }

  .menu-btn {
    position: absolute;
    z-index: 3;
    width: 35px;
    height: 35px;
    right: 20px;
    top: 32px;
    cursor: pointer;
    transition: transform 0.5s ease-out;
    transform-origin: center;
  }
  
  .menu-btn .btn-line {
    height: 3px;
    border-radius: var(--border-radius-medium);
    margin: 0 0 4px 0;
    background: var(--background-blue);
    transition: all 0.5s ease-out;
  }
  
  .menu-btn .btn-line:nth-child(1) {
    width: 32px;
  }
  
  .menu-btn .btn-line:nth-child(2) {
    opacity: 1;
    width: 25px;
  }
  
  .menu-btn .btn-line:nth-child(3) {
    width: 15px;
  }
  
  .menu-btn.close {
    position: absolute;
    right: 20px;
    top: 32px;
    transition: transform 0.5s ease-out;
  }  
  
  .menu-btn.close .btn-line:nth-child(1) {
    width: 28px;
    transform: rotate(45deg) translate(4px, 4px);
    transition: transform 0.5s ease-out; 
  }
  
  .menu-btn.close .btn-line:nth-child(2) {
    opacity: 0;
    width: 28px;
  }
  
  .menu-btn.close .btn-line:nth-child(3) {
    width: 28px;
    transform: rotate(-45deg) translate(6px, -6px);
    transition: transform 0.5s ease-out; 
  }
  
  .show {
    left: 0;
  }  


  .cover-heading,
  .hero-heading {
    font-size: 45px;
    margin: auto;
  }

  .input-group input:valid~label,
  .input-group textarea:valid~label,
  .input-group input:focus~label,
  .input-group textarea:focus~label,
  .form-group textarea:valid~label,
  .form-group textarea:focus~label {
    top: -15px;
  }
}

@media screen and (max-width: 992px) {

  .two-col-grid,
  .two-col-grid-2 {
    grid-template-columns: 1fr;
  }

  .three-col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .column__heading {
    font-size: 30px;
    text-align: center;
    margin: 50px auto;
    text-transform: uppercase;
  }


}

@media screen and (max-width: 768px) {
  .navbar {
    background-color: var(--background-white);
  }

  .navbar__logo .navbar__logo-icon .ri-service-line {
    display: none;
  }

  html {
    overflow-x: hidden;
    font-size: 30%;
  }

  .slide .container {
    max-width: 90%;
  }

  .section-heading {
    font-size: 24px;
  }

  .btn__all {
    min-width: 250px !important;
    width: auto;
    padding: 10px 20px;
    font-size: 16px;
  }

  .btn-outline-light a {
    display: block;
  }

  .footer-bottom p {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Updated for two columns on smaller screens */
  }

  .footer-grid {
    gap: 20px;
    padding: 0 20px;
  }

  .footer-grid> :nth-child(odd) {
    justify-self: flex-start;
  }

  .footer-grid> :nth-child(even) {
    justify-self: flex-end;
  }

  .footer-grid ul {
    text-align: left;
  }

  .footer-grid :nth-child(even) ul {
    text-align: right;
  }

  .sub-section-heading {
    font-size: 20px;
    /* Adjusted for better responsiveness */
  }

}

@media screen and (max-width: 560px) {

  .three-col-grid,
  .four-col-grid {
    grid-template-columns: 1fr;
  }

  .navbar__logo .footer__logo-link .navbar__logo-link {
    font-size: 22px;
  }
}

@media screen and (max-width: 417px) {
  html {
    overflow-x: hidden;
  }

  .navbar__logo .footer__logo-link .navbar__logo-link {
    font-size: 20px;
  }

  .menu-btn {
    width: 20px;
    height: auto;
    top: 25px;
  }
}

@media screen and (max-width: 375px) {
  .navbar__logo .footer__logo-link .navbar__logo-link {
    font-size: 16px;
  }

  .menu-btn {
    width: 20px;
    height: auto;
    top: 20px;
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 280px) {
  .navbar__logo .footer__logo-link .navbar__logo-link {
    font-size: 14px;
  }
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background-color: var(--background-blue);
  color: var(--white-color);
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.popup-content {
  padding: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}