/* ==========================================
   RJ PRODUCTION
   LOGIN PAGE
   style.css
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#0b1120;

    color:#fff;

    overflow-x:hidden;

}

/* Scrollbar */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#111827;
}

::-webkit-scrollbar-thumb{

    background:#2563eb;
    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#3b82f6;

}

/* ===========================
        HEADER
=========================== */

header{

    width:100%;

    height:80px;

    background:#08101f;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 60px;

    position:fixed;

    top:0;

    left:0;

    z-index:999;

    box-shadow:0 5px 20px rgba(0,0,0,.4);

}

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo img{

    width:60px;

    height:60px;

    object-fit:contain;

}

.logo h2{

    font-size:26px;

    font-weight:700;

}

.logo span{

    font-size:13px;

    color:#9ca3af;

}

/* ===========================
        NAVIGATION
=========================== */

nav ul{

    display:flex;

    list-style:none;

    gap:35px;

}

nav ul li{

    list-style:none;

}

nav ul li a{

    color:white;

    text-decoration:none;

    font-size:16px;

    font-weight:500;

    transition:.3s;

    position:relative;

}

nav ul li a:hover{

    color:#3b82f6;

}

nav ul li a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0%;

    height:2px;

    background:#3b82f6;

    transition:.3s;

}

nav ul li a:hover::after{

    width:100%;

}

/* ===========================
        HERO
=========================== */

.hero{

    width:100%;

    min-height:500px;

    margin-top:80px;

    background:url("../images/banner.jpg") center center/cover no-repeat;

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.65);

}

.hero-content{

    position:relative;

    text-align:center;

    z-index:2;

    padding:20px;

}

.hero-content h1{

    font-size:55px;

    margin-bottom:20px;

    font-weight:700;

    color:white;

}

.hero-content p{

    font-size:20px;

    color:#d1d5db;

}

/* ===========================
      SECTION SPACING
=========================== */

section{

    padding:70px 8%;

}

/* Glass Effect */

.glass{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.15);

}

/* Buttons */

button{

    cursor:pointer;

    font-family:'Poppins',sans-serif;

    transition:.3s;

}


/* ==========================================
        LOGIN SECTION
========================================== */

.login-section{

    width:100%;

    min-height:700px;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:80px 20px;

    background:linear-gradient(135deg,#0b1120,#111827,#1e293b);

}

/* ===========================
        LOGIN BOX
=========================== */

.login-box{

    width:100%;

    max-width:470px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.15);

    border-radius:20px;

    padding:40px;

    box-shadow:0 15px 40px rgba(0,0,0,.45);

    transition:.35s;

}

.login-box:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 60px rgba(37,99,235,.25);

}

/* ===========================
        TITLE
=========================== */

.login-box h2{

    text-align:center;

    font-size:34px;

    font-weight:700;

    margin-bottom:10px;

    color:#ffffff;

}

.login-box p{

    text-align:center;

    color:#cbd5e1;

    margin-bottom:35px;

    font-size:15px;

}

/* ===========================
        FORM
=========================== */

#loginForm{

    width:100%;

}

/* ===========================
        INPUT GROUP
=========================== */

.input-group{

    margin-bottom:22px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    color:#f3f4f6;

}

/* ===========================
        INPUT
=========================== */

.input-group input{

    width:100%;

    height:55px;

    border:none;

    outline:none;

    padding:0 18px;

    border-radius:12px;

    background:#1f2937;

    color:white;

    font-size:15px;

    transition:.3s;

}

.input-group input:focus{

    border:2px solid #2563eb;

    background:#111827;

}

/* Placeholder */

.input-group input::placeholder{

    color:#9ca3af;

}

/* ===========================
        SELECT
=========================== */

.input-group select{

    width:100%;

    height:55px;

    border:none;

    outline:none;

    border-radius:12px;

    background:#1f2937;

    color:white;

    padding:0 15px;

    font-size:15px;

    transition:.3s;

}

.input-group select:focus{

    border:2px solid #2563eb;

    background:#111827;

}

/* ===========================
        LOGIN BUTTON
=========================== */

.login-btn{

    width:100%;

    height:58px;

    margin-top:15px;

    border:none;

    border-radius:14px;

    background:linear-gradient(90deg,#2563eb,#3b82f6);

    color:white;

    font-size:17px;

    font-weight:600;

    transition:.35s;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

}

.login-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(37,99,235,.45);

}

