@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --primary-color:  #0a1c2e;
  --secondary-color: #06121f;
  --text-color: #333;
  --text-c-highlight: #3399ff;  
  --background-color: #fff6ec;
  --card-background: #ffffff;
  --accent-c-2: #f1f1f1;
  --soft-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.contact-container {
  font-family: "Inter", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 0px;
}

.detail-item a {
  color: inherit;
  text-decoration: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 30px;
}

.contact-header h1 {
  font-family: "Montserrat", serif;
  color: var(--primary-color);
}

.contact-content {
  background-color: var(--card-background);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  padding: 30px;
  margin-bottom: 20px;
}

.contact-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}

.contact-card {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  flex: 1;
}

.school-image {
  flex: 1;
  align-items: center;
  display: flex;
  justify-content: center;
  width: auto;
  height: auto;
}

.contact-detail h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info {
  margin-top: 10px;
}

.detail-item.map {
  margin-bottom: 0;
  border-radius: 5px;
}

.detail-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
}

.detail-item .icon {
  margin-right: 10px;
  font-size: 24px;
  color: var(--primary-color);
}

.school-image img {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  object-fit: cover;
}

.detail-info {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .contact-card {
    flex-direction: column;
  }

  .contact-tel-mail {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 600px) {
  .contact-tel-mail {
    flex-direction: column;
    align-items: flex-start;
  }

  .school-image img {
    height: 250px;
  }
}

@media screen and (max-width: 400px) {
  .school-image img {
    height: 150px;
  }
}

.map iframe {
  border-radius: 5px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.contact-information {
  color: var(--primary-color);
  font-family: "Inter", sans-serif;
}

/* CSS for section title */
.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--text-c-highlight));
  border-radius: 2px;
}

/* Scroll Animation for reveal effect */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}