/* Contact Hero Section */
:root {
 
  --primary-dark: #1d4ed8;
 
}
.contact-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-image: url('./IMAGES/all\ remote\ 03.1632.png');
  background-size: cover;
  background-position: center;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.contact-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.contact-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: white;
}

.contact-hero-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Info Section */
.contact-info-section {
  padding: 2rem 2rem;
  background-color: var(--light-background);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

.contact-info-card {
  background-color: var(--background);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.contact-info-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.contact-info-icon i {
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon i {
  color: white;
}

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

.contact-info-card p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.contact-info-card .btn {
  margin-top: auto;
}

/* Contact Form Section */
.contact-form-section {
  padding: 2rem 2rem;
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0) 70%);
  z-index: 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.contact-form-wrapper {
  background-color: var(--background);
  border-radius: 16px 0 0 16px;
  padding: 2.5rem;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--dark-color);
}

.form-group input,
.form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background-color: #fff;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
}

.form-submit-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 300px;
  gap: 1.5rem;
}

.form-submit-message i {
  font-size: 4rem;
  color: var(--secondary-color);
}

.form-submit-message p {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

.contact-image {
  position: relative;
  overflow: hidden;
  border-radius: 0 16px 16px 0;
  height: 100%;
  margin: 0;
  padding: 0;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0;
  padding: 0;
}

.contact-image:hover img {
  transform: scale(1.05);
}

.image-accent {
  position: absolute;
  top: -20px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  opacity: 0.2;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
}

/* Add a connecting element between form and image */
.contact-form-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: -25px;
  height: 100%;
  width: 50px;
  background: linear-gradient(90deg, var(--background) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Map Section */
.map-section {
  padding: 5rem 2rem;
  background-color: var(--light-background);
}

.location-tabs {
  max-width: 1400px;
  margin: 0 auto 1rem;
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--background);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-weight: 600;
  color: var(--light-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  background-color: rgba(59, 130, 246, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.tab-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.map-container {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  position: relative;
}

.map-tab {
  display: none;
  flex-direction: column;
  width: 100%;
}

.map-tab.active {
  display: flex;
}

.location-info {
  background-color: var(--background);
  padding: 1.5rem;
  text-align: center;
}

.location-info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.location-info p {
  color: var(--light-text);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    border-radius: 16px;
  }

  .contact-form-wrapper {
    border-radius: 16px;
  }

  .contact-form-wrapper::after {
    display: none;
  }

  .contact-image {
    display: none;
  }
  
  .tabs-container {
    flex-direction: column;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .tab-btn {
    width: 100%;
    text-align: center;
  }
}

.accent-text{
  color: goldenrod;
}

@media (max-width: 768px) {
  .contact-hero-content h1 {
    font-size: 2.5rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form .btn {
    width: 100%;
  }
  
  .contact-container {
    padding: 1.5rem;
    margin: 0 1rem;
    width: auto;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
  }

  .contact-hero {
    min-height: 60vh; /* Set back to 60vh for mobile view */
  }
}

@media (max-width: 480px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }
  
  .contact-form-section {
    padding: 2rem 1rem;
  }
  
  .contact-container {
    padding: 1rem 0.5rem;
    box-shadow: none;
  }
  
  .contact-info-card {
    padding: 1.5rem 1rem;
  }
  
  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
} 

.button {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  outline: none;
  width: auto; /* Ensure button doesn't stretch */
  text-align: center;
  margin-right: auto; /* Helps position on the left */
}

.button.p {
  background: var(--primary-color);
  color: white;
}

.button.p:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

