/***
===================================================================
Google Fonts CDN Link 
===================================================================
 ***/
/* Nunito Sans Google Fonts  */
@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap");

/* Montserrat Google Fonts  */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap");
/*** 

====================================================================
	Reset
====================================================================

 ***/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*** 

====================================================================
	Global Settings
====================================================================

 ***/

body {
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  color: #777777;
  line-height: 1.7em;
  font-weight: 400;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-smooth: always;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: #0060ff;
}

button,
a:hover,
a:focus,
a:visited {
  text-decoration: none;
  outline: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin: 0px;
  background: none;
  line-height: 1.6rem;
  font-family: "Montserrat", sans-serif;
}

textarea {
  overflow: hidden;
}

p {
  line-height: 1.8rem;
}

/* Typography */

h1 {
  font-size: 72px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
}

.auto-container {
  max-width: 850px;
}

.medium-container {
  max-width: 850px;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  display: inline-block;
  max-width: 100%;
}

.theme-btn {
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
}

.start-btn {
  background-color: rgb(48, 94, 255);
  outline: none;
  border: none;
  padding: 12px 17px;
  color: white;
  border-radius: 5px;
  font-weight: 750;
  font-size: 16px;
  transition: 1s ease;
}

.start-btn:hover {
  background-color: rgb(3, 46, 241);
  transition: 1s ease;
}

.view-btn {
  background-color: transparent;
  border: 1px solid rgb(48, 94, 255);
  outline: none;
  padding: 12px 17px;
  color: rgb(48, 94, 255);
  border-radius: 5px;
  font-weight: 750;
  font-size: 16px;
  transition: 2s ease;
}

.view-btn:hover {
  background-color: rgb(210, 217, 219);
  transition: 2s ease;
}

.login-btn {
  background-color: transparent;
  border: 1px solid rgb(48, 94, 255);
  outline: none;
  padding: 6px 17px;
  color: rgb(48, 94, 255);
  border-radius: 5px;
  font-weight: 750;
  font-size: 16px;
  transition: 0.5s ease;
}

.login-btn:hover {
  background-color: rgb(210, 217, 219);
  transition: 0.5s ease;
}

.signup-btn {
  background-color: rgb(48, 94, 255);
  outline: none;
  border: none;
  padding: 6px 17px;
  color: white;
  border-radius: 5px;
  font-weight: 750;
  font-size: 16px;
  transition: 1s ease;
}

/***

====================================================================
	Scroll To Top style
====================================================================

***/

.scroll-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  color: #0060ff;
  font-size: 13px;
  text-transform: uppercase;
  line-height: 38px;
  text-align: center;
  z-index: 100;
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}

.scroll-to-top:hover {
  color: #ffffff;
  background-color: #0060ff;
}

/*** 

====================================================================
	Main Header style
====================================================================

***/

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: #959da533 0px 8px 24px;
  background-color: rgba(246, 251, 251, 0.95);
  z-index: 100;
  padding: 5px 0px;
  transition: background-color 0.3s ease;
}

.header-scrolled {
  background-color: rgba(246, 251, 251, 0.98);
}

/* .header {
  position: sticky;
  top: -1px;
  left: 0;
  width: 100%;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  background-color: #F6FBFB;
  z-index: 100;
  padding: 5px 0px;
} */

.header ul {
  list-style: none;
}

.nav {
  height: 3.5rem;
  display: block;
}

.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;
  transition: color 0.3s;
  width: 100%;
}

.nav__logo img {
  height: 4.5rem;
}

.nav__toggle i {
  font-size: 1.25rem;
}

.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}

.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: hsl(220, 48%, 28%);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 1s, transform 0.4s;
}

.nav__toggle-close {
  opacity: 0;
}

.nav-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Navigation for mobile devices */
@media (max-width: 1118px) {
  .nav__menu {
    /* background-color: var(--body-color); */
    background-color: hsl(220, 100%, 99%);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }

  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }

  .nav-btn {
    justify-content: start;
    margin-left: 20px;
  }
}

