
/* ========== Base Styles ========== */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

h2 {
  font-family: 'Poppins', sans-serif;
  color: #003973;
  font-weight: 600;
}

p {
  text-align: justify;
  hyphens: auto;
  word-spacing: 0.05em;
}

main {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

section {
  margin-bottom: 3rem;
}

/* ========== Header & Navigation ========== */
.site-header,
header,
#header-container {
  background: linear-gradient(to right, #003973, #FFA500);
  padding: 1.2rem;
  color: white;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.nav-links,
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a,
.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.main-nav a:hover {
  color: #ffc107;
}

/* Logo Section */
.logo-container,
.logo-title {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  text-align: right;
}

.header-logo,
.logo-img {
  max-height: 70px;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  background-color: white;
  padding: 4px;
  border: 2px solid white;
}

/* ========== Search Box ========== */
.search-box {
  position: absolute;
  top: 20px;
  right: 30px;
}

.search-box input {
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: none;
  outline: none;
  width: 180px;
}

.search-box.search-outside {
  background-color: #f0f8ff;
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.search-box.search-outside input {
  padding: 0.5rem 1rem;
  width: 220px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.search-box.search-outside input:focus {
  box-shadow: 0 0 6px rgba(0, 57, 115, 0.3);
}

/* ========== Images & Blocks ========== */
.featured,
.content-image img,
.section-flex img.featured {
  display: block;
  max-width: 100%;
  max-height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.highlight {
  background-color: #f0f8ff;
  padding: 1rem;
  border-left: 4px solid #003973;
  border-radius: 4px;
}

/* ========== Layout Sections ========== */
.content-row,
.section-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.content-text,
.section-flex .text-content {
  flex: 1;
  min-width: 280px;
}

.content-image {
  flex: 1;
  max-width: 45%;
}

.section-flex img.featured {
  flex: 1 1 40%;
  max-width: 480px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 1rem;
}

/* ========== Features List ========== */
.features-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
  color: #333;
}

.features-list li {
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-indent: 0rem;
  padding-left: 1rem;
  transition: all 0.3s ease;
}

.features-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #003973;
  font-weight: bold;
}

.features-list li:hover {
  color: #003973;
  transform: translateX(4px);
}

/* ========== FAQ Accordion ========== */
.faq-question {
  background-color: #003973;
  color: white;
  padding: 1rem;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #002a5c;
}

.faq-answer {
  display: none;
  padding: 1rem;
  margin-top: 0.5rem;
  background-color: #f0f8ff;
  border-left: 4px solid #003973;
  border-radius: 4px;
}

/* ========== Animation ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Back to Top Button ========== */
#backToTop {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #003973;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#backToTop:hover {
  background-color: #0256a6;
}

/* ========== Footer ========== */
footer,
#footer-container,
.site-footer {
  background-color: #003973;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* ========== CTA Button ========== */
.centered-image {
  display: block;
  margin: 0 auto;
  max-width: 90%;
  height: 100%;
}

.btn-container {
  text-align: center;
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  background-color: #003973;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  max-width: 90%;
}

.cta-button:hover {
  background-color: #0056a3;
}

/* Responsive for CTA */
@media (max-width: 480px) {
  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }

  .btn-container {
    margin-top: 16px;
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .section-flex {
    flex-direction: column;
    align-items: center;
  }

  .content-image,
  .section-flex img.featured {
    max-width: 100%;
    width: 100%;
    margin-top: 1rem;
  }

  .header-inner {
    flex-direction: column-reverse;
    align-items: center;
  }

  .logo-title {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .main-nav {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .search-box.search-outside input {
    width: 100%;
  }
}

/* ====== Testimonials Section Styles ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(to right, #003973, #FFA500); /* Blue to Orange gradient */
  color: white;
  border-radius: 10px;
  max-width: 1200px;
  margin: auto;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-style: italic;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.testimonial:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.testimonial cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: bold;
  text-align: right;
  color: #fffde7;
  font-size: 0.95rem;
}

/* ====== Mobile Optimization ====== */
@media (max-width: 600px) {
  .testimonials-grid {
    padding: 1rem;
    grid-template-columns: 1fr;
  }

  .testimonial {
    padding: 1rem;
  }
}

/* ====== form ====== */
.styled-contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  font-family: 'Open Sans', sans-serif;
}

.styled-contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #003973;
}

.styled-contact-form input,
.styled-contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.styled-contact-form button {
  background-color: #003973;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.styled-contact-form button:hover {
  background-color: #0056a3;
}
