/* --- CSS Variables --- */
:root {
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-300: #ddd6fe;
  --violet-400: #a78bfa;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-900: #4c1d95;
  --violet-base: #8b5cf6;

  --pink-50: #fdf2f8;
  --pink-200: #fbcfe8;
  --pink-700: #be185d;
  --pink-base: #ec4899;

  --orange-50: #fff7ed;
  --orange-300: #fed7aa;
  --orange-700: #c2410c;
  --orange-base: #f97316;

  --teal-700: #0f766e;
  --teal-base: #0d9488;

  --sky-700: #0369a1;
  --sky-base: #0ea5e9;

  --indigo-700: #4338ca;
  --indigo-base: #4f46e5;

  --slate-100: #f1f5f9;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #1e293b;

  --green-100: #dcfce7;
  --green-300: #86efac;
  --green-800: #166534;

  --red-100: #fee2e2;
  --red-300: #fca5a5;
  --red-800: #991b1b;

  --white: #ffffff;
  --black-t-10: rgba(0, 0, 0, 0.1);
  --black-t-05: rgba(0, 0, 0, 0.05);
}

/* --- Base & Typography --- */
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
  background-color: var(--violet-50);
  color: var(--slate-700);
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  color: var(--slate-900);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.25rem;
}

p {
  line-height: 1.6;
  color: var(--slate-600);
}

a {
  text-decoration: none;
  color: var(--violet-700);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--violet-900);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem; /* Increased side padding */
}

.section {
  padding: 7rem 0; /* Increased vertical padding */
}

.section-header {
  text-align: center;
  margin-bottom: 5rem; /* Increased bottom margin */
}
.section-header h2 {
  margin-bottom: 1.5rem; /* Increased bottom margin */
}
.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

.bg-white {
  background-color: var(--white);
}
.bg-violet-light {
  background-color: var(--violet-50);
}

/* --- Accessibility --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Grids --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem; /* Increased gap */
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem; /* Increased gap */
  justify-content: center; /* Center grid items horizontally */
}

/* --- Buttons --- */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box; /* Added for consistent sizing */
}
.button-primary {
  background-color: var(--violet-600);
  color: var(--white);
}
.button-primary:hover {
  background-color: var(--violet-700);
  color: var(--white);
}
.button-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.button-glow:hover {
  box-shadow: 0 0 25px 0 rgba(139, 92, 246, 0.6);
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Header --- */
.header {
  background-color: rgba(247, 243, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--violet-100);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.logo {
  font-size: 1.5rem;
  font-weight: 800;
}
.desktop-menu {
  display: none;
}
.mobile-menu-button-container {
  display: block;
}
#mobile-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-900);
  padding: 0.5rem; /* Add some padding for easier tapping */
}
/* This makes the hamburger icon visible */
.header .icon {
  width: 1.75rem;
  height: 1.75rem;
}
.mobile-menu {
  border-top: 1px solid var(--violet-100);
}
.mobile-menu a {
  display: block;
  padding: 0.75rem 2rem;
}
.mobile-menu a:hover {
  background-color: var(--violet-100);
}
.hidden {
  display: none;
}
@media (min-width: 768px) {
  .desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .mobile-menu-button-container {
    display: none;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 10;
  padding: 8rem 2rem;
  text-align: center;
}
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}
.hero-content p {
  max-width: 600px;
  margin: 2rem auto 2.5rem; /* Increased margins */
}
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
}

/* --- Cards & Special Sections --- */
.info-card {
  padding: 2.5rem; /* Increased padding */
  border-radius: 0.75rem;
  border: 1px solid var(--violet-100);
}
.info-card.bg-violet {
  background-color: var(--violet-50);
  border-color: var(--violet-300);
}
.info-card.bg-pink {
  background-color: var(--pink-50);
  border-color: var(--pink-200);
}
.info-card.bg-orange {
  background-color: var(--orange-50);
  border-color: var(--orange-300);
}
.info-card h3 {
  margin-bottom: 1rem; /* Increased margin */
}
.bg-violet h3 {
  color: var(--violet-700);
}
.bg-pink h3 {
  color: var(--pink-700);
}
.bg-orange h3 {
  color: var(--orange-700);
}

