@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --white-color: #FFFFFF;
  --black-color:  #000000;
  --gray-color: #313c4e;
  --gray-light-color: #e4e8ed;
  --main-color: #b71c1c;
  --text-color: #303841;
  --blue-color: #264779;
  --yellow-color: #feb907;
  --main-rgba: rgba(183, 28, 28, 1);
  --text-rgba: rgba(48, 56, 65, 1);
  --border-radius: 4px;
}

::-webkit-scrollbar {
  width: 5px;
  height: auto;
}

::-webkit-scrollbar-thumb {
  background-color: var(--blue-color);
  border-radius: var(--border-radius);
  border: 1px solid #f0f4fa;
}

::-webkit-scrollbar-track {
  background-color: var(--white-color);
  border-radius: 0px;
}

*{
  max-width: 100vw;
  height: auto;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  line-height: 2.2;
  font-size: 1rem;
  font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: var(--text-hex);
  background: #e4e8ed;
}

h1 {
  font-size: 200%;
  font-weight: 400;
  line-height: 1.4;
  word-spacing: 10px;
  text-transform: uppercase;
  color: var(--white-color);
}

h2,
h3 {
  font-size: 110%;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white-color);
}

h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 400;
  line-height: 1.4;
  color: var(--white-color);
}

/* --- Input container --- */
.dli {
  position: relative;
  margin: 20px 0px;
  width: 100%;
  font-size: 16px;
  color: #999;
}

/* --- Inputs --- */
.dli input {
  width: 100%;
  padding: 16px 12px;
  font-size: 100%;
  border: 1px solid #999;
  border-radius: 4px;
  outline: none;
  background: transparent;
  transition: border-color 0.3s;
}

.dli:has(input:disabled) {
  cursor: not-allowed;
}

/* --- Extra padding for password show/hide --- */
.dli.la-password input {
  padding-right: 60px; /* space for show/hide */
}

/* --- Floating label --- */
.dli::before {
  content: attr(data-label);
  position: absolute;
  left: 12px;
  top: 7px;
  font-size: 100%;
  color: #999;
  background: #fff;
  padding: 0 6px;
  pointer-events: none;
  transition: all 0.3s ease;
}

/* Move label up on focus or filled */
.dli:focus-within::before,
.dli.filled::before {
  top: -14px;
  font-size: 80%;
  color: var(--blue-color);
}

/* Input has value but not focused */
.dli.filled:not(:focus-within)::before {
  top: -14px;
  font-size: 80%;
  color: gray;
}

/* Input border on focus */
.dli:focus-within input {
  border-color: var(--blue-color);
}

.dli.la-email p {
  width: 97%;
  margin: 0px auto;
  order: 1;
  font-size: 78%;
  text-align: left;
  color: var(--blue-color);
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: all 0.3s ease;
}

.dli.la-email input:focus {
  margin-top: 4px;
}

.dli.la-email p.show {
  max-height: 200px;
  opacity: 1;
  transform: scaleY(1);
}

textarea, select {
  font-size: 100%;
  width: 100%;
  max-height: 180px;
  resize: vertical;
  margin: 10px 0px;
  padding: 16px 12px;
  background: transparent;
  color: var(--black-color);
  border: 1px solid #999;
  border-radius: var(--border-radius);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  outline: none;
}

textarea {
  min-height: 120px;
}

/* Focus */
textarea:focus,
select:focus {
  border-color: #999;
  background: rgba(34, 64, 196, 0.055);
  outline: none;
  transition: box-shadow 0.3s ease;
}

/* Read-only fields */
input:read-only,
textarea:read-only {
  border-color: rgba(0, 128, 0, 0.2);
  background: rgba(0, 128, 0, 0.1);
  color: rgba(0, 128, 0, 1.0);
  cursor: not-allowed;
  pointer-events: none;
}

/* Disabled fields */
input:disabled,
textarea:disabled,
.custom-select-wrapper.disabled {
  border-color: #aaa;
  background: transparent;
  color: gray;
  cursor: not-allowed;
}

::placeholder{
  color: #777;
  font-size: 90%;
}

.custom-select-wrapper {
  position: relative;
  width: 100%;
  user-select: none;
  margin: 10px auto;
  padding: 8px 12px;
  border: 1px solid #999;
  border-radius: var(--border-radius);
  background: var(--white-color);
  cursor: pointer;
  font-size: 95%;
  color: var(--black-color);
  display: flex;
  flex-direction: column;
}

.custom-select-trigger::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 70%;
  pointer-events: none;
  color: var(--blue-color);
}

.custom-options {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  height: auto;
  max-height: 50dvh;
  font-size: 97%;
  background: var(--white-color);
  border: 1px solid #aaa;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  overflow-y: auto;
  z-index: 1000;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #264779 rgba(0,0,0,0.1);
}

.custom-options::-webkit-scrollbar {
  width: 10px;
}

.custom-options::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
  border-radius: 10px;
}

.custom-options::-webkit-scrollbar-thumb {
  background: #264779;
  border-radius: 10px;
}

.custom-options::-webkit-scrollbar-thumb:hover {
  background: #007bff;
}

.custom-option {
  padding: 12px 16px;
  cursor: pointer;
  color: var(--black-color);
  user-select: none;
}

.custom-option:hover,
.custom-option.selected {
  background: rgba(38, 71, 121, 0.22);
}

button,
a.sec-btn {
  display: inline-block;    
  width: 100%;
  padding: 12px;
  font-size: 100%;
  line-height: 1.4;
  border-radius: 4px;
  border: none;
  background: var(--main-color);
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s;
}

button:hover,
a.sec-btn:hover {
  background: #8f000a;
}

button:disabled,
a.sec-btn.disabled,
button:disabled:hover,
a.sec-btn.disabled:hover {
  background: rgba(0, 0, 0, 1.0);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transition: none;
}

button .fa-spinner,
a.sec-btn .fa-spinner {
  font-size: 120%;
  margin-left: 5px;
  color: white;
  transition: color 0.4s ease-in-out;
}

button .sec-arrow,
a.sec-btn .sec-arrow {
  font-size: 100%;
  margin-left: 20px;
  opacity: 0.7;
  transform: translateX(0);
  visibility: visible;
  width: 1em; 
  display: inline-block;
  transition: 
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease;
}

button:hover .sec-arrow,
a.sec-btn:hover .sec-arrow {
  transform: translateX(6px);
  opacity: 1;
}



/* Button spining animation */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

