/* General Reset */
* {
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Header Section */
header {
  background-color: #ffffff;
  border-bottom: 2px solid #ccc;
  height: 88px;
  /* Container height */
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  margin-bottom: 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 8px;
}

/* Logo: larger on desktop */
.header-container img {
  height: auto;
  width: 250px;
}

.site-logo {
  position: relative;
  z-index: 10000;
}

/* HAMBURGER ICON (hidden by default on desktop) */
.hamburger {
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: #333;
  margin-bottom: 4px;
}

/* Navigation (desktop) */
/* NOTE: We'll hide it on mobile below with a media query. */
nav#nav-menu {
  display: flex;
  /* normal horizontal display on desktop */
  align-items: center;
  gap: 20px;
}

nav#nav-menu a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

nav#nav-menu a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* CLOSE BUTTON for mobile fullscreen menu */
.close-menu {
  display: none;
  /* Shown only in fullscreen mode */
  position: fixed;
  top: 20px;
  right: 37px;
  /* font-size: 2rem; */
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
}

.close-menu .close-menu-img {
  height: 40px;
  width: 40px;
}

/* Services Menu (sub-menu) */
.services-menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.services-link {
  cursor: pointer;
  display: flex;
  gap: 3px;
  align-items: center;
}

.services-link .drop-down-img {
  height: 14px;
  width: 14px;
  transition: all 0.3s ease-in-out;
}

.rotate-icon {
  transform: rotate(180deg);
}

.services-submenu {
  display: none;
  /* hidden by default */
  position: absolute;
  border-top: 2px solid #080c3e;
  background-color: #f9f9f9;
  padding: 0;
  margin-top: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 600px;
  z-index: 1;
  top: 20px;
  min-height: 340px;
}

.services-submenu.open {
  display: flex;
  /* when toggled open */
}

.services-subsection {
  margin-bottom: 16px;
}

.services-subsection-head {
  font-size: 14px;
  color: #333;
  margin: 0 0 16px;
  text-align: end;
}
.services-left-column {
  padding: 20px;
}
.services-right-column {
  padding: 20px;
  background: #dae6ee;
  width: 70%;
}
.services-subsection h5 {
  margin: 10px 0;
  font-size: 16px;
}

.socpa_badge p {
  width: 200px;
  margin-top: 40px !important;
}

/* Sub-menu link styles */
.service-submenu-link {
  display: block;
  margin: 5px 0;
  padding: 5px 0;
  background-color: transparent;
  color: #333;
  text-decoration: none;
  transition: 0.2s;
  border: none;
}

.service-submenu-link:hover {
  background-color: transparent;
  font-weight: bold;
  text-decoration: underline;
}

/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  text-align: center;
  padding: 0;
}
.banner-new{
      display: flex
;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    align-items: center;
    background: #eeeef6;
    min-height: 600px;
    border-radius: 0 0 20px 20px;
}
.banner-new h1{
  font-size: 2.8rem;
  font-weight: 400;
}

.col-6{
width: 50%;
}
.banner-image-new{
  background-image: url('expert-tax-and-advisory-services.webp');
  background-size: cover;
  height: 600px;
  border-radius: 0 0 20px 0;
  background-position: center;
      display: flex
;
    flex-direction: column;
    justify-content: flex-end;
}
.banner-image-new div{
  background-color: #1a1c3f;
    color: #fff;
    padding: 20px;
    border-radius: 0 0 20px 0;
}
.banner-text-new{
  display: flex;
  flex-direction: column;
    align-items: center;
    padding: 50px;
}
.banner-text-new p{
  margin-bottom: 50px;
}
.banner-text-new a{
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  color: white;
  background-color: #080c3e;
}

.banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 700px;
  object-fit: cover;
  object-position: center;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1.4;
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  text-shadow: 2px 2px 5px #000;
}

/* Intro Section */
section {
  padding: 100px 50px; 
  padding-bottom: 100px;
  text-align: center;
}

.intro-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0 0;
  gap: 40px;
}

.service-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  padding: 0;
}

.intro-box {
  background-color: #eeeef6;
  color: #333;
  display: flex;
  padding: 40px;
  flex: 1;
  text-align: left;
  transition: 0.3s all;
  flex-direction: column;
  justify-content: center;
  border-top: 2px solid #080c3e;
  border-radius: 20px;
}

.service-box {
  background-color: #fff;
  color: #333;
  display: flex;
  padding: 40px;
  flex: 1;
  text-align: left;
  transition: 0.3s all;
  flex-direction: column;
  justify-content: flex-start;
  border-top: 2px solid #080c3e;
  border-radius: 20px;
}
.service-container.assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.service-box.assurance {
  flex: 1 1 30%; /* basis 50%, grows and shrinks */
  box-sizing: border-box;
  background: #eeeef6;
}
.service-box.attestation {
  flex: 1 1 30%; /* basis 50%, grows and shrinks */
  box-sizing: border-box;
  background: #eeeef6;
}
.service-box h3 {
  font-size: 1.4rem;
}

