/* Base Styles and Variables */
:root {
  --white: #FFFFFF;
  --black: #1C1C1C;
  --pink: #FFD4D4;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-600: #757575;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  --transition: all 0.3s ease;
  --radius: 8px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px = 1rem */
}

body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
}

.section-title.light {
  color: var(--white);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8rem;
}

.logo img {
  height: 4rem;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  font-size: x-large;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--pink);
  color: var(--black);
}

/* Hero Section */
.hero {
  padding: 16rem 0 12rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink) 100%);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 60rem;
}

.hero-title {
  font-size: 6.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 2rem;
  color: var(--gray-600);
  margin-bottom: 4rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--black);
  color: var(--white);
  padding: 1.5rem 3rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.cta-button:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.button-arrow {
  transition: var(--transition);
}

.cta-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Services Section */
.services {
  padding: 12rem 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
  margin-top: 6rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  color: var(--black);
  margin-bottom: 2rem;
}

.service-title {
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
}

.service-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.service-link:hover {
  color: var(--pink);
}

/* Privacy Section */
.privacy {
  padding: 12rem 0;
  background: var(--black);
  color: var(--white);
}

.privacy-content {
  text-align: center;
  max-width: 80rem;
  margin: 0 auto;
}

.privacy-icon {
  font-size: 4rem;
  margin-bottom: 3rem;
  color: var(--pink);
}

.privacy-description {
  font-size: 2rem;
  margin-bottom: 5rem;
}

.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 3rem;
}

.privacy-feature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.8rem;
}

.privacy-feature i {
  color: var(--pink);
}

/* Contact Section */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 30rem;
  gap: 6rem;
  margin-top: 4rem;
}

.form-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.form-input {
  width: 100%;
  padding: 1.5rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--black);
  outline: none;
}

.form-label {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  padding: 0 0.5rem;
  color: var(--gray-600);
  transition: var(--transition);
  pointer-events: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: 0;
  font-size: 1.4rem;
  color: var(--black);
}

.submit-button {
  width: 100%;
  padding: 1.5rem;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.submit-button:hover {
  background: var(--pink);
  color: var(--black);
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 8rem 0 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 6rem;
  margin-bottom: 6rem;
}

.footer-logo {
  height: 4rem;
  margin-bottom: 2rem;
}

.footer-tagline {
  color: var(--gray-300);
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: var(--transition);
  line-height: 2.5;
}

.footer-links a:hover {
  color: var(--pink);
}

.social-links {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--white);
  font-size: 2rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--pink);
}

.footer-bottom {
  text-align: center;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Footer Alignment Styles */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 6rem;
  margin-bottom: 6rem;
  text-align: center; /* Center all text */
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center logo and tagline */
}

.footer-logo {
  height: 4rem;
  margin-bottom: 2rem;
}

.footer-tagline {
  color: var(--gray-300);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center Quick Links */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center Connect section */
}

.social-links {
  display: flex;
  justify-content: center; /* Center social icons */
  gap: 2rem;
  margin-top: 2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 1rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}

/* Media Queries */
@media (max-width: 768px) {
  html {
      font-size: 56.25%; /* 9px = 1rem */
  }

  .nav-toggle {
      display: flex;
  }

  .nav-menu {
        transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
      position: fixed;
      top: 8rem;
      left: 0;
      width: 100%;
      background: var(--white);
      padding: 2rem;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      transform: translateY(-100%);
      opacity: 0;
      transition: var(--transition);
  }

  .nav-menu.active {
      transform: translateY(0);
      opacity: 1;
  }

  .hero-title {
      font-size: 4.8rem;
  }

  .contact-wrapper {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
      font-size: 50%; /* 8px = 1rem */
  }

  .hero {
      padding: 12rem 0 8rem;
  }

  .section-title {
      font-size: 3rem;
  }

  .services-grid {
      grid-template-columns: 1fr;
  }
}

/* Add to your existing CSS file */

.faq {
  padding: 12rem 0;
  background: #f2efef;
}

.faq-grid {
  max-width: 80rem;
  margin: 0 auto;
}

.faq-search {
  margin-bottom: 4rem;
}

.search-container {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
}

.search-container i {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
}

#faqSearch {
  width: 100%;
  padding: 1.5rem 2rem 1.5rem 5rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1.6rem;
  transition: var(--transition);
}

#faqSearch:focus {
  outline: none;
  border-color: var(--black);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.faq-question h3 {
  font-size: 1.8rem;
  margin: 0;
  flex: 1;
}

.faq-icon {
  position: relative;
  width: 2rem;
  height: 2rem;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--black);
  transition: var(--transition);
}

.faq-icon::before {
  width: 2rem;
  height: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 0.2rem;
  height: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 500px;
}