p a {
  font-size: inherit;
  text-decoration: underline;
  color: blue;
  word-spacing: 1px;
  cursor: pointer;
}

p a:hover {
  text-decoration: none;
}

span, a {
  font-size: inherit;
  font-weight: inherit;
}

#body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  scroll-behavior: smooth;
}

.body {
  max-width: 1310px;
  margin: 0px auto;
  overflow: hidden;
}

/*START OF HEADER*/

#header {
  position: sticky;
  width: 100%;
  height: auto;
  top: 0;
  margin: 0;
  padding: 0;
  background: #f0f4fa;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* For Safari */
  z-index: 2147483595;
}

header {
  width: 100%;
  display: block;
  border: none;
  transition: box-shadow 0.3s ease-in-out;
}

#header-ad {
  width: 100%;
  background-color: #fffaf4;
  text-align: center;
  justify-content: center;
  padding: 0;
  display: flex;
}

#header-ad marquee {
  font-size: 75%;
  line-height: 2.4;
  font-weight: 500;
  font-style: normal;
  color: var(--blue-color);
  word-spacing: 1px;
}

#header-main {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 5px 10%;
}

#header-main #logo {
  text-decoration: none;
  height: 65px;
  margin: auto 0px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

#header-main #logo img {
  display: block;
  height: 100%;
}

#header-main #logo:hover {
  transform: scale(0.95);
}

#header-main #desktop-nav {
  display: flex;
  margin-left: auto;
}

#header-main #desktop-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
  list-style: none;
  padding: 0 20px;
  margin: 0;
  overflow: hidden;
  gap: 30px;
  border: none;
}

#header-main #desktop-nav ul li {
  display: flex;
  align-items: center;
  height: 100%;
}

#header-main #desktop-nav ul li a {
  text-decoration: none;
  cursor: pointer;
}

#desktop-nav ul li button {
  padding: 10px 25px;
} 

#desktop-nav ul li:first-child button {
  font-weight: 400;
  background: transparent;
  color: var(--blue-color);
  border: 1px solid var(--blue-color);
}

#desktop-nav ul li:first-child button:hover {
  background: var(--blue-color);
  color: var(--white-color);
}

#header-main #hambuger-icon {
  display: none;
  width: auto;
  height: 25px;
  margin: 0;
  padding: 0;
}

#header-main #mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: flex-end;
  transition: background 0.4s ease-in-out;
}

#header-main #mobile-nav .the-mobile-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: white;
  overflow: hidden;
}

/* Slide-in Animation */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Slide-out Animation */
@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

#header-main #mobile-nav.active .the-mobile-nav {
  animation: slideInRight 0.4s ease-out forwards;
}

#header-main #mobile-nav.closing .the-mobile-nav {
  animation: slideOutRight 0.4s ease-out forwards;
}

.the-mobile-nav .menu-top {
  position: sticky;
  width: 100%;
  top: 0;
  background: var(--white-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* For Safari */
  z-index: 999;
  margin: 0;
  padding: 0px 20px;
  padding-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  border-bottom: 1px solid antiquewhite;
}

.the-mobile-nav .menu-center {
  flex: 1;
  overflow-y: scroll;
  padding: 10px 4%;
  padding-left: 4%;
  background: transparent;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}
.menu-center::-webkit-scrollbar { width: 3px; height: 3px; background: transparent; }
.menu-center::-webkit-scrollbar-track { background-color: transparent; border-radius: 25px; }
.menu-center::-webkit-scrollbar-thumb { background-color: var(--blue-color); border-radius: 25px; border: none; }

.the-mobile-nav .menu-bottom {
  width: 100%;
  background: var(--gray-light-color);
  z-index: 999;
  margin: 0;
  padding: 5px 10px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 1px 3px 0px, rgba(0, 0, 0, 0.3) 0px 1px 2px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.the-mobile-nav .menu-top a {
  text-decoration: none;
  height: 42px;
  margin: auto 0px;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.3s;
}

.the-mobile-nav .menu-top a img  {
  display: block;
  height: 100%;
}

.the-mobile-nav .menu-top span {
  font-size: 160%;
  color: #bbb;
  cursor: pointer;
}

.menu-center div {
  display: flex;
  margin: 18px 0px;
  align-items: center;
  gap: 2%;
}

.menu-center div .icon {
  flex: 0 0 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 105%;
  color: var(--blue-color);
}

.menu-center div a {
  text-decoration: none;
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px;
  transition: all 0.2s ease-in-out;
  border-bottom: 1px solid #e9e9e9;
}

.menu-center div a small {
  font-size: 90%;
  font-weight: 500;
  text-transform: capitalize;
  color: #333;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-center div a i {
  font-size: 95%;
  color: #ccc;
  opacity: 0.85;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.menu-bottom legend {
  display: block;
  font-size: 80%;
  color: #444;
  text-align: center;
}

.menu-bottom div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  margin: 1px auto;
}

.menu-bottom div a {
  flex: 1 1 0;
  text-align: center;
  padding: 5px 0;
  background: var(--gray-color);
  color: var(--white-color);
  text-decoration: none;
  font-size: 75%;
  border-radius: var(--border-radius);
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

.menu-bottom div a:first-child {
  background: transparent;
  color: var(--black-color);
  border: 1px solid var(--gray-color);
}

.menu-bottom small {
  display: block;
  margin-top: 10px;
  font-size: 70%;
  text-align: center;
  color: #666;
}

@media only screen and (max-width: 1310px) {
  #header-main{
    padding: 0 20px;
  }
}

@media (min-width: 900px) {
  #header-main #mobile-nav {
    display: none !important;
  }
}

@media (max-width: 700px) {
  #header-main{
    padding: 0 5px;
  }
  #header-main #logo {
    height: 50px;
  }
  #desktop-nav ul li button {
    font-size: 85%;
  } 
}

@media only screen and (max-width: 576px) {
  #header {
    background: var(--white-color);
  }
  #header-main{
    padding: 3px 10px;
  }
  #header-main #desktop-nav {
    display: none;
  }
  #header-main #hambuger-icon {
    display: block;
  }
}

@media only screen and (max-width: 480px) {
  #header-main{
    padding: 5px 10px;
  }
}



/*END OF HEADER*/

/*START OF TOP BUTTON*/

#gotoTop {
  position: fixed;
  display: none;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  color: var(--blue-color);
  background-color: rgba(250, 235, 215, 0.33);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* For Safari */
  border-radius: var(--border-radius);
  font-size: 150%;
  cursor: pointer;
  z-index: 9999998;
  transition: all 0.3s ease-in-out;
  justify-content: center;
  align-items: center;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.1);
}

