/* ======= Global Styles ======= */
:root {
  /* Brand Colors */
  --color-primary: #5271ff;     /* Royal Blue */
  --color-secondary: #242424;        /* Dark Gray */
  --color-background: #ffffff;       /* White */
  --color-accent: #e53935;      /* Crimson Red */

  /* Optional Shades / UI Enhancers */
  --color-muted: #f5f5f5;       /* Light gray for sections/backgrounds */
  --color-border: #e0e0e0;      /* Soft border lines */
  --color-shadow: rgba(0, 0, 0, 0.1); /* Default subtle shadow */
}



*, *::before, *::after {
  box-sizing: border-box;
}


html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;  /* Optional: prevents horizontal scroll */
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
}


main, .content-wrapper {
  padding-top: 80px; /* Adjust to your navbar height */
}



body {
  font-family: Arial, sans-serif;
}

/* Prevent horizontal overflow on the whole page */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Global styles ends 

/* hide page scrollbar */
html { scrollbar-width: none; } /* Firefox */
body { -ms-overflow-style: none; } /* IE and Edge */
body::-webkit-scrollbar, body::-webkit-scrollbar-button { display: none; } /* Chrome */
/* end hide page scrollbar */



 /* ===== Reset and Global Settings ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  overflow-x: hidden; /* prevent horizontal scroll */
}

/* ===== Top Navbar ===== */
.top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background-color: var(--color-background);
  border-bottom: 2px solid #e0e0e0;
  width: 100%;
  position: fixed; /* fixed to top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* ===== Logo Section ===== */
.logo {
  width: 180px;
  overflow: hidden;
}

.logo img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
}
@media (max-width: 900px) {
  .top-navbar {
    padding: 0.5rem 1rem; /* Less horizontal space on small screens */
  }

  .logo {
    margin-right: auto; /* Ensure logo stays on the far left */
  }

  .logo img {
    max-width: 140px; /* Optional: slightly smaller logo on mobile */
  }
}
@media (max-width: 600px) {
  .top-navbar {
    padding: 0.5rem 0.8rem;
  }

  .logo img {
    max-width: 120px;
  }
}


/* ===== Navigation Menu ===== */
.main-nav {
  display: flex;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav li {
  margin-left: 1.5rem;
}

.main-nav a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav .join-btn {
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: 0.8rem 1rem;
  border-radius: 25px;
}

.main-nav .join-btn:hover {
  background-color: var(--color-secondary);
  color: var(--color-background);
}

.main-nav .join-btn {
  background-color: var(--color-primary);
  color: var(--color-background);
  padding: 0.8rem 1rem;
  border-radius: 25px;
  white-space: nowrap;      /* Prevent text wrapping */
  flex-shrink: 0;           /* Prevent button from shrinking */
}
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: var(--color-background);
    box-shadow: 0 2px 8px var(--color-secondary);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
  }

  .main-nav li {
    margin: 0.8rem 0;
  }
}


/* ===== Hamburger Menu Icon for Mobile ===== */
.menu-toggle {
  display: none; /* hidden on desktop */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

/* ===== Header Image Section ===== */
.header-image {
  position: relative;
  width: 100%;
  min-height: 60vh; /* Use min-height instead of fixed height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/herobg7.jpg');
  background-size: cover;
  background-position: center 20%;
  filter: blur(0px);
  z-index: 1;
}

.header-image-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2em;
  background:  rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  max-width: 900px;

  color: var(--color-background);
}

.header-image-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}

.header-image-content p {
  font-size: 1.1rem;
}
@media (max-width: 600px) {
  .header-image-content {
    padding: 1.2em;
  }

  .header-image-content h1 {
    font-size: 1.6rem;
  }

  .header-image-content p {
    font-size: 0.95rem;
  }
}


/* ===== Responsive Styles for Mobile ===== */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex; /* show menu icon */
  }

  .main-nav {
    display: none; /* hide nav menu initially */
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: var(--color-background);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .main-nav.open {
    display: block; /* show on toggle */
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    gap: 1rem;
  }

  .main-nav li {
    margin-left: 0;
  }
}











/* Move form upward closer to the header image */
.overlay-form-wrapper {
  margin-top: -60px; /* Adjust this value as needed */
}


/* ======= Form Styles ======= */
/* ======= Form Container ======= */
/* ===== GENERAL ===== */
/* ======= Form Styles ======= */
/* Base form styles */
form.overlay-form {
  background: var(--color-background);
  max-width: 950px;
  margin: 100px auto 0 auto; /* combines margin-top and centering */
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Heading spacing */
h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}
h2:first-child {
  margin-top: 0;
}

/* Grid container */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75em;
  margin-bottom: 0.75em;
}