.about-us-content {
  text-align: center;
}
.about-us-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.subtitle {
  color: var(--violet-600);
  font-weight: 600;
  margin-top: 0;
}
.bio {
  max-width: 600px;
  margin: 1.5rem auto 0; /* Increased margin */
}

.timeline-step {
  text-align: center;
  padding: 1rem;
}
.timeline-number {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem; /* Increased margin */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  border: 2px solid var(--violet-base);
  color: var(--violet-base);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px var(--black-t-10),
    0 4px 6px -4px var(--black-t-10);
}
.timeline-step h3 {
  margin-bottom: 0.5rem;
}

.business-card {
  background-color: var(--white);
  padding: 2rem; /* Increased padding */
  border-radius: 0.75rem;
  border: 1px solid var(--violet-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px -1px var(--black-t-10), 0 2px 4px -2px var(--black-t-10);
}
.business-card:hover {
  transform: translateY(-5px) scale(1.03); /* Changed hover effect */
  box-shadow: 0 20px 25px -5px var(--black-t-10),
    0 8px 10px -6px var(--black-t-10);
}
.icon-large {
  width: 3rem;
  height: 3rem;
}
.business-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 1.5rem; /* Increased margin */
}
.bg-violet .icon-large {
  color: var(--violet-600);
}
.bg-pink .icon-large {
  color: var(--pink-base);
}
.bg-orange .icon-large {
  color: var(--orange-base);
}
.bg-teal .icon-large {
  color: var(--teal-base);
}
.bg-sky .icon-large {
  color: var(--sky-base);
}
.bg-indigo .icon-large {
  color: var(--indigo-base);
}
.bg-slate .icon-large {
  color: var(--slate-600);
}

.bg-violet h3 {
  color: var(--violet-900);
}
.bg-pink h3 {
  color: var(--pink-700);
}
.bg-orange h3 {
  color: var(--orange-700);
}
.bg-teal h3 {
  color: var(--teal-700);
}
.bg-sky h3 {
  color: var(--sky-700);
}
.bg-indigo h3 {
  color: var(--indigo-700);
}
.bg-slate h3 {
  color: var(--slate-700);
}

.portfolio-card {
  display: block;
  background-color: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--violet-100);
}
.portfolio-card img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
}
.portfolio-content {
  padding: 1.5rem;
}
.portfolio-content h3 {
  font-size: 1.25rem;
}
.portfolio-content p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.package-details {
  max-width: 896px;
  margin: 0 auto;
  padding: 3rem; /* Increased padding */
  border-radius: 0.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .package-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem; /* Increased gap */
  }
}
.package-column h3 {
  color: var(--violet-700);
  margin-bottom: 1.5rem; /* Increased margin */
}
.package-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Increased gap */
}
.package-column li {
  display: flex;
  align-items: flex-start;
}
.package-column li span:first-child {
  color: var(--violet-base);
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.pricing-container {
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}
.pricing-box {
  background-color: var(--white);
  padding: 3rem; /* Increased padding */
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px var(--black-t-10),
    0 4px 6px -4px var(--black-t-10);
  margin-top: 3rem; /* Increased margin */
  border: 1px solid var(--violet-100);
}
.price-amount {
  font-size: 4rem;
  font-weight: 800;
}
.price-term {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--slate-500);
}
.price-setup-fee {
  margin-top: 1.5rem; /* Increased margin */
  color: var(--slate-400);
}
.pricing-box .button {
  width: 100%;
  margin-top: 2.5rem; /* Increased margin */
}

.faq-accordion {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--violet-100);
  box-shadow: 0 4px 6px -1px var(--black-t-10), 0 2px 4px -2px var(--black-t-10);
}
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.faq-question h3 {
  font-size: 1.125rem;
}
.faq-icon {
  color: var(--violet-base);
}
.faq-answer {
  padding-top: 1.5rem; /* Increased padding */
}

.contact-form-container {
  max-width: 576px;
  margin: 3rem auto 0;
}
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
#contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
}
#contact-form input,
#contact-form textarea {
  margin-top: 0.25rem;
  display: block;
  width: 100%;
  background-color: var(--slate-100);
  border: 1px solid var(--slate-300);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 var(--black-t-05);
  padding: 0.75rem 1rem;
  color: var(--slate-900);
  box-sizing: border-box;
}
#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--violet-400);
  border-color: var(--violet-base);
}

