/* ===========================
   RESET & BASE STYLES
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Tajweedoo Brand Colors */
    --tajweedoo-orange: #FF9900;
    --tajweedoo-red: #E63946;
    --tajweedoo-yellow: #FFC107;
    --tajweedoo-green: #7FBF3F;
    --tajweedoo-blue: #00A8E8;
    --tajweedoo-cream: #FFF8E7;
    --tajweedoo-light: #FFFBF0;
    --rich-brown: #5D3A1A;

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, #FF9900 0%, #FFB84D 100%);
    --gradient-red: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
    --gradient-yellow: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(255, 153, 0, 0.08) 0%, rgba(255, 153, 0, 0.03) 100%);

    /* Typography */
    --font-primary: 'Cairo', 'Tajawal', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Border Radius - Modern & Friendly */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(62, 44, 27, 0.08);
    --shadow-md: 0 4px 16px rgba(62, 44, 27, 0.12);
    --shadow-lg: 0 8px 32px rgba(62, 44, 27, 0.16);
    --shadow-hover: 0 12px 48px rgba(62, 44, 27, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--rich-brown);
    background-color: #fff;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================
   TYPOGRAPHY
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--rich-brown);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-intro {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: var(--rich-brown);
    opacity: 0.9;
}

.large-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-red);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--tajweedoo-green);
    border: 2px solid var(--tajweedoo-green);
}

.btn-outline:hover {
    background: var(--tajweedoo-green);
    color: white;
    transform: translateY(-3px);
}

.btn-white {
    background: white;
    color: var(--tajweedoo-red);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-full {
    width: 100%;
}

/* ===========================
   SECTION 1: HERO
   =========================== */
.hero-section {
    background-color: var(--tajweedoo-light);
    background-image:
        radial-gradient(at 10% 10%, rgba(255, 153, 0, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(0, 168, 232, 0.05) 0px, transparent 50%);
    padding: var(--spacing-xl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    color: var(--rich-brown);
    line-height: 1.6;
}

.info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.info-pill {
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    font-size: 0.95rem;
}

.info-pill:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.info-pill .icon {
    font-size: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.limited-seats {
    color: var(--rich-brown);
    font-size: 0.95rem;
    opacity: 0.8;
    font-style: italic;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tajweedoo Logo Header */
.logo-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 1s ease;
}

.logo-mascot {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    animation: bounce 2s ease-in-out infinite;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Parrot Hero Image */
.hero-parrot {
    width: 350px;
    height: auto;
    filter: drop-shadow(0 12px 32px rgba(127, 191, 63, 0.3));
    animation: parrotFloat 3s ease-in-out infinite;
}

@keyframes parrotFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.02);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    border: 2px solid var(--tajweedoo-yellow);
}

.floating-card .arabic-letter {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, #fff 0%, #FFF8E7 100%);
}

.card-2 {
    bottom: 15%;
    right: 5%;
    animation-delay: 1s;
    background: linear-gradient(135deg, #fff 0%, #E8FFE8 100%);
}

.card-3 {
    top: 40%;
    left: -5%;
    animation-delay: 2s;
    background: linear-gradient(135deg, #fff 0%, #FFF0E8 100%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===========================
   SECTION 2: REGISTRATION
   =========================== */
.registration-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.registration-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-grey);
}

.registration-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--rich-brown);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-base);
    background: #FAFAFA;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input::placeholder {
    color: #aaa;
    font-size: 0.9rem;
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--tajweedoo-orange);
    box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.15);
}

.form-group input:focus::placeholder {
    opacity: 0.5;
}

.checkbox-group label {
    display: flex;
    align-items: start;
    gap: var(--spacing-xs);
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
    accent-color: var(--tajweedoo-orange);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--rich-brown);
    opacity: 0.8;
    margin-top: var(--spacing-sm);
    font-style: italic;
}

/* ===========================
   SECTION 3: PROBLEM
   =========================== */
