body {
    font-family: 'Cairo', sans-serif;
    background: #f5f1e8;
    direction: rtl;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ========================= */
/* CONTAINER */
/* ========================= */

.container {
    max-width: 1300px;
}

/* ========================= */
/* LOGO */
/* ========================= */

.main-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-title {
    color: #4c6239;
    font-weight: bold;
    margin: 0;
    font-size: 32px;
}

.logo-subtitle {
    font-size: 18px;
    color: #7d6c40;
    font-weight: 600;
}

.logo-desc {
    color: #777;
    font-size: 14px;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero-card {
    background: #efefe3;
    border-radius: 30px;
    padding: 50px;
}

.hero-title {
    font-size: 52px;
    font-weight: bold;
    color: #30442c;
    line-height: 1.5;
}

.hero-subtitle {
    color: #666;
    font-size: 22px;
    margin-top: 20px;
}

.hero-img {
    width: 100%;
    border-radius: 25px;
    height: 420px;
    object-fit: cover;
}

/* ========================= */
/* BUTTONS */
/* ========================= */

.start-btn,
.calculate-dose-btn,
.growth-btn,
.main-calc-btn {
    background: #5c7b49;
    color: white;
    border: none;
    border-radius: 15px;
    transition: 0.3s;
}

.start-btn {
    padding: 14px 35px;
    margin-top: 20px;
    font-size: 20px;
}

    .start-btn:hover,
    .calculate-dose-btn:hover,
    .growth-btn:hover,
    .main-calc-btn:hover {
        background: #476038;
    }

/* ========================= */
/* SECTION */
/* ========================= */

.section-title {
    color: #4f5e39;
    font-size: 34px;
    font-weight: bold;
}

/* ========================= */
/* CATEGORY */
/* ========================= */

.category-box {
    background: white;
    border-radius: 25px;
    padding: 25px 15px;
    text-align: center;
    transition: 0.3s;
    height: 220px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .category-box:hover {
        transform: translateY(-5px);
    }

.category-icon {
    font-size: 48px;
    color: #5d7a48;
}

.category-text {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.first-aid-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}

/* ========================= */
/* PAGE BOX */
/* ========================= */

.page-box {
    background: white;
    border-radius: 30px;
    padding: 60px 30px;
    text-align: center;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.page-icon {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
}

.page-title {
    margin-top: 30px;
    font-size: 42px;
    font-weight: bold;
    color: #3d5735;
}

.page-desc {
    margin-top: 20px;
    font-size: 20px;
    color: #666;
}

/* ========================= */
/* DISEASES */
/* ========================= */

.disease-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #e8dfcf;
    transition: 0.3s;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

    .disease-card:hover {
        transform: translateY(-5px);
    }

.disease-icon-wrapper {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f4ec;
}

.disease-emoji {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 55px;
}

/* ========================= */
/* DRUG CARD */
/* ========================= */

.drug-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: 0.3s;
    height: 100%;
}

    .drug-card:hover {
        transform: translateY(-5px);
    }

.drug-product-box {
    padding: 20px;
}

.drug-image {
    width: 100%;
    height: 240px;
    object-fit: contain;
    background: #f7f4ec;
    border-radius: 20px;
    padding: 20px;
}

.drug-title {
    margin-top: 20px;
    font-size: 26px;
    font-weight: bold;
    color: #3d5735;
}

.drug-details {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 17px;
}

.dose-calculator-box {
    margin: 20px;
    background: #f7f4ec;
    border-radius: 20px;
    padding: 20px;
}

.calc-input,
.growth-input,
.calc-main-input {
    height: 55px;
    border-radius: 15px;
    font-size: 17px;
}

.calculate-dose-btn,
.growth-btn,
.main-calc-btn {
    width: 100%;
    height: 55px;
    font-size: 20px;
    font-weight: bold;
}

.result-box {
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #3d5735;
}

/* ========================= */
/* VACCINES */
/* ========================= */

.vaccines-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.vaccine-tab {
    width: 250px;
    height: 60px;
    border: none;
    border-radius: 18px;
    background: white;
    font-size: 20px;
    font-weight: bold;
    color: #3d5735;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

    .vaccine-tab.active {
        background: #5c7b49;
        color: white;
    }

.vaccine-main-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #3d5735;
    margin-bottom: 40px;
}

.vaccine-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    margin-bottom: 35px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.vaccine-age {
    display: inline-block;
    background: #e7f0df;
    padding: 12px 28px;
    border-radius: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #3d5735;
    margin-bottom: 35px;
}

.vaccine-item {
    background: #f7f4ec;
    border-radius: 25px;
    padding: 30px;
    height: 100%;
}

.vaccine-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    margin-bottom: 25px;
}

.vaccine-item h3 {
    color: #3d5735;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}

.extra-vaccine-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
}

.extra-vaccine-top {
    display: flex;
    align-items: center;
    gap: 20px;
}

.extra-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
}

.summary-table-box {
    background: white;
    border-radius: 30px;
    padding: 40px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.summary-title {
    text-align: center;
    color: #3d5735;
    font-size: 36px;
    font-weight: bold;
}

.vaccine-table {
    margin-top: 30px;
}

    .vaccine-table th {
        background: #5c7b49;
        color: white;
        padding: 20px;
        text-align: center;
    }

    .vaccine-table td {
        padding: 18px;
        text-align: center;
    }

/* ========================= */
/* MYTHS */
/* ========================= */

.myth-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.myth-header {
    padding: 20px;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    color: white;
}

.false {
    background: #e74c3c;
}

.true {
    background: #27ae60;
}

.myth-body {
    padding: 35px;
    font-size: 22px;
    text-align: center;
}

/* ========================= */
/* VITAMINS CARDS */
/* ========================= */

.vitamin-card-new {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

    .vitamin-card-new:hover {
        transform: translateY(-5px);
    }

/* TOP */

.vitamin-top-new {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.vitamin-icon-new {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    flex-shrink: 0;
}

.vitamin-top-new h2 {
    font-size: 30px;
    font-weight: bold;
    color: #3d5735;
    margin: 0;
}

.vitamin-sub-new {
    color: #777;
    margin-top: 5px;
    font-size: 16px;
}

/* BOXES */

.vitamin-box-new {
    background: #f7f4ec;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 20px;
}

    .vitamin-box-new h4 {
        color: #3d5735;
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 18px;
    }

    .vitamin-box-new ul {
        padding-right: 20px;
        margin: 0;
    }

    .vitamin-box-new li {
        margin-bottom: 12px;
        font-size: 17px;
        line-height: 1.9;
        color: #555;
    }

/* WARNING */

.warning-new {
    background: #fff1f0;
}

    .warning-new h4 {
        color: #c0392b;
    }

/* DESKTOP */

@media(min-width:992px) {

    .vitamin-card-new {
        min-height: 100%;
    }
}

/* TABLET */

@media(max-width:991px) {

    .vitamin-top-new h2 {
        font-size: 26px;
    }
}

/* MOBILE */

@media(max-width:768px) {

    .vitamin-card-new {
        padding: 20px;
    }

    .vitamin-top-new {
        flex-direction: column;
        text-align: center;
    }

    .vitamin-icon-new {
        width: 80px;
        height: 80px;
        font-size: 38px;
    }

    .vitamin-top-new h2 {
        font-size: 24px;
    }

    .vitamin-box-new {
        padding: 18px;
    }

        .vitamin-box-new h4 {
            font-size: 18px;
        }

        .vitamin-box-new li {
            font-size: 15px;
        }
}
.
/* ========================= */
/* MOM TIPS */
/* ========================= */
.mom-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
    transition: 0.3s;
}

.mom-card:hover {
    transform: translateY(-5px);
}

/* TOP */

.mom-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.mom-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    flex-shrink: 0;
}

.mom-top h2 {
    font-size: 30px;
    font-weight: bold;
    color: #3d5735;
    margin: 0;
}

.mom-sub {
    color: #777;
    margin-top: 5px;
    font-size: 16px;
}

/* BOX */

.mom-box {
    background: #f7f4ec;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 20px;
}

    .mom-box h4 {
        color: #3d5735;
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 18px;
    }

    .mom-box ul {
        padding-right: 20px;
        margin: 0;
    }

    .mom-box li {
        margin-bottom: 12px;
        font-size: 17px;
        line-height: 1.9;
        color: #555;
    }

/* MOBILE */

@media(max-width:768px) {

    .mom-card {
        padding: 20px;
    }

    .mom-top {
        flex-direction: column;
        text-align: center;
    }

    .mom-icon {
        width: 80px;
        height: 80px;
        font-size: 38px;
    }

    .mom-top h2 {
        font-size: 24px;
    }

    .mom-box {
        padding: 18px;
    }

        .mom-box h4 {
            font-size: 18px;
        }

        .mom-box li {
            font-size: 15px;
        }
}
/* ========================= */
/* MYTHS NEW */
/* ========================= */

.myth-card-new {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
    transition: 0.3s;
}

    .myth-card-new:hover {
        transform: translateY(-5px);
    }

/* HEADER */

.myth-header-new {
    padding: 18px;
    text-align: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
}

.false-bg {
    background: #e74c3c;
}

/* BODY */

.myth-body-new {
    padding: 30px;
}

    .myth-body-new h3 {
        color: #3d5735;
        font-size: 28px;
        font-weight: bold;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .myth-body-new p {
        color: #666;
        font-size: 18px;
        line-height: 1.9;
    }

/* FACT */

.fact-box-new {
    background: #f4fbf1;
    border-top: 1px solid #dbead2;
    padding: 30px;
}

.fact-title {
    color: #27ae60;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 18px;
}

.fact-box-new p {
    color: #555;
    font-size: 18px;
    line-height: 2;
}

/* MOBILE */

@media(max-width:768px) {

    .myth-header-new {
        font-size: 22px;
    }

    .myth-body-new {
        padding: 20px;
    }

        .myth-body-new h3 {
            font-size: 22px;
        }

        .myth-body-new p {
            font-size: 15px;
        }

    .fact-box-new {
        padding: 20px;
    }

    .fact-title {
        font-size: 22px;
    }

    .fact-box-new p {
        font-size: 15px;
    }
}
/* ========================= */
/* FIRST AID */
/* ========================= */

.emergency-alert {
    background: #fff1f0;
    border: 1px solid #ffd4cf;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.alert-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffddd8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
}

.emergency-alert h3 {
    color: #c0392b;
    font-size: 30px;
    font-weight: bold;
}

.emergency-alert p {
    color: #666;
    font-size: 18px;
    margin-top: 10px;
}

/* CARD */

.aid-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
}

.aid-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.aid-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
}

.aid-top h2 {
    font-size: 30px;
    font-weight: bold;
    color: #3d5735;
}

.aid-sub {
    color: #777;
    margin-top: 5px;
}

/* BOX */

.aid-box {
    background: #f7f4ec;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 20px;
}

    .aid-box h4 {
        color: #3d5735;
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 18px;
    }

    .aid-box ul {
        padding-right: 20px;
        margin: 0;
    }

    .aid-box li {
        margin-bottom: 12px;
        font-size: 17px;
        line-height: 1.9;
        color: #555;
    }

/* WARNING */

.aid-warning {
    background: #fff1f0;
    color: #c0392b;
    border-radius: 20px;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
}

/* MOBILE */

@media(max-width:768px) {

    .emergency-alert {
        flex-direction: column;
        text-align: center;
    }

    .aid-card {
        padding: 20px;
    }

    .aid-top {
        flex-direction: column;
        text-align: center;
    }

        .aid-top h2 {
            font-size: 24px;
        }

    .aid-box {
        padding: 18px;
    }

        .aid-box h4 {
            font-size: 18px;
        }

        .aid-box li {
            font-size: 15px;
        }
}
/* ========================= */
/* DISEASE INFO */
/* ========================= */

.disease-info-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.disease-info-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.disease-info-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e7f0df;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
}

