@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&family=Raleway:wght@300;400;500&family=Roboto:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-text: #4A5A75;
    --main-header-text: #4A5A75;
    --deep-blue-text: #2A354F;
    --white-bg: #fff
    --white-text: #fff;
    --btn-primary: #5AA9E6;
    --btn-secondary: #fff;
    --btn-primary-text: #fff;
    --btn-secondary-text: #5AA9E6;
    --black-bg: #1E1E1E;
    --light-gray: #d0d0d0
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-padding-top: 100px;
}

body {
    font-family: "Roboto";
    padding-top: 120px;
}

a {
    text-decoration: none;
}

li {
  list-style: none;
}

/* global */

.main-container {
  width: 100%;
}

.button {
    font-size: 1.25rem;
    padding: 4px 16px;
    border-radius: 8px;
    display: inline-block;
}

.btn-primary {
    background-color: var(--btn-primary);
    color: var(--btn-primary-text);
    border: none;
}

.btn-primary:hover {
  /* background-color: #4F8FCB; */
  background-color: #3F90D0;
  transition: all 0.25s ease-in-out;
}

.btn-primary a {
    color: var(--btn-primary-text);
}

.btn-secondary {
    background-color: #fff;
    color: var(--btn-secondary-text);
    border: 1px solid var(--btn-primary);
}

.btn-secondary:hover {
  background-color: #E6F1FB ;
  transition: all 0.25s ease-in-out;
}

.btn-secondary a {
  color: var(--btn-secondary-text);
}

.btn-clear {
  background-color: transparent;
  color: var(--btn-primary-text);
  border: 1px solid var(--btn-secondary);
}

.btn-clear:hover {
  background-color: #4B5A78;
  transition: all 0.25s ease-in-out;
}

.btn-clear a {
  color: var(--btn-primary-text);
}

@media screen and (max-width: 992px) {
  .button {
    font-size: 1.125rem;
    padding: 8px 16px;
    border-radius: 8px;
  }
}

@media screen and (max-width: 768px) {
  .main-container {
    margin: auto;
  }
}

@media screen and (max-width: 480px) {
  .button {
    font-size: 1rem;
  }
}

.navbar {
  margin: auto;
  background: var(--white-bg);
  /* box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25); */
}

.navbar-colored {
  transition: background 0.3s ease-in-out;
  background: linear-gradient(
    90deg,
    rgba(105, 40, 156, 1),
    rgba(73, 34, 122, 1),
    rgba(79, 12, 115, 1),
    rgba(121, 31, 31, 1)
  );
}

.navbar-toggler {
  width: 20px;
  height: 20px;
  position: relative;
  transition: 0.5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 1px solid transparent !important;
}

.navbar-toggler span {
  margin: 0;
  padding: 0;
}

.toggler-icon {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--deep-blue-text);
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.middle-bar {
  margin-top: 0;
}

.navbar-toggler .top-bar {
  margin-top: 0;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  margin-top: 0px;
  transform: rotate(-135deg);
}

/* State when navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
  margin-top: -20px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  margin-top: 20px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .toggler-icon {
  background-color: var(--deep-blue-text);
}

.custom-navbar-brand {
  margin-left: 200px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-navbar-brand h2 {
  margin: 0;
  color: var(--primary-text);
}

.custom-navbar-brand img {
  width: 70px;
}

.custom-navbar {
    background-color: #fff;
    padding: 16px 0 !important;
    height: 120px;
}

.custom-navbar-ul {
  margin-right: 200px;
}

.navbar-nav {
  align-items: center;
  background-color: #fff
}
.navbar-collapse {
  flex-grow: 0 !important;
}

.nav-item {
  margin: 0 1rem;
}

.custom-navbar-ul .contact-us:hover {
  border: 1px solid var(--orangeText);
  transition: border-color 0.3s ease-in-out;
}

.nav-item a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--deep-blue-text);
}

.nav-item a:hover {
  color: var(--btn-primary);
  text-decoration: underline;
  transition: color 0.1s ease-in-out;
}

@media screen and (max-width: 1400px) {
  .custom-navbar-brand {
    margin-left: 50px !important;
  }
  .custom-navbar-ul {
    margin-right: 50px !important;
  }

  .nav-item {
    margin: 0 0.5rem;
  }

  .nav-item a {
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 1200px) {
  .custom-navbar-brand {
    margin-left: 50px !important;
  }
  .custom-navbar-ul {
    margin-right: 50px !important;
  }
}

@media screen and (max-width: 992px) {
  .custom-navbar-brand {
    margin-left: 20px !important;
  }
  .custom-navbar-ul {
    margin-right: 20px !important;
  }
}

@media screen and (max-width: 576px) {
  .navbar-toggler {
    margin-right: 16px;
  }
}

@media screen and (max-width: 480px) {
  .custom-navbar-brand img {
    width: 60px;
  }
}

header {
    display: flex;
    max-width: 1200px;
    margin: auto;
    /* background-color: red; */
    margin-top: 8px;
    /* align-items: center; */
}

