/*====================================================
SWAPSTORE GROUP
Homepage Styles
====================================================*/

/*==============================
GOOGLE FONT
===============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==============================
RESET
===============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

/*==============================
COLORS
===============================*/

:root{

    --primary:#0B4F9C;
    --secondary:#2F80ED;
    --success:#27AE60;
    --warning:#F2C94C;

    --dark:#1F2937;
    --gray:#6B7280;

    --background:#F4F8FC;
    --white:#FFFFFF;

    --shadow:0 15px 35px rgba(0,0,0,.08);

    --radius:16px;

}

/*==============================
BODY
===============================*/

body{

    background:linear-gradient(180deg,#F9FCFF,#EEF6FF);

    color:var(--dark);

    overflow-x:hidden;

    padding-top:95px;

    padding-bottom:80px;

}

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

/*====================================================
PREMIUM GLASS HEADER
====================================================*/

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 6%;

    z-index:9999;

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

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.35);

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    transition:all .35s ease;

}



/*==============================
LOGO
===============================*/

.logo-area{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-area img{

    width:60px;

    height:60px;

    object-fit:contain;

}

.logo-area h2{

    color:var(--primary);

    font-size:24px;

    font-weight:700;

}

.logo-area p{

    color:var(--gray);

    font-size:13px;

}

/*====================================================
LOGO GLOW
====================================================*/

.logo-area{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-area img{

    width:60px;

    height:60px;

    object-fit:contain;

    filter:drop-shadow(0 0 10px rgba(47,128,237,.35));

    transition:.35s;

}

.logo-area:hover img{

    transform:rotate(-6deg) scale(1.08);

    filter:drop-shadow(0 0 18px rgba(47,128,237,.55));

}

.logo-area h2{

    transition:.35s;

}

.logo-area:hover h2{

    color:var(--secondary);

}

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

nav{

    display:flex;

    align-items:center;

    gap:28px;

}

nav a{

    position:relative;

    text-decoration:none;

    color:var(--dark);

    font-weight:600;

    transition:.3s;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:20px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

    transition:.35s;

}

nav a:hover{

    color:var(--primary);

}

nav a:hover::after{

    width:100%;

}
/*==============================
REGISTER BUTTON
===============================*/

.register-btn{

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff !important;

    padding:12px 25px;

    border-radius:50px;

    transition:.35s;

    box-shadow:0 8px 20px rgba(47,128,237,.25);

}

.register-btn:hover{

    transform:translateY(-3px);

}

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

.mobile-menu{

    display:none;

    font-size:28px;

    color:var(--primary);

    cursor:pointer;

}

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

.hero{

    width:90%;

    max-width:1400px;

    margin:40px auto;

    display:grid;

    grid-template-columns:420px 1fr;

    gap:60px;

    align-items:center;

}

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

.login-card{

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

    border-radius:20px;

    padding:40px;

    box-shadow:var(--shadow);

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

}

.login-title{

    margin-bottom:30px;

}

.login-title h2{

    color:var(--primary);

    font-size:30px;

    margin-bottom:8px;

}

.login-title p{

    color:var(--gray);

}

/*==============================
INPUTS
===============================*/

.input-box{

    margin-bottom:22px;

}

.input-box label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:var(--dark);

}

.input-box label i{

    color:var(--secondary);

    margin-right:8px;

}

.input-box input{

    width:100%;

    height:52px;

    border:1px solid #d8e2ef;

    border-radius:12px;

    padding:0 15px;

    font-size:15px;

    outline:none;

    transition:.3s;

}

.input-box input:focus{

    border-color:var(--secondary);

    box-shadow:0 0 0 4px rgba(47,128,237,.10);

}

/*==============================
PASSWORD BOX
===============================*/

.password-box{

    position:relative;

}

.password-box span{

    position:absolute;

    top:50%;

    right:18px;

    transform:translateY(-50%);

    cursor:pointer;

    color:var(--gray);

}

/*==============================
REMEMBER
===============================*/

.remember{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin:20px 0 25px;

    font-size:14px;

}

.remember label{

    display:flex;

    align-items:center;

    gap:8px;

}

.remember input{

    width:16px;

    height:16px;

}

.remember a{

    text-decoration:none;

    color:var(--secondary);

}

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

.login-btn{

    width:100%;

    border:none;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    height:55px;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.35s;

    box-shadow:0 10px 25px rgba(47,128,237,.30);

}

.login-btn:hover{

    transform:translateY(-3px);

}

.login-btn i{

    margin-right:8px;

}

/*==============================
SIGNUP LINK
===============================*/

.signup-link{

    text-align:center;

    margin-top:25px;

    color:var(--gray);

}

.signup-link a{

    text-decoration:none;

    color:var(--primary);

    font-weight:600;

}

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

.hero-content h1{

    font-size:56px;

    line-height:1.2;

    color:var(--primary);

    margin-bottom:20px;

}

.hero-content p{

    color:var(--gray);

    font-size:18px;

    line-height:1.8;

    max-width:650px;

}

/*==============================
BUTTONS
===============================*/

.hero-buttons{

    display:flex;

    gap:20px;

    margin:35px 0;

}

.primary-btn{

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    transition:.35s;

    box-shadow:0 12px 25px rgba(47,128,237,.25);

}

.primary-btn:hover{

    transform:translateY(-4px);

}

.secondary-btn{

    border:2px solid var(--primary);

    color:var(--primary);

    text-decoration:none;

    padding:16px 34px;

    border-radius:50px;

    transition:.35s;

}

.secondary-btn:hover{

    background:var(--primary);

    color:#fff;

}

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

.hero-image{

    margin-top:40px;

}

.hero-image img{

    width:100%;

    max-width:650px;

    animation:floatImage 5s ease-in-out infinite;

}

@keyframes floatImage{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-18px);

    }

    100%{

        transform:translateY(0px);

    }

}

