/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  font-family: 'Arial', sans-serif;
  background-color: aliceblue;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

/* Container Styling */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}


.heading_container {
  text-align: center;
  margin-bottom: 40px;
  padding-top: 120px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 39px;
  color: #273f75;
}

.heading_container h2 {
  font-size: 36px;
  color: #273f75;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* .heading_container h2::after {
    content: '';
    width: 50%;
    height: 4px;
    background-color: #444;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  } */

/* Responsive Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.col-lg-8,
.col-md-7,
.col-md-5,
.col-lg-4 {
  padding: 10px;
}

/* Columns for Different Screen Sizes */
.col-lg-8 {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
}

.col-md-7 {
  flex: 0 0 58.3333%;
  max-width: 58.3333%;
}

.col-md-5 {
  flex: 0 0 41.6667%;
  max-width: 41.6667%;
}

.col-lg-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}


/* Map Container Styling */
.map_container {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  transition: transform 0.3s ease-in-out;
  transform: scale(0.98);
}

.map_container:hover {
  transform: scale(1);
}

.map-responsive {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Styling */
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  animation: fadeInUp 0.5s ease-in-out;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #03b6ec;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #333;
}

.message-box {
  height: 150px;
}

.btn {
  display: inline-block;
  background-color: #ffffff;
  color: #000000;
  outline: 1px #03b6ec;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #03b6ec;
  text-align: center;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #03b6ec;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {

  .col-lg-8,
  .col-md-7,
  .col-md-5,
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .heading_container h2 {
    font-size: 28px;
  }
}

.dropdown {
  position: relative;
}

.dropdown-content {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  background-color: #ffffff;
  width: 300px; /* Fixed width instead of min-width */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 4px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.97);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  perspective: 1000px;
  padding: 8px 0;
}

.dropdown:hover .dropdown-content {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-content li {
  display: block;
  width: 100%;
  padding: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  transition-delay: calc(0.1s * var(--i));
  border-bottom: 1px solid rgba(0,0,0,0.1);
  animation: slideIn 0.3s ease forwards;
  animation-delay: calc(0.1s * var(--i));
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content a {
  color: #000000 !important;
  padding: 12px 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  font-size: 12px !important;
  line-height: 1.5;
  height: 48px; /* Fixed height for all items */
  text-align: left;
}

.dropdown-content a:hover {
 
  color: #ffffff !important;
  padding: 12px 24px;
}

.dropdown-content a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(39, 63, 117, 0.1);
  opacity: 0;
  left: 0;
  top: 0;
  transform-origin: center;
  pointer-events: none;
  z-index: -2;
}

.dropdown-content a:hover::after {
  animation: fullWidthRipple 0.6s ease-out;
}

@keyframes fullWidthRipple {
  0% {
    transform: scaleX(0) scaleY(0);
    opacity: 0.4;
  }
  100% {
    transform: scaleX(1) scaleY(1);
    opacity: 0;
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px) rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  .dropdown-content {
    width: 100%;
    position: static;
    transform: none;
    box-shadow: none;
  }
  
  .dropdown-content a {
    height: 48px; /* Maintain consistent height on mobile */
  }
}