﻿/* =========================================
   BASE DESGINE
========================================= */

:root {
    --cream: #fbf6ee;
    --white: #fffdf9;
    --brown: #49342b;
    --brown-light: #77685e;
    --brand: #c65b35;
    --brand-dark: #ad4929;
    --gold: #df9a3f;
    --green: #789878;
    --border: #eee3d7;
}


/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Cairo", sans-serif;
    color: var(--brown);
    background: var(--cream);
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    height: 74px;
    background: var(--white) !important;
    border-color: var(--border) !important;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 11px;
    background: linear-gradient( 135deg, #c65b35, #e39a45 );
    box-shadow: 0 7px 18px rgba(198, 91, 53, .22);
}

.brand-name {
    color: var(--brown);
    font-size: 24px;
    font-weight: 800;
}


.nav-link {
    color: #806f65 !important;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--brand) !important;
    }


/* =========================================
   BRAND BUTTON
========================================= */

.btn-brand {
    color: white !important;
    border: none;
    background: linear-gradient( 135deg, var(--brand), #df8140 );
    border-radius: 9px;
    font-weight: 700;
    box-shadow: 0 7px 18px rgba(198, 91, 53, .20);
}

    .btn-brand:hover {
        background: var(--brand-dark);
    }


/* =========================================
   OUTLINE BUTTON
========================================= */

.btn-outline-warm {
    color: var(--brand);
    border: 1px solid #e4c8b6;
    background: var(--white);
    border-radius: 9px;
    font-weight: 700;
}

    .btn-outline-warm:hover {
        color: var(--brand-dark);
        background: #f9eadf;
        border-color: #d9ae95;
    }


/* =========================================
   HERO
========================================= */

.hero {
    height: calc(100vh - 0px);
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 5% 15%, rgba(223, 154, 63, .14), transparent 24% ), radial-gradient( circle at 95% 85%, rgba(198, 91, 53, .10), transparent 27% ), var(--cream);
    z-index: 10;
}


    /* Decorative circles */

    .hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 520px;
        border: 65px solid rgba(198, 91, 53, .045);
        border-radius: 50%;
        top: -250px;
        left: -100px;
        z-index: -1;
    }

    .hero::after {
        content: "";
        position: absolute;
        width: 270px;
        height: 270px;
        background: rgba(223, 154, 63, .06);
        border-radius: 50%;
        right: -120px;
        bottom: -120px;
        z-index: -1;
    }

    .z-10{
        z-index: 10;
    }
/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
    position: relative;
    z-index: 2;
}

.badge-warm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    color: #b45532;
    background: #f8e9da;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

    .badge-warm span {
        color: var(--gold);
    }