#gotoTop:hover {
  color: var(--white-color);
  background-color: var(--gray-color);
}

#gotoTop i {
  pointer-events: none;
}


@media only screen and (max-width: 1310px) {
  #gotoTop {
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 10px;
    border-radius: 0;
  }
}

@media only screen and (max-width: 700px) {
  #gotoTop {
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 10px;
    border-radius: var(--border-radius);
  }
}

@media only screen and (max-width: 576px) {
  #gotoTop {
    width: 48px;
    height: 48px;
    bottom: 15px;
    right: 10px;
    border-radius: 50%;
  }
}

/*END OF TOP BUTTON*/

/* START OF CONTACT FLOAT BUTTON */
#contact-float {
  position: fixed;
  display: flex;
  width: 60px;
  height: 60px;
  font-size: 55px;
  bottom: 40px;
  left: 40px;
  background-color: white;
  color: #279eda;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid #279eda;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9999999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

#contact-float i {
  pointer-events: none;
}

#contact-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

@media only screen and (max-width: 1310px) {
  #contact-float {
    width: 55px;
    height: 55px;
    bottom: 35px;
    left: 10px;
  }
}

@media only screen and (max-width: 576px) {
  #contact-float {
    width: 48px;
    height: 48px;
    bottom: 30px;
    left: 10px;
  }
}

/* END OF CONTACT FLOAT BUTTON */


/*START OF FOOTER*/
footer {
  position: relative;
  z-index: 999;
  bottom: 0;
  width: 100%;
  padding-top: 50px;
  background: var(--gray-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari */
  border-top: 1px solid #ddd;
}

.footer {
  max-width: 1310px;
  margin: 0 auto;
  overflow: hidden;
}

.footer .footer-hr {
  max-width: 100%;
  margin: 0px auto;
  border: 0;
  border-top: 1px solid #666;
}

.footer-copyright {
  font-size: 80%;
  padding: 10px;
  text-align: center;
  color: #ccc;
}

.footer-top {
  max-width: 100%;
  margin: 0 auto;
  font-size: 80%;
  color: #ccc;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 50px;
}
.footer-top b {
  text-decoration: underline;
  text-transform: capitalize;
}

.footer-bottom {
  width: 100%;
  margin: 0 auto;
  margin-top: 20px;
  padding: 20px 0px;
  font-size: 90%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  box-sizing: border-box;
  border-top: 1px solid #666;
}

.footer-bottom .left,
.footer-bottom .right {
  flex: 0 0 50%;
  max-width: 50%;
  margin: auto;
  box-sizing: border-box;
  padding: 20px;
}

.footer-bottom .left {
  background: transparent;
}

.footer-bottom .left h3 {
  font-size: 100%;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white-color);
}

.footer-bottom .left h3 i {
  margin-right: 3px;
}

.footer-bottom .left ul {
  list-style-type: square;
  padding-left: 20px;
  margin: 0;
  color: var(--gray-light-color);
}

.footer-bottom .left ul li {
  margin-bottom: 6px;
}

.footer-bottom .left ul li a {
  text-transform: capitalize;
  color: var(--gray-light-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom .left ul li a:hover {
  text-decoration: underline;
  color: var(--white-color);
}

.footer-bottom .right {
  text-align: center;
}

.footer-bottom .right .footer-logo {
  display: inline-block;
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

.footer-bottom .right .footer-logo:hover {
  transform: scale(0.9);
}

.footer-bottom .right .footer-logo img {
  height: 100%;
  width: auto;
  display: block;
}

.footer-bottom .right p {
  margin: 2px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 90%;
  color: var(--gray-light-color);
  text-align: center;
}

.footer-bottom .right p i {
  font-size: 105%;
  color: inherit;
}

.footer-bottom .right p a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.footer-bottom .right p a:hover {
  text-decoration: underline;
}


.footer-bottom .right ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom .right ul li a {
  font-size: 200%;
  color: var(--gray-light-color);
  transition: color 0.3s, transform 0.6s;
  display: inline-block;
  transform-style: preserve-3d;
}

.footer-bottom .right ul li a:hover {
  color: var(--white-color);
  transform: rotateY(180deg);
}



@media only screen and (max-width: 1310px){
  footer {
    padding: 15px;
    padding-top: 20px;
  }
}

@media only screen and (max-width: 820px){
  
}

@media only screen and (max-width: 576px) {
  footer {
    padding: 10px;
    padding-top: 20px;
  }
}

@media only screen and (max-width: 500px) {
  .footer-bottom {
    display: block;
  }
  .footer-bottom .left,
  .footer-bottom .right {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0px;
  }
  .footer-bottom .left ul {
    list-style-type: square;
    padding-left: 20px;
    margin: 0;
    color: var(--gray-light-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
  }
}

@media only screen and (max-width: 420px){
  .footer-hr {
    margin: 0px 7px;
  }
}

/*END OF FOOTER*/

/*START OF PRELOADER AND UNIVERSAL POPUP*/
#main-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  opacity: 1;
  visibility: visible;
  z-index: 2147483599;
}

#main-preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader { 
  width: 70px; 
  height: 70px; 
  border: 2px solid transparent; 
  border-top: 4px solid var(--blue-color); 
  border-radius: 50%; 
  animation: spin 0.7s linear infinite; 
} 

@keyframes spin { 
  0% { 
    transform: rotate(0deg); 
  } 
  100% {
   transform: rotate(360deg); 
 } 
}

#universal-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
  background: rgba(0, 0, 0, 0.80);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: none;
  transform: scale(0.8);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Default Animation (Desktop & Tablets) */
#universal-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  animation: fadeInUniversalpopup 0.5s ease forwards;
  overflow: hidden;
  overflow-y: auto;
}

#universal-popup:not(.active) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Desktop Fade + Scale Animation */
@keyframes fadeInUniversalpopup {
  0% {
    opacity: 0;
    transform: translateY(-80px) scale(0.95);
    filter: blur(8px);
  }
  70% {
    opacity: 1;
    transform: translateY(10px) scale(1.02);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ===== MOBILE ANIMATION ===== */
@media screen and (max-width: 576px) {
  #universal-popup {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
  }

  /* OPENING ANIMATION */
  #universal-popup.active {
    animation: slideUpUniversalpopup 0.5s ease forwards;
    pointer-events: all;
  }

  @keyframes slideUpUniversalpopup {
    0% {
      transform: translateY(100%);
      opacity: 0;
      visibility: visible;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
  }

  /* CLOSING ANIMATION */
  #universal-popup:not(.active) {
    animation: slideDownUniversalpopup 0.5s ease forwards;
  }

  @keyframes slideDownUniversalpopup {
    0% {
      transform: translateY(0);
      opacity: 1;
      visibility: visible;
    }
    100% {
      transform: translateY(100%);
      opacity: 0;
      visibility: hidden;
    }
  }
}

#uni-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  min-height: 50dvh;
  max-height: 85dvh;
  background: var(--white-color);
  padding: 0;
  border: none;
  border-radius: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  transition: transform 0.3s, max-width 0.3s ease;
  box-shadow: rgba(0, 0, 0, 0.28) 6px 2px 16px 0px, rgba(0, 0, 0, 0.28) -6px -2px 16px 0px;
  scrollbar-width: none;
}