.disease-info-top h2 {
    font-size: 34px;
    font-weight: bold;
    color: #3d5735;
    margin: 0;
}

.disease-subtitle {
    color: #777;
    margin-top: 5px;
}

/* BOX */

.disease-box {
    background: #f7f4ec;
    border-radius: 22px;
    padding: 22px;
    height: 100%;
}

    .disease-box h4 {
        color: #3d5735;
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 18px;
    }

    .disease-box p,
    .disease-box li {
        color: #555;
        font-size: 17px;
        line-height: 1.9;
    }

    .disease-box ul {
        padding-right: 20px;
        margin: 0;
    }

/* WARNING */

.warning-box {
    background: #fff1f0;
}

    .warning-box h4 {
        color: #c0392b;
    }

/* MOBILE */

@media(max-width:768px) {

    .disease-info-card {
        padding: 20px;
    }

    .disease-info-top {
        flex-direction: column;
        text-align: center;
    }

        .disease-info-top h2 {
            font-size: 26px;
        }

    .disease-box {
        padding: 18px;
    }

        .disease-box h4 {
            font-size: 18px;
        }

        .disease-box p,
        .disease-box li {
            font-size: 15px;
        }
}
/* ========================= */
/* EARLY DETECTION */
/* ========================= */

.early-header {
    background: linear-gradient(135deg,#e7f0df,#f7f4ec);
    border-radius: 35px;
    padding: 60px 30px;
    text-align: center;
}

.early-header-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
    margin-bottom: 25px;
}

