*{margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); 
}

.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('Tax_consultancy3.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: 3rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 20px;
    }

    .hero-content p {
      font-size: 1rem;
      line-height: 1.6;
      color: #e0e0e0;
      max-width: 90%;
    }

    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 1.5rem;
      }
      .hero-content p {
        font-size: 0.95rem;
      }

      .hero-section {
      height: 60vh;
    }
    }

    .tax-section {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 60px 10%;
      background-color: #fff;
    }

    .tax-text {
      flex: 1 1 500px;
      padding-right: 40px;
    }

    .tagline {
      color: #d14827;
      font-size: 0.9rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .heading-with-line {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }

    .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 h2 {
      font-size: 2rem;
      color: #062241;
    }

    .tax-text ul {
      list-style: none;
      padding-left: 0;
      color: #333;
    }

    .tax-text ul li {
      position: relative;
      padding-left: 25px;
      margin-bottom: 10px;
    }

    .tax-text ul li::before {
      content: '✓';
      position: absolute;
      left: 0;
      top: 0;
      color: #d14827;
      font-weight: bold;
    }

    .tax-image {
      flex: 1 1 400px;
      text-align: center;
    }

    .tax-image img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
          .tax-section {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 60px 10%;
      background-color: #fff;
    }
      .tax-text {
        padding-right: 0;
      }

      .vertical-line {
        height: 100px;
      }
      .heading-with-line h2 {
      font-size: 1.5rem;
    }
    .tax-image {
      display: none;
    }
    }

.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;
  }

}