*{margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  padding-top: 90px;

}

header {
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  z-index: 999;
  transition: top 0.3s ease-in-out;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: relative;
  list-style: none;
}

.navbar a {
  text-decoration: none;  
  color: #333;            
  font-weight: 600;
  font-size: 16px;
}

.navbar:hover,
.navbar:hover a {
  color: #d14827;         
  text-decoration: none;  
  cursor: pointer;
}

.nav-logo img {
  height: 70px;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links ul li {
  position: relative;
}

.nav-links a,
.nav-links span.dropdown {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 200%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  width:230px;
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.dropdown-container.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-container {
  position: relative;
}

.dropdown-menu li {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background-color: transparent !important;
  color: #d14827;
}


.dropdown-menu li:hover a {
  color: #d14827;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-container.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
  pointer-events: auto;
}


.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -9px; 
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-bottom: 11px solid rgba(167, 167, 167, 0.2); 
  z-index: 9;
}

.dropdown-menu::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fbfbfb; 
  z-index: 10;
}

.dropdown-container:hover .dropdown-menu,
.dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.dropdown-menu li {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dropdown-menu li:hover {
  background-color: #f1f3f6;
  color: #d14827;
}

.dropdown-menu li:hover a {
  color: #d14827;
}

.dropdown-menu ul {
  list-style: none;
  display: block;
}

.dropdown-menu li {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.dropdown-menu li:hover {
  background-color: #f1f3f6;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
  color: #2c2c2c;
  text-decoration: none;
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.nav-right .contact-btn {
  background: linear-gradient(45deg, #d14827, #f26b38);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.icon {
  display: none;
}

.menu-top{
  display: none;
}

.mobile-contact {
    display: none !important;
}
.desktop-contact {
    display: flex !important;
}

    .hero-section {
      height: 90vh;
      width: 100%;
      background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(10, 10, 10, 0.3)),
            url('Accounting.png') no-repeat center center / cover;

      display: flex;
      align-items: center;
      padding: 0 5%;
    }

    .hero-content {
      max-width: 800px;
      color: white;
    }

    .hero-content .tagline {
      color: #d14827;
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .hero-content h1 {
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-content p {
      font-size: 1rem;
      line-height: 1.6;
      color: #e0e0e0;
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 1.5rem;
      }
      .hero-content p {
        font-size: 0.95rem;
      }

      .hero-section {
      height: 60vh;
    }
    }

.stages-section {
  max-width: 1200px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.stages-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.left-steps {
  flex: 1;
  min-width: 300px;
  margin-top: 40px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}

.step img {
  width: 70px;
  height: 70px;
  padding: 10px;
  border: 2px solid #d14827;
  border-radius: 8px;
}

.step-text h3 {
  color: #061729;
  font-weight: bold;
  font-size: 20px;
}

.step-text p {
  margin-top: 5px;
  color: #666;
  line-height: 1.5;
  font-size: 15px;
}

.right-description {
  flex: 2;
  min-width: 500px;
}

    .vertical-line {
      width: 4px;
      height: 100px; /* FIXED height for visibility */
      background-color: #d14827;
      margin-right: 15px;
      border-radius: 2px;
      flex-shrink: 0;
    }

        .heading-with-line {
      display: flex;
      align-items: center;
      margin-bottom: 0px;
    }


.right-description .subheading {
   color: #d14827;
      font-size: 0.9rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 10px;
  
}

.right-description h1 {
  font-size: 40px;
  color: #061729;
  margin-bottom: 20px;
}

.right-description p {
color: #555;
  line-height: 1.6;
  font-size: 16px;
  margin-bottom: 16px;
}

.right-description ul {
  padding-left: 20px;
  margin-top: 10px;
}

.right-description ul li {
  font-size: 16px;
color: #555;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Stack h3 and p vertically */
.service-card .text-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.material-icons {

  color: #d14827;
  padding: 10px;
  border: 2px solid #d14827;
  border-radius: 8px;
}


@media (max-width: 950px) {
  .stages-section {
    padding: 0 30px;
  }

  .stages-container {
    flex-direction: column;
    gap: 30px;
  }

  .right-description {
    order: 1;
    width: 100%;
    min-width: unset; /* ✅ Fix the overflow */
    padding-bottom: 20px;
  }

  .left-steps {
    order: 2;
    width: 100%;
    margin: 0;
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }

  .material-icons {
    font-size: 50px;
    padding: 8px;
  }

  .step-text h3 {
    font-size: 18px;
  }

  .step-text p {
    font-size: 14px;
  }

  .right-description h1 {
    font-size: 26px;
  }

  .right-description p,
  .right-description ul li {
    font-size: 14px;
  }

  .right-description .subheading {
    font-size: 12px;
  }
}




    .parallax {
      position: relative;
      height: 350px;
      background-image: url('Consultation.png');
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      justify-content: center;
      align-items: center;
      color: white;
      overflow: hidden;
    }

    /* Black overlay */
    .parallax::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background-color: rgba(0, 0, 0, 0.6);
      z-index: 1;
    }

    .content {
      position: relative; /* keep above overlay */
      z-index: 2;
      max-width: 500px;
      background: transparent;
      padding: 40px 30px;
      text-align: center;
    }

    .content h1 {
      margin-bottom: 15px;
      font-size: 28px;
      letter-spacing: 1.2px;
    }

    .content p {
      margin-bottom: 20px;
      font-size: 18px;
    }

    .email-form {
      display: flex;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap;
    }

.email-form input[type="email"] {
  padding: 10px 15px;
  font-size: 16px;
  border: none;
  flex-grow: 1;
  min-width: 200px;
}

.email-form input[type="email"]:focus {
  outline: none;
  box-shadow: none;
}

    .email-form button {
      padding: 10px 20px;
      font-size: 16px;
      background-color: #d14827;
      border: none;
      color: white;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .email-form button:hover {
      background-color: #d65737;
    }
@media (max-width: 480px) {
  .parallax {
    background-attachment: scroll; /* fix for mobile */
    background-position: center center;
  }

  .content h1 {
    margin-bottom: 15px;
    font-size: 20px;
    letter-spacing: 1.2px;
  }

  .email-form {
    flex-direction: column;
    gap: 15px; /* space between input and button */
    align-items: center; /* center children horizontally */
    justify-content: center;
  }

  .email-form input[type="email"] {
    width: 90%; /* full width input */
  }

  .email-form button {
    max-width: 200px;
    width: 90%; /* full width but limited by max-width */
    margin: 0 auto; /* center button */
  }
}



.footer {
  background: linear-gradient(45deg, #061729, #28374d);
  color: #eee;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}


.footer-about,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-about h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #d14827;
}

.footer-links ul {
  list-style: none;
  padding: 0;
line-height: 1.6;}

.footer-links ul li a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease; 
  display: inline-block; 
  margin-bottom: 8px; 
}

.footer-links ul li a:hover {
  transform: translateX(10px); 
}


.footer-contact p {
  margin-bottom: 8px;
}

.footer-social .social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 20px;
  color: #eee;
  transition: color 0.3s ease;
}

.footer-social .social-icons a:hover {
  color: #d14827;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding-left: 20px;
  }

  .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-about,
  .footer-social {
    flex: 1;
    max-width: 90%;
  }

  .footer-social .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
  }

  .footer-social .social-icons a {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
  }

    .mobile-contact {
    display: block !important;
  }
  .desktop-contact {
    display: none !important;
  }
  
.nav-bar {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .nav-logo img {
    height: 60px;
  }

  .icon {
    font-size: 28px;
    color: #d14827;
    cursor: pointer;
  }

  .nav-logo img {
    height: 60px;
    align-self: flex-start;
    flex-direction: row;
  }

  .icon {
    display: block;
    font-size: 15px;
    cursor: pointer;
    color: #d14827;
    align-self: flex-end;
    margin: 10px 0;
  }

  .nav-links,
  .nav-right {
    display: none;
  }

  .nav-links.show {
    display: flex;
    width: 100%;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #eee;
  }

    #mobileMenu {
      position: fixed;
      top: 0;
      left: 0;
      width: 90vw;
      height: 100vh;
      background: white;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

  body.menu-open .mobile-header {
    display: none !important;
  } 

  #mobileMenu.show {
    transform: translateX(0);
  }

  .menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background-color: white;
    z-index: 10001;
  }

  .menu-top .nav-logo img {
    height: 40px;
    padding-left: 20px;
  }

  .menu-top .icon {
    font-size: 30px;
    color: #d14827;
    cursor: pointer;
    padding-right: 20px;
  }

  body.menu-open .page-content {
    filter: blur(20px);
    pointer-events: none; 
    user-select: none;    
    transition: filter 0.3s ease;
  }

  body.menu-open footer {
    filter: blur(20px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.3s ease;
  }
  .icon {
    font-size: 28px;
    color: #d14827;
    cursor: pointer;
    user-select: none;
  }

  .nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    overflow-y: auto;
  }

  .nav-links ul li {
    border-bottom: 1px solid #eee;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    display: block;
    padding: 5px 20px;
    color: #333;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
    padding-left: 10px;
  }

  .dropdown-container.active .dropdown-menu {
    max-height: 500px;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-links ul li {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    position: relative;
  }

  .nav-links ul li a,
  .nav-links ul li span.dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #333;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
  }

  .dropdown-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f9f9f9;
    padding: 0;
    margin-top: 0;
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-container.active .dropdown-menu {
    display: flex;
  }

  .dropdown-menu li {
    padding: 10px;
    border-top: 1px solid #eee;
  }

  .dropdown-menu a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
  }

  .dropdown-container:hover .dropdown-menu,
  .dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto;
  }

  .dropdown-menu::before,
  .dropdown-menu::after {
    display: none;
  }

 .nav-right {
    display: none;
  }

  .mobile-contact {
    display: block;
    padding: 16px;
  }

}