.problem-section {
    padding: var(--spacing-xl) 0;
    background: var(--tajweedoo-cream);
    text-align: center;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.pain-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 57, 70, 0.1);
}

.pain-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.solution-highlight {
    background: var(--gradient-yellow);
    color: var(--rich-brown);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.solution-highlight strong {
    font-weight: 900;
}

/* ===========================
   SECTION 4: WHAT IS T-GID
   =========================== */
.what-is-section {
    padding: var(--spacing-xl) 0;
    background-color: white;
    background-image: linear-gradient(180deg, white 0%, var(--tajweedoo-light) 100%);
}

.what-is-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.features-box {
    background: var(--tajweedoo-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 2px solid var(--tajweedoo-orange);
    position: relative;
    overflow: hidden;
}

.features-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.features-box h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--rich-brown);
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.check-icon {
    color: var(--tajweedoo-green);
    font-weight: 900;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ===========================
   SECTION 5: WHO FOR
   =========================== */
.who-for-section {
    padding: var(--spacing-xl) 0;
    background: var(--tajweedoo-light);
    text-align: center;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.audience-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.audience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 153, 0, 0.15);
    border-color: rgba(255, 153, 0, 0.2);
}

.audience-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

/* ===========================
   SECTION 6: OUTCOMES
   =========================== */
.outcomes-section {
    padding: var(--spacing-xl) 0;
    background: white;
    text-align: center;
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.outcome-card {
    background: var(--gradient-overlay), white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.outcome-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.2);
}

.outcome-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* ===========================
   SECTION 7: SESSIONS - SMART TIMELINE
   =========================== */
.sessions-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFBF0 50%, #FFF8E7 100%);
    position: relative;
    overflow: hidden;
}

.sessions-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: var(--spacing-lg) auto;
    padding: 0 20px;
}

/* Central Line with Gradient */
.timeline::before {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom,
            #FF9900 0%,
            #FFC107 25%,
            #7FBF3F 50%,
            #00A8E8 75%,
            #E63946 100%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: left;
}

.timeline-item:nth-child(even) {
    flex-direction: row;
    text-align: right;
}

/* Timeline Markers with Pulse Animation */
.timeline-marker {
    position: absolute;
    right: 50%;
    transform: translateX(50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 5;
    border: 4px solid white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
    /* Default red background */
}

.timeline-item:nth-child(1) .timeline-marker {
    background: linear-gradient(135deg, #FF9900 0%, #FFB84D 100%);
}

.timeline-item:nth-child(2) .timeline-marker {
    background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
}

.timeline-item:nth-child(3) .timeline-marker {
    background: linear-gradient(135deg, #7FBF3F 0%, #9ACD32 100%);
}

.timeline-item:nth-child(4) .timeline-marker {
    background: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%) !important;
}

/* Fallback for any additional items */
.timeline-marker {
    background: linear-gradient(135deg, #E63946 0%, #FF6B6B 100%);
}

.timeline-marker::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.timeline-number {
    color: white;
    font-size: 1.75rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Timeline Content Cards */
.timeline-content {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    width: calc(50% - 60px);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
}

.timeline-item:nth-child(1) .timeline-content {
    border-color: rgba(255, 153, 0, 0.3);
}

.timeline-item:nth-child(2) .timeline-content {
    border-color: rgba(255, 193, 7, 0.3);
}

.timeline-item:nth-child(3) .timeline-content {
    border-color: rgba(127, 191, 63, 0.3);
}

.timeline-item:nth-child(4) .timeline-content {
    border-color: rgba(230, 57, 70, 0.3);
}

/* Arrow Connector */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    transform: translateY(-50%) rotate(45deg);
    border: 2px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -11px;
    border-right: 2px solid rgba(255, 153, 0, 0.3);
    border-top: 2px solid rgba(255, 153, 0, 0.3);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -11px;
    border-left: 2px solid rgba(255, 153, 0, 0.3);
    border-bottom: 2px solid rgba(255, 153, 0, 0.3);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 60px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 60px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.timeline-item:nth-child(1) .timeline-content:hover {
    border-color: var(--tajweedoo-orange);
}

.timeline-item:nth-child(2) .timeline-content:hover {
    border-color: var(--tajweedoo-yellow);
}

.timeline-item:nth-child(3) .timeline-content:hover {
    border-color: var(--tajweedoo-green);
}

.timeline-item:nth-child(4) .timeline-content:hover {
    border-color: var(--tajweedoo-red);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--rich-brown);
}

/* ===========================
   SECTION 8: SIMULATOR
   =========================== */
.simulator-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.simulator-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.simulator-mockup {
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF8E7 100%);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(255, 153, 0, 0.25);
    overflow: hidden;
    border: 3px solid var(--tajweedoo-orange);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: all 0.5s ease;
    position: relative;
}

.simulator-mockup::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.simulator-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 153, 0, 0.35);
}