.early-header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #3d5735;
}

.early-header p {
    font-size: 22px;
    color: #666;
    margin-top: 20px;
    line-height: 1.8;
}

/* NOTE */

.important-note {
    background: #fff8e7;
    border: 1px solid #f6d365;
    border-radius: 25px;
    padding: 25px;
    font-size: 22px;
    color: #8a6d3b;
    line-height: 2;
}

/* CARD */

.early-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #e8dfcf;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
}

.autism-card {
    border-top: 8px solid #9b59b6;
}

.down-card {
    border-top: 8px solid #f1c40f;
}

/* TOP */

.early-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.early-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f7f4ec;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
}

.early-top h2 {
    font-size: 34px;
    font-weight: bold;
    color: #3d5735;
}

.early-sub {
    color: #777;
    margin-top: 5px;
}

/* BOX */

.early-box {
    background: #f7f4ec;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 20px;
}

    .early-box h4 {
        color: #3d5735;
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 18px;
    }

    .early-box li {
        color: #555;
        font-size: 17px;
        line-height: 1.9;
        margin-bottom: 10px;
    }

/* MOBILE */

@media(max-width:768px) {

    .early-header {
        padding: 35px 20px;
    }

        .early-header h1 {
            font-size: 30px;
        }

        .early-header p {
            font-size: 17px;
        }

    .important-note {
        font-size: 17px;
    }

    .early-top {
        flex-direction: column;
        text-align: center;
    }

        .early-top h2 {
            font-size: 26px;
        }
}
/* ========================= */
/* SIMPLE DETECTION CARD */
/* ========================= */

