*{
    margin:0%;
    padding: 0%;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}
#navbar{
    position:fixed;
    top:0%;
    left:0%;
    height: 10%;
    width:100%;
    background-color: aqua;
    box-shadow: 0 0px 5px #000;
    z-index: 1000;
}
#navbar #navdn{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background-color: rgb(255, 255, 255);
}
#navbar #navdn #menu{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:2%;
}
#navbar #navdn #menu li{
    display: inline-block;
    margin-left: 25px;
}
#navbar #navdn #menu li:last-child{
    background-color: #ff0000;
    padding: 15px;
    border-radius: 30px;
}
#navbar #navdn #menu li a{
    color: rgb(16,62,97);
    font-weight: bolder;
}
#navbar #navdn #menu li:last-child a{
    color: #ffffff;
}
#navbar .arrow-shape {
  background: white;
  border: none;
  /*clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);*/
}
#navbar #logo{
    position: absolute;
    top:50%;
    left: 0%;
    transform: translateY(-50%);
    height: 100%;
    width: 30%;
    background-color:rgb(255, 255, 255);
}
#navbar #logo a img{
    position: absolute;
    top:50%;
    left: 45%;
    transform: translate(-50%,-50%);
    height: 60px;
    max-width: 450px;
}
#titl{
    display: none;
}
#nav{
    position: fixed;
    top:10%;
    left:0%;
    width:0%;
    height:90%;
    background-color: rgba(0,0,0,0.5);
	transition: 0.5s;
}
#nav #ul{
    position: fixed;
    top:10%;
    left:0%;
    width:70%;
    height:100%;
    background-color: #fff;
    display: none;
    transition: 0.5s;
    list-style: none;
}
#nav #ul li{
    margin: 30px;
}
#nav #ul li:first-child button{
    position: absolute;
    top:3%;
    right: 10%;
    font-size: 30px;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0%;
    margin: 0%;
}
#nav #ul li a{
    font-size: 20px;
    color:rgba(24,73,103)
}

#sidenavOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1050;
}
#sidenavOverlay.open {
    opacity: 1;
    visibility: visible;
}
#sidenav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 280px;
    max-width: 90%;
    background: #fff;
    transform: translateX(-100%);
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease, box-shadow .25s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
    overflow-y: auto;
}
#sidenav.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    box-shadow: 0 32px 90px rgba(10,111,255,.25);
}
#sidenav #menu {
    margin: 16px 0 20px;
    list-style: none;
    display: block;
    padding: 0 12px;
}
#sidenav #menu li {
    margin: 0 0 8px;
}
#sidenav #menu li:first-child {
    margin-top: 0;
}
#sidenav #menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    color: #0a2f6f;
    background: rgba(10,111,255,.06);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: all .25s ease;
    border-left: 3px solid transparent;
}
#sidenav #menu li a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #0a6fff;
}
#sidenav #menu li a:hover,
#sidenav #menu li a:focus {
    background: rgba(10,111,255,.14);
    border-left-color: #0a6fff;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(10,111,255,.12);
}
#sidenav #menu li a.enroll-btn {
    background: linear-gradient(135deg, #0a6fff 0%, #084fd6 100%);
    color: #fff;
    font-weight: 700;
    margin-top: 12px;
    border-left: 3px solid transparent;
}
#sidenav #menu li a.enroll-btn i {
    color: #fff;
}
#sidenav #menu li a.enroll-btn:hover {
    background: linear-gradient(135deg, #084fd6 0%, #063ab8 100%);
    box-shadow: 0 12px 28px rgba(10,111,255,.25);
    transform: translateX(4px);
}
#sidenav .sidenav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(10,111,255,.1);
    color: #0a6fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
    display: grid;
    place-items: center;
    transition: all .2s ease;
    box-shadow: 0 4px 12px rgba(10,111,255,.08);
}
#sidenav .sidenav-close:hover {
    background: rgba(10,111,255,.16);
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 6px 16px rgba(10,111,255,.15);
}
.sidenav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px 16px;
    border-bottom: 1px solid rgba(10,111,255,.1);
}
.sidenav-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 220px;
}
.sidenav-logo img {
    height: 64px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.sidenav-logo a:hover img {
    transform: scale(1.08);
}
body.lock-scroll {
    overflow: hidden;
}
.nav-toggle {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    background: rgba(255,255,255,.92);
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1200;
    color: #071b3a;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
}
@media screen and (max-width:768px) {
    .nav-toggle {
        display: flex;
    }
}

#banner{
    position:absolute;
    top: 10%;
    left:0%;
    height: 50%;
    width:100%;
    background-image: url("../images/bg/bg1.png");
    background-size: cover;
}
#banner h1{
    color:#101a53;
    position: absolute;
    top:50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 5rem;
    animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
#search-crse{
  width: 95%;
  margin: 60vh auto 0 auto;   /* Starts from 60% of viewport height */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Course */
section#course {
  width: 95%;
  margin: 0vh auto 0 auto;   /* Starts from 60% of viewport height */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 40px 20px;
  box-sizing: border-box;
}
#filter {
    display: flex;
    gap: 20px;
    max-width: 500px;
}