/*====================================================
ABOUT SECTION
====================================================*/

section{
    padding:80px 7%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:40px;
    color:var(--primary);
    margin-bottom:15px;
}

.section-title p{
    color:var(--gray);
    font-size:17px;
    max-width:700px;
    margin:auto;
    line-height:1.8;
}

/*====================================================
FEATURE CARDS
====================================================*/

.features-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.feature-card{

    background:var(--white);

    padding:40px 30px;

    border-radius:18px;

    box-shadow:var(--shadow);

    text-align:center;

    transition:.35s;

    position:relative;

    overflow:hidden;

}

.feature-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

}

.feature-card:hover{

    transform:translateY(-10px);

}

.feature-icon{

    width:85px;

    height:85px;

    border-radius:50%;

    margin:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    font-size:34px;

    margin-bottom:25px;

}

.feature-card h3{

    margin-bottom:18px;

    color:var(--primary);

}

.feature-card p{

    color:var(--gray);

    line-height:1.8;

}

/*====================================================
HOW IT WORKS
====================================================*/

.how-it-works{

    background:#F8FBFF;

}

.steps{

    display:flex;

    justify-content:center;

    align-items:flex-start;

    gap:18px;

    flex-wrap:wrap;

}

.step{

    width:200px;

    background:#fff;

    padding:30px;

    border-radius:18px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.step:hover{

    transform:translateY(-8px);

}

.step-number{

    width:60px;

    height:60px;

    border-radius:50%;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    margin-bottom:20px;

    font-size:22px;

    font-weight:700;

}

.step h3{

    margin-bottom:15px;

    color:var(--primary);

}

.step p{

    color:var(--gray);

    line-height:1.7;

    font-size:15px;

}

.arrow{

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    color:var(--secondary);

    padding-top:90px;

}

/*====================================================
CONTACT
====================================================*/

.contact-section{

    background:#ffffff;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.contact-card{

    background:#fff;

    border-radius:18px;

    box-shadow:var(--shadow);

    text-align:center;

    padding:40px 20px;

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-8px);

}

