/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #F5F7FA;
  overflow-x: hidden;
}




 .contact {
  padding: 60px 20px;
  background: linear-gradient(135deg, #2b6cb0, #1e3c72);
}

.contact-box {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* LEFT SIDE */
.contact-info {
  flex: 1;
  padding: 40px;
  background: #f4f8ff;
}

.contact-info h2 {
  margin-bottom: 20px;
  color: #2b6cb0;
}

.info-item {
  margin-bottom: 20px;
}

.info-item h3 {
  margin-bottom: 5px;
  color: #0A3251;
}

.info-item p {
  color: #555;
  line-height: 1.6;
}

/* RIGHT SIDE FORM */
.contact-form {
  flex: 1;
  padding: 40px;
}

.contact-form h2 {
  margin-bottom: 20px;
  color: #2b6cb0;
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2b6cb0;
}

/* BUTTON */
.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  background: #2b6cb0;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #1e3c72;
}



.map-section {
  padding: 60px 20px;
  text-align: center;
  background: #f5f7fa;
}

.map-title {
  font-size: 2rem;
  color: #2b6cb0;
  margin-bottom: 30px;
}

/* CENTER MAP */
.map-container {
  width: 65%;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* MAP SIZE */
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}








@media (max-width: 1024px) {


  .contact-box {
    flex-direction: row;
  }

  .contact-info,
  .contact-form {
    padding: 30px;
  }

  .map-container {
    width: 80%;
  }

  
}



/* ================= 768px ================= */
@media (max-width: 768px) {

 

  .contact-box {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    padding: 25px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .info-item h3 {
    font-size: 1.1rem;
  }

  .info-item p {
    font-size: 0.95rem;
  }

  .map-container {
    width: 90%;
  }

  .map-title {
    font-size: 1.7rem;
  }

#navMenu.active {
  background-color: rgba(43,108,176,0.5);
}

.close-btn {
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: block;
  text-align: right;
  padding: 0px 15px;
}

#navMenu.active .close-btn {
  display: block;
}

#navMenu.active + .menu-btn {
  display: none;
}

 /* ===== Navbar ===== */
  .topbar {
    height: auto;
    flex-direction: row;
    padding: 15px;
  }
  
  .menu-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    background: #2b6cb0;
    flex-direction: column;
    text-align: center;
    display: none;
    gap: 15px;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }



}



/* ================= 480px ================= */
@media (max-width: 480px) {

   /* ===== General Padding ===== */
  body {
    overflow-x: hidden;
  }

  /* ===== Logo + Text ===== */
  .brand-logo img {
    height: 75px;
  }

  .college-title {
    font-size: 18px;
    line-height: 1.3;
  }

  .college-desc {
    font-size: 13px;
    max-width: 100%;
  }

  /* ===== Navbar ===== */
  .topbar {
    padding: 10px;
  }

  .nav-links {
    top: 0px;
    gap: 10px;
    padding: 10px 0;
  }

  .nav-links a {
    font-size: 14px;
  }

  .menu-btn span {
    width: 22px;
    height: 2px;
  }

  /* ===== Hero ===== */
  .hero-section {
    height: 40vh;
    border-bottom-left-radius: 20px;
  }

  .hero-text {
    font-size: 14px;
    top: 28%;
    padding: 10px;
  }
  .contact {
    padding: 40px 15px;
  }

  .contact-info,
  .contact-form {
    padding: 20px;
  }

  .contact-info h2,
  .contact-form h2 {
    font-size: 1.4rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 0.95rem;
  }

  .contact-form button {
    padding: 10px;
    font-size: 1rem;
  }

  .map-container {
    width: 100%;
    border-radius: 10px;
  }

  .map-container iframe {
    height: 250px;
  }

  .map-title {
    font-size: 1.5rem;
  }

  
}