.col select {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.course-item {
    width: 280px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 15px;
    transition: 0.3s;
    padding:10px;
}

.course-item:hover {
    transform: translateY(-5px);
}

.course-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.course-content {
    padding: 15px;
}

.course-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.course-content p {
    font-size: 14px;
    color: #555;
}

.rating {
    color: #f4b400;
    font-size: 16px;
    margin: 8px 0;
}

.btn-enroll {
    display: inline-block;
    background: #0b2c5d;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

/* Footer */
.site-footer {
    background: #0b1f3a;
    color: #fff;
    padding: 60px 40px 30px;
    margin-top: 80px;
}
.footer-container {
    max-width: 1220px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}
.footer-column h4 {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
}
.footer-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}
.footer-branding h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}
.footer-description {
    margin: 0 0 20px;
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    line-height: 1.7;
}
.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: color .2s ease;
}
.footer-link:hover {
    color: #fff;
}
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-menu li a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .95rem;
    transition: color .2s ease;
}
.footer-menu li a:hover {
    color: #fff;
}
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .95rem;
    line-height: 1.6;
}
.contact-detail i {
    font-size: 1.1rem;
    color: #0a6fff;
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-detail span,
.contact-detail a {
    color: rgba(255,255,255,.75);
}
.contact-detail a {
    text-decoration: none;
    transition: color .2s ease;
}
.contact-detail a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
}

@media screen and (max-width: 1200px) {
    .site-footer {
        padding: 50px 30px 25px;
    }
    .footer-container {
        gap: 35px;
    }
}
@media screen and (max-width: 980px) {
    .site-footer {
        padding: 45px 25px 22px;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
        margin-bottom: 30px;
    }
    .footer-column h4 {
        font-size: 1.05rem;
        margin-bottom: 15px;
    }
    .footer-branding h3 {
        font-size: 1.05rem;
    }
    .footer-description {
        font-size: .9rem;
        margin-bottom: 15px;
    }
    .footer-menu li a {
        font-size: .9rem;
    }
    .contact-detail {
        font-size: .9rem;
        gap: 10px;
    }
}
@media screen and (max-width: 768px) {
    .site-footer {
        padding: 40px 20px 20px;
        margin-top: 60px;
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 25px;
    }
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 14px;
    }
    .footer-branding {
        margin-bottom: 12px;
    }
    .footer-branding h3 {
        font-size: 1rem;
    }
    .footer-description {
        font-size: .85rem;
        margin-bottom: 12px;
    }
    .footer-link {
        font-size: .85rem;
    }
    .footer-menu li a {
        font-size: .85rem;
    }
    .contact-detail {
        font-size: .85rem;
        gap: 10px;
    }
    .footer-bottom {
        padding-top: 18px;
        font-size: .8rem;
    }
}
@media screen and (max-width: 680px) {
    .site-footer {
        padding: 35px 16px 18px;
        margin-top: 50px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }
    .footer-column h4 {
        font-size: .95rem;
        margin-bottom: 12px;
    }
    .footer-branding {
        margin-bottom: 10px;
    }
    .footer-logo {
        width: 45px;
        height: 45px;
    }
    .footer-branding h3 {
        font-size: .95rem;
    }
    .footer-description {
        font-size: .8rem;
        line-height: 1.6;
        margin-bottom: 10px;
    }
    .footer-links-group {
        gap: 8px;
    }
    .footer-link {
        font-size: .8rem;
        gap: 6px;
    }
    .footer-menu {
        gap: 10px;
    }
    .footer-menu li a {
        font-size: .8rem;
    }
    .footer-contact-info {
        gap: 12px;
    }
    .contact-detail {
        font-size: .8rem;
        gap: 8px;
    }
    .contact-detail i {
        font-size: 1rem;
    }
    .footer-bottom {
        padding-top: 15px;
        font-size: .75rem;
    }
}

@media screen and (max-width:450px){

    /* NAVBAR */
    #navbar{
        height:10%;
    }
    #navbar #navdn{
        top:0;
        height:100%;
    }
    #navbar #logo{
      width:20%
    }
    #navbar #logo a img{
        height:50px;
        width:50px;
        top:50%;
        left:45%;
        transform:translate(-50%, -50%);
    }
    #navbar #navdn #menu{
        display:none;
    }
    #navbar #navbtn{
        position:absolute;
        top:50%;
        right:5%;
        transform:translateY(-50%);
        height:50px;
        width:50px;
    }
    #navbar #navbtn button{
        height:100%;
        width:100%;
        font-size:1.8rem;
        background:transparent;
        border:none;
        color:darkblue;
    }
    #titl{
        display:block;
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%);
        width:auto;
        max-width:calc(100% - 20px);
        padding:0 6px;
        white-space:nowrap;
    }
    #titl h3,
    #titl h1{
        color:#0c1122;
        font-size:1rem;
        letter-spacing:0.15rem;
        line-height:1;
        margin:0;
    }
    #nav{
        z-index:1;
    }
    #banner h1{
      font-size: 4rem;
    }
    #filter{
        display: flex;
        gap: 20px;
        max-width: 700px;
        align-content: center;
        flex-direction: column;
    }
    #filter select{
        width:320px;
    }
}