/* === 1. المحتوى الرئيسي === */
.content-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 30px 50px;
    background-color: #fff;
    gap: 5px;
}
.content-section > * {
    margin: 2px;
}
.content-section .text {
    flex: 1;
    padding-left: 20px;
    text-align: right;
}
.content-section .text h2 {
    font-size: 30px;
    color: #66638f;
    margin-bottom: 10px;
    padding: 10px;
}
.content-section .image {
    flex: 1;
    text-align: right;
}
.content-section .image img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    max-width: 100%;
}

/* === 2. الصور العرض الكامل === */
.full-screen-view {
    width: 100%;
    background-color: #66638f;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
}
.full-screen-view img {
    max-width: 75%;
    max-height: calc(100vh - 80px);
    height: auto;
    display: block;
    border-radius: 10px;
}

/* === 3. قسم الرؤية والرسالة والقيم === */
section.main-view {
    background: #fff;
    padding: 40px 20px;
}
.container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.inner-view {
    padding: 20px;
    border-radius: 12px;
}
.content-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.content-row h2 {
    margin: 0;
    font-size: 24px;
    color: #66638f;
}
.content-row img {
    width: 60px;
    height: auto;
    border-radius: 8px;
}
h4.description {
    margin-top: 15px;
    font-size: 18px;
    color: #555;
}

/* === 4. العدادات === */
.counters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}
.counter-box {
    width: calc(33.33% - 40px);
}
.circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}
.gauge-svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
.gauge-bg {
    fill: none;
    stroke: #fff;
    stroke-width: 10;
}
.gauge-fg {
    fill: none;
    stroke: #66638f;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
}
.circle-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    color: #000;
}
.circle-content .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
.circle-content .number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #73709a;
}
.circle-content .description {
    font-size: 14px;
}
.h3 {
}
/* === 5. حركات وتأثيرات === */
.slide-in-right,
.slide-in-left,
.slide-up,
.fade-in {
    opacity: 0;
}
.visible {
    opacity: 1;
}
@keyframes slideFromRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideFromLeft {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.slide-in-right {
     opacity: 0;
}
.slide-in-right.visible {
      animation: slideUp 1s ease-out forwards;
}
.slide-in-left.visible {
    animation: slideFromLeft 1s ease-out forwards;
}
.slide-up.visible {
    animation: slideUp 1s ease-out forwards;
}
/* حركة دخول العدادات من الأسفل مع تدرج */
.slide-up-counter {
   opacity: 0;
}

.slide-up-counter.visible {
    animation: slideUp 1s ease-out forwards;
}

/* === 6. Responsive === */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
        align-items: stretch;
    }
    .content-section .text {
        padding-left: 0;
        text-align: center;
    }
    .content-section .image {
        text-align: center;
        margin-top: 20px;
    }
    .counter-box {
        width: calc(50% - 40px);
    }
}
@media (max-width: 600px) {
    .content-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .content-row img {
        width: 50px;
    }
}
@media (max-width: 480px) {
    .counter-box {
        width: 100%;
    }
}
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === 7. الألوان العامة === */
.mp428-full-view-section {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
}

.mp428-title-text {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.mp428-video-box {
    width: 75%;
    max-width: 1000px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.mp428-video-box video {
    width: 100%;
    display: block;
    pointer-events: none;
}

.mp428-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 2;
}

.mp428-modal {
    display: none;
    position: fixed;
    z-index: 999;
    right: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.mp428-modal.active {
    display: flex;
}

.mp428-modal video {
    width: 90%;
    max-width: 1000px;
    border-radius: 15px;
}

.mp428-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mp428-video-box {
        width: 95%;
    }

    .mp428-title-text {
        font-size: 20px;
    }
    .mp428-full-view-section {
        height: 50vh;
    }
}

/* 61 */
.stats-section61 {
    width: 100%;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 0;
}
.stat-card61 {
    width: 30%;
    min-width: 200px;
    height: 200px;
    background: #fff;
    margin: 1.5%;
    border-radius: 16px;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: box-shadow 0.2s;
}
.stat-icon61 {
    margin-bottom: 12px;
    margin-top: 12px;
    font-size: 2rem;
    color: #66638f;
    display: block;
}
.stat-number61 {
    margin-bottom: 0px;
    margin-top: 10px;
    display: block;
    color: #66638f;
    font-size: 1.5rem;
    font-weight: bold;
}
.stat-desc61 {
    margin-top: 8px;
    font-size: 1rem;
    color: #66638f;
    text-align: center;
    letter-spacing: 0.5px;
}
@media (max-width: 1024px) {
    .stat-card61 {
        width: 80%;
        height: 150px;
    }
}
