   @import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;800&display=swap");

* {
    margin: 0;
    padding: 0;
    }

body {
    background-color: var( --soft-white);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    height: 100vh;
    position: relative;
    color: #000;
    line-height: 24px;
   font-family: 'Lexend', sans-serif !important;
    line-height: 1.6;
    }

:root {
     /* Colors */
     --primary-color: #2e4053;
     --light-cream: #fffae4;
     --warm-beige: #e1dacc;
     --soft-white: #f8f6f0;
     --secondary-color: #c33625;
     --body-bg: #ffffff;

      /* Fonts */
    /*--font-heading: 'Lato', sans-serif;
     --font-paragraph: Segoe UI;
     --font-clickable: 'Inter', sans-serif;
     --font-logo: 'Rollgates Luxury', cursive;*/

     /* Fonts */
     --font-heading:'Lexend', sans-serif !important;
     --font-paragraph: 'Lexend', sans-serif !important;
     --font-clickable: 'Lexend', sans-serif !important;
     --font-logo: 'Lexend', sans-serif !important ;
    }

  

/* Heading */
h1,h2,h3,h4,h5,h6,strong{
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    }

.fa-classic, .fa-regular, .fa-solid, .far, .fas {
    font-family: "Font Awesome 6 Free" !important;
    }

p, .copyright , li{
    font-family: var(--font-paragraph) !important;
    font-weight: 400 !important;
    }

    label{
        font-family: var(--font-paragraph) !important;
    }

a {
    text-decoration: none;
    color: var(--secondary-color) ;
    font-weight: 500 !important;
    font-family: var( --font-clickable) !important;

    }

a:hover {
    text-decoration: underline !important;
    color: var(--secondary-color) ;
    }

button{
     font-family: var( --font-clickable) !important;
}

.link-color{
    color: var(--secondary-color) ;
}

label{
    font-size:14px;
    }

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    }

.header-pera{
    font-size: 16px;
}

.back_btn{
    font-size: 16px;
    color: #ffffff;
    background-color: var(--primary-color);
    }

/* ======== user profile button  ====== */
    .user-profile {
        display: flex;
        align-items: center;
        background: white;
        padding: 0.3rem 0.5rem;
        border-radius: 2rem;
        transition: all 0.3s ease;
        cursor: pointer;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        margin-right: 0.75rem;
        object-fit: cover;
        border: 2px solid #2e4053;
    }
  
    .user-name {
        font-weight: 600;
        color: #2e4053;
    }
    
    .user-role {
        font-size: 0.75rem;
        color: gray;
    }
  
    .user-info {
      line-height: 1.3;
      display: flex;
      flex-direction: column;
    }

    /* ======== end here  ====== */