/* Grid item flex container */
.grid-4 > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Responsive breakpoints */
@media screen and (max-width: 599px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 319px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Label and inputs styling */
label {
  font-weight: 500;
  margin-bottom: 0.2em;
  font-size: 0.97em;
}

input, select {
  width: 100%;
  padding: 0.45em;
  border: 1px solid #bbb;
  border-radius: 5px;
  font-size: 0.97em;
  background: #f8f8f8;
  box-sizing: border-box;
  min-height: 28px;
}

/* Checkbox container */
.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 0.2em;
  margin-bottom: 0.75em;
  max-width: 100%;
  font-size: 13px;
  line-height: 1.3;
  padding-left: 0;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 1px;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.checkbox-container label {
  flex: 1;
  margin: 0;
}

/* Submit button */
button[type="submit"] {
  background: #111;
  color: #fff;
  padding: 0.5em 1.2em;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5em;
}

button[type="submit"]:hover {
  background: #444;
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media screen and (max-width: 599px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media screen and (max-width: 319px) {
  .grid-4 {
    grid-template-columns: 1fr !important;
  }
}











/* ======= Footer Styles ======= */
.site-footer {
  background: #f7f7f7;
  color: #000000;
  padding: 3em 0 1.5em 0;
  font-size: 1em;
  border-radius: 0 0 16px 16px;
  margin: 2em 20px 1em 20px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}
.footer-main {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 2em;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1 1 220px;
  min-width: 180px;
  margin-bottom: 1.5em;
}
.footer-col h4 {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 1em;
  letter-spacing: 0.04em;
}
.footer-col p,
.footer-col a {
  color: #444;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5em;
  font-size: 0.98em;
  transition: color 0.2s;
}
.footer-col a:hover,
.footer-col a:focus {
  color: #5271ff;
  outline: none;
}
.footer-links-grid {
  display: flex;
  gap: 2em;
}
.footer-links-grid div {
  display: flex;
  flex-direction: column;
}
.footer-social-row {
  margin-top: 1em;
  display: flex;
  gap: 0.5em;
}
.footer-social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  transition: background 0.2s;
}
.footer-social-row a:hover,
.footer-social-row a:focus {
  background: #5271ff;
}
.footer-social-row img {
  width: 20px;
  height: 20px;
  filter: grayscale(1) brightness(0.4);
  transition: filter 0.2s;
}
.footer-social-row a:hover img,
.footer-social-row a:focus img {
  filter: none;
}
.footer-bottom {
  text-align: center;
  color: #888;
  font-size: 0.95em;
  margin-top: 2em;
}
.footer-bottom a {
  color: #888;
  text-decoration: underline;
}
.footer-bottom a:hover {
  color: #5271ff;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 2em;
    padding: 0 2em;
  }
}
@media (max-width: 600px) {
  .site-footer {
    margin: 2em 0.5em 1em 0.5em;
    border-radius: 0 0 12px 12px;
  }
  .footer-main {
    padding: 0 0.5em;
  }
  .footer-col {
    min-width: 0;
  }
}








/* Form overlay styling */
.overlay-form {
  position: relative;
  max-width: 1000px;
  width: 90%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.682);
  padding: 2em 2.5em;

  /* Pull form upward to overlap half the blue bar */
  margin: -4cm auto 3em auto; /* negative top margin = half blue bar height */

  z-index: 10;
}

