body {
    font-family: 'Inter', sans-serif;
    background-color: #FFFFFF;
    color: #111111;
}

.hero-slide {
    opacity: 0;
    z-index: 1;
    transform: scale(1.02);
    pointer-events: none;
    transition:
        opacity 0.9s ease-in-out,
        transform 1.2s ease-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
    pointer-events: auto;
}

.hero-slide.inactive {
    opacity: 0;
    z-index: 1;
    transform: scale(1.02);
    pointer-events: none;
}

.hero-slide:first-child {
    transition-delay: 0s;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #FAFAFA;
}

::-webkit-scrollbar-thumb {
    background: #D4D4D4;
}
/*
!* Testimonials section *!
.testimonials-section {
    padding: 100px 5%;
    background: #f7f6f3;
}

.section-label {
    margin-bottom: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.section-title {
    margin-bottom: 48px;
    font-size: 32px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.testimonial-video video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 0.5;
    opacity: 0.15;
}

.testimonial-card blockquote {
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-source {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
}

.channel-badge {
    padding: 4px 10px;
    background: #efeeea;
    border-radius: 20px;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .testimonials-section {
        padding: 64px 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px;
    }

    .section-title {
        margin-bottom: 32px;
        font-size: 26px;
    }
}*/


/* =========================================================
   Selected Feedback
   ========================================================= */

.feedback-section {
    position: relative;
    overflow: hidden;
    padding: 112px 5%;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(17, 17, 17, 0.04),
            transparent 32%
        ),
        #f7f6f3;
}

.feedback-section::before {
    position: absolute;
    top: 0;
    left: 5%;
    width: 90%;
    height: 1px;
    content: "";
    background: rgba(17, 17, 17, 0.12);
}

.feedback-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.feedback-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: end;
    gap: 48px;
    margin-bottom: 56px;
}

.feedback-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #77736d;
    font-family: monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.feedback-title {
    max-width: 680px;
    color: #111111;
    font-size: clamp(2rem, 4vw, 4.25rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.feedback-introduction {
    max-width: 400px;
    color: #66625d;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

.feedback-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
    align-items: stretch;
}

.feedback-card {
    position: relative;
    display: flex;
    min-height: 390px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 38px;
    border: 1px solid rgba(17, 17, 17, 0.11);
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(14px);
    transition:
        transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 450ms ease,
        border-color 450ms ease;
}

.feedback-card::after {
    position: absolute;
    right: -80px;
    bottom: -110px;
    width: 240px;
    height: 240px;
    content: "";
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 50%;
    transition:
        transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
        opacity 450ms ease;
}

.feedback-card:hover {
    z-index: 2;
    border-color: rgba(17, 17, 17, 0.24);
    box-shadow: 0 28px 70px rgba(17, 17, 17, 0.09);
    transform: translateY(-8px);
}

.feedback-card:hover::after {
    opacity: 0.7;
    transform: scale(1.15) translate(-10px, -10px);
}

.feedback-card-academic {
    margin-top: 48px;
    background: #171717;
    color: #ffffff;
}

.feedback-card-academic::after {
    border-color: rgba(255, 255, 255, 0.12);
}

.feedback-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.feedback-type,
.feedback-number {
    font-family: monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.feedback-type {
    color: #77736d;
}

.feedback-number {
    color: rgba(17, 17, 17, 0.35);
}

.feedback-card-academic .feedback-type,
.feedback-card-academic .feedback-number {
    color: rgba(255, 255, 255, 0.5);
}

.feedback-quote-mark {
    position: absolute;
    top: 72px;
    left: 34px;
    color: rgba(17, 17, 17, 0.08);
    font-family: Georgia, serif;
    font-size: 110px;
    line-height: 1;
    pointer-events: none;
}

.feedback-card-academic .feedback-quote-mark {
    color: rgba(255, 255, 255, 0.08);
}

.feedback-quote {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 54px 0 64px;
    color: #181818;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 2.7vw, 2.8rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.feedback-card-academic .feedback-quote {
    color: #ffffff;
}

.feedback-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.feedback-card-academic .feedback-footer {
    border-color: rgba(255, 255, 255, 0.14);
}

.feedback-source,
.feedback-context {
    display: block;
}

.feedback-source {
    margin-bottom: 6px;
    color: #171717;
    font-size: 13px;
    font-weight: 600;
}

.feedback-context {
    color: #77736d;
    font-size: 11px;
    line-height: 1.5;
}

.feedback-card-academic .feedback-source {
    color: #ffffff;
}

.feedback-card-academic .feedback-context {
    color: rgba(255, 255, 255, 0.54);
}

.feedback-project-link {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid currentColor;
    color: #171717;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition:
        gap 250ms ease,
        opacity 250ms ease;
}

.feedback-card-academic .feedback-project-link {
    color: #ffffff;
}

.feedback-project-link:hover {
    gap: 13px;
    opacity: 0.62;
}

/* Initial state used by the scroll reveal animation */
.feedback-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feedback-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feedback-grid .feedback-reveal:nth-child(2) {
    transition-delay: 140ms;
}

@media (max-width: 900px) {
    .feedback-section {
        padding: 88px 24px;
    }

    .feedback-header,
    .feedback-grid {
        grid-template-columns: 1fr;
    }

    .feedback-header {
        gap: 24px;
        margin-bottom: 40px;
    }

    .feedback-card-academic {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .feedback-section {
        padding: 72px 20px;
    }

    .feedback-card {
        min-height: 340px;
        padding: 28px 24px;
    }

    .feedback-quote {
        margin: 50px 0 52px;
        font-size: 1.65rem;
    }

    .feedback-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .feedback-project-link {
        margin-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feedback-card,
    .feedback-card::after,
    .feedback-project-link,
    .feedback-reveal {
        transition: none;
    }

    .feedback-card:hover {
        transform: none;
    }

    .feedback-reveal {
        opacity: 1;
        transform: none;
    }
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #666666; /* لون النص الحالي */
}

/* حاوية النقطة النابضة */
.status-pulse {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10px;
    height: 10px;
}

/* النقطة المركزية الثابتة */
.status-pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981; /* أخضر زمردي مريح وحديث */
    border-radius: 50%;
    z-index: 2;
}

/* حلقة النبض المتحركة */
.status-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #10b981;
    opacity: 0.75;
    animation: status-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* حركة النبض */
@keyframes status-ping {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    70%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.skill-desc {
    color: var(--color-text-muted, #71717a);
    font-size: 0.88em;
    display: inline-block;
    margin-left: 2px;
}
