/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* CSS Variables for Design System */
:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(222.2, 84%, 4.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(222.2, 84%, 4.9%);
    --primary: hsl(0deg 0% 0%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-light: hsl(285, 80%, 85%);
    --primary-dark: hsl(275, 100%, 25%);
    --secondary: hsl(200, 100%, 40%);
    --secondary-foreground: hsl(0, 0%, 100%);
    --secondary-light: hsl(205, 80%, 85%);
    --accent: hsl(320, 70%, 50%);
    --accent-foreground: hsl(0, 0%, 100%);
    --accent-light: hsl(325, 60%, 85%);
    --muted: hsl(210, 40%, 96.1%);
    --muted-foreground: hsl(215.4, 16.3%, 46.9%);
    --border: hsl(214.3, 31.8%, 91.4%);
    --success: hsl(142, 76%, 36%);
    --warning: hsl(38, 92%, 50%);
    --info: hsl(221, 83%, 53%);
    --radius: 0.75rem;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(280, 100%, 40%), hsl(320, 70%, 50%));
    --gradient-secondary: linear-gradient(135deg, hsl(200, 100%, 40%), hsl(280, 100%, 40%));
    --gradient-hero: linear-gradient(135deg, hsl(280, 100%, 40%) 0%, hsl(320, 70%, 50%) 100%);
    
    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(280, 100%, 40%, 0.3);
    --shadow-soft: 0 4px 20px -4px hsl(222.2, 84%, 4.9%, 0.1);
}

/* Dark Mode Variables */
.dark {
    --background: hsl(220, 20%, 8%);
    --foreground: hsl(210, 40%, 98%);
    --card: hsl(220, 20%, 12%);
    --card-foreground: hsl(210, 40%, 98%);
    --primary: hsl(201deg 100% 59.95%);
    --primary-foreground: hsl(220, 20%, 8%);
    --primary-light: hsl(290, 70%, 80%);
    --primary-dark: hsl(280, 100%, 45%);
    --secondary: hsl(205, 85%, 65%);
    --secondary-foreground: hsl(220, 20%, 8%);
    --secondary-light: hsl(210, 70%, 80%);
    --accent: hsl(325, 75%, 65%);
    --accent-foreground: hsl(220, 20%, 8%);
    --accent-light: hsl(330, 65%, 80%);
    --muted: hsl(220, 15%, 20%);
    --muted-foreground: hsl(215, 20.2%, 65.1%);
    --border: hsl(220, 15%, 25%);
    --shadow-elegant: 0 10px 30px -10px hsl(285, 85%, 65%, 0.5);
    --shadow-soft: 0 4px 20px -4px hsl(0, 0%, 0%, 0.3);
}

/* Typography */
 
.font-latin {
    font-family: 'Inter', sans-serif;
}

/* body {
    background-color: var(--background);
    color: var(--foreground);
    transition: background-color 0.3s ease, color 0.3s ease;
    line-height: 1.6;
} */

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="ltr"] {
    text-align: left;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
/* .header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background-color: var(--background);
    backdrop-filter: blur(8px);
    background-color: hsla(var(--background), 0.95);
}

.header-content {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
} */

/* .logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
} */

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-btn {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: var(--foreground);
}

.control-btn:hover {
    background-color: var(--muted);
}

.lang-indicator {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    font-size: 0.75rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--background);
    opacity: 0.1;
}

.hero-card {
    max-width: 64rem;
    margin: 0 auto;
    padding: 3rem;
    box-shadow: var(--shadow-elegant);
    background-color: var(--card);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    z-index: 10;
    animation: fadeIn 0.8s ease-out;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
       text-align: center;
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    animation: slideUp 0.6s ease-out;
}

.hero-description {
  font-size: 1.25rem;
    line-height: 1.7;
    color: var(--foreground);
    opacity: 0.8;
    animation: slideUp 0.6s ease-out;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

/* Organization Section */
.organization-section {
    padding: 4rem 0;
    background-color: var(--muted);
    background-color: hsla(var(--muted), 0.3);
}

.organization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.org-card {
    background-color: var(--card);
    border: 2px solid #00000052;
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.org-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-elegant);
    border-color: hsla(var(--primary), 0.2);
}

.org-header {
    text-align: center;
    margin-bottom: 1rem;
}

.org-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    transition: transform 0.3s ease;
}

.org-card:hover .org-icon {
    transform: scale(1.1);
}

.org-icon.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.org-icon.secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: white;
}

.org-icon.accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.org-header h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--foreground);
    margin: 0;
}

.org-list {
    list-style: none;
    padding: 0;
}

.org-list li {
    display: flex;
    align-items: center;
    margin: 0.75rem 0;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
}

.org-list li:hover {
    color: var(--foreground);
}

.org-list li::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-left: 0.75rem;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