/* Grid layout for form rows */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
  margin-bottom: 1.5em;
}

label {
  font-weight: 600;
  margin-bottom: 0.3em;
  display: block;
}

input, select {
  width: 100%;
  padding: 0.5em;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
  box-sizing: border-box;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
  margin-bottom: 1.5em;
}

.checkbox-container input[type="checkbox"] {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-container label {
  font-size: 0.9em;
  line-height: 1.3;
}

button[type="submit"] {
  background-color:  var(--color-primary);
  color: white;
  font-weight: 700;
  padding: 0.9em 1.5em;
  border: none;
  border-radius: 25px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: var(--color-secondary);
  color: var(--color-background);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .overlay-form {
    width: 95%;
    margin-top: -2cm; /* slightly less overlap on smaller screens */
  }
}





.about-section {
  padding: 3em 1.5em;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  padding-top: 100px; /* Match or slightly exceed your navbar height */
}

.about-container {
  background-color: white;
  border-radius: 16px;
  padding: 2em 3em;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
  color: #333;
}

.about-container h2 {
  margin-bottom: 1em;
  color: var(--color-primary);
}

.about-container p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1.2em;
}


 




@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 8));
  }
}

.slider {
  background: white;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 960px;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(250px * 16);
}

.slider .slide {
  height: 100px;
  width: 250px;
}








.how-it-works-section {
  padding: 2em 1.5em;
  background-color: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
 
 
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1em;
 
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 1.5em;
  flex-wrap: wrap;
  
}

.step-card {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 2em 1.5em;
  flex: 1 1 22%; /* roughly 4 cards per row with gap */
  min-width: 250px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step-number {
  font-size: 1.5rem;
  font-weight: 700;
  color:  var(--color-primary);
  background-color: #fdecea;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  margin: 0 auto 1em auto;
  box-shadow: 0 2px 8px rgba(18, 62, 133, 0.7);
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8em;
  color: #333;
}

.step-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}




.agent-cta-section {
  padding: 5em 1.5em; /* More padding for prominence */
  background-color: #5272ff21; /* Light red/orange background for attention */
  text-align: center;
  margin-top: 3em; /* Space from previous section */
}

.agent-cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.agent-cta-content h2 {
  font-size: 2.8rem;
  color: var(--color-primary); /* Your brand red */
  margin-bottom: 0.8em;
  font-weight: 700;
}

.agent-cta-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--color-secondary);
  margin-bottom: 2em;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary Button Styling (reusing your existing .btn, but with a specific class for this CTA) */
.btnbtn-primary {
  display: inline-block;
  padding: 1.2em 2.5em; /* Larger padding for a more prominent button */
  background-color:  var(--color-primary);
  color: var(--color-background);
  border-radius: 35px; /* Slightly more rounded */
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem; /* Larger font size */
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}

.btnbtn-primary:hover {
  background-color:  var(--color-secondary); /* Darker red on hover */
  transform: translateY(-2px); /* Slight lift on hover */
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .agent-cta-content h2 {
    font-size: 2.2rem;
  }
  .agent-cta-content p {
    font-size: 1rem;
  }
  .btnbtn-primary {
    padding: 1em 2em;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .agent-cta-content h2 {
    font-size: 1.8rem;
  }
}





.why-choose-section {
  max-width: 1200px;
  margin: 4em auto;
  padding: 0 1.5em;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color:  var(--color-primary);
  margin-bottom: 2.5em;
}

.reasons-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.reason-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  padding: 2em 1.5em;
  flex: 1 1 280px;
  max-width: 320px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.icon {
  margin-bottom: 1.2em;
}

.icon svg {
  width: 48px;
  height: 48px;
  fill:  var(--color-primary);
}

.reason-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6em;
  color: #222;
}

.reason-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}






.services-section {
  max-width: 1200px;
  margin: 4em auto;
  padding: 0 1.5em;
  text-align: center;
  padding-top: 100px; /* Adjust based on your navbar height */
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color:  var(--color-primary);
  margin-bottom: 3em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5em;
  justify-items: center;
}

