/* Index Page Styles - Contact Page Style */

/* Home Header */
.home-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.home-header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 1.5rem;
}

.home-header p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Service Section - Card Style */
.service-section {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.service-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Service Content */
.service-content h1 {
  font-size: 1.75rem;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.service-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.service-content .btn {
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Service Media - Videos and Images */
.service-section iframe,
.service-section img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: block;
}

.service-section iframe {
  min-height: 282px;
  aspect-ratio: 16 / 9;
}

.service-section:hover iframe,
.service-section:hover img {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Call to Action Section */
.cta-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.cta-section .card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.cta-section .card-body {
  padding: 0;
}

.cta-section p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #2c3e50;
  margin: 0;
}

/* Service Cards */
.service-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: 300;
  color: #343a40;
  margin-bottom: 1rem;
}

.service-card .card-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-card .btn {
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .service-section {
    padding: 1.5rem;
  }
  
  .service-content h1 {
    font-size: 1.5rem;
  }
  
  .home-header h1 {
    font-size: 2rem;
  }
  
  .service-section iframe {
    min-height: 250px;
  }
}

@media (max-width: 767.98px) {
  .home-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
  
  .home-header h1 {
    font-size: 1.75rem;
  }
  
  .service-section {
    padding: 1.25rem;
    margin-bottom: 2rem;
  }
  
  .service-content h1 {
    font-size: 1.25rem;
  }
  
  .service-content p {
    font-size: 0.95rem;
  }
  
  .service-section iframe,
  .service-section img {
    border-radius: 12px;
  }
  
  .cta-section {
    padding: 1.5rem;
  }
  
  .cta-section p {
    font-size: 1.25rem;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger animation for sections */
.service-section:nth-child(1) { animation-delay: 0.1s; }
.service-section:nth-child(2) { animation-delay: 0.2s; }
.service-section:nth-child(3) { animation-delay: 0.3s; }
.service-section:nth-child(4) { animation-delay: 0.4s; }
.service-section:nth-child(5) { animation-delay: 0.5s; }

/* Prevent horizontal overflow */
.service-section {
  max-width: 100%;
  box-sizing: border-box;
}

.service-section .row {
  margin-left: 0;
  margin-right: 0;
}

.service-section .col-lg-5,
.service-section .col-lg-7 {
  padding-left: 15px;
  padding-right: 15px;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

.service-section iframe,
.service-section img {
  max-width: 100%;
  height: auto;
}