.service-box p {
  color: rgb(115, 115, 115);
  margin-bottom: 40px;
}

.service-box ul {
  padding-left: 0;
  margin: 0;
}

.service-box li {
  list-style: none;
  padding: 20px;
  border: 1px solid #eeeeee;
  font-size: 1rem;
  line-height: 1.4em;
  border-radius: 10px;
}
.service-container.assurance li{
      background: #ffffff;
    border: 1px solid #d1d1de;
    border-radius: 10px;
}

.service-box li:not(:last-child) {
  margin-bottom: 15px;
}

.intro-box h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 0;
}

/* ServicesPart Section */
.servicesPart-section {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0 0;
  gap: 40px;
}

.servicesContainer {
  max-width: 1200px;
  margin: auto;
}

.servicesPart {
}

.servicesPart h2 {
  color: #003366;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 50px;
  text-align: center;
}


.service_section h2 {
  color: #003366;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 50px;
  margin-top: 0;
  text-align: center;
}

.servicesPart h3 {
  color: #003366;
  font-weight: 700;
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0;
}

.servicesPart p {
  color: rgb(115, 115, 115);
  line-height: 1.4em;
}

.servicesPart ul {
  padding-left: 0;
  display: flex;
}

.servicesPart ul li.serviceList {
  list-style-type: none;
  margin-bottom: 30px;
  text-align: center;
  width: 33.33%;
  display: flex;
      border-radius: 20px;
}

.sublist {
  color: black;
  list-style-type: disc;
  margin-left: 24px;
}

.serviceList-imgpart {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.serviceList a {
  text-decoration: none;
  color: inherit;
  padding: 40px;
}
.serviceList:hover {
  background-color: #eeeef6;
}

.Serve-servicelist {
  padding: 20px 40px;
  background-color: #f0f0f0;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border: 2px solid #ccc;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 50px;
  text-align: left;
}

.servicesPart-section .Serve-servicelist h6 {
  color: #333;
  font-size: 1.1rem;
  margin: 16px 0;
}

.servicesPart-section .Serve-servicelist ul {
  color: #333;
  list-style-type: disc;
  /* margin-left: 24px; */
}

.service-icon img {
  max-width: 140px;
  height: auto;
}

/* About Us Section */
.about-section {
  padding-top: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-section h2 {
  color: #003366;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 50px;
  text-align: center;
}
#certifications-licenses {
  background: #eeeef6;
}
.certifications-licenses-item{
  width: 250px;
  margin: 0 20px;
  text-align: center;
}

.certifications-licenses-item .map-ico{ 
  width: 70px;
  height: auto;
  border-radius: 0;
}
.services-right-column h3{
  font-size: 20px;
  margin-top: 0;
  font-weight: 900;
}





#certifications-licenses h2 {
  color: #003366;
  font-weight: 700;
  font-size: 2.3rem;
  margin-bottom: 50px;
  text-align: center;
}

.about-container {
  display: flex;
  gap: 80px;
  justify-content: center;
  max-width: 1200px;
}

.about-person {
  width: 100%;
  text-align: left;
  position: relative;
  padding: 30px;
      background: #eeeef6;
    border-radius: 20px;
}

.about-person img {
  width: 280px;
  height: auto;
  border-radius: 20px;
}
img.aldo_aicpa_logo {
  width: 90px;
  border-radius: 0;
}

.about-person h3 {
  margin: 15px 0;
  color: #003366;
  font-size: 1.5rem;
}

.subtitle {
  font-weight: 600;
  font-style: italic;
  color: #003366;
  margin-bottom: 10px;
}

.description {
  color: #333;
  line-height: 1.5;
}

/* Form Section */
.form-section {
  display: flex;
  align-items: center;
  background-color: #fff;
  max-width: 1200px;
  width: 100%;
  text-align: left;
  flex-wrap: wrap;
  padding: 0;
  
  position: relative;
}
.form-section div {
  width: 50%;
}

.form-section .form-area {
  padding: 40px;
  background: #ccd8e1;
  border-radius: 20px 0 0 20px;
}
.form-section .image-area {
  background-image: url(contact-us-illustration.webp);
  height: -webkit-fill-available;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 0 20px 20px 0;
}
.accent-shape {
  width: 150px;
  position: absolute;
  right: 20px;
  top: -80px;
  opacity: 0.5;
}

.form-section h2 {
  color: #003366;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 50px;
  margin-top: 0;
  width: 100%;
  text-align: center;
}

.form-section form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-section input,
.form-section textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-radius: 5px;
  border: 1px solid #92a4b1;
}

