/*
 * Global stylesheet for Froydinger Media.
 *
 * This theme embraces a dark dashboard feel with gentle radial glows and rounded corners.
 * Colors are tuned for readability on dark backgrounds. Fluid layouts adapt gracefully
 * across desktop and mobile. A small amount of motion is used for hover and scroll
 * interactions to keep the site feeling lively without distracting the visitor.
 */

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

/* ---------------------------------------------------------------------------
 * Price color variables
 *
 * To make pricing across the site more visually appealing, define a pair of
 * custom properties for price colors. `--price-color` is used for all
 * standard price text, while `--price-highlight-color` is used on hover to
 * create a subtle interactive effect. Adjust these values to tweak the
 * accent hue globally.
 */
:root {
  --price-color: #34D399;
  --price-highlight-color: #6EE7B7;
}

body {
  font-family: 'Inter', sans-serif;
  color: #F3F4F6;
  background-color: #02030F;
  position: relative;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Create subtle radial glows behind the dark background */
body::before {
  content: '';
  position: fixed;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  /* Use a pair of radial glows to hint at the green/purple dashboard vibe.
     The first glow uses a vibrant green and the second introduces a subtle purple.
     Reducing the alpha keeps the effect subdued on the dark background. */
  /* Use radial glows similar to the original dashboard theme. Maintain a hint of green and purple but with lower opacity. */
  background: radial-gradient(circle at 30% 30%, rgba(34,197,94,0.2), rgba(0,0,0,0) 60%),
              radial-gradient(circle at 70% 80%, rgba(90,75,200,0.12), rgba(0,0,0,0) 60%);
  z-index: -2;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

header {
  width: 100%;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-weight: 600;
  font-size: 1.1rem;
  /* Ensure the brand title uses a white color rather than inheriting purple from link styles */
  color: #F3F4F6;
}

/* Force the logo link itself to be white on all states */
.logo, .logo:visited, .logo:active, .logo:hover {
  color: #F3F4F6;
  text-decoration: none;
}

nav ul.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav ul.nav-links li a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  /* Restore pill styling for nav links to match the original dashboard theme */
  border-radius: 999px;
  text-decoration: none;
  color: #F3F4F6;
  font-size: 0.95rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease;
}

nav ul.nav-links li a.active,
nav ul.nav-links li a:hover {
  background: rgba(255,255,255,0.12);
  color: #FFFFFF;
}

/* Hamburger menu for small screens */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger i {
  font-size: 1.5rem;
  color: #F3F4F6;
}

@media (max-width: 768px) {
  /* Reduce the top and bottom padding of the hero section on small screens to pull the content closer to the header */
  .hero {
    padding: 2rem 0 2rem;
  }
  /* Reduce hero card padding and margin on mobile to bring the call to action closer to the header */
  .hero-card {
    padding: 1.25rem;
    /* Shrink the vertical margins so the card sits closer to the header on small screens */
    margin: 0.5rem 0;
  }
  .hero-card-text h1 {
    font-size: 2rem;
  }
  .hero-card-text p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  /* Smaller buttons and tighter spacing in hero CTA on mobile */
  .hero-card .hero-cta {
    gap: 0.5rem;
  }
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Adjust sticky CTA bar size and padding on mobile */
  .sticky-cta {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  /* Tighten up mobile navigation menu spacing */
  nav ul.nav-links {
    /* Narrow the mobile menu so there isn’t excessive blank space at the sides */
    width: 180px;
  }
  nav ul.nav-links li a {
    /* Reduce padding on mobile nav links to tighten the menu */
    padding: 0.8rem;
  }

  /* Ensure Calendly modal is centred and fills the screen on mobile */
  .modal-content {
    max-width: 100%;
    /* Remove extra horizontal margin so the modal is centred on mobile */
    margin: 0;
    width: 100%;
  }
  nav ul.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(2,3,15,0.95);
    /* Narrow the mobile flyout menu so it aligns closer to the right edge */
    width: 180px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  nav ul.nav-links.active {
    display: flex;
  }
  nav ul.nav-links li a {
    /* On mobile, render nav links as a simple list rather than pills */
    width: 100%;
    /* Reduce padding to tighten the vertical space per item */
    padding: 0.8rem;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hamburger {
    display: block;
  }

  /* Stack hero card contents on small screens */
  .hero-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-card-img {
    margin-bottom: 1rem;
  }
  .hero-card-text h1 {
    font-size: 2rem;
    text-align: center;
  }
  .hero-card-text p {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .hero-card .hero-cta {
    justify-content: center;
  }
}

/* Hero section */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  color: #A1A6C8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero card styling replicates the original dashboard theme */
.hero-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Layout the image and text nicely inside the hero card */
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: left;
}

.hero-card-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.1);
}

.hero-card-text {
  flex: 1;
}

.hero-card-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-card-text p {
  font-size: 1.05rem;
  /* Use a much lighter colour for the hero description to avoid purple tint */
  color: #D1D6F6;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero-card .hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem 1.3rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  /* Add a subtle drop shadow so floating buttons stand out */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/*
 * Button styling
 *
 * Bring back the pill styles from the original dashboard theme. The primary button
 * uses a very light background with dark text to contrast against the dark
 * layout, while the secondary button is an outlined pill with a transparent
 * fill. Both buttons include a subtle shadow to lift them off the page.
 */
.btn.primary {
  background: #F3F4F6;      /* Light background */
  color: #0A1336;           /* Dark text for contrast */
  border: 1px solid rgba(255,255,255,0.3);
  /* Add a subtle green glow around primary buttons (free call) to draw attention */
  box-shadow: 0 0 0 2px rgba(52,211,153,0.4);
}

.btn.primary:hover {
  background: #E5E7EB;      /* Slightly darker on hover */
}

.btn.secondary {
  background: rgba(255,255,255,0.05);  /* Transparent fill */
  color: #F3F4F6;                     /* White text */
  border: 1px solid rgba(255,255,255,0.4); /* Light border */
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
}

.btn small.price {
  /* Emphasise prices inside CTA buttons with a larger font and green accent */
  font-size: 0.85rem;
  margin-left: 0.3rem;
  font-weight: 600;
  color: var(--price-color);
  transition: color 0.2s ease, transform 0.2s ease;
}

/* Features */
.features {
  padding: 3rem 0;
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feature-card {
  /* Dark cards with subtle border to evoke the original dashboard design */
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.feature-card i {
  font-size: 1.5rem;
  /* Feature icons use a bright turquoise accent reminiscent of the original dashboard */
  color: #67E8F9;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #A1A6C8;
}

/* About */
.about {
  padding: 3rem 0;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.about-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.1);
}

.about p {
  margin-bottom: 1rem;
  color: #A1A6C8;
}

/* Social links should wrap naturally rather than scroll off the screen */
.social-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  padding-bottom: 0.5rem;
  max-width: 100%;
}

/* remove custom scrollbars since carousel now wraps */

.social-carousel a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255,255,255,0.05);
  color: #F3F4F6;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.social-carousel a:hover {
  background: rgba(255,255,255,0.1);
}

