* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   font-family: 'Poppins', sans-serif;
   
}
p {
  font-weight: 400;
}

/* CONTACT HERO */
.contact-hero {
  width: 100%;
  height: 100vh;
  overflow:hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
  
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("images/contactus3.jpg") center/cover no-repeat;
  transition: transform 0.8s ease;
  z-index: -1;
  transform: scale(1.15); 
}

/*  ZOOM EFFECT */
.contact-hero:hover::before {
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}
/* DARK OVERLAY */
.contact-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(63, 60, 60, 0.2);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENT */
.contact-hero .content {
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 20px;
}

.contact-hero  h1 {
  font-size: 65px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.contact-hero p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #e2e8f0;
}

/* BUTTON */
.contact-hero .btn {
  display: inline-block;
  padding: 12px 30px;
  background: #6c5ce7;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.contact-hero .btn:hover {
  background: #4834d4;
  transform: translateY(-3px);
}

 @media (max-width: 1024px) {

  .contact-hero h1 {
    font-size: 48px;
  }

  .contact-hero p {
    font-size: 17px;
  }
}

@media (max-width: 768px) {

  .contact-hero {
    height: 96vh;
  }

  .contact-hero h1 {
    font-size: 38px;
  }

  .contact-hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .contact-hero .content {
    padding: 15px;
  }

  /* disable hover zoom on touch devices */
  .contact-hero:hover::before {
    transform: scale(1.15);
  }
}

@media (max-width: 480px) {

  .contact-hero {
    height: 80vh;
  }

  .contact-hero h1 {
    font-size: 34px;
    letter-spacing: 1px;
  }

  .contact-hero p {
    font-size: 16px;
    line-height: 1.5;
  }

  

  .contact-hero .content {
    padding: 10px;
  }
}

/*------------------- contact form-------------- */
/* SECTION */
.contact-section {
  padding: 60px 10%;
  background: #fafafb;
}

/* CONTAINER */
.contact-container {
  display: flex;
  align-items: center;
  gap: 50px;
  background-color:#becfef;
  padding:30px;
  border-radius:15px;
  flex-wrap: wrap;
  -webkit-border-radius:15px;
  -moz-border-radius:15px;
  -ms-border-radius:15px;
  -o-border-radius:15px;
}

/* IMAGE */
.contact-image {
  flex: 1;
  text-align: center;
}

.contact-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* FORM */
.contact-form {
  flex: 1;
}

.contact-form h2 {
  font-size: 36px;
  color: #341c92;
  margin-bottom: 15px;
   position: relative;
  display: inline-block;
}
.contact-form h2::after {
  content: "";
  position: absolute;
  left: 50px;
  bottom: -8px;
 
  width: 50%;
  height: 4px;
  background:
        radial-gradient(circle at top left, rgba(62, 81, 188, 0.25), transparent 40%),
        radial-gradient(circle at bottom right, rgba(216, 20, 85, 0.7), transparent 87%),
        #191975;
  border-radius: 10px;
}
.contact-form p {
  margin-bottom: 25px;
  color: #555;
}

/* INPUTS */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 5px rgba(108, 92, 231, 0.3);
}

/* BUTTON */
.contact-form button {
  padding: 12px 1px;
background:
        radial-gradient(circle at top left, rgba(43,58,143,0.25), transparent 40%),
        radial-gradient(circle at bottom right, rgba(216, 20, 85, 0.7), transparent 87%),
        #191975;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: transparent;
  border: 3px solid #fff;
  color: #070707;
}

@media (max-width: 1024px) {

  .contact-section {
    padding: 50px 6%;
  }

  .contact-container {
    gap: 30px;
    padding: 25px;
  }

  .contact-form h2 {
    font-size: 30px;
  }

  .contact-form p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {

  .contact-section {
    padding: 50px 5%;
  }

  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-image,
  .contact-form {
    flex: 100%;
  }

  .contact-image img {
    max-width: 350px;
  }

  .contact-form h2 {
    font-size: 28px;
  }

  .contact-form h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-form p {
    font-size: 14px;
  }
}


@media (max-width: 480px) {

  .contact-section {
    padding: 40px 5%;
  }

  .contact-container {
    padding: 20px;
    gap: 20px;
  }

  .contact-image img {
    max-width: 290px;
  }

  .contact-form h2 {
    font-size: 26px;
  }

  .contact-form p {
    font-size: 15px;
    line-height: 1.5;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
    padding: 10px;
  }

  .contact-form button {
    font-size: 16px;
    padding: 12px;
  }
}

/*------------------- map section code ----------------------*/


.contact-info-section {
  padding: 80px 10%;
  background: #e7e7fc;
}


.contact-info-container {
  display: flex;
  gap: 40px;
  border-radius: 15px;
  padding:40px;
 background:#becfef;
        
  flex-wrap: wrap;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

/* MAP */
.map {
  flex: 1;
  min-height: 550px;
  min-width:550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* CARDS */
.info-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
   margin-top:6%;
}

/* SINGLE CARD */
.card {
  background: #fff;
  padding:20px 15px;
 
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.card h3 {
  margin-bottom: 10px;
  text-align:center;
  color: #251173;
}

.card p {
  color: #555;
  text-align:center;
  font-size: 16px;
}

.card h3 i {
  font-size: 22px;
  margin-right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid #eb2fa0;
  border-radius: 30%;
  color: #f0266d;
  background: transparent;
  transition: all 0.3s ease;
  -webkit-border-radius: 30%;
  -moz-border-radius: 30%;
  -ms-border-radius: 30%;
  -o-border-radius: 30%;
}

/* HOVER EFFECT (card hover) */
.card:hover h3 i {
  background: #fff;
  color: #3622ce;
  border-color: #2c1aca;
  transform: rotate(10deg) scale(1.1);
}
/* HOVER EFFECT */
.card:hover {
  transform: translateY(-8px);
 border:1.2px solid #341c92;
 box-shadow: 2px 3px 4px #6943c8;
}


@media (max-width: 1024px) {

  .contact-info-section {
    padding: 70px 6%;
  }

  .contact-info-container {
    padding: 30px;
    gap: 25px;
  }

  .map {
    min-height: 420px;
    min-width: 400px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {

  .contact-info-section {
    padding: 60px 5%;
  }

  .contact-info-container {
    flex-direction: column;
    padding: 25px;
  }

  .map {
    width: 100%;
    min-width: unset;
    min-height: 350px;
  }
  .map-size{  min-height: 350px;}

  .info-cards {
    margin-top: 0;
  }

  .card {
    text-align: center;
  }

  .card h3 i {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}  

@media (max-width: 480px) {

  .contact-info-section {
    padding: 50px 5%;
  }

  .contact-info-container {
    padding: 20px;
    gap: 15px;
  }

  .map {
    min-height: 300px;
    border-radius: 12px;
  }
  .map-size{  min-height: 302px;}
  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 15px;
  }

  .card h3 i {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }
}