.about-hero {
  position: relative;
  width: 100%;
  height: 400px; /* Default hero height */
}

.about-hero .hero-img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}

/* White box overlapping the bottom of the hero */
.hero-text-container {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 15px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 8px;
  text-align: center;
  z-index: 10;
  width: 30%;
  max-width: 1000px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero-text-container h1 {
  font-size: 2rem;
  color: #333;
}

/* ===== Responsive Adjustments ===== */

/* Medium screens (tablets) */
@media (max-width: 992px) {
  .hero-text-container {
    width: 50%;
    height: 110px; /* slightly taller */
  }
  .hero-text-container h1 {
    font-size: 1.7rem;
  }
}

/* Small screens (phones) */
@media (max-width: 600px) {
  .hero-text-container {
    width: 80%;
    height: 120px; /* more space for text */
    padding: 20px;
  }
  .hero-text-container h1 {
    font-size: 1.4rem;
  }
}

/* About---------------------------------------------------------------------------------- */
/* welcomsection */
/* Wrapper to center the whole section */
.gf_welcome {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  box-sizing: border-box;
  overflow-x: hidden; /* prevent horizontal scroll */
  word-wrap: break-word;
}

/* Columns */
.gf_welcome .left-part,
.gf_welcome .middle,
.gf_welcome .right {
  flex: 1 1 30%;
  min-width: 260px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Headings */
.gf_welcome h4 {
  font-size: 1.8rem;
  color: #e32d2d;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}

/* Text */
.gf_welcome p,
.gf_welcome span {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Tick List */
.tick-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0;
}

.tick-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: #555;
  overflow-wrap: break-word;
}

.tick-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #e32d2d;
  font-weight: bold;
}

/* Right column slightly lower */
.gf_welcome .right {
  margin-top: 50px;
}

/* ======================== */
/* RESPONSIVE STYLES */
/* ======================== */

/* Tablets */
@media (max-width: 992px) {
  .gf_welcome {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 25px;
  }
  .gf_welcome .left-part,
  .gf_welcome .middle,
  .gf_welcome .right {
    flex: 1 1 100%;
    max-width: 600px;
    margin: 0 0 25px;
  }
  .gf_welcome .right {
    margin-top: 0;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .gf_welcome {
    padding: 25px 15px;
    gap: 15px;
  }
  .gf_welcome h4 {
    font-size: 1.4rem;
  }
  .gf_welcome p,
  .gf_welcome span,
  .tick-list li {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  .tick-list li {
    padding-left: 22px;
  }
  .tick-list li::before {
    font-size: 0.85rem;
  }
}

/* Very Small Screens */
@media (max-width: 400px) {
  .gf_welcome {
    padding: 20px 10px;
  }
  .gf_welcome h4 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .gf_welcome p,
  .gf_welcome span,
  .tick-list li {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .gf_welcome .left-part,
  .gf_welcome .middle,
  .gf_welcome .right {
    min-width: 100%;
    max-width: 100%;
  }
  .tick-list li {
    padding-left: 20px;
    margin-bottom: 8px;
  }
  .tick-list li::before {
    font-size: 0.8rem;
  }
}

/* about  */
/* --- Base container --- */
.points-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 50px 100px;
  background-color: #153249ed;
  border-radius: 8px;
  box-sizing: border-box;
}

/* --- Left image --- */
.img-left {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-left img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* --- Right points section --- */
.points-right {
  flex: 1 1 55%;
}

.points-right h3 {
  font-size: 2rem;
  color: #e32d2d;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.points-right hr {
  width: 50px;
  height: 3px;
  background-color: #e32d2d;
  border: none;
  margin-bottom: 30px;
}

/* --- Grid of points --- */
.pointscontainer {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* --- Individual point item --- */
.specialpoint {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.pointicon {
  background-color: #fff;
  padding: 8px;
  border-radius: 6px;
  flex-shrink: 0;
}

.pointicon img {
  width: 22px;
  height: 22px;
  filter: brightness(0) saturate(100%) invert(17%) sepia(100%)
          saturate(7481%) hue-rotate(0deg) brightness(102%) contrast(102%);
}

.points h4 {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  color: #fff;
}

.points p {
  margin: 0;
  line-height: 1.6;
  color: #fff;
}

/* --- Responsive Adjustments --- */

/* Large tablets / small laptops */
@media (max-width: 1200px) {
  .points-container {
    padding: 40px 60px;
    gap: 30px;
  }

  .points-right h3 {
    font-size: 1.8rem;
  }

  .pointscontainer {
    gap: 25px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .points-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 50px;
  }

  .img-left, .points-right {
    flex: 1 1 100%;
  }

  .points-right h3 {
    text-align: center;
  }

  .pointscontainer {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .specialpoint {
    justify-content: center;
  }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .pointscontainer {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .specialpoint {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .points h4 {
    font-size: 1.1rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  .points-container {
    padding: 30px 25px;
    margin: 30px auto;
  }

  .points-right h3 {
    font-size: 1.4rem;
  }

  .pointscontainer {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .specialpoint {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pointicon {
    margin-bottom: 10px;
  }

  .points h4 {
    font-size: 1rem;
  }

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

/* about section */
.bout {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  border-radius: 8px;
}

.bout h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.bout hr {
  width: 60px;
  height: 3px;
  background-color: #e32d2d;
  border: none;
  margin: 20px auto;
}

.bout p {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Image grid */
.bout_img {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  justify-items: center;
}

.bout_img img {
  width: 90%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.bout_img img:hover {
  transform: scale(1.05);
}

/* --- Medium screens (tablets) --- */
@media (max-width: 768px) {
  .bout {
    padding: 40px 15px;
  }

  .bout h3 {
    font-size: 2rem;
  }

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

  .bout_img {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Small screens (phones) --- */
@media (max-width: 480px) {
  .bout {
    padding: 30px 10px;
  }

  .bout h3 {
    font-size: 1.6rem;
  }

  .bout p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .bout_img {
    grid-template-columns: 1fr;
  }
}


/* CONTACT US---------------------------------------------------------- */
/* =============================== */

.contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
  gap: 30px;
  box-sizing: border-box;
}

/* === Columns === */
.form-inputs,
.getintouch {
  flex: 1 1 45%;
  padding: 25px;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  max-width: 380px;
}

/* === Form Section === */
.form-inputs h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: #2c3e50;
}

.form-inputs form input,
.form-inputs form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-inputs form input:focus,
.form-inputs form textarea:focus {
  border-color: #e32d2d;
  outline: none;
}

.form-inputs form .two-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-inputs form .two-inputs input {
  flex: 1;
  min-width: calc(50% - 5px);
}

.form-inputs form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-inputs form button {
  background-color: #e32d2d;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.form-inputs form button:hover {
  background-color: #c12727;
  transform: translateY(-2px);
}

/* === Get In Touch Section === */
.getintouch h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.getintouch p {
  line-height: 1.8;
  color: #555;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  word-wrap: break-word;
}

.getintouch i {
  color: #e32d2d;
  font-size: 1rem;
}

/* =============================== */
/* RESPONSIVE BREAKPOINTS */
/* =============================== */

/* Medium Tablets */
@media (max-width: 992px) {
  .contact-section {
    flex-direction: column;
    max-width: 700px;
    padding: 0 15px;
  }

  .form-inputs,
  .getintouch {
    flex: 1 1 100%;
    padding: 20px;
  }

  .form-inputs h2,
  .getintouch h3 {
    text-align: center;
  }

  .form-inputs form button {
    width: 100%;
  }
}

/* Small Tablets / Large Phones */
@media (max-width: 640px) {
  .contact-section {
    gap: 25px;
  }

  .form-inputs,
  .getintouch {
    padding: 18px;
  }

  .form-inputs h2,
  .getintouch h3 {
    font-size: 1.4rem;
  }

  .form-inputs form input,
  .form-inputs form textarea {
    font-size: 0.9rem;
  }

  .getintouch p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Extra Small Phones (≤400px) */
@media (max-width: 400px) {
  .contact-section {
    padding: 0 10px;
  }

  .form-inputs h2,
  .getintouch h3 {
    font-size: 1.2rem;
  }

  .form-inputs form input,
  .form-inputs form textarea {
    font-size: 0.85rem;
    padding: 10px;
  }

  .form-inputs form button {
    padding: 10px;
    font-size: 0.9rem;
  }

  .getintouch p {
    font-size: 0.85rem;
    gap: 8px;
  }

  .getintouch i {
    font-size: 0.85rem;
  }
}



/* =============================== */

/* =============================== */
/* MAP SECTION (unchanged visually, better scaling) */
/* =============================== */
.gf-map-container {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.gf-map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}

/* Responsive map */
@media (max-width: 992px) {
  .gf-map-container {
    max-width: 90%;
  }
  .gf-map-container iframe {
    height: 350px;
  }
}

@media (max-width: 640px) {
  .gf-map-container {
    max-width: 95%;
  }
  .gf-map-container iframe {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .gf-map-container {
    margin: 30px auto;
    border-radius: 10px;
  }
  .gf-map-container iframe {
    height: 220px;
  }
}
