/* Info Cards */
.modern_iconbox {
  position: relative;
  padding: 35px 25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  overflow: hidden;
  height: 100%;
}

.modern_iconbox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 68, 235, 0.05) 0%, rgba(0, 191, 182, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.modern_iconbox:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 68, 235, 0.15);
  border-color: rgba(0, 68, 235, 0.2);
}

.modern_iconbox:hover::before {
  opacity: 1;
}

.modern_iconbox .icon_wrapper {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern_iconbox .icon_bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0044eb 0%, #00bfb6 100%);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.modern_iconbox:hover .icon_bg {
  transform: rotate(180deg) scale(1.1);
}

.modern_iconbox .icon_wrapper img {
  position: relative;
  max-width: 30px;
  z-index: 1;
  filter: brightness(0) invert(1);
}

.modern_iconbox {
  position: relative;
  padding: 35px 25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  overflow: hidden;
  height: 100%;
  text-align: center;  /* Add this line */
}

.modern_iconbox .iconbox_text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

/* Modern Contact Form */
.modern_contact_form {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.modern_contact_form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0044eb 0%, #00bfb6 100%);
}

.form_header {
  margin-bottom: 35px;
}

.form_badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(0, 68, 235, 0.1) 0%, rgba(0, 191, 182, 0.1) 100%);
  color: #0044eb;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.form_title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.form_subtitle {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

/* Modern Form Groups */
.modern_form_group {
 margin-bottom: 20px;
 position: relative;
}

.modern_input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 15px;
  color: #1a1a1a;
  background: #fafafa;
  transition: all 0.3s ease;
  outline: none;
}

.modern_input:focus {
  border-color: #0044eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 68, 235, 0.1);
}

.modern_input:focus + .modern_label,
.modern_input:not(:placeholder-shown) + .modern_label {
  transform: translateY(-32px) scale(0.85);
  color: #0044eb;
  background: #ffffff;
  padding: 0 8px;
}

.modern_label {
  display: none; 
}

.input_icon {
   position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
  transition: color 0.3s ease;
}

.modern_input:focus ~ .input_icon {
  color: #0044eb;
}

.modern_textarea {
  resize: vertical;
  min-height: 120px;
  padding-top: 18px;
}

.modern_select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  cursor: pointer;
}

.modern_select option {
  padding: 10px;
}

/* Submit Button */
.modern_submit_btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #0044eb 0%, #00bfb6 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 68, 235, 0.3);
}

.modern_submit_btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.modern_submit_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 68, 235, 0.4);
}

.modern_submit_btn:hover::before {
  left: 100%;
}

.modern_submit_btn:active {
  transform: translateY(0);
}

.btn_text {
  position: relative;
  z-index: 1;
}

.btn_icon {
  position: relative;
  z-index: 1;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.modern_submit_btn:hover .btn_icon {
  transform: translateX(5px);
}

/* Modern Map Wrapper */
.modern_map_wrapper {
  position: relative;
  height: 100%;
  min-height: 600px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.map_overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.map_badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: #1a1a1a;
  animation: float 3s ease-in-out infinite;
}

.map_badge i {
  color: #0044eb;
  font-size: 18px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.modern_map_wrapper .gmap_canvas {
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.modern_map_wrapper .gmap_canvas iframe {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
  border-radius: 24px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .modern_contact_form {
    padding: 30px;
    margin-bottom: 30px;
  }
  
  .form_title {
    font-size: 28px;
  }
  
  .modern_map_wrapper {
    min-height: 450px;
  }
  
  .modern_map_wrapper .gmap_canvas iframe {
    min-height: 450px;
  }
}

@media (max-width: 767px) {
  .modern_iconbox {
    padding: 30px 20px;
  }
  
  .modern_contact_form {
    padding: 25px;
  }
  
  .form_title {
    font-size: 24px;
  }
  
  .modern_input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    background: #ffffff;
    outline: none;
    transition: border-color 0.3s ease;
  }

  /* Static Label (no floating animation) */
.modern_label {
  display: block;
  margin-bottom: 8px;
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  left: 0;
  top: 0;
  transform: none;
  pointer-events: auto;
}

.modern_input {
  width: 100%;
  padding: 18px 20px 18px 50px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 15px;
  color: #1a1a1a;
  background: #fafafa;
  transition: all 0.3s ease;
  outline: none;
}

.modern_input:focus {
 border-color: #0044eb;
}

.modern_input::placeholder {
    color: #999;
}
}
.modern_textarea {
    resize: vertical;
    min-height: 120px;
}

/* Remove all floating label animations */
.modern_input:focus + .modern_label,
.modern_input:not(:placeholder-shown) + .modern_label,
.modern_textarea:focus + .modern_label,
.modern_textarea:valid + .modern_label {
  transform: none;
  color: #1a1a1a;
  background: transparent;
  padding: 0;
}