.form-section textarea {
  resize: vertical;
  height: 150px;
}

.form-section button {
  background-color: #1a1c3f;
  color: #dbddff;
  padding: 20px;
  font-size: 1.2rem;
  margin-top: 20px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  text-transform: uppercase;
  border: 0;
  font-family: "Montserrat", sans-serif;
  border-radius: 5px;
}

.form-section button:hover {
  background-color: #292c69;
}

.credly-badge {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 35px 0 0;
  background: #f8f8f8;
}

/* Footer */
footer {
  background-color: #1a1c3f;
  text-align: center;
  padding: 12px 20px;
  bottom: 0;
  width: 100%;
  margin-top: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #abacc4;
}

footer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5rem;
}

footer p a {
  color: #aaddff;
  font-weight: 400;
  line-height: 1.4em;
  text-decoration: none;
}

footer p a:hover {
  text-decoration: underline;
}

.footer-menu {
  margin: 8px 0 12px;
}

.footer-menu a {
  color: #dbddff;
  font-weight: 400;
  line-height: 1.4em;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

/* Social Media icon underline fix */
.social-media a {
  text-decoration: none;
  border: none;
}

.social-media a img {
  width: 40px;
}

footer .address {
  margin: 10px 0;
  font-size: 14px;
}
.back-to-top{
      position: fixed;
    right: 20px;
    bottom: 20px;
    color: #7b7b7b;
    text-decoration: none;
    mix-blend-mode: difference;
}

/* Tax section */
#tax-section,
#advisory-section {
  background-color: #eeeef6;
  padding: 100px 50px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form-section {
  margin: 100px auto;
}

/* ------------------------------------------ */
/*                MEDIA QUERIES              */
/* ------------------------------------------ */
@media screen and (max-width: 1250px) {
  .header-container,
  .intro-container,
  .servicesContainer,
  .about-section {
    max-width: 90%;
    margin: 0 auto;
  }

  /* section {
    padding: 100px 50px 0 50px;
  } */

  .banner img {
    max-height: 580px;
  }
}

@media screen and (max-width: 1025px) {
  .services-submenu {
    margin-top: 30px;
  }

  .intro-container {
    padding-top: 50px;
  }
  .servicesPart-section {
    padding-top: 50px;
  }
  .service-icon img {
    max-width: 100px;
  }
  #tax-section {
    padding: 50px;
  }
  .about-section {
    padding-top: 50px;
    padding-left: 0;
    padding-right: 0;
  }
  .about-container {
    gap: 40px;
  }
  #certifications-licenses {
    padding: 50px 20px;
  }
  .form-section {
    margin-bottom: 0;
  }
  footer {
    margin-top: 0;
  }
}

@media screen and (max-width: 991px) {
  .header-container img {
    width: 200px;
  }
  .banner-new{
    flex-direction: column;
    border-radius: 0;
    border-radius: 0 0 20px 20px;
  }
  .col-6{
    width: 100%;
  }
  .banner-image-new{
    height: 400px;
    border-radius: 0 0 20px 20px;
  }
  .banner-image-new div{
    border-radius: 0 0 20px 20px;
}
}

@media (max-width: 768px) {
  /* Hide the desktop nav on mobile */
  #nav-menu {
    display: none !important;
    /* Force hide on mobile */
  }

  .hamburger {
    display: flex !important;
    /* Show the hamburger on mobile */
  }

  .banner img {
    max-height: 500px;
  }

  .banner-text {
    font-size: 2rem;
  }

  .serviceList-imgpart {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: start;
  }

  .Serve-servicelist {
    margin-bottom: 20px;
  }

  .servicesPart h2 {
    font-size: 2.3rem;
    margin: 20px 0;
  }

  .servicesPart h6 {
    font-size: 18px;
  }
  .serviceList a {
    padding: 20px;
  }

  .header-container {
    text-align: center;
  }

  .header-container img {
    max-height: 100px;
  }

  .Serve-servicelist {
    padding: 20px;
  }

  .form-section {
            padding: 50px;
        flex-direction: column;
  }

  .intro-container {
    gap: 0px;
    padding: 50px 0 0;
  }

  .intro-box h2 {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .intro-box {
    flex-basis: 100%;
    margin: 20px 0;
    padding: 20px;
  }

  .about-container {
    flex-direction: column;
  }

  .about-person {
    max-width: 100%;
  }

  .about-section {
    margin: 0 auto;
    padding: 50px 15px;
  }

  footer p {
    font-size: 1rem;
  }

  /* Fullscreen overlay when the nav is toggled open */
  #nav-menu.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    display: flex !important;
    /* override display:none */
    flex-direction: column;
    /* align-items: center;
          justify-content: center; */
    padding: 100px 55px 0;
    overflow: auto;
    align-items: start;
  }

  #nav-menu.fullscreen a {
    font-size: 14px;
    margin: 0;
  }

  /* Show the close button in fullscreen mode */
  #nav-menu.fullscreen .close-menu {
    display: block;
  }

  .services-submenu {
    top: -10px;
    left: auto;
    position: relative;
    border: none;
    background-color: transparent;
    box-shadow: none;
    text-align: start;
    padding: 16px 16px 0;
  }

  .services-menu-wrapper {
    align-items: start;
    width: 100%;
  }

  .form-section input,
  .form-section textarea {
    border-radius: 6px;
  }
  .services-submenu.open {
    display: block;
    /* when toggled open */
  }
  .services-left-column {
    border-right: 0 !important;
  }
  .services-subsection-head {
    font-size: 16px !important;
  }
  .services-right-column {
    display: none;
  }
  .services-submenu {
    min-height: 0;
    padding: 0;
    width: 100%;
  }
  .services-subsection-head {
    text-align: start;
  }
  .services-left-column {
    padding: 20px 0px 0px 0px;
  }

  .service-box {
    padding: 20px;
  }
  .service-container {
    gap: 20px;
  }
  .about-section h2 {
    margin-top: 0;
  }
  .about-person img {
    width: 80%;
  }
  img.aldo_aicpa_logo {
    width: 70px;
  }
  .form-section .form-area {
    width: 100%;
        border-radius: 20px;
        padding: 30px;
  }