.simple-detection-card {
    background: white;
    border-radius: 28px;
    padding: 35px 25px;
    text-align: center;
    display: block;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
}

    .simple-detection-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    }

.simple-detection-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #f7f1ff;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    margin-bottom: 22px;
}

.simple-detection-card h3 {
    font-size: 32px;
    font-weight: bold;
    color: #3d5735;
    line-height: 1.6;
}

    .simple-detection-card h3 span {
        color: #d63031;
    }

.simple-detection-card p {
    margin-top: 18px;
    color: #777;
    font-size: 16px;
    line-height: 1.8;
}

/* MOBILE */

@media(max-width:768px) {

    .simple-detection-card {
        padding: 28px 18px;
    }

        .simple-detection-card h3 {
            font-size: 24px;
        }

        .simple-detection-card p {
            font-size: 14px;
        }
}
/* ========================= */
/* FOOTER */
/* ========================= */

.custom-footer {
    margin-top: 80px;
    background: #f7f4ec;
    padding: 60px 0 30px;
    border-top: 1px solid #e5dccb;
}

.footer-title {
    text-align: center;
    font-size: 34px;
    font-weight: bold;
    color: #3d5735;
    margin-bottom: 40px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.footer-link-card {
    background: white;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

    .footer-link-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }

.footer-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #eef5e8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    flex-shrink: 0;
}

