
:root {
  --all-bg-color: #ffffff;
  --navbar-bg:#A7ABB21A;
  --titles:#000000;
  --navbar-text:#002C75;
  --icon-border:#3E74FE54;
  --icon-hover: #3E74FECC;
  --txt:#0000009C;
  --footer-txt: #000000;
  --footer-line:#002C750D;
  --footer-hover:#002C75CC; 
}

 [data-theme="dark"] {
  --all-bg-color: #080F0F;
  --navbar-bg:#27272766;
  --titles:#FFFFFF;
  --navbar-text: #FFFFFF;
  --icon-border:#FFFFFF4D;
  --icon-hover: #FFFFFF;
  --txt:#FFFFFFB2;
  --footer-txt:#FFFFFFCC;
  --footer-line:#FFFFFF26;
  --footer-hover:#002C75CC; 
} 

body,
html {
  background-color: var(--all-bg-color);
  margin: 0;
  padding: 0;
}

.layout-wrapper {
  width: calc(100% - 160px); /* ✅ leaves 80px on each side */
  max-width: 1280px;         /* ✅ restricts max size */
  margin: 30px auto 0 auto;  /* ✅ 30px from top, centered */
  box-sizing: border-box;
}


.terms_and_conditions-wrapper{
  width: calc(100% - 160px); /* ✅ leaves 80px on each side */
  max-width: 1280px;         /* ✅ restricts max size */
  margin: 30px auto 0 auto;  /* ✅ 30px from top, centered */
  box-sizing: border-box;
}

.navbar {
 width: 100%;
  height: 68px;
  background-color: var(--navbar-bg);
  border-radius: 50px;
 
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-sizing: border-box;
}

.navbar-brand {
  position: absolute;
  left: 78px; 
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  width: 79px;
  height: 20.87px;
}

.navbar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 100%;
  padding: 0 20px;
}

.navbar-nav .nav-item a {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  color: var(--navbar-text);
  display: flex;
  align-items: center;
  height: 100%;
}

.right_side_icon {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  margin-left: auto; /* Push to the right */
  padding-right: 10px;
}


.icon-button {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--icon-border);
  border-radius: 60px;
  background: none;
  cursor: pointer;
  flex-shrink: 0; /* Prevent shrinking */
}

.container_menu{
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
 
}

.language-selector {
  width: 48px;
  height: 48px;
  border: 1px solid var(--icon-border);
  border-radius: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: none;
  z-index: 2;
  flex-shrink: 0;
  transition: width 0.3s ease;
  overflow: hidden;
}

.language-selector.open {
  width: 126px;
  justify-content: space-around;  /* Align items to the left */
  gap: 10px;                     /* Space between language items */
  padding: 0 5px;               /* Space from left and right borders */
}

.language-selector p {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  color: var(--navbar-text);
  line-height: 28px;
  transition: opacity 0.3s ease;
  pointer-events: auto; /* Make text clickable */
  cursor: pointer; /* Show pointer cursor on text */
}

.language-selector p.hidden {
  opacity: 0;
  width: 0;
  margin: 0;
  overflow: hidden;
}

.language-selector.open p.hidden {
  opacity: 1;
  width: auto;
 
}

 .language-selector p:not(.active) {
    display: none;
  }
  .language-selector.open p {
    display: block;
  }

.login-button {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  padding: 10px 15px;
  height: 48px;
  border: 1px solid var(--icon-border);
  border-radius: 29px;
  background: none;
   color: var(--navbar-text);
  cursor: pointer;
  white-space: nowrap;
  margin-left: 10px; /* Space between language and login */
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.login-button.hidden {
  opacity: 0;
  width: 0;
  padding: 0;
  margin-left: 0;
  border: none;
  pointer-events: none;
}

.icon-button:hover,
.language-selector:hover,
.login-button:hover{
  border-color: var(--icon-hover); /* Change border color on hover */
}

.hamburger-menu,
.mobile-menu,
.mobile-menu-overlay,
#mobile_toggle{
  display: none;
}


.terms_and_conditions .terms_and_conditions-title {
  color: var(--titles);
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 28px;
  margin-top: 60px;
  margin-left: 30px;
}

.terms_and_conditions .terms_and_conditions-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 36px;
  color: var(--txt);
  margin-left: 30px;
}

.analytics-title,
.methods-processing {
  font-size: 16px;
  color: var(--titles);
  font-weight: 300;
  line-height: 36px;
  font-family: 'Montserrat', sans-serif;
  margin-top: 30px;
  margin-left: 30px;
}

.analytics-text {
  color: var(--txt);
  font-weight: 300;
  font-size: 14px;
  line-height: 36px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 30px;
  margin-left: 30px;
}

.analytics-text span {
  padding: .5rem;
}

.privacy-description,
.methods-description {
  width: 1060px;
  height: 216px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 36px;
  color: var(--txt);
  margin-left: 30px;
}

.footer_line {
  height: 1px;
  background-color: var(--footer-line);
  width: 100%;
  margin-top: 90px;
}


.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 20px;
}