[dir="rtl"] .org-list li::before {
    margin-left: 0.25rem;
    margin-right: 0.75rem;
}

/* Goals Section */
.goals-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title.white {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.goal-card {
    background-color: var(--card);
    background-color: hsla(var(--card), 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.goal-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-soft);
}

.goal-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.goal-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
}

.goal-card:hover .goal-icon {
    transform: rotate(12deg);
}

.goal-content {
    flex: 1;
}

.goal-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-left: 0.75rem;
}

[dir="rtl"] .goal-number {
    margin-left: 0;
    margin-right: 0.75rem;
}

.goal-content p {
    color: var(--foreground);
    line-height: 1.7;
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: var(--gradient-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--card);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-elegant);
}

.benefit-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: white;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon.pink {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
}

.benefit-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.benefit-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.benefit-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.benefit-card h3 {
       font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #b96f6f00;
}

/* Phases Section */
.phases-section {
    padding: 4rem 0;
}

.phases-diagram {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.circle-container {
    position: relative;
    width: 20rem;
    height: 20rem;
    border: 2px solid #f179f185;
    border-radius: 50%;
}

.circle-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 4px solid hsla(var(--primary), 0.2);
    border-radius: 50%;
}

.phase-circle {
    position: absolute;
    width: 5rem;
    height: 5rem;
    background-color: var(--background);
    border: 3px solid #797aa3;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-7.5rem) rotate(calc(-1 * var(--angle)));
}

.phase-circle:hover {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-7.5rem) rotate(calc(-1 * var(--angle))) scale(1.1);
}

.phase-circle[data-phase="1"] {
    background-color: hsla(var(--success), 0.1);
    color: var(--success);
}

.phase-circle[data-phase="2"] {
    background-color: hsla(var(--warning), 0.1);
    color: var(--warning);
}

.phase-circle[data-phase="3"] {
    background-color: hsla(var(--info), 0.1);
    color: var(--info);
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-elegant);
    color: white;
    font-weight: bold;
    font-size: 1.125rem;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.phase-card {
    background-color: var(--card);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.phase-card:hover {
    transform: scale(1.05);
}

.phase-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.phase-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
}

[dir="rtl"] .phase-icon {
    margin-left: 0;
    margin-right: 0.75rem;
}

.phase-icon.success {
    background-color: hsla(var(--success), 0.1);
    color: var(--success);
}

.phase-icon.warning {
    background-color: hsla(var(--warning), 0.1);
    color: var(--warning);
}

.phase-icon.info {
    background-color: hsla(var(--info), 0.1);
    color: var(--info);
}

.phase-header h3 {
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.25rem 0;
}

.phase-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.status-icon {
    font-size: 0.875rem;
}

.phase-items {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.phase-items li {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.phase-items li::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--primary);
    border-radius: 50%;
    margin-left: 0.5rem;
    margin-right: 0.125rem;
    flex-shrink: 0;
}

[dir="rtl"] .phase-items li::before {
    margin-left: 0.125rem;
    margin-right: 0.5rem;
}

/* Vision Section */
.vision-section {
    padding: 4rem 0;
    background-color: var(--muted);
    background-color: hsla(var(--muted), 0.3);
}

.vision-card {
    max-width: 64rem;
    margin: 0 auto;
    box-shadow: var(--shadow-elegant);
    background: var(--gradient-primary);
    color: white;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
}

.vision-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-circle.top {
    position: absolute;
    top: -4rem;
    right: -4rem;
    width: 8rem;
    height: 8rem;
    background-color: hsla(0, 0%, 100%, 0.1);
    border-radius: 50%;
}

.bg-circle.bottom {
    position: absolute;
    bottom: -3rem;
    left: -3rem;
    width: 6rem;
    height: 6rem;
    background-color: hsla(0, 0%, 100%, 0.1);
    border-radius: 50%;
}

.vision-content {
    padding: 3rem;
    position: relative;
    z-index: 10;
}

.vision-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.vision-icon {
    width: 4rem;
    height: 4rem;
    background-color: hsla(0, 0%, 100%, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--foreground);
}

.vision-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    color: var(--foreground);
}

.sparkle {
    animation: pulse 3s ease-in-out infinite;
}

.vision-text {
    font-size: 1.25rem;
    line-height: 1.7;
    text-align: center;
    color: hsla(0, 0%, 100%, 0.9);
    margin: 0;
}

 

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-card {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .goal-card {
        flex-direction: column;
        text-align: center;
    }
    
    .vision-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .vision-header h2 {
        font-size: 1.875rem;
    }
    
    .vision-content {
        padding: 2rem;
    }
    
    .circle-container {
        width: 16rem;
        height: 16rem;
    }
    
    .phase-circle {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-6rem) rotate(calc(-1 * var(--angle)));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .organization-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}