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

:root {
    --primary-green: #006C35;
    --light-green: #00A651;
    --gold: #FFD700;
    --white: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --border: #E8E8E8;
}

html {
    scroll-behavior: smooth;
}

/* Animated Green Background with Waves */
html {
    background: linear-gradient(135deg, #00D966 0%, #00E680 50%, #00D966 100%);
    background-size: 400% 400%;
    animation: waveBackground 15s ease infinite;
    min-height: 100vh;
}

@keyframes waveBackground {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: transparent;
    direction: rtl;
    position: relative;
    min-height: 100vh;
}

/* Wave SVG Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 600px 120px;
    background-repeat: repeat-x;
    background-position: 0 0;
    animation: wave 15s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes wave {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 600px 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

/* ============ NAVIGATION ============ */
.navbar {
    background: var(--white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 108, 53, 0.1);
    border-bottom: 3px solid var(--primary-green);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-brand h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-green);
}

/* ============ DROPDOWN ============ */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.05) 0%, rgba(0, 166, 81, 0.05) 100%);
    border: 1.5px solid rgba(0, 108, 53, 0.2);
}

.dropdown-toggle:hover {
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.12) 0%, rgba(0, 166, 81, 0.12) 100%);
    color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 108, 53, 0.15);
}

.more-icon {
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.dropdown.show .dropdown-toggle .more-icon {
    transform: rotate(90deg);
    color: var(--primary-green);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--white);
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 108, 53, 0.25);
    top: 100%;
    right: 0;
    margin-top: 12px;
    border: 2px solid var(--primary-green);
    overflow: hidden;
    z-index: 1001;
    animation: slideDown 0.3s ease;
    backdrop-filter: blur(10px);
}

.dropdown-content.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 14px 18px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: rgba(0, 108, 53, 0.08);
    color: var(--primary-green);
    border-right-color: var(--primary-green);
}

/* ============ HERO SECTION ============ */
.hero {
    padding: 60px 0;
    background: transparent;
}

/* Main Content */
.hero-content {
    text-align: center;
    margin-bottom: 50px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-green);
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-light);
}

/* ============ CAROUSEL ============ */
.carousel-container {
    margin-bottom: 60px;
}

.carousel-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 108, 53, 0.2);
    background: var(--bg-light);
    aspect-ratio: 16 / 9;
    max-height: 600px;
}

.carousel-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 108, 53, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.carousel-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--light-green);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 108, 53, 0.3);
}

.carousel-indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 108, 53, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: var(--primary-green);
    width: 32px;
    border-radius: 6px;
}

.indicator:hover {
    background: var(--light-green);
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-download {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-4px);
}

.btn-download img {
    height: 55px;
    width: auto;
    display: block;
}

/* ============ JOIN US SECTION ============ */
.join-us {
    padding: 80px 0;
    background: transparent;
    border-top: 3px solid var(--primary-green);
    border-bottom: 3px solid var(--primary-green);
}

.join-content {
    text-align: center;
}

.join-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 48px;
    color: var(--primary-green);
}

.security-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.security-item {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.security-item:hover {
    border-color: var(--primary-green);
    box-shadow: 0 8px 24px rgba(0, 108, 53, 0.15);
    transform: translateY(-4px);
}

.security-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.security-item p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.security-item strong {
    color: var(--primary-green);
    font-weight: 700;
}

.download-buttons-secondary {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download-large {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-download-large:hover {
    transform: translateY(-6px);
}

.btn-download-large img {
    height: 60px;
    width: auto;
    display: block;
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(135deg, var(--text-dark), #0F0F0F);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid var(--primary-green);
}

.footer p {
    font-size: 15px;
    margin-bottom: 8px;
}

.footer p:first-child {
    font-weight: 700;
    color: var(--gold);
    font-size: 16px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .security-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .carousel-wrapper {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .carousel-wrapper {
        aspect-ratio: 1 / 1;
        max-height: 400px;
    }

    .carousel-label {
        font-size: 14px;
        padding: 10px 16px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .download-buttons {
        gap: 20px;
        margin-bottom: 15px;
    }

    .btn-download img {
        height: 50px;
    }

    .join-us {
        padding: 60px 0;
    }

    .join-content h2 {
        font-size: 32px;
        margin-bottom: 36px;
    }

    .security-features {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 36px;
    }

    .security-item {
        padding: 24px 20px;
    }

    .security-icon {
        font-size: 40px;
    }

    .security-item p {
        font-size: 14px;
    }

    .btn-download-large img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-brand h1 {
        font-size: 22px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .hero {
        padding: 30px 0;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .carousel-wrapper {
        aspect-ratio: 1 / 1.2;
        max-height: 300px;
    }

    .carousel-controls {
        gap: 16px;
        margin-top: 16px;
    }

    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 24px;
    }

    .download-buttons {
        gap: 16px;
        margin-bottom: 10px;
    }

    .btn-download img {
        height: 45px;
    }

    .join-us {
        padding: 40px 0;
    }

    .join-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .security-features {
        gap: 16px;
        margin-bottom: 24px;
    }

    .security-item {
        padding: 16px 12px;
    }

    .security-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .security-item p {
        font-size: 12px;
    }

    .btn-download-large img {
        height: 45px;
    }

    .footer p {
        font-size: 13px;
    }
}