.login-btn:active{

    transform:scale(.98);

}

/* ===========================
        MESSAGE
=========================== */

#message{

    text-align:center;

    margin-top:18px;

    font-size:15px;

    font-weight:600;

    color:#f87171;

}

/* Success */

.success{

    color:#22c55e !important;

}

/* Error */

.error{

    color:#ef4444 !important;

}

/* ===========================
        INPUT ICON (Future)
=========================== */

.input-group{

    position:relative;

}

.input-group i{

    position:absolute;

    right:18px;

    top:45px;

    color:#9ca3af;

    pointer-events:none;

}

/* ===========================
        LOGIN ANIMATION
=========================== */

.login-box{

    animation:loginFade .8s ease;

}

@keyframes loginFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
        BUTTON LOADING
=========================== */

.login-btn.loading{

    opacity:.8;

    pointer-events:none;

}

.login-btn.loading::after{

    content:"";

    width:18px;

    height:18px;

    border:2px solid #ffffff;

    border-top:2px solid transparent;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}


/* ==========================================
        INFO SECTION
========================================== */

.info-section{

    width:100%;

    padding:90px 8%;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    background:#111827;

}

/* ===========================
        CARD
=========================== */

.card{

    background:#1f2937;

    border-radius:18px;

    padding:40px 30px;

    text-align:center;

    border:1px solid rgba(255,255,255,.08);

    transition:.35s;

    cursor:pointer;

    overflow:hidden;

    position:relative;

}

.card::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.08),
        transparent
    );

    transition:.8s;

}

.card:hover::before{

    left:100%;

}

.card:hover{

    transform:translateY(-10px);

    box-shadow:0 18px 45px rgba(37,99,235,.28);

    border-color:#2563eb;

}

/* ===========================
        ICON
=========================== */

.card i{

    width:90px;

    height:90px;

    line-height:90px;

    border-radius:50%;

    font-size:34px;

    color:#ffffff;

    background:linear-gradient(135deg,#2563eb,#3b82f6);

    margin-bottom:25px;

}

/* ===========================
        TITLE
=========================== */

.card h3{

    font-size:24px;

    margin-bottom:15px;

    color:#ffffff;

    font-weight:600;

}

/* ===========================
        TEXT
=========================== */

.card p{

    font-size:15px;

    line-height:28px;

    color:#d1d5db;

}

/* ===========================
        SECTION TITLE
=========================== */

.section-title{

    width:100%;

    text-align:center;

    margin-bottom:50px;

}

.section-title h2{

    font-size:40px;

    color:#ffffff;

    margin-bottom:15px;

}

.section-title p{

    color:#cbd5e1;

    font-size:16px;

}

/* ==========================================
        FOOTER
========================================== */

footer{

    width:100%;

    background:#08101f;

    padding:60px 20px 30px;

    border-top:1px solid rgba(255,255,255,.08);

}

/* Footer Container */

.footer-content{

    max-width:1200px;

    margin:auto;

    text-align:center;

}

/* Logo Title */

.footer-content h2{

    font-size:34px;

    color:#ffffff;

    margin-bottom:15px;

}

/* Description */

.footer-content p{

    color:#cbd5e1;

    font-size:15px;

    line-height:28px;

    margin-bottom:10px;

}

/* ===========================
        SOCIAL ICONS
=========================== */

.social-icons{

    margin:30px 0;

}

.social-icons a{

    width:48px;

    height:48px;

    display:inline-flex;

    justify-content:center;

    align-items:center;

    margin:0 8px;

    border-radius:50%;

    background:#1f2937;

    color:#ffffff;

    text-decoration:none;

    font-size:18px;

    transition:.35s;

}

.social-icons a:hover{

    background:#2563eb;

    transform:translateY(-6px);

}

/* ===========================
        COPYRIGHT
=========================== */

.copyright{

    margin-top:35px;

    padding-top:20px;

    border-top:1px solid rgba(255,255,255,.08);

    color:#9ca3af;

    font-size:14px;

}

/* ===========================
        BACK TO TOP
=========================== */

.back-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:50px;

    height:50px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#2563eb;

    color:#ffffff;

    text-decoration:none;

    font-size:18px;

    box-shadow:0 10px 25px rgba(37,99,235,.4);

    transition:.35s;

    z-index:999;

}

