:root {
  --blue:    #0052CC;
  --light:   #F4F6FB;
  --accent:  #FF7A59;
  --dark:    #1A1A1A;
  --font:    'Poppins', sans-serif;
}

/* General Styles & Utilities */
body {
  background: #f0f4fa; /* Soft blue background for contrast */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none; /* Ensure buttons don't have default borders */
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: #0041a8;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: #e65b45;
}

.btn-ghost {
  background: transparent;
  border: 2px esolid var(--dark);
  color: var(--dark);
}
.btn-ghost:hover {
  background: var(--dark);
  color: #fff;
}

.section-title {
  text-align: center;
  font-family: var(--font);
  font-size: 1.75rem; /* Slightly larger for prominence */
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem; /* Adjusted margin */
}

/* NAV */
.nav {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: relative; /* For mobile menu positioning */
}
.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav .logo {
  font-weight: 600;
  color: var(--blue);
  font-size: 1.2rem;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: inline-flex;
  gap: 1.5rem;
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove default padding */
}
.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0; /* Add padding for better click area */
}

/* HERO */
.hero {
  background: var(--light) url("assets/hero.png") center/cover no-repeat;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  min-height: 300px; /* Adjust as needed */
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* adjust opacity as needed */
  z-index: 1;
}
.hero-content {
  max-width: 800px; /* Constrain width for better readability */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-family: var(--font);
  font-size: 2.5rem; /* Slightly larger */
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2; /* Improve readability */
}
.hero-content p {
  font-family: var(--font);
  font-size: 1.1rem; /* Slightly larger */
  color: #e3e3e3;
  margin-bottom: 2rem; /* More space before button */
  line-height: 1.6;
}

/* === FEATURES SECTION (NEW) === */
.features {
  padding: 3rem 0;
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 3rem 1.5rem;
  margin: 3rem auto;
  max-width: 1100px;
  text-align: center;
}
.features-subtext {
  font-family: var(--font);
  color: #555;
  margin-bottom: 3rem; /* More space before grid */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-item {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.feature-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.feature-item h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.feature-item p {
  font-family: var(--font);
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* === TRUST & TESTIMONIALS === */
.trust-testimonials {
  background: var(--light);
  padding: 3rem 0;
  text-align: center;
}

.testimonials-intro-text { /* New style for intro text */
  font-family: var(--font);
  color: #555;
  margin-bottom: 2.5rem; /* Space before logos */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.section-title {
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem; /* Adjusted margin */
  color: var(--dark);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  row-gap: 1.5rem;
  margin-bottom: 3rem; /* More space before testimonials grid */
}

.trust-logos img {
  filter: grayscale(100%);
  opacity: 0.6;
  max-height: 200px;
  transition: filter 0.3s, opacity 0.3s;
}

.trust-logos img:hover {
  filter: none;
  opacity: 1;
}

/* New Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust minmax as needed */
  gap: 2rem; /* Space between testimonial cards */
  max-width: 1000px; /* Constrain grid width */
  margin: 0 auto; /* Center the grid */
}

.testimonial-card {
  /* max-width: 600px;  <-- REMOVE THIS LINE from the existing .testimonial-card rule */
  /* margin: auto;      <-- REMOVE THIS LINE from the existing .testimonial-card rule */
  background: var(--blue);
  color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex; /* Use flexbox for internal alignment */
  flex-direction: column;
  align-items: center; /* Center content vertically */
  text-align: center; /* Center text */
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid rgba(255,255,255,0.5);
}

.testimonial-card p {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.testimonial-card h3 {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.testimonial-card h4 {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-style: normal;
}

/* Responsive adjustment for testimonials grid */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr; /* Stack testimonials on smaller screens */
  }
}

/* === PRICING === */
.pricing {
  padding: 3rem 0;
  background: #fff;
  text-align: center;
}
.pricing h2 { /* This rule is now redundant due to .section-title */
  font-family: var(--font);
  color: var(--dark);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.pricing-subtext {
  font-family: var(--font);
  color: #555;
  margin-bottom: 3rem; /* More space before cards */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}
.pricing-cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.plan-card {
  background: var(--light);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}
.plan-card.featured {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  position: relative; /* For badge positioning */
  overflow: hidden; /* For badge overflow */
}
.badge {
  background: #fff;
  color: var(--blue);
  font-weight: bold;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem; /* Slightly more padding */
  border-radius: 999px;
  margin-bottom: 1rem;
  display: inline-block;
  /* Position badge for featured card */
  position: absolute;
  top: 1rem;
  right: 1rem;
  transform: rotate(5deg); /* Slight rotation for flair */
}
.plan-card h3 {
  font-family: var(--font);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.plan-price {
  font-family: var(--font);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.plan-price span {
  font-size: 1rem;
  color: inherit;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  text-align: left;
  width: 100%; /* Ensure list takes full width for alignment */
}
.plan-features li {
  font-family: var(--font);
  font-size: 0.9rem;
  color: inherit;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem; /* Space for checkmark */
}
.plan-features li::before {
  content: '✓'; /* Checkmark icon */
  color: var(--accent); /* Accent color for checkmark */
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}
.plan-card.featured .plan-features li::before {
  color: #fff; /* White checkmark for featured card */
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: #ccc;
  padding: 2rem 0 1rem;
  font-family: var(--font);
}

.footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col.social a {
  margin-right: 0.75rem;
  font-size: 1.25rem;
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-col.social a:hover {
  transform: scale(1.2);
}

.footer-note {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem; /* Add some space above the note */
}

/* === MOBILE NAV TOGGLE === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

@media (max-width: 768px) {
  .nav-links,
  .nav .btn-primary { /* Hide the primary button in nav on mobile */
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex; /* Use flex for vertical stacking */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000; /* Ensure it's above other content */
  }

  .nav-links.open li {
    margin: 0.5rem 0;
    text-align: center;
  }
  .nav-links.open a {
    padding: 0.75rem 0; /* Larger click area for mobile links */
    display: block; /* Make links fill the width */
  }

  .hero-content h1 {
    font-size: 2rem; /* Adjust for smaller screens */
  }
  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr; /* Stack features on small screens */
  }
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 480px) {
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-logos {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .trust-logos img {
    max-height: 30px; /* Smaller logos on very small screens */
  }

  .footer .container {
    grid-template-columns: 1fr; /* Stack footer columns */
    text-align: center;
  }
  .footer-col ul {
    margin-bottom: 1rem; /* Space between stacked footer lists */
  }
  .footer-col.social {
    margin-top: 1rem; /* Space for social icons */
  }
}

/* === INTERACTIVITY STATES === */
a:focus,
button:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

.nav-links a:hover,
.footer-col a:hover {
  color: var(--accent);
}

.plan-card.featured:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}







