@import url("https://fonts.googleapis.com/css2?family=Changa:wght@200..800&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Changa", sans-serif;
    text-align: center;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(0, 79, 255, 0.45) 0px 25px 20px -27px;
    padding: 0 15px;
    height: 60px;
    position: sticky;
    top: 0;
    font-weight: 600;
    background-color: #fff;
    z-index: 100;
}

a {
    text-decoration: none;
    color: #004fff;
}

/*  */
@keyframes scaleIn {
    to {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        background-color: rgba(0, 0, 0, 0);
    }
    to {
        background-color: rgba(0, 0, 0, 0.5);
    }
}
.loader-overlay {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s;
}
.loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    font-size: 2em;
    font-weight: 900;
}
.loader > * {
    color: #004fff;
}
.loader span {
    display: inline-flex;
}
.loader span:nth-child(2) {
    letter-spacing: -1em;
    overflow: hidden;
    animation: reveal 1500ms cubic-bezier(0.645, 0.045, 0.355, 1) infinite
        alternate;
}
@keyframes reveal {
    0%,
    100% {
        opacity: 0.5;
        letter-spacing: -1em;
    }
    50% {
        opacity: 1;
        letter-spacing: 0em;
    }
}

.page-content {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 40px;
    text-align: center;
}
.page-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/*  */
.menu-container {
    position: relative;
    display: inline-block;
}
.menu-container button {
    background: none;
    border: none;
    color: #004fff;
}
.user-btn {
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.user-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    z-index: 999;
    background-color: #fff;
}

.dropdown-menu a {
    padding: 7px 15px;
    font-size: 20px;
    text-align: right;
    display: block;
    text-decoration: none;
    color: #004fff;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f2f2f2;
}

.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-btn {
    font-size: 30px;
}
.learn_btn {
    display: inline-block;
    margin: 0 10px;
    padding: 2px 10px;
    font-weight: 600;
    font-size: 17px;
    border-radius: 7px;
    background: #004fff;
    color: #fff;
}

/* Landing */
#vanta-globe {
    width: 100%;
    height: 100vh;
    position: relative;
    top: 0;
    left: 0;
    z-index: -1;
}

.landing {
    height: calc(100vh - 60px);
    background: linear-gradient(to top, #004fff, #0051ffbc);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInUp 1.5s ease;
}
.landing_learning {
    position: relative;
    background-image: url(../img/landinglearningcover.jpg);
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    color: white;
    overflow: hidden;
    z-index: 1;
}

.landing_learning::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 79, 255, 0.689);
    z-index: 0;
}
h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.word-container {
    height: 40px;
    overflow: hidden;
    margin-bottom: 30px;
    font-size: 30px;
}

.word-container span {
    position: absolute;
    right: 0;
    width: 100%;
    opacity: 0;
    animation: wordCycle 6s infinite;
    font-size: 24px;
    font-weight: bold;
}

.word-container span:nth-child(1) {
    animation-delay: 0s;
}

.word-container span:nth-child(2) {
    animation-delay: 2s;
}

.word-container span:nth-child(3) {
    animation-delay: 4s;
}