.header-left {
    width: 50%;
    margin-top: 130px;
}

.main-header {
    color: var(--main-header-text);
    font-size: 3rem;
    font-weight: 800;
}

.sub-header {
    color: var(--main-header-text);
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 16px;
    margin-bottom: 16px;
}

.header-action {
    margin-top: 32px;
    display: flex;
    gap: 16px;
}

.header-right {
    width: 50%;
}

.header-right img {
    width: 100%;
}

.img-container {
    margin-top: -40px;
}

@media screen and (max-width: 992px) {
  header {
    width: 90%;
    margin: auto;
  }

  .header-left {
    margin-top: 50px;
  }

  .img-container {
    margin-top: 0;
  }
}

@media screen and (max-width: 768px) {
  header {
    flex-direction: column;
    margin: auto;
    margin-top: 24px;
  }
  
  .header-left, .header-right {
    width: 100%;
    margin: auto;
  }

  .img-container {
    width: 90%;
  }
}


@media screen and (max-width: 480px) {
  .main-header  {
    font-size: 2.5rem;
  }

  .header-right {
    /* display: none; */
    margin-top: 16px;
  }
  
  .hidden-btn {
    display: none;
  }

  .header-action {
    margin-bottom: 24px;
  }
}


.fade-up-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.our-solutions {
  background-image: url(../images/blob-scene-haikei.svg);
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-size: cover;
  background-position: top right 0;
}
.solution-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding-top: 100px;
  padding-bottom: 100px;
  gap: 100px;
}

.solution-left {
    width: 50%;
}