.social-carousel i {
  font-size: 1rem;
}

/* Projects section */
.projects {
  padding: 3rem 0;
}

.projects h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.projects p {
  text-align: center;
  color: #A1A6C8;
  margin-bottom: 1.5rem;
}

.projects-carousel {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.projects-carousel a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(255,255,255,0.05);
  color: #F3F4F6;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.projects-carousel a:hover {
  background: rgba(255,255,255,0.1);
}

.projects-carousel i {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .projects p {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-img {
    margin: 0 auto;
  }
  .social-carousel {
    justify-content: center;
  }
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  color: #6F77A7;
  font-size: 0.875rem;
}

.footer-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}

.footer-nav a {
  color: #A1A6C8;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
}

.footer-nav a:hover {
  color: #D1D6F6;
}

.copyright {
  margin-top: 0.5rem;
}

/*
 * Sticky call-to-action bar
 *
 * The sticky CTA bar stays hidden above the viewport until triggered, then slides
 * down just below the header. A blurred, semi‑opaque background ensures the
 * buttons remain legible on any background without completely obscuring the
 * content underneath. On mobile screens the bar is offset below the header so
 * it never covers navigation. On larger screens it hugs the very top.
 */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  /* Hide the sticky bar above the viewport initially. It will slide down when shown. */
  top: -100px;
  bottom: auto;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 0.75rem 1rem;
  /* Provide a blurred, semi‑opaque dark backdrop so buttons are easy to see */
  background: rgba(2,3,15,0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  z-index: 150;
  transition: top 0.3s ease;
}

.sticky-cta.show {
  /* On larger screens, sit at the very top; mobile offset handled below */
  top: 0;
}

@media (max-width: 768px) {
  /* In mobile view, hide the header when the sticky CTA bar appears */
  header.hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 300;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: #0A1336;
  padding: 1rem;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 640px;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.modal-content .close-modal {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  /* Style the close button as a black circle with a white × for better visibility */
  background: rgba(0, 0, 0, 0.85);
  border: none;
  /* Use a bright white X and slightly larger font for better contrast */
  color: #FFFFFF;
  font-size: 1.2rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;

  /* Ensure the close button sits above the Calendly content */
  z-index: 2;
}

.modal-content .calendly-inline-widget {
  width: 100%;
  height: 630px;
}

/* Pricing page specifics */
.pricing-page .hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.pricing-page .hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.pricing-page .hero p {
  max-width: 700px;
  margin: 0 auto;
  color: #A1A6C8;
}

.pricing-page .pricing-section {
  padding: 3rem 0;
}

.pricing-page h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tier-card {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.tier-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tier-card .price {
  /* Increase price prominence in tier cards */
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--price-color);
  transition: color 0.2s ease, transform 0.2s ease;
}

.tier-card .desc {
  font-size: 0.9rem;
  color: #A1A6C8;
  margin-bottom: 1rem;
}

.pricing-page .note, .pricing-page .info {
  color: #A1A6C8;
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 1rem;
}

.addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.addon-card {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s ease;
}

.addon-card:hover {
  background: rgba(255,255,255,0.08);
}

.addon-card i {
  font-size: 1.3rem;
  /* Add‑on icons lean into a softer purple accent, complementing the primary green */
  color: #A855F7;
}

.addon-card span {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

.addon-card .name {
  font-weight: 600;
}

.addon-card .price {
  /* Highlight add-on prices with the same accent green */
  color: var(--price-color);
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

/*
 * Interactive price effects
 *
 * Prices should feel alive when a visitor hovers over a card or touches it on
 * mobile. Each price scales up slightly and shifts to a lighter green on
 * hover. The small price inside buttons also responds to hover to maintain
 * consistency across components.
 */
.package-card:hover .price,
.site-card:hover .price,
.tier-card:hover .price,
.addon-card:hover .price {
  color: var(--price-highlight-color);
  transform: scale(1.05);
}

/* Highlight the price inside secondary CTA buttons on hover */
.btn.secondary:hover small.price {
  color: var(--price-highlight-color);
  transform: scale(1.1);
}

/* Additional page text inside a price element should be smaller and more subdued */
.site-card .price .addon-text,
.tier-card .price .addon-text {
  display: block;
  font-size: 0.85rem;
  color: #A1A6C8;
  margin-top: 0.25rem;
}

/* Scroll fade and blur animations
 * Elements with the `.scroll-fade` class will animate from a blurred, transparent
 * state into full opacity and clarity as they enter the viewport. When they
 * leave the viewport, they revert back to the initial blurred state. This
 * effect is applied to cards, text blocks and other modular elements across
 * the site. */
/*
 * Scroll fade and blur animations
 *
 * Elements with the `.scroll-fade` class will animate from a blurred,
 * transparent state into full opacity and clarity as they enter the viewport.
 * When they leave the viewport, they revert back to the initial blurred state.
 * Increase the blur and translation offsets for a more dramatic reveal.
 */
.scroll-fade {
  opacity: 0;
  /* Stronger blur for an ultra mode effect */
  filter: blur(16px);
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, filter 0.9s ease-out, transform 0.9s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Featured cards stand out with a coloured border and subtle glow */
.site-card.featured,
.tier-card.featured {
  border: 1px solid var(--price-color);
  box-shadow: 0 0 0 2px rgba(52,211,153,0.4);
}

/* Terms page specifics */
.terms-page .hero {
  padding: 3rem 0 2rem;
  text-align: center;
}

.terms-page .hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.terms-page .hero p {
  max-width: 700px;
  margin: 0 auto;
  color: #A1A6C8;
}

.terms-content {
  padding: 3rem 0;
}

.terms-content h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.terms-content p {
  font-size: 0.95rem;
  color: #A1A6C8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/*
 * Custom sections: Info, Packages and Web Packages
 *
 * These styles bring in new modular content areas inspired by the original dashboard
 * design. Each section uses dark cards with subtle borders and soft hover effects.
 */

/* Info section for 'What you get' and 'Who this helps' */
.info {
  padding: 3rem 0;
}

.info .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.2s ease, background 0.2s ease;
  /* Center the contents of info cards both horizontally and vertically */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Vertically centre the contents within the card */
  justify-content: center;
  text-align: center;
  /* Ensure the card occupies the full height of its grid cell */
  height: 100%;
}

.info-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.info-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card ul {
  list-style: none;
  margin: 0 auto;
  padding-left: 0;
  width: fit-content;
}

.info-card ul {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 0;
}

.info-card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: #D1D6F6;
}

.info-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #67E8F9;
  border-radius: 50%;
}

/* Ensure paragraphs inside info cards have a bit of spacing without bullets */
.info-card p {
  margin-bottom: 0.5rem;
  color: #D1D6F6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* Packages section (consultations) */
.packages {
  padding: 3rem 0;
}

.packages .container {
  text-align: center;
}

.packages h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.packages p {
  color: #A1A6C8;
  margin-bottom: 1.5rem;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.package-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  border-radius: 1rem;
  /* Make each package card a flexible column so content can be vertically centered */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.package-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

/* Highlight the free 15-min consult card with a subtle green glow */
.packages-grid .package-card:first-child {
  border-color: var(--price-color);
  box-shadow: 0 0 0 2px rgba(52,211,153,0.4);
}

.package-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.package-card .price {
  /* Increase price prominence in package cards */
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--price-color);
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.package-card ul {
  list-style: none;
  /* Center the bullet list within the card */
  margin: 0 auto 1rem;
  padding-left: 0;
  width: fit-content;
}

.package-card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: #D1D6F6;
  text-align: left;
}

.package-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #67E8F9;
  border-radius: 50%;
}

/* Flex wrapper for package card content to vertically and horizontally center items */
.package-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.package-card .note {
  font-size: 0.85rem;
  color: #A1A6C8;
  margin-bottom: 1rem;
}

.package-card .cta-row {
  display: flex;
  gap: 1rem;
}

/* Web development packages section */
.web-packages {
  padding: 3rem 0;
}

.web-packages .container {
  text-align: center;
}

.web-packages h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.web-packages p {
  color: #A1A6C8;
  margin-bottom: 1.5rem;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.site-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem;
  border-radius: 1rem;
  /* Center the contents of website package cards similar to pricing page */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.site-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  width: 100%;
}

.site-card .price {
  /* Increase price prominence in site cards */
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--price-color);
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.site-card ul {
  list-style: none;
  /* Center the bullet list within the card */
  margin: 0 auto 1rem;
  padding-left: 0;
  width: fit-content;
}

.site-card ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  color: #D1D6F6;
}

.site-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.5rem;
  height: 0.5rem;
  background: #67E8F9;
  border-radius: 50%;
}

/* Flex wrapper for site card content to vertically and horizontally center items */
.site-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.web-packages .note {
  font-size: 0.85rem;
  color: #A1A6C8;
  margin-top: 1rem;
}

.web-packages .cta-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}