@keyframes wordCycle {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    10% {
        opacity: 1;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
    }
    40% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.cta-button {
    padding: 12px 24px;
    background: #004fff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 25;

    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #004fff;
    border: 1px solid #fff;
    color: #fff;
}
.landing_contnet {
    color: #004fff;
    position: absolute;
    top: 25%;
    direction: rtl;
}
.landing_contnet h1 {
    color: #004fff;
    font-size: 40px;
}
@media (max-width: 600px) {
    .landing_contnet h1 {
        color: #004fff;
        font-size: 20px;
    }
    .word-container span {
        font-size: 20px;
    }
    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
}
.scroll-down {
    text-align: center;
    font-size: 30px;
    color: #004fff;
    cursor: pointer;
    animation: bounceDown 2s infinite;
    margin-top: 30px;
    position: absolute;
    bottom: 15vh;
}

@keyframes bounceDown {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}
.zoom-loop-button {
    padding: 7px 20px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
    animation: zoomInOut 5s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transition: background 0.3s;
}

.zoom-loop-button:hover {
    background-color: #fff;
    border: 1px solid #004fff;
    color: #fff;
}

@keyframes zoomInOut {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}
.icons-area {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 40px;
    padding: 40px 0;
    flex-wrap: wrap;
    position: absolute;
    bottom: 20vh;
}

.icon {
    font-size: 50px;
    color: #004fff;
    transition: transform 0.3s ease;
}

.bounce {
    animation: bounce 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

.spin {
    animation: spin 3s linear infinite;
}

.float {
    animation: float 4s ease-in-out infinite;
    bottom: 0;
}

/* Animations */
@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 600px) {
    .icon {
        font-size: 40px;
    }
}
/* / Landing */

/* Service */
.services-section {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    animation: fadeInUp 1.5s ease;
}

.services-section h2 {
    font-size: 32px;
    color: #004fff;
    margin-bottom: 40px;
}

.services-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.service-card {
    width: 300px;
    height: 250px;
    translate: -6px -6px;
    background: #fff;
    border: 3px solid #004fff;
    box-shadow: 12px 12px 0 #004fff;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 20px;
}

.head {
    font-size: 20px;
    font-weight: 900;
    width: 100%;
    height: 50px;
    background: #ffffff;
    padding: 5px 12px;
    color: #004fff;
    border-bottom: 3px solid #004fff;
}

.content {
    padding: 8px 12px;
    font-size: 19px;
    font-weight: 600;
}

.button {
    padding: 5px 10px;
    margin-top: 10px;
    border: 3px solid #000000;
    box-shadow: 3px 3px 0 #000000;
    font-weight: 750;
    background: #004fff;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.button:hover {
    translate: 1.5px 1.5px;
    box-shadow: 1.5px 1.5px 0 #000000;
    background: #1ac2ff;
}

.button:active {
    translate: 3px 3px;
    box-shadow: 0 0 0 #000000;
}

.card:hover {
    translate: -6px;
}

.btn {
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-book {
    background: #004fff;
    color: #fff;
}

.btn-book:hover {
    background: #0984e3;
}

.btn-whatsapp {
    background: #1ebe5638;
    color: #1ebe57;
    font-weight: 600;
}

.btn-whatsapp i {
    margin-left: 6px;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    color: #fff;
}

/* / Service */
/*  courses  */
.courses-section {
    padding: 60px 20px;
    margin: auto;
    animation: fadeInUp 1.5s ease;
}
.courses-cards {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    flex-wrap: wrap;
}
.course-card {
    --primary: #004fff;
    --primary-hover: #ff6d43;
    --secondary: #0051ffbe;
    --secondary-hover: #004fff;
    --accent: #00e0b0;
    --text: #050505;
    --bg: #ffffff;
    --shadow-color: #000000;
    --pattern-color: #cfcfcf;

    position: relative;
    width: 20em;
    background: var(--bg);
    border: 0.35em solid var(--text);
    border-radius: 0.6em;
    box-shadow: 0.7em 0.7em 0 var(--shadow-color),
        inset 0 0 0 0.15em rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    transform-origin: center;
    margin: 3px 20px;
}

.card:hover {
    transform: translate(-0.4em, -0.4em) scale(1.02);
    box-shadow: 1em 1em 0 var(--shadow-color);
}

.card:hover .card-pattern-grid,
.card:hover .card-overlay-dots {
    opacity: 1;
}

.card:active {
    transform: translate(0.1em, 0.1em) scale(0.98);
    box-shadow: 0.5em 0.5em 0 var(--shadow-color);
}

.card::before {
    content: "";
    position: absolute;
    top: -1em;
    right: -1em;
    width: 4em;
    height: 4em;
    background: var(--accent);
    transform: rotate(45deg);
    z-index: 1;
}

.card::after {
    content: "★";
    position: absolute;
    top: 0.4em;
    right: 0.4em;
    color: var(--text);
    font-size: 1.2em;
    font-weight: bold;
    z-index: 2;
}

.card-pattern-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 0.5em 0.5em;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.card-overlay-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        var(--pattern-color) 1px,
        transparent 1px
    );
    background-size: 1em 1em;
    background-position: -0.5em -0.5em;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.bold-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 6em;
    height: 6em;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.card-title-area {
    position: relative;
    padding: 1.4em;
    background: var(--primary);
    color: var(--bg);
    font-weight: 800;
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.35em solid var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    direction: rtl;
    overflow: hidden;
}

.card-title-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1) 0.5em,
        transparent 0.5em,
        transparent 1em
    );
    pointer-events: none;
    opacity: 0.3;
}

