/* ========== Reset & Base ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html, body {
  overflow-x: hidden;
}

.wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

/* ========== Topbar & Header ========== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  background-color: rgb(31, 58, 80);
  color: #fff;
  width: 100%;
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 70px;
}

.logo h2 {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: rgb(217, 144, 9);
}

/* ========== Navigation / Links ========== */
.hamburger {
  display: none;
  font-size: 44px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.navBar {
  display: block;
}

.navLinks {
  width: 100%;
  /* overflow-x: hidden; */ /* removed to allow dropdown to show */
}

.linkRight {
  display: flex;
  flex-direction: row;
  gap: 27px;
  align-items: center;
  list-style: none;
}

.linkRight a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
}

.linkRight a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.linkRight a:hover {
  color: rgb(217, 144, 9);
}

.linkRight a:hover::after {
  width: 100%;
}

.linkRight button {
  padding: 6px 12px;
  background: rgb(217, 144, 9);
  width: 120px;
  color: black;
  border: none;
  height: 40px;
  border-top-right-radius: 40px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.linkRight button:hover {
  background: white;
  color: rgb(31, 58, 80);
}

/* ========== Dropdown Menu ========== */
.linkRight li.dropdown {
  position: relative; /* parent reference for absolute menu */
}

/* Dropdown appears ABOVE parent link */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* show above the link */
  left: 0;
  margin-top: 5px;
  background: white;
  min-width: 150px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  border-radius: 6px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: rgb(31, 58, 80);
  text-decoration: none;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgb(217, 144, 9);
  color: black;
  font-weight: bold;
}


/* .linkRight li.dropdown:hover > .dropdown-menu {
  display: block;
} */

/* Desktop: show on hover */
@media (min-width: 451px) {
  .linkRight li.dropdown:hover > .dropdown-menu {
    display: block;
  }
}

/* ========== Mobile / Responsive ========== */
@media (max-width: 450px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 15px;
    gap: 10px;
  }

  .logo {
    margin-left: 0;
  }

  .hamburger {
    display: block;
    align-self: flex-end;
    margin-left: 40px;
    margin-bottom: 10px;
  }

  .navBar {
    display: none;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
  }

  .navBar.active {
    display: block !important;
  }

  .linkRight {
    flex-direction: column;
    gap: 20px;
    padding: 10px 20px;
  }

  .linkRight button {
    background-color: rgb(223, 181, 104);
    color: #555;
    width: 100%;
    border-radius: 6px;
  }

  .linkRight a {
    color: #fff !important;
    font-size: 18px;
  }

  /* Mobile dropdown shows below parent (clickable) */
  .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    background-color: rgb(31, 58, 80);
    border-radius: 0;
    box-shadow: none;
    display: none; /* hidden initially */
  }

  .dropdown-menu li a {
    background-color: rgb(223, 181, 104) !important;
    color: #555 !important;
  }

  /* Show dropdown when parent gets focus */
  .linkRight li.dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}





/* span{
  color:#f39c12;
} */








/* Hero section for contact page */
.contact-hero {
  position: relative;
  width: 100%;
  height: 80vh; /* adjust height as needed */
  min-height: 300px;
  background: url('./43.img.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.contact-hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-hero p {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background-color:#f39c12; 
  color:#555;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1em;
  /* border-radius: 4px; */
  border-top-right-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color:rgb(247, 124, 145);
}

/* Responsive adjustments */
@media (max-width: 450px) {
  .contact-hero {
    height: 60vh; /* reduce height for small screens */
    padding: 0 10px;
  }

  .contact-hero h1 {
    font-size: 2rem; /* smaller heading */
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .contact-hero p {
    font-size: 1rem; /* smaller paragraph */
    margin-bottom: 20px;
  }

  .btn-primary {
    padding: 12px 25px; /* smaller button */
    font-size: 1rem;
  }
}








/* Enhanced Contact Section CSS */
#contact {
  /* padding: 20px 20px; */
  font-family: Arial, sans-serif;
  color: #333;
}

.contact-container {
  width: 1250px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

/* .contact-info {
  flex: 1 1 350px;
  margin-top: 140px;
  margin-bottom: 150px;
  border: 5px solid salmon;
  border-top-left-radius: 150px;
  background-color: rgb(31, 58, 80);
  padding: 50px;
} */

.contact-info {
  width: 550px;
  margin: 140px 20px 150px 40px; /* top, right, bottom, left */
  border: 5px solid salmon;
  border-top-left-radius: 150px;
  background-color: rgb(31, 58, 80);
  padding: 50px;
  padding-top: 200px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}

.contact-info h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color:whitesmoke;
}

.contact-info p {
  color:rgb(217, 144, 9);
  margin-bottom: 20px;
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.contact-details-list li {
  margin-bottom: 12px;
  line-height: 1.4;
  color: white;
}

.contact-details-list li strong{
    color:salmon;
}

.branch-offices h3,
.social-media h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.2em;
  color: rgb(217, 144, 9);
}

.branch-offices ul {
  list-style: none;
  padding: 0;
}

.branch-offices ul li {
  margin-bottom: 8px;
  color: wheat;
}

.branch-offices ul li strong{
    color: salmon;
}

.social-media {
  margin-top: 20px;
}

/* .contact-form {
  flex: 1 1 400px;
  border: 5px solid rgb(31, 58, 80);
   border-top-right-radius: 150px;
  padding: 50px;
} */

.contact-form {
  width: 550px;
  margin: 140px 0 150px 20px;
  border: 5px solid rgb(31, 58, 80);
  border-top-right-radius: 150px;
  padding: 50px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}

.contact-form h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color:rgb(31, 58, 80);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid salmon;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 1em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #007BFF;
  outline: none;
}

