/* Global Styles */
:root {
    --blue: #4A90E2;
    --green: #50C878;
    --orange: #F5A623;
    --light-blue: #E8F4FF;
    --light-green: #E8F8EF;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazir', 'Tahoma', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/world-map.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.mascot {
    margin-bottom: 2rem;
}

.mascot-img {
    width: 180px;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.tagline {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.subheadline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    margin-left: 10px;
    font-size: 1.4rem;
}

.cta-button:hover {
    background-color: #3DAE60;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--blue);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-blue);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card:nth-child(2) {
    background-color: var(--light-green);
}

.feature-card:nth-child(3) {
    background: linear-gradient(to bottom right, var(--light-blue), var(--light-green));
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--blue);
    text-align: center;
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--blue);
}

.feature-card:nth-child(3) .feature-icon {
    color: var(--orange);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.feature-description {
    font-size: 1rem;
    color: var(--dark-gray);
    flex-grow: 1;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.mascot-small {
    margin-bottom: 1.5rem;
}

.mascot-img-small {
    width: 120px;
    height: auto;
}

.cta-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--blue);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding: 3rem 0;
    color: var(--blue);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 80px;
    height: auto;
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-link {
    color: var(--blue);
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--green);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    font-size: 1.5rem;
    color: var(--blue);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--green);
}

.privacy-link {
    color: var(--blue);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--green);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tagline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem;
    }
    
    .mascot-img {
        width: 140px;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}
