
.small-text, .logo-slogan {
  font-size: 0.9rem; /* ~14px */
  color: #555;
}
h1 { font-size: 2rem; }   /* ~32px */
h2 { font-size: 1.5rem; } /* ~24px */
h3 { font-size: 1.25rem; }/* ~20px */
/* ---------- Global Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: 'Poppins', sans-serif;
}
/* Preloader background */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff; /* change background color */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* keeps it above everything */
}

/* The rotating circle */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top: 6px solid #3498db; /* top part color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Rotation animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  font-family: "Poppins", Arial, sans-serif; /* modern + readable */
  font-size: 20px; /* standard readable base size */
  line-height: 1.5; /* improves readability */
  color: #333; 
}

/* ---------- Top Bar ---------- */
/* ---------- Top Bar ---------- */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 0.2rem 0.6rem;
  border-bottom: 1px solid #eee;
  height: auto;
}
.top-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}
.top-logo img {
  height: 60px;
  padding: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.top-contact-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  padding: 0.8rem 2rem;
  font-size: 0.99rem;
  color: #003366;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #003366;
  transition: color 0.3s ease;
}
.contact-item:hover {
  color: #cc0000;
}
.contact-item i {
  font-size: 1rem;
  color: #003366;
  transition: color 0.3s ease;
}
.contact-item:hover i {
  color: #cc0000;
}

/* ---------- Header + Navbar ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #1e07a0;
}
/* ---------- Navbar Base ---------- */
.navbar {
  display: flex;
  justify-content: space-between;  /* hamburger left, links right */
  align-items: center;
  padding: 16px 20px;
  position: relative;
  background: #003366; /* adjust to your theme */
  margin-bottom: 0;
}

.navbar a {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

  border-bottom: 3px solid transparent; /* always reserve space */
}

.navbar a:hover,
.navbar a.active {
  color: rgb(207, 6, 6);
  border-bottom-color: aquamarine;  /* just change the color */
}



/* ---------- Hamburger ---------- */
.hamburger {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 32px;
  height: 4px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;              /* hidden by default on mobile */
    flex-direction: column;
    width: 100%;
    background: #fff;
  }

  .nav-links a {
    color: #003366;
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
    width: 100%;
  }

  .nav-links.active {
    display: flex;              /* show when active */
  }

  .hamburger {
    display: flex;
  }

  /* Animate hamburger into "X" */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

@media (min-width: 901px) {
  .nav-links {
    display: flex;  /* ✅ only flex on desktop */
    gap: 150px;
  }
}

#backToTop {
  display: none;
  position: fixed;
  bottom: 25px;              /* a little higher for bigger size */
  right: 25px;
  z-index: 100;
  background-color: #003366; 
  color: white;
  border: none;
  padding: 30px;             /* increased padding */
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transition: background 0.3s ease, transform 0.2s ease;
}
#backToTop:hover {
  background-color: #0055aa;   /* lighter blue on hover */
}

#backToTop i {
  font-size: 18px;             /* arrow size */
}

.about p {
  margin-bottom: 1.5em; /* Adjust spacing between paragraphs */
  line-height: 1.6;     /* Improve readability */
  font-size: 1.05rem;   /* Slightly larger font */
}
/* About Section */
/* Layout */

/* --- Section --- */
section.about {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 3rem 1.5rem;  /* no white card */
}

h1 {
  text-align: center;
  color: #0a3d62;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.overview {
  font-size: 1.15rem;
  color: #475569;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.7;
  max-width: 800px;
}