.form-section .image-area{
  display: none;
}

}

@media screen and (max-width: 660px) {
  .close-menu {
    top: 27px;
    right: 20px;
  }

  #nav-menu.fullscreen {
    padding: 100px 25px 0;
  }

  .banner-text {
    font-size: 1.8rem;
  }

  .servicesPart {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  /* .servicesPart h2 {
    font-size: 24px;
  } */
  .servicesPart h2 {
    margin-bottom: 50px;
    font-size: 1.8rem;
  }
  .servicesPart h3 {
    font-size: 1.4rem;
  }

  .header-container,
  .intro-container,
  .servicesContainer,
  .form-section {
    max-width: 90%;
  }

  .about-section {
    max-width: 100%;
    padding: 50px 25px;
    margin: 0 auto;
  }

  header {
    height: auto;
    padding: 20px 0;
  }

  nav#nav-menu a {
    font-size: 12px;
  }

  .intro-box h2 {
    font-size: 1.5rem;
  }

  .form-section h2 {
    font-size: 1.8rem;
  }

  .credly-badge {
    padding: 30px 0 0;
  }
  .servicesPart ul {
    flex-direction: column;
  }
  .servicesPart ul li.serviceList {
    width: 100%;
  }
  .service-container {
    flex-direction: column;
  }
  #tax-section {
    padding: 50px 25px;
  }
  section {
    padding: 50px 25px;
  }
  .about-person img {
    width: 100%;
  }
  img.aldo_aicpa_logo {
    width: 80px;
  }
  .form-section {
    flex-direction: column;
  }
  
  .form-section div {
    width: 100%;
  }
  .form-section {
    max-width: 100%;
  }
  .accent-shape{
    display: none;
  }
  #tax-section, #advisory-section{
    padding: 50px 25px;
  }
  .form-section .image-area{
    display: none;
  }
  .banner-new h1{
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2.3rem;
  }
  .form-section{
    margin-top: 0;
  }
.service_section h2{
  font-size: 1.8rem;
}
.about-section h2{
  font-size: 1.8rem;
}
#certifications-licenses h2{
  font-size: 1.8rem;
}
}

@media screen and (max-width: 520px) {
  .header-container img {
    max-width: 150px;
  }

  .close-menu {
    top: 10px;
    right: 12px;
  }

  #nav-menu.fullscreen {
    padding: 80px 25px 0;
  }

  .banner-text {
    font-size: 1.3rem;
  }

  .service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .servicesPart-section {
    padding-top: 20px;
  }

  .Serve-servicelist {
    margin-bottom: 40px;
  }

  .about-container {
    gap: 20px;
  }

  .about-section h2 {
    margin: 0px 0 20px;
    font-size: 1.8rem;
  }
  #certifications-licenses h2 {
    font-size: 1.8rem;
  }

  

  /* .service-icon img {
    max-width: 150px;
  } */
  footer {
    min-height: 340px;
  }
  .service_section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .form-section {
    padding: 50px 25px;
    margin: 0;
  }
  #certifications-licenses{
    padding: 50px 25px;
  }
  .banner-text-new{
    padding: 50px 25px;
  }
}

@media screen and (max-width: 440px) {
  nav#nav-menu a {
    font-size: 9px;
  }
}

@media screen and (max-width: 375px) {
  header img {
    width: 100px;
    max-width: 100px;
  }

  .intro-box h2 {
    font-size: 1.4rem;
  }
}