/* Animation for FAQ items */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.faq-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.faq-item:nth-child(n) {
  animation-delay: calc(n * 0.1s);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .faq-question h3 {
      font-size: 1.6rem;
  }
}

/* Add these styles to your existing FAQ CSS */

.faq-hidden-items {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.faq-hidden-items.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.faq-read-more {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-300);
}

.read-more-btn {
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
  padding: 1.5rem 3rem;
  border-radius: var(--radius);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.read-more-btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.read-more-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.read-more-btn.expanded .read-more-icon {
  transform: rotate(180deg);
}

/* Animation for revealing hidden FAQs */
@keyframes fadeInUpFAQ {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.faq-hidden-items.show .faq-item {
  animation: fadeInUpFAQ 0.5s ease forwards;
  animation-delay: calc(var(--item-index) * 0.1s);
}

/* Added gradient overlay when FAQs are collapsed */
.faq-list {
  position: relative;
}

.faq-list::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--gray-100));
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.faq-list.expanded::after {
  opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .read-more-btn {
      width: 100%;
      justify-content: center;
  }
}

/* Form validation styles */
.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.error-message {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #dc3545;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.form-input.error {
  border-color: #dc3545;
}

/* reCAPTCHA container */
.g-recaptcha {
  margin-bottom: 2rem;
}

/* Rate limit message */
.rate-limit-message {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  display: none;
}

.rate-limit-message.show {
  display: block;
}

@media (max-width: 768px) {
  .g-recaptcha {
      transform: scale(0.9);
      transform-origin: left center;
  }
}

/* Add to your existing CSS */
.recaptcha-container {
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.recaptcha-container.error {
  animation: shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

.g-recaptcha {
  display: inline-block;
}

/* reCAPTCHA error state */
.recaptcha-error {
  color: #dc3545;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  display: none;
}

.recaptcha-error.show {
  display: block;
}

/* Shake animation for invalid reCAPTCHA */
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
  40%, 60% { transform: translate3d(4px, 0, 0); }
}

/* Mobile responsiveness for reCAPTCHA */
@media (max-width: 768px) {
  .recaptcha-container {
      transform-origin: left center;
      transform: scale(0.9);
      margin-left: -14px;
  }
}

@media (max-width: 480px) {
  .recaptcha-container {
      transform: scale(0.85);
      margin-left: -22px;
  }
}

/* Update spacing between FAQ items */
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 12px; /* Add space between items */
}

.faq-item:last-child {
  margin-bottom: 0; /* Remove margin from last item */
}

/* Remove the space between list sections */
.faq-hidden-items {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-top: 0; /* Remove top margin */
}

.faq-hidden-items.show {
  display: block;
  opacity: 1;
}

/* Move gradient to fifth FAQ */
.faq-initial-items {
  position: relative;
}

.faq-initial-items::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px; /* Increased height for smoother fade */
  background: linear-gradient(to bottom, transparent 0%, var(--gray-100) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Hide gradient when expanded */
.faq-list.expanded .faq-initial-items::after {
  opacity: 0;
}

/* Style the read more button container */
.faq-read-more {
  text-align: center;
  margin-top: 3rem; /* Add space above button */
  padding-top: 1rem;
  position: relative;
  z-index: 2; /* Ensure button stays above gradient */
}

/* Remove any remaining list gradient */
.faq-list::after {
  display: none;
}

/* Ensure consistent white background for FAQ items */
.faq-item {
  background: var(--white);
  position: relative; /* Ensure it stays above gradient */
  z-index: 1;
}
/* Clean up the contact info section */
.contact-info {
  /* Remove the white background and unnecessary padding */
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.contact-info h3 {
  margin-bottom: 16px;
  font-size: 1.8rem;
  color: var(--black);
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  font-weight: 500;
  border: 1px solid var(--gray-200);
}

.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--pink);
  border-color: transparent;
}

/* Remove any margins that might create unwanted space */
.contact-info > * {
  margin: 0;
}

/* Mobile Navigation Styles */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--black);
  margin: 5px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Hamburger animation classes */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
  .nav-toggle {
      display: block;
  }

  .nav-menu {
      position: fixed;
      top: 8rem; /* Height of header */
      left: 0;
      width: 100%;
      height: calc(100vh - 8rem);
      background: var(--white);
      padding: 2rem;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      transform: translateX(100%);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active {
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
      overflow: hidden;
  }
}

/* Contact Section Styles */
.contact {
  padding: 12rem 0;
  background: #FFFFFF;
  box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.3);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 30rem;
  gap: 6rem;
  margin-top: 4rem;
}

