
/* Global Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth;
}
/* Intro Section Styling */
.intro {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}

.intro h2 {
  font-size: 2.5rem;
  color: red;
  margin-bottom: 1.5rem;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 1.5rem;
  color: #333;
}

.intro p strong {
  font-weight: bold;
}

@media (max-width: 768px) {
  .intro h2 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Hero */
.hero {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid red;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  margin: 0.2rem 0;
}

.subtitle {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: red;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}

/* Chapters */
.chapter {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.chapter.dark {
  background: #111;
  color: white;
}

.chapter h2 {
  font-size: 2rem;
  color: red;
}

.chapter p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 1rem auto 0;
}


/* Logos Section */
.logos,
.companies {
  padding: 3rem 2rem;
  background: #fff;
  text-align: center;
}

.logos h2,
.companies h2 {
  color: red;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.logo-grid img {
  width: 100px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-grid img:hover {
  filter: none;
  transform: scale(1.05);
}

/* Values */
.values {
  background: #000;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

.values h2 {
  color: red;
  font-size: 2rem;
}

.values ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 2rem auto;
}

.values li {
  margin: 1.5rem 0;
  font-size: 1.2rem;
  line-height: 1.8;
}

/* Contact Form */
.contact {
  background: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}

.contact h2 {
  color: red;
  font-size: 2rem;
  margin-bottom: 2rem;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 4px;
  width: 100%;
}

button {
  background: red;
  color: white;
  padding: 0.75rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: darkred;
}

/* Footer */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}
/* Testimonial */  
.testimonial-carousel {
  position: relative;
  min-height: 200px;
  padding: 1rem 2rem; /* Add padding to avoid overlap with arrows */
}

.testimonial {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  width: 100%;
}

.testimonial.active {
  display: block;
  opacity: 1;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: red;
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  opacity: 0.8;
}

.testimonial-arrow.prev {
  left: -55px; /* Move left arrow outside the carousel */
}

.testimonial-arrow.next {
  right: -55px; /* Move right arrow outside the carousel */
}

.testimonial-arrow:hover {
  opacity: 1;
}

/* Mobile (move arrows below content) */
@media (max-width: 768px) {
  .testimonial-nav {
    position: static;
    transform: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .testimonial-arrow {
    position: static;
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .testimonial-carousel {
    padding: 0.5rem;
  }

  .testimonial-arrow {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .testimonial {
    font-size: 0.9rem;  /* Even smaller text for very small screens */
  }
}
@media (max-width: 768px) {
  .testimonial-arrow.prev {
    left: 10px;
  }

  .testimonial-arrow.next {
    right: 10px;
  }
}

/* Responsive */
@media (max-width: 600px) {
  .profile-pic {
    width: 100px;
    height: 100px;
  }

  .chapter h2,
  .testimonials h2,
  .values h2,
  .contact h2,
  .logos h2,
  .companies h2 {
    font-size: 1.5rem;
  }

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

  .logo-grid img {
    width: 80px;
  }




}
