/* ===== Root Theme Variables ===== */
:root {
  --bg-color: #117ce7;
  --text-color: #ffffff;
  --header-bg: #002b80;
  --card-bg: #0044cc;
  --footer-bg: #001a33;
  --highlight: #ffc107;
  --icon-color: #ffc107;
  --card-shadow: #ff6a0040;
  --card-hover-shadow: #ff6a00;
}

body.dark {
  --bg-color: #e3e6eb;
  --text-color: #ffffff;
  --header-bg: #002b80;
  --card-bg: #0044cc;
  --footer-bg: #001a33;
  --highlight: #ffc107;
  --icon-color: #ffc107;
  --card-shadow: #ff6a0040;
  --card-hover-shadow: #ff6a00;
}

/* ===== Page Wrapper ===== */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Main Content Area ===== */
.contact-main {
  flex-grow: 1;
  padding: 60px 20px 80px 20px;
  background-color: var(--header-bg);
  max-width: 1100px;
  margin: 10px auto 40px; /* 👈 This adds 30px space from the top (navbar) */
  box-sizing: border-box;
  border-radius: 20px;
}

/* ===== Intro Section ===== */
.contact-intro {
  text-align: center;
  margin-bottom: 30px;
}

.contact-intro h1 {
  font-size: 3rem;
  color: var(--highlight);
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1.2px;
}

.contact-intro p {
  font-size: 1.2rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* ===== Contact Card Grid ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== Contact Card ===== */
.contact-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px 25px;
  box-shadow: 0 0 20px var(--card-shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
  cursor: default;
  opacity: 0;
  transform: translateY(20px);
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px var(--card-hover-shadow);
}

.contact-icon {
  color: var(--icon-color);
  margin-bottom: 20px;
}

.contact-card h3 {
  color: var(--icon-color);
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-card p {
  font-size: 1.1rem;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--text-color);
}

.contact-card a {
  color: var(--highlight);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--icon-color);
}

/* ===== Footer ===== */
.footer {
  background-color: var(--footer-bg);
  padding: 20px;
  text-align: center;
  color: var(--text-color);
  font-size: 1rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.page-wrapper > footer.footer {
  margin-top: auto;
}

/* ===== Responsive Styling ===== */
@media (max-width: 768px) {
  .contact-intro h1 {
    font-size: 2.2rem;
  }

  .contact-card {
    padding: 25px 15px;
  }
}
.menu-toggle {
  color: white;
}
