/* Contact Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Contact Hero Section - Enhanced with inspiration from Why Us and Services pages */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, #0052a3, #0066cc, #0080ff);
  overflow: hidden;
  padding: 8rem 0 4rem;
  min-height: 40vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
  opacity: 0.8;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  animation: heroContentAnimation 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

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

.contact-hero-content .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  display: inline-block;
}

.contact-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
  letter-spacing: -0.5px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
}

.contact-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 2rem auto 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.contact-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.contact-shape {
  position: absolute;
  filter: blur(60px);
  border-radius: 50%;
}

.contact-shape-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  top: -250px;
  right: -100px;
  border-radius: 40% 60% 70% 30% / 40% 50% 50% 60%;
  animation: float 15s ease-in-out infinite;
}

.contact-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 195, 255, 0.15);
  bottom: -100px;
  left: -50px;
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  animation: float 20s ease-in-out infinite reverse;
}

.contact-shape-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 195, 255, 0.1));
  top: 30%;
  left: 20%;
  border-radius: 35% 65% 60% 40% / 50% 45% 55% 50%;
  animation: float 18s ease-in-out infinite 2s;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(4deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Responsive styles for hero section */
@media (max-width: 992px) {
  .contact-hero {
    padding: 7rem 0 3.5rem;
  }
  
  .contact-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 6rem 0 3rem;
  }
  
  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-subtitle {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    padding: 5rem 0 2.5rem;
  }
  
  .contact-title {
    font-size: 2.2rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .contact-hero-content .section-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}

/* Contact content - Enhanced section */
.contact-content {
  padding: 6rem 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-content::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(0, 102, 204, 0.03), rgba(0, 195, 255, 0.03));
  top: -150px;
  left: -150px;
  filter: blur(50px);
}

.contact-content::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(0, 195, 255, 0.03), rgba(0, 102, 204, 0.03));
  bottom: -100px;
  right: -100px;
  filter: blur(40px);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Contact information - Enhanced section */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-header {
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  text-align: center;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
}

.contact-header h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 60px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.contact-description {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Contact methods - Improved styling */
.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(0, 102, 204, 0.05);
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  min-height: 140px; /* Fixed height for consistency */
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.03), rgba(0, 195, 255, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-method:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 25px rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.1);
}

.contact-method:hover::before {
  opacity: 1;
}

.contact-method:nth-child(1) {
  animation: fadeInUp 0.6s ease-out 0.2s forwards;
}

.contact-method:nth-child(2) {
  animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.contact-method:nth-child(3) {
  animation: fadeInUp 0.6s ease-out 0.6s forwards;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(0, 195, 255, 0.1));
  color: var(--primary-color);
  margin-right: 1.5rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 102, 204, 0.1);
}

.contact-method:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.25);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.contact-method:hover .contact-icon svg {
  transform: scale(1.1);
}

.contact-details {
  flex: 1;
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100px; /* Ensure consistent content area */
}

.contact-method h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 600;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.contact-method:hover h3 {
  color: var(--primary-color);
}

.contact-method p, .contact-method a {
  color: var(--text-light);
  line-height: 1.6;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-method a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.contact-method a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--primary-color);
  left: 0;
  bottom: -2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.contact-method a:hover {
  color: var(--primary-color);
}

.contact-method a:hover::after {
  transform: scaleX(1);
}

/* Ensure the last paragraph in each card has consistent styling */
.contact-method p:last-child {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}



/* Contact Form styles removed */

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

.map-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.map-header {
  text-align: center;
  margin-bottom: 3rem;
}

.map-header h2 {
  font-size: 2.25rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.map-subheader {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.map-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
}

.map-wrapper iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0066cc, #00a3ff);
  color: white;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 5rem 0;
}

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.cta-shape-1 {
  width: 500px;
  height: 500px;
  background: white;
  top: -250px;
  right: -100px;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: white;
  bottom: -100px;
  left: -50px;
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
}

.cta-content.animate-fade-in {
  opacity: 1;
  transform: translateY(0);
}

.cta-content .section-title {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Form error styling removed */

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-content {
  background: white;
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notification-success .notification-content {
  border-left: 4px solid #10b981;
  background: #f0fdf4;
}

.notification-error .notification-content {
  border-left: 4px solid #e53e3e;
  background: #fef2f2;
}

.notification-message {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.4;
  flex: 1;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-light);
  cursor: pointer;
  margin-left: 1rem;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.notification-close:hover {
  color: var(--text-color);
}

/* Responsive styles */
@media (max-width: 1200px) {
  .contact-container {
    max-width: 700px;
  }
}

@media (max-width: 992px) {
  .contact-container {
    max-width: 600px;
  }
  
  .contact-header h2 {
    font-size: 2.2rem;
  }
  
  .contact-content {
    padding: 5rem 0;
  }
  
  .contact-title {
    font-size: 2.8rem;
  }
  
  .map-wrapper {
    height: 400px;
  }
  
  .map-wrapper iframe {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-content {
    padding: 4rem 0;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-method {
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    min-height: 120px; /* Adjusted for mobile */
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
    margin-right: 1.2rem;
  }
  
  .contact-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .contact-details {
    min-height: 80px;
  }
  
  .contact-hero {
    padding: 7rem 0 4rem;
  }
  
  .contact-title {
    font-size: 2.5rem;
  }
  
  .contact-method {
    padding: 1.25rem;
  }
  
  .map-wrapper {
    height: 350px;
  }
  
  .map-wrapper iframe {
    height: 350px;
  }
  
  .cta-content .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .contact-content {
    padding: 3rem 0;
  }
  
  .contact-method {
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 160px; /* Adjusted for stacked layout */
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 1rem;
    width: 48px;
    height: 48px;
  }
  
  .contact-details {
    width: 100%;
    min-height: auto;
    align-items: center;
  }
  
  .contact-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .map-header h2 {
    font-size: 1.8rem;
  }
  
  .map-wrapper {
    height: 300px;
  }
  
  .map-wrapper iframe {
    height: 300px;
  }
}
