@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* General Styles for All Pages */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #1a1a1a;
  background-color: #f9f9f9;
}

/* Hero Section Styling */
.hero-section {
  background-color: #ffffff;
  text-align: center;
  padding: 25px 20px 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-section .logo {
  width: 120px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.3rem;
  margin-top: 10px;
  color: #1e1c1c;
}

/* Section Styles */
.section {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 20px;
  align-items: center;
  justify-content: space-between;
}

.section .text {
  flex: 1 1 400px;
  padding: 20px;
  font-size: 1.1rem;
}

.section .image {
  flex: 1 1 300px;
  text-align: center;
}

.section .image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.light-blue {
  background-color: #e6f7ff;
}

.orange {
  background-color: #ffb347;
  color: #000;
}

.dark-blue {
  background-color: #1a3c6b;
  color: white;
}

/* Contact Form Styling */
.contact {
  padding: 60px 20px 40px;
  background-color: #ffffff;
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.contact h3 {
  color: #1a4a8d;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 1.5rem;
}

form {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 10px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border 0.3s;
  box-sizing: border-box;
}

form input:focus,
form textarea:focus {
  border-color: #1a4a8d;
  outline: none;
}

form button {
  background-color: #1a4a8d;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.3s ease;
  margin-top: 16px;
}

form button:hover {
  background-color: #0f2f5a;
}

/* Footer Links */
.footer-links-layered {
  background-color: #ffffff;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  border-top: 1px solid #e0e0e0;
}

.footer-links a {
  text-decoration: none;
  color: #1a4a8d;
  margin: 0 12px;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0f2f5a;
}

/* Updated Policy Sections */
.faq-section,
.terms-conditions-section,
.privacy-section {
  padding: 60px 20px;
  background: linear-gradient(to bottom right, #ffffff, #f5f5f5);
  border-radius: 16px;
  margin: 40px 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.faq-title,
.terms-title,
.privacy-title {
  font-size: 2rem;
  color: #1a4a8d;
  margin-bottom: 24px;
  font-weight: 600;
  text-align: center;
}

.faq-title-temp {
  font-size: 1rem;
  margin-bottom: 24px;
  text-align: center;
  font-weight: normal;
}

.faq-item h2,
.terms-conditions h2,
.privacy-section h2 {
  font-size: 1.3rem;
  color: #333;
  margin-top: 24px;
  font-weight: 600;
}

.faq-item p,
.terms-conditions p,
.privacy-section p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Callout Boxes */
.callout-box {
  border-left: 4px solid #ffa726;
  background: #fff3e0;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: #6d4c41;
}

/* CTA */
.cta-button {
  display: inline-block;
  background-color: #1a4a8d;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 30px;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #0f2f5a;
}

/* Accordion (FAQ only) */
.accordion-button {
  background: #f4f4f4;
  border: none;
  padding: 1rem;
  width: 100%;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  transition: background 0.3s ease;
}

.accordion-button:hover {
  background: #e0e0e0;
}

.accordion-panel {
  padding: 1rem 1.2rem;
  display: none;
  background: #fff;
  border-left: 4px solid #1a4a8d;
  border-radius: 0 8px 8px 8px;
  margin-bottom: 1rem;
}

.faq-section {
  padding: 40px 16px;
}

.faq-item {
  margin-bottom: 20px;
}


/* Side Nav (optional) */
.side-nav {
  position: fixed;
  top: 120px;
  left: 20px;
  background: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #1a4a8d;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
}

.side-nav a:hover {
  background-color: #f0f0f0;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .section {
    gap: 1rem; /* minimizes large spacing between text and image */
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .section .text,
  .section .image {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .section .image img {
    margin-top: 0;
    padding-top: 0;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  form {
    padding: 0 10px;
  }

  .footer-links a {
    display: inline-block;
    margin: 10px 8px;
  }

  .faq,
  .terms-conditions {
    padding: 20px;
  }

  .faq h1,
  .terms-conditions h1 {
    font-size: 1.8em;
  }

  .side-nav {
    display: none;
  }
}
