/* --- GLOBAL RESET --- */
body {
  background: white;
  font-family: "Arial", sans-serif;

}


/* --- FIXED NAVBAR WRAPPER --- */
.main-navbar {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- TOP BAR --- */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding: 8px 40px; */
  /* background-color: #f8f9fa; */
  border-bottom: 1px solid #ddd;
  height: 110px;
}

/* --- Desktop / Default --- */
.top-bar img {
  width: 160px;
  height: 80px;
  transition: all 0.4s ease-in-out;
  position: relative;
  /* left: 105px; */
  top: -15px;
}

.call-box {
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
  font-size: 0.9rem;
  gap: 6px;
  transition: all 0.4s ease-in-out;
  position: relative;
  top: -3px;
  /* right:125px; */
}

/* --- Tablet (max-width: 992px) --- */
@media (max-width: 992px) {
  .top-bar img {
    width: 320px;
    height: auto;
    left: 20px;
    /* move closer to left edge */
  }

  .call-box {
    right: 10px;
    font-size: 0.85rem;
  }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .top-bar img {
    width: 220px;
    height: auto;
    left: 0;
    /* remove horizontal shift */
    position: static;
    /* keep it naturally aligned */
    margin-left: 0;
    /* no extra space */
  }

  .call-box {
    display: none;
  }
}
.urology-text.home-about p{
  font-size: 1.25rem;
}
/* --- Extra Small Devices (max-width: 480px) --- */
@media (max-width: 480px) {
  /* .top-bar {
    padding: 0.5rem 0.8rem;
  } */

  .top-bar img {
    width: 180px;
    height: auto;
    position: static;
  }

  .call-box {
    display: none;
  }
}


.call-box i {
  color: #033b6c;
  background-color: #fff;
  border: 1px solid #033b6c;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.call-box i:hover {
  background-color: #033b6c;
  color: #fff;
  transform: scale(1.05);
}

.call-label {
  /* color: #033b6c; */
  color: #000;
  /* font-weight: 600; */
}

.call-number {
  color: #000;
  /* font-weight: bold; */
}