.hero-title {
    color: #422d25;
    line-height: 1.15;
    letter-spacing: -1px;
}

    .hero-title span {
        display: block;
        background: linear-gradient( 90deg, #c65b35, #d87b38, #e09b46 );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }


.hero-description {
    max-width: 590px;
    color: var(--brown-light);
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
   LEARNING PATHS
========================================= */

.learning-section {
    max-width: 680px;
}

.path-symbol {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    background: #f8e8da;
    border-radius: 8px;
}

.path-card {
    min-height: 78px;
    padding: 11px 13px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 13px;
    position: relative;
    overflow: hidden;
    text-decoration-line: none;
    transition: .25s;
}

    .path-card:hover {
        transform: translateY(-3px);
        border-color: #e0c4b0;
        box-shadow: 0 10px 25px rgba(80, 55, 40, .08);
    }


    /* Side line */

    .path-card::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        width: 4px;
        height: 100%;
    }

    .path-card:nth-child(1)::before {
        background: #c96b4a;
    }

    .path-card:nth-child(2)::before {
        background: #d39742;
    }

    .path-card:nth-child(3)::before {
        background: #789878;
    }

    .path-card:nth-child(4)::before {
        background: #df713b;
    }


/* Path icon */

.path-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 21px;
}

.icon-red {
    background: #f8e8df;
}

.icon-gold {
    background: #fbf0dc;
}

.icon-green {
    background: #e8f0e6;
}

.icon-orange {
    background: #fae8dc;
}


.path-card h3 {
    color: #4a352d;
    font-size: 21px;
    margin: 0 0 2px;
}

.path-card p {
    color: #9a887c;
    font-size: 18px;
    margin: 0;
}

.card-arrow {
    margin-right: auto;
    color: #b8a79c;
    font-size: 14px;
}


/* =========================================
   DASHBOARD
========================================= */

.learning-dashboard {
    max-width: 450px;
    margin: auto;
    padding: 23px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(76, 53, 39, .11);
    position: relative;
    overflow: hidden;
}


/* Decorations */

.dashboard-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one {
    width: 180px;
    height: 180px;
    background: #f8e8dc;
    top: -100px;
    left: -80px;
}

.decoration-two {
    width: 140px;
    height: 140px;
    background: #e8f0e6;
    right: -60px;
    bottom: -70px;
}


/* Header */

.dashboard-header {
    position: relative;
    z-index: 2;
}

    .dashboard-header small {
        color: #a08f84;
        font-size: 10px;
    }

    .dashboard-header h2 {
        color: #49342b;
        font-size: 18px;
    }


/* Icon */

.dashboard-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient( 135deg, #c65b35, #e29a45 );
    border-radius: 10px;
}


/* =========================================
   ILLUSTRATION
========================================= */

.education-illustration {
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-education-icon {
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient( 135deg, #f8e8dc, #f8f0dd );
    border-radius: 38px;
    font-size: 58px;
    box-shadow: 0 12px 30px rgba(198, 91, 53, .10);
}


/* Floating */

.floating-icon {
    position: absolute;
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 11px;
    box-shadow: 0 7px 18px rgba(80, 55, 40, .08);
    font-size: 18px;
}

.floating-one {
    top: 22px;
    right: 65px;
}

.floating-two {
    top: 75px;
    left: 55px;
}

.floating-three {
    bottom: 18px;
    right: 105px;
}


/* =========================================
   PROGRESS
========================================= */

.progress-box {
    padding: 15px;
    background: #fcf8f3;
    border: 1px solid #f0e7dd;
    border-radius: 13px;
    position: relative;
    z-index: 2;
}

    .progress-box > div:first-child span {
        color: #75665d;
        font-size: 11px;
    }

    .progress-box strong {
        color: var(--brand);
        font-size: 13px;
    }

.progress {
    height: 7px;
    background: #eee4da;
}

.progress-bar {
    background: linear-gradient( 90deg, #c65b35, #df8b3d, #d9a34f );
}

.progress-box small {
    color: #a09289;
    font-size: 9px;
}


/* =========================================
   STATS
========================================= */

.dashboard-stat {
    padding: 9px;
    text-align: center;
    background: #fffaf5;
    border: 1px solid #f0e8df;
    border-radius: 10px;
}

    .dashboard-stat strong {
        display: block;
        color: #49342b;
        font-size: 17px;
    }

    .dashboard-stat span {
        color: #a09289;
        font-size: 9px;
    }


/* =========================================
   DESKTOP HEIGHT
========================================= */

@media (min-width: 992px) {

    .hero .container-fluid {
        height: 100%;
    }
}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 991px) {

    .hero {
        height: auto;
        min-height: calc(100vh - 74px);
        overflow: auto;
        padding: 45px 0;
        z-index: 10;
    }

    .learning-dashboard {
        margin-top: 15px;
    }
}


@media (max-width: 575px) {

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 14px;
    }

    .path-card {
        min-height: 72px;
    }

    .learning-dashboard {
        padding: 18px;
    }
}

.user-icon {
    width: 32px;
    height: 32px;
    position: relative;
}

    .user-icon::before {
        content: "";
        position: absolute;
        top: -5px;
        left: 6px;
        width: 20px;
        height: 20px;
        background: #aaa;
        border-radius: 50%;
    }

    .user-icon::after {
        content: "";
        position: absolute;
        bottom: -3px;
        left: -3px;
        width: 38px;
        height: 18px;
        background: #aaa;
        border-radius: 15px 15px 4px 4px;
    }