#uni-popup::-webkit-scrollbar {
  display: none;
}

#uni-popup .topper {
  position: sticky;
  width: 100%;
  top: 0;
  padding: 5px 4%;
  padding-right: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--blue-color);
  border: none;
  box-shadow: rgba(255, 255, 255, 0.45) 0px 25px 30px -20px;
  z-index: 10000;
}

#uni-popup .topper h6 {
  font-size: 100%;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  color: var(--white-color);
  margin: auto 0px;
}

#uni-popup .topper span {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}

#uni-popup .topper span:hover {
  background: var(--gray-light-color);
}

#uni-popup .topper span:hover i {
  color: orangered;
} 

#uni-popup .topper span i {
  font-size: 130%;
  color: #ccc;
  line-height: 1;
}

#the-contents {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0px;
  padding-bottom: 50px;
  background: var(--white-color);
  color: #222;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#the-contents .loading-text {
  text-align: center;
  padding: 20px;
  font-size: 80%;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 100px;
}

#the-contents .loading-text i {
  font-size: 150%;
}

#the-contents .resource-error {
  text-align: center;
  padding: 20px;
  font-size: 80%;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 100px;
}

#the-contents .resource-error i {
  font-size: 250%;
  color: #e74c3c;
}

#the-contents::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 600px) {
  #uni-popup {
    width: 98%;
    min-width: 90%;
  }
}

@media screen and (max-width: 480px) {
  #universal-popup {
    position: fixed;
    top: env(safe-area-inset-top, 0);
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 2147483647;
    box-sizing: border-box;
  }
  #uni-popup {
    position: fixed;
    max-height: 100dvh;
    left: 50%;
    bottom: 0;
    top: 2.6dvh;
    transform: translateX(-50%);
    width: 100%;
    max-width: 100%;
    background: var(--white-color);
    padding: 0;
    box-shadow: 
      0px -2px 16px rgba(0, 0, 0, 0.08),
      0px -4px 32px rgba(0, 0, 0, 0.12),
      0px -8px 64px rgba(0, 0, 0, 0.15);
    border: none;
    border-top: 1px solid #ddd;
    border-radius: 22px 22px 0 0;
    overflow: auto;
  }
  #uni-popup .topper {
    padding: 10px 5%;
    padding-right: 8px;
    background-color: var(--white-color);
    border: none;
    box-shadow: rgba(34, 64, 196, 0.11) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
  }
  #uni-popup .topper h6 {
    font-size: 115%;
    font-weight: 600;
    color: var(--blue-color);
  }
  #uni-popup .topper span {
    background: transparent;
  }
  #uni-popup .topper span i {
    color: #aaa;
  }
  #the-contents {
    padding: 0;
    padding-bottom: 80px;
  }
}
/*END OF PRELOADER AND UNIVERSAL POPUP*/

