/* ============================================
   CONTACT PAGE - MODERN PROFESSIONAL DESIGN
   ============================================ */

/* ============================================
   PAGE HERO SECTION
   ============================================ */
.page-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #1e3a8a 0%, #991b1b 100%);
  overflow: hidden;
}

.page-hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.02) 60px,
      rgba(255, 255, 255, 0.02) 61px
    );
}

.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeIn 0.6s ease-out;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Page Title */
.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* Main Contact Message */
.contact-message {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
  padding: 60px 40px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 2px solid #e2e8f0;
}

.message-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.message-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  line-height: 1.2;
}

.message-text {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.7;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e3a8a;
  text-decoration: none;
  padding: 16px 32px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(59, 130, 246, 0.1));
  border-radius: 50px;
  border: 2px solid #1e3a8a;
  transition: all 0.3s;
}

.email-link:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.email-link svg {
  transition: transform 0.3s;
}

.email-link:hover svg {
  transform: scale(1.1);
}

/* Contact Cards Grid */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: currentColor;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  transition: all 0.3s;
}

.contact-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-icon-blue {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.25);
}

.contact-card:has(.card-icon-blue) {
  color: #1e3a8a;
}

.card-icon-red {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  box-shadow: 0 10px 30px rgba(153, 27, 27, 0.25);
}

.contact-card:has(.card-icon-red) {
  color: #991b1b;
}

.card-icon-green {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.25);
}

.contact-card:has(.card-icon-green) {
  color: #0f766e;
}

.contact-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.contact-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

.contact-card a {
  color: currentColor;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.contact-card a:hover {
  opacity: 0.8;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section-wrapper {
  padding: 100px 0;
  background: white;
}

.map-section {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 2px solid #e2e8f0;
}

.map-header {
  padding: 40px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(153, 27, 27, 0.05));
  border-bottom: 2px solid #e2e8f0;
  text-align: center;
}

.map-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.map-header p {
  font-size: 1.125rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

.map-container {
  width: 100%;
  height: 500px;
  background: #e2e8f0;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.info-box {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
  text-align: center;
}

.info-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #1e3a8a;
}

.info-box-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.info-box:hover .info-box-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 15px 40px rgba(30, 58, 138, 0.3);
}

.info-box h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.info-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

/* ============================================
   FOOTER (from index)
   ============================================ */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 15px;
}

.footer-links a:hover {
  color: white;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #3b82f6;
}

.contact-item a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: white;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-item span:first-child {
  font-weight: 600;
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: white;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 968px) {
  .page-hero {
    padding: 120px 0 60px;
  }
  
  .contact-message {
    padding: 48px 32px;
    margin-bottom: 60px;
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 400px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-message {
    padding: 40px 24px;
  }
  
  .message-icon {
    width: 80px;
    height: 80px;
  }
  
  .email-link {
    font-size: 1.125rem;
    padding: 14px 24px;
  }
  
  .map-header {
    padding: 32px 24px;
  }
  
  .map-container {
    height: 350px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 100px 0 50px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-message {
    padding: 32px 20px;
  }
  
  .email-link {
    font-size: 1rem;
    flex-direction: column;
    gap: 8px;
  }
  
  .contact-card {
    padding: 32px 24px;
  }
  
  .map-section-wrapper {
    padding: 60px 0;
  }
  
  .map-container {
    height: 300px;
  }
  
  .info-section {
    padding: 60px 0;
  }
  
  .footer {
    padding: 60px 0 0;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 3px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .page-hero,
  .footer {
    display: none;
  }
  
  .contact-message,
  .contact-card {
    page-break-inside: avoid;
  }
  
  body {
    background: white;
  }
}