.nav__link {
  color: hsl(220, 48%, 28%);
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.nav__link:hover {
  background-color: hsl(220, 68%, 97%);
}

/* Show Menu  */
.show-menu {
  opacity: 1;
  top: 3.8rem;
  pointer-events: initial;
}

/* show-icon */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(180deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(180deg);
}

/* Dropdown  */
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__content,
.dropdown__group,
.dropdown__list {
  display: grid;
}

.dropdown__container {
  background-color: hsl(220, 68%, 97%);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.dropdown__content {
  row-gap: 1.7rem;
}

.dropdown__group {
  padding-left: 2.5rem;
}

.dropdown__group:first-child {
  margin-top: 1.5rem;
}

.dropdown__group:last-child {
  margin-bottom: 1.5rem;
}

.dropdown__title {
  font-size: var(--small-font-size);
  font-weight: 600;
  color: hsl(220, 48%, 28%);
}

.dropdown__list {
  row-gap: 0.25rem;
}

.dropdown__link {
  font-size: var(--smaller-font-size);
  font-weight: 500;
  color: hsl(220, 12%, 45%);
  transition: color 0.3s;
}

.dropdown__link:hover {
  color: #00317a;
}

.dropdown__title:hover {
  color: #00317a;
}

/* Rotate dropdown icon  */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/* ==========BREAKPOINTS========== */
/* For small devices  */
@media (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}

/* For large devices  */
@media (min-width: 1118px) {
  /* Nav  */
  .nav {
    height: calc(3.5rem + 2rem);
    display: flex;
    justify-content: space-between;
  }

  .nav .nav__logo img {
    height: calc(3.5rem + 2rem);
  }

  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    column-gap: 2rem;
    height: 100%;
  }

  .nav li {
    display: flex;
  }

  .nav__link {
    padding: 0;
  }

  .nav__link:hover {
    background-color: initial;
  }

  /* Dropdown  */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: hsl(220, 100%, 99%);
    box-shadow: 0 6px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }

  .dropdown__content {
    grid-template-columns: repeat(4, max-content);
    column-gap: 6rem;
    max-width: 1120px;
    margin-inline: auto;
  }

  .dropdown__group {
    padding: 2rem 0;
    align-content: baseline;
    row-gap: 1.25rem;
  }

  .dropdown__group:first-child,
  .dropdown__group:last-child {
    margin: 0;
  }

  .dropdown__list {
    row-gap: 0.75rem;
  }

  .dropdown__title {
    font-size: var(--normal-font-size);
  }

  .dropdown__link {
    font-size: var(--small-font-size);
  }

  .dropdown__link:hover {
    color: #00317a;
  }

  .dropdown__title:hover {
    color: #00317a;
  }

  .dropdown__item {
    cursor: pointer;
  }

  /* Rotate dropdown icon  */
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  /* Show dropdoen menu   */
  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}

@media (max-width: 1152px) {
  .dropdown__container {
    margin-inline: auto;
  }
}

/* 
===================================================================================
Banner Section 
===================================================================================
 */

.banner-sec {
  background-color: #edf7f7;
}
.banner-subtitle {
  color: rgb(118, 142, 167);
  font-weight: bold;
  padding: 0px 10px;
  border-left: 4px solid rgb(118, 142, 167);
}

.banner-title {
  margin: 15px 0px;
  color: rgb(25, 40, 57);
  font-weight: bold;
  line-height: 50px;
  font-size: 45px;
}

/* 
=====================================================================
 Info Section
======================================================================
 */

.info-sec {
  background-color: #143d52;
  padding: 80px 0px;
}

.info-card {
  max-width: 310px;
  text-align: center;
}
.info-card img {
  width: 35px;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 17px;
  margin-top: 10px;
  color: rgb(176, 176, 176);
}

/* 
========================================================================
Login Page && Sign Up Page  Design 
========================================================================
*/

.login-section {
  background-color: #192839;
  min-height: 100vh;
  width: 100%;
  padding: 30px;
}

.login-form {
  padding: 20px;
  background-color: #1c2431;
  width: 450px;
  border-radius: 5px;
}

.login-form .form-control,
.form-select {
  background-color: transparent;
  color: #d2d2d2;
  border: 1px solid #656565;
}

.login-form .form-control:focus {
  background-color: transparent;
  outline: none;
  border-color: #000;
}

/* Keep background transparent when autofill is applied */
input:-webkit-autofill {
  background-color: transparent !important; /* Ensure autofill is also transparent */
  -webkit-box-shadow: 0 0 0px 1000px transparent inset; /* Remove autofill color */
}

.login-form .form-select option {
  background-color: #192839;
}
