/* Contact & Location page styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Base / Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 90%;
  margin: 20px auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #024173 0%, #1a5490 100%);
  color: #fff;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  height: min-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legal-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10,0 L20,10 L10,20 L0,10 Z" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23legal-pattern)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #C8A451, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* Layout / Sections */
.main-content {
  width: 100%;
  padding: 0 0;
  background: #f8f9fa;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.location-card {
  background: #fff;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(2, 65, 115, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.location-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(2, 65, 115, 0.15);
}

.location-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #024173, #C8A451);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.flag-icon {
  font-size: 2.5rem;
}

.location-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #024173;
}

.location-subtitle {
  color: #C8A451;
  font-size: 1rem;
  font-weight: 500;
}

/* Contact items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 15px;
  border-left: 4px solid #C8A451;
}

.contact-icon {
  font-size: 1.5rem;
  color: #024173;
  margin-top: 0.2rem;
}

.contact-details h4 {
  color: #024173;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: #666;
  line-height: 1.6;
}

/* Communication section */
.communication-section {
  background: #fff;
  border-radius: 25px;
  padding: 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #024173;
  margin-bottom: 3rem;
  font-weight: 700;
}

.communication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.comm-card {
  background: linear-gradient(135deg, #024173 0%, #1a5490 100%);
  color: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.comm-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 164, 81, 0.1) 0%, transparent 70%);
  transition: all 0.3s ease;
  transform: scale(0);
}

.comm-card:hover::before {
  transform: scale(1);
}

.comm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(2, 65, 115, 0.3);
}

.comm-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.comm-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.comm-card a {
  color: #C8A451;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.comm-card a:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Social */
.social-section {
  text-align: center;
  padding: 3rem 0;
}

.social-title {
  font-size: 2rem;
  color: #024173;
  margin-bottom: 2rem;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #024173, #1a5490);
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.8rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #C8A451, #d4b666);
  transform: scale(0);
  transition: all 0.3s ease;
  border-radius: 50%;
}

.social-link:hover::before {
  transform: scale(1);
}

.social-link:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(2, 65, 115, 0.3);
}

.social-link span {
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .location-card {
    padding: 2rem;
  }
  .communication-section {
    padding: 2.5rem;
  }
  .communication-grid {
    grid-template-columns: 1fr;
  }
  .social-links {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  .hero {
    padding: 4rem 0 3rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .location-card {
    padding: 1.5rem;
  }
  .communication-section {
    padding: 2rem;
  }
  .social-link {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