/* ========  new dropdown menu  ====== */


  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 999;
    border-radius: 16px;
    margin-top: 0;
    padding:0.5rem 0;
    animation: fadeIn 0.3s ease-out;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
  }
  .dropdown-item {
      padding: 0.6rem 1.5rem 0.6rem 1rem;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      font-size: 0.9rem;
      position: relative;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .dropdown-item i {
      width: 20px;
      text-align: center;
      color: #3a7ca5;
      font-size: 0.9rem;
    }

  .dropdown-menu a:hover {
    background-color: #e5e5e5;
    text-decoration: none !important;
  }

  .user-profile:hover .dropdown-menu {
    display: block;
  }
  .dropdown-item:hover {
      background: rgba(22, 117, 250, 0.05);
      color: #3a7ca5;
      padding-left: 1.2rem;
    }

    .dropdown-item:hover::before {
      opacity: 1;
      left: 1rem;
    }

    /* ========  end new dropdown ========= */
/* ========  old dropdown menu  ====== */
    /* .dropdown-menu{
        position: absolute !important;
        top: 88%;
        right: 0;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 15px !important;
        min-width: 220px;
        box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
        padding: 10px;
      } */

      /* .dropdown-item{
        padding: 10px !important;
        color: #333 !important;
        text-decoration: none !important;
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        text-decoration:none !important;
        transform: translateX(-10px); 
        transition: all 0.3s ease;
      } */

      

      /* .dropdown-item:hover {
        border-radius: 20px !important;
        background: #e5e5e5;
        color: #3a7ca5;
        text-decoration:none !important;
        transform: translateX(0);  
        padding-left: 10px;  
      } */
      
      /* .dropdown-item i{
        width: 20px;
        text-align: center;
        font-size: 0.9rem;
        color: #3a7ca5;
      } */
/* ==== end here  ========== */

header {
    width: 100%;
    padding: 10px;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    }

footer {
    width: 100%;
    padding: 10px;
    color: white;
    position: absolute !important;
    bottom: 0;
    left: 0;
    }

section {
    width: 80%;
    max-width: 1200px;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    }

.span_color {
    color: var(--secondary-color);
}

.logo_header {
    width: 20%;
}

.sign-link {
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 5px 15px;
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
}

.sign-link:hover{
    background-color: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    text-decoration: none !important;
}

.form-control {
    font-size: 16px;
    padding: 5px 0px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    border-bottom: 2px solid var(--primary-color);
    outline: none;
    color: var(--primary-color) !important;
    box-shadow: none;
    background: transparent !important;
    font-weight: 400;
    padding-right: 50px !important;
}


.form-control:focus {
    color: #212529;
    background-color: transparent !important;
    border-color: var(--primary-color);
    outline: 0;
    box-shadow: none;
}

.open-envelope {
    width: 75px;
    margin: 0px auto;
    margin-bottom:10px;
}

h2 {
    color: #000000;
}

h2.main_heading {
    color:#313131;
    font-size: 40px;
    max-width: 576px;
    font-weight: 700;
    line-height: 30px;
    margin: 0 auto;
    margin-bottom: 20px;
    /* text-transform: uppercase; */
}

.second_heading{
    font-size: 18px;
    color: var(--secondary-color);
    font-style: italic;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0px auto 50px auto;
    padding-top: 0px !important;
    padding: 20px;
    color: #000000;
    border-radius: 10px;
}

.edu_background_section {
    max-width: 650px !important;
}

.logo_account {
    width: 100%;
    margin: 30px auto;
}

.btn-secondary{
    font-size: 12px !important;
    border: none !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border: none;
    font-family: var(--font-clickable) !important;
    /* font-variant: small-caps; */
    letter-spacing: 1.2px;
    font-weight: 500 !important;
    font-size: 12px;
}

.btn-primary.invalid {
    background-color: var(--secondary-color) !important;
}

.btn-primary:hover,
.back_btn:hover {
    color: #fff;
    background-color:var(--secondary-color) !important;
    text-decoration: none !important;
}

.btn-primary:focus {
    color: #fff;
    background-color:none;
    border-color: none;
    box-shadow: none !important;
}

.copyright {
    color: #000000;
    font-size: 14px;
    padding: 0 0 15px;
    text-align: center;
    position: static;
    bottom: 0;
    right: 0;
    left: 0;
}

.otp-input {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.otp-input input {
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid var(--primary-color);
    background: transparent;
}

.pass-field {
    position: relative;
}

.pass-field i {
    right: 18px;
    top: 50%;
    font-size: 1rem;
    color: #999;
    cursor: pointer;
    position: absolute;
    transform: translateY(-50%);
}

.progress {
    height: 0.5rem;
    border-radius: 0px;
}

.progress-bar-orange {
    background-color:var(--secondary-color) !important;
}
.required {
    color: red; /* Red color for the asterisk */
}

.scrolls {
  scrollbar-width: thin;
  scrollbar-color: #2d3e50 #f1f1f1;
}

.scrolls::-webkit-scrollbar:vertical {
  width: 6px !important;
  background: #2d3e50 !important;
}

/* Fixed selector - was missing :: */
.scrolls::-webkit-scrollbar:horizontal {
  height: 6px !important;
  background: #2d3e50 !important;
}

.scrolls::-webkit-scrollbar-track {
  background: #f1f1f1 !important;
  box-shadow: inset 0 0 5px grey !important; 
}

.scrolls::-webkit-scrollbar-thumb {
  background: #2d3e50 !important;
  border-radius: 15px !important;
}

.scrolls::-webkit-scrollbar-thumb:hover {
    background: #2d3e50 !important;
  }
  /* free trail modal */
  
  /* Floating animation for button */
@keyframes float {
     /* 0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }*/
  }

.floating-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8533 100%);
    border: none;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgb(255 102 0 / 30%);
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 19px;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    text-transform: capitalize;
    margin-right: 10px;
    /* transition: all 0.5s; */
    transition: all 0.3s ease;
    animation: pulse 2s infinite, gradientShift 6s infinite;
  }

.floating-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 25px rgba(255, 102, 0, 0.4);
  }

