﻿ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    direction: rtl;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c5530 0%, #5cb85c 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

    .header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: repeating-linear-gradient( 45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px );
        animation: movePattern 20s linear infinite;
    }

@keyframes movePattern {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    color: #F5495C;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: pulse 2s ease-in-out infinite;
    font-family: 'Arial', sans-serif;
}

.compass-circle {
    width: 80px;
    height: 80px;
    border: 4px solid #fff;
    border-radius: 50%;
    position: relative;
    animation: rotate 10s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 25px solid #e74c3c;
    position: absolute;
    transform-origin: bottom center;
    animation: pointDirection 8s ease-in-out infinite;
}

.compass-dot {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
}

    .compass-dot:nth-child(1) {
        top: 2px;
        left: 50%;
        transform: translateX(-50%);
    }

    .compass-dot:nth-child(2) {
        right: 2px;
        top: 50%;
        transform: translateY(-50%);
    }

    .compass-dot:nth-child(3) {
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
    }

    .compass-dot:nth-child(4) {
        left: 2px;
        top: 50%;
        transform: translateY(-50%);
    }

@keyframes pointDirection {
    0%, 100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(90deg);
    }

    50% {
        transform: rotate(180deg);
    }

    75% {
        transform: rotate(270deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.tagline {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation */
.nav {
    background: rgba(44, 85, 48, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

    .nav-links a {
        color: white;
        text-decoration: none;
        padding: 10px 20px;
        border-radius: 25px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: right 0.5s;
        }

        .nav-links a:hover::before {
            right: 100%;
        }

        .nav-links a:hover {
            background: rgba(92, 184, 92, 0.8);
            transform: translateY(-2px);
        }

/* Main Content */
.main-content {
    padding: 60px 0;
}

.content-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
    position: relative;
    overflow: hidden;
}

    .content-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, #5cb85c, #2c5530);
    }

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.content-card:nth-child(2) {
    animation-delay: 0.2s;
}

.content-card:nth-child(3) {
    animation-delay: 0.4s;
}

.content-card:nth-child(4) {
    animation-delay: 0.6s;
}

.section-title {
    font-size: 2.2rem;
    color: #2c5530;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, #5cb85c, #2c5530);
        border-radius: 2px;
    }

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
}

/* Social Media Section */
.social-section {
    text-align: center;
    padding: 40px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.social-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .social-item::before {
        content: '';
        position: absolute;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, transparent, rgba(92, 184, 92, 0.1), transparent);
        transition: right 0.5s;
    }

    .social-item:hover::before {
        right: 100%;
    }

    .social-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

.social-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.social-item:hover .social-icon {
    transform: scale(1.1) rotateY(180deg);
}

.facebook .social-icon {
    color: #1877F2;
}

.whatsapp .social-icon {
    color: #25D366;
}

.telegram .social-icon {
    color: #0088CC;
}

.instagram .social-icon {
    color: #E4405F;
}

.twitter .social-icon {
    color: #1DA1F2;
}

.youtube .social-icon {
    color: #FF0000;
}

/* Flag Section */
.flag-section {
    background: linear-gradient(135deg, #2c5530 0%, #5cb85c 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.flag-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.flag-image {
    width: 450px;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    border: 2px solid rgba(255,255,255,0.2);
    transform-style: preserve-3d;
    animation: naturalWave 6s ease-in-out infinite;
}

.flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.flag-stripe {
    width: 100%;
    height: 33.33%;
    position: absolute;
    background-size: 100% 200%;
    animation: fabricTexture 4s ease-in-out infinite;
    box-sizing: border-box;
}

    .flag-stripe.green {
        top: 0%;
        background: linear-gradient(135deg, #006B32 0%, #007A3D 25%, #008A45 50%, #007A3D 75%, #006B32 100%);
        background-size: 400% 400%;
        animation: greenShimmer 5s ease-in-out infinite;
    }

    .flag-stripe.white {
        top: 33.33%;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 25%, #f5f6fa 50%, #ffffff 75%, #f8f9fa 100%);
        background-size: 400% 400%;
        animation: whiteShimmer 5s ease-in-out infinite;
    }

    .flag-stripe.black {
        top: 66.66%;
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 25%, #0d0d0d 50%, #1a1a1a 75%, #000000 100%);
        background-size: 400% 400%;
        animation: blackShimmer 5s ease-in-out infinite;
    }

.flag-stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 80%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.flag-star {
    color: #DC143C;
    font-size: 2.5rem;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.8), 2px 2px 4px rgba(0,0,0,0.6);
    transform-origin: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    animation: starGlow 3s ease-in-out infinite;
    position: relative;
    flex: 0 0 auto;
    margin: 0;
    line-height: 1;
}

    .flag-star::before {
        content: '★';
        position: absolute;
        top: 0;
        left: 0;
        color: #FF6B6B;
        opacity: 0.6;
        animation: starHighlight 2s ease-in-out infinite;
    }

    .flag-star:nth-child(1) {
        animation-delay: 0s;
    }

    .flag-star:nth-child(2) {
        animation-delay: 0.5s;
    }

    .flag-star:nth-child(3) {
        animation-delay: 1s;
    }

@keyframes naturalWave {
    0%, 100% {
        transform: perspective(800px) rotateX(2deg) rotateY(3deg) scale(1);
    }

    25% {
        transform: perspective(800px) rotateX(-1deg) rotateY(-2deg) scale(1.01);
    }

    50% {
        transform: perspective(800px) rotateX(3deg) rotateY(-3deg) scale(0.99);
    }

    75% {
        transform: perspective(800px) rotateX(-2deg) rotateY(2deg) scale(1.01);
    }
}

@keyframes greenShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes whiteShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes blackShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes starGlow {
    0%, 100% {
        transform: scale(1) rotateZ(0deg);
        filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
    }

    50% {
        transform: scale(1.05) rotateZ(5deg);
        filter: drop-shadow(0 5px 10px rgba(220, 20, 60, 0.6));
    }
}

@keyframes starHighlight {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes fabricTexture {
    0%, 100% {
        filter: brightness(1) contrast(1);
    }

    50% {
        filter: brightness(1.1) contrast(1.05);
    }
}

.flag-star:nth-child(2) {
    animation-delay: 0.3s;
}

.flag-star:nth-child(3) {
    animation-delay: 0.6s;
}



/* Contact Section */
.contact-section {
    background: white;
    padding: 40px;
    text-align: center;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.3rem;
    color: #2c5530;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

    .contact-info:hover {
        background: #5cb85c;
        color: white;
        transform: scale(1.02);
    }

.contact-icon {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        font-size: 2rem;
    }

    .compass-icon {
        font-size: 2.5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .flag-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .flag-image {
        width: auto;
        height: 213px;
    }

    .flag-img {
        border-radius: 8px;
    }

    .logo {
        font-size: 2.2rem;
    }

    .compass-circle {
        width: 60px;
        height: 60px;
    }

    .content-card {
        padding: 25px;
        margin: 20px 0;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(92, 184, 92, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 1;
    }
}