.service-item {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 2.5em 2em;
  max-width: 320px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.icon-wrapper {
  margin-bottom: 1.5em;
}

.icon-wrapper svg {
  width: 56px;
  height: 56px;
  fill: var(--color-primary);
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8em;
  color:  var(--color-secondary);
}

.service-item p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .services-section {
    padding: 2em 1em;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2em;
  }
  .service-item {
    max-width: 100%;
    padding: 2em 1.5em;
  }
}






.services-cta-section {
  background-color: #5271ff; /* Brand red background */
  color: white;
  padding: 4em 1.5em;
  text-align: center;
  margin-top: 4em;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(18, 62, 133, 0.7);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.services-cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.btn-primary {
  background-color: white;
  color: #5271ff;
  padding: 1em 3em;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 6px 12px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #5271ff;
  color: white;
  box-shadow: 0 8px 20px rgba(18, 62, 133, 0.7);
  outline: none;
}

/* Responsive */
@media (max-width: 600px) {
  .services-cta-content h2 {
    font-size: 2rem;
  }
  .services-cta-content p {
    font-size: 1rem;
  }
  .btn-primary {
    padding: 0.8em 2.5em;
    font-size: 1rem;
  }
}

.policy-section {
  max-width: 900px;
  margin: 3em auto;
  padding: 0 1em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: 100px; /* Adjust based on your navbar height */
}

.policy-section h1,
.policy-section h2,
.policy-section h3 {
  color: #5271ff;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.policy-section h1 {
  font-size: 2.5rem;
  text-align: center;
}

.policy-section h2 {
  font-size: 1.6rem;
}

.policy-section h3 {
  font-size: 1.2rem;
}

.policy-section p,
.policy-section ul {
  margin-bottom: 1em;
}

.policy-section ul {
  padding-left: 1.5em;
}

.policy-section a {
  color:  var(--color-primary);
  text-decoration: none;
}

.policy-section a:hover,
.policy-section a:focus {
  text-decoration: underline;
}





.policy-section {
  max-width: 900px;
  margin: 3em auto;
  padding: 0 1em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: 100px; /* Adjust based on navbar height */
}

.policy-section h1,
.policy-section h2 {
  color: var(--color-primary);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.policy-section h1 {
  font-size: 2.5rem;
  text-align: center;
}

.policy-section h2 {
  font-size: 1.6rem;
}

.policy-section p,
.policy-section ul {
  margin-bottom: 1em;
}

.policy-section ul {
  padding-left: 1.5em;
}

.policy-section a {
  color: var(--color-primary);
  text-decoration: none;
}

.policy-section a:hover,
.policy-section a:focus {
  text-decoration: underline;
}



.agency-card {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5em;
  margin-bottom: 2em;
  max-width: 1000px;
  margin-inline: auto;
  gap: 1.5em;
}
.agency-card {
margin-top: 100px; /* Adjust to match or exceed your navbar height */
}

.agency-logo img {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

.agency-main {
  flex: 1;
}

.agency-main h2 {
  font-size: 1.5rem;
  color:  var(--color-primary);
  margin-bottom: 0.5em;
}

.agency-main p {
  margin-bottom: 0.4em;
}

.buttons {
  display: flex;
  gap: 1em;
  margin-top: 1em;
  flex-wrap: wrap;
}

.buttons a, .buttons button {
  padding: 0.6em 1.2em;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.9rem;
}

.watch-review {
  background: #ff0000 ;
  color: white;
}

.view-more {
  background: #5271ff;
  color: white;
}

/* Popup */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1em;
}

.popup-content {
  background: white;
  padding: 2em;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.popup-content h3 {
  color: var(--color-primary);
  margin-bottom: 1em;
}

.popup-content p {
  margin-bottom: 0.5em;
}

.close-popup {
  position: absolute;
  top: 1em;
  right: 1em;
  font-size: 1.5em;
  cursor: pointer;
  color: #555;
}

@media (max-width: 600px) {
  .agency-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .agency-logo img {
    width: 80px;
  }
  .buttons {
    justify-content: center;
  }
}