.contact-card i{

    width:80px;

    height:80px;

    border-radius:50%;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:32px;

    margin:auto;

    margin-bottom:25px;

}

.contact-card h3{

    margin-bottom:15px;

    color:var(--primary);

}

.contact-card p{

    color:var(--gray);

}

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

footer{

    position:fixed;

    bottom:0;

    left:0;

    width:100%;

    height:70px;

    background:#fff;

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

    display:flex;

    justify-content:space-evenly;

    align-items:center;

    z-index:9999;

}

footer a{

    display:flex;

    flex-direction:column;

    align-items:center;

    text-decoration:none;

    color:var(--gray);

    transition:.35s;

    font-size:13px;

}

footer a i{

    font-size:22px;

    margin-bottom:4px;

}

footer a:hover{

    color:var(--primary);

    transform:translateY(-3px);

}

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

.success{

    background:#E8F8EE;

    color:#27AE60;

    padding:15px;

    border-radius:12px;

    margin-bottom:20px;

}

.error{

    background:#FDECEC;

    color:#D63031;

    padding:15px;

    border-radius:12px;

    margin-bottom:20px;

}

/*====================================================
SCROLLBAR
====================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#EDF3FA;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(var(--primary),var(--secondary));

    border-radius:20px;

}

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

.feature-card,
.step,
.contact-card{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*====================================================
TABLETS
====================================================*/

@media (max-width:1100px){

header{

    padding:0 4%;

}

.hero{

    grid-template-columns:1fr;

    gap:50px;

}

.login-card{

    max-width:550px;

    margin:auto;

}

.hero-content{

    text-align:center;

}

.hero-content p{

    margin:auto;

}

.hero-buttons{

    justify-content:center;

}

.hero-image img{

    max-width:500px;

}

.arrow{

    display:none;

}

.steps{

    gap:25px;

}

}

/*====================================================
PHONES
====================================================*/

@media (max-width:768px){

body{

    padding-top:85px;

    padding-bottom:90px;

}

/* HEADER */

header{

    height:80px;

}

/* LOGO */

.logo-area img{

    width:48px;

    height:48px;

}

.logo-area h2{

    font-size:20px;

}

.logo-area p{

    display:none;

}

/* NAVIGATION */

nav{

    display:none;

}

.mobile-menu{

    display:block;

}

/* HERO */

.hero{

    width:95%;

    margin:20px auto;

    grid-template-columns:1fr;

    gap:35px;

}
nav.active{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:80px;
    left:0;
    width:100%;
    background:#fff;
    padding:20px;
    gap:18px;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    z-index:1000;
}
/* LOGIN */

.login-card{

    padding:30px 25px;

}

.login-title h2{

    font-size:28px;

}

/* HERO CONTENT */

.hero-content{

    text-align:center;

}

.hero-content h1{

    font-size:38px;

}

.hero-content p{

    font-size:16px;

    line-height:1.8;

}

.hero-buttons{

    flex-direction:column;

    align-items:center;

}

.primary-btn,
.secondary-btn{

    width:250px;

    text-align:center;

}

/* IMAGE */

.hero-image{

    margin-top:30px;

}

.hero-image img{

    width:100%;

}

/* SECTIONS */

section{

    padding:60px 20px;

}

.section-title h2{

    font-size:30px;

}

.section-title p{

    font-size:15px;

}

/* FEATURES */

.features-grid{

    grid-template-columns:1fr;

}

/* STEPS */

.steps{

    flex-direction:column;

    align-items:center;

}

.step{

    width:100%;

    max-width:350px;

}

/* CONTACT */

.contact-grid{

    grid-template-columns:1fr;

}

/* FOOTER */
/*====================================================
PREMIUM FIXED FOOTER
====================================================*/

footer{

    position:fixed;

    left:0;

    bottom:0;

    width:100%;

    height:72px;

    background:#ffffff;

    display:flex;

    justify-content:space-evenly;

    align-items:center;

    border-top:1px solid #e6edf5;

    box-shadow:0 -8px 25px rgba(0,0,0,.08);

    z-index:9999;

}

footer a{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    color:var(--gray);

    width:25%;

    height:100%;

    transition:.35s;

}

footer a i{

    font-size:22px;

    transition:.35s;

}

footer a span{

    font-size:12px;

    margin-top:5px;

    font-weight:500;

}

/* Active Button */

footer a.active{

    color:var(--primary);

}

/* Blue Indicator */

footer a.active::before{

    content:"";

    position:absolute;

    top:0;

    width:40px;

    height:4px;

    border-radius:20px;

    background:linear-gradient(90deg,var(--primary),var(--secondary));

}

/* Hover */

footer a:hover{

    color:var(--primary);

}

footer a:hover i{

    transform:translateY(-4px);

}

/* Click Animation */

footer a:active i{

    animation:bounce .35s;

}

@keyframes bounce{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.25);

    }

    100%{

        transform:scale(1);

    }

}

}

