*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    
}
/* header styling */
header{
    /* position: fixed; */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 2rem;
    padding-top: 20px;
    background: whitesmoke;
    backdrop-filter: blur(12px);
    z-index: 10;
    align-items: center;
    transition: .5s;
}

.logo{
    font-weight: bolder;
    font-size: 1.5rem;
    color: blueviolet;
    letter-spacing: 1px;
}

nav{
    display: flex;
    gap: 1rem;
}
nav a{
    text-decoration: none;
    font-size: 1.2rem;
    color: #000;
    transition: 0.3s;

}
nav a:hover{
    color: blueviolet
}
.btn-div{
    gap: 2rem;
}
.btn-div button{
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: none;

}
#signin{
    background-color: blueviolet;
    color: white;
    transition: .5s ease-in-out;
}
#signup{
    border: 2px solid blueviolet;
    background: transparent;
    color: blueviolet;
    transition: .5s ease-in-out;
}
header:hover{
    box-sizing: border-box;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
} 

            /* main section styling */




/* HERO */
.hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:80px 60px;
}

/* TEXT */
.hero-text{
    max-width:500px;
}

.badge{
    background:#ede9fe;
    color:#6d28d9;
    padding:6px 12px;
    border-radius:20px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:20px;
    font-size:14px;
}

.hero-text h1{
    font-size:48px;
    margin-bottom:20px;
}

.hero-text span{
    color:#7c3aed;
}

.hero-text p{
    color:#475569;
    margin-bottom:25px;
}

/* BUTTONS */
.buttons{
    align-items:center;
    margin-bottom:20px;  
}

.btn-primary{
    background:#6d28d9;
    color:white;
    padding:12px 20px;
    border:none;
    border-radius:8px;
    cursor:pointer;
}


/* POINTS */
.points{
    display:flex;
    gap:20px;
    font-size:14px;
    color:#475569;
}

.points i{
    color:#6d28d9;
}

/* IMAGE */
.hero-img img{
    width:550px;
 
    border-radius:12px;
    box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

/* FEATURES */
.features{
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding:80px 60px;
    text-align:center;
    color:white;
}

.features .label{
    font-size:14px;
    opacity:0.8;
}

.features h2{
    font-size:32px;
    margin:10px 0;
}

.features .sub{
    margin-bottom:40px;
}

/* CARDS */
.cards{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.card{
    background:white;
    color:#1e293b;
    padding:25px;
    border-radius:12px;
    width:250px;
    text-align:left;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

}

.card .icon{
    background:#ede9fe;
    color:#6d28d9;
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    margin-bottom:15px;
}

.card h3{
    margin-bottom:10px;
}

.card p{
    color:#475569;
    font-size:14px;
}

.hamburger{
    cursor: pointer;
    display: none;

}
.hamburger i{
   font-size: 2rem;

}



            /* signup page styling */
 .auth-body {
    background: linear-gradient(135deg, blueviolet 0%, #8b5cf6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);;
    max-width: 1000px;
    width: 90%;
    overflow: hidden;
    min-height: 600px;
}

.auth-left {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-section {
    margin-bottom: 40px;
}

.logo-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: inline-flex;
    width: 100px;
    height: 100px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-bottom: 20px;
}

.logo-section h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-weight: 700;
}

.logo-section p {
    font-size: 18px;
    opacity: 0.9;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.feature-item i {
    font-size: 24px;
    flex-shrink: 0;
}

.auth-right {
    padding: 60px 40px;
    align-items: center;
    justify-content: center;
}

#forme {
    width: 100%;
    max-width: 400px;
}

#forme h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color:  #0f172a;
}

.subtitle {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 14px;
}

form{
    margin-top: 50px;
    border-radius: 10px;
    padding: 20px;
}
#form-group{
    padding-bottom: 30px;
}
#form-group  label{
    display: block;
    font-size: x-large;
}
#form-group input[type = text], #form-group input[type = password] {
    border-radius: 10px;
    padding: 8px;
    width: 95%;
    height: 3rem;
}
input[type = submit]{
    background-color: #333;
    color: white;
    padding: 7px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: larger;
    
}
input[type = submit]:hover{
    background-color: red;
}