/* --- New Contact Form Message Styling --- */
.contact-message {
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-align: center;
  display: none; /* Hidden by default */
  transition: all 0.3s ease;
  border: 1px solid transparent;
  margin-top: 1rem; /* Added margin */
}
.contact-message.show {
  display: block;
}
.contact-message.success {
  background-color: var(--green-100);
  color: var(--green-800);
  border-color: var(--green-300);
}
.contact-message.error {
  background-color: var(--red-100);
  color: var(--red-800);
  border-color: var(--red-300);
}

/* --- Footer --- */
.footer {
  background-color: var(--violet-50);
  color: var(--slate-500);
  padding: 3rem 0; /* Increased padding */
  border-top: 1px solid var(--violet-100);
}
.footer-content {
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem; /* Increased margin */
}
.footer-links a:hover {
  color: var(--slate-900);
}

/* --- Animations & Effects --- */
.gradient-text {
  background: linear-gradient(
    90deg,
    var(--violet-base) 0%,
    var(--pink-base) 50%,
    var(--orange-base) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-flow 6s ease infinite;
  background-size: 200% 200%;
}
.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(139, 92, 246, 0.1);
}
.typewriter-cursor::after {
  content: "|";
  color: var(--violet-base);
  animation: blink 1s step-end infinite;
}
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -150px;
  background-color: rgba(139, 92, 246, 0.1);
  border-radius: 50%;
  animation: rise-bubble 25s infinite;
  opacity: 0;
}
.bubble:nth-child(1) {
  left: 10%;
  width: 80px;
  height: 80px;
  animation-duration: 18s;
  animation-delay: 0s;
  background-color: rgba(236, 72, 153, 0.1);
}
.bubble:nth-child(2) {
  left: 20%;
  width: 30px;
  height: 30px;
  animation-duration: 12s;
  animation-delay: 2s;
}
.bubble:nth-child(3) {
  left: 25%;
  width: 50px;
  height: 50px;
  animation-duration: 22s;
  animation-delay: 5s;
  background-color: rgba(249, 115, 22, 0.1);
}
.bubble:nth-child(4) {
  left: 40%;
  width: 90px;
  height: 90px;
  animation-duration: 25s;
  animation-delay: 1s;
}
.bubble:nth-child(5) {
  left: 50%;
  width: 40px;
  height: 40px;
  animation-duration: 15s;
  animation-delay: 7s;
  background-color: rgba(139, 92, 246, 0.15);
}
.bubble:nth-child(6) {
  left: 65%;
  width: 110px;
  height: 110px;
  animation-duration: 20s;
  animation-delay: 3s;
  background-color: rgba(249, 115, 22, 0.1);
}
.bubble:nth-child(7) {
  left: 75%;
  width: 60px;
  height: 60px;
  animation-duration: 14s;
  animation-delay: 6s;
}
.bubble:nth-child(8) {
  left: 85%;
  width: 25px;
  height: 25px;
  animation-duration: 19s;
  animation-delay: 8s;
  background-color: rgba(236, 72, 153, 0.1);
}
.bubble:nth-child(9) {
  left: 55%;
  width: 45px;
  height: 45px;
  animation-duration: 24s;
  animation-delay: 10s;
}
.bubble:nth-child(10) {
  left: 5%;
  width: 70px;
  height: 70px;
  animation-duration: 16s;
  animation-delay: 4s;
  background-color: rgba(139, 92, 246, 0.1);
}

.timeline {
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background-color: var(--violet-300);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease-out;
}
.timeline.in-view::before {
  transform: scaleX(1);
}
.timeline-step {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.timeline.in-view .timeline-step:nth-child(1) {
  transition-delay: 0.2s;
}
.timeline.in-view .timeline-step:nth-child(2) {
  transition-delay: 0.4s;
}
.timeline.in-view .timeline-step:nth-child(3) {
  transition-delay: 0.6s;
}
.timeline.in-view .timeline-step:nth-child(4) {
  transition-delay: 0.8s;
}
.timeline.in-view .timeline-step {
  opacity: 1;
  transform: translateY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-icon {
  transition: transform 0.3s ease-out;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.fade-in-section {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}
@keyframes blink {
  from,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
@keyframes rise-bubble {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}
