/* services.css */

/* Hero Section */
/* about.css */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --primary-color: #e60319; /* Red from slider */
  --secondary-color: #555; /* Example complementary color */
  --dark-color: #333;
  --light-color: #f4f4f4;
  --white-color: #fff;
  --font-main: "Open Sans", sans-serif;
  --header-height: 70px;
  --transition-speed: 0.3s;
}
/* --- Page Hero Section Styling (e.g., for Programs, Services, Contact) --- */

.page-hero-section {
  position: relative; /* Crucial for overlay positioning */
  background-image: url("../images/camera.webp"); /* --- UPDATE IMAGE PATH --- */
  background-size: cover; /* Cover the entire section */
  background-position: center center; /* Center the image */
  background-color: var(--dark-color); /* Fallback color */
  color: var(--white-color); /* Make text white */
  min-height: 45vh; /* Adjust height as needed (e.g., 300px, 40vh) */
  display: flex; /* Use flexbox for centering content */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  text-align: center; /* Center text within the content block */
  padding-top: calc(
    var(--header-height) + 40px
  ); /* Adjust top padding if needed below sticky header */
  padding-bottom: 40px;
  /* remove default section-padding vertical padding if using min-height + flex */
  /* padding-top: 0; */
  /* padding-bottom: 0; */
  box-sizing: border-box;
}

/* Dark Overlay Style */
.page-hero-section .hero-overlay {
  /* Target overlay within any page hero */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Black overlay with 60% opacity - ADJUST AS NEEDED */
  z-index: 1; /* Place overlay above background image */
}

/* Content Styling within Hero */
.page-hero-section .hero-content {
  position: relative; /* Keep content above overlay */
  z-index: 2; /* Place content above overlay */
  max-width: 800px; /* Limit content width for readability */
}

.page-hero-section .hero-content h1 {
  color: var(--white-color); /* Ensure h1 is white */
  font-size: 2.8rem; /* Adjust size */
  margin-bottom: 0.5em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Subtle text shadow */
}

.page-hero-section .hero-content .lead {
  /* Style the lead paragraph */
  color: rgba(255, 255, 255, 0.9); /* Slightly off-white */
  font-size: 1.2rem;
  font-weight: 300; /* Lighter font weight */
}

/* Responsive Adjustments for Page Hero */
@media (max-width: 768px) {
  .page-hero-section {
    min-height: 35vh; /* Slightly shorter on tablets */
  }
  .page-hero-section .hero-content h1 {
    font-size: 2.2rem;
  }
  .page-hero-section .hero-content .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-hero-section {
    min-height: 30vh; /* Shorter on mobile */
    padding-left: 15px; /* Add padding directly if needed */
    padding-right: 15px;
  }
  .page-hero-section .hero-content h1 {
    font-size: 1.8rem;
  }
  .page-hero-section .hero-content .lead {
    font-size: 1rem;
  }
}
/* #services-hero {
  background-color: var(--light-color);
  text-align: center;
}

#services-hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

#services-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

#services-hero .lead {
  font-size: 1.2rem;
  color: var(--secondary-color);
  line-height: 1.6;
} */

/* Detailed Services Section */
/* --- Services Page Specific Styles --- */