/* --- Timeline --- */
.timeline-wrapper { position: relative; margin: 2rem 0; }
.timeline-progress {
  position: absolute; left: 2.3rem; top: 0; bottom: 0;
  width: 4px; background: #e2e8f0; z-index: 1;
}
.timeline-fill {
  position: absolute; left: 2.3rem; top: 0;
  width: 4px; background: linear-gradient(to bottom, #0a3d62, #38bdf8);
  height: 0%; transition: height 0.8s ease; z-index: 2;
}
.timeline {
  position: relative;
  margin-left: 0;       /* remove big left margin */
  padding-left: 4rem;   /* space for the progress line and icons */
  z-index: 3;
}
.timeline-item {
  position: relative;
  margin-bottom: 3.5rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}
.timeline-item.visible { opacity: 1; transform: translateX(0); }

/* --- Icons --- */
.timeline-icon {
  position: absolute;
  left: -3.8rem;
  top: 0;
  background: white;
  border: 3px solid #0a3d62;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(10, 61, 98, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 4;
}
.timeline-icon:hover,
.timeline-item.expanded .timeline-icon {
  transform: scale(1.1);
  background: #0a3d62;
  color: white;
}

/* --- Content --- */
.timeline-content {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-left: 4px solid #0a3d62;
  transition: all 0.3s ease;
  cursor: pointer;
}
.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.timeline-content h2 {
  margin-top: 0;
  color: #0a3d62;
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.expand-icon { margin-left: auto; font-size: 1.2rem; transition: transform 0.3s ease; }
.timeline-item.expanded .expand-icon { transform: rotate(180deg); }

.timeline-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.timeline-item.expanded .timeline-details {
  max-height: 200px;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.timeline-details ul {
  padding-left: 1.5rem;
  color: #475569;
}
.timeline-details li {
  margin-bottom: 0.5rem;
  position: relative;
}
.timeline-details li::before {
  content: '✓';
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

.scroll-indicator {
  text-align: center;
  margin: 2rem 0;
  color: #64748b;
  font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2.2rem; }
  .overview { font-size: 1rem; }
  .timeline { margin-left: 2rem; padding-left: 1rem; }
  .timeline-progress, .timeline-fill { left: 1.8rem; }
  .timeline-icon {
    left: -2.8rem; width: 2.5rem; height: 2.5rem; font-size: 1.2rem;
  }
  .timeline-content { padding: 1.2rem; }
  .timeline-content h2 { font-size: 1.4rem; }
}
.services-gallery {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
}

.services-gallery img {
  width: 300px;
  border-radius: 8px;
  flex-shrink: 0;
}



footer {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 20px;
}

.social-icons a {
  margin: 0 10px;
  color: white;
  font-size: 24px;
  text-decoration: none;
}




@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .cover-photo {
    height: 70vh;
    font-size: 1.2rem;
  }

  .services-gallery img {
    width: 90vw;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}

.contact-form {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f4f4f4;
  padding: 2rem;
  border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background: #1e3a8a;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #163269;
}

.map-container {
  flex: 1 1 350px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

footer {
  background: #1e3a8a;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.social-icons a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}



.quick-links a {
  color: white;
  margin: 0 0.7rem;
  text-decoration: none;
  transition: text-decoration 0.3s;
}

.quick-links a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
}

  .projects-section {
  padding: 4rem 2rem;
  max-width: 100%;
  
}
.section-intro {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}


.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.5rem 1rem;
  border: none;
  background-color: #ddd;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.tab.active {
  background-color: #007bff;
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.industries-section {
  padding: 50px 20px;
  text-align: center;
  background: #f9f9f9;
}

.industries-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #15037a;
}

.industries-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 on big screens */
  gap: 30px; /* reduced gap */
}

/* 📱 For tablets */
@media (max-width: 992px) {
  .industries-cards {
    grid-template-columns: repeat(2, 1fr); /* 2 per row */
  }
}

/* 📱 For small phones */
@media (max-width: 600px) {
  .industries-cards {
    grid-template-columns: 1fr; /* single column */
  }
}

.industry-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-height: 440px; /* make card larger */
}

.industry-card img {
  width: 100%;          /* stretch full width of card */
  height: auto;         /* maintain aspect ratio */
  max-height: 300px;    /* prevents images from being too tall */
  object-fit: cover;    /* crop neatly if needed */
  border-radius: 8px;
  margin-bottom: 20px;
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #0056a3; /* Ndellam brand color */
}

.industry-card p {
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
}

.industry-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Section wrapper */
.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff; /* you can change to your cream theme */
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px; /* space between belts */
}

/* Title + intro */
/* Section wrapper */
.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff; /* you can change to your cream theme */
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px; /* space between belts */
}

/* Title + intro */
.logo-header {
  text-align: center;
  margin-bottom: 20px;
}

.logo-header h2 {
  font-size: 2rem;
  color: rgb(3, 3, 102); /* Ndellam blue */
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

/* Underline effect */
.logo-header h2::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: rgb(3, 3, 102);
  margin: 8px auto 0;
  border-radius: 2px;
}