/* Mobile styles for Contact Section */
@media (max-width: 768px) {
  .contact-wrapper {
      grid-template-columns: 1fr;
      max-width: 50rem; /* Limit width on mobile */
      margin-left: auto;
      margin-right: auto;
      text-align: center;
  }

  .contact-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 4rem;
  }

  .contact-info h3 {
      margin-bottom: 2rem;
  }

  .form-group {
      text-align: left; /* Keep form inputs left-aligned for better UX */
  }

  .contact-email {
      justify-content: center;
      margin: 0 auto;
  }

  .recaptcha-container {
      display: flex;
      justify-content: center;
      margin: 2rem auto;
  }

  /* Center the submit button */
  .submit-button {
      margin: 0 auto;
  }
}

/* Additional mobile optimization for smaller screens */
@media (max-width: 480px) {
  .contact-wrapper {
      max-width: 100%;
      padding: 0 2rem;
  }
}

/* Success Message Styles */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  animation: successPop 0.5s ease forwards;
  z-index: 1000;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  width: 40px;
  height: 40px;
  color: white;
  animation: successCheck 0.5s ease forwards 0.2s;
}

.success-text {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0;
}

@keyframes successPop {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes successCheck {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Update your notification styles */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  padding: 15px 25px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.notification.success {
  border-left: 4px solid #4CAF50;
}

.notification.error {
  border-left: 4px solid #F44336;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.notification i {
  font-size: 1.2em;
}

.notification.success i {
  color: #4CAF50;
}

.notification.error i {
  color: #F44336;
}

/* Make notifications more visible on mobile */
@media (max-width: 768px) {
  .notification {
      width: 90%;
      max-width: 400px;
  }
}

/* Mobile Navigation Menu Styles */
@media (max-width: 768px) {
  .nav-menu {
      position: fixed;
      top: 8rem;
      left: 0;
      width: 100%;
      height: calc(100vh - 8rem);
      background: var(--white);
      padding: 1.5rem 2rem; /* Increased padding */
      flex-direction: column;
      align-items: center;
      gap: 3rem; /* Increased gap between items */
      transform: translateX(100%);
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.active {
      transform: translateX(0);
      opacity: 1;
      visibility: visible;
  }

  /* Increase font size for mobile menu items */
  .nav-link {
      font-size: 2rem; /* Larger font size */
      padding: 1.5rem 2rem; /* Larger touch target */
      width: 100%; /* Full width for better touch area */
      text-align: center;
      display: block;
  }

  /* Style for the external blog link */
  .nav-link[href^="https"] {
      pointer-events: auto !important; /* Enable clicking */
      cursor: pointer !important;
      position: relative;
      z-index: 10;
  }

  /* Special styling for the CTA button in mobile menu */
  .nav-link.nav-cta {
      font-size: 2rem;
      padding: 1.5rem 3rem;
      margin-top: 1rem;
  }
}

/* Additional responsive adjustments */
@media (max-width: 480px) {
  .nav-link {
      font-size: 2.6rem; /* Even larger for smaller devices */
  }
  .blog-link{
    font-size: 2.6rem;
  }
}

.nav-link.blog-link {
  position: relative;
  z-index: 50;
  pointer-events: auto;
}


/* Fix for mobile menu */
@media (max-width: 768px) {
  .nav-menu {
      z-index: 40;
  }
  
  .nav-link.blog-link {
      width: 100%;
      text-align: center;
  }
  
  /* Ensure proper stacking context */
  .header {
      position: fixed;
      z-index: 1000;
  }
  
  /* Enhance touch target size on mobile */
  .nav-link {
      padding: 1.5rem 2rem;
      display: block;
  }
}

.blog-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.blog-link::after {
  content: '';
  font-size: x-large;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: var(--transition);
}

.blog-link:hover::after {
  width: 100%;
}

/* Why Ghostwriting Section */
.why-ghostwriting {
  padding: 12rem 0;
  background: var(--gray-100);
}

.ghostwriting-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 6rem;
}

.ghostwriting-card {
  background: var(--white);
  padding: 4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ghostwriting-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 6rem;
  height: 6rem;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--black);
}

.ghostwriting-card h3 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.ghostwriting-card p {
  font-size: 1.8rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  color: var(--black);
}

.feature-list li::before {
  content: '→';
  color: var(--pink);
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .ghostwriting-grid {
      grid-template-columns: 1fr;
      gap: 3rem;
  }

  .ghostwriting-card {
      padding: 3rem;
  }
}

/* Animation */
.ghostwriting-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.what-is {
  animation-delay: 0.2s;
}

.why-choose {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* -----NEW Animations added--- */

/* Enhanced Services Section */
.services {
  padding: 12rem 0;
  background: var(--white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Gradient background effect on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(255, 212, 212, 0.2) 0%,
      rgba(255, 212, 212, 0.4) 50%,
      rgba(255, 212, 212, 0.2) 100%
  );
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
}

/* Animated border on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(
      45deg,
      var(--pink) 0%,
      #FFB6C1 50%,
      var(--pink) 100%
  );
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Card hover effects */
.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 212, 212, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

/* Icon container styles */
.service-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink-light);
  border-radius: 50%;
  font-size: 3.2rem;
  color: var(--black);
  position: relative;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Icon background blur effect */
.service-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: var(--pink-light);
  filter: blur(10px);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: -1;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
  background: var(--pink);
  color: var(--black);
}

