/* Reset and basic styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  margin: 0 0 1rem 0;
}

/* Container max width */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* General section padding */
section {
  padding: 4rem 0;
}

/* Accessibility: Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid #ff6200;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Header Top Bar */
.top-bar {
  background-color: #ff6200;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

.top-bar .social-icons a {
  color: #fff;
  font-weight: bold;
  margin-left: 1rem;
  font-size: 1.1rem;
  transition: opacity 0.3s ease;
}

.top-bar .social-icons a:hover,
.top-bar .social-icons a:focus-visible {
  opacity: 0.8;
}

.top-bar .contact-info {
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Navigation Bar */
header {
  background-color: rgba(42, 24, 16, 0.8); /* dark with opacity */
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  gap: 0.5rem;
  z-index: 101;
}

.logo img {
  height: 60px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul li {
  position: relative;
}

nav a {
  font-weight: 600;
  font-size: 1rem;
  color: white;
  padding: 0.5rem 0.25rem;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus-visible {
  color: #ff6200;
}

nav ul li:hover > ul {
  display: block;
}

/* Dropdown menu */
nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ff6200;
  border-radius: 4px;
  display: none;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  margin-top: 0.5rem;
}

nav ul ul li {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul ul li:last-child {
  border-bottom: none;
}

nav ul ul li a {
  display: block;
  padding: 0.75rem 1rem;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  transition: background-color 0.3s ease;
}

nav ul ul li a:hover,
nav ul ul li a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

/* Hamburger menu button (mobile only) */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1100;
  width: 36px;
  height: 36px;
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid #ff6200;
  border-radius: 4px;
}

.mobile-menu-toggle .hamburger-icon,
.mobile-menu-toggle .hamburger-icon::before,
.mobile-menu-toggle .hamburger-icon::after {
  content: "";
  background-color: white;
  display: block;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  width: 24px;
  left: 6px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle .hamburger-icon {
  top: 50%;
  margin-top: -1.5px;
}

.mobile-menu-toggle .hamburger-icon::before {
  top: -8px;
}

.mobile-menu-toggle .hamburger-icon::after {
  top: 8px;
}

/* Transform hamburger to 'X' when active */
.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon {
  background-color: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}
/* Hero Section */
.hero {
  position: relative;
  background: url('assest/banner.jpg') center center/cover no-repeat; /* Fixed typo: 'assest' -> 'assets' */
  height: 70vh;
  min-height: 500px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 2rem;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero button {
  background-color: #ffdcca;
  border: none;
  padding: 1rem 2rem;
  color: #ff6200;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  font-family: 'Inter', sans-serif; /* Added for consistency with other sections */
}

.hero button:hover,
.hero button:focus-visible {
  background-color: #ff6200;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

/* Contact Styles */
.hero-contact {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent dark to blend with hero overlay; ensures readability */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border for definition */
  position: relative;
  z-index: 2;
  max-width: 300px; /* Keeps it compact */
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white; /* Ensures visibility on dark background */
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease; /* Smooth transition for hover */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Matches hero text shadow */
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #ffdcca; /* Light orange for hover, matching button theme */
  text-decoration: underline;
  outline: 2px solid #ff6200;
  outline-offset: 2px;
  transform: translateX(4px); /* Subtle slide effect for engagement */
}

.contact-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.contact-link:hover .contact-icon {
  transform: scale(1.1); /* Icon scales on hover */
}

.contact-number {
  font-family: 'Inter', sans-serif;
  font-weight: 600; /* Matches link style */
}

.contact-note {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  color: #ccc; /* Light gray for visibility on dark background (changed from #666) */
  font-style: italic;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    justify-content: center;
    padding: 0 1rem;
    height: 60vh; /* Slightly shorter on mobile */
    min-height: 400px;
  }

  .hero-content {
    text-align: center; /* Center on small screens */
    max-width: 90%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-contact {
    padding: 1rem;
    margin-top: 1.5rem;
    max-width: none; /* Full width on mobile */
  }
  
  .contact-link {
    font-size: 1rem;
    flex-direction: column; /* Stack icon and number on very small screens */
    gap: 0.25rem;
  }
  
  .contact-icon {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .hero-contact {
    padding: 0.75rem;
  }
}

/* Section Titles */
h2 {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #ff6200;
}

h3 {
  font-family: Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #222;
}

/* Why Virtual Office Section (Improved how-it-works) */
.how-it-works {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-image {
  flex: 1 1 400px;
  max-width: 450px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.how-image:hover {
  transform: scale(1.02);
}

.how-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.how-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.how-text {
  flex: 1 1 500px;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.how-text h2 {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6200;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
}

.how-text h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #ff6200, #ff8c00);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.how-text:hover h2::after {
  width: 100px;
}

.how-text p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  letter-spacing: -0.01em;
  opacity: 0.9;
  transition: color 0.3s ease;
}

.how-text p:hover {
  color: #333;
}

.how-text button {
  background: linear-gradient(135deg, #ff6200, #ff8c00);
  border: none;
  padding: 1rem 1.75rem;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-self: flex-start;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 98, 0, 0.3);
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease-out 0.4s forwards;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.how-text button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.how-text button:hover::before {
  left: 100%;
}

.how-text button:hover,
.how-text button:focus-visible {
  background: linear-gradient(135deg, #e55400, #ff8c00);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 98, 0, 0.4);
  outline: none;
}

.how-text button svg {
  width: 20px;
  height: 20px;
  fill: white;
  transition: transform 0.3s ease;
}

.how-text button:hover svg {
  transform: rotate(10deg) translateX(2px);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .how-it-works {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem 3rem;
  }

  .how-text {
    padding-right: 0;
    text-align: center;
    align-items: center;
  }

  .how-text h2 {
    font-size: 2rem;
    text-align: center;
  }

  .how-text p {
    font-size: 1rem;
    text-align: left;
  }

  .how-text button {
    align-self: center;
  }
}
/* Initial state */
.how-it-works {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.how-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s;
}

.how-text button {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
}

/* Animate classes */
.how-it-works.animate {
  opacity: 1;
  transform: translateY(0);
}

.how-text.animate-text {
  opacity: 1;
  transform: translateY(0);
}

.how-text button.animate-button {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility: Focus styles */
.how-text button:focus-visible {
  outline: 2px solid #ff6200;
  outline-offset: 2px;
}

/* Advantages Section */
.advantages {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1; /* Changed from 0 to 1 to make it visible by default */
  transform: translateY(0); /* Changed from translateY(40px) to 0 */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.advantages.animate {
  opacity: 1;
  transform: translateY(0);
}

.advantages h2 {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 3.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
}

.advantages h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ff6200, #ff8c00);
  border-radius: 2px;
}

.advantage-stepper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  position: relative;
  padding: 0 2rem;
}

.advantage-stepper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #ccc, #ff6200);
  z-index: 1;
}

.step-circle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1; /* Changed from 0 to 1 to make circles visible by default */
  transform: scale(1) translateY(0); /* Changed from scale(0.8) translateY(20px) to default */
}

.advantage-stepper.animate .step-circle:nth-child(1) { animation: bounceIn 0.6s ease-out 0.1s forwards; }
.advantage-stepper.animate .step-circle:nth-child(3) { animation: bounceIn 0.6s ease-out 0.2s forwards; }
.advantage-stepper.animate .step-circle:nth-child(5) { animation: bounceIn 0.6s ease-out 0.3s forwards; }
.advantage-stepper.animate .step-circle:nth-child(7) { animation: bounceIn 0.6s ease-out 0.4s forwards; }
.advantage-stepper.animate .step-circle:nth-child(9) { animation: bounceIn 0.6s ease-out 0.5s forwards; }

@keyframes bounceIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.step-circle:hover,
.step-circle:focus-visible {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  outline: 2px solid #ff6200;
  outline-offset: 4px;
}

.step-1 { background: linear-gradient(135deg, #9cce4d, #8bc43f); }
.step-2 { background: linear-gradient(135deg, #39bfa9, #2e9c8a); }
.step-3 { background: linear-gradient(135deg, #45c9d5, #36a8b3); }
.step-4 { background: linear-gradient(135deg, #3b8bd5, #2f6bb0); }
.step-5 { background: linear-gradient(135deg, #3b62d5, #2f4ba0); }

.step-line {
  display: none; /* Hidden; the ::before pseudo-element handles the line */
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.advantage-box {
  background: white;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  opacity: 1; /* Changed from 0 to 1 to make boxes visible by default */
  transform: translateY(0); /* Changed from translateY(30px) to 0 */
  font-family: 'Inter', sans-serif;
}

.advantages-grid.animate .advantage-box:nth-child(1) { animation: fadeInUp 0.7s ease-out 0.2s forwards; }
.advantages-grid.animate .advantage-box:nth-child(2) { animation: fadeInUp 0.7s ease-out 0.3s forwards; }
.advantages-grid.animate .advantage-box:nth-child(3) { animation: fadeInUp 0.7s ease-out 0.4s forwards; }
.advantages-grid.animate .advantage-box:nth-child(4) { animation: fadeInUp 0.7s ease-out 0.5s forwards; }
.advantages-grid.animate .advantage-box:nth-child(5) { animation: fadeInUp 0.7s ease-out 0.6s forwards; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.advantage-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.advantage-box:hover::before {
  transform: translateX(100%);
}

.advantage-box:hover,
.advantage-box:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  outline: none;
}

.advantage-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding: 1rem 0.75rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.label-icon {
  font-size: 1.3rem;
}

.advantage-1 { background: linear-gradient(135deg, #9cce4d, #8bc43f); }
.advantage-2 { background: linear-gradient(135deg, #39bfa9, #2e9c8a); }
.advantage-3 { background: linear-gradient(135deg, #45c9d5, #36a8b3); }
.advantage-4 { background: linear-gradient(135deg, #3b8bd5, #2f6bb0); }
.advantage-5 { background: linear-gradient(135deg, #3b62d5, #2f4ba0); }

.advantage-desc {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Responsive */
@media (max-width: 768px) {
  .advantages {
    padding: 3rem 1rem;
  }

  .advantages h2 {
    font-size: 2.2rem;
  }

  .advantage-stepper {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .advantage-box {
    padding: 1.5rem 1rem;
  }

  .advantage-label {
    font-size: 1rem;
    padding: 0.75rem 0.5rem;
  }
}
/* FAQ Section */
.faq-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 20px;
  margin: 2rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.faq-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.faq-image {
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.faq-image:hover {
  transform: scale(1.02);
}

.faq-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.faq-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.faq-list {
  flex: 1 1 500px;
  font-family: 'Inter', sans-serif;
}

.faq-list h2 {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff6200;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
}

.faq-list h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ff6200, #ff8c00);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.faq-list:hover h2::after {
  width: 100px;
}

.accordion {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: white;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.faq-section.animate .accordion {
  opacity: 1;
  transform: translateY(0);
}

.accordion-item {
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s ease;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-item:nth-child(1) { transition-delay: 0.1s; }
.accordion-item:nth-child(2) { transition-delay: 0.2s; }
.accordion-item:nth-child(3) { transition-delay: 0.3s; }
.accordion-item:nth-child(4) { transition-delay: 0.4s; }

.accordion-header {
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding: 1.5rem 2rem;
  color: #333;
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  background: transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.01em;
}

.accordion-header:hover,
.accordion-header:focus-visible {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  color: #ff6200;
  transform: translateX(5px);
  outline: 2px solid #ff6200;
  outline-offset: -2px;
}

.header-icon {
  font-size: 1.2rem;
  margin-right: 0.75rem;
  transition: transform 0.3s ease;
}

.accordion-header:hover .header-icon {
  transform: scale(1.1);
}

.accordion-header::after {
  content: "▶";
  color: #ff6200;
  font-size: 0.9rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: auto;
  display: inline-block;
  transform-origin: center;
}

.accordion-header[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease, opacity 0.5s ease;
  padding: 0 2rem 0;
  background: transparent;
  opacity: 0;
}

.accordion-content[aria-hidden="false"] {
  max-height: 150px; /* Adjust based on content; use JS for dynamic height if needed */
  padding: 1.5rem 2rem;
  opacity: 1;
}

.accordion-content p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  line-height: 1.7;
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-section {
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 1rem;
  }

  .faq-list {
    text-align: center;
  }

  .faq-list h2 {
    text-align: center;
    font-size: 2.2rem;
  }

  .accordion-header {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }

  .accordion-content[aria-hidden="false"] {
    padding: 1rem 1.5rem;
  }
}
/* Services Section */
.services-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  background: #f8f9fa;
}

.services-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #ff6200;
  margin-bottom: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover,
.service-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  outline: none;
}

.service-icon {
  color: #ff6200;
  font-weight: 900;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  min-width: 20px;
}

.service-item div {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}

/* How Virtual Office Works Section (Second how-it-works) */
.how-it-works:nth-of-type(2) {
  background: #f8f9fa;
  border-radius: 12px;
  margin: 2rem 1rem;
  padding: 3rem 1rem;
}

.how-it-works:nth-of-type(2) .how-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.how-it-works:nth-of-type(2) .how-text li {
  color: #fff;
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.how-it-works:nth-of-type(2) .how-text strong {
  font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
  flex: 1 1 400px;
  max-width: 450px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  margin-bottom: 0.5rem;
  color: #ff6200;
}

.contact-form p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Form groups */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #222;
}

.required {
  color: #ff6200;
  font-weight: 700;
  margin-left: 0.15rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff6200;
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.1);
}

.contact-form textarea {
  min-height: 120px;
}

/* Inline error messages */
.error-message {
  color: #d93025;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 1.2em;
}

/* Submit button */
.contact-form button {
  background-color: #ff6200;
  border: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  user-select: none;
}

.contact-form button:hover,
.contact-form button:focus-visible {
  background-color: #e55400;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
  outline: none;
}

.contact-form button svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Success message box */
#form-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  font-weight: 600;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  display: none;
  font-size: 0.95rem;
}

#form-success.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

#form-success .cloudflare {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6c757d;
  margin-top: 0.5rem;
  text-align: center;
}

#form-success a {
  color: #ff6200;
  text-decoration: underline;
  margin: 0 0.25rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  background-color: #2a1810;
  color: white;
  font-size: 0.9rem;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1140px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
}

.footer-main > div {
  color: #ffd9b8;
  line-height: 1.5;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-logo svg {
  fill: #ff6200;
  width: 35px;
  height: 35px;
}

.footer-main h4 {
  color: #ff6200;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: Georgia, serif;
  text-transform: uppercase;
}

.footer-main p {
  margin-bottom: 0.5rem;
  color: #ffd9b8;
}

.footer-main a {
  color: #ffd9b8;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-main a:hover,
.footer-main a:focus-visible {
  color: #ff6200;
  outline: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 98, 0, 0.3);
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1rem 1rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom > div:first-child {
  color: #ffd9b8;
}

.footer-social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social-icons a {
  color: #ffd9b8;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus-visible {
  color: #ff6200;
  outline: none;
}

.footer-bottom > div:last-child {
  color: #ffd9b8;
  font-weight: 500;
}

.footer-bottom a {
  color: #ff6200;
  font-weight: 600;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background-color: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 101;
  transition: all 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background-color: #1ebe57;
  transform: scale(1.05);
  outline: none;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #ff6200;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 100;
  opacity: 0;
  pointer-events: none; /* Hidden by default */
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  background-color: #e55400;
  transform: translateY(-3px);
  outline: none;
}

.scroll-top svg {
  fill: white;
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
  /* Hide desktop nav on mobile */
  nav ul:not(.mobile-active) {
    display: none;
  }

  /* Mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }

  /* Adjust nav container for mobile */
  nav .container {
    padding: 0.5rem 1rem;
  }

  .logo {
    z-index: 1101;
  }

  /* Mobile menu styles (JS adds .mobile-active class to ul) */
  nav ul.mobile-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(42, 24, 16, 0.95);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    z-index: 1050;
    backdrop-filter: blur(10px);
    animation: slideIn 0.3s ease;
    overflow-y: auto; /* Allow scrolling if menu is long */
  }

  @keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }

  nav ul.mobile-active li {
    width: 100%;
    text-align: center;
  }

  nav ul.mobile-active a {
    padding: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 98, 0, 0.2);
    display: block;
  }

  /* Mobile dropdowns */
  nav ul.mobile-active ul {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
    margin-top: 0.5rem;
    padding-left: 1rem;
    width: 100%;
  }

  nav ul.mobile-active ul.show {
    display: block;
  }

  nav ul.mobile-active ul li a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: none;
  }

  /* Body scroll lock when menu is open (JS adds .menu-open to body) */
  body.menu-open {
    overflow: hidden;
  }
}

/* General Responsive Adjustments */
@media (max-width: 1024px) {
  .hero {
    height: 60vh;
    min-height: 450px;
    padding: 0 1rem;
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .how-it-works,
  .faq-section {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .how-text,
  .faq-list,
  .contact-form {
    padding: 0;
    max-width: 100%;
  }

  .advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .how-it-works:nth-of-type(2) {
    margin: 1rem;
    padding: 2rem 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem;
  }

  section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .advantages {
    padding: 2rem 1rem;
  }

  .advantage-stepper {
    gap: 1rem;
  }

  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    padding: 1rem;
  }

  .faq-list h2,
  .how-text h2,
  .services-section h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .whatsapp-float,
  .scroll-top {
    width: 50px;
    height: 50px;
    right: 15px;
  }

  .whatsapp-float {
    bottom: 80px;
  }

  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    text-align: center;
  }

  .top-bar .social-icons a {
    margin: 0 0.5rem;
  }

  /* Ensure touch targets are larger on mobile */
  .accordion-header {
    padding: 1rem;
    min-height: 44px; /* WCAG touch target */
  }

  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .advantage-box {
    padding: 1rem;
  }

  .advantage-label {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  /* Stack how-it-works sections vertically on very small screens */
  .how-it-works {
    flex-direction: column;
    gap: 2rem;
  }

  .how-text {
    padding-right: 0;
    text-align: center;
  }
}

/* Print styles (optional) */
@media print {
  .hero::before,
  .whatsapp-float,
  .scroll-top,
  .top-bar,
  nav ul ul,
  .mobile-menu-toggle,
  .mobile-active {
    display: none !important;
  }

  body {
    font-size: 12pt;
    overflow: visible !important;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  section {
    padding: 1rem 0;
    break-inside: avoid;
  }
}

/* End of style.css */