/* START OF TOOLTIP STYLES */
[tooltip] { position: relative; cursor: pointer; }
[tooltip]::before, [tooltip]::after { position: absolute; display: none; opacity: 0; pointer-events: none; user-select: none; font-size: 0.88rem; line-height: 2.0; text-transform: none; z-index: 1000; }
[tooltip]::before { content: ''; border: 4px solid transparent; z-index: 1001; }
[tooltip]::after { content: attr(tooltip); min-width: 50px; max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 5px 10px; border-radius: 2px; background: #333 !important; color: #fff; text-align: center; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35); }
[tooltip]:hover::before, [tooltip]:hover::after { display: block; }
[tooltip='']::before, [tooltip='']::after { display: none !important; }
[tooltip]:not([flow])::before, [tooltip][flow^="up"]::before { bottom: calc(100% + 0px); border-bottom: 0; border-top-color: #333; left: 50%; transform: translateX(-50%); }
[tooltip]:not([flow])::after, [tooltip][flow^="up"]::after { bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); }
[tooltip][flow^="down"]::before { top: calc(100% + 0px); border-top: 0; border-bottom-color: #333; left: 50%; transform: translateX(-50%); }
[tooltip][flow^="down"]::after { top: calc(100% + 4px); left: 50%; transform: translateX(-50%); }
[tooltip][flow^="left"]::before { top: 50%; left: -5px; border-right: 0; border-left-color: #333; transform: translateY(-50%); }
[tooltip][flow^="left"]::after { top: 50%; right: calc(100% + 5px); transform: translateY(-50%); }
[tooltip][flow^="right"]::before { top: 50%; right: -5px; border-left: 0; border-right-color: #333; transform: translateY(-50%); }
[tooltip][flow^="right"]::after { top: 50%; left: calc(100% + 5px); transform: translateY(-50%); }
@keyframes tooltip-fade-vert { 0% { opacity: 0; transform: translateX(-50%) translateY(-5px); } 100% { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes tooltip-fade-horz { 0% { opacity: 0; transform: translateY(-50%) translateX(-5px); } 100% { opacity: 1; transform: translateY(-50%) translateX(0); } }
[tooltip]:not([flow]):hover::before, [tooltip]:not([flow]):hover::after, [tooltip][flow^="up"]:hover::before, [tooltip][flow^="up"]:hover::after, [tooltip][flow^="down"]:hover::before, [tooltip][flow^="down"]:hover::after { animation: tooltip-fade-vert 300ms ease-out forwards; }
[tooltip][flow^="left"]:hover::before, [tooltip][flow^="left"]:hover::after, [tooltip][flow^="right"]:hover::before, [tooltip][flow^="right"]:hover::after { animation: tooltip-fade-horz 300ms ease-out forwards; }
/* END OF TOOLTIP STYLES */

@keyframes revealFromRight {
  from {
    opacity: 0;
    transform: translateX(50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.animate-me {
  opacity: 0;
}

.animate-me.show {
  animation: revealFromRight 0.8s ease-out forwards;
}


/*START OF TOGGLE CHECKBOX*/
.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 80%;
}

.remember-row .remember-label {
  color: #222;
}

.toggle-container {
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 20px;
}

.toggle-container input {
  display: none;
}

.toggle-slider {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #aaa;
  border-radius: 30px;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 2px;
  left: 2px;
  background-color: var(--white-color);
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-container input:checked + .toggle-slider {
  background-color: royalblue;
}

.toggle-container input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

/*END OF TOGGLE CHECKBOX*/

.review-carousel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
  background: transparent;
}

.review-carousel h6 {
  grid-row: 1;
  justify-self: center;
  width: auto;
  font-size: 100%;
  text-transform: capitalize;
  letter-spacing: 1px;
  padding: 8px 30px;
  margin: 5px auto 15px auto;
  color: var(--white-color);
  background: rgba(38, 71, 121, 0.88);
}

.review-carousel-inner {
  grid-row: 2;
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-carousel-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  padding: 16px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
}

.review-carousel-track::-webkit-scrollbar {
  display: none;
}

.each-review {
  flex: 0 0 300px;
  width: 300px;
  max-width: 25vw;
  box-sizing: border-box;
  background: #f8f8f8;
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.each-review figure {
  font-size: 83%;
  line-height: 1.6;
  color: var(--gray-color);
  margin: 0 0 10px;
  word-break: break-word;
}

.each-review legend {
  font-size: 80%;
  font-weight: 500;
  font-style: italic;
  color: var(--blue-color);
}

.each-review legend span {
  color: #999;
  font-style: normal;
}

/* ARROWS */
.review-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 3px;
  z-index: 12;
}

.review-arrows span {
  pointer-events: auto;
  cursor: pointer;
  height: 48px;
  width: 48px;
  background: #b3bdce;
  color: var(--white-color);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 100%;
  transition: background 0.22s ease, transform 0.12s ease, opacity 0.22s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.review-arrows span:hover {
  background: #264779;
  transform: translateY(-2px);
}

.review-arrows span.disabled {
  opacity: 0;
  pointer-events: none;
}

.review-img-p {
  grid-row: 3;
  text-align: center;
  margin-top: 12px;
}

.review-img-p p {
  font-size: 80%;
  color: #777;
  margin: 6px 0;
}

.review-img-p img {
  height: 40px;
  display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .each-review {
    flex: 0 0 240px;
    width: 240px;
    min-width: 200px;
  }

  .review-arrows span {
    height: 44px;
    width: 44px;
  }
}

@media (max-width: 520px) {
  .review-carousel {
    padding: 12px 0;
  }

  .each-review {
    flex: 0 0 200px;
    width: 200px;
    min-width: 180px;
  }

  .review-arrows span {
    height: 40px;
    width: 40px;
    font-size: 100%;
  }
}




.feedback-message {
  display: block;
  margin: 0px;
  margin-bottom: 10px;
  line-height: 2.2;
  padding: 2px 5px;
  padding-left: 8px;
  font-size: 98%;
  text-align: left;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.feedback-message .fa-spinner {
  font-size: 110%;
  color: #222;
  margin-left: 3px;
}

.password-div {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-div input {
  flex: 1;
  padding: 12px;
  padding-right: 58px;
}

.password-div span#showhide {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 85%;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
}

.password-div span#showhide:hover {
  opacity: 0.7;
}

.password-instruction {
  display: block;
  width: 98%;
  margin: 0px auto;
  margin-top: 4px;
  font-size: 78%;
  color: #222;
}

#auth-div {
  text-align: center;
  max-width: 400px;
  height: auto;
  min-height: 200px;
  margin: 0 auto;
  margin-bottom: 8%;
  padding: 0;
}

#auth-div #toggleAuthDivs {
  font-size: 95%;
  margin: 0;
  padding: 8px 25px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white-color);
  cursor: pointer;
}

#auth-div #toggleAuthDivs:hover {
  color: var(--white-color);
  background: var(--black-color);
  text-decoration: underline;
}

.dual-aas {
  width: 99%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px auto;
  padding: 8px;
  font-size: 90%;
}

#authDivBack {
  color: var(--white-color);
  text-decoration: underline;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 4px;
  border-radius: var(--border-radius);
}

.resend-code-link {
  user-select: none;
  text-decoration: underline;
  padding: 2px 4px;
  border-radius: var(--border-radius);
}

.resend-code-link i {
  font-size: 120%;
  margin-left: 2px;
  color: blue;
}

.resend-code-link[data-disabled="true"] {
  color: #999999;
  cursor: not-allowed;
  text-decoration: none;
}

.resend-code-link[data-disabled="false"] {
  color: var(--white-color);
  cursor: pointer;
}

#authDivBack:hover, .resend-code-link[data-disabled="false"]:hover {
  background: rgba(9, 105, 218, 0.50);
  color: #FFFFFF;
  text-decoration: none;
}

.auth-preloader {
  display: block;
  margin: 80px auto;
  margin-top: 100px;
  width: 40px;
}

.inside-auth-div {
  width: 100%;
  text-align: left;
  margin: 10px auto;
  margin-top: 25%;
  padding: 25px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(120%);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease-in-out;
}

.inside-auth-div img {
  display: block;
  width: 50px;
  margin: 0px auto;
}

.inside-auth-div .auth-logo {
  text-decoration: none;
  display: block;
  width: 85px;
  margin: 0 auto;
  text-align: center;
}

.inside-auth-div .auth-logo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.inside-auth-div h3 {
  font-size: 130%;
  font-weight: normal;
  color: #333;
  text-align: center;
}

.inside-auth-div h6 {
  margin: 5px auto;
  color: #000;
  text-align: center;
}

.inside-auth-div input {
  font-size: 100%;
  width: 100%;
  max-height: 170px;
  resize: vertical;
  margin: 10px 0px;
  padding: 12px;
  background: transparent;
  color: var(--black-color);
  border: 1px solid #999;
  border-radius: var(--border-radius);
  -webkit-transition: 0.1s;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 3px 0px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.inside-auth-div input:focus {
  border-color: var(--main-color);
}

.inside-auth-div input:disabled {
  background: rgba(0, 0, 0, 0.03);
  color: #999;
  cursor: not-allowed;
}

.inside-auth-div input::placeholder,
.inside-auth-div textarea::placeholder {
  color: #666;
  font-size: 90%;
}

.inside-auth-div .countdown-message {
  text-align: center;
  margin-top: 10px;
  font-size: 75%;
  color: #222;
}

.inside-auth-div .countdown-message span {
  color: royalblue;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 105%;
}

.inside-auth-div .fp-rp {
  margin-left: 2px;
  font-size: 85%;
  color: #222;
  cursor: pointer;
  text-decoration: underline;
}

.inside-auth-div .fp-rp:hover {
  color: blue;
  text-decoration: none;
}

.inside-auth-div button {
  width: 100%;
  margin: 0px auto;
  margin-top: 25px;
}

.legend-icon {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto;
  padding: 8px 12px;
  font-size: 105%;
  color: #222;
  background-color: #f0f0f0;
  border-radius: 5px;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.legend-icon i {
  color: inherit;
}

.legend-icon:hover {
  background-color: red;
  color: #fff;
}

.home-intro {
  width: 100%;
  height: 100dvh;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  padding: 20px;
}

.home-intro h3 i {
  font-size: 110%;
  color: green;
} 

.inside-home-intro {
  display: block;
  max-width: 1310px;
  height: auto;
  margin: 0px auto;
  margin-top: 5vh;
  padding: 0;
  background: transparent;
}

.intro-calc {
  max-width: 600px;
}

.intro-calc h1 {
  font-weight: 600;
}

.intro-calc h3 {
  text-transform: capitalize;
  font-style: italic;
}

.intro-calc-box {
  max-width: 480px;
  height: auto;
  min-height: 200px;
  margin: 20px 0px;
  padding: 15px;
  background: var(--white-color);
  border-radius: 12px;
}

.intro-calc-box h6 {
  font-size: 110%;
  text-align: center;
  color: var(--black-color);
}

.intro-calc-box a {
  display: block;
  width: 90%;
  margin: 30px auto;
}

.intro-calc-box p {
  font-size: 110%;
  word-spacing: 2px;
  text-align: center;
  color: var(--black-color);
}

.intro-calc-box p span {
  font-weight: 800;
  font-style: italic;
  text-decoration: underline;
  color: var(--blue-color);
  cursor: pointer;
}

@media (max-width: 1143px) {
  .home-intro {
    background-image: url("images/background-tablet.jpg");
  }
}

@media (max-width: 576px) {
  .home-intro {
    height: auto;
    background-image: url("images/background-mobile.jpg");
    padding: 8px;
    padding-bottom: 80px;
  }
  .inside-home-intro {
    display: block;
    height: auto;
    margin: 0px auto;
    margin-top: 10px;
  }
  .intro-calc-box {
    max-width: 100%;
    border-radius: 4px;
  }
  .home-intro h1 {
    font-size: 130%;
    padding: 5px;
    background: rgba(0, 0, 0, 0.33);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* For Safari */
    border-radius: 2px;
  }
  .home-intro h3 {
    font-size: 90%;
    line-height: 1.8;
    background: var(--white-color);
    color: var(--blue-color);
    padding: 5px 10px;
    border-left: 5px solid green;
  }
}

.under-home-intro {
  width: 100%;
  height: auto;
  min-height: 200px;
  background: transparent;
}

.into-intro-box {
  max-width: 1310px;
  height: auto;
  margin: 0px auto;
  margin-top: -100px;
  padding: 20px;
  background: var(--blue-color);
  border-radius: 12px;
}

.into-intro-box h1 {
  max-width: 85%;
  margin: 0px auto;
  text-align: center;
}

.since-trio {
  display: flex;
  margin-top: 50px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.since-trio > div {
  flex: 1;
  border-right: 1px solid var(--gray-light-color);
  padding: 10px;
}

.since-trio > div:last-child {
  border-right: none;
}

.since-trio h6 {
  font-size: 150%;
  margin: 0;
  color: var(--white-color);
}

.since-trio p {
  margin: 5px 0 0;
  color: var(--gray-light-color);
  font-size: 90%;
}

.pointing-desktop {
  display: flex;
  max-width: 1310px;
  height: auto;
  overflow: hidden;
  margin: 0px auto;
  padding: 0;
  background: transparent;
  border-bottom: 2px solid #c2bfce;
}

.pointing-mobile {
  display: none;
  width: 100%;
  margin: 20px 0px;
}

.pointing-mobile img {
  display: block;
  max-width: 100%;
  margin: 0px auto;
  align-items: center;
}

.pointing-mobile p {
  max-width: 100%;
  text-align: left;
  margin: 0px 12px;
  font-size: 100%;
  font-style: italic;
  line-height: 1.2;
  color: #333;
}

.pointing-mobile p a {
  font-weight: 600;
  text-decoration: underline;
  color: var(--main-color);
}

.point-h3p {
  width: 95%;
  height: auto;
  margin: 0px auto;
  padding: 10px;
  padding-top: 9vh;
  margin-top: -11vh;
  background: var(--white-color);
  border: 2px solid var(--blue-color);
  border-radius: 8px;
}

.point-h3p h3 {
  font-size: 130%;
  font-weight: 600;
  text-transform: capitalize;
  text-align: center;
  color: var(--blue-color);
}

.justimg {
  width: 40%;
}

.justimg img {
  width: 100%;
  display: block;
  margin: auto;
}

.imgicontalk {
  width: 60%;
  display: block;
  margin: auto;
  margin-left: 20px;
}

.imgicontalk img {
  width: 60px;
}

.imgicontalk h1 {
  margin: 10px 0px;
  color: var(--blue-color);
}

.imgicontalk p {
  font-size: 100%;
  color: #555;
}

.imgicontalk p a {
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
  color: var(--main-color);
  cursor: pointer;
}

.imgicontalk p a:hover {
  text-decoration: underline;
  font-style: normal;
}

#contact-form,
#apply-form,
#status-form {
  width: 90%;
  height: auto;
  min-height: 300px;
  margin: 0px auto;
  padding: 20px 0px;
  text-align: left;
  background: transparent;
}

.form-article {
  font-size: 85%;
  color: #555;
  margin: 20px auto;
  padding: 2px 5px;
  border-top: 1px dashed #999;
}

.form-talk-box li a,
.form-article a,
.form-talk-box p a {
  text-decoration: underline;
  cursor: pointer;
  color: blue;
}

.form-talk-box li a:hover,
.form-article a:hover,
.form-talk-box p a:hover {
  text-decoration: none;
}

.contact-alternative {
  margin-top: 24px;
}

.contact-alternative legend {
  font-weight: 500;
  font-size: 90%;
  color: #333;
  margin-bottom: 15px;
  display: block;
}

.social-alt {
  display: flex;
  justify-content: center;
  gap: 35px;
}

.social-alt a {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  color: white;
  font-size: 150%;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  flex-grow: 0;
  flex-shrink: 0;
}

.social-alt a:hover::after {
  opacity: 1;
}

.social-alt a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

#apply-form button,
#status-form button,
#application-form button {
  margin-top: 10px;
}

.form-talk-box {
  width: 100%;
  background-color: rgba(34, 64, 196, 0.1);
  border: 1px solid var(--blue-color);
  border-radius: 10px;
  padding: 15px;
  margin: 20px auto;
}

.form-talk-box legend {
  font-weight: bold;
  font-size: 90%;
  margin-bottom: 10px;
}

.form-talk-box p {
  font-size: 90%;
  padding: 10px 0px;
}

.form-talk-box ul {
  list-style-type: square;
  padding-left: 20px;
  margin: 0;
}

.form-talk-box li {
  margin-bottom: 12px;
  font-size: 85%;
  line-height: 1.6;
}


#aboutus_content {
  width: 100%;
  max-width: 1310px;
  margin: 0px auto;
  padding: 7px 20px;
  background: transparent;
  color: var(--black-color);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); /* For Safari */
}

.aboutus_content_links{
  width: 100%;
  background: transparent;
  margin: 10px auto;
  margin-left: 0px;
  margin-bottom: 20px;
}

.aboutus_content_links ul{
  list-style: none;
  margin-left: 20px;
}

.aboutus_content_links ul p{
  font-size: 90%;
  font-weight: bold;
  text-transform: capitalize;
}

.aboutus_content_links ul li{
  margin: 5px auto;
  font-size: 80%;
}

.aboutus_content_links ul li a{
  text-decoration: underline;
  padding: 5px;
  font-style: italic;
  color: var(--black-color);
  transition: all 0.1s ease;
  cursor: pointer;
}

.aboutus_content_links ul li a:hover{
  text-decoration: none;
  font-style: normal;
  background: var(--blue-color);
  color: var(--white-color);
  border-radius: var(--border-radius);
}

.about_section{
  scroll-margin-top: 100px;
  width: 100%;
  height: auto;
  margin: 20px auto;
  background: #e4e8ed;
}

.about_section h2{
  font-size: 100%;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue-color);
  margin-bottom: 20px;
  border: none;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--blue-color) 0%, var(--main-color) 100%);
  border-image-slice: 1;
  padding-bottom: 3px;
}