.service-card:hover .service-icon::before {
  opacity: 0.7;
}

/* Title animations */
.service-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--black);
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover .service-title {
  color: var(--black);
  transform: scale(1.05);
}

/* Description text */
.service-description {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-description {
  color: var(--black);
}

/* Enhanced link button */
.service-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 25px;
  background: transparent;
  border: 2px solid var(--black);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  cursor: pointer;
  z-index: 5;
  overflow: hidden;
}

.service-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.service-card:hover .service-link {
  gap: 1.2rem;
  border-color: var(--black);
  color: var(--black);
}

.service-card:hover .service-link:hover {
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-3px);
}

.service-card:hover .service-link:hover::before {
  transform: translateX(0);
}

/* Adding floating animation to cards */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.service-card {
  animation: float 6s ease-in-out infinite;
  animation-play-state: paused;
}

.service-card:hover {
  animation-play-state: running;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .services-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 800px;
  }
}

@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr;
      max-width: 400px;
  }
  
  .service-card:hover {
      transform: translateY(-10px) scale(1.01);
  }
}

/* Testimonials Section Styles */
.testimonials {
  padding: 12rem 0;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
  box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.8rem;
  margin-bottom: 6rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

/* Gradient border effect on hover */
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(45deg, var(--pink) 0%, #FFB6C1 50%, var(--pink) 100%);
  -webkit-mask: 
      linear-gradient(#fff 0 0) content-box, 
      linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.quote-icon {
  color: var(--pink);
  margin-bottom: 2rem;
  opacity: 0.7;
}

.testimonial-text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.author-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-placeholder {
  color: var(--black);
  font-weight: 600;
  font-size: 1.8rem;
}

.author-info h4 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.author-info p {
  font-size: 1.4rem;
  color: var(--gray-600);
}

/* Floating animation for cards */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.testimonial-card {
  animation: float 6s ease-in-out infinite;
  animation-play-state: paused;
}

.testimonial-card:hover {
  animation-play-state: running;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .testimonials-grid {
      grid-template-columns: repeat(2, 1fr);
      max-width: 80rem;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
      grid-template-columns: 1fr;
      max-width: 40rem;
  }
  
  .testimonial-card {
      padding: 2.5rem;
  }
  
  .testimonial-card:hover {
      transform: translateY(-5px);
  }
}

/* -----Privacy page scc---- */

/* Privacy Page Styles */
.privacy-header {
  padding: 16rem 0 8rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--pink) 100%);
  text-align: center;
}

.privacy-subtitle {
  max-width: 80rem;
  margin: 0 auto;
  font-size: 1.8rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.privacy-section {
  margin-bottom: 6rem;
  animation: fadeIn 0.5s ease-out;
}

.privacy-section:last-child {
  margin-bottom: 0;
}

.privacy-section .section-title {
  font-size: 2.8rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.privacy-section .section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 2.4rem;
  background: var(--pink);
  border-radius: var(--radius);
}

.privacy-section p {
  font-size: 1.6rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.subsection-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--black);
  margin: 3rem 0 1.5rem;
}

.privacy-section ul {
  list-style: none;
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.privacy-section ul li {
  font-size: 1.6rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  position: relative;
  line-height: 1.6;
}

.privacy-section ul li::before {
  content: '•';
  position: absolute;
  left: -2rem;
  color: var(--pink);
  font-size: 1.8rem;
}

/* Privacy Page Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Privacy Page Responsive Styles */
@media (max-width: 768px) {
  .privacy-header {
      padding: 12rem 0 6rem;
  }

  .privacy-subtitle {
      font-size: 1.6rem;
      padding: 0 2rem;
  }

  .privacy-section .section-title {
      font-size: 2.4rem;
      margin-top: 2rem;
  }

  .subsection-title {
      font-size: 1.8rem;
  }

  .privacy-section p,
  .privacy-section ul li {
      font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .privacy-header {
      padding: 10rem 0 5rem;
  }

  .privacy-section .section-title {
      font-size: 2rem;
      margin-top: 2rem;
  }

  .subsection-title {
      font-size: 1.6rem;
  }

  .privacy-section p,
  .privacy-section ul li {
      font-size: 1.4rem;
  }
}