/* --- NAVBAR --- */
.navbar {
  background: linear-gradient(to bottom, #ffffff 85%, #f9f9f9);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 4rem;
  /* slightly taller and more balanced */
  position: relative;
  /* required for top/bottom accent lines */
  z-index: 10;
}


.navbar-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.navbar-nav .nav-link {
  /* color: #333 !important; */
  color: black;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #033b6c !important;
  /* font-weight: 600; */
}

/* ✅ Highlight "Home" */
.navbar-nav .nav-link.active,
.nav-item.current-menu-item .nav-link {
  background-color: #033b6c !important;
  color: #fff !important;
  border-radius: 5px;
  padding: 0.45rem 1.1rem;
  /* font-weight: 600; */
}

/* --- BUTTONS --- */
/* ✅ Clean, responsive button styles */
/* --- Button Styles --- */
.btn-green,
.btn-blue {
  display: inline-block;
  border-radius: 25px;
  padding: 0.55rem 2.2rem;
  /* font-weight: 600; */
  color: #fff !important;
  text-align: center;
  transition: all 0.3s ease;
  margin-left: 20px;
}

/* Green Button */
.btn-green {
  background-color: #007a3d;
}

.btn-green:hover {
  background-color: #009d52;
  box-shadow: 0 0 10px rgba(0, 122, 61, 0.5);
}

/* Blue Button */
.btn-blue {
  background-color: #033b6c;
}

.btn-blue:hover {
  background-color: #04529a;
  box-shadow: 0 0 10px rgba(3, 59, 108, 0.5);
}

/* --- Button Container (Top-Right Alignment) --- */
.btn-group-right {
  position: absolute;
  top: 18px;
  /* Adjust vertically as needed */
  right: 50px;
  /* Distance from right edge */
  display: flex;

}

/* Responsive Adjustment */
@media (max-width: 992px) {
  .btn-group-right {
    position: static;
    justify-content: center;
    margin-top: 10px;
  }

  .btn-green,
  .btn-blue {
    padding: 0.45rem 1.2rem;
    font-size: 0.9rem;
  }
}


/* ✅ Responsive tweak */
@media (max-width: 992px) {

  .btn-green,
  .btn-blue {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
    margin-left: 6px;
  }
}


/* --- HAMBURGER ICON --- */
.navbar-toggler {
  border: none;
  font-size: 1.4rem;
  color: #033b6c;
}

.navbar-toggler:focus {
  box-shadow: none;
}
.urology-image.about-image {
  height: 650px;
}
/* --- IMAGE SECTION (Below Navbar) --- */
/* .urologic-section {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.image-container {
  position: relative;
  width: 100%;
  height: 80vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.green-circle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 50px 10px #a3e6b5;
  border-radius: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 400px;
  max-height: 400px;
  left: 0;
  top: 55%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.text-overlay {
  position: absolute;
  text-align: center;
  color: #1f638d;
  display: flex;
  flex-direction: column;
  align-items: center;
  left: 0%;
  top: 60%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 390px;
  z-index: 3;
}
.heading1 {
  font-family: "La Belle Aurore", cursive;
  line-height: 1;
  font-size: clamp(40px, 8vw, 90px);
  margin: 0;
}

.heading2 {
  font-family: "La Belle Aurore", cursive;
  margin: 0;
  font-size: clamp(20px, 7vw, 86px);
}

.subtext {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  margin-top: 0px;
  font-size: 1.8rem;
} */

/*.urologic-section {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 800px;
  overflow: hidden;
  margin-top: 50px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 767px;
  height: 767px;
  display: flex;
  align-items: center;
}

.green-circle {
  position: absolute;
  left: 0;
  top: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 691px;
  max-height: 691px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 80px 20px #a3e6b5;
  filter: blur(2px);
  -webkit-text-stroke: 1px #000000;
}

/* .text-block {
    position: relative;
    gap: 0px;
    margin-left: 50px;
    color: #1f638d;
    max-width: 380px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
} */


/*.text-block {
  position: relative;
  gap: 0px;
  margin-left: 50px;
  color: #1f638d;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-top: 13px;
}

.heading1 {
  font-family: "La Belle Aurore", cursive;
  font-size: clamp(40px, 8vw, 160px);
  margin: 0;
  line-height: 1.15;
}

.heading2 {
  font-family: "La Belle Aurore", cursive;
  font-size: clamp(40px, 8vw, 160px);
  margin: -10px 0 15px 0;
}



.subtext {
  -webkit-text-stroke: .3px #000000;
}

.subtext {
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 56px;
  line-height: 1.4;
  margin-top: -33px;
}*/

/* ---------------------------
   Base / Container
   --------------------------- */
.urologic-section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* can use 100vh if you prefer */
  max-height: 800px;
  overflow: hidden;
  /*margin-top: 50px;*/
  display: block;
}

/* hero background (full bleed) */
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  /* keep subject to right */
  display: block;
}

/* center content inside 1440px container */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  /* important: matches Figma container */
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  /* vertical center */
  /*padding: 0 40px;     /* optional horizontal gutter inside container */
  box-sizing: border-box;
}

/* ---------------------------
   Green circle (decoration)
   --------------------------- */
.green-circle {
  position: absolute;
  left: 0;
  top: 50%;
  width: 80vw;
  height: 80vw;
  max-width: 565px;
  max-height: 565px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 0 50px 15px #a3e6b5,
    0 0 40px 10px rgba(163, 230, 181, 0.6);
  /* border: 1px solid #000; */
  filter: blur(1px);
}


/* ---------------------------
   Text block (exact Figma dims)
   --------------------------- */
.text-block {
  position: relative;
  width: 555px;
  height: 436px;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /*gap: 50px;*/
  color: #1f638d;
  z-index: 3;
  text-align: center;
  box-sizing: border-box;
}

.heading1 {
  font-family: "La Belle Aurore", cursive;
  font-weight: 400;
  font-size: clamp(40px, 8vw, 160px);
  line-height: 1.13;
  margin: 0;
  /* -webkit-text-stroke: 1px #000; */
  color: #1f638d;
}