button[type="submit"] {
  background-color:salmon;
  color:#555;
  font-weight: bold;
  padding: 14px 28px;
  border: none;
  margin-left: 200px;
  border-top-right-radius: 50px;
  cursor: pointer;
  font-size: 1.1em;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background-color: rgb(31, 58, 80);
  color: white;
}

/* Responsive adjustments */
/* @media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
  }
} */


/* add this to your CSS (or keep if already present) */
.input-error {
  border-color: red !important;
  box-shadow: 0 0 6px rgba(255,0,0,0.2);
}


@media (max-width: 450px) {
  #contact {
    padding: 40px 15px;
  }

  .contact-container {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  /* .contact-info,
  .contact-form {
    flex: 2 1 70%;
    margin-top: 0;
    margin-bottom: 0;
    padding: 30px;
    border-width: 3px;
  } */

  .contact-info,
  .contact-form {
    width: 100%;       /* full width */
    margin: 20px 0;    /* reduce spacing */
    display: block;    /* stack vertically */
    /* border-radius: 50px;  */
    padding: 40px;     /* smaller padding */
    margin-left:1px;
  }

  .contact-info h2 {
    font-size: 1.6em;
    margin-left: 120px;
    margin-bottom:20px;
  }

  .contact-info p,
  .contact-details-list li,
  .branch-offices ul li,
  .social-media h3 {
    font-size: 0.95em;
  }

  .contact-form h3 {
    font-size: 1.5em;
    margin-bottom: 25px;
    width: 310px;
    margin-left:2px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 8px 10px;
    font-size: 0.95em;
  }

  button[type="submit"] {
    margin-left: 0;
    width: 100%;
    padding: 12px 20px;
    font-size: 1em;
    border-top-right-radius: 25px;
  }
}















/* Footer Styles */

.site-footer {
  background-color:rgb(31, 58, 80);   /* dark background */
  color: #f9f9f9;            /* light text */
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  padding-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  /* max-width: 1200px; */
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
  margin-left:100px;
}


.footer-contact{
  color:rgb(217, 144, 9);
}

.col{
  display: flex;
  flex-direction: row;
  margin-left: -50px;
  margin-top: -25px;
}

.col p{
  margin-top: 30px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.footer-contact a {
  color: #f9f9f9;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  transition: color 0.3s;
  /* font-weight: bold; */
}

.footer-contact a:hover {
  color: #1abc9c;  /* accent color */
}

.footer-column h4 {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: rgb(217, 144, 9);
  position: relative;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: rgb(217, 144, 9);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #f9f9f9;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: bold;
}

.footer-column ul li a:hover {
  color: #1abc9c;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #333;
  border-radius: 50%;
  color: #f9f9f9;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
  background-color: #1abc9c;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaaaaa;
}

.footer-bottom a {
  color: #cccccc;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: #1abc9c;
}

/* ====== Mobile / Responsive Footer for 450px ====== */
@media (max-width: 450px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
  }

  .footer-column {
    margin-left: 0; /* remove extra left margin */
    text-align: center;
    margin-top: -20px;
  }

  .footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-column ul li {
    margin-bottom: 8px;
  }

  .social-icons {
    justify-content: center;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
    margin-top: -80px;
  }

  .footer-bottom a {
    margin: 0 5px;
  }

  .col {
    flex-direction:row;
    margin-left: 0;
    margin-top: 0;
  }

  .col p {
    margin-top:30px;
  }

  .footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
  }
}