:root {
    --main_white_color: #F8F9FA;
    --main_blue_color: #4ECDC4;
    --main_orange_color: #F99413;
    --main_black_color: #13140E;
    --bg_color: #F8F9FA;
    --text_color: #13140E;
    --section_bg: #FFFFFF;
    --card_bg: #FFFFFF;
}

body.dark-mode {
    --main_white_color: #F8F9FA;
    --main_blue_color: #252B33;
    --main_orange_color: #F99413;
    --main_black_color: #13140E;
    --bg_color: #1A1D23;
    --text_color: #F8F9FA;
    --section_bg: #252B33;
    --card_bg: #2D3339;
}

@font-face {
    font-family: 'DG';
    src: url('Fonts/DGEnab-Regular.ttf');
}

@font-face {
    font-family: 'AGA';
    src: url('Fonts/Cairo-VariableFont_slnt\,wght.ttf');
}

* {
    margin: 0;
    box-sizing: border-box;
    padding: 0;
}

h1 {
    color: var(--main_white_color);
    font-family: 'DG';
    font-size: 64px;
    font-style: normal;
    font-weight: 400;
    line-height: 80.099px;
    transition: color 0.4s ease;
}

h2 {
    color: var(--main_white_color);
    text-align: right;
    font-family: 'AGA';
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: color 0.4s ease;
}

