/* assets/css/style.css */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #F8F9FA;
  color: #212529;
}

header {
  background-color: #0077B6;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

.slideshow {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  background-color: #FFD60A;
  color: #212529;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}

.cta-button:hover {
  background-color: #FFC300;
}

.services, .reach {
  padding: 3rem 2rem;
  text-align: center;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: white;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
  background-color: #0077B6;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
/* About Page */
.about {
  padding: 3rem 2rem;
  background-color: #ffffff;
}

.about .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about h1, .about h2 {
  color: #0077B6;
  margin-bottom: 1rem;
}

.about p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about ul {
  list-style: disc;
  padding-left: 1.5rem;
}
/* Testimonials - Horizontal Layout */
.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.testimonial {
  flex: 1;
  min-width: 250px;
  background-color: #F8F9FA;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.testimonial img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Awards - Horizontal Grid */
.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.award-placeholder {
  background-color: #ffffff;
  border: 2px dashed #0077B6;
  padding: 2rem;
  text-align: center;
  font-weight: bold;
  color: #0077B6;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.award-placeholder:hover {
  background-color: #FFD60A;
  color: #212529;
}

/* In your style.css file */

.company-description {
  padding: 60px 0; /* Adjust padding as needed */
  background-color: #f9f9f9; /* Light background for contrast */
  text-align: center;
}

.company-description .container {
  max-width: 960px; /* Max width for content */
  margin: 0 auto; /* Center the container */
  padding: 0 20px; /* Inner padding for smaller screens */
}

.company-description h2 {
  font-size: 2.5em; /* Adjust heading size */
  margin-bottom: 30px;
  color: #333;
}

.company-description p {
  font-size: 1.1em; /* Adjust paragraph font size */
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
  text-align: left; /* Align text to the left for better readability */
}

/* Style for the Learn More button, assuming you already have cta-button styles */
.company-description .cta-button {
  margin-top: 30px;
  display: inline-block; /* To allow margin-top and padding */
}

/* Basic styling for the new elements and updated sections */

.about {
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* About Mandoza LLC Section (formerly CEO Profile) */
.ceo-profile { /* Kept class name for consistency with existing CSS, but applies to the company profile now */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
}

.ceo-photo { /* Kept class name for consistency, but now refers to workers.jpg */
  width: 300px;
  height: auto;
  border-radius: 8px;
  margin-right: 40px;
  object-fit: cover; /* Ensures the image covers the area without distortion */
}

.ceo-bio { /* Kept class name for consistency, but now refers to company bio */
  flex: 1;
  min-width: 300px; /* Ensures text wraps nicely on smaller screens */
}

.ceo-bio h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 20px;
}

.ceo-bio p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* What We Do Section */
.what-we-do {
  margin-bottom: 60px;
}

.what-we-do h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.what-we-do p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

.what-we-do ul {
  list-style-type: disc;
  margin-left: 40px;
  margin-bottom: 20px;
}

.what-we-do ul li {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 8px;
}

.site-photo {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto 0 auto;
}

/* Testimonials Section */
.testimonials {
  margin-bottom: 60px;
}

.testimonials h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

.testimonial-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.testimonial {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff; /* Example accent color */
}

.testimonial p {
  font-size: 1em;
  line-height: 1.5;
  color: #666;
}

.testimonial strong {
  color: #333;
}

/* Membership & Partners Section (formerly Awards) */
.awards { /* Kept class name for consistency with existing CSS, can be renamed if desired */
  margin-bottom: 60px;
}

.awards h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.partner-logo { /* New class for partner images */
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ceo-profile {
    flex-direction: column;
    text-align: center;
  }

  .ceo-photo {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .what-we-do h2,
  .testimonials h2,
  .awards h2 {
    font-size: 2em;
  }

  .testimonial-row {
    flex-direction: column;
    align-items: center;
  }

  .testimonial {
    max-width: 90%;
  }

  .award-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .ceo-photo {
    width: 250px;
  }

  .ceo-bio h2,
  .what-we-do h2,
  .testimonials h2,
  .awards h2 {
    font-size: 1.8em;
  }

  .ceo-bio p,
  .what-we-do p,
  .what-we-do ul li,
  .testimonial p {
    font-size: 1em;
  }
}