.logo-header p {
  font-size: 1.1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Logo tracks */
.logo-track {
  display: flex;
  width: calc(250px * 10); /* adjust based on number of logos */
}

.logo-track img {
  height: 70px;
  margin: 0 25px;
  object-fit: contain;
}

/* Belt animations */
.belt1 {
  animation: scroll-left 20s linear infinite;
}

.belt2 {
  animation: scroll-right 25s linear infinite;
}

/* Animations */
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Section styling */
.credentials {
  text-align: center;
  padding: 3rem 2rem;
}

.credentials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: rgb(3, 3, 102); /* Ndellam blue */
}

.logo-strip {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.logo-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.logo-item img {
  max-height: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.logo-item img:hover {
  transform: scale(1.1); /* zooms in a bit */
  box-shadow: 0 6px 15px rgba(0,0,0,0.15); /* subtle shadow */
}

.logo-item p {
  margin-top: 0.5rem;
  font-size: 1.05rem;
  color: #333;
}



/* Update your existing .cover-photo style to .slideshow-container */
.slideshow-container {
  height: 70vh; /* Full viewport height */
  margin-top: 0; /* ✅ remove extra gap */
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

/* Individual Slides */
.mySlides {
  display: none; /* Hidden by default */
  width: 100%;
  height: 100%;
  position: absolute; /* Position relative to .slideshow-container */
  top: 0;
  left: 0;
  overflow: hidden; /* Ensure image and overlay clip */
}

.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the slide area without stretching */
  display: block;
}

/* Background Overlay for text readability (applied to each slide) */
.mySlides::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
  z-index: 1; /* Place it above the image, below content */
}

/* Hero Content (positioned over the image and overlay) */
.hero-content {
  position: absolute; /* Position relative to .mySlides */
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%); /* Adjust for true centering */
  z-index: 2; /* Place above the overlay */
  max-width: 900px; /* Limit content width for readability */
  padding: 20px;
  box-sizing: border-box; /* Include padding in width calculation */
  color: white; /* Ensure text is white */
}

.slideshow-container h2 { /* Targeting h2 within the slideshow container */
  font-size: 3.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Button Styles (already in your CSS, but included for completeness) */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.primary-btn {
  background-color: rgb(7, 3, 214);
  color:white;
}

.primary-btn:hover {
  background-color: #003de6;
  transform: translateY(-3px);
}

.secondary-btn {
  background-color: transparent;
  color: red;
  border: 2px solid rgb(19, 3, 233);
}

.secondary-btn:hover {
  background-color: rgb(204, 9, 9);
  color: #0457d4;
  transform: translateY(-3px);
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 1.5rem; /* Larger arrows */
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(233, 221, 221, 0.5); /* Semi-transparent background */
  z-index: 3; /* Above content */
}
.prev {
  left: 0; 
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background with a little more opacity */
.prev:hover, .next:hover {
  background-color: rgba(14, 2, 185, 0.8);
}

/* The dots/bullets/indicators container */
.dots-container {
  text-align: center;
  position: absolute;
  bottom: 30px; /* Position above the footer */
  width: 100%;
  z-index: 3;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active-dot, .dot:hover {
  background-color: #db0808;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slideshow-container {
    height: 70vh; /* Shorter on mobile */
    margin-top: 120px; /* Adjust for variable header height */
  }

  .slideshow-container h2 {
    font-size: 2.2rem; /* Smaller heading on mobile */
  }

  .tagline {
    font-size: 1rem; /* Smaller tagline on mobile */
  }

  .hero-buttons {
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;
  }

  .btn {
    width: 80%; /* Make buttons wider */
    padding: 12px 25px;
    font-size: 1rem;
  }

  .prev, .next {
    font-size: 1.2rem; /* Smaller arrows on mobile */
    padding: 10px;
  }

  .dots-container {
    bottom: 15px; /* Adjust dot position on mobile */
  }
}

/* Footer Styles */
footer {
      background: #1a2b40;
      color: #e0e0e0;
      padding: 2rem;
      margin-top: 3rem;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 2rem;
    }

    .footer-column h4 {
      margin-bottom: 1rem;
      color: #2f71b3;
    }

    .footer-column ul {
      list-style: none;
      padding: 0;
    }

    .footer-column ul li {
      margin: 0.5rem 0;
    }

    .footer-column ul li a {
      color: #a0a0a0;
      text-decoration: none;
      transition: color 0.3s;
    }

    .footer-column ul li a:hover {
      color:rgb(223, 10, 10);
    }

    .social-icons a {
      margin-right: 10px;
      font-size: 1.2rem;
      color: rgb(213, 212, 216);
      transition: color 0.3s;
    }

    .social-icons a:hover {
      color: rgb(223, 10, 10);
    }
/* --- Services Section Styles --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.section-title{
  color: #031e68;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #01000a;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  font-weight: 300;
}
.service-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease;
}

.service-card img.service-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-card .service-text {
  padding: 1rem;
  text-align: center;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #041f69;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

/* Slide-up animation class */
.service-card.visible {
  transform: translateY(0);
  opacity: 1;
}
.section-title(

)

/* --- Credentials Section --- */
.credentials-section {
    padding: 4rem 2rem;
     /* Primary Blue background */
    color: #080000; /* Cream text */
    text-align: center;
    /* This calculation ensures content starts below the fixed header + top bar + some initial padding */
    padding-top: calc(150px + 90px + 4rem); /* Top Bar (150px) + Header (90px) + 4rem padding */
}

.credentials-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #176B87; /* Accent Blue title */
}

.credentials-section .section-description {
    font-size: 1.8rem;
    font-weight: 500; /* Semi-bold for better readability */
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
    color: #0a0a0a;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem; /* Space between cards */
    max-width: 1200px; /* Max width to center grid */
    margin: 0 auto;
}

.credential-card {
    background-color: #F7F7F7; /* Cream card background */
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    color: #0F2C59; /* Primary Blue text */
    overflow: hidden; /* Ensure image corners are rounded with card */
    display: flex; /* Use flexbox for vertical alignment of content */
    flex-direction: column;
    justify-content: space-between; /* Pushes content/buttons to top/bottom */
}

.credential-card:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4); /* Deeper shadow on hover */
}