.h2-2 {
    color: var(--main_orange_color);
    font-family: 'DG';
    font-size: 34px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h3 {
    color: var(--main_orange_color);
    font-family: 'DG';
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h4 {
    color: var(--main_white_color);
    text-align: center;
    font-family: 'AGA';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    transition: color 0.4s ease;
}

h5 {
    color: var(--main_orange_color);
    font-family: 'AGA';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

h6 {
    color: var(--main_white_color);
    font-family: 'AGA';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: color 0.4s ease;
}

body {
    margin: 0;
    background-color: var(--bg_color);
    width: 100%;
    position: relative;
    min-height: 100vh;
    transition: background-color 0.4s ease;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h4,
body.dark-mode h6 {
    color: var(--text_color);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--bg_color);
    transition: background-color 0.4s ease;
}

.hero_sec {
    width: 1280px;
    height: 829px;
    background-size: contain;
    background-repeat: no-repeat;
}

.header {
    width: 1180px;
    padding: 10px 70px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--main_blue_color);
    border-radius: 57px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: background-color 0.4s ease;
}

.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    list-style: none;
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav__link {
    color: var(--main_white_color);
    text-decoration: none;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #FFF;
    font-family: 'AGA';
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: color 0.4s ease;
}

body.dark-mode .nav__link {
    color: var(--text_color);
}

.nav__link_active {
    color: var(--main_orange_color);
    text-decoration: none;
    font-family: 'AGA';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.nav__logo {
    width: 79.482px;
    height: 36px;
}

.nav_buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav_circle-button {
    background-color: var(--main_white_color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36.973px;
    height: 36.973px;
    border-radius: 34.663px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav_circle-button:hover {
    transform: scale(1.1);
}

body.dark-mode .nav_circle-button {
    background-color: var(--card_bg);
}

.nav_button {
    background-color: var(--main_white_color);
    border-radius: 45px;
    display: flex;
    padding: 8px 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.nav_icon {
    width: 24px;
    height: 24px;
}

.login_button {
    color: var(--main_blue_color);
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #5EDDD4;
    font-family: 'AGA';
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
}

.herosec_div1 {
    display: flex;
    width: 358px;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-top: 415px;
    margin-left: 185px;
}

.hero_button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 52px;
    background: var(--main_orange_color);
    padding: 13.099px 58px 9.767px 59px;
}

.hero_button_text {
    color: #13140E;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #13140E;
    font-family: 'AGA';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.herosec_div2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero_button:hover {
    cursor: pointer;
    background: var(--main_blue_color);
}

.section2 {
    width: 1280px;
    height: 832px;
    background-color: var(--main_orange_color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.4s ease;
}

body.dark-mode .section2 {
    background-color: var(--section_bg);
}

.sec2_div1 {
    display: flex;
    width: 811.665px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 34px;
}

.sec2_div2 {
    display: flex;
    width: 1178px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.h2-3 {
    cursor: pointer;
}

.section3 {
    display: flex;
    width: 1280px;
    padding: 137px 94.31px 137.024px 94px;
    justify-content: center;
    align-items: center;
    background-color: var(--bg_color);
    transition: background-color 0.4s ease;
}

.sec3_div1 {
    display: flex;
    width: 1091.69px;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.sec3_div2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-direction: row;
}

.sec3_div3 {
    display: flex;
    width: 397px;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.sec3_div4 {
    display: flex;
    width: 664.69px;
    height: 408.976px;
    padding: 18.325px 29.295px 18.325px 29.986px;
    justify-content: center;
    align-items: center;
    border-radius: 28.32px;
    background: rgba(219, 219, 219, 0.27);
    transition: background-color 0.4s ease;
}

body.dark-mode .sec3_div4 {
    background: rgba(45, 51, 57, 0.5);
}

.section3 h1 {
    color: var(--main_orange_color);
}

.section3 h2 {
    color: var(--main_orange_color);
}

#text8 {
    white-space: pre-line;
}

.section4 {
    display: flex;
    width: 1280px;
    padding: 161px 94.31px 161.204px 94px;
    justify-content: center;
    align-items: center;
    background-color: var(--main_blue_color);
    transition: background-color 0.4s ease;
}

.sec4_div1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 62px;
}

.sec4_div2 {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.sec4_div3 {
    display: flex;
    width: 338.796px;
    height: 350px;
    justify-content: center;
    align-items: center;
    border-radius: 25.623px;
    background: var(--main_orange_color);
    transition: all 0.3s ease;
    cursor: pointer;
}

body.dark-mode .sec4_div3 {
    background: var(--card_bg);
}

.sec4_div4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    height: 100%;
}

.sec4_div5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
}

.section4 h1 {
    color: var(--main_white_color);
}

.section4_icon {
    width: 86px;
    height: 86px;
    transition: transform 0.4s ease;
}

.sec4_div3:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.sec4_div3:hover h2,
.sec4_div3:hover h4 {
    color: var(--main_white_color);
}

.sec4_div3:hover .section4_icon {
    transform: scale(1.15);
}

.sec4_div4 h2,
.sec4_div4 h4 {
    transition: color 0.4s ease;
}

.section5 {
    display: flex;
    width: 1280px;
    padding: 107px 54px 108px 54px;
    justify-content: center;
    align-items: center;
    background-color: var(--bg_color);
    transition: background-color 0.4s ease;
}

.section5_div1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.section5_div2 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-direction: row;
}

.arrow-lift_icon,
.arrow-right_icon {
    width: 77px;
    height: 77px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow-lift_icon img {
    width: 60px;
    height: 60px;
    transform: rotate(180deg);
    transition: all 0.3s ease;
}

.arrow-right_icon img {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.arrow-lift_icon:hover img,
.arrow-right_icon:hover img {
    transform: scale(1.2);
}

.arrow-lift_icon:hover img {
    transform: scale(1.2) rotate(180deg);
}

.section5_div3 {
    width: 958px;
    height: 578px;
    border-radius: 25.623px;
    display: flex;
    align-items: center;
    background: var(--main_orange_color);
    justify-content: space-between;
    overflow: hidden;
    transition: background-color 0.4s ease;
}

body.dark-mode .section5_div3 {
    background: var(--card_bg);
}

.section5_div4 {
    display: flex;
    width: 369px;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    margin-right: 50px;
}

.section5_img {
    width: 479px;
    height: 578px;
    object-fit: cover;
    border-radius: 26px 0 0 26px;
}

.h1_2 {
    color: #F8F9FA;
    text-align: right;
    font-family: 'DG';
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.button_2 {
    display: flex;
    width: 368px;
    padding: 13px 0;
    justify-content: center;
    align-items: center;
    border-radius: 26px;
    background: var(--main_white_color);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .button_2 {
    background: var(--card_bg);
}

.button_2:hover {
    transform: scale(1.05);
}

.button_2 h5 {
    color: var(--main_orange_color);
}

.h4_2 {
    text-align: right;
    color: var(--main_white_color);
    line-height: 1.6;
    transition: color 0.4s ease;
}

body.dark-mode .h4_2 {
    color: var(--text_color);
}

.section5 h1 {
    color: var(--main_orange_color);
    text-align: center;
}

footer {
    width: 1280px;
    padding: 44px 42.12px 57.453px 43px;
    background: var(--main_orange_color);
    transition: background-color 0.4s ease;
}

body.dark-mode footer {
    background: var(--section_bg);
}

.footer_div1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40.089px;
}

.footer_div2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.social_links {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.social_icon {
    width: 26px;
    height: 26px;
}

.footer_line {
    width: 1194.88px;
    height: 0;
    border-top: 3px solid var(--main_white_color);
    opacity: 0.66;
}

.footer_div3 {
    display: flex;
    align-items: flex-start;
    gap: 33.408px;
}

.login {
    width: 1280px;
    height: 682.667px;
    background-image: url('Assets/Login.jpg');
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_div1 {
    width: 499.625px;
    height: 596px;
    border-radius: 5.072px;
    background: var(--main_white_color);
    box-shadow: 0 0 2.536px 0 rgba(0, 0, 0, 0.08);
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main_blue_color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.05s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-gif {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #4ECDC4 0%, #F99413 100%);
}

.login-box {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

.login-box h2 {
    text-align: center;
    color: #13140E;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #13140E;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
}

.input-group input:focus {
    border-color: #4ECDC4;
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: #F99413;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.login-btn:hover {
    background: #4ECDC4;
}

.error-message {
    color: #721c24;
    background: #f8d7da;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}