/* Contact Page Styles */
:root {
  --primary: #4361ee;
  --primary-dark: #3a0ca3;
  --secondary: #3a0ca3;
  --accent: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
}

/* Base Styles */
.contact-hero {
  height: 50vh;
  /* background: linear-gradient(rgba(67, 97, 238, 0.8), rgba(58, 12, 163, 0.8)),
              url('/images/contact-hero.jpg') center/cover no-repeat; */
  background: #13005A !important; 
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.contact-hero .container {
  width: 100%;
  padding: 0 5%;
  position: relative;
  z-index: 2;
  text-align: center;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Info Grid */
.contact-info {
  padding: 5rem 5%;
  background-color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(67, 97, 238, 0.1);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.contact-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--primary);
}

.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.contact-card address,
.contact-card p {
  font-style: normal;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.email-link,
.phone-link,
.map-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 0.5rem;
}

.email-link:hover,
.phone-link:hover,
.map-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
  padding: 5rem 5%;
  background-color: #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  flex: 1;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.cta-button {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Map Section */
.map-section {
  padding: 0 5% 5rem;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

.address-container {
  text-align: center;
}

.physical-address {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  display: inline-block;
}

/* Animations */
[data-scroll] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-scroll].visible {
  opacity: 1;
  transform: translateY(0);
}
/* Update these styles in your contact.css */
.contact-card {
  padding: 2rem 1.5rem;
  word-wrap: break-word; /* Ensure long words break properly */
  overflow: hidden; /* Prevent any content from overflowing */
}

.contact-card address,
.contact-card p {
  word-break: break-word; /* Break long words if needed */
  margin-bottom: 0.8rem;
}

.email-link,
.phone-link,
.map-link {
  display: inline-block;
  max-width: 100%; /* Ensure links don't overflow */
  word-break: break-all; /* Break even long email addresses */
}

/* Specifically for the address section */
address {
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* For the "View on Map" link */
.map-link {
  margin-top: 0.5rem;
  white-space: nowrap; /* Keep arrow on same line */
}

/* For email addresses */
.email-link {
  word-break: break-all; /* Important for long email addresses */
}
/* Responsive Design */
@media (max-width: 992px) {
  .contact-hero h1 {
    font-size: 3rem;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 40vh;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero p {
    font-size: 1.2rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    height: 35vh;
    margin-top: 60px;
    background: linear-gradient(rgba(67, 97, 238, 0.8), rgba(58, 12, 163, 0.8)),
                url('/images/contact-hero-mobile.jpg') center/cover no-repeat;
  }
  
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero p {
    font-size: 1rem;
  }
  
  .contact-info,
  .contact-form-section {
    padding: 3rem 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.9rem;
  }
  
  .map-container iframe {
    height: 300px;
  }
  
  .physical-address {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
  
  .cta-button {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    width: 100%;
  }
}

/* Very small devices (phones under 360px) */
@media (max-width: 360px) {
  .contact-hero h1 {
    font-size: 1.8rem;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
  }
  
  .contact-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .contact-card h3 {
    font-size: 1.2rem;
  }
  
  .email-link,
  .phone-link,
  .map-link {
    font-size: 0.9rem;
  }
}