.back-top:hover{

    transform:translateY(-5px);

    background:#3b82f6;

}

/* ===========================
        FADE ANIMATION
=========================== */

.card{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================
        RESPONSIVE DESIGN
========================================== */


/* ===========================
        LARGE LAPTOP
=========================== */

@media(max-width:1400px){

header{

padding:0 40px;

}

.hero-content h1{

font-size:48px;

}

}


/* ===========================
        LAPTOP
=========================== */

@media(max-width:1200px){

header{

padding:0 30px;

}

nav ul{

gap:22px;

}

.hero-content h1{

font-size:42px;

}

.info-section{

grid-template-columns:repeat(2,1fr);

gap:25px;

}

}


/* ===========================
        TABLET
=========================== */

@media(max-width:992px){

header{

height:auto;

padding:20px;

flex-direction:column;

gap:18px;

position:relative;

}

.logo{

justify-content:center;

}

nav{

width:100%;

}

nav ul{

justify-content:center;

flex-wrap:wrap;

gap:18px;

}

.hero{

margin-top:0;

min-height:420px;

}

.hero-content h1{

font-size:38px;

}

.hero-content p{

font-size:18px;

}

.login-section{

padding:60px 20px;

}

.login-box{

max-width:600px;

}

.info-section{

grid-template-columns:1fr;

}

.footer-content h2{

font-size:30px;

}

}


/* ===========================
        MOBILE
=========================== */

@media(max-width:768px){

.logo{

flex-direction:column;

text-align:center;

}

.logo img{

width:70px;

height:70px;

}

.logo h2{

font-size:24px;

}

nav ul{

flex-direction:column;

gap:15px;

}

.hero{

padding:80px 20px;

min-height:380px;

}

.hero-content h1{

font-size:32px;

line-height:45px;

}

.hero-content p{

font-size:16px;

}

.login-section{

padding:50px 15px;

}

.login-box{

padding:30px 22px;

border-radius:18px;

}

.login-box h2{

font-size:28px;

}

.login-box p{

font-size:14px;

}

.input-group input,

.input-group select{

height:52px;

font-size:14px;

}

.login-btn{

height:54px;

font-size:16px;

}

.card{

padding:30px 20px;

}

.card h3{

font-size:22px;

}

.card p{

font-size:14px;

line-height:24px;

}

.footer-content{

padding:0 15px;

}

.footer-content h2{

font-size:26px;

}

.footer-content p{

font-size:14px;

line-height:24px;

}

.social-icons a{

width:45px;

height:45px;

font-size:17px;

}

.back-top{

width:45px;

height:45px;

right:18px;

bottom:18px;

}

}


/* ===========================
        SMALL MOBILE
=========================== */

@media(max-width:576px){

section{

padding:55px 18px;

}

.hero-content h1{

font-size:28px;

}

.hero-content p{

font-size:15px;

}

.login-box{

padding:25px 18px;

}

.login-box h2{

font-size:25px;

}

.input-group label{

font-size:14px;

}

.card{

padding:25px 18px;

}

.card i{

width:75px;

height:75px;

line-height:75px;

font-size:28px;

}

.card h3{

font-size:20px;

}

.footer{

padding:45px 15px;

}

.footer-content h2{

font-size:24px;

}

}


/* ===========================
        EXTRA SMALL
=========================== */

@media(max-width:400px){

.hero-content h1{

font-size:24px;

line-height:36px;

}

.hero-content p{

font-size:14px;

}

.logo h2{

font-size:20px;

}

.logo span{

font-size:12px;

}

.login-box{

padding:20px 15px;

}

.login-btn{

height:50px;

font-size:15px;

}

.card{

padding:20px 15px;

}

.card i{

width:65px;

height:65px;

line-height:65px;

font-size:24px;

}

.card h3{

font-size:18px;

}

.card p{

font-size:13px;

}

.footer-content h2{

font-size:22px;

}

.footer-content p{

font-size:13px;

}

}


/* ===========================
        IMAGE FIX
=========================== */

img{

max-width:100%;

height:auto;

display:block;

}


/* ===========================
        FORM FIX
=========================== */

input,
select,
button{

width:100%;

}


/* ===========================
        FLEX FIX
=========================== */

.row{

display:flex;

flex-wrap:wrap;

gap:20px;

}

.col{

flex:1 1 300px;

}


/* ===========================
        END
=========================== */