.footer-link-card h4 {
    color: #3d5735;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

.footer-link-card p {
    color: #777;
    margin: 0;
    line-height: 1.7;
}

.footer-copy {
    text-align: center;
    margin-top: 45px;
    color: #888;
    font-size: 15px;
}

/* MOBILE */

@media(max-width:992px) {

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-link-card {
        padding: 20px;
    }

        .footer-link-card h4 {
            font-size: 20px;
        }
}

/* ========================= */
/* VITAMINS PAGE */
/* ========================= */

.vitamins-header {
    background: linear-gradient(135deg,#eef5e8,#f7f4ec);
    border-radius: 35px;
    padding: 60px 30px;
    text-align: center;
}

.vitamins-header-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 55px;
    margin-bottom: 25px;
}

.vitamins-header h1 {
    font-size: 46px;
    font-weight: bold;
    color: #3d5735;
}

.vitamins-header p {
    color: #666;
    font-size: 22px;
    margin-top: 20px;
    line-height: 1.8;
}

/* NOTE */

.vitamins-note {
    background: #fff8e7;
    border: 1px solid #f6d365;
    border-radius: 25px;
    padding: 25px;
    font-size: 22px;
    color: #8a6d3b;
    line-height: 2;
}

/* TITLE */

.section-title {
    font-size: 34px;
    font-weight: bold;
    color: #3d5735;
}

/* MINI CARD */

.mini-vitamin-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    height: 100%;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-size: 42px;
}

    .mini-vitamin-card h4 {
        margin-top: 20px;
        color: #3d5735;
        font-weight: bold;
    }

    .mini-vitamin-card p {
        color: #777;
        margin-top: 10px;
        line-height: 1.8;
    }

/* AGE CARD */

.age-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    height: 100%;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.age-top {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #eef5e8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    margin-bottom: 25px;
}

.age-card h3 {
    color: #3d5735;
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 25px;
}

.age-card li {
    color: #555;
    line-height: 2;
    margin-bottom: 15px;
    font-size: 17px;
}

/* FOCUS */

.focus-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    height: 100%;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-size: 45px;
}

    .focus-card h4 {
        margin-top: 18px;
        color: #3d5735;
        font-weight: bold;
    }

    .focus-card p {
        color: #777;
        margin-top: 10px;
        line-height: 1.8;
    }

/* FOOD */

.food-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-size: 50px;
    height: 100%;
}

    .food-card h4 {
        margin-top: 20px;
        color: #3d5735;
        font-weight: bold;
    }

    .food-card p {
        color: #777;
        margin-top: 12px;
        line-height: 1.8;
    }

/* FINAL */

.final-vitamin-note {
    background: #eef5e8;
    border-radius: 30px;
    padding: 35px;
    text-align: center;
    font-size: 24px;
    color: #3d5735;
    font-weight: bold;
    line-height: 2;
}

/* MOBILE */

@media(max-width:768px) {

    .vitamins-header {
        padding: 35px 20px;
    }

        .vitamins-header h1 {
            font-size: 30px;
        }

        .vitamins-header p {
            font-size: 17px;
        }

    .section-title {
        font-size: 26px;
    }

    .vitamins-note {
        font-size: 17px;
    }

    .age-card h3 {
        font-size: 24px;
    }

    .final-vitamin-note {
        font-size: 18px;
    }
}

/* ========================= */
/* MODERN MOM PAGE */
/* ========================= */

.mom-header {
    background: linear-gradient(135deg,#eef5e8,#f7f4ec);
    border-radius: 35px;
    padding: 60px 30px;
    text-align: center;
}

.mom-header-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 55px;
    margin-bottom: 25px;
}

