:root {
    --primary: #0181B0;
    --accent: #fb8587;
    /* --accent: #ff415c */
    --accent2: #a6e4ff;
    --tertiary: #434343;
    --tertiary_lighter: #515151;
    --tertiary_darker: #363636;
}

html {
    scroll-padding: 80px;
}

body {
  font-family: "Segoe UI", Tahoma, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  width: 100%;
  scroll-behavior: smooth;
}

body p {
  margin: 0;
}

.p0 {
    font-size: 12px;
    color: white;
}

.p1 {
    font-size: 14px;
    color: white;
  }

.p1 {
  font-size: 18px;
  color: white;
}

.p2 {
  font-size: 22px;
  color: white;
}

.p3 {
  font-size: 26px;
  color: white;
}

.h1_hero {
  color: white;
  font-size: 64px;
}

.h1 {
  color: white;
  font-size: 38px;
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 10vh;
  max-height: 200px;
  min-height: 100px;
  background-color: var(--primary);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0 3rem;
  transition: all 0.3s ease-in-out;
}

.navbar.active {
  background-color: white;
  height: 8vh;
  min-height: 80px;
}

.navbar.active .navbar_right1 a {
  color: black;
}

.navbar a {
  text-decoration: none;
}

.navbar a img {
    height: 70px;
}

.navbar:not(.active) .navbar_right2 i {
    color: white;
}

.navbar_right1 {
    width: 350px;
    display: flex;
    justify-content: space-evenly;
}

.navbar_right2 {
    width: auto;
    height: 50px;
    border: none;
    background-color: transparent;
    border-radius: 50%;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
  }
  
  .navbar_right2 i {
    font-size: 24px;
  }

  .nav_link.active {
    font-weight: bold;
    border-bottom: 2px solid var(--tertiary_darker);
    color: var(--tertiary_darker);
  }
  
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: auto; 
    background-color: white;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }
  
  .mobile-menu.active {
    transform: translateY(0);
  }
  
  
  .mobile-menu a {
    margin: 20px 20px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #124;
  }
  

.hero {
  width: 100%;
  max-height: 720px;
  min-height: 400px;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary);
}

.btn_hero1 {
  height: auto;
  width: auto;
  padding: 2vh 2vw;
  background-color: #ff415c;
  color: white;
  text-decoration: none;
  border: 2px solid #ff415c;
  transition: 0.4s all ease-in-out;
}

.btn_hero1:hover {
  height: auto;
  width: auto;
  color: var(--accent);
  background-color: transparent;
  text-decoration: none;
  border: 2px solid #ff415c;
}

.btn_hero2 {
  height: auto;
  width: auto;
  padding: 2vh 2vw;
  color: white;
  text-decoration: none;
  border: 2px solid white;
  transition: 0.4s all ease-in-out;
}

.btn_hero2:hover {
  height: auto;
  width: auto;
  background-color: #ff415c;
  color: white;
  text-decoration: none;
}

/* .logos {
  height: auto;
  min-height: 100px;
  width: 100%;
  max-width: 1320px;
  display: flex;
  flex-direction: row;
  justify-self: center;
  justify-content: space-evenly;
  padding: 30px 0;
} */

.logos_row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.logos img {
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

.invoice_bg {
    background-image: url(../img/invoice.png);
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
}

.achievement {
    flex-direction: row;
    align-items: center;
    margin-bottom: 5px;
    background-image: url(../img/invoice.png);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
}

.achievement_text {
    width: 60%;
    margin: auto auto;
}

.achievement_point {
    width: 50%;
    flex-direction: column;
    justify-content: center;
}

.services {
  height: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--primary);
  text-align: justify;
}

.service1 {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 3rem;
    padding-top: 3rem;
    margin: auto;
}

.service_scroll {
    height: 728px;
    width: 65%;
    display: flex;
    flex-direction: column;
}

.service_content {
    position: sticky;
    top: 20vh;
    display: flex;
    flex-direction: column;
}

.service2 {
    width: 100%;
    min-width: 272px;
    max-width: 1000px;
    display: none;
    flex-direction: column;
    padding-bottom: 3rem;
}

.service2 .dropdown_content {
  /* Keep your existing styles like padding, background-color, etc. */
  padding: 6px 10px; /* From your existing styles */
  background-color: var(--tertiary_lighter); /* From your existing styles */
  display: flex; /* This is fine to keep for content layout once open */
  flex-direction: column; /* This is fine to keep */

  /* Add/Modify these for smooth animation */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out; /* Adjust duration and easing as you like */
  /* You could also transition padding if you want it to ease in/out:
     transition: max-height 0.35s ease-in-out, padding-top 0.35s ease-in-out, padding-bottom 0.35s ease-in-out;
     And then set padding-top/bottom to 0 when closed, and restore it when open.
     For now, transitioning max-height alone is simpler and often sufficient.
  */
}

