/*------------------------------------------
  Reset & Base
------------------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/*------------------------------------------
  Variables
------------------------------------------*/
:root {
  --brand-blue: #1a3950;
  --brand-gold: #d38e03;
  --white: #ffffff;
  --light-gray: #f5f5f5;
}

/*------------------------------------------
  Global Container
------------------------------------------*/
.container {
  width: 90%;
  max-width: 1200px;   /* or whatever your design width is */
  margin: 0 auto;      /* centre it */
  padding: 0 1rem;     /* breathing room on small screens */
}

/*------------------------------------------
  Top Bar
------------------------------------------*/
.top-bar {
  background: var(--brand-blue);
  color: var(--white);
  font-size: 0.9rem;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 1rem;
}
.top-bar span {
  margin-right: 1.5rem;
}
.top-bar a {
  color: var(--white);
  text-decoration: none;
}

/*------------------------------------------
  Header & Nav
------------------------------------------*/
.main-header {
  position: relative;    /* ← add this */
  background: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.logo img {
  max-height: 80px;
}
/* Mobile logo size */
@media (max-width: 768px) {
  .logo img {
    max-height: 60px;
  }
}

.main-nav ul {
  list-style: none;
  display: flex;
}
.main-nav li {
  margin-left: 1.5rem;
}
.main-nav a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}
.main-nav a:hover {
  color: var(--brand-gold);
}

/*------------------------------------------
  Mobile Nav Toggle
------------------------------------------*/
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-blue);
}
@media (max-width: 768px) {
  /* Hide by default */
  .main-nav {
    display: none;
  }

  /* When .open is added by JS, show as a vertical panel */
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;        /* directly under .main-header */
    right: 0;
    width: 220px;     /* tweak as needed */
    background: var(--white);
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }

  /* Stack the links */
  .main-nav.open ul {
    flex-direction: column;
  }
  .main-nav.open li {
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  .main-nav.open li:last-child {
    border-bottom: none;
  }
  .main-nav.open a {
    display: block;
    padding: 1rem;
  }

  /* Show the hamburger */
  .mobile-nav-toggle {
    display: block;
  }
}


/*------------------------------------------
  Contact Popup
------------------------------------------*/
.popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.popup.hidden {
  display: none;
}
.popup-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  max-width: 400px;
  width: 90%;
}
.close-popup {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/*------------------------------------------
  Footer
------------------------------------------*/
.site-footer {
  background: var(--brand-blue);
  color: var(--white);
  padding: 2rem 1rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* spread columns evenly */
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 200px;  /* allow each column to grow/shrink, min-width ~200px */
}

.footer-col h4 {
  margin-bottom: 0.8rem;
}

.footer-col p {
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

/* Responsive: stack columns on narrow screens */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }
}

/*------------------------------------------
  Utility Classes & Buttons
------------------------------------------*/
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-blue);
  padding: 1rem 2rem;
}
.btn-primary:hover {
  background: #c27a02;
}

.btn-secondary {
  background: var(--brand-blue);
  color: var(--white);
  padding: 1rem 2rem;
}
.btn-secondary:hover {
  background: #152d42;
}

.btn-outline {
  background: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
  padding: 0.6rem 1.2rem;
}
.btn-outline:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.link-arrow {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.8rem;
}
.link-arrow:hover {
  color: var(--brand-gold);
  text-decoration: underline;
}

/*------------------------------------------
  Hero Section
------------------------------------------*/
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 57, 80, 0.7);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* constrain the hero paragraph */
.hero .container p {
  max-width: 700px;    /* or whatever width you like */
  margin: 1rem auto 2rem;  /* vertical spacing and center it */
  line-height: 1.5;
}