.about_section p{
  font-size: 90%;
  padding: 5px;
}

.about_section p a {
  color: blue;
  text-decoration: underline;
}

.about_section p a:hover {
  text-decoration: none;
}

#faq-parent {
  width: 100%;
  margin-top: 20px;
}

.faq-parent {
  max-width: 900px;
  margin: 0px auto;
  padding: 10px 0px;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  border: none;
}

.faq-parent:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.15); 
}

.faq-parent:hover {
  background: #f0f4fa;
}

.faq-parent legend {
  width: 100%;
  padding: 5px;
  margin: 0;
  font-size: 100%;
  font-weight: 600;
  color: var(--blue-color);
  cursor: pointer;
  position: relative;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0;
}

.faq-parent legend i {
  font-size: 100%;
  transition: transform 0.4s ease, color 0.4s ease;
  opacity: 0.5;
}

.faq-parent legend.open i {
  transform: rotate(180deg);
  opacity: 1;
}

.faq-parent p {
  width: 100%;
  max-height: 0;
  opacity: 0;
  padding: 0;
  margin: 0;
  color: var(--gray-color);
  font-size: 95%;
  line-height: 1.8;
  overflow: hidden;
  transform: scaleY(0.95);
  transform-origin: top;
  transition:
    max-height 0.5s ease,
    opacity 0.4s ease 0.1s,
    transform 0.4s ease 0.1s;
  will-change: max-height, opacity, transform;
}