.mockup-header {
    background: linear-gradient(135deg, #FF9900 0%, #E63946 100%);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.mockup-header::after {
    content: '🦜';
    position: absolute;
    left: 20px;
    font-size: 1.5rem;
    animation: parrotWave 2s ease-in-out infinite;
}

@keyframes parrotWave {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) {
    background: #FF6B6B;
}

.mockup-dots span:nth-child(2) {
    background: #FFC107;
}

.mockup-dots span:nth-child(3) {
    background: #7FBF3F;
}

.mockup-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.mockup-content {
    padding: var(--spacing-lg);
}

.drag-cards {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.drag-card {
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFBF0 100%);
    border: 2px solid var(--tajweedoo-yellow);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: grab;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
    position: relative;
}

.drag-card::before {
    content: '👆';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drag-card:hover::before {
    opacity: 1;
}

.drag-card:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4);
    cursor: grabbing;
}

.drop-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.drop-zone {
    background: linear-gradient(135deg, #E8FFE8 0%, #F0FFF0 100%);
    border: 3px dashed var(--tajweedoo-green);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 700;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--rich-brown);
}

.drop-zone:hover {
    background: var(--tajweedoo-green);
    color: white;
    border-style: solid;
    transform: scale(1.05);
}

.benefits-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.benefits-list li {
    display: flex;
    align-items: start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.bullet-icon {
    color: var(--tajweedoo-green);
    font-weight: 900;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-box {
    background: var(--tajweedoo-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-sm);
    border-right: 4px solid var(--tajweedoo-orange);
}

/* ===========================
   SECTION 9: DELIVERABLES
   =========================== */
.deliverables-section {
    padding: var(--spacing-xl) 0;
    background: var(--soft-cream);
    /* Pattern removed for cleaner look, kept soft cream */
    text-align: center;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.deliverable-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.deliverable-card:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: var(--shadow-md);
    border-color: var(--tajweedoo-yellow);
}

.deliverable-icon {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
}

.deliverable-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--rich-brown);
}

/* ===========================
   SECTION: CERTIFICATE SHOWCASE
   =========================== */
.certificate-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFFBF0 50%, #FFF8E7 100%);
    position: relative;
    overflow: hidden;
}

.certificate-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.certificate-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(127, 191, 63, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.certificate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.certificate-text {
    text-align: right;
}

.certificate-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.cert-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cert-feature:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.15);
    background-color: var(--tajweedoo-light);
}

.cert-icon {
    font-size: 1.25rem;
}

.certificate-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-frame {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 3px solid var(--tajweedoo-orange);
    transform: perspective(1000px) rotateY(5deg);
    transition: all 0.5s ease;
    overflow: hidden;
}

.cert-frame:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(255, 153, 0, 0.25);
}

.cert-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    display: block;
}

.cert-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