.subtext {
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: clamp(20px, 2.3vw, 56px);
  /* responsive smaller text */
  line-height: 1.3;
  margin-top: -33px;
  /* -webkit-text-stroke: .3px #000; */
  /* slight stroke */
  color: #1f638d;
  max-width: 520px;
}

/* ---------------------------
   Responsiveness
   --------------------------- */
/* Reduce sizes a bit on narrower desktops */
@media (max-width: 1599px) {
  .hero-content {
    max-width: 1320px;
    /* New container width */
    padding: 0 32px;
    /* Smaller padding */
  }

  .green-circle {
    width: 500px;
    height: 500px;
  }

  .text-block {
    width: 450px;
    margin-left: 0px;
    gap: 44px;
  }
  .heading1{
    font-size: clamp(45px, 7vw, 160px);
  }

  .subtext {
    font-size: clamp(20px, 2.0vw, 56px);
  }
}
@media (max-width: 1400px) {
  
  .green-circle {
    width: 480px;
    height: 480px;
  }
    
}
@media (max-width: 1200px) {
    .urologic-section{
        height: 85vh;
    }
    .text-block {
        width: 417px;
    }
    .heading1 {
    font-size: clamp(40px, 8vw, 160px);
  }
  .subtext {
  font-size: clamp(20px, 2.3vw, 56px);
  }
  .hero-content {
    max-width: 1140px;
    /* New container width */
    padding: 0 32px;
    /* Smaller padding */
  }
}

@media (max-width: 992px) {
    .urologic-section {
    height: 70vh;
  }

  .hero-content {
    padding: 0 24px;
    align-items: center;
  }

  .green-circle {
    width: 420px;
    height: 420px;
    left: 50px;
  }

  .text-block {
    width: 400px;
    margin-left: 32px;
    gap: 0px;
  }

  .heading1 {
    font-size: clamp(50px, 10.5vw, 160px);
  }

  .hero-content .subtext {
    font-size: clamp(20px, 2.8vw, 56px) !important;
    margin-top: -25px;
  }
}

/* Mobile: center everything, hide large left offset */
@media (max-width: 768px) {
  .hero-content {
    max-width: 540px;
  }

  .urologic-section {
    height: 400px;
    /* padding: 60px 0; */
    margin-top: 0px;
  }

  .green-circle {
    width: 300px;
    height: 300px;
    /* max-width: 300px; */
    /* max-height: 300px; */
    left: 0%;
    /* top: 0%; */
    /* transform: translate(-50%, -50%); */
  }

  .text-block {
    width: 90%;
    max-width: 250px;
    /* margin: 0 auto; */
    margin-left: 0;
    gap: 24px;
    padding-top: 10px;
  }

 

  .subtext {
    font-size: 16px;
    -webkit-text-stroke: 0.2px #000;
  }
}

@media (max-width: 576px) {
  .hero-content {
    max-width: 540px;
  }
}

/* Smallest phones */
@media (max-width: 480px) {
  .urologic-section {
    height: 300px;
  }

  .hero-content {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
  }

  .green-circle {
    width: 220px;
    height: 220px;
    /* top: 45%; */
    left: 3%

  }

  .text-block {
    width: 90%;
    max-width: 200px;
    left: 3%
  }

  .heading1 {
    font-size: clamp(40px, 10vw, 160x);
  }

  .subtext {
    font-size: 20px;
  }
  .hero-content .subtext {
    font-size: clamp(20px, 3vw, 56px) !important;
    margin-top: -25px;
  }
}

/* utility: prevent navbar overlap if you keep body padding approach */
body.with-navbar-gap {
  padding-top: 140px;
}

@media (max-width: 991px) {
  body.with-navbar-gap {
    padding-top: 100px;
  }
}


/* --- RESPONSIVE STYLES --- */
@media (max-width: 1200px) {
  .top-bar img {
    width: 380px;
  }
}