.faq-parent p.open {
  max-height: 600px;
  opacity: 1;
  padding: 7px 10px;
  transform: scaleY(1);
}

#page404 {
  width: 100%;
  height: auto;
  font-size: 100%;
  color: #555;
  align-items: center;
  text-align: center;
}

#page404 legend {
  margin-top: 70px;
  font-size: 77%;
  color: #555;
}

.img404 {
  width: 100%;
  max-width: 150px;
  display: block;
  margin: 0px auto;
  margin-top: 10px;
}

.div404 {
  width: 95%;
  max-width: 600px;
  margin: 20px auto;
}

.div404 h3 {
  color: var(--black-color);
  font-size: 120%;
  margin-bottom: 15px;
}

.div404 h3 span {
  font-size: inherit;
  border-bottom: 4px solid red;
}

.div404 p {
  font-size: 90%;
  text-align: left;
  color: #333;
}

.div404 a {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

.div404 a:hover {
  text-decoration: none;
}

.div404 ul {
  width: 100%;
  margin: 10px auto;
  margin-bottom: 40px;
  padding: 0;
  padding-left: 6%;
  border: none;
  list-style: square;
  text-align: left;
}

.div404 ul li {
  margin-bottom: 15px;
  font-size: 85%;
  line-height: 1.6;
}


.application-body {
  position: relative;
  width: 100%;
  max-width: 1310px;
  margin: 0px auto;
  height: auto;
  padding: 0;
  background: transparent;
}

.ip-log {
  width: 100%;
  line-height: 1.8;
  font-size: 75%;
  font-family: monospace;
  padding: 6px 10px;
  color: #555;
  background: rgba(254, 185, 7, 0.1);
  border: none;
  text-align: center;
  margin-top: auto;
  align-self: center;
}


.ip-log i {
  color: green;
}

.application-body .info-div {
  width: 95%;
  margin: 20px auto;
  margin-top: 60px;
}

.info-div h3 {
  font-size: 150%;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  color: var(--blue-color);
}

.info-div p {
  margin-bottom: 14px;
  font-size: 90%;
  line-height: 1.8;
}

.telegram-instruction {
  text-align: center;
  margin: 0;
  padding: 10px 5%;
  background-color: #f1f1f1;
  border-top: 1px dashed #ccc;
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}

.telegram-instruction p {
  text-align: left;
  font-size: 90%;
  margin-bottom: 12px;
  color: var(--text-hex);
}

.telegram-instruction p a.telegram-link {
  font-size: 150%;
  text-decoration: none;
  transition: color 0.3s ease;
}

.telegram-instruction p i {
  font-size: 140%;
  margin-left: 4px;
  color: #0088cc;
  vertical-align: middle;
}

.telegram-instruction small {
  font-size: 80%;
  margin-bottom: 12px;
}

.dual-apps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dual-apps img {
  height: 40px;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.dual-apps a:hover img {
  transform: scale(1.05);
}

#application-form {
  max-width: 480px;
  height: auto;
  min-height: 480px;
  margin: 20px auto;
  padding: 0px 4%;
  background: transparent;
}

#application-form .dual-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

#application-form .dual-btns button:first-child {
  background: #ddd;
  color: var(--blue-color);
  opacity: 0.75;
}

