﻿:root {
    --primary-color: #7ed958;
    --font-color: #424141;
    --secondary--color: #BB83C3;
}

body {
    font-family: 'Tajawal', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


/*********************لعنوان كل قسم*******************/
.section-title {
    position: relative;
    display: inline-block;
    font-weight: bold;
    font-size: 40px;
    color: var(--font-color);
    z-index: 1;
}

    .section-title::before {
        content: "";
        position: absolute;
        bottom: 5px;
        left: 0;
        right: 0;
        height: 15px;
        background-color: var(--primary-color);
        z-index: -1;
        border-radius: 4px;
    }

@media (max-width: 991px) {

    .section-title {
        font-size: 35px;
    }
}



/*********************زر اعلى الصفحة*******************/

html {
    scroll-behavior: smooth;
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease-in-out;
}

    #scrollTopBtn:hover {
        background-color: var(--primary-color);
    }


/********************************قسم حول طوع******************************************/

.navbar {
    background-color: transparent;
    font-weight: 600;
}


.navbar-nav .nav-link {
    color: var(--font-color);
    margin-right: 15px;
    transition: color 0.3s;
}

    .navbar-nav .nav-link:hover {
        color: #4a8b3c;
    }



.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    transform: scaleX(-1);
}

@media (max-width: 543px) {
    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        margin: auto;
        flex-direction: column;
        gap: 15px;
    }
}

.start {
    background: linear-gradient(to bottom, #7DD958, #FFFFFF00);
}

.header-section {
    text-align: center;
    padding: 100px 20px 120px;
    color: var(--font-color);
}

    .header-section h1 {
        font-weight: 800;
        font-size: 65px;
    }

    .header-section p {
        font-size: 20px;
        max-width: 600px;
        margin: 15px auto 0;
    }

/********************************قسم اهداف طوع******************************************/

.goals-section {
    padding: 0;
}

.goal-item {
    margin-bottom: 30px;
}

.goal-icon {
    width: 30px;
    margin-left: 5px;
    vertical-align: middle;
}

.goal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--font-color);
}

.goal-text {
    font-size: 20px;
    font-weight: 400;
    color: #666;
}

.goals-section {
    padding-left: 15px;
    padding-right: 15px;
}


@media (max-width: 991px) {

    .goal-title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 5px;
        color: var(--font-color);
    }

    .goal-text {
        font-size: 15px;
        font-weight: 257;
        color: #666;
    }
}

.custom-row-no-margin-right {
    margin-right: 0 !important;
}


