/* Page Content Styles */
body {
  padding-top: 90px;
}

.contact-hero {
  background: linear-gradient(135deg, #001145 0%, #002966 50%, #0055aa 100%);
  padding: 80px 0 60px;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="20" cy="20" r="0.5" fill="white" opacity="0.05"/><circle cx="80" cy="30" r="0.8" fill="white" opacity="0.08"/></svg>');
  animation: float 20s infinite linear;
  opacity: 0.1;
  z-index: 1;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-100px);
  }
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  padding: 60px 0;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border-top: 4px solid #001145;
  margin-bottom: 30px;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 85, 170, 0.2);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #001145, #002966);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.contact-card h4 {
  color: #001145;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-card p {
  color: #666;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-card a {
  color: #0055aa;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-card a:hover {
  color: #001145;
  text-decoration: underline;
}

.quick-contact {
  background: linear-gradient(135deg, #001145, #002966);
  color: white;
  padding: 40px 0;
  text-align: center;
  margin-top: 40px;
  border-radius: 15px;
}

.quick-contact h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.quick-contact p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  background: white;
  color: #001145;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: #001145;
  text-decoration: none;
}

.office-hours {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border-left: 4px solid #0055aa;
}

.office-hours h6 {
  color: #001145;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.office-hours p {
  margin-bottom: 0.5rem;
  color: #666;
  font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 0 40px;
  }

  .contact-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .contact-hero p {
    font-size: 1.1rem;
    max-width: 90%;
  }

  .contact-section {
    padding: 40px 0;
  }

  .contact-card {
    padding: 2rem 1.5rem;
    margin-bottom: 20px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .contact-card h4 {
    font-size: 1.2rem;
  }

  .contact-card p {
    font-size: 1rem;
  }

  .quick-contact {
    padding: 30px 15px;
    margin-top: 30px;
  }

  .quick-contact h3 {
    font-size: 1.5rem;
  }

  .quick-contact p {
    font-size: 1rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .contact-btn {
    width: 220px;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  .office-hours {
    padding: 1.2rem;
    margin-top: 1rem;
  }

  .office-hours h6 {
    font-size: 0.95rem;
  }

  .office-hours p {
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .contact-hero {
    padding: 50px 0 30px;
  }

  .contact-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
  }

  .contact-hero p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 95%;
  }

  .contact-section {
    padding: 30px 0;
  }

  .contact-card {
    padding: 1.5rem 1rem;
  }

  .contact-card h4 {
    font-size: 1.1rem;
  }

  .contact-card p {
    font-size: 0.95rem;
  }

  .quick-contact {
    padding: 25px 10px;
  }

  .contact-btn {
    width: 200px;
    font-size: 1rem;
    padding: 12px 25px;
  }
}

.contact-hero h1 {
  font-size: 1.5rem;
}

.contact-btn {
  width: 180px;
  font-size: 0.95rem;
  padding: 10px 20px;
}

.contact-card {
  padding: 1.2rem 0.8rem;
}

/* Hover effects for touch devices */
@media (hover: none) {
  .contact-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .contact-btn:hover {
    transform: none;
    background: white;
    box-shadow: none;
  }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .contact-hero {
    padding: 20px 0;
  }

  .contact-section {
    padding: 30px 0;
  }
}
