@font-face {
    font-family: "RedHatDisplay";
    src: url("./RedHatDisplay/RedHatDisplay-Regular.eot");
    /* IE9 Compat Modes */
    src: url("./RedHatDisplay/RedHatDisplay-Regular.eot?#iefix") format("embedded-opentype"), url("./RedHatDisplay/RedHatDisplay-Regular.woff") format("woff");
    /* Modern Browsers */
    font-style: normal;
    font-weight: 300;
    text-rendering: optimizeLegibility;
  }
  
  @font-face {
    font-family: "RedHatDisplay-Medium";
    src: url("./RedHatDisplay/RedHatDisplay-Medium.eot");
    /* IE9 Compat Modes */
    src: url("./RedHatDisplay/RedHatDisplay-Medium.eot?#iefix") format("embedded-opentype"), url("./RedHatDisplay/RedHatDisplay-Medium.woff") format("woff");
    /* Modern Browsers */
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
  }
  
  @font-face {
    font-family: "RedHatDisplay-Bold";
    src: url("./RedHatDisplay/RedHatDisplay-Bold.eot");
    /* IE9 Compat Modes */
    src: url("./RedHatDisplay/RedHatDisplay-Bold.eot?#iefix") format("embedded-opentype"), url("./RedHatDisplay/RedHatDisplay-Bold.woff") format("woff");
    /* Modern Browsers */
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
  }







/*////////////////// DEFINE VARIABLE ////////*/
:root {
/* --background-color: #0d1c27;
--text-color: white; */

--text-color: #0d1c27;
--background-color: white;
}

/* //////////////////// */






html, body {
    font-family: "RedHatDisplay";
} 

.main {
    min-height: 100vh;
    padding: 20px;
}




/* SEARCH JOMBOTRON */
#search_jumbotron {
    background-color:#0d1c27;
    color: white;
    padding: 80px 0;
    text-align: center;
    height: 85vh;
}
.jumbotron_image {
    width: 300px;
}

@media screen and (max-width: 767px){
    .jumbotron_image  {
        width: 245px;
    }
}



a:hover {
    text-decoration: none;
    border: none;
    outline: none;
}


#header-first {
    /* background-color: #007bff; */
    background-color: #163043;
    padding-top: 20px;
    padding-bottom: 20px;
}
.brand-name {
    color: white;
    font-size: 13px;
    font-family: "RedHatDisplay-Medium";
    letter-spacing: 1.2px;
}
a.brand-name:hover {
    color: white;
}
.obintusacademy_logo {
    width: 40px;
    height: auto;
    display: block;
    margin: auto;
    margin-bottom: -2px;
    margin-top: 0;
}
@media screen and (max-width: 767px){
    .brand-name {
        font-size: 13px;
    }
}


/* ///////////////////THEMES BUTTON///////////////////// */
.theme-button {
    position: absolute;
    right: 10px;
    top: 38px;
    font-size: 25px
}





.headings {
    font-family: 'RedHatDisplay-Bold';
    font-weight: bolder;
    font-size: 25px;
}

.form-input {
    width: 50%;
    padding: 8.7px;
    margin: 5px 0;
}
.form-input::placeholder {
    font-size: 14px;
}
.submit-button {
    width: 50%;
    padding: 8.7px;
    margin: auto;
    border: none;
    outline: none;
    color: white;
    background-color: #007bff;
    font-size: 12px;
    padding: 14px 50px;
    letter-spacing: 0.8px;
    margin-top: 10px;  
    margin-bottom: 50px;
}
.submit-button:hover {
    color: white;
    background-color: #0d1c27;
}

@media screen and (max-width: 767px){
    .form-input {
        width: 100%;
    }   
    .submit-button {
        display: inline-block;
        width: 100%;
    } 
}

.date_of_birth::before {
    content: "Date of Birth";
    position: relative;
    font-size: 15px;
    opacity: 0.5;
}

.form-link { padding: 10px 15px; }






/* FOOTER */
.footer {
    position: relative;
    bottom: 0px;
    background-color: #0d1c27;
    padding: 20px;
}
.footer-det {
    color: white;
    font-size: 12px;
    text-align: center;
}













