/* ======================
    Layout
====================== */

*,
*::before,
*::after{
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

img{
    max-width: 100%;
}

body{
    background-color: #001D39;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    overflow-x: hidden;
}

body::-webkit-scrollbar{
    display: none;
}
/* ======================
    Header
====================== */

header{
    display: flex;
    color: white;
    font-size: 30px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 50px 20px;
    width: min(1280px, calc(100% - 100px));
    position: relative;
    z-index: 50;
}

.logo{
    width: 60px;
    height: 60px;
}

.one{
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.one p{
    margin: 0;
    font-size: clamp(22px, 2.4vw, 30px);
    line-height: 1.2;
}

/* ======================
    Navigation
====================== */

nav{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-left: auto;
}

header nav a{
    text-decoration: none;
    color: white;
    font-size: clamp(18px, 1.9vw, 30px);
    margin-left: 0;
}

header nav a:hover{
    color: #7BB8E9;
}

.nav-link,
.account-link{
    border-radius: 14px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.nav-link.is-active,
.account-link.is-active{
    color: #9fd3fb;
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.nav-disabled{
    opacity: 0.45;
    pointer-events: none;
}

/* ======================
    Menu
====================== */

.menu{
    background-color: #001D39;
    border: none;
    cursor: pointer;
    display: none;
}

#menu{
    position: relative;
}

#menuLinks{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}

#menuLinks a{
    padding: 5px;
    margin: 0;
    text-align: center;
}

.nav-toggle-icon,
.password-toggle-icon,
.feature-icon{
    color: white;
}

.nav-toggle-icon{
    font-size: 34px;
    line-height: 1;
}

/* ======================
    Account Dropdown
====================== */

.account{
    position: relative;
    z-index: 80;
}

.account-btn{
    background: linear-gradient(135deg, rgba(18, 87, 146, 0.95), rgba(6, 40, 75, 0.95));
    color: white;
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 22px;
    cursor: pointer;
    margin: 0;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.account-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.dropdown{
    position: absolute;
    top: 66px;
    right: 0;
    min-width: 0;
    width: max-content;
    padding: 10px;
    background: rgba(10, 44, 79, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    flex-direction: column;
    gap: 6px;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(12px);
    z-index: 120;
}

.dropdown a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding: 10px;
    text-decoration: none;
    color: white;
    border-radius: 14px;
    text-align: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.borderAccount{
    border-bottom: none;
    margin-left: 0;
}

.dropdown a:hover{
    background-color: rgba(255, 255, 255, 0.08);
    color: #9fd3fb;
    transform: translateX(-2px);
}

.dropdown.showDropdown{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ======================
    Hero Section
====================== */

.hero{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: min(1200px, calc(100% - 60px));
    min-height: calc(100vh - 120px);
    margin: 0 30px 40px;
    color: white;
    position: relative;
}

.hero-text{
    flex: 1 1 620px;
    max-width: 620px;
    min-width: 0;
}

.hero-cards{
    flex: 1 1 340px;
    max-width: 380px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-right: 0;
    min-width: 0;
}

.hero-badge{
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: rgba(123, 184, 233, 0.16);
    border: 1px solid rgba(123, 184, 233, 0.35);
    color: #9fd3fb;
    font-size: 18px;
    margin-bottom: 24px;
}

.hero-text h1{
    font-size: 68px;
    line-height: 1.1;
    margin: 0 0 24px;
}

.hero-text p{
    font-size: 24px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
}

.hero-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 36px;
}

.hero-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-btn:hover{
    transform: translateY(-4px);
}

.primary-btn{
    background-color: white;
    color: #001D39;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.secondary-btn{
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    background-color: rgba(255, 255, 255, 0.04);
}

.hero-stats{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.stat-card{
    flex: 1 1 160px;
    min-width: 140px;
    padding: 18px 22px;
    border-radius: 22px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.stat-card h2{
    margin: 0 0 8px;
    font-size: 34px;
}

.stat-card span{
    color: #9fd3fb;
    font-size: 18px;
}

.hero-card{
    width: 100%;
    padding: 32px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card:hover,
.feature-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.card-label{
    color: #9fd3fb;
    font-size: 18px;
    margin: 0 0 14px;
}

.hero-card h3{
    font-size: 34px;
    margin: 0 0 22px;
}

.track-list{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.track-list span{
    padding: 10px 16px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 18px;
}

.card-copy{
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.features{
    width: min(1200px, calc(100% - 60px));
    margin: 0 30px 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.feature-card{
    flex: 1 1 260px;
    padding: 28px;
    margin-bottom: 30px;
    border-radius: 26px;
    color: white;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card .feature-icon{
    font-size: 42px;
    color: #9fd3fb;
    margin-bottom: 16px;
}

.feature-card h3{
    font-size: 30px;
    margin: 0 0 14px;
}

.feature-card p{
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* ======================
    Menu Toggle Class
====================== */

.showMenu{
    display: flex !important;
}


/* ======================
    Responsive
====================== */

@media (max-width: 1000px){

    header{
        margin-right: 24px;
        margin-left: 24px;
    }

    .menu{
        display: flex;
    }

    #menuLinks{
        display: flex;
        flex-direction: column;
        position: absolute;
        width: max-content;
        min-width: 0;
        flex-wrap: wrap;
        padding: 10px;
        gap: 6px;
        background: rgba(10, 44, 79, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
        top: 66px;
        right: 12px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(12px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        backdrop-filter: blur(12px);
    }

    #menuLinks a{
        width: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        padding: 10px;
        border-radius: 14px;
        text-align: center;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    #menuLinks a:hover{
        background-color: rgba(255, 255, 255, 0.08);
        color: #9fd3fb;
        transform: translateX(-2px);
    }

    .showMenu{
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .hero{
        min-height: auto;
        margin: 10px 24px 36px;
    }

    .hero-text h1{
        font-size: 48px;
    }

    .hero-text p{
        font-size: 21px;
    }

    .hero-cards{
        width: 100%;
    }

    .features{
        width: calc(100% - 48px);
        margin: 0 24px 50px;
    }

}

@media (max-width: 700px){

    header{
        font-size: 22px;
    }

    .logo{
        width: 48px;
        height: 48px;
    }

    .hero{
        width: calc(100% - 32px);
        margin: 10px 16px 28px;
        gap: 28px;
    }

    .hero-badge{
        font-size: 15px;
    }

    .hero-text h1{
        font-size: 38px;
    }

    .hero-text p{
        font-size: 18px;
    }

    .hero-btn{
        width: 100%;
        min-width: 0;
        font-size: 20px;
    }

    .stat-card{
        width: 100%;
    }

    .hero-cards{
        width: 100%;
    }

    .hero-card{
        padding: 24px;
    }

    .hero-card h3{
        font-size: 28px;
    }

    .features{
        width: calc(100% - 32px);
        margin: 0 16px 40px;
    }

}

/* ======================
    log in page
====================== */
.auth-page{
    width: min(1200px, calc(100% - 60px));
    min-height: calc(100vh - 140px);
    margin: 0 30px 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

input::placeholder{
    color: rgba(255, 255, 255, 0.72);
}

.loginF input,
.singupF input,
.reserPassword input,
.otp input,
.newPassword input,
.passwords {
    width: min(100%, 320px);
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 22px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.loginF input,
.singupF input,
.reserPassword input,
.otp input,
.newPassword input {
    margin: 0 0 30px 0;
    padding: 0 20px;
    outline: none;
}

.loginF input:focus,
.singupF input:focus,
.reserPassword input:focus,
.otp input:focus,
.newPassword input:focus,
.passwords:focus-within {
    border-color: #7BB8E9;
    background-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(123, 184, 233, 0.18);
}

.passwords {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 0 30px 0;
    overflow: hidden;
}

.passwords input {
    width: 100%;
    height: 100%;
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    margin: 0;
    padding: 0 52px 0 20px;
    color: white;
    font-size: 22px;
    outline: none;
    font-family: inherit;
    text-indent: 0;
    line-height: 52px;
}

.passwords .password-toggle-icon{
    position: absolute;
    right: 16px;
    font-size: 28px;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}

.loginF{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 500px;
    height: auto;
    width: min(400px, calc(100vw - 32px));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 30px;
    position: relative;
    padding: 36px 32px 86px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    }

.loginF p{

    font-size:40px;
    font-weight: bolder;
    padding: 0;
    margin: 0 0 30px 0;
    
}
.loginF input{
    text-align: left;
}

.loginF .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    width: 320px;
    height: 40px;
    background-color: white;
    margin: 0 0 30px 0;
}
.loginF .btn a{
    text-decoration: none;
        color: black;
            font-size: 25px;
                        width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

}
.loginF .lastbtn{
    margin: 0 0 55px 0;
}


#forget{
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-color: rgba(159, 211, 251, 0.45);
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 64px);
    text-align: center;
    padding: 0;
    margin: 0;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

#forget:hover{
    color: #9fd3fb;
    text-decoration-color: #9fd3fb;
}


/* ======================
    singup
====================== */
.singupF{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 610px;
    height: auto;
    width: min(400px, calc(100vw - 32px));
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 30px;
    position: relative;
    padding: 24px 32px 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    }

.singupF p{

    font-size:40px;
    font-weight: bolder;
    padding: 0;
    margin: 30px 0 30px 0;
    
}
.singupF input{
    text-align: left;
}

.singupF button{
    margin: 0;
    color: rgb(0, 0, 0);
    background-color: white;
    border: none;
    border-radius: 30px;
    font-size: 25px;
    width: 320px;
    height: 40px;
}


.singupF .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    width: 100%;
    height: 40px;
    background-color: white;
    margin: 0 0 30px 0;
}
.singupF .btn a{
    text-decoration: none;
        color: black;
            font-size: 25px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

}
.singupF .lastbtn{
    margin: 0 0 55px 0;
}
.singupF .btns{
    width: min(100%, 320px);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}
/* ======================
    reset password
====================== */

    .reserPassword{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 500px;
    height: auto;
    width: min(400px, calc(100vw - 32px));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 30px;
    position: relative;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.reserPassword p{

    font-size:40px;
    font-weight: bolder;
    padding: 0;
    margin: 0 0 30px 0;
    
}
.reserPassword h3{
margin: 0 30px 30px 30px;
text-align: center;
}

.reserPassword input{
    text-align: left;
}

.reserPassword .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    width: 320px;
    height: 40px;
    font-size: 25px;
    color: black;
    background-color: white;
    margin: 0 0 30px 0;
}
.reserPassword .btn a{
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: black;
}
/* ======================
    otp
====================== */

    .otp{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 500px;
    height: auto;
    width: min(400px, calc(100vw - 32px));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 30px;
    position: relative;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.otp p{

    font-size:40px;
    font-weight: bolder;
    padding: 0;
    margin: 0 0 30px 0;
    
}
.otp h3{
margin: 0 30px 30px 30px;
text-align: center;
}

.otp input{
    text-align: left;
}

.otp .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    width: 320px;
    height: 40px;
    font-size: 25px;
    color: black;
    background-color: white;
    margin: 0 0 30px 0;
    text-align: center;
    text-decoration: none;
    color: black;
}
.otp .btn a{
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: black;
}
/* ======================
    newPassword
====================== */

    .newPassword{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 500px;
    height: auto;
    width: min(400px, calc(100vw - 32px));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 30px;
    position: relative;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.newPassword p{

    font-size:40px;
    font-weight: bolder;
    padding: 0;
    margin: 0 0 30px 0;
    
}
.newPassword h3{
margin: 0 30px 30px 30px;
text-align: center;
}

.newPassword input{
    text-align: left;
}

.newPassword .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    width: 320px;
    height: 40px;
    font-size: 25px;
    color: black;
    background-color: white;
    margin: 0 0 30px 0;
    text-align: center;
    text-decoration: none;
    color: black;
}
.newPassword  a{

    text-align: center;
    text-decoration: none;
    color: black;
}

.loginF .btn,
.singupF .btn,
.reserPassword .btn,
.otp .btn,
.newPassword .btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 320px);
    height: 44px;
    border-radius: 30px;
    margin: 0 0 18px 0;
    text-decoration: none;
    font-size: 22px;
    font-weight: 700;
    color: #001D39;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.loginF .btn:hover,
.singupF .btn:hover,
.reserPassword .btn:hover,
.otp .btn:hover,
.newPassword .btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.loginF .btn.secondary-action,
.singupF .btn.secondary-action,
.reserPassword .btn.secondary-action,
.otp .btn.secondary-action,
.newPassword .btn.secondary-action{
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.loginF .btn.secondary-action:hover,
.singupF .btn.secondary-action:hover,
.reserPassword .btn.secondary-action:hover,
.otp .btn.secondary-action:hover,
.newPassword .btn.secondary-action:hover{
    background: rgba(255, 255, 255, 0.12);
}

/* ======================
    Books
====================== */
.books-page{
    width: min(1200px, calc(100% - 60px));
    margin: 20px 30px 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: white;
}

.books-hero{
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.books-badge{
    display: inline-block;
    margin: 0 0 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: rgba(159, 211, 251, 0.14);
    border: 1px solid rgba(159, 211, 251, 0.3);
    color: #9fd3fb;
    font-size: 18px;
}

.books-hero h1{
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.08;
}

.books-intro{
    margin: 0;
    color: #afc4d9;
    font-size: 22px;
    line-height: 1.7;
    max-width: 760px;
}

.books-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.library{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    padding: 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    min-height: 230px;
    height: 100%;
    width: 100%;
    max-width: none;
    display: flex;
    gap: 24px;
    margin: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.library:hover{
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.28);
}

.library .book{
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.library .book .bookCover{
    width: 150px;
    height: 190px;
    padding: 10px;
    overflow: hidden;
    border-radius: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.25);
}

.library .book .bookCover img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
}

.library .book .details{
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.library .book .details h1{
    margin: 0 0 8px 0;
    font-size: 34px;
    line-height: 1.05;
}

.library .book .details h2{
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
    font-weight: 500;
    padding: 0;
    margin: 0 0 24px 0;
}

.library .book .details > div{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.library .book .details div .btn {
    background-color: #fff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 38px;
    border-radius: 30px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.library .book .details div .btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
    background-color: #d9efff;
}

.library .book .details div .btn a{
    text-decoration: none;
    width: 100%;
    text-align:center ;
    color: #001D39;
    font-size: 18px;
    font-weight: bolder;
}

@media (max-width: 520px){
    .books-page{
        width: calc(100% - 32px);
        margin: 12px 16px 40px;
        gap: 20px;
    }

    .books-hero{
        padding: 24px;
        border-radius: 24px;
    }

    .books-hero h1{
        font-size: 32px;
    }

    .books-intro{
        font-size: 18px;
    }

    .books-grid{
        grid-template-columns: 1fr;
    }

    .library{
        height: auto;
    }

    .library .book{
        flex-direction: column;
        text-align: center;
    }

    .library .book .details > div{
        align-items: center;
    }
}

/* ======================
Contact
====================== */

.contact{
    width: min(1120px, calc(100% - 48px));
    margin: 20px 24px 60px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    color: white;
}

.contact-copy,
.contact-links{
    padding: 34px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.contact-copy{
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
}

.contact-links{
    background: linear-gradient(180deg, rgba(8, 49, 88, 0.94), rgba(1, 24, 47, 0.98));
    margin-bottom:30px ;
}

.contact-badge{
    display: inline-block;
    margin: 0 0 18px;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: rgba(159, 211, 251, 0.14);
    border: 1px solid rgba(159, 211, 251, 0.3);
    color: #9fd3fb;
    font-size: 18px;
}

.contact h1{
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.08;
    color: #FFFFFF;
}

.contact-intro,
.contact-note,
.contact-links-header p{
    margin: 0 0 16px;
    color: #AFC4D9;
    font-size: 22px;
    line-height: 1.7;
}

.contact-reasons{
    margin: 34px 0 30px;
}

.contact-reasons h2,
.contact-links-header h2{
    margin: 0 0 18px;
    color: #D6E8FF;
    font-size: 34px;
}

.contact-reasons ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.contact-reasons li{
    position: relative;
    padding: 16px 18px 16px 54px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 21px;
}

.contact-reasons li::before{
    content: "";
    position: absolute;
    top: 50%;
    left: 24px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
    background-color: #9fd3fb;
    box-shadow: 0 0 0 6px rgba(159, 211, 251, 0.16);
}

.contact-links-header{
    margin-bottom: 24px;
}

.contact-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;

}

.contact-link-card{
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 18px;

    text-decoration: none;
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.contact-link-card i{
    font-size: 42px;
}

.contact-link-card span{
    font-size: 20px;
    font-weight: 600;
}

.contact-link-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
    background-color: rgba(159, 211, 251, 0.12);
    color: #9fd3fb;
}

@media (max-width: 960px){
    .contact{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px){
    .contact{
        width: calc(100% - 32px);
        margin: 12px 16px 40px;
        gap: 20px;
    }

    .contact-copy,
    .contact-links{
        padding: 24px;
        border-radius: 24px;
    }

    .contact h1{
        font-size: 42px;
    }

    .contact-intro,
    .contact-note,
    .contact-links-header p{
        font-size: 18px;
    }

    .contact-reasons h2,
    .contact-links-header h2{
        font-size: 28px;
    }

    .contact-reasons li{
        font-size: 18px;
    }

    .contact-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-link-card{
        min-height: 110px;
        border-radius: 20px;
    }

    .contact-link-card i{
        font-size: 34px;
    }

    .contact-link-card span{
        font-size: 17px;
    }
}

/* ======================
Courses
====================== */
.courses-grid{
    width: min(1200px, calc(100% - 60px));
    margin: 20px 30px 0;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.courses-section{
    flex: 1 1 320px;
    width: 320px;
    max-width: 360px;
    min-height: 400px;
    padding: 32px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(16, 78, 133, 0.95), rgba(1, 28, 56, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    border-radius: 30px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.courses-section:hover{
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(0, 0, 0, 0.28);
}

.courses-section h1{
    margin: 0;
    padding: 0;
    color: #fff;
}

.courses-section h3{
    margin: 0;
    padding: 0;
    width: 100%;
    color: rgba(255, 255, 255, 0.74);
    text-align: center;
    line-height: 1.7;
}

.courses-section .btns{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-top: auto;
}

.courses-section a{
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #001D39;
    width: 100%;
    min-height: 42px;
    background-color: #fff;
    text-align: center;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bolder;
}

@media (max-width: 700px){
    .courses-grid{
        width: calc(100% - 32px);
        margin: 12px 16px 0;
        margin-bottom: 30px;
    }

    .courses-section{
        width: 100%;
        max-width: none;
    }
}

/* ======================
    Global Responsive Improvements
====================== */

@media (max-width: 1000px){
    header{
        width: calc(100% - 48px);
        margin: 0 24px 16px;
    }

    nav{
        gap: 12px;
    }

    .menu{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        padding: 0;
    }

    #menuLinks{
        right: 0;
        max-width: min(260px, calc(100vw - 48px));
    }

    .dropdown{
        top: 62px;
        right: 0;
    }

    .hero{
        flex-direction: column;
        align-items: stretch;
        width: calc(100% - 48px);
        margin: 10px 24px 36px;
    }

    .hero-text,
    .hero-cards{
        max-width: none;
    }

    .hero-cards{
        width: 100%;
    }

    .features{
        width: calc(100% - 48px);
        margin: 0 24px 50px;
    }
}

@media (max-width: 700px){
    header{
        width: calc(100% - 32px);
        margin: 0 16px 12px;
        gap: 12px;
    }

    .one{
        gap: 10px;
    }

    .one p{
        font-size: 18px;
    }

    nav{
        gap: 10px;
    }

    .account-btn{
        padding: 10px 16px;
        font-size: 16px;
    }

    .dropdown,
    #menuLinks{
        top: 56px;
        right: 0;
    }

    #menuLinks{
        max-width: min(220px, calc(100vw - 32px));
    }

    #menuLinks a{
        width: 100%;
    }

    .hero{
        width: calc(100% - 32px);
        margin: 10px 16px 28px;
        gap: 28px;
    }

    .hero-card{
        padding: 24px;
    }

    .features{
        width: calc(100% - 32px);
        margin: 0 16px 40px;
    }

    .books-page{
        width: calc(100% - 32px);
        margin: 12px 16px 40px;
    }

    .books-hero{
        padding: 24px;
        border-radius: 24px;
    }

    .books-hero h1{
        font-size: 34px;
    }

    .books-intro{
        font-size: 18px;
    }

    .auth-page{
        width: calc(100% - 32px);
        min-height: calc(100vh - 140px);
        margin: 0 16px 40px;
        align-items: center;
        justify-content: center;
    }

    .loginF,
    .singupF,
    .reserPassword,
    .otp,
    .newPassword{
        width: calc(100vw - 32px);
        min-height: auto;
        padding: 28px 20px;
        border-radius: 24px;
    }

    .loginF p,
    .singupF p,
    .reserPassword p,
    .otp p,
    .newPassword p{
        font-size: 32px;
        text-align: center;
    }

    .loginF input,
    .singupF input,
    .reserPassword input,
    .otp input,
    .newPassword input,
    .passwords,
    .loginF .btn,
    .singupF .btn,
    .reserPassword .btn,
    .otp .btn,
    .newPassword .btn,
    .singupF button{
        width: 100%;
        max-width: none;
    }

    .loginF input,
    .singupF input,
    .reserPassword input,
    .otp input,
    .newPassword input,
    .passwords,
    .passwords input{
        font-size: 18px;
    }

    .passwords input{
        padding: 0 46px 0 18px;
    }

    #forget{
        position: static;
        transform: none;
        width: 100%;
        margin-top: 6px;
        text-align: center;
    }

    .library{
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 20px;
    }

    .library .book{
        gap: 18px;
    }

    .library .book .bookCover{
        width: 120px;
        height: 160px;
    }

    .library .book .details h1{
        font-size: 28px;
    }

    .library .book .details h2{
        font-size: 16px;
        margin-bottom: 18px;
    }

    .contact h1{
        font-size: 34px;
    }

    .contact-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .courses-section{
        width: 100%;
        max-width: none;
        min-height: auto;
        padding: 28px 20px;
    }
}

@media (max-width: 420px){
    header{
        align-items: flex-start;
    }

    nav{
        width: 100%;
        justify-content: space-between;
    }

    .hero-badge{
        font-size: 14px;
        padding: 8px 14px;
    }

    .hero-text h1{
        font-size: 32px;
    }

    .hero-text p{
        font-size: 17px;
        line-height: 1.6;
    }

    .stat-card h2{
        font-size: 28px;
    }

    .stat-card span{
        font-size: 16px;
    }

    .hero-card{
        padding: 20px;
    }

    .hero-card h3{
        font-size: 24px;
    }

    .track-list span,
    .card-label,
    .card-copy{
        font-size: 16px;
    }

    .feature-card{
        padding: 22px;
    }

    .feature-card h3{
        font-size: 24px;
    }

    .feature-card p{
        font-size: 18px;
    }

    .library .book{
        flex-direction: column;
        text-align: center;
    }

    .library .book .details > div{
        align-items: center;
        width: 100%;
    }

    .library .book .details div .btn{
        width: 100%;
    }

    .contact-copy,
    .contact-links{
        padding: 20px;
    }

    .contact h1{
        font-size: 30px;
    }

    .books-hero h1{
        font-size: 30px;
    }

    .contact-grid{
        grid-template-columns: 1fr;
    }

    .courses-section h3{
        font-size: 18px;
    }
}
