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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header */
header {
  position: fixed;      /* changed from absolute to fixed */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  color: #fff;
  background: transparent;
  z-index: 10;
}

header.base a {
  text-decoration: none;
  color: inherit;
}

header.base {
  background: linear-gradient(to bottom, #0a3d8f, #3ab0d9);
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}

header .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;     /* makes it circular */
  
  background: #fff;       /* white circle background */
  padding: 5px;
}

.logo-subtext {
  display: block;
  font-size: 0.85rem;
  color: #FFBE32;
  font-weight: 400;
  
  letter-spacing: 0.5px;
}

/* Gradient Button */
.btn,
header .btn.small-btn {
  background: linear-gradient(135deg, #FFBE32, #B18426);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover,
header .btn.small-btn:hover {
  opacity: 0.9;
}


/* Hero */
.hero {
  background: linear-gradient(to bottom, #0a3d8f, #3ab0d9);
  color: #fff;
  text-align: center;
  padding: 120px 20px 80px;  
  position: relative;
  min-height: calc(100vh - 95px); /* Ensure footer is at the bottom */
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 1rem;
}




.testimonials {
  padding: 60px 5%;
  background: #fff;
  text-align: center;
}

.testimonials h2 {
  color: #0a3d8f;
  margin-bottom: 30px;
}

.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.carousel .cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;           /* Allow cards to wrap to next line if needed */
  overflow-x: unset;         /* Remove horizontal scrolling */
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}


.carousel .card {
  min-width: 280px;
  max-width: 280px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  flex: 0 0 auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}



.carousel .image {
  width: 100%;
  height: 120px;
  background: #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
}

.carousel button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #0a3d8f;
}

/* Footer */
footer {
  background: #eee;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
}

footer nav {
  margin-bottom: 10px;
}

footer nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
}

footer .footer-links {
  margin-top: 5px;
}

footer .footer-links a {
  margin: 0 10px;
  color: #666;
  font-size: 0.85rem;
  text-decoration: none;
}


@media (max-width: 768px) {
  header {
    padding: 10px 3%;
  }

  header .logo {
    font-size: 1rem;
    gap: 6px;
  }

  header .logo img {
    width: 36px;
    height: 36px;
    padding: 3px;
  }

  .logo-subtext {
    font-size: 0.7rem;
  }

  .btn,
  header .btn.small-btn {
    padding: 8px 14px;
    font-size: 0.95rem;
  }
}

main {
  margin-top: 80px;  /* Adjust based on header height */
  min-height: calc(100vh - 210px); /* Ensure footer is at the bottom */
  background: #f4f4f4;
  padding: 40px 20px 70px; 
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;  /* Prevent horizontal scroll */
  position: relative;
}