/* ---------- GLOBAL ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* ---------- HERO SECTION ---------- */
/* ---------- HERO SECTION (with animation) ---------- */
.contact-hero {
  position: relative;
  background: url("../assest/contact/C1.jpg") center/cover no-repeat;
  height: 69vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  opacity: 0;
  transform: scale(1.1);
  animation: fadeBg 1.6s ease-out forwards;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 1.4s ease-out 0.3s forwards;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  font-size: 1.2rem;
  color: #e5e5e5;
  line-height: 1.7;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeBg {
  from {
    opacity: 0;
    transform: scale(1.15);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- CONTACT SECTION ---------- */
.contact-section {
  padding: 80px 5%;
  background: linear-gradient(to right, #ffffffff, #ffffffff);
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-image {
  flex: 1 1 45%;
}

.contact-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.contact-form {
  flex: 1 1 50%;
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  color: #03254c;
  margin-bottom: 10px;
}

.contact-form p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #bd0000;
  box-shadow: 0 0 5px rgba(189, 0, 0, 0.4);
}

.btn-submit {
  background: #bd0000;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-submit:hover {
  background: #a00000;
}

/* MAP + BRANCH SECTION */
.map-branch-section {
  background: linear-gradient(to right, #170768ff, #020d31ff);
  padding: 80px 5%;
 
  
  color: #fff;
}

.map-branch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1 1 45%;
}

.contact-info h2 {
  color: #ffffffff;
  margin-bottom: 15px;
}

.contact-info hr {
  border: 1px solid #0a74da;
  width: 80%;
  margin-bottom: 25px;
}

.info-box {
  background: #1a1a1a;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.info-box p {
  margin: 5px 0 0;
  color: #ddd;
}

.follow-text {
  margin-top: 15px;
}

.social-icons a {
  color: #0a74da;
  font-size: 20px;
  margin-right: 15px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #0a74da;
}

.map-box {
  flex: 1 1 45%;
}

.map-box iframe {
  width: 100%;
  border-radius: 10px;
}

/* BRANCH STYLING */
.branch-section {
  text-align: center;
}

.branch-section h2 {
  color: #ffffffff;
  margin-bottom: 40px;
}

.branch-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.branch {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 25px;
  max-width: 400px;
  text-align: left;
  transition: 0.3s;
}

.branch:hover {
  background: #222;
}

.branch h3 {
  color: #fff;
  margin-bottom: 10px;
}

.branch p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.branch i {
  color: #ffffffff;
  margin-right: 8px;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .map-branch-container {
    flex-direction: column;
  }

  .contact-info, .map-box {
    flex: 1 1 100%;
  }

  .map-box iframe {
    height: 300px;
  }
}

/* ---------- RESPONSIVE DESIGN ---------- */
@media (max-width: 991px) {
  .contact-hero {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .contact-content {
    flex-direction: column;
    text-align: center;
  }

  .contact-image img {
    max-width: 90%;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .contact-form h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
  }

  .btn-submit {
    width: 100%;
  }
}

/* ---------- RESPONSIVE HERO ---------- */
@media (max-width: 991px) {
  .contact-hero {
    height: 55vh;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
}