/*------------------------------------------
  About Section
------------------------------------------*/
.about .flex {
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (max-width: 768px) {
  .about .flex {
    flex-direction: column;
  }
}

.about-text p {
  margin-bottom: 1rem;  /* space between paragraphs */
}

.about-text .btn-outline {
  display: inline-block;  /* ensure it’s its own block */
  margin-top: 1.5rem;     /* space above the button */
}

/* About image responsiveness */
.about-image img {
  max-width: 100%;   /* never overflow its container */
  height: auto;
  border-radius: 4px;
}

/*------------------------------------------
  Services Section
------------------------------------------*/
.service-grid {
  margin-top: 2rem;
}
.service-card {
  background: var(--white);
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-card h3 {
  margin: 1rem 0;
}
.service-card p {
  font-size: 0.95rem;
  color: #555;
}
/*------------------------------------------
  Services Section — full-width card images
------------------------------------------*/
.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;               /* clip image to rounded corners */
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-image {
  width: 100%;
  height: 180px;                  /* fixed height for consistency */
  object-fit: cover;              /* crop/scale neatly */
}

.service-content {
  flex: 1;                        /* push “Read More” to bottom if needed */
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.service-content p {
  flex: 1;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.service-content .link-arrow {
  align-self: flex-start;        /* keep link on the left */
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.service-content .link-arrow:hover {
  color: var(--brand-gold);
  text-decoration: underline;
}

/*------------------------------------------
  Why Choose Us Section
------------------------------------------*/
.why-choose-us ul {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.why-choose-us li {
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.why-choose-us li i {
  margin-right: 0.6rem;
  font-size: 1.2rem;
  color: var(--brand-gold);
}
/*------------------------------------------
  Why Choose Us — Card Grid
------------------------------------------*/
.why-choose-us {
  background: var(--light-gray);
  padding: 4rem 0;
}
.why-choose-us h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--brand-blue);
}

/* Grid of cards */
.why-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Individual card */
.why-item {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.why-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Icon styling */
.why-item i {
  font-size: 2.5rem;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}

/* Title */
.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--brand-blue);
}

/* Description */
.why-item p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin: 0 auto;
  max-width: 90%;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .why-choose-us h2 { font-size: 1.75rem; }
  .why-item { padding: 1.5rem 1rem; }
  .why-item i { font-size: 2rem; }
}

/*------------------------------------------
  Blog Section
------------------------------------------*/
.blog-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

/* Desktop hover shadow */
.blog-grid article {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s;
}
.blog-grid article:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 4:3 Image Ratio for all cards */
.blog-card-link img,
.blog-grid article img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Fallback for browsers without aspect-ratio */
@supports not (aspect-ratio: 4/3) {
  .blog-grid article::before {
    content: "";
    display: block;
    padding-top: 75%; /* 4:3 ratio */
  }
  .blog-card-link img,
  .blog-grid article img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Make the entire card clickable */
.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.blog-card-content {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

/* Headline */
.blog-card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--brand-gold);
  text-decoration: none;
}

/* Paragraph */
.blog-card-content p {
  flex: 1;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Read More button */
.blog-card-content .btn-primary {
  align-self: flex-start;
  background: var(--brand-gold);
  color: var(--brand-blue);
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s;
}
.blog-card-content .btn-primary:hover {
  background: #c27a02;
}

/* Remove any underlines on hovered links */
.blog-card-link:hover {
  text-decoration: none;
}

/*------------------------------------------
  Mobile: Blog Carousel
------------------------------------------*/
@media (max-width: 768px) {
  .blog-grid {
    display: flex !important;
    overflow-x: auto;
    gap: 1rem;                    /* use gap, not margins */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;         /* make room for touch scroll */
  }

  .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-grid article {
    flex: 0 0 100%;
    scroll-snap-align: start;
  }
}


/*------------------------------------------
  Testimonials Section
------------------------------------------*/
.testimonial-slider {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.testimonial {
  background: var(--white);
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial strong {
  display: block;
  text-align: right;
  color: var(--brand-blue);
}
/*------------------------------------------
  Testimonials Carousel
------------------------------------------*/
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
}

.slides {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 2rem;
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.testimonial-slide p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-slide strong {
  color: var(--brand-blue);
  display: block;
}

/* Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  color: var(--brand-blue);
}
.carousel-control.prev { left: 1rem; }
.carousel-control.next { right: 1rem; }

.carousel-control:hover {
  background: var(--brand-gold);
  color: var(--white);
}

/* Actions */
.testimonial-actions .btn-outline {
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}
.testimonial-actions .btn-outline:hover {
  background: var(--brand-blue);
  color: var(--white);
}

/* Feedback Popup (reuse .popup styles) */
#feedback-popup .popup-content {
  max-width: 500px;
}
#feedback-popup h3 {
  margin-top: 0;
  color: var(--brand-blue);
}
#feedback-popup .form-group {
  margin-bottom: 1rem;
}
#feedback-popup label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
#feedback-popup input,
#feedback-popup textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#feedback-popup button {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-control { display: none; } /* hide arrows on mobile */
}

/*------------------------------------------
  CTA Section with Background Image & Overlay
------------------------------------------*/
.cta {
  position: relative;
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
  /* Two-layer background: 
     1) A semi-transparent gold overlay
     2) The hero image underneath */
  background: 
    linear-gradient(rgba(211,142,3,0.85), rgba(211,142,3,0.85)),
    url('../images/hero.jpg') center/cover no-repeat;
}

/* Ensure any direct children sit above the overlay */
.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}


/*------------------------------------------
  Floating Chat Bubble & Window
------------------------------------------*/
.chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 0.95rem;
  z-index: 1001;
}
.chat-bubble:hover {
  background: #152d42;
}

.chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  max-width: 90%;
  height: 500px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  flex-direction: column;
  overflow: hidden;
  z-index: 1002;
}
.chat-window.visible {
  display: flex;
}

.chat-header {
  background: var(--brand-blue);
  color: #fff;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
}

.chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #f9f9f9;
}

.chat-input {
  padding: 0.8rem;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 0.5rem;
}
.chat-input input {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.chat-input button {
  background: var(--brand-gold);
  color: var(--brand-blue);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}
.chat-input button:hover {
  background: #c27a02;
}

/*------------------------------------------
  Responsive Breakpoints
------------------------------------------*/
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .footer-columns { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p  { font-size: 1rem; }
  .service-card { padding: 1.5rem; }
  .blog-grid article h3 { font-size: 1rem; }
}
.contact-form { width: 100%; }
.contact-form .form-group { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  background: var(--brand-gold);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}
.contact-form button:hover {
  background: #c27a02;
}
.contact-form .error { color: #e74c3c; }

/*------------------------------------------
  Popup & Close Button
------------------------------------------*/
.popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup.hidden {
  display: none;
}

.popup-content {
  position: relative;
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


@media (max-width: 768px) {
  /* Only show icons for phone & email in the left bar */
  .top-bar-left span {
    /* Hide the text by zeroing font-size */
    font-size: 0;
    margin-right: 1rem; /* keep some spacing between icons */
  }
  /* But force the <i> back to legible size */
  .top-bar-left span i {
    font-size: 1.5rem;
    line-height: 1;
    vertical-align: middle;
    color: var(--white); /* or your desired icon colour */
  }

  /* Tweak the address to remain readable */
  .top-bar-right span {
    font-size: 0.9rem;
  }
}
/* Top‐bar links (desktop & mobile) */
.top-bar-left a {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  margin-right: 1.5rem;
}
.top-bar-left a i {
  font-size: 1rem;
}
/* Text next to the icon */
.top-bar-text {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  /* Hide the text, leave only the icon */
  .top-bar-left a .top-bar-text {
    display: none;
  }
  /* Enlarge the icons */
  .top-bar-left a i {
    font-size: 1.5rem;
  }
  /* Push the address fully right */
  .top-bar-right {
    margin-left: auto;
    text-align: right;
  }
}
/* Center all section titles */
section h2 {
  text-align: center;
}

/*------------------------------------------
  About Page Styles
------------------------------------------*/

/* Hero Intro */
.about-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}
.about-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,57,80,0.6);
}
.about-hero .container {
  position: relative; z-index:1;
}
.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.about-hero .intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/*------------------------------------------
  Who We Are Section: Equal Split
------------------------------------------*/
.about-who .flex {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Each child gets 50% on desktop */
.about-who .flex > .text,
.about-who .flex > .image {
  flex: 1 1 50%;
}

/* Image styling */
.about-who .image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .about-who .flex {
    flex-direction: column;
  }
  .about-who .flex > .text,
  .about-who .flex > .image {
    flex: none;
    width: 100%;
  }
}