.floating-btn:before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
      transform: rotate(45deg);
      transition: all 0.5s;
  }

.floating-btn:hover:before {
      left: 100%;
      top: 100%;
  }

  /* Modal styling */
.trail-modal .modal-content {
      border: none;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(32, 68, 118, 0.2);
  }

.trail-modal .modal-header {
      background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a92 100%);
      color: white;
      /*padding: 2rem;*/
      position: relative;
      overflow: hidden;
      border-bottom: none;
  }

.trail-modal .modal-header:before {
      content: "";
      position: absolute;
      top: -50%;
      right: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
      transform: rotate(30deg);
  }
  .trail-modal .modal-title {
      font-size: 1.4rem;
      font-weight: 700;
      position: relative;
  }
  .trail-modal .modal-title i {
      color: var(--secondary-color);
      margin-right: 15px;
  }

  /* Ribbon effect */
  .trail-modal .ribbon {
    position: absolute;
    top: 12px;
    right: -45px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(36deg);
    font-weight: 600;
    font-size: 0.7rem;
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
    z-index: 1;
  }

  /* Modal body */
  .trail-modal .modal-body {
      padding: 1.5rem;
      background: #f8f9fa;
      position: relative;
      text-align: center;
  }

  /* Feature cards */
  .trail-modal .feature-card {
      background: white;
      border-radius: 10px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      border-left: 4px solid var(--secondary-color);
      transition: transform 0.3s, box-shadow 0.3s;
  }
  .trail-modal .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .trail-modal .feature-card h5 {
      color: var(--primary-color);
      font-weight: 600;
      margin-bottom: 1rem;
  }
  .trail-modal .feature-card ul {
      list-style: none;
      padding-left: 0;
  }
  .trail-modal .feature-card li {
      padding: 8px 0;
      position: relative;
      padding-left: 30px;
  }
  .trail-modal .feature-card li:before {
      content: "\f00c";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      color: var(--secondary-color);
      position: absolute;
      left: 0;
  }

  /* Exclusion notice */
  .trail-modal .exclusion-notice {
      background: white;
      border-radius: 10px;
      padding: 1.2rem;
      border-left: 4px solid #dc3545;
      margin: 1.5rem 0;
      position: relative;
      box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
  }
  .trail-modal .exclusion-notice i {
      color: #dc3545;
      margin-right: 10px;
  }

  /* Tooltip style note */
  .trail-modal .tooltip-note {
      background: white;
      border-radius: 10px;
      padding: 1.2rem;
      border-left: 4px solid var(--secondary-color);
      margin: 1.5rem 0;
      position: relative;
      box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
  }
  .trail-modal .tooltip-note i {
      color: var(--secondary-color);
      margin-right: 10px;
  }

  /* Modal footer */
  .trail-modal .modal-footer {
      background: white;
      border-top: none;
      padding: 1.5rem 2.5rem;
      padding-top: 0;
      display: flex;
      justify-content: space-between;
  }
  .trail-modal .btn-outline-custom {
      color: var(--primary-color);
      border-color: var(--primary-color);
      border-radius: 50px;
      padding: 10px 25px;
      font-weight: 600;
      transition: all 0.3s;
  }
  .trail-modal .btn-outline-custom:hover {
      background: var(--primary-color);
      color: white;
  }
  .trail-modal .btn-custom {
      background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8533 100%);
      border: none;
      border-radius: 50px;
      padding: 10px 25px;
      font-weight: 600;
      box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
      transition: all 0.3s;
  }
  .trail-modal .btn-custom:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
      background: linear-gradient(135deg, #ff8533 0%, var(--secondary-color) 100%);
  }

  /* Decorative elements */
  .trail-modal .circle-decoration {
      position: absolute;
      border-radius: 50%;
      opacity: 0.1;
  }
  .trail-modal .circle-1 {
      width: 100px;
      height: 100px;
      background: var(--primary-color);
      top: -50px;
      right: -50px;
  }
  .trail-modal .circle-2 {
      width: 150px;
      height: 150px;
      background: var(--secondary-color);
      bottom: -75px;
      left: -75px;
  }

  /* Countdown timer */
  .trail-modal .countdown {
      background: var(--primary-color);
      color: white;
      padding: 10px 15px;
      border-radius: 50px;
      display: inline-block;
      font-weight: 600;
      margin-bottom: 1.5rem;
      box-shadow: 0 5px 15px rgba(32, 68, 118, 0.2);
  }