/* Service Card Updates */
.service-card {
  background-color: var(--white-color);
  padding: 30px 25px; /* Adjust padding */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border: 1px solid #eee;
  display: flex; /* Use flexbox */
  flex-direction: column; /* Stack content vertically */
  justify-content: space-between; /* Pushes button to bottom */
  transition: transform var(--transition-speed) ease,
    box-shadow var(--transition-speed) ease;
  text-align: center; /* Center icon and text */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-card-content {
  flex-grow: 1; /* Allows this section to grow, pushing button down */
  margin-bottom: 20px; /* Add space between content and button */
}

.service-icon {
  max-width: 55px; /* Adjust icon size */
  height: 55px; /* Maintain aspect ratio or set fixed height */
  margin: 0 auto 20px auto; /* Center icon */
  display: block; /* Ensure margin auto works */
  object-fit: contain; /* Prevent distortion if SVG aspect ratio varies */
  fill: var(--primary-color); /* If using SVG icons, color can be controlled */
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.3rem; /* Adjust size */
}

.service-card p {
  color: var(--secondary-color);
  font-size: 0.95rem;
  line-height: 1.6;
  /* Remove flex-grow from here if added to .service-card-content */
}

/* Learn More Button Styling */
.btn-learn-more {
  /* Use existing button styles, maybe make it smaller */
  padding: 8px 18px; /* Smaller padding */
  font-size: 0.85rem; /* Smaller font */
  margin-top: auto; /* Explicitly push to bottom in flex context */
  align-self: center; /* Center button horizontally */
  max-width: 150px; /* Optional max width */
  width: auto; /* Allow button to size to content */
  /* Choose button style - e.g., secondary */
  /* background-color: var(--secondary-color); */
  /* color: var(--white-color); */
}
/* Or use tertiary style for less emphasis */
.btn-learn-more.btn-tertiary {
  /* Example if you have this style */
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.btn-learn-more.btn-tertiary:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Service Detail Section Styling */
.service-detail-section {
  padding: 60px 0; /* Standard padding */
}

.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Image column, Text column */
  gap: 40px; /* Space between image and text */
  align-items: center; /* Vertically align items */
}
/* Optional: Alternate layout */
.service-detail-section.bg-light .service-detail-layout {
  grid-template-columns: 1.5fr 1fr; /* Text column, Image column */
}
.service-detail-section.bg-light .service-detail-image {
  order: 2; /* Move image to the right visually */
}

.service-detail-image img {
  width: 100%;
  height: auto;
  max-height: 400px; /* Limit image height */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-detail-content h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-detail-content h4 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.service-detail-content ul {
  list-style: disc; /* Or use custom icons */
  margin-left: 20px;
  margin-bottom: 25px;
}

.service-detail-content ul li {
  margin-bottom: 8px;
  color: var(--secondary-color);
}

/* Responsive adjustments for detail sections */
@media (max-width: 992px) {
  .service-detail-layout,
  .service-detail-section.bg-light .service-detail-layout {
    grid-template-columns: 1fr; /* Stack image and text */
    gap: 30px;
  }
  .service-detail-section.bg-light .service-detail-image {
    order: 0; /* Reset order */
  }
  .service-detail-image img {
    max-height: 300px; /* Adjust max height */
  }
}
@media (max-width: 768px) {
  /* Inherits stacked layout */
  .service-detail-content h2 {
    font-size: 1.8rem; /* Adjust heading */
  }
}
/* #detailed-services {
  padding: 4rem 2rem;
}

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

.detailed-service-item {
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: var(--white-color);
}

.service-icon-wrapper {
  display: inline-block;
  margin-bottom: 1rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  padding: 1rem;
}

.service-icon {
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

.detailed-service-item h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.detailed-service-item p {
  color: var(--secondary-color);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.detailed-service-item ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--secondary-color);
  line-height: 1.6;
}

.detailed-service-item ul li {
  margin-bottom: 0.5rem;
}

/* Call to Action Section */
#call-to-action {
  padding: 4rem 2rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  text-align: center;
}

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

#call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#call-to-action .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

#call-to-action .btn {
  background-color: var(--white-color);
  color: var(--primary-color);
  border: 1px solid var(--white-color);
}

#call-to-action .btn:hover {
  background-color: transparent;
  color: var(--white-color);
}

/* General Styles (You might have these in style.css) */
.section-padding {
  padding: 4rem 0;
}

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

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--dark-color);
}

.bg-light {
  background-color: var(--light-color);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border-radius: 5px;
  text-decoration: none;
  color: var(--white-color);
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  transition: background-color var(--transition-speed) ease;
}

.btn:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

/* Responsive Design */
@media (max-width: 768px) {
  #services-hero h1 {
    font-size: 2rem;
  }

  .detailed-services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }
} */
