:root{
    --primary:#6366f1;
    --secondary:#8b5cf6;
    --dark:#111827;
    --gray:#64748b;
    --light:#f8fafc;
}



body{
    font-family:Inter,Segoe UI,Arial,sans-serif;
    color:var(--dark);
}

.accent{
    color:#f97316;
    /* --light:#f8fafc;
    --accent:#f59e0b; */
}
/* NAVBAR */

.navbar{
    padding:22px 0;
}

.nav-link{
    color:#334155;
    margin-left:25px;
    font-weight:500;
    transition:.3s;
}

.nav-link:hover{
    color:#6366f1;
}

/* BUTTON */

.btn-primary-custom{
    background:linear-gradient(
        135deg,
        #6366f1,
        #8b5cf6
    );

    border:none;
    color:white;
    border-radius:40px;
    padding:14px 32px;
    font-weight:600;
    transition:.3s;
}


.btn-primary-custom:hover{
    color:white;
    transform:translateY(-3px);
    box-shadow:
    0 15px 35px rgba(99,102,241,.35);
}

.btn-outline-custom{
    border:1px solid #c7d2fe;
    color:#4f46e5;
    border-radius:40px;
    padding:14px 32px;
    font-weight:600;
}

.btn-outline-custom:hover{
    background:#eef2ff;
}

/* HERO */

.hero{
    padding:120px 0;
    background:
    radial-gradient(
        circle at 90% 10%,
        rgba(99,102,241,.18),
        transparent 35%
    ),

    radial-gradient(
        circle at 10% 90%,
        rgba(139,92,246,.15),
        transparent 35%
    );
}

.hero h1{
    font-size:58px;
    font-weight:800;
    line-height:1.1;
}

.hero p{
    margin-top:30px;
    margin-bottom:35px;
    font-size:20px;
    color:var(--gray);
    max-width:560px;
}



.hero-image{
    border-radius:25px;
    box-shadow:
    0 30px 80px rgba(15,23,42,.15);
    animation:float 6s ease-in-out infinite;
}

@keyframes float{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }

}

/* STATS */

.stats{
    padding:60px 0;
}


.stat h2{
    color:#6366f1;
    font-weight:800;
}

.stat p{
    color:var(--gray);
}

/* FEATURES */

.features{
    background:#f8fafc;
    padding:90px 0;
}



.card-feature{
    background:white;
    border-radius:24px;
    padding:35px;
    height:100%;
    border:1px solid #eef2ff;
    transition:.35s;
}



.card-feature:hover{
    transform:translateY(-10px);
    box-shadow:
    0 25px 60px rgba(15,23,42,.12);
}



.card-feature i{
    font-size:42px;
    background:
    linear-gradient(
        135deg,
        #6366f1,
        #8b5cf6
    );
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}



.card-feature h4{
    margin-top:25px;
    font-weight:700;
}

.card-feature p{
    color:var(--gray);
}

/* MOBILE */

@media(max-width:992px){

.hero{
    text-align:center;
}


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


.hero p{
    margin-left:auto;
    margin-right:auto;
}


.hero-image{
    margin-top:50px;
}

}

/*

  Messages

*/

.errors_div {
  background-color: rgb(137, 6, 6);
  color: white;
  /* font-weight: bold; */
  padding: 5px;
  border-radius: 4px;
  margin: 0px;
  border: 1px;
  border-color: #000;
  border-radius: 5px;
}

.correct_div {
  background-color: rgb(5, 116, 68);
  color: white;
  /* font-weight: bold; */
  padding: 5px;
  border-radius: 4px;
  margin: 0px;
  border: 1px;
  border-color: #000;
  border-radius: 5px;
}

/* Footer */

.footer {
    background: #101827;
    color: #cbd5e1;
    padding: 70px 0 25px;
}


.footer-brand {
    font-family: "Bebas Neue", sans-serif;
    font-size: 42px;
    letter-spacing: 1px;
    color: white;
}

.footer-brand span {
    color: #6b7cff;
}


.footer-text {
    margin-top: 15px;
    max-width: 350px;
    line-height: 1.7;
    color: #94a3b8;
}


.footer h5 {
    color: white;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 20px;
}


.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}


.footer-menu li {
    margin-bottom: 12px;
}


.footer-menu a {
    color: #94a3b8;
    text-decoration: none;
    transition: .2s;
}


.footer-menu a:hover {
    color: #ffffff;
}


.social-links {
    display: flex;
    gap: 14px;
}


.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b;
    color: white;
    border-radius: 50%;
    transition: .25s;
}


.social-links a:hover {
    background: #5b6cff;
}


.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 50px;
    padding-top: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 14px;
    color: #64748b;
}


.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    margin-left: 20px;
}


@media(max-width:768px){

    .footer-bottom {
        flex-direction: column;
        gap:15px;
        text-align:center;
    }

}

/* ========================================
   Navbar Search
   ======================================== */

.navbar-search {
    margin-left: 35px;
    margin-right: 30px;
}

.search-wrapper {
    position: relative;
    width: 260px;
}

.search-input {
    width: 100%;
    height: 40px;
    padding: 8px 45px 8px 16px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    background: #f8fafc;
    color: #111827;

    font-family: 'Inter', sans-serif;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-input:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.search-input:focus {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.10);
}

.search-button {
    position: absolute;
    top: 0;
    right: 0;

    width: 42px;
    height: 40px;

    border: 0;
    background: transparent;

    color: #64748b;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: color 0.2s ease;
}

.search-button:hover {
    color: #6366f1;
}

.search-button i {
    font-size: 16px;
}


/* ========================================
   Mobile
   ======================================== */

@media (max-width: 991.98px) {

    .navbar-search {
        margin: 20px 0 15px 0;
        width: 100%;
    }

    .search-wrapper {
        width: 100%;
    }

    .search-input {
        height: 42px;
    }

    .search-button {
        height: 42px;
    }

}