/* About Page Specific Styles - Mobile First */

/* ========================================
   MOBILE STYLES (Default)
   ======================================== */

/* Hero Section - Using contact page styling */
.contact-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-color-hover) 100%
  );
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  margin-top: 125px;
  /* Mobile first - highest margin for mobile */
}

.contact-hero-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  font-family: var(--secondary-font);
  font-weight: 700;
}

.contact-hero p {
  font-size: 1rem;
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.6;
}

/* ========================================
   TABLET STYLES (min-width: 768px)
   ======================================== */
@media (min-width: 768px) {
  .contact-hero {
    padding: 3rem 1.5rem;
    margin-top: 105px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }
}

/* ========================================
   DESKTOP STYLES (min-width: 1024px)
   ======================================== */
@media (min-width: 1024px) {
  .contact-hero {
    padding: 4rem 2rem;
    margin-top: 75px;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero p {
    font-size: 1.2rem;
    max-width: 700px;
  }
}

/* ========================================
   LARGE DESKTOP STYLES (min-width: 1200px)
   ======================================== */
@media (min-width: 1200px) {
  .contact-hero {
    margin-top: 70px;
  }

  .contact-hero h1 {
    font-size: 3rem;
  }
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5rem;
  gap: 4rem;
}

.about-section:nth-child(even) {
  flex-direction: column;
}

.about-text {
  flex: 1;
  width: 100%;
}

.about-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  max-height: 600px;
  max-width: 450px;
  width: 100%;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  font-family: var(--secondary-font);
}

.about-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.about-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
}

.about-section p a {
  text-decoration: none;
  color: var(--primary-color);
}

.values-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  border-radius: 12px;
  border: 0.5px solid var(--primary-color);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  cursor: pointer;
  border-color: var(--primary-color-hover);
  box-shadow: 0 0 0 1.5px var(--primary-color-hover);
}

.value-icon {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
  font-family: var(--secondary-font);
}

.value-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #666;
}

.team-section {
  text-align: center;
  margin-top: 4rem;
}

.team-section h2 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 3rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.team-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 5rem 2rem;
  text-align: center;
  margin-top: 4rem;
  border-radius: 12px;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  font-family: var(--secondary-font);
}

.cta-section p {
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: #555;
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  width: 90%;
  max-width: 350px;
  border-radius: 10px;
  border-color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  color: white;
  border-color: var(--primary-color-hover);
  background-color: var(--primary-color-hover);
}

/* ========================================
   TABLET STYLES (768px and up)
   ======================================== */
@media (min-width: 768px) {
  .about-hero {
    margin-top: 120px;
  }
  .about-hero h1 {
    font-size: 2.2rem;
  }

  .about-hero p {
    font-size: 1.1rem;
  }

  .about-section {
    margin-bottom: 4rem;
    gap: 3rem;
  }

  .about-section h2 {
    font-size: 1.5rem;
  }

  .about-section p {
    font-size: 1rem;
  }

  .values-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
  }

  .value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
  }

  .value-card p {
    font-size: 0.96rem;
  }

  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.7rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.95rem;
  }
}

/* ========================================
   DESKTOP STYLES (1024px and up)
   ======================================== */
@media (min-width: 1024px) {
  .about-hero {
    margin-top: 80px;
  }
  .about-hero h1 {
    font-size: 2.8rem;
  }

  .about-hero p {
    font-size: 1.2rem;
  }

  .about-section {
    flex-direction: row;
    align-items: center;
    margin-bottom: 5rem;
    gap: 4rem;
  }

  .about-section:nth-child(even) {
    flex-direction: row-reverse;
  }

  .about-section h2 {
    font-size: 1.7rem;
  }

  .about-section p {
    font-size: 1.1rem;
  }

  .values-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .value-card h3 {
    font-size: 1.7rem;
    margin-bottom: 0.7rem;
  }

  .value-card p {
    font-size: 0.95rem;
  }

  .cta-section h2 {
    font-size: 2.3rem;
    margin-bottom: 0.9rem;
  }

  .cta-section p {
    font-size: 1.1rem;
  }

  .cta-button {
    font-size: 1rem;
  }
}
