/* ===== Global Reset ===== */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body::before {
    content: '';
    display: block;
    height: 72px;
}

/* ===== Cards ===== */
.card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 16px;
    margin: 10px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.12);
}

/* ===== Lessons ===== */
.lesson {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.06);
}

/* ===== Posts ===== */
.post {
    transition: opacity 0.25s ease;
}

.post:hover {
    opacity: 0.92;
}

/* ===== Buttons ===== */
.button_width {
    min-width: 130px;
    max-width: 130px;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 500;
}

/* ===== Images ===== */
.article-img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.user-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Links ===== */
.link {
    text-decoration: none;
    color: inherit;
}

/* ===== Lists ===== */
.nobull {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== Arabic Typography ===== */
.arabic-sc {
    font-family: 'Rakkas', 'Cairo', sans-serif;
    letter-spacing: 0.5px;
}

/* ===== Content Section ===== */
.content-section {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.07);
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
    font-size: 2.5rem;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-desc {
    color: #555;
    font-size: 0.95rem;
}

/* ===== Animation Header ===== */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-header {
    animation: fadeSlideUp 1s ease-out forwards;
}

/* ===== Modern Service Cards ===== */
.service-card-modern {
    background: #fff;
    border-radius: 25px;
    padding: 40px 20px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.service-card-modern:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.icon-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 auto 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-modern:hover .icon-circle {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-title-modern {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-desc-modern {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* ===== Gradient Colors for Icons ===== */
.bg-gradient-ugc {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.bg-gradient-voice {
    background: linear-gradient(135deg, #f97316, #facc15);
}

.bg-gradient-scripts {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-header {
    animation: fadeSlideUp 1s ease-out forwards;
}

/* ===== Contact Cards ===== */
.contact-card {
    background: #fff;
    border-radius: 25px;
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn-gradient-submit {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient-submit:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Social buttons */
.contact-card .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card .btn:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Import Premium Arabic Font (Cairo) for Modern Agency Look */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&display=swap');

/* Base Variables */
:root {
    --di-dark-bg: #f0f4f8;
    /* Deep, rich dark background */
    --di-card-bg: rgba(255, 255, 255, 0.03);
    /* Glassmorphism base */
    --di-light-text: #000000;
    --di-secondary-text: #000000;
    --di-accent-gradient: linear-gradient(90deg, #2f73af, #1e3a8a);
    /* Blue Gradient */
    --di-accent-solid: #1e3a8a;
    --di-highlight: #000000;
    --di-font-main: 'Cairo', sans-serif;
    /* Best font for modern Arabic UI */
}

/* Section Reset */
.ugc-agency-wrapper *,
.ugc-agency-wrapper *::before,
.ugc-agency-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Main Section */
.ugc-agency-wrapper {
    font-family: var(--di-font-main);
    background-color: var(--di-dark-bg);
    /* Subtle background glow effect */
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 208, 255, 0.05) 0%, transparent 40%);
    color: var(--di-light-text);
    padding: 90px 20px;
    direction: rtl;
    text-align: right;
    overflow: hidden;
    line-height: 1.6;
}

.ugc-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.ugc-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.ugc-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--di-accent-gradient);
    background-clip: text;
    /* standard */
    -webkit-background-clip: text;
    /* WebKit */

    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.ugc-subtitle {
    font-size: 1.3rem;
    color: var(--di-secondary-text);
    max-width: 650px;
}

/* Grid Layout */
.ugc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

/* Benefit Cards */
.ugc-card {
    background: var(--di-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 25px;
    border-radius: 16px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ugc-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 208, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ugc-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: inline-block;
}

.ugc-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--di-light-text);
}

.ugc-card-text {
    font-size: 1rem;
    color: var(--di-secondary-text);
}

/* Why Us Section */
.ugc-why-box {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-right: 4px solid var(--di-highlight);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.ugc-why-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.ugc-why-desc {
    font-size: 1.15rem;
    color: var(--di-secondary-text);
}

/* Soft CTA */
.ugc-soft-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ugc-cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--di-accent-solid);
    letter-spacing: -0.5px;
}

/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-item {
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ugc-agency-wrapper {
        padding: 60px 20px;
    }

    .ugc-title {
        font-size: 2.2rem;
    }

    .ugc-subtitle {
        font-size: 1.1rem;
    }

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

    .ugc-why-box {
        padding: 30px;
    }

    .ugc-cta-text {
        font-size: 1.2rem;
    }
}

.di-order-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f7fbff, #eef6ff);
}

.di-order-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.di-order-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.di-order-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.di-btn-submit {
    background: linear-gradient(90deg, #2f73af, #1e3a8a);
    color: #fff;
    padding: 14px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.di-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 198, 255, 0.5);
}

.di-success-message {
    display: none;
    margin-top: 25px;
    padding: 20px;
    border-radius: 15px;
    background: #eafff3;
    color: #1a7f4c;
    font-weight: 600;
    text-align: center;
}

.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    color: #fff;
}

.hero-images {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-images img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-images img.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 15px 0;
}

.hero-price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-price span {
    font-size: 1rem;
}

.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    color: #fff;
}

.slideshow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideAnimation 4.5s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 1.5s;
}

.slide:nth-child(3) {
    animation-delay: 3s;
}

@keyframes slideAnimation {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    43% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin: 15px 0;
}

.hero-price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-price span {
    font-size: 1rem;
}

/* Import Professional Arabic Font (Tajawal - Modern & Readable) */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

/* Scoped CSS Variables */
:root {
    --vo-bg-dark: #111827;
    /* Very dark blue-grey */
    --vo-card-bg: #1f2937;
    /* Slightly lighter for cards */
    --vo-text-white: #f3f4f6;
    --vo-text-muted: #9ca3af;
    --vo-accent-primary: #3b82f6;
    /* Trustworthy Blue */
    --vo-accent-secondary: #8b5cf6;
    /* Creative Purple */
    --vo-font-main: 'Tajawal', sans-serif;
}

/* Reset */
.dia-voiceover-section *,
.dia-voiceover-section *::before,
.dia-voiceover-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Main Wrapper */
.dia-voiceover-section {
    font-family: var(--vo-font-main);
    background-color: var(--vo-bg-dark);
    color: var(--vo-text-white);
    padding: 80px 20px;
    direction: rtl;
    /* RTL for Arabic */
    text-align: right;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}

/* Background Gradient Mesh (Subtle) */
.dia-voiceover-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(238, 238, 238, 0.08) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.dia-vo-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Header */
.dia-vo-header {
    margin-bottom: 60px;
    max-width: 800px;
}

.ugc-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--di-accent-gradient);
    background-clip: text;
    /* standard */
    -webkit-background-clip: text;
    /* WebKit */

    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.dia-vo-subtitle {
    font-size: 1.25rem;
    color: var(--vo-text-muted);
    font-weight: 400;
    max-width: 650px;
}

/* Features Grid */
.dia-vo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 70px;
}