/* Our Values */
.about-values h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--brand-blue);
}
.values-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.value-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.value-card i {
  font-size: 2.5rem;
  color: var(--brand-gold);
  margin-bottom: 1rem;
}
.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--brand-blue);
}
.value-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* FAQ Accordion */
.about-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--brand-blue);
}
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item + .accordion-item {
  margin-top: 1rem;
}
.accordion-header {
  width: 100%;
  background: var(--brand-blue);
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 6px;
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}
.accordion-header::after {
  content: '\f107';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
.accordion-header.active::after {
  transform: translateY(-50%) rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 0 0 6px 6px;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}
.accordion-body p {
  margin: 1rem 0;
  line-height: 1.6;
}


/* Accordion JS */
/*------------------------------------------
  About Page: Gold-ending CTA
------------------------------------------*/
.about-cta {
  background: var(--brand-gold)!important;
  color: var(--brand-blue);
}
.about-cta .btn {
  background: var(--brand-blue);
  color: var(--white);
}

/*------------------------------------------
  About Page: Section Spacing
------------------------------------------*/
.about-hero,
.about-who,
.about-values,
.about-faq,
.about-cta {
  padding: 4rem 0;   /* consistent top & bottom spacing */
}
/*------------------------------------------
  Page Hero (Service Pages)
------------------------------------------*/
.page-hero {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 6rem 0;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(26,57,80,0.6);
}
.page-hero .container {
  position: relative; z-index:1;
}
.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.page-hero .intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/*------------------------------------------
  Service Details Section
------------------------------------------*/
.service-details {
  padding: 4rem 0;
}
.service-details h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--brand-blue);
}
.service-details .flex {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.service-details .flex > .text,
.service-details .flex > .image {
  flex: 1 1 50%;
}
.service-details .text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.service-details .image img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
@media (max-width: 768px) {
  .service-details .flex {
    flex-direction: column;
  }
}
/* Service FAQ Spacing */
.service-faq {
  padding: 4rem 0;       /* top & bottom padding */
  
  background: var(--light-gray);
  position: relative;    /* keep its stacking context separate */
  z-index: 1;
}

/*------------------------------------------
  Service FAQ uses existing accordion CSS
------------------------------------------*/
/* .accordion, .accordion-header, .accordion-body already defined */

/*------------------------------------------
  Reuse your .cta styles at bottom
------------------------------------------*/
/* .cta { … } already in style.css */
/*------------------------------------------
  Contact Section
------------------------------------------*/
.contact-section .flex {
  display: flex;
  gap: 2rem;
}
@media (max-width: 768px) {
  .contact-section .flex {
    flex-direction: column;
  }
}
.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 1rem;
  color: var(--brand-blue);
}
.info-list {
  list-style: none;
  padding: 0;
}
.info-list li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.info-list li i {
  margin-right: 0.6rem;
  color: var(--brand-gold);
}
.info-list a {
  color: var(--brand-blue);
  text-decoration: none;
}
.info-list a:hover {
  text-decoration: underline;
}

/* Contact Form tweaks */
.contact-form .form-group {
  margin-bottom: 1rem;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.contact-form button {
  margin-top: 1rem;
}

/* Map Section */
.contact-map h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brand-blue);
}
.map-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Contact-form select */
.contact-form select {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0.3rem;
}
/*------------------------------------------
  Privacy & Terms Pages
------------------------------------------*/
/* Hero is already covered by .page-hero */

/* Main content wrapper */
.privacy-content {
  padding: 4rem 0;
}
.privacy-content h2 {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  font-size: 1.75rem;
}
.privacy-content p {
  max-width: 800px;
  margin: 0.5rem auto 1.5rem;
  line-height: 1.6;
  color: #333;
}
.privacy-content ul {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.privacy-content ul li {
  margin-bottom: 0.75rem;
  color: #333;
}

/* Links inside policy */
.privacy-content a {
  color: var(--brand-blue);
  text-decoration: underline;
}
.privacy-content a:hover {
  color: var(--brand-gold);
}

/* Section separators */
.privacy-content h2 + p,
.privacy-content h2 + ul {
  margin-top: 0.5rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .privacy-content h2 {
    font-size: 1.5rem;
  }
  .privacy-content p,
  .privacy-content ul {
    width: 90%;
  }
}
/* Chat messages */
.chat-message {
  padding: 0.6rem 1rem;
  margin: 0.5rem 0;
  border-radius: 4px;
  max-width: 80%;
}
.chat-message.user {
  background: var(--brand-gold);
  color: var(--brand-blue);
  margin-left: auto;
}
.chat-message.assistant {
  background: #f1f1f1;
  color: #333;
  margin-right: auto;
}