.solution-left h2 {
  color: var(--primary-text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-left h3 {
  color: var(--primary-text);
  font-size: 2.5rem;;
  font-weight: 700;
  margin-bottom: 16px;
}

.solution-left p {
  color: var(--primary-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.solution-right {
    width: 50%;
}

.accordion-item {
 border: none;
 background-color: transparent;
}

.accordion {
  margin-top: 4px;
}

.accordion-btn {
  color: var(--primary-text);
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  background-color: transparent;
  display: flex;
  border-bottom: 1px solid rgba(60, 76, 106, .20);
  position: relative;
  margin-left: 24px;
  width: 100%;
  padding-bottom: 8px;
}

.accordion-btn:hover {
  text-decoration: underline;
}

.accordion-content {
  margin-left: 24px;
  margin-top: 12px;
  color: var(--primary-text);
}

.accordion-btn::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url('../images/arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

.accordion-btn.open::before {
  transform: translateY(-50%) rotate(180deg); /* flipped */
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.6s ease;
}

.accordion-content.active {
  max-height: 600px;
}

@media screen and (max-width: 992px) {
  .solution-container {
    width: 90%;
    gap: 50px;
  }
}

@media screen and (max-width: 768px) {
  .solution-container {
    flex-direction: column;
  }

  .solution-left, .solution-right {
    width: 90%;
  }
}

@media screen and (max-width: 576px) {
  .solution-left, .solution-right {
    width: 95%;
  }
}

@media screen and (max-width: 480px) {
  .solution-left h3 {
    font-size: 2.35rem;
  }
  .accordion-btn {
    font-size: 1.25rem;
  }
}

.about-us {
  background-image: url(../images/blob-scene-haikei.svg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: top right 0;
}

.about-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 50px;
}

.about-left {
  width: 50%;
}

.about-left h2 {
  color: var(--primary-text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-left h3 {
  color: var(--primary-text);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-left p {
  color: var(--primary-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.about-right {
  width: 50%;
}

.about-image {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 992px) {
  .about-us {
    padding-top: 24px;
  }
  .about-container {
    width: 90%;
  }

  .about-image {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: start;
    gap: 0px;
  }

  .about-left, .about-right {
    width: 90%;
  }

  .about-image {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .about-left, .about-right {
    width: 95%;
    margin: auto;
  }
}

@media screen and (max-width: 768px) {
  .about-left h3 {
    font-size: 2.35rem;
  }
}

.how-we-work {
  background-image: url(../images/blob-scene-haikei.svg);
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-size: cover;
  background-position: top right 0;
}

.how-we-work-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 50px;
}

.how-we-work-container h2 {
  color: var(--primary-text);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.how-we-work-container h3 {
  color: var(--primary-text);
  font-size: 2.5rem;;
  font-weight: 700;
  width: 50%;
  margin: auto;
  text-align: center;
}

.process-steps-container {
  display: flex;
  background-color: white;
  box-shadow: 0px 15px 46px -17px rgba(0, 0, 0, .25);
  margin-top: 64px;
  margin-bottom: 64px;
  padding: 50px 0 80px 0;
}

.card {
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border-radius: 0;
  width: 250px;
  background-color: transparent;
}

.card-title {
  color: var(--primary-text);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 24px 0;
}

.card-description {
  color: var(--primary-text);
}

.card .icon {
  width: 48px;
}


@media screen and (max-width: 992px) {
  .how-we-work-container h3 {
    width: 60%;
  }

  .process-steps-container {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  .how-we-work-container h3 {
    width: 70%;
  }

  .process-steps-container {
    width: 90%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 576px) {
  .how-we-work-container h3 {
    width: 90%;
  }

  .process-steps-container {
    width: 90%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .how-we-work-container {
    padding-top: 50px;
  }

  .how-we-work-container h3 {
    font-size: 2.35rem;
  }

  .card {
    width: 90%;
  }
}


.contact-us {
  background-image: url(../images/bg-colored.svg);
}

.contact-container {
  max-width: 1200px;
  padding: 150px 0;
  margin: auto;
}

.contact-us h2 {
  color: var(--btn-primary-text);
  font-size: 2rem;
  font-weight: 700;
  margin-left: 100px;
}

.contact-us .button {
  margin-top: 32px;
  margin-left: 100px;
  display: inline-block;
}


@media screen and (max-width: 768px) {
  .contact-container {
    width: 90%;
  }
  .contact-us h2 {
    margin-left: 0px;
  }

  .contact-us .button {
    margin-left: 0px;
  }
}

@media screen and (max-width: 576px) {

}

@media screen and (max-width: 480px) {

}


footer {
  background-color: var(--black-bg);
}

footer h2,
footer h4 {
  margin: 0;
}

.footer-content {
  padding: 40px 0;
  margin: auto;
  max-width: 1200px;
  display: flex;
  color: var(--light-gray);
}

.footer-content h4 {
  font-weight: 600;
  color: var(--light-gray);

}

.footer-content .col:first-of-type {
  flex: 1.25;
}

.footer-content .footer-links a:hover {
  color: var(--btn-primary);
  transition: color 0.25s ease-in-out;
  text-decoration: underline;
}

.footer-content .contact-info a:hover {
  transition: color 0.3s ease-in-out;
}

.col-title {
  height: 60px;
  display: flex;
  align-items: center;
  color: var(--primaryWhiteText);
}

.col-content {
  display: flex;
}

.footer-content .about {
  margin-top: 24px;
  width: 80%;
}

.footer-logo {
  margin-bottom: 8px;
}

.footer-logo img {
  width: 70px;
}

.footer-logo h3 {
  margin: 0;
}

.footer-ul {
  display: flex;
}

.footer-links {
  display: flex;
  flex-direction: column;
  padding-left: 0;
}

.footer-links a {
  font-size: 1rem;
  color: var(--light-gray);
  text-decoration: none;
  padding-right: 50px;
  line-height: 2;
  white-space: nowrap;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-info a {
  color: var(--primaryWhiteText);
  text-decoration: none;
  font-size: 1rem;
}

@media screen and (max-width: 1400px) {
  .footer-content {
    padding: 40px 0;
    margin: auto;
    width: 90%;
    display: flex;
  }
}

@media screen and (max-width: 992px) {
  .footer-content .col:first-of-type {
    flex: 1.5;
  }
  .footer-content {
    padding: 40px 0;
    margin: auto;
    width: 90%;
  }

  .footer-ul {
    flex-direction: column;
  }

  .footer-links {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .col:first-child {
    order: 1;
  }

  .col:nth-child(2),
  .col:nth-child(3) {
    order: 2;
  }
}

@media screen and (max-width: 480px) {
  .footer-content .about {
    width: 100%;
    text-align: center;
  }
  .footer-content .col {
    display: flex;
    flex-direction: column;
  }
  .col-title {
    justify-content: center;
  }

  .footer-ul {
    flex-direction: column;
    align-items: center;
    margin: auto !important;
    text-align: center;
  }

  .footer-logo img {
    width: 60px;
  }

  .footer-links a {
    padding: 0;
  }

  .contact-info {
    justify-content: center;
    gap: 10px;
  }
}