/*-----------------------------------قسم القيم-----------------------------------*/
.values-section {
    position: relative;
    background-color: white;
    text-align: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.line {
    position: absolute;
    top: 200px;
    left: 0;
    right: 0;
    height: 0;
    border-top: 3px dashed #7ed958;
    opacity: 0.3;
    z-index: 10;
}

.gradient-from-line {
    position: absolute;
    bottom: calc(100% - 200px);
    left: 0;
    right: 0;
    height: 170px;
    background: linear-gradient(to bottom, #ffffff 0%, #F2FCEF 100%);
    z-index: 5;
}

.values-section.d-none.d-md-block .value-number {
    position: relative;
    margin-top: -3px;
    font-size: 28px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border: 6px solid #ffffff;
    user-select: none;
}

.values-section.d-none.d-md-block .value-text {
    margin-top: 1px;
    font-weight: 500;
    font-size: 32px;
    user-select: none;
}

h4.section-title {
    position: relative;
    z-index: 20;
}

.values-section.d-block.d-md-none .carousel-indicators {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    display: flex;
    justify-content: center;
    gap: 12px;
    width: auto;
    margin: 0;
    padding: 0;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #7ed958;
    opacity: 0.6;
    border: none;
    transition: opacity 0.3s ease;
}

.carousel-indicators .active {
    opacity: 1;
}

.values-section.d-block.d-md-none .carousel-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.values-section.d-block.d-md-none .value-number {
    font-size: 28px;
    width: 60px;
    height: 60px;
    background-color: #7ed958;
    color: white;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 20;
    border: 6px solid #ffffff;
    margin-top: -30px;
    user-select: none;
}

.values-section.d-block.d-md-none .value-text {
    font-weight: 500;
    font-size: 32px;
    user-select: none;
    /* margin-top: 15px;*/
}

/*  Custom JS-based transition animation  */
.carousel-item .value-number,
.carousel-item .value-text {
    opacity: 0;
}

.carousel-item.active.fade-in .value-number,
.carousel-item.active.fade-in .value-text {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------قسم حول نعناعة------------------------------------------*/

.nanaaa-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

    /* White container styling */
    .nanaaa-section .row {
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(5px);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 30px;
        border: 1px solid #ddd;
        position: relative;
        z-index: 1; /* Ensure it's above the background */
    }

    /* Text styling */
    .nanaaa-section p {
        font-weight: 400;
        font-size: 28px;
        line-height: 1.6;
        text-align: justify;
    }

/* Background div styling */
.nanaaa-background {
    margin-top: -350px; /* desktop pull up */
    z-index: 0;
    position: relative;
    background-image: url('/img/bg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center top;
    min-height: 600px;
    width: 100%;
}

/* Image styling (responsive) */
.nanaaa-section .mainmint-img {
    width: 100%;
    max-width: 350px; /* BIGGER on desktop */
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Mobile styles */
@media (max-width: 767.98px) {
    .nanaaa-section .row {
        margin: 20px 12px;
    }

    .nanaaa-section p {
        font-size: 18px;
    }

    .nanaaa-section .col-md-8 {
        order: 2;
        margin-top: 20px;
    }

    .nanaaa-section .col-md-4 {
        order: 1;
    }

    .nanaaa-section .mainmint-img {
        max-width: 220px; /* still bigger but not overwhelming on mobile */
    }

    .nanaaa-background {
        min-height: 200px;
        background-size: contain;
        margin-top: -100px; /* less pull on mobile */
    }
}

/* Tablet / iPad styles */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .nanaaa-background {
        margin-top: -200px; /* medium pull on tablet */
    }

    .nanaaa-section .mainmint-img {
        max-width: 300px; /* bigger on tablet */
    }

    .nanaaa-section p {
        font-size: 22px;
    }
}


/*--------------------------------------------قسم مجتمع طوع------------------------------------------*/
.div-bg {
    background-image: url("/img/bg1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    padding: 100px 0;
    min-height: 400px;
    position: relative;
}

    .div-bg .container {
        padding-top: 350px;
        padding-bottom: 50px;
    }



.join-text h2 {
    font-weight: 700;
    font-size: 48px;
    color: var(--font-color);
}

.join-text p {
    color: #666;
    font-size: 20px;
    font-weight: 700;
}

.join-btn {
    background-color: #c08ac4;
    color: #fff;
    font-size: 18px;
    padding: 10px 25px;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

    .join-btn i {
        margin-right: 8px;
    }

.character-full-img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 991px) {
    .div-bg .container {
        padding-top: 200px;
    }

    .join-text h2 {
        font-size: 36px;
    }

    .join-text p {
        font-size: 18px;
    }

    .character-full-img {
        max-width: 80%;
    }

    .join-btn {
        font-size: 16px;
    }
}


@media (max-width: 768px) {
    .div-bg {
        padding: 50px 0;
    }

        .div-bg .container {
            padding-top: 100px;
            padding-bottom: 30px;
        }

    .join-text h2 {
        font-size: 28px;
        text-align: center;
    }

    .join-text p {
        font-size: 16px;
        text-align: center;
    }

    .character-full-img {
        max-width: 80%;
    }

    .join-btn {
        font-size: 14px;
    }
}
/*--------------------------------------------قسم المنصة ------------------------------------------*/


.platform-section {
    background-color: #7DD958;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.platform-heading {
    font-size: 65px;
    font-weight: 700;
    color: white;
}

.platform-paragraph {
    font-size: 30px;
    font-weight: 400;
    color: white;
}

.platform-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    #platform .col-md-6.text-start {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #platform .platform-img {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        object-fit: contain;
        height: auto;
    }

    #platform .col-md-6.text-white {
        text-align: center;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .platform-heading {
        font-size: 28px;
        text-align: right;
    }

    .platform-paragraph {
        font-size: 18px;
        text-align: right;
    }
}

@media (max-width: 991px) {
    .platform-text h2 {
        font-size: 50px;
        text-align: right;
    }

    .platform-text p {
        font-size: 30px;
        text-align: right;
    }

    .platform-img {
        height: 300px;
        object-fit: contain;
    }
}


/*----------------------------------قسم التواصل-----------------------------------*/
.custom-input {
    border: 2px solid #000;
    border-radius: 6px;
    box-shadow: none;
}

.btn-hover {
    background-color: #BB83C3;
    color: white;
    font-size: 32px;
    font-weight: 700;
    border-radius: 14px;
}

    .btn-hover:hover {
        background-color: #9A6CA1;
        color: white;
        border: solid 2px #BB83C3;
    }

@media (max-width: 991px) {
    .btn-hover {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .btn-hover {
        font-size: 18px;
    }
}
/*---------------------------------------قسم الفوتر------------------------------------*/
footer {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #424141;
    color: white;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    z-index: 1000;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s;
    text-decoration: none;
}

    .social-icons a:hover {
        color: var(--secondary--color);
    }

@media (max-width: 768px) {
    footer p {
        font-size: 16px;
    }
}
