.contact-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.05);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for contrast */
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-overlay h1 {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.banner-content {
  text-align: center;
  color: #fff;
}

/* Contact Section */
.contact-section {
  padding: 60px 10%;
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
}



.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}
.contact-map{
  min-height:565px;
  background:#fff;
  padding : 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
/* Form Styling */
.contact-form h2,
.contact-map h2 {
  margin-bottom: 20px;
  color: #b34237;
}
.phone-otp-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.phone-field input {
  width: 100%;
}

.otp-buttons {
  display: flex;
  gap: 10px;
}

.otp-btn,
.resend-btn {
  margin-top: 0 !important;
}

.form-group {
  margin-bottom: 18px;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  transition: 0.3s;
}

input:focus,
textarea:focus {
  border-color: #5eab3f;
  outline: none;
  box-shadow: 0 0 5px #0daf08a9;
}

.submit-btn {
  background: #5eab3f;
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(38, 166, 154, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
  z-index: 0;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  background: #00796b;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 121, 107, 0.3);
}


/* Google Map Styling */
.contact-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 10px;
}

/* Animations */
.animate-slide {
  animation: slideInLeft 1s ease forwards;
  opacity: 0;
}

.animate-fade {
  animation: fadeIn 1.5s ease forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}


/* Shake animation on error */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

.shake {
  animation: shake 0.4s;
}


/* Toast Notification */
.toast {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #4caf50;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  opacity: 0;
  z-index: 9999;
  transform: translateY(20px);
  transition: all 0.5s ease-in-out;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}


.contact-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 0;
  backdrop-filter: blur(5px);
}

.info-card {
  flex: 1 1 calc(25% - 18px);
      min-width: 300px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  border-left: 5px solid #5eab3f;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Hover Animation */
.info-card i {
  font-size: 32px;
  margin-right: 10px;
  display: inline-block;
  transition: transform 0.6s ease-in-out;
}

/* Card Hover Effects */
.info-card:hover {
  transform: translateY(-6px);
  background-color: #e0f7fa;
  box-shadow: 0 8px 18px rgba(38, 166, 154, 0.2);
}

/* Icon Flip on Card Hover */
.info-card:hover i {
  transform: rotateY(360deg);
}



/* Title + Icon */
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  margin-bottom: 12px;
  color: #b34237;
  font-weight: 600;
}

/* Icon inside h3 */
.info-card h3 i {
  font-size: 20px;
  color: #5eab3f;
  background: #e0f7fa;
  padding: 8px;
  border-radius: 50%;
}

/* Text */
.info-card p {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
  margin: 4px 0;
}


/* Hover effect */
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(38, 166, 154, 0.2);
}

/* Heading and icon styling */
.info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #b34237;
  font-size: 18px;
  margin-bottom: 10px;
}

/* FontAwesome icon color */
.info-card h3 i {
  color: #5eab3f;
  font-size: 28px;
}

/* Text styling */
.info-card p {
  margin: 4px 15px;
  font-size: 18px;
  color: #333;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