/*====================================================
SMALL PHONES
====================================================*/

@media (max-width:480px){

.logo-area h2{

    font-size:18px;

}

.hero-content h1{

    font-size:30px;

}

.login-card{

    padding:25px 18px;

}

.login-btn{

    height:52px;

}

.input-box input{

    height:50px;

}

.primary-btn,
.secondary-btn{

    width:100%;

}

.feature-card{

    padding:30px 20px;

}

.contact-card{

    padding:30px 20px;

}

.section-title h2{

    font-size:27px;

}

}

/*====================================================
SCROLL TO TOP BUTTON
====================================================*/

#topButton{

    position:fixed;

    right:25px;

    bottom:95px;

    width:50px;

    height:50px;

    border-radius:50%;

    background:linear-gradient(135deg,var(--primary),var(--secondary));

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    cursor:pointer;

    box-shadow:var(--shadow);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#topButton.show{

    opacity:1;

    visibility:visible;

}

#topButton:hover{

    transform:translateY(-5px);

}

/*====================================================
LOADING ANIMATION
====================================================*/

.login-btn.loading{

    pointer-events:none;

    opacity:.8;

}

.login-btn.loading::after{

    content:"";

    width:18px;

    height:18px;

    margin-left:10px;

    border:3px solid rgba(255,255,255,.4);

    border-top-color:#fff;

    border-radius:50%;

    display:inline-block;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/*====================================================
HOVER IMPROVEMENTS
====================================================*/

.feature-card:hover,
.contact-card:hover,
.step:hover{

    box-shadow:0 25px 45px rgba(0,0,0,.12);

}

.hero-image img:hover{

    transform:scale(1.02);

    transition:.4s;

}

.login-card:hover{

    box-shadow:0 25px 50px rgba(0,0,0,.12);

}

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

::selection{

    background:var(--secondary);

    color:#fff;

}

/*====================================================
SHRINK HEADER ON SCROLL
====================================================*/

header.scrolled{

    height:72px;

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

    box-shadow:0 12px 35px rgba(0,0,0,.08);

}

header.scrolled .logo-area img{

    width:48px;

    height:48px;

}

header.scrolled h2{

    font-size:21px;

}

header.scrolled p{

    font-size:12px;

}

body::before{

    content:"";

    position:fixed;

    top:-180px;

    left:-180px;

    width:420px;

    height:420px;

    background:#2F80ED22;

    border-radius:50%;

    filter:blur(70px);

    z-index:-1;

}

body::after{

    content:"";

    position:fixed;

    right:-180px;

    bottom:-180px;

    width:380px;

    height:380px;

    background:#27AE6020;

    border-radius:50%;

    filter:blur(70px);

    z-index:-1;

}