.btn_service {
  width: 100%;
  background-color: var(--tertiary);
  padding: 25px 20px;
  border: none;
  transition: 0.2s all ease-in-out;
}

.btn_service:not(.active):hover {
  background-color: #1279ff96;
}

.btn_service.active {
  background-color: var(--tertiary_darker);
  color: white;
  font-weight: bold;
}

#service_type,
#service_description,
#service_button {
  transition: 0.2s all ease-in-out;
}

.testimonial {
    height: auto;
    width: 100%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech_stack img{
    object-fit: contain;
    height: 90px;
}

.testimonial_container {
    height: auto;
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background-color: var(--accent2);
    padding: 50px;
}

.testimonial_subject {
    height: auto;
    width: 120px;
}

.testimonial_content {
    height: 100%;
    width: 70%;
}

.testimonial_subject p {
    text-align: center;
}

.testimonial_subject img {
    width: 100%;
    min-width: 80px;
}

.contact {
    background-color: var(--primary);
}

.contact h1 {
    color: var(--accent2);
}

.contact_link {
    text-decoration: none;
    color: var(--accent);
}

.contact_link:hover {
    color: var(--accent);
}


.footer {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
}

.footer_container {
    width: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.footer_column {
    height: auto;
    width: 25%;
    display: flex;
    flex-direction: column;
}

.footer_column p {
    width: 90%;
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
}

.footer_column span {
    height: 88px;
}

.footer_column img {
    padding-bottom: 1rem;
}

.footer_column a {
    width: 90%;
    font-size: 16px;
    color: white;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer_service1 {
    display: flex;
}

.footer_service2 {
    display: none;
}

.footer_bottom {
    width: 100%;
    max-width: 1140px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 3rem;
    color: white;
}

.footer_bottom a {
    text-decoration: none;
    color: white;
}

.idkcallme :hover,
.footer_column p a:hover,
.footer_bottom a:hover {
    transition: 0.2s all ease-in-out;
    color: var(--accent);
}

.footer_bottom_right {
    width: 70%;
    flex-direction: row;
}

.footer_bottom_left {
    width: 25%;
}

.footer_bottom_right_1 {
    width: 50%;
    display: flex;
    justify-content: center;
}

@media (max-width: 1200px) {

    .navbar a img {
        height: 55px;
    }
  
    
    .logos {
        width: 90%;
    }

    .logos_row {
        flex-direction: column;
    }

    .services {
        height: auto;
    }

    .service1 {
        display: none;
    }

    .service2 {
        display: flex;
    }

    .footer_service1 {
        display: none;
    }

    .footer_service2 {
        display: flex;
    }

}

@media (max-width: 768px) {

    .navbar_right1 {
        display: none;
    }

    .navbar_right2 {
        display: flex;
    }

    .achievement_text {
        justify-self: center;
        margin-bottom: 3rem;
        width: 85%;
    }

    .testimonial_container {
        flex-direction: column;
    }

    .testimonial_subject {
        margin-bottom: 25px;
    }

    .testimonial_content {
        width: 95%;
    }

    .footer_bottom {
        flex-direction: column;
    }

    .footer_bottom_right {
        width: 70%;
        flex-direction: column;
    }

    .footer_bottom_left {
        width: 50%;
        margin-bottom: 1rem;
    }

    .footer_bottom_right_1 {
        width: 100%;
        justify-content: flex-start;
    }

}

@media (max-width: 567px) {

    .navbar {
        padding: 0 1rem;
    }

    .navbar a img {
        height: 50px;
    }

    .hero .h1_hero {
        font-size: 48px;
    }

    .services .h1_hero {
        text-align: center;
    }

    .achievement {
        flex-direction: column;
    }

    .testimonial_container {
        width: 90vw;
        align-items: center;
    }

    .testimonial_content {
        width: 100%;
    }

    .achievement_point {
        margin: auto;
        width: 75%;
    }

    .footer_container {
        flex-direction: column;
    }

    .footer_column {
        width: 70%;
    }

    .footer_column span {
        width: 0;
        height: 24px;
    }

    .footer_bottom_left {
        width: 100%;
    }

    .footer_bottom_right {
        width: 100%;
    }

    .hero .p2 {
        font-size: 16px;
    }
}

@media (max-width: 375px) {

    .hero .h1_hero {
        font-size: 42px;
    }

    .footer_column {
        width: 90%;
    }

    .achievement_point {
        flex-direction: row;
    }

    .achievement_row {
        flex-direction: column;
    }

}