#application-form .dual-btns button:first-child:hover {
  background: #ccc;
  color: var(--main-color);
  opacity: 1;
}

#application-form .dual-btns button:first-child i {
  margin-right: 8px;
  opacity: 0.75;
}

#application-form .confirm {
  font-size: 75%;
  font-style: italic;
  margin-top: 10px;
  padding: 5px;
  color: var(--black-color);
  background: var(--the-yellow);
}

#application-form .confirm i {
  font-size: 130%;
  margin-right: 5px;
  color: var(--main-color);
}

#application-form .p-required {
  font-size: 90%;
  padding-left: 8px;
}

#application-form .p-required span {
   font-size: 120%;
   color: red;
}

.phone-div {
  width: 100%;
  position: relative;
  display: inline-block;
}

.phone-div input.phone {
  padding-left: 40px;
}

.phone-div span {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
  transition: color 0.3s;
}

.phone-div input.phone:focus + span {
  color: var(--color-16);
}

.email-advise {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.email-advise input {
  order: 2;
}

.email-advise p {
  width: 97%;
  margin: 0px auto;
  order: 1;
  font-size: 80%;
  color: var(--color-16);
  line-height: 1.8;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: all 0.3s ease;
}

.email-advise input:focus {
  margin-top: 4px;
}

.email-advise input:focus ~ p {
  max-height: 200px;
  opacity: 1;
  transform: scaleY(1);
}


.files-div {
  width: 100%;
  height: auto;
  min-height: 100px;
  margin: 0 auto;
  padding: 1%;
  background: rgba(34, 64, 196, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px dashed rgba(100, 150, 255, 1);
  border-radius: 8px;
}

.files-div p {
  font-size: 80%;
  color: #333;
  width: 100%;
  text-align: left;
  margin-bottom: 5px;
}

.custom-file-upload {
  width: 100%;
  max-width: 280px;
  display: inline-block;
  cursor: pointer;
  margin: 10px auto;
  transition: all 0.3s ease-in-out;
}

.upload-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  font-size: 90%;
  border-radius: 6px;
  padding: 8px 12px;
  background: var(--color-1);
  transition: all 0.3s ease-in-out;
}

.custom-file-upload:hover .upload-label {
  background: #f1f1f1;
  border-color: #aaa;
}

.file-name {
  font-size: 90%;
  color: #555;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-file-upload.file-selected {
  background-color: transparent;
}

.custom-file-upload.file-selected .upload-label {
  color: var(--color-17);
  border-color: var(--color-17);
  background: rgba(100, 150, 255, 0.05);
}

.php-container {
  width: 99%;
  max-width: 600px;
  height: auto;
  margin: 20px auto;
  padding: 2.5% 4%;
}

.php-container.instruction {
  background: rgba(34, 64, 196, 0.15);
}

.php-container.error {
  background: rgba(255, 0, 0, 0.1);
}

.php-container h2 {
  color: var(--color-16);
  text-align: center;
  font-size: 150%;
}

.php-container p {
  font-size: 95%;
}

.php-container legend {
  font-size: 95%;
  margin-top: 30px;
  font-style: italic;
}

.php-container .a-btn {
  display: block;
  width: fit-content;
  margin: 15px auto 0; 
  padding: 3px 15px;
  font-size: 100%;
  text-decoration: none;
  color: var(--white-color);
  border-radius: var(--border-radius);
  background: var(--color-16);
  text-align: center; 
}

.php-container .a-btn:hover {
  background: var(--color-17);
  text-decoration: underline;
}













/*SCREEN RESOLUTIONS*/

@media screen and (max-width: 1310px) {
  .under-home-intro,
  .body {
    padding: 0px 5px;
  }
}

@media screen and (max-width: 1000px) {
  
}

@media screen and (max-width: 820px) {
  [tooltip]:hover::before, [tooltip]:hover::after { display: none !important; }

  body {
    font-size: 0.90rem;
  }

  .into-intro-box {
    margin-top: -100px;
    padding: 10px;
    border-radius: 6px;
  }

  .into-intro-box h1 {
    font-size: 120%;
    max-width: 90%;
  }

  .since-trio {
    display: flex;
    margin-top: 20px;
    gap: 5px;
  }

  .since-trio h6 {
    font-size: 120%;
    font-weight: 600;
    margin: 0;
    color: var(--white-color);
  }

  .since-trio p {
    margin: 5px 0 0;
    font-size: 80%;
  }

  .each-review {
    flex: 0 0 40vw;
    width: 40%;
    max-width: 40vw;
  }
  
  .pointing-desktop {
    display: flex;
    width: 100%;
    height: auto;
    margin: 0px auto;
    margin-top: 20px;
    padding: 0;
    background: transparent;
    border-bottom: 1px solid #c2bfce;
  }

  .justimg {
    width: 50%;
    position: relative;
  }

  .justimg img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: block;
  }


  .imgicontalk {
    width: 60%;
    display: block;
    margin: auto;
    margin-left: 20px;
    margin-bottom: 10px;
  }

  .imgicontalk img {
    width: 60px;
  }

  .imgicontalk h1 {
    font-size: 170%;
  }

  .imgicontalk p {
    font-size: 100%;
    color: #555;
  }
}

@media screen and (max-width: 576px) {
  body {
    font-size: 0.90rem;
  }
  .ip-log {
    font-size: 65%;
  }
  #aboutus_content {
    padding: 7px;
  }
  .into-intro-box {
    margin-top: -30px;
    border-radius: 4px;
  }
  .pointing-desktop {
    display: none;
  }
  .pointing-mobile {
    display: block;
  }
}

@media screen and (max-width: 480px) {
  .faq-parent legend {
    font-size: 95%;
  }
}

@media screen and (max-width: 420px) {
  
}


