* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    }

/* main section  */
.main{
    margin-top: 55px;
}
.main1{
    background-color: #c9e3f8;
    text-align: center;
    padding: 55px;
    h1{
        font-size: 40px;
        color:#1E3A8A;
    }
    p{
        font-size: 20px;
      color: rgb(96, 95, 95);

    }
    strong{
      color:#1E3A8A;
    }
}
 /* Contact Details Block */
.main2 {
  max-width: 700px;
  margin: 20px auto;
  background: linear-gradient(#1E3A8A,skyblue);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-size: 18px;
  line-height: 1.8;
  color: #ffffff;
}

.main2 p {
  margin: 10px 0;
}
/* Contact Section Base */
.contact-animated-section {
  padding: 60px 60px;
  gap: 40px;
  background: linear-gradient(145deg, #f3faff, #ffffff);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  display: flex;
  gap: 30px;
  width: 100%;
  flex-wrap: wrap;
}

/* Embedded Map Styling */
.contact-map {
  flex: 1;
  height: 420px;
  border: 2px solid #1E3A8A;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Form Styling */
.contact-form {
  flex: 1;
  background: linear-gradient(to bottom right, #e7ecff,rgb(185, 235, 255));
  padding: 10px 30px;
  height: 420px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: slideInRight 1.2s ease forwards;
  opacity: 0;
}

.contact-form h2 {
  font-size: 26px;
  margin-bottom: 20px;
  text-align: center;
  color:#1E3A8A;
}

.contact-form form .form-group {
  margin-bottom: 10px;
  position: relative;
  
}

.contact-form input,
.contact-form textarea {
  width: 98%;
  padding: 14px 16px;
  border: none;
  outline: none;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: #f0fbff;
  box-shadow: 0 0 12px rgba(0, 160, 255, 0.5);
}

.contact-form button {
  width: 98%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, #1E3A8A,rgb(135, 175, 235));
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s ease;
}

.contact-form button:hover {
  box-shadow: 0 0 18px rgba(17, 54, 16, 0.6);
  background: linear-gradient(to right,rgb(135, 175, 235), #1E3A8A);

}

/* Animation */
@keyframes slideInRight {
  0% {
    transform: translateX(80px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive */
/* ---------------- Responsive ---------------- */

@media (max-width: 1025px) {
  .main1 h1 {
    font-size: 36px;
  }

  .main1 p {
    font-size: 18px;
  }

  .main2 {
    padding: 25px;
    font-size: 17px;
  }

  .contact-form {
    width: 90%;
    height: auto;
    padding: 20px;
  }

  .contact-map {
    height: 450px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 98%;
  }

  .contact-form button {
    width: 98%;
  }
}

@media (max-width: 769px) {
  .main1 h1 {
    font-size: 30px;
  }

  .main1 p {
    font-size: 16px;
  }

  .main2 {
    padding: 20px;
    font-size: 16px;
  }

  .contact-animated-section {
    
    padding: 40px 20px;
    gap: 30px;
  }

  
  .contact-map,
  .contact-form {
    width: 90%;
    /* flex: none; */
  }

  .contact-map {
    height: 450px;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 426px) {
  .main1 h1 {
    font-size: 26px;
  }

  .main1 p {
    font-size: 15px;
  }

  .main2 {
    padding: 18px;
    font-size: 15px;
  }
.contact-container {
    flex-direction: column;
  }

  .contact-animated-section {
    flex-direction: column;
    padding: 30px 15px;
    gap: 20px;
  }

  .contact-map {
    height: 300px;
    width: 100%;
    border-width: 1px;
  }

  .contact-form {
    width: 100%;
    padding: 18px;
  }

  .contact-form h2 {
    font-size: 22px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 14px;
  }

  .contact-form button {
    padding: 12px;
    font-size: 14px;
  }
}



/* Floating Button Container */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  text-decoration: none;
  cursor: pointer;
  animation: floatUpDown 3s ease-in-out infinite;
}

.wa-bubble {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.wa-bubble svg {
  width: 28px;
  height: 28px;
}

.wa-bubble::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  left: 0;
  top: 0;
  filter: blur(12px);
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}

.whatsapp-float:hover .wa-bubble {
  transform: scale(1.1);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.6);
}

/* Floating animation */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Responsive */
@media (max-width: 480px) {
  .wa-bubble {
    width: 50px;
    height: 50px;
  }
  .wa-bubble svg {
    width: 24px;
    height: 24px;
  }
} 



/* /* Overlay background  */
  .overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(2px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
  }

  /* Form container */
  .overlay.active { 
    display: flex; 
  }
  .overlay-form {
    background-color: #1E3A8A;
    padding:60px 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
    color: #fff;
    animation: fadeInUp 0.5s ease;
  }

  @keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
  }

  /* Close button */
  .overlay-form .close-btn {
    position: absolute;
    top: 12px; right: 12px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .overlay-form .close-btn:hover { transform: rotate(90deg); }

  /* Form elements */
  .overlay-form h2 { margin-bottom: 20px; text-align: center; font-size: 1.6rem; }
  .overlay-form input, 
  .overlay-form select, 
  .overlay-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
  }
  .overlay-form textarea { 
    resize: none; 
    height: 90px; 
  }
  .overlay-form select {
     background-color: #ffffff;
     width: 100%;
      color: #000;
     }

  /* Submit button */
  .overlay-form button {
    width: 100%;
    padding: 12px;
    color: white;
    background: linear-gradient(to right, #0786fd,rgb(135, 175, 235));
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  .overlay-form button:hover { 
        background: linear-gradient(to right,rgb(135, 175, 235), #0786fd);
}


  /* ==============================
     RESPONSIVE DESIGN
  ============================== */

  /* Tablets (max 768px) */
  @media (max-width: 768px) {
    .overlay-form {
      width: 90%;
      max-width: 400px;
      padding: 10px 30px;
    }

    .overlay-form h2 {
      font-size: 1.4rem;
    }

    .overlay-form input,
    .overlay-form select,
    .overlay-form textarea {
      font-size: 0.95rem;
      padding: 10px 20px;
      /* width: 95%; */
    }
 /* .overlay-form select {
     width: 100%;
     } */
    .overlay-form button {
      font-size: 0.95rem;
      padding: 10px;
    }
  }

  /* Mobile (max 480px) */
  @media (max-width: 480px) {
    .overlay-form {
      width: 90%;
      max-width: 350px;
      padding: 20px 18px;
      margin: 30px;
      border-radius: 10px;
    }
.overlay-form select {
     width: 100%;
     }
    .overlay-form h2 {
      font-size: 1.2rem;
      margin-bottom: 15px;
    }

    .overlay-form input,
    .overlay-form select,
    .overlay-form textarea {
      font-size: 0.9
    }
  }

  /* ✅ For Small Mobiles (≤375px) */
@media (max-width: 376px) {
  .overlay-form {
    width: 90%;
    max-width: 310px;
    padding: 20px 25px;
  }
  .overlay-form h2 { font-size: 1.1rem; }
  .overlay-form input,
  .overlay-form select,
  .overlay-form textarea {
    font-size: 0.85rem;
    padding: 9px 10px;
  }
  .overlay-form select {
     width: 100%;
     }
  .overlay-form button {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* ✅ For Extra Small Mobiles (≤320px) */
@media (max-width: 320px) {
  .overlay-form {
    width: 95%;
    max-width: 280px;
    padding: 18px;
  }
  .overlay-form h2 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .overlay-form select {
     width: 100%;
     }
  .overlay-form input,
  .overlay-form select,
  .overlay-form textarea {
    font-size: 0.8rem;
    padding: 8px 9px;
  }
  .overlay-form button {
    font-size: 0.85rem;
    padding: 9px;
  }
  .overlay-form .close-btn {
    font-size: 18px;
    top: 8px;
    right: 8px;
  }
}