.footer-columns {
  display: flex;
  gap: 10px; /* 40px space between footer1-4 */
  flex-wrap: wrap;
  flex-grow: 1;
}

.footer1{
  margin-right: 30px;
}

.footer1, .footer2, .footer3, .footer4 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 100px;
  color: var(--footer-txt);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 28px;
  font-weight: 300;
}

.footer1 a:hover, 
.footer2 a:hover, 
.footer3 a:hover, 
.footer4 a:hover,
.footer a:hover{
  color: #001A47; 
}

.footer_right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
  color: var(--footer-txt);
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  line-height: 28px;
}

.iconsandtext {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 5px;
  
}

#iconsandtext_apple{
  width: 15px;
  height: 18px;
}

#iconsandtext_playmarket{
  width: 16px;
  height: 18px;

}

.footer a {
  color: var(--footer-txt);
  text-decoration: none;
  font-size: 14px;
}

#download{
   text-decoration: underline;
}

[data-theme="light"] .fa-apple {
  color: #000000;
}

[data-theme="dark"] .fa-apple {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .calculator-drawer {
    display: none;
  }

  .terms_and_conditions-wrapper,
  .layout-wrapper {
    width: calc(100% - 40px);
    margin: 20px auto 0 auto;
  }

   .terms_and_conditions-wrapper{
    width: 90%;
    margin: 0 auto;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }

  .footer_right {
    align-items: flex-start;
  }

  .footer_line {
    margin-top: 60px;
  }

  /* Calculator Drawer (assuming it exists) */
  .calculator-drawer {
    width: 100%;
    right: -100%;
  }

  .calculator-drawer.open {
    right: 0;
  }

  .layout-wrapper{
    width: calc(100% - 80px);
    /* Reduced side padding */
   
  }

  .navbar {
    /* From https://css.glass */
    position: fixed;

    top: 20px;
    background: rgba(255, 255, 255, 0.32);
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.9px);
    -webkit-backdrop-filter: blur(6.9px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 1px solid white;
    z-index: 1005;
    width: 90%;
    height: 60px;
    margin-bottom: 30px;
     left: 50%;
        transform: translateX(-50%);
        right: auto; /* Ensure it doesn't stretch full width */
  }

  .navbar-nav,
  .right_side_icon {
    display: none !important;
  }



  .hamburger-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    right: 40px;
    top: 30px;
    z-index: 1006;
    cursor: pointer;
    padding: 0;
  }

  .hamburger-menu i {
    font-size: 18px;
    color: #0196F5;
    /* clean blue tone */
  }


  body.hide-header .navbar,
  body.hide-header .hamburger-menu {
    display: none !important;
  }

  .mobile-menu {
    padding: 0;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--all-bg-color);
    z-index: 1001;

    /* padding: 30px; */

    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.15);

  }

  .mobile-menu-header {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */

    /* position: relative;
    width: 90%; 
    height: 60px; 
    margin: 20px auto 0 auto; 
    display: flex;
    justify-content: space-between;
    align-items: center; */

    position: relative;
    height: 60px;
    /* same as .navbar */
    width: 100%;
    /* ensure full width */
  }

  .mobile-logo {
    width: 49px;
    height: 24px;
    position: absolute;
    left: 78px;
    top: 50px;
    transform: translate(-50%, -50%);
  }

  .close-mobile-menu {
    /* display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    padding: 0;
    position: absolute; 
    top: 24px; 
    right: 40px; 
    z-index: 1006; */
    position: fixed;
    right: 40px;
    /* same as .hamburger-menu */
    top: 30px;
    /* same as .hamburger-menu */
    width: 40px;
    /* match hamburger button */
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    z-index: 1006;
    cursor: pointer;
    padding: 0;


  }

  .close-mobile-menu i {
    font-size: 15px;
    color: #3d5af1;

  }


  .mobile-menu ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
  }

  .mobile-menu ul li {
    margin-bottom: 15px;
    margin-left: 40px;
  }

  .mobile-menu ul li a {
    text-decoration: none;
    color: var(--titles);
    font-size: 14px;

  }

  .mobile-menu ul li:first-child {
    margin-top: 20px;
    /* adjust distance as needed */
  }

  .lightblue_line {
    margin-top: 15px;

    height: 1.5px;
    background-color: var(--footer-line);
    width: 100%;
  }

  .lang-options {
    display: flex;
    justify-content: start;
    gap: 20px;
    margin-top: 50px;
    margin-left: 40px;
    font-size: 14px;
    color: var(--titles);
  }

  .terms_and_conditions .terms_and_conditions-title {
    font-size: 18px;
    margin-left: 20px;
    margin-top: 110px;
    text-align: left;
  }

  .terms_and_conditions .terms_and_conditions-text,
  .analytics-title,
  .analytics-text,
  .methods-processing,
  .privacy-description,
  .methods-description {
    font-size: 14px;
    line-height: 28px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .privacy-description,
  .methods-description {
    width: 90%;
    max-width: 600px;
    height: auto;
  }

    #mobile_toggle{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    right: 90px;
    top: 30px;
    z-index: 1006;
    cursor: pointer;
    padding: 0;

  }
}