/* ====== General Page Styles ====== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ====== Header Styles ====== */
header {
  background-color: white;
  color: #032453;
  height: 100px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Header content flex container */
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Left side container: logo + left text links */
.left-header {
  display: flex;
  align-items: center;
  gap: 60px; /* space between logo and first link */
}

/* Logo */
.top-left-logo {
  max-height: 90px;
  width: auto;
  margin-left: 90px; /* slightly left shift */
}

/* Left text links */
.left-header .nav-btn.left-btn {
  background-color: transparent !important;  /* remove background */
  color: #032453 !important;                /* text color */
  padding: 0;                                /* remove padding */
  border: none;                              /* remove border */
  border-radius: 0;                          /* remove rounded corners */
  font-weight: bold;
  text-decoration: none;                     /* remove underline */
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Hover effect for left text links */
.left-header .nav-btn.left-btn:hover {
  color: #005fa3;                            /* change color on hover */
  text-decoration: underline;                /* optional underline on hover */
}

/* Top-right buttons */
.top-right-buttons {
  display: flex;
  gap: 60px;       /* space between buttons */
  position: relative;
  right: 80px;      /* moves buttons 10px to the left */
}

/* Header button images */
.button-img {
  padding: 0;
  background: none;
  border: none;
}

.button-img img.header-button {
  height: 50px;  /* adjust size to fit header */
  width: auto;
  cursor: pointer;
  display: block;
}

/* ====== Main Content Styles ====== */
main {
  padding: 30px 20px;
  max-width: 900px;
  margin: 20px auto 0;
  background-color: transparent;
  box-shadow: none;
  border-radius: 0;
}

main p {
  font-size: 18px;
}

main h2 {
  font-size: 3.6rem;     /* matches What We Offer heading */
  line-height: 1.2;
  margin-bottom: 60px;   /* spacing below heading */
  text-align: center;
  color: #032453;
}

/* ====== Footer Styles ====== */
footer {
  background-color: #f2f2f2;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-top: 30px;
}

/* ====== Form Styles (Contact Page) ====== */
form {
  max-width: 500px;
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #0078D7;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #005fa3;
}

/* ====== Services & FAQ Dropdown Styles ====== */
.services, .faqs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service, .faq-item {
  position: relative;
  background: #fff;
  margin: 10px 0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Hide checkboxes */
.service input, .faq-item input {
  display: none;
}

/* Labels for accordion (Services & FAQs) */
.service label, 
.faq-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  font-size: 1.05em;
  font-weight: bold;
  color: #032453;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background 0.3s ease;
}

/* Hover effect for Services & FAQs */
.service label:hover, 
.faq-item label:hover {
  background: #f0f6fb;  /* light hover effect */
}

/* Arrow indicator */
.arrow {
  transition: transform 0.4s ease;
  font-size: 1.1em;
  color: #032453;
}

/* Accordion content */
.service p, .faq-item p {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #333;
  line-height: 1.5;
}

/* Expand content when checkbox is checked */
.service input:checked ~ p,
.faq-item input:checked ~ p {
  max-height: 500px;
  padding: 15px;
}

/* Rotate arrow when open */
.service input:checked + label .arrow,
.faq-item input:checked + label .arrow {
  transform: rotate(90deg);
}

/* Book a Call CTA */
.book-call-cta {
  text-align: center;
  margin: 30px 0;
}

.book-call-cta .nav-btn {
  padding: 12px 25px;
  font-size: 1.1em;
}

/* Hero and Flowchart Styles */
.how-hero {
  background: url('howpic.png') no-repeat center top;
  background-size: cover;
  padding: 60px 20px;
  text-align: center;
  color: #032453;
}

/* Updated How it Works heading */
.how-hero h2 {
  font-size: 3.6rem;      /* matches services h2 */
  line-height: 1.2;
  margin-bottom: 60px;    /* spacing below heading */
  color: #032453;
}

/* Flowchart layout */
.flowchart {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 100px;  /* spacing below flowchart */
}

/* Flowchart boxes */
.flow-box {
  background: white;
  border-radius: 10px;
  padding: 20px;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

.flow-box:hover {
  transform: translateY(-5px);
}

.flow-box h3 {
  margin-top: 0;
  color: #ff7a00;
  font-size: 1.4rem;
}

.flow-box p {
  font-size: 1rem;
  color: #333;
}

/* Arrow styling */
.arrow {
  font-size: 2rem;
  color: #032453;
  font-weight: bold;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 768px) {
  .flowchart {
    flex-direction: column;
    gap: 30px;
  }
  .arrow {
    transform: rotate(90deg);
  }
}

/* AI Integration Section */
.ai-integration-section {
  text-align: center;
  margin-top: 40px;
}

.ai-integration-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.ai-integration-section .book-call-btn {
  display: inline-block;
  margin-top: 35px;
}

.ai-integration-section .book-call-btn img {
  width: 200px;
  max-width: 80%;
  height: auto;
  display: inline-block;
}

.ai-integration-section .spacer {
  height: 70px;
}