/* Responsive for certificate section */
@media (max-width: 992px) {
    .certificate-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .certificate-text {
        text-align: center;
        order: 2;
    }

    .cert-feature {
        justify-content: center;
    }

    .certificate-image {
        order: 1;
        width: 100%;
        max-width: 100%;
        /* Ensure container doesn't overflow */
        padding: 0 10px;
        /* Add slight breather room */
        display: block;
        /* Change from flex to block to avoid flex items expanding */
        margin: 0 auto;
    }

    .cert-frame {
        transform: none !important;
        /* Force reset of any transforms */
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        /* Ensure padding is included in width */
    }


}

/* ===========================
   SECTION 10: NOT FOR
   =========================== */
.not-for-section {
    padding: var(--spacing-xl) 0;
    background: white;
    text-align: center;
}

.not-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.not-for-card {
    background: var(--light-grey);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 2px solid #E5E5E5;
    transition: all var(--transition-base);
}

.not-for-card:hover {
    transform: scale(1.02);
}

.not-for-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

/* ===========================
   SECTION 11: FAQ
   =========================== */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--tajweedoo-cream);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    text-align: right;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--rich-brown);
    font-family: var(--font-primary);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--tajweedoo-red);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: all var(--transition-base);
    color: var(--tajweedoo-orange);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--tajweedoo-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    line-height: 1.7;
    color: var(--rich-brown);
    opacity: 0.9;
}

/* ===========================
   SECTION 12: ABOUT
   =========================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background: white;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.about-card {
    background: var(--gradient-overlay), white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--light-grey);
    transition: all var(--transition-base);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--tajweedoo-orange);
}

.about-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--rich-brown);
}

/* ===========================
   SECTION 13: FINAL CTA
   =========================== */
.final-cta-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-orange);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: white;
    margin-bottom: var(--spacing-md);
    font-weight: 900;
}

.final-cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
    line-height: 1.6;
}

.final-note {
    margin-top: var(--spacing-md);
    font-size: 0.95rem;
    opacity: 0.9;
    font-style: italic;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--rich-brown);
    color: white;
    padding: var(--spacing-lg) 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.footer-brand h3 {
    color: var(--tajweedoo-orange);
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all var(--transition-base);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--tajweedoo-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===========================
   ANIMATIONS (AOS-like)
   =========================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-20deg);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 992px) {

    .hero-content,
    .what-is-content,
    .simulator-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hero-image {
        order: -1;
    }

    .timeline::before {
        right: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        /* Stack vertically on mobile for safety */
        text-align: right;
        align-items: flex-start;
        padding-right: 40px;
        /* Space for the line/marker */
        position: relative;
    }

    .timeline-marker {
        right: -8px;
        /* Align with the line */
        transform: scale(0.6);
        /* Smaller markers */
        top: 0;
    }

    .timeline-content {
        width: 100%;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-top: 1rem;
    }

    .timeline-content::before {
        display: none;
        /* Remove arrows on mobile to simplify */
    }

    /* Adjust Hero for Mobile */
    .hero-visual {
        height: auto;
        min-height: 300px;
        margin-bottom: 2rem;
    }

    .floating-card {
        transform: scale(0.7);
        /* Shrink cards */
    }

    .card-1 {
        right: 0;
        top: 0;
    }

    .card-2 {
        right: 10%;
        bottom: 0;
    }

    .card-3 {
        left: 0;
        top: 20%;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .info-pills {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .hero-visual {
        height: 350px;
    }

    .hero-icon {
        width: 200px;
        height: 200px;
    }

    .drop-zones {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section-title {
        font-size: 1.5rem;
    }

    .registration-card {
        padding: var(--spacing-md);
    }

    .cert-frame {
        padding: 10px;
    }
}

/* ===========================
   SCROLL ANIMATIONS & POLISH
   =========================== */
html {
    scroll-padding-top: 2rem;
}

::selection {
    background: var(--tajweedoo-orange);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--tajweedoo-light);
}

::-webkit-scrollbar-thumb {
    background: var(--tajweedoo-orange);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--tajweedoo-red);
}