.mom-header h1 {
    font-size: 46px;
    font-weight: bold;
    color: #3d5735;
}

.mom-header p {
    font-size: 22px;
    color: #666;
    margin-top: 20px;
}

/* QUICK */

.quick-tips {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-tip {
    background: white;
    border-right: 6px solid #5d8b4a;
    padding: 18px 22px;
    border-radius: 18px;
    font-size: 18px;
    color: #444;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* CARD */

.modern-mom-card {
    background: white;
    border-radius: 30px;
    padding: 30px;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
}

.modern-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.modern-icon {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: #eef5e8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}

.modern-top h2 {
    font-size: 30px;
    font-weight: bold;
    color: #3d5735;
}

.modern-sub {
    color: #777;
}

.modern-box {
    background: #f7f4ec;
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 18px;
}

    .modern-box h4 {
        color: #3d5735;
        font-size: 21px;
        margin-bottom: 15px;
    }

    .modern-box li {
        line-height: 2;
        color: #555;
        margin-bottom: 10px;
    }

/* MEDICINE */

.medicine-tip-card {
    background: white;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    font-size: 45px;
    height: 100%;
}

    .medicine-tip-card h4 {
        margin-top: 20px;
        color: #3d5735;
        font-weight: bold;
    }

    .medicine-tip-card p {
        margin-top: 12px;
        color: #777;
        line-height: 1.8;
        font-size: 15px;
    }

/* WARNING */

.warning-card {
    background: #fff4f4;
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    border: 1px solid #ffd6d6;
    height: 100%;
    font-size: 45px;
}

    .warning-card h4 {
        margin-top: 20px;
        color: #c0392b;
        font-weight: bold;
    }

    .warning-card p {
        margin-top: 12px;
        color: #777;
        line-height: 1.8;
        font-size: 15px;
    }

/* EMERGENCY */

.emergency-box {
    background: #fff0f0;
    border: 2px solid #ffcccc;
    border-radius: 30px;
    padding: 40px;
}

    .emergency-box h2 {
        color: #c0392b;
        font-size: 34px;
        font-weight: bold;
        margin-bottom: 30px;
    }

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

    .emergency-grid div {
        background: white;
        padding: 18px;
        border-radius: 18px;
        text-align: center;
        color: #444;
        font-weight: 600;
    }

/* MOBILE */

@media(max-width:768px) {

    .mom-header {
        padding: 35px 20px;
    }

        .mom-header h1 {
            font-size: 30px;
        }

        .mom-header p {
            font-size: 17px;
        }

    .modern-top {
        flex-direction: column;
        text-align: center;
    }

        .modern-top h2 {
            font-size: 24px;
        }

    .emergency-grid {
        grid-template-columns: 1fr;
    }

    .emergency-box h2 {
        font-size: 24px;
    }
}

/* ========================= */
/* GROWTH PAGE */
/* ========================= */

.growth-header {
    background: linear-gradient(135deg,#eef5e8,#f7f4ec);
    border-radius: 35px;
    padding: 60px 30px;
    text-align: center;
}

.growth-header-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: white;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 55px;
    margin-bottom: 25px;
}

.growth-header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #3d5735;
}

.growth-header p {
    font-size: 22px;
    color: #666;
    margin-top: 20px;
    line-height: 1.8;
}

/* NOTE */

.growth-note {
    background: #fff8e7;
    border: 1px solid #f6d365;
    border-radius: 25px;
    padding: 22px;
    font-size: 20px;
    color: #8a6d3b;
    line-height: 2;
    text-align: center;
}

/* CALCULATOR */

.growth-calculator {
    background: white;
    border-radius: 35px;
    padding: 40px;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.growth-label {
    font-size: 18px;
    font-weight: bold;
    color: #3d5735;
    margin-bottom: 12px;
    display: block;
}

.growth-input {
    height: 60px;
    border-radius: 18px;
    border: 1px solid #ddd;
    font-size: 18px;
    padding: 15px;
}

    .growth-input:focus {
        border-color: #5d8b4a;
        box-shadow: none;
    }

/* BUTTON */

.growth-btn {
    width: 100%;
    height: 65px;
    border: none;
    border-radius: 20px;
    background: #5d8b4a;
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: 0.3s;
}

    .growth-btn:hover {
        background: #4c743d;
    }

/* RESULTS */

.result-card {
    background: white;
    border-radius: 30px;
    padding: 35px;
    text-align: center;
    border: 1px solid #ece5d8;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    height: 100%;
}

.result-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #eef5e8;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 42px;
    margin-bottom: 25px;
}

.result-card h3 {
    font-size: 28px;
    font-weight: bold;
    color: #3d5735;
    margin-bottom: 20px;
}

.result-number {
    font-size: 34px;
    font-weight: bold;
    color: #5d8b4a;
    margin-bottom: 15px;
}

.result-status {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

/* MOBILE */

@media(max-width:768px) {

    .growth-header {
        padding: 35px 20px;
    }

        .growth-header h1 {
            font-size: 30px;
        }

        .growth-header p {
            font-size: 17px;
        }

    .growth-note {
        font-size: 16px;
    }

    .growth-calculator {
        padding: 25px;
    }

    .growth-btn {
        font-size: 18px;
    }

    .result-card {
        padding: 25px;
    }

        .result-card h3 {
            font-size: 22px;
        }

    .result-number {
        font-size: 28px;
    }
}
/* ========================= */
/* AI CHAT */
/* ========================= */

.ai-chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #5d8b4a;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

    .ai-chat-button:hover {
        transform: scale(1.08);
    }

/* BOX */

.ai-chat-box {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 370px;
    height: 600px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.show-ai-chat {
    display: flex;
}

/* HEADER */

.ai-chat-header {
    background: #5d8b4a;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

    .ai-chat-header button {
        background: none;
        border: none;
        color: white;
        font-size: 22px;
        cursor: pointer;
    }

/* MESSAGES */

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* MESSAGE */

.ai-message {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 20px;
    line-height: 1.8;
    font-size: 15px;
}

    .ai-message.bot {
        background: white;
        align-self: flex-start;
        border-bottom-left-radius: 8px;
        box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    }

    .ai-message.user {
        background: #5d8b4a;
        color: white;
        align-self: flex-end;
        border-bottom-right-radius: 8px;
    }

/* INPUT */

.ai-chat-input-area {
    padding: 18px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: white;
}

    .ai-chat-input-area input {
        flex: 1;
        border: none;
        background: #f1f1f1;
        border-radius: 15px;
        padding: 14px;
        font-size: 15px;
        outline: none;
    }

    .ai-chat-input-area button {
        border: none;
        background: #5d8b4a;
        color: white;
        padding: 0 20px;
        border-radius: 15px;
        font-weight: bold;
        cursor: pointer;
    }

/* MOBILE */

@media(max-width:768px) {

    .ai-chat-box {
        width: 95%;
        right: 2.5%;
        height: 85vh;
        bottom: 90px;
    }

    .ai-chat-button {
        width: 65px;
        height: 65px;
    }
}
/* ========================= */
/* AI CHAT ENHANCEMENTS      */
/* ========================= */
.ai-chat-box {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    font-family: 'Cairo', sans-serif;
}

.show-ai-chat {
    display: flex !important;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ai-chat-header {
    background: #198754; /* Success Bootstrap color */
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .ai-chat-header button {
        background: none;
        border: none;
        color: white;
        font-size: 18px;
        cursor: pointer;
    }

.ai-chat-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-message {
    max-width: 85%;
    padding: 12px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
}

    .ai-message.bot {
        background: #e9ecef;
        color: #212529;
        align-self: flex-start;
        border-bottom-right-radius: 2px;
    }

    .ai-message.user {
        background: #198754;
        color: white;
        align-self: flex-end;
        border-bottom-left-radius: 2px;
    }

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.quick-reply-btn {
    background: white;
    border: 1px solid #198754;
    color: #198754;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

    .quick-reply-btn:hover {
        background: #198754;
        color: white;
    }

.ai-chat-input-area {
    padding: 10px;
    background: white;
    border-top: 1px solid #dee2e6;
    display: flex;
    gap: 8px;
}

    .ai-chat-input-area input {
        flex-grow: 1;
        border: 1px solid #ced4da;
        border-radius: 20px;
        padding: 8px 15px;
        outline: none;
    }

    .ai-chat-input-area button {
        background: #198754;
        color: white;
        border: none;
        border-radius: 20px;
        padding: 8px 15px;
        cursor: pointer;
    }

.typing-indicator {
    font-style: italic;
    color: #6c757d;
    font-size: 12px;
    padding: 5px;
}
/* ========================================= */
/* تنسيقات صفحة الفيتامينات والمعادن         */
/* ========================================= */

.vitamins-page-container {
    font-family: 'Cairo', sans-serif;
}

/* --- الهيدر --- */
.vitamins-header {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(25, 135, 84, 0.2);
    margin-bottom: 2rem;
}

.vitamins-header-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.vitamins-header h1 {
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.vitamins-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* --- الملاحظات التحذيرية والنهائية --- */
.vitamins-note {
    background-color: #fff3cd;
    border-right: 5px solid #ffc107; /* الخط يمين لأن الاتجاه RTL */
    color: #856404;
    padding: 1.2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.final-vitamin-note {
    background-color: #d1e7dd;
    border-right: 5px solid #198754;
    color: #0f5132;
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* --- العناوين الرئيسية للأقسام --- */
.section-title {
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background-color: #198754;
        border-radius: 2px;
    }

/* --- الكروت المشتركة (لضمان نفس الارتفاع والشكل) --- */
.mini-vitamin-card, .focus-card, .food-card, .age-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%; /* مهم جداً عشان الكروت في نفس الصف تكون متساوية */
    border: 1px solid #f8f9fa;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    /* تأثير الـ Hover على كل الكروت */
    .mini-vitamin-card:hover, .focus-card:hover, .food-card:hover, .age-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.1);
        border-color: #198754;
    }

/* --- التنسيق الداخلي للكروت الصغيرة (الأسباب / التركيز / الأكل) --- */
.mini-vitamin-card, .focus-card, .food-card {
    text-align: center;
    align-items: center;
}

.mini-vitamin-card, .focus-card, .food-card {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}
    /* للأيقونات */
    .mini-vitamin-card h4, .focus-card h4, .food-card h4 {
        color: #198754;
        font-weight: 700;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .mini-vitamin-card p, .focus-card p, .food-card p {
        color: #6c757d;
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.6;
    }

/* --- التنسيق الداخلي لكروت المراحل العمرية --- */
.age-top {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.age-card h3 {
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px dashed #e9ecef;
}

.age-card ul {
    padding-right: 1.2rem;
    margin: 0;
    flex-grow: 1; /* عشان يملى المساحة لو الكارت طويل */
}

.age-card li {
    color: #495057;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 1rem;
}

    .age-card li strong {
        color: #198754;
    }

.result-box {
    background: #f8fff9;
    border: 2px solid #198754;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}
.dose-result .alert {
    border-radius: 18px;
    font-weight: 600;
}
/* --- تعديلات ذكية للموبايل --- */
@media (max-width: 768px) {
    /* 1. تصغير النصوص الكبيرة في الـ Hero */
    .hero-title {
        font-size: 32px !important; /* كان 52 */
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 18px !important; /* كان 22 */
    }

    /* 2. تصغير العناوين في الصفحات (Page Titles) */
    .page-title {
        font-size: 28px !important;
    }

    /* 3. تصغير العناوين في الأقسام */
    .section-title {
        font-size: 24px !important;
    }

    /* 4. ظبط المساحات (Padding) للموبايل عشان ما يبقاش النص لازق في الحواف */
    .hero-card, .page-box {
        padding: 25px 15px !important;
    }
}