.card-tag {
    background: var(--bg);
    color: var(--text);
    font-size: 0.6em;
    font-weight: 800;
    padding: 0.4em 0.8em;
    border: 0.15em solid var(--text);
    border-radius: 0.3em;
    box-shadow: 0.2em 0.2em 0 var(--shadow-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transform: rotate(3deg);
    transition: all 0.3s ease;
}

.card:hover .card-tag {
    transform: rotate(-2deg) scale(1.1);
    box-shadow: 0.25em 0.25em 0 var(--shadow-color);
}

.card-body {
    direction: rtl;
    position: relative;
    padding: 1.5em;
    z-index: 2;
}

.card-description {
    margin-bottom: 1.5em;
    color: var(--text);
    font-size: 0.95em;
    line-height: 1.4;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    margin-bottom: 1.5em;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6em;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateX(0.3em);
}

.feature-icon {
    width: 1.4em;
    height: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    border: 0.12em solid var(--text);
    border-radius: 0.3em;
    box-shadow: 0.2em 0.2em 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.feature-item:hover .feature-icon {
    background: var(--secondary-hover);
    transform: rotate(-5deg);
}

.feature-icon svg {
    width: 0.9em;
    height: 0.9em;
    fill: var(--bg);
}

.feature-text {
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text);
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5em;
    padding-top: 1.2em;
    border-top: 0.15em dashed rgba(0, 0, 0, 0.15);
    position: relative;
}

.card-actions::before {
    content: "✂";
    position: absolute;
    top: -0.8em;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    background: var(--bg);
    padding: 0 0.5em;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.4);
}

.price {
    position: relative;
    font-size: 1.8em;
    font-weight: 800;
    color: var(--text);
    background: var(--bg);
}

.price::before {
    content: "";
    position: absolute;
    bottom: 0.15em;
    left: 0;
    width: 100%;
    height: 0.2em;
    background: var(--accent);
    z-index: -1;
    opacity: 0.5;
}

.price-currency {
    font-size: 0.6em;
    font-weight: 700;
    vertical-align: top;
    margin-right: 0.1em;
}

.price-period {
    display: block;
    font-size: 0.4em;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 0.2em;
}

.card-button {
    position: relative;
    background: var(--secondary);
    color: var(--bg);
    font-size: 0.9em;
    font-weight: 700;
    padding: 0.7em 1.2em;
    border: 0.2em solid var(--text);
    border-radius: 0.4em;
    box-shadow: 0.3em 0.3em 0 var(--shadow-color);
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.6s ease;
}

.card-button:hover {
    background: var(--secondary-hover);
    transform: translate(-0.1em, -0.1em);
    box-shadow: 0.4em 0.4em 0 var(--shadow-color);
}

.card-button:hover::before {
    left: 100%;
}

.card-button:active {
    transform: translate(0.1em, 0.1em);
    box-shadow: 0.15em 0.15em 0 var(--shadow-color);
}

.dots-pattern {
    position: absolute;
    bottom: 2em;
    left: -2em;
    width: 8em;
    height: 4em;
    opacity: 0.3;
    transform: rotate(-10deg);
    pointer-events: none;
    z-index: 1;
}

.accent-shape {
    position: absolute;
    width: 2.5em;
    height: 2.5em;
    background: var(--secondary);
    border: 0.15em solid var(--text);
    border-radius: 0.3em;
    transform: rotate(45deg);
    bottom: -1.2em;
    right: 2em;
    z-index: 0;
    transition: transform 0.3s ease;
}