.credential-card img {
    width: 100%; /* Image takes full width of card */
    max-height: 200px; /* Limit image height to keep cards uniform */
    object-fit: contain; /* 'contain' fits image within bounds without cropping, 'cover' crops */
    border-radius: 8px; /* Slightly rounded corners for images */
    margin-bottom: 1.2rem;
    border: 1px solid #E0E0E0; /* Subtle border around image */
}

.credential-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: #176B87; /* Accent Blue heading */
}

.credential-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333; /* Dark grey for description text */
}

/* Responsive adjustments for Credentials Section */
@media (max-width: 992px) {
    .credentials-section {
        padding-top: 4rem; /* Adjust padding top as header is no longer fixed on small screens */
    }
}

@media (max-width: 768px) {
    .credentials-section {
        padding: 2rem 1rem; /* Smaller padding on mobile */
    }

    .credentials-section .section-title {
        font-size: 2.2rem;
    }

    .credentials-section .section-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .credentials-grid {
        grid-template-columns: 1fr; /* Single column layout on mobile */
    }

    .credential-card {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .credentials-section {
        padding: 2rem 1rem; /* Consistent smaller padding */
    }

    .credentials-section .section-title {
        font-size: 1.8rem;
    }

    .credential-card p {
        font-size: 0.9rem;
    }
}

.testimonial-section {
  padding: 4rem 2rem;
  background: #f5f7fa;
  text-align: center;
}

.testimonial-title {
  font-size: 2.5rem;
  color: #13036b;
  margin-bottom: 2rem;
}

/* Wrapper: Contains carousel and arrows */
.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carousel: Scrollable container */
.testimonial-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 1rem;
  scrollbar-width: none; /* Firefox */
}

.testimonial-carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Individual testimonial card */
.testimonial-card {
  flex: 0 0 300px;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.client-logo {
  width: 160px;      /* Increased from 80px */
  height: 160px;     /* Increased from 80px */
  border-radius: 60%;
  object-fit: contain;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-card h4 {
  color: #1e3a8a;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.stars {
  color: #facc15;
  font-size: 1.2rem;
}

/* Scroll arrows */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
}

.scroll-btn.left {
  left: 1rem;
}

.scroll-btn.right {
  right: 1rem;
}

.scroll-btn:hover {
  background: #163269;
}

