/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 6rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --black-color: hsl(220, 24%, 12%);
  --black-color-light: hsl(220, 24%, 15%);
  --black-color-lighten: hsl(220, 20%, 18%);
  --white-color: #fff;
  --body-color: #faf9f9;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: 0.938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 400;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  /* ont-family: var(--body-font); 
  font-size: var(--normal-font-size);  */
  background-color: var(--body-color);
}

ul {
  list-style: none;
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  /*position: fixed;*/
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);

  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}

.nav__logo,
.nav__burger,
.nav__close {
  color: var(--black-color);
}

.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  column-gap: 0.25rem;
  font-weight: var(--font-semi-bold);
  /* Color highlighting when pressed on mobile devices */
  /*-webkit-tap-highlight-color: transparent;*/
}

.nav__logo i {
  font-weight: initial;
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
  z-index: 1000; /* Ensure toggle is above menu */
}

.nav__burger,
.nav__close {
  position: absolute;
  width: max-content;
  height: max-content;
  inset: 0;
  margin: auto;
  font-size: 1.25rem;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}

.nav__close {
  opacity: 0;
}
.sign_contract {
  color: white;
  border-radius: 30px;
  padding: 16px;
  background: linear-gradient(to right, #e04c08 0%, #f3d701 100%);
}
.sign_contract:hover {
  color: white;
  text-shadow: 0.5px 0.5px 0.5px white;
}
/* Navigation for mobile devices */
@media screen and (max-width: 1118px) {
  .nav__menu {
    position: absolute;
    left: 0;
    top: var(--header-height); /* Align with bottom of header */
    width: 100%;
    height: calc(100vh - var(--header-height)); /* Full height minus header */
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
    font-size: 14px;
    font-size: 14px;
    background-color: var(--white-color); /* Ensure solid background */
    z-index: 100;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0;
  }
  .nav__list {
    background-color: var(--white-color);
    padding-top: 1rem;
  }

  /* Mobile click to expand */
  .dropdown__item.show-dropdown .dropdown__menu,
  .dropdown__subitem.show-dropdown > .dropdown__submenu {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
  }
  
  .dropdown__item.show-dropdown .dropdown__arrow {
    transform: rotate(180deg);
  }

  .nav__cta {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    width: 100%;
  }
}

.nav__cta {
  align-content: center;
}

.nav__link {
  color: var(--black-color);
  background-color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.nav__link > .nav__link {
  width: 100%;
}

/*.nav__link:hover {
  background-color: var(--black-color-light);
} */
.nav__link {
  a:hover {
    color: #e04c0a;
  }
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: var(--header-height);
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(90deg);
}
.show-icon .nav__close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__item {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.25rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__link,
.dropdown__sublink {
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  color: var(--black-color);
  background-color: transparent;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  font-weight: var(--font-semi-bold);
  transition: background-color 0.3s;
}

.dropdown__link > a {
  width: 100%;
}

.dropdown__link i,
.dropdown__sublink i {
  font-size: 1.25rem;
  font-weight: initial;
}

.dropdown__link:hover,
.dropdown__sublink:hover {
  color: #e04c0a;
}

.dropdown__menu,
.dropdown__submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background: white;
}

/* Dropdown styling (hover and show-dropdown) */
.dropdown__item:hover > .nav__link,
.dropdown__item.show-dropdown > .nav__link {
  color: #e04c0a;
  /* background-color: var(--black-color-light); */
}

.dropdown__item:hover > .nav__link .nav__link,
.dropdown__item.show-dropdown > .nav__link .nav__link {
    color: #e04c0a;
}

/* Show dropdown menu & submenu - Desktop Only */
@media screen and (min-width: 1119px) {
  .dropdown__item:hover .dropdown__menu,
  .dropdown__subitem:hover > .dropdown__submenu {
    max-height: 1000px;
    transition: max-height 0.4s ease-in;
  }
  
  /* Rotate dropdown icon */
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
}

/*=============== DROPDOWN SUBMENU ===============*/
.dropdown__add {
  margin-left: auto;
}

.dropdown__sublink {
  background-color: var(--white-color-lighten);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__link {
    padding-inline: 1rem;
  }
}

/* For large devices */
@media screen and (min-width: 1118px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    /* height: calc(var(--header-height) + 6rem); */
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    height: 100%;
    display: flex;
    column-gap: 1.5rem;
  }
  .nav__link {
    height: 100%;
    padding: 0;
    justify-content: initial;
    column-gap: 0.25rem;
  }
  .nav__link:hover {
    background-color: transparent;
  }

  .dropdown__item,
  .dropdown__subitem {
    position: relative;
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: initial;
    overflow: initial;
    position: absolute;
    left: 0;
    top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, top 0.3s;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding-inline: 1rem 3.5rem;
  }

  .dropdown__subitem .dropdown__link {
    padding-inline: 1rem;
  }

  .dropdown__submenu {
    position: absolute;
    left: 100%;
    top: 0.5rem;
  }

  /* Show dropdown menu */
  .dropdown__item:hover .dropdown__menu {
    opacity: 1;
    top: 5.5rem;
    pointer-events: initial;
    transition: top 0.3s;
    z-index: 1001;
  }

  /* Show dropdown submenu */
  .dropdown__subitem:hover > .dropdown__submenu {
    opacity: 1;
    top: 0;
    pointer-events: initial;
    transition: top 0.3s;
  }
}
div#primary {
  background: #faf9f9;
}
/*========++FOOTER============*/
.site-footer {
  background: white;
  color: black;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  font-size: 14px;
  line-height: 1.6;
  transition: transform 0.3s ease, color 0.3s ease;
  a {
    color: black;
  }
}

/* .footer-col:hover {
  transform: translateY(-3px);
} */

.footer-logo img {
  max-width: 80px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin: 6px 0;
}

.footer-nav a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-nav a:hover {
  color: #3d5af1;
  padding-left: 5px;
}

.footer-address p {
  margin-bottom: 6px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
}

.footer-bottom .social-icons {
  margin-bottom: 20px;
}

.footer-bottom .social-icons a {
  color: #000000;
  margin: 0 10px;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-bottom .social-icons a:hover {
  color: #3d5af1;
  transform: translateY(-3px) scale(1.2);
}

.footer-bottom hr {
  border: none;
  border-top: 1px solid #444;
  margin: 20px auto;
  max-width: 900px;
}

.footer-bottom .copyright {
  font-size: 13px;
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-bottom .copyright:hover {
  color: #fff;
}

/* ? Responsive styles */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
  .footer-logo {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 20px;
  }
  .footer-logo {
    margin-bottom: 20px;
  }
}
.footer-menu-heading {
  font-weight: 600;
  cursor: pointer;
  font-size: 1.1rem;
  color: #e04c08;
  transition: all 0.3s ease;
}
.footer-menu-brand-name{
  font-weight: 600;
  font-size: 1.1rem;
  color: #e04c08;
}
.footer-menu-item {
  cursor: pointer;
  transition: color 0.3s ease;
}
.footer-menu-heading:hover {
  color: #b03a05;
  transform: translateX(5px);
}
.footer-menu-item:hover {
  color: #e04c08;
}

/* Remove default theme padding on mobile */
@media (max-width: 921px) {
    #primary, #secondary {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

.ast-arrow-svg{
 transform: rotate(180deg);
}
.ast-scroll-top:hover{
	color: #c93f00;
}