@media (max-width: 992px) {
  .call-box {
    display: none;
  }

  .top-bar img {
    width: 200px;
  }

  .btn-green,
  .btn-blue {
    right: 0;
    width: 80%;
    margin: 0.3rem auto;
  }

  .call-box {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .subtext {
    font-size: 1rem;
    margin-top: 4px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .top-bar img {
    width: 150px;
  }

  /* .green-circle {
    width: 55vw;
    height: 55vw;
    max-width: 220px;
    max-height: 220px;
    left: 50%;
    top: 55%;
  } */

  .text-overlay {
    left: 50%;
    top: 55%;
    max-width: 300px;
  }

  .subtext {
    font-size: 0.6rem;
    margin-top: 4px;
    text-align: center;
  }

  .call-box {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .top-bar img {
    width: 140px;
    position: relative;
    top: -10px;
  }

  /* .green-circle {
    width: 65vw;
    height: 65vw;
    max-width: 200px;
    max-height: 200px;
    left: 50%;
    top: 50%;
  } */

  .text-overlay {
    left: 50%;
    top: 50%;
    width: 90vw;
  }

  .call-box {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

/* --- SPACING FIX (PREVENT IMAGE GAP UNDER NAVBAR) --- */
body {
  padding-top: 140px;
  /* equal to total navbar height */
}

@media (max-width: 991px) {
  body {
    padding-top: 100px;
  }
}



/* --- Welcome Section Styles --- */
.urology-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #fff;
}

.urology-container {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  gap: 1.5rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.urology-image {
  flex: 1;
  display: flex;
}

.urology-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.urology-text {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.urology-text h2 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1rem;
  font-weight: 700;
}

.urology-text p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* ✅ Responsive 1024px */
@media (max-width: 1024px) {
  .urology-container {
    flex-direction: row;
    gap: 1rem;
  }

  .urology-text h2 {
    font-size: 1.8rem;
  }

  .urology-text p {
    font-size: 0.95rem;
  }
}

/* ✅ Responsive 725px */
@media (max-width: 725px) {
  .urology-container {
    flex-direction: column;
  }

  .urology-image.about-image {
    height: 55vw;
  }
  .urology-text h2 {
    font-size: 1.4rem;
  }
  .urology-text.home-about p {
    font-size: 1rem;
    text-align: justify;
  }

  .urology-image,
  .urology-text {
    width: 100%;
  }

  .urology-text {
    padding: 1.5rem;
  }
  .urology-section{
    padding-bottom: 10px !important;
  }
  .contact-section{
    padding-top: 10px !important;
  }
  .contact-section .row{
    gap:1rem !important;
  }
}

/* ✅ Responsive 425px */
@media (max-width: 425px) {
  .urology-text h2 {
    font-size: 1.5rem;
  }

  .urology-text p {
    font-size: 0.9rem;
  }

  .urology-container {
    gap: 1rem;
  }
}



/* --- Contact Section --- */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem 1rem;
  background: #fff;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.2rem;
  width: 100%;
  max-width: 1000px;
  flex-wrap: wrap;
}

/* --- Left Form Box --- */
.contact-form-box {
  flex: 1;
  background: #f8fbff;
  border: 5px solid #0a5ea8;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height:100%;

}

.contact-form-box h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #033b6c;
  margin-bottom: 1.5rem;
}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1.5px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-color: #007a3d;
}

.contact-form-box button {
  background: #00a651;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 0.8rem;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-box button:hover {
  background: #008b45;
}

/* --- Right Info Box --- */
.contact-info-box {
  flex: 1;
  background: #033b6c;
  border: 10px solid #033b6c;
  border-radius: 15px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 100%;
}

.map-container {
  width: 100%;
  height: 340px;
  border-bottom: 2px solid #0a5ea8;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

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

.info-text {
  padding: 1.5rem;
}

.info-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-text p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.info-text i {
  color: #00b4d8;
  margin-right: 8px;
}

/* ✅ Responsive 1024px */
@media (max-width: 1024px) {
  .contact-container {
    flex-direction: row;
    gap: 1rem;
  }
}

/* ✅ Responsive 725px */
@media (max-width: 725px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-form-box,
  .contact-info-box {
    width: 100%;
  }

  .map-container {
    height: 220px;
  }
}

/* ✅ Responsive 425px */
@media (max-width: 425px) {
  .contact-form-box h2 {
    font-size: 1.3rem;
  }

  .info-text p {
    font-size: 0.9rem;
  }

  .map-container {
    height: 200px;
  }
}

p i {
  color: #fff;
  /* ✅ white icon */
  border: 2px solid #fff;
  /* ✅ white circular border */
  border-radius: 50%;
  /* make it round */
  padding: 8px;
  /* spacing inside the circle */
  margin-right: 8px;
  /* space between icon and text */
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  /* no fill, just outline */
}



/* --- FOOTER SECTION --- */

/* --- FOOTER SECTION --- */
.footer-section {
  width: 100%;
  background: linear-gradient(90deg, #184a80 0%, #003366 100%);
  color: #fff;
  text-align: center;
  padding-top: 40px;
  font-family: "Poppins", sans-serif;
}

/* --- Top Footer --- */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* --- Logo and Title --- */
.footer-logo img {
  width: 200px;
  height: auto;
}

.footer-logo h2 {
  font-size: 28px;
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-logo h2 span {
  font-weight: 400;
}

/* --- Navigation Links --- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.footer-nav li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 15px;
  transition: 0.3s;
}

.footer-nav li a:hover {
  color: #00bfff;
}

/* --- White Divider Line --- */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

/* --- Bottom Copyright --- */
.footer-bottom {
  background: #002244;
  padding: 15px 0;
  font-size: 14px;
}

.footer-bottom a {
  color: #00ff80;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .footer-logo h2 {
    font-size: 22px;
  }

  .footer-nav {
    gap: 20px;
  }

  .footer-nav li a {
    font-size: 14px;
  }
}

.colored-image {
  filter: brightness(0) invert(1);
}


/* Custom Navbar Styling */
.custom-navbar {
  background: linear-gradient(to bottom, #ffffff 80%, #f8f8f8);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  height: 80px;
  /* Increased height */
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Center all items nicely */
.custom-navbar .navbar-nav .nav-link {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  padding: 5px 12px;
  transition: color 0.3s ease;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
  color: #009F4D;
}

/* Buttons */
.btn-green {
  background-color: #009F4D;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 45px;
  font-weight: 600;
  font-size: 15px;
  height: 50px;
  /* Equal height */
  line-height: 25px;
  transition: all 0.3s ease;
}

.btn-green:hover {
  transform: translateY(-2px);
  background-color: #008843 !important;
  box-shadow: 0 4px 10px #00884469;
}

.btn-blue {
  background: linear-gradient(90deg, #0056B3 0%, #003E91 100%);
  border:2px solid linear-gradient(90deg, #0056B3 0%, #003E91 100%);
  color: #fff;
  /* border: none; */
  padding: 12px 25px;
  border-radius: 45px;
  font-weight: 600;
  font-size: 15px;
  height: 50px;
  line-height: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 50, 150, 0.3);
}

.btn-blue:hover {
  background: linear-gradient(90deg, #0066CC 0%, #0049A5 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 50, 150, 0.4);
}
.btn-white:hover{
  transform: translateY(-2px);
  /* background: linear-gradient(90deg, #0066CC 0%, #0049A5 100%); */
  box-shadow: 0 4px 10px rgba(0, 50, 150, 0.4);
}
/* Mobile call section */
.call-box {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #045F30;
  font-size: 14px;
}


.call-box .call-number {
  /* font-weight: 700; */
  color: #000;
}

/* Responsive Fixes */
@media (max-width: 991px) {
  .custom-navbar {
    height: auto;
    padding: 20px 0;
  }
}


/* Gradient line under navbar */
/* Gradient line under navbar - centered with side spacing */
.custom-navbar::after {
  content: "";
  display: block;
  height: 2px;
  /* thickness of the line */
  width: 100%;
  /* reduces width from both sides */
  background: linear-gradient(90deg, #00A04D 0%, #0057A2 100%);
  position: absolute;
  left: 0;
  /* centers the line (100% - 94%) / 2 = 3% */
  bottom: 0;
  border-radius: 50px;
  /* makes ends smooth */
}


.custom-navbar {
  background: linear-gradient(to bottom, #ffffff 85%, #f9f9f9);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 20px 0;
  position: relative;
  /* 🔥 Needed for line positioning */
}




/* --- MAIN NAVBAR --- */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* --- TOP BAR --- */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0vw;
  /* responsive left & right spacing */
  border-bottom: 1px solid #ddd;
  height: 110px;
}

/* --- LOGO --- */
.top-bar img {
  width: 160px;
  /* desktop size */
  height: auto;
  transition: 0.4s ease-in-out;
}

/*  Responsive logo scaling on smaller laptops */
@media (max-width: 1400px) {
  .top-bar img {
    width: 140px;
  }
}

@media (max-width: 1200px) {
  .top-bar img {
    width: 130px;
  }
}

@media (max-width: 1024px) {
  .top-bar img {
    width: 120px;
  }
}

/* --- CALL BOX (Right side) --- */
.call-box {
  display: flex;
  align-items: center;
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
  font-size: 0.95rem;
  gap: 8px;
  transition: all 0.4s ease-in-out;
}

/* Responsive text & spacing */
@media (max-width: 1400px) {
  .call-box {
    font-size: 0.9rem;
  }
}

@media (max-width: 1200px) {
  .call-box {
    font-size: 0.85rem;
  }
}





/* Reusable animation classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.9s ease-out;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.9s ease-out;
}

/* When element becomes visible */
.show {
  opacity: 1;
  transform: translate(0);
}


/* =============== PAGE LOADER =============== */
.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: hideLoader 1.8s forwards;
  /* loader duration */
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top-color: #0077ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* Hide loader after delay */
@keyframes hideLoader {
  0% {
    opacity: 1;
    visibility: visible;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Spinner rotation */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px !important;
  }
}

.contact-section textarea[name="your-message"] {
    height: 120px !important; /* same as rows="4" */
}


.btn-green, .btn-blue, .btn-white {
    padding: 12px 28px; /* Makes all buttons equal size */
    border-radius: 30px; /* Smooth pill shape */
    font-weight: 600;
    display: inline-block;
    white-space: nowrap; /* Prevent text from breaking into 2 lines */
}
.btn-white{
  padding: 10px 28px !important;
}
.btn-white, .btn-white:hover {
    background-color: #ffffff;
    color: #0a5ea8;
    border: 5px solid #0a5ea8;
    transition: all 0.3s ease;
}
.btn-green:hover {
  background-color: #0a5ea8;
  box-shadow: 0 0 10px rgba(0, 91, 122, 0.5);
}
.text-center.mt-3.mt-lg-0.d-flex.gap-2.justify-content-center.flex-wrap a {
    margin: 5px; /* Small margin for spacing so flex-wrap doesn’t break layout */
}

/* Large (lg) — ≥992px */
@media (min-width: 992px) and (max-width: 1199.9px) {
  .navbar-nav {
    gap: 0.6rem;
    min-width: 100%;
    /* justify-content: flex-start; */
  }
  .header-button{
    position: absolute;
    right: 0;
    top: -65px;
    flex-wrap: nowrap !important;
  }
  .header-button .btn-green, .header-button .btn-blue, .header-button .btn-white{
    padding: 5px 8px;
    font-size: 13px;
    margin: 5px;
    width: 35%;
    height: unset;
    font-size: 12px;
  }
  .hero-section {
    height: 300px !important;
    padding-top: 120px !important;
  }
  #navbarMenu{
    position: relative;
  }
}


/* Extra Large (xl) — ≥1200px */
@media (min-width: 1200px) and (max-width: 1399.9px) {
  .navbar-nav {
    gap:0rem;
    min-width: 55%;
  }
  .header-button {
    flex-wrap: nowrap !important;
  }
  .header-button .btn-green, .header-button .btn-blue, .header-button .btn-white{
    padding: 12px 12px;
    font-size: 13px;
    margin-left: 5px;
  }
}


/* Extra Extra Large (xxl) — ≥1400px */
@media (min-width: 1400px) and (max-width: 1599px) {
  .navbar-nav {
    gap:0.4rem;
  }
}