.card:hover .accent-shape {
    transform: rotate(55deg) scale(1.1);
}

.stamp {
    position: absolute;
    bottom: 1.5em;
    left: 1.5em;
    width: 4em;
    height: 4em;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.15em solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transform: rotate(-15deg);
    opacity: 0.2;
    z-index: 1;
}

.stamp-text {
    font-size: 0.6em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.corner-slice {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1.5em;
    height: 1.5em;
    background: var(--bg);
    border-right: 0.25em solid var(--text);
    border-top: 0.25em solid var(--text);
    border-radius: 0 0.5em 0 0;
    z-index: 1;
}

.courses-section h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    color: #004fff;
}

.course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    transition: 0.3s;
}

.course-card:hover {
    transform: scale(1.01);
}

.course-image {
    flex: 1;
    min-width: 150px;
    max-height: 250px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    flex: 2;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-title {
    font-size: 22px;
    color: #004fff;
    margin-bottom: 10px;
    font-weight: 600;
}

.course-desc {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.course-price {
    font-size: 16px;
    color: #00b894;
    font-weight: bold;
    direction: rtl;
    margin-bottom: 15px;
}

.course-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-subscribe {
    background: #004fff;
    color: #fff;
}

.btn-subscribe:hover {
    background: #0984e3;
}

.btn i {
    margin-left: 6px;
}

@media (max-width: 768px) {
    .courses-section {
        max-width: 95%;
    }
    .course-card {
        flex-direction: column;
    }

    .course-info {
        padding: 20px;
        margin: 100px 0 0 0;
    }

    .course-image {
        max-height: 200px;
    }
}

/* / course */
/*  */
.about_us {
    background: #fff;
    color: #ffffff;
    line-height: 1.8;
    direction: rtl;
}
section {
    padding: 80px 20px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #004fff;
    animation: fadeInDown 1s ease;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #222;
    margin-bottom: 50px;
    animation: fadeInUp 1.2s ease;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.about-text {
    flex: 1;
    min-width: 300px;
    animation: fadeInLeft 1.3s ease;
}

.about-text h3 {
    color: #004fff;
    margin-bottom: 10px;
    font-size: 24px;
}

.about-text p {
    color: #222;
}

.about-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
    animation: fadeInRight 1.3s ease;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
}
.social-links a {
    font-size: 25px;
    margin: 10px;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 60px;
    animation: fadeInUp 1.5s ease;
}

.feature-box {
    background-color: #0f172a;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 0 20px rgba(0, 79, 255, 0.1);
    border: 1px solid #004fff;
    direction: rtl;
}

.feature-box:hover {
    border: 1px solid #004fff;
    box-shadow: 0 0 20px rgba(0, 79, 255, 0.1);
}

.feature-box i {
    font-size: 30px;
    color: #004fff;
    margin-bottom: 10px;
}

.feature-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.feature-box p {
    color: #cbd5e1;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}
/* /  */
/*  */
.why-us-section {
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
    color: #004fff;
}

.why-us-section h2 {
    font-size: 34px;
    color: #004fff;
    margin-bottom: 50px;
    direction: rtl;
}

.why-us-rows {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.why-item {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;

    background-color: #1e293b;
    padding: 15px 20px;
    border-radius: 10px;
    transition: 0.3s ease;
}

.why-item i {
    font-size: 20px;
    color: #004fff;
    margin-left: 15px;
    flex-shrink: 0;
}

.why-text {
    font-size: 16px;
    color: #fff;
}

@media (max-width: 768px) {
    .why-item {
        flex: 1 1 100%;
    }

    .why-us-section h2 {
        font-size: 26px;
    }

    .why-text {
        font-size: 15px;
    }
}
/* / Why Us */
/* contact */
.contact-section {
    background: #f5f9ff;
    padding: 50px 20px;
}

.contact-container {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.contact-form {
    flex: 2;
    background: #f0f6ff;
    padding: 20px;
    border-radius: 10px;
}

.contact-form h2 {
    font-size: 40px;
    color: #004fff;
}

.contact-form p {
    font-size: 18px;
    padding: 20px 0;
}

.contact-form a {
    color: #007bff;
}

.contact-form .form-group {
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
    margin: 10px 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
}

.contact-form textarea {
    height: 120px;
}

.contact-form button {
    background: #005bff;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 25px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #0040cc;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-card .icon {
    font-size: 24px;
    color: #005bff;
    margin-bottom: 10px;
}

.info-card h3 {
    margin: 0;
}

.info-card a {
    color: #007bff;
    text-decoration: none;
}

.box {
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.box h3 {
    margin-bottom: 15px;
    font-size: 20px;
    padding-bottom: 5px;
    color: #222;
    text-align: right;
}

.item {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin-bottom: 10px;
}

.item input {
    width: auto;
}

.item label {
    margin-right: 10px;
    cursor: pointer;
}

/* ✅ استجابة للموبايل */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form h2 {
        font-size: 28px;
    }

    .contact-form p {
        font-size: 16px;
        padding: 10px 0;
    }

    .contact-form .form-group {
        flex-direction: column;
        gap: 5px;
    }

    .box {
        width: 100%;
    }
}

/* / contact */

/* Footer */
.footer {
    background-color: #004fff;
    color: #cbd5e1;
    padding: 60px 20px 30px;
    font-family: "Cairo", sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 15px;
    text-align: right;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
    text-align: right;
}

.footer ul li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: #dddddd9d;
}

.footer p {
    margin: 5px 0;
    font-size: 14px;
    direction: rtl;
    text-align: right;
    color: #fff;
}

.footer i {
    margin-left: 8px;
    color: #fff;
}

.social-icons a {
    display: inline-block;
    margin-left: 10px;
    color: #fff;
    font-size: 18px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #004fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    font-size: 13px;
    color: #fff;
}

/* faq */

.faq-section {
    max-width: 95%;
    margin: 50px auto;
    padding: 20px;
}

.faq-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #333;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-question {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    background-color: #eee;
    position: relative;
    text-align: right;
}

.faq-question::after {
    content: "+";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background-color: #fdfdfd;
    transition: max-height 0.4s ease, padding 0.3s ease;
    text-align: right;
    direction: rtl;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
}
@media (max-width: 768px) {
    .faq-question {
        font-size: 14px;
    }
}
/* / faq */
.counter-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    flex-wrap: wrap;
    padding: 10px 50px;
    width: 80%;
}

.counter-box i {
    font-size: 30px;
    color: #004fff;
}
.counter-box {
    text-align: center;
    margin: 10px;
    font-weight: 600;
    color: #222;
    width: 160px;
    padding: 15px;
    border-radius: 15px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.counter {
    font-size: 25px;
    color: #004fff;
}
/*  */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    direction: rtl;
}
.ads-heading {
    font-size: 28px;
    margin-bottom: 10px;
    color: #004fff;
}
p.subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.card-ad {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}
.card-ad:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.card-ad h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}
.price {
    font-size: 26px;
    font-weight: bold;
    color: #007bff;
    margin: 20px 0;
}

ul.ad-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: right;
}
ul.ad-features li {
    margin-bottom: 12px;
    font-size: 15px;
    position: relative;
    text-align: right;
    padding-right: 25px;
}
ul.ad-features li::before {
    content: "✔";
    position: absolute;
    right: 0;
    color: #28a745;
    font-weight: bold;
}
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    transition: 0.3s;
}
.btn:hover {
    opacity: 0.9;
}
.card-ad.green h3 {
    color: #28a745;
}
.card-ad.green {
    transform: translateY(-8px);
    border: #28a745 1px solid;
    color: #28a745;
}
.card-ad.green .price {
    color: #28a745;
}
.card-ad.green .btn {
    background: linear-gradient(135deg, #28a745, #85d67e);
}
.card-ad.purple .price {
    color: #ffd447 ;
}
.card-ad.purple .btn {
    background: linear-gradient(135deg, #d4af37 , #ffd447 );
}
