/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}


body {
  font-family: "Segoe UI", Tahoma, sans-serif;
  background: #ffffff;
  color: #1e3a8a;
  line-height: 1.6;
}

/* Header Section */
.contact-header {
  text-align: center;
  padding: 60px 20px 30px;
  animation: fadeDown 1s ease;
}

.contact-header i {
  font-size: 50px;
  color: #0072ac;
  display: block;
  margin: 0 auto 20px;
  animation: pulse 2s infinite;
}

.contact-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #1d96d3;
  font-weight: 700;
  letter-spacing: -1px;
}

.contact-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Info */
.contact-info {
  padding: 0 10%;
}

/* Section Headings */
.contact-section-title {
  text-align: center;
  margin: 40px 0 20px 0;
  font-size: 2rem;
  color: #157db1; /* easily changeable */
  font-weight: 700;
}

/* Cards Wrapper to center cards */
.cards-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

/* Contact Card */
.contact-card {
  background: white;
  padding: 20px 15px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(37, 99, 235, 0.05);
  position: relative;
  overflow: hidden;
  width: 220px; /* fixed card size */
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #00aaff, #45c1ffd7);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-icon {
  font-size: 20px;
  color: rgb(52, 221, 243);
  margin-bottom: 7px;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  color: rgba(91, 222, 240, 0.705);
  transform: scale(1.1);
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #2c82ad;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-link {
  font-size: 0.95rem;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
}

.contact-link:hover {
  color: #2c82ad;
  border-bottom-color: #00aaff;
  transform: translateY(-2px);
}

.contact-link:active {
  transform: translateY(0);
}

/* Bottom Section */
.bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 50px 10%;
  align-items: start;
}

.address {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.address h2 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #0072ac;
}

.address p {
  margin-bottom: 10px;
}

.address p strong {
  color: #0072ac;
}

.map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

iframe {
  width: 100%;
  height: 100%;
  min-height: 325px;
  border: 0;
}

/* Animations */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.2); } }

/* Responsive */
@media(max-width: 900px) {
  .bottom-section {
    grid-template-columns: 1fr;
  }
}
@media(max-width: 768px) {
  .contact-section-title {
    font-size: 1.5rem;
  }
}
