/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f9;
  line-height: 1.8;
  color: #333;
}

/* Section Titles */
h1, h2 {
  text-align: center;
  color: #003366;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* About Us Section */
.about-us-intro {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 2px solid #007bff;
}

.about-us-intro p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

/* Core Values Section */
.core-values {
  padding: 60px 20px;
  background-color: #eef7ff;
  border-bottom: 2px solid #007bff;
}

.values-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.values-text {
  flex: 1;
  max-width: 600px;
  font-size: 1em;
  line-height: 1.8;
}

.values-text .check {
  color: #007bff;
  margin-right: 10px;
  font-weight: bold;
}

.values-text p {
  margin-bottom: 15px;
}

.values-image {
  flex: 1;
  max-width: 400px;
}

.values-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Achievements Section */
.achievements {
  padding: 60px 20px;
  background-color: #ffffff;
}

.timeline {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 220px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.timeline-item h3 {
  color: #007bff;
  margin-bottom: 10px;
  font-weight: bold;
}

.timeline-item p {
  font-size: 0.9em;
  color: #555;
}

/* Vision and Mission Section */
.vision-mission {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 60px 20px;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
}

.vision, .mission {
  text-align: center;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.vision h2, .mission h2 {
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.vision p, .mission p {
  font-size: 1em;
  line-height: 1.8;
  color: #555;
}

/* --- Meet Our Team Section (Final Version) --- */
.team-subsection {
  width: 80%;
  max-width: 1000px;
  margin: 3em auto;
  padding: 2em;
  background: linear-gradient(135deg, #f7fafd, #edf1f5);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.team-header {
  text-align: center;
  margin-bottom: 2em;
}

.team-header h2 {
  font-size: 2.5em;
  color: #1a1a2e;
}

.team-header p {
  font-size: 1.2em;
  color: #666;
}

.team-cards-wrapper {
  height: 550px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

#cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

#cards li {
  width: 90%;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 2.5em 2em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

  /* Meet Our Team */
  .team-cards-wrapper {
    overflow-x: auto;
    height: auto;
  }

  #cards {
    flex-wrap: nowrap;
    padding: 1em 0;
  }

  #cards li {
    flex: 0 0 100%;
  }

  .card__content figure {
    height: 180px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid #fff;
  }

  .card__content h2 {
    font-size: 1.2em;
  }

  .card__content p {
    font-size: 0.9em;
  }

  .card__content a.btn {
    padding: 0.4em 1.2em;
    font-size: 0.85em;
  }

  /* CTA */
  .cta {
    padding: 40px 15px;
  }

  .cta h2 {
    font-size: 1.8em;
  }

  .cta p {
    font-size: 1em;
  }

  .cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }



.allied-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.allied-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
}
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 1200px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  padding: 10px;
}

.company-card {
  min-width: 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  flex-shrink: 0;
}

.company-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

.company-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0056b3;
}

.company-card p {
  font-size: 14px;
  color: #555;
}

.company-card a {
  display: inline-block;
  margin-top: 10px;
  color: #0056b3;
  text-decoration: underline;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-btn.left {
  left: -10px;
}

.carousel-btn.right {
  right: -10px;
}


/* Hover effect for card */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.card.show {
  opacity: 1;
  transform: translateY(0px);
}

.card__content {
  flex-direction: column;
  text-align: center;
  padding: 1em;
}

.card__content figure {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin: 0 auto 1.5em auto; 
}

.card__content figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card__content figure img:hover {
  transform: scale(1.08);
}

.card__content > div {
  flex-grow: 1;
}

.card__content h2 {
  font-size: 1.1em;
  font-weight: 700;
  color: #003366;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  margin-bottom: 0.4em;
}
.member-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
  margin-top: 0.5em;
}

.member-name {
  font-size: 1.05em;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.8em;
}

.member-bio {
  font-size: 0.95em;
  color: #444;
  line-height: 1.8;
  text-align: justify;
  padding: 0 12px;
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 60px 20px;
  background-color: #003366;
  color: #fff;
}

.cta h2 {
  font-size: 2em;
  margin-bottom: 10px;
  font-weight: bold;
}

.cta p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}
/* Mobile Responsive for Meet Our Team */
@media (max-width: 768px) {
  .team-cards-wrapper {
    overflow-x: visible;
    padding-bottom: 1em;
  }

  #cards {
    flex-direction: column;
    padding: 1em 0;
    gap: 1.5em;
  }

  #cards li {
    flex: none;
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
  }

  .card {
    flex-direction: column;
    text-align: center;
    padding: 1.2em;
  }

  .card__content {
    flex-direction: column;
    align-items: center;
    gap: 1em;
    text-align: center;
  }

  .card__content figure {
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .card__content figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }

  .card__content h2 {
    font-size: 1em;
    color: #007bff;
    margin-bottom: 0.3em;
  }

  .member-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #222;
  }

  .member-bio {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    padding: 0 10px;
  }

  .team-header h2 {
    font-size: 2em;
  }

  .team-header p {
    font-size: 1em;
  }
}


/* Full Mobile Responsive Design */
@media (max-width: 768px) {
  
  body {
    padding: 0 10px;
  }

  /* About Us */
  .about-us-intro {
    padding: 40px 15px;
  }

  .about-us-intro p {
    font-size: 1em;
    max-width: 100%;
  }

  /* Core Values */
  .values-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .values-text, .values-image {
    width: 100%;
  }

  /* Achievements */
  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-item {
    width: 90%;
  }
  
  

  /* Testimonials */
 
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: left 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}
.slide.active {
  left: 0;
}
.slide.prev {
  left: -100%;
}
.slide h2 {
  font-size: 2.8rem;
  margin-bottom: 14px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  color: #000000;
}
.slide p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 24px;
  text-shadow: 0 2px 6px rgb(255, 255, 255);
  color: #000;
}

.nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}
.nav-item {
  position: relative;
  width: 16px;
  height: 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
}
.nav-item.active {
  background: rgba(0, 0, 0, 0.85);
}
.timer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #ffffff;
  width: 0%;
}
.nav-item.active .timer-bar {
  animation: fill 5s linear forwards;
}
@keyframes fill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* === Mobile Responsive === */
@media (max-width: 768px) {
  .slider {
    height: 400px;
  }
  .slide h2 {
    font-size: 2rem;
  }
  .slide p {
    font-size: 1rem;
    padding: 0 10px;
  }
  .slide .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .nav {
    gap: 10px;
  }
  .nav-item {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .slider {
    height: 340px;
  }
  .slide h2 {
    font-size: 1.6rem;
  }
  .slide p {
    font-size: 0.9rem;
  }
  .slide .btn {
    padding: 8px 16px;
  }
}


  /* Vision and Mission */
  .vision-mission {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .vision, .mission {
    width: 90%;
  }