.auth-link {
    text-align: center;
    font-size: 14px;
    color: #64748b;
    margin-top: 20px;
}

.auth-link a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* ======================
        CTA
====================== */

.cta{

    margin-top:100px;
    padding:90px 20px;

    background:
    linear-gradient(
    135deg,
    #1e3a8a,
    #2563eb,
    #3b82f6);

}

.cta-content{

    max-width:900px;

    margin:auto;

    text-align:center;

    background:#0f172a;

    color:#fff;

    border-radius:20px;

    padding:70px 40px;

}

.cta-content h2{

    font-size:2.5rem;

    margin-bottom:20px;

}

.cta-content p{

    max-width:650px;

    margin:auto;

    line-height:1.8;

    color:#cbd5e1;

}

.cta-buttons{

    margin-top:40px;

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.cta-btn-primary{

    padding:16px 34px;

    background:#2563eb;

    color:#fff;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.cta-btn-primary:hover{

    background:#1d4ed8;

    transform:translateY(-4px);

}

.cta-btn-secondary{

    padding:16px 34px;

    border:2px solid #fff;

    color:#fff;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.cta-btn-secondary:hover{

    background:#fff;

    color:#0f172a;

}

  /* footer styling */
/* ==========================
        FOOTER
========================== */

.footer{

    margin-top:120px;
    background:#0f172a;
    color:#fff;

}

.footer-top{

    max-width:1200px;

    margin:auto;

    padding:70px 25px;

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}

.footer-brand h2{

    font-size:2rem;

    margin-bottom:18px;

    font-weight:700;

}

.footer-brand p{

    max-width:420px;

    line-height:1.8;

    color:#cbd5e1;

}

.footer-links,
.footer-contact{

    display:flex;

    flex-direction:column;

}

.footer-links h3,
.footer-contact h3{

    margin-bottom:20px;

    font-size:1.1rem;

}

.footer-links a,
.footer-contact a{

    color:#cbd5e1;

    text-decoration:none;

    margin-bottom:14px;

    transition:.3s ease;

}

.footer-links a:hover,
.footer-contact a:hover{

    color:#ffffff;

    transform:translateX(5px);

}

.footer-contact p{

    margin-top:15px;

    color:#94a3b8;

    line-height:1.7;

}

.footer-divider{

    height:1px;

    background:rgba(255,255,255,.08);

    width:100%;

}

.footer-bottom{

    max-width:1200px;

    margin:auto;

    padding:25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}

.footer-bottom p{

    color:#94a3b8;

    font-size:.95rem;

}

/* Mobile */

@media(max-width:768px){

.footer-top{

grid-template-columns:1fr;

text-align:center;

}

.footer-brand p{

margin:auto;

}

.footer-links,
.footer-contact{

align-items:center;

}

.footer-bottom{

flex-direction:column;

text-align:center;

}

}


/* error messages from back-end */
.error-message{
    color:#ff4d4d;
    font-size:14px;
    margin-top:8px;
    margin-bottom:0;
}

@media (max-width:700px) {
    .menu{
        display: none;
    }
    .hamburger{
        display: block;
        font-size: 1.6rem;
    }
    .menu.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0;
        background-color: #E4E9F7;
        top: 4rem;
        gap: 3rem;
        align-items: start;
        padding: 1rem;
        width: 50%;
        transition: .4s ease-in-out;
    }
    nav{
        flex-direction: column;
    }
    .btn-div{
        display: none;
    }

    .hero{
        flex-direction: column;
        padding: 50px 20px;
        gap: 30px;
        text-align: center;
       
    }


    .hero-img img{
    width:100%;
    max-width:350px;
    height:auto;
    }

    .auth-left{
        display: none;
    }

    .auth-right{
        padding: 20px;
        width: 190%;
    }

    #forme{
        padding: 0;
        min-width: 100%;
    }

    #forme h2, p{
        text-align: center;
    }

    form{
        margin-top: 0px;
    }
}

body{
    overflow-x:hidden;
}