/* About Page Styles */
.about-page {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

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

.about-page h1 {
  text-align: center;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 3rem;
  font-weight: 700;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 4rem;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-text p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-text ul {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

.about-text li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #444;
  display: flex;
  align-items: center;
}

.about-text li:before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  margin-right: 1rem;
  font-size: 1.2rem;
}

/* Services Page Styles */
.services-page {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

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

.services-page h1 {
  text-align: center;
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.services-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 250px;
  overflow: hidden;
}

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

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

.service-card h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 1.5rem 1.5rem 0.5rem;
}

.service-card p {
  color: #666;
  padding: 0 1.5rem 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.service-features {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
}

.service-features li {
  margin-bottom: 0.8rem;
  padding-left: 2rem;
  position: relative;
  color: #555;
  font-size: 1.05rem;
}

.service-features li:before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.additional-services {
  margin-top: 6rem;
}

.additional-services h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.additional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

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

.additional-card i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.additional-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--primary), #003366);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.cta-button:hover {
  background: transparent;
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image, 
  .about-text {
    width: 100%;
    max-width: 100%;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .about-page h1,
  .services-page h1 {
    font-size: 2.5rem;
  }
  
  .about-text h2,
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-section {
    padding: 4rem 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .about-page,
  .services-page {
    padding: 60px 15px;
  }
  
  .about-page h1,
  .services-page h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
  }
  
  .service-card h3 {
    font-size: 1.5rem;
  }
  
  .additional-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-section h2 {
    font-size: 1.6rem;
  }
  
  .cta-button {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
  }
}