/* Cards */
.dia-vo-card {
    background: var(--vo-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dia-vo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Icon styling */
.dia-vo-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.4));
}

.dia-vo-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--vo-text-white);
}

.dia-vo-card-desc {
    font-size: 1rem;
    color: var(--vo-text-muted);
}

/* "Why It Matters" Section */
.dia-vo-impact {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-right: 4px solid var(--vo-accent-primary);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.dia-vo-impact-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vo-accent-primary);
    margin-bottom: 15px;
}

.dia-vo-impact-text {
    font-size: 1.1rem;
    color: var(--vo-text-white);
    opacity: 0.9;
}

/* CTA */
.dia-vo-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dia-vo-cta-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--vo-text-white);
}

/* Animations */
@keyframes fadeInUpVO {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anim-vo {
    opacity: 0;
    animation: fadeInUpVO 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dia-voiceover-section {
        padding: 60px 15px;
    }

    .dia-vo-title {
        font-size: 2rem;
    }

    .dia-vo-subtitle {
        font-size: 1.1rem;
    }

    .dia-vo-grid {
        grid-template-columns: 1fr;
    }

    .dia-vo-impact {
        padding: 25px;
    }

    .dia-vo-cta-text {
        font-size: 1.2rem;
    }
}

#orderSuccess {
    display: none;
}

.di-order-form {
    max-width: 520px;
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin: 40px auto;
    font-family: system-ui, sans-serif;
}

.di-form-title {
    margin-bottom: 5px;
    font-size: 22px;
}

.di-form-subtitle {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.di-form-row {
    display: flex;
    gap: 10px;
}

.di-form-group {
    width: 100%;
    margin-bottom: 15px;
}

.di-form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.di-form-group input,
.di-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.di-form-group input:focus,
.di-form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.di-btn-submit {
    width: 100%;
    padding: 12px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
}

.di-btn-submit:hover {
    opacity: 0.9;
}