:root {
  --primary: #1e2a38;
  /* Corporate Navy */
  --accent: #4f8a8b;
  /* Muted Teal */
  --highlight: #e9d985;
  /* Warm Sand Yellow */
  --light: #f4f4f4;
  /* Soft Gray */
  --bg: #ffffff;
  /* White */
  --text: #2d2d2d;
  /* Dark Gray */
  --text-muted: #7a7a7a;
  /* Medium Gray */
  --card-bg: #fafafa;
  /* Very Light Gray */
  --card-border: #dddddd;
  /* Subtle Gray Border */
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--text);
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}
.navbar {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary);
  padding: 1rem 2rem;
  position: relative;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.logo {
  min-width: 80px;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-center ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-center ul li a,
.blog-link {
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0.5rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.nav-center ul li a:hover,
.blog-link:hover {
  color: var(--highlight);
}

.nav-right {
  margin-left: auto;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--highlight);
}

.mobile-only {
  display: none;
}

.blog-link {
  color: var(--accent);
}

.blog-link:hover {
  color: var(--accent);
  filter: brightness(0.9);
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-center {
    width: 100%;
    position: relative;
    transform: none;
    left: auto;
  }

  .nav-center ul {
    flex-direction: column;
    position: absolute;
    top: 5px;
    left: 25px;
    background: var(--primary);
    width: 100%;
    display: none;
    padding: 1rem 0;
    z-index: 999;
    margin: 0 au;
  }

  .nav-center ul.active {
    display: flex;
  }

  .nav-center ul li {
    text-align: center;
    padding: 1rem 0;
  }

  .nav-right {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

.desktop-only {
  display: block;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

header {
  background: var(--primary);
  color: white;
  padding: 0.5rem 0.25rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

header img {
  border-radius: 5px;
}

header div {
  padding: 1rem;
}

header h1 {
  padding-top: 20px;
  font-size: 2.5rem;
}

header p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-text {
  text-align: center;
}

.down-arrow {
  font-size: 2.5rem;
  color: var(--highlight);
  animation: bounce 2s infinite;
}

/* Optional subtle bounce effect */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
  }

  .hero-text {
    order: 2;
  }
}

.goal {
  /* color: var(--highlight); */
}
/* Visually hidden h2 for accessibility */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Base container */
.container {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

/* Selector buttons */
.selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.selector button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.selector button.active,
.selector button:hover {
  background: var(--accent);
}

.selector button:last-of-type {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dropdown fallback for mobile */
.dropdown {
  display: none;
  margin-bottom: 1rem;
}

.dropdown select {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Carousel section base */
.carousel-section {
  padding: 1rem 1rem;
  background-color: var(--bg-light);
  /* padding-top: 1rem; */
}

/* Horizontal scroll carousel */
.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scroll-padding-inline: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* Card styles */
.card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid transparent;
  margin: 0 auto;
  border-top-color: #4caf50;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-top-color: transparent;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

.card ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card ul li {
  margin-bottom: 0.4rem;
}

.card .price {
  font-weight: bold;
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card .timeline {
  color: #777;
  font-weight: normal;
  font-size: 0.95rem;
}

.card a {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 500;
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 1px dashed var(--highlight);
  transition: all 0.2s ease;
}

.card a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Responsive fallback */
@media (max-width: 768px) {
  .selector {
    display: none;
  }

  .dropdown {
    display: block;
  }

  .card {
    min-width: 300px;
    margin-bottom: 2rem;
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

.benefits-section {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
}

.benefits-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefits-text {
  flex: 1 1 60%;
}

.benefits-text h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #103565;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  line-height: 145%;
}

.benefit h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  /* color: #103565; */
}

.benefit p {
  font-size: 1rem;
  color: #333;
}

.benefits-image {
  flex: 1 1 35%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  margin-bottom: auto;
}

.benefits-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact {
  padding: 4rem 2rem;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
  min-width: 280px;
  order: 2;
  margin-top: auto;
  margin-bottom: auto;
}

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

.contact-left p {
  margin-bottom: 1rem;
}

.social-media-div * {
  margin-left: 5px;
}

.social-media-div a {
  margin-right: 0.5rem;
  text-decoration: none;
}

.email-div {
  display: flex;
  margin: 0 auto;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  order: 1;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form .form-row input {
  flex: 1 1 48%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg);
  color: var(--text);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
  width: 93%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 138, 139, 0.15);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  align-self: flex-start;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #3d7273;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .contact {
    padding: 0px !important;
  }

  .contact-inner {
    display: block;
    padding: 0px !important;
  }

  .contact-form {
    margin-top: 40px;
    padding: 7.5px !important;
  }

  /* .contact-form .form-row {
    flex-direction: column;
  }

  .contact-form .form-row input {
    flex: 1 1 100%;
  }

  .contact-form button {
    align-self: center;
  } */
}

/* Dropdown fallback for mobile */
.dropdown {
  display: none;
  margin-bottom: 1rem;
}

.dropdown select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: var(--bg);
  color: var(--text);
}

/* Carousel section base */
.carousel-section {
  padding: 1rem;
  background-color: var(--bg-light);
}

/* Horizontal scroll carousel */
.carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scroll-padding-inline: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.carousel::-webkit-scrollbar {
  height: 6px;
}

.carousel::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}

/* Card styles */
.card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #4caf50;
  margin: 0 auto;
}

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

.card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
}

/* Responsive fallback */
@media (max-width: 768px) {
  .selector {
    display: none;
  }

  .dropdown {
    display: block;
  }

  .carousel {
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .card {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.5rem;
    padding: 1.25rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card ul {
    font-size: 0.9rem;
    padding-left: 1rem;
  }

  .card .price {
    font-size: 1rem;
  }
}

.site-footer {
  background: var(--primary);
  color: var(--light);
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
}

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

.footer-about,
.footer-links,
.footer-social {
  flex: 1 1 220px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 0rem;
  line-height: 150%;
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--light);
}

.footer-links,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-social a {
  color: var(--light);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover,
.footer-social a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-about,
  .footer-links,
  .footer-social {
    flex: 1 1 100%;
  }

  .footer-links h4,
  .footer-social h4 {
    margin-top: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Accent color bar per card */
/* .card[data-package="seo"] {
  border-top-color: #4caf50;
}
.card[data-package="shop"] {
  border-top-color: #ff9800;
}
.card[data-package="book"] {
  border-top-color: #3f51b5;
}
.card[data-package="professional"] {
  border-top-color: #009688;
}
.card[data-package="leads"] {
  border-top-color: #9c27b0;
} */

dl dd::before {
  content: ">";
  margin-right: 5px;
  color: var(--primary); /* optional: match your theme */
  font-weight: bold;
}

/* Contact Form Fixes */
.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-form .form-row input {
  flex: 1 1 48%;
  min-width: 100px;
}

.contact-form input,
.contact-form textarea {
  width: auto; /* full width, fixes 93% issue */
  padding: 0.9rem 1rem;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg);
  color: var(--text);
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 138, 139, 0.15);
  outline: none;
}

.contact-form button {
  align-self: flex-start;
  background-color: var(--accent);
  color: white;
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #3d7273;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  form {
    display: flex;
    margin: 0 auto;
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form .form-row input {
    flex: 1 1 auto;
  }

  .contact-form button {
    align-self: center;
    width: 100%; /* optional: make button full width on mobile */
  }
}

@media (max-width: 768px) {
  .contact-inner {
    display: block;
    text-align: center; /* centers the left side text + icons */
  }

  .contact-form {
    margin: 40px auto 0 auto; /* centers the form */
    width: 100%; /* force full width */
    max-width: 500px; /* keeps it neat, not stretched */
    padding: 1.5rem; /* restore padding */
  }

  .contact-form .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%; /* force full width */
  }

  .contact-form button {
    align-self: center; /* centers button */
    width: auto; /* or 100% if you want full width button */
  }

  .contact-form > * {
    max-width: 100% !important;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100% !important; /* make them adapt to parent */
    box-sizing: border-box; /* padding stays inside width */
  }

  .card:hover {
    transform: none;
  }
}