/* DASHBOARD------------------------------------------------- */

    nav {
      background-color: #163043;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 20px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    nav .logo {
      font-size: 1.2rem;
      font-weight: bold;
      cursor: pointer;
    }

    nav ul {
      display: flex;
      list-style: none;
      margin: 0;
      padding: 0;
      gap: 20px;
    }
    
    nav ul li a {
      color: #fff;
      cursor: pointer;
    }

     nav ul li a:hover {
      color: #fff;
    }



    /* Hamburger (mobile) */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .menu-toggle div {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
    }

    @media (max-width: 768px) {
      nav ul {
        display: none;
        flex-direction: column;
        background-color: #1565c0;
        width: 100%;
        position: absolute;
        top: 85px;
        left: 0;
        padding: 20px 20px;
      }

      nav ul.active {
        display: flex;
      }

      .menu-toggle {
        display: flex;
      }
    }

    /* ---------- Profile Section ---------- */
    .profile {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 15px;
      position: relative;
      padding: 20px 0;
      z-index: 999;
    }

    .profile img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: cover;
    }

    .profile button {
      cursor: pointer;
      margin: 2px 0;
      border: none;
      outline: none;
      color: white;
      background-color: #007bff;
      font-size: 12px;
      padding: 10px 22px;
      letter-spacing: 0.8px;  
    }

    .profile button:hover {
      background: #1565c0;
    }

    .dropdown {
      display: none;
      position: absolute;
      left: 65px;
      top: 75px;
      background: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      font-size: 14px;
    }

    .dropdown a {
      display: block;
      padding: 10px 20px;
      color: #333;
      text-decoration: none;
      transition: background 0.3s;
    }

    .dropdown a:hover {
      background: #f0f0f0;
    }

    .dropdown.active {
      display: block;
    }

    /* ---------- Dashboard Cards ---------- */
    .stats {
      display: flex;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .card {
      flex: 1;
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.2s;
      min-width: 250px;
      cursor: pointer;
    }

    .card h2 {
      margin: 0;
      color: #555;
      font-size: 1.1rem;
    }

    .card p {
      font-size: 2rem;
      font-weight: bold;
      color: #1565c0;
      margin: 10px 0 0;
    }


    .course_heading {
        font-size: 20px;
        font-weight: bold;
        color: #1565c0;
        margin: 10px 0 0;
    }
    .course_description {
        margin: 0;
        color: #555;
        font-size: 1.1rem;
    }
    .start-button {
        width: 100%;
        padding: 8.7px;
        margin: 5px 0;
        border: none;
        outline: none;
        color: white;
        background-color: #007bff;
        font-size: 12px;
        padding: 14px 50px;
        letter-spacing: 0.8px;
        margin-top: 10px;  
        margin-bottom: 50px;
        cursor: pointer;
    }
    .start-button:hover {
        color: white;
        background-color: #0d1c27;
    }




    /* ---------- Accordion ---------- */
    .accordion {
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      overflow: hidden;
    }

    .accordion-item {
      border-bottom: 1px solid #eee;
    }

    .accordion-header {
      background: #f0f3f9;
      padding: 15px 20px;
      cursor: pointer;
      font-weight: 600;
      color: #333;
      display: flex;
      justify-content: space-between;
      align-items: center;
      transition: background 0.3s;
    }

    .accordion-header:hover {
      background: #e6ecf5;
    }

    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      background: #fff;
      padding: 0 20px;
    }

    .accordion-content p {
      margin: 15px 0;
    }

    .accordion-item.active .accordion-content {
      max-height: 150px;
      padding-bottom: 20px;
    }

    /* ---------- Progress Bar ---------- */
    .progress-bar {
      background: #e0e0e0;
      border-radius: 8px;
      overflow: hidden;
      height: 12px;
      margin-top: 8px;
    }

    .progress {
      height: 12px;
      border-radius: 8px;
      background: linear-gradient(90deg, #1e88e5, #42a5f5);
      width: 0;
      transition: width 0.5s ease-in-out;
    }

    .accordion-item.active .progress[data-value="0"] {
      width: 0%;
    }

    .accordion-item.active .progress[data-value="25"] {
      width: 25%;
    }

    .accordion-item.active .progress[data-value="50"] {
      width: 50%;
    }

     .accordion-item.active .progress[data-value="75"] {
      width: 75%;
    }

    .accordion-item.active .progress[data-value="100"] {
      width: 100%;
    }







    /* MODAL FOR PAYMENT ------------------------------------------- */
    .modal { 
        display: none; 
        position: fixed;
        z-index: 999999999;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.8);
    }

    .modal-content {
        background-color: #fff;
        margin: 5% auto;
        padding: 30px;
        border-radius: 12px;
        width: 90%;
        max-width: 500px;
        box-shadow: 0 0 15px rgba(0,0,0,0.3);
    }

    .close-btn {
        float: left;
        color: #aaa;
        font-size: 30px;
        font-weight: bold;
        cursor: pointer;
    }

    .close-btn:hover {
        color: #000;
    }

    .modal h2 {
        text-align: center;
        margin-bottom: 8px;
    }

    .modal label {
        display: block;
        margin-top: 2px;
    }








    /* Courses */
    .courses { 
      flex: 1;
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      text-align: center;
      transition: transform 0.2s;
      min-width: 300px;
      cursor: pointer;
      margin: 10px;
    }

    .course-image {
      width: 150px;
    }