/* CSS Variables */
:root {
    --primary-color: #427b20;
    --primary-dark: #2f5816;
    --primary-light: #6aa843;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-off-white: #f9f9f9;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.navbar {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0; /* RTL */
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(66, 123, 32, 0.1);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Optional: Slight parallax effect handled in JS or CSS scale */
    animation: zoomIn 20s infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding-top: 60px; /* Offset for header */
}

.vision-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(66, 123, 32, 0.1);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-weight: 500;
}

.description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.description p {
    margin-bottom: 10px;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(66, 123, 32, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 123, 32, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Animations */
@keyframes zoomIn {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 30px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transition: var(--transition);
        text-align: center;
    }

    .navbar.active {
        right: 0;
    }

    .social-icons {
        display: none; /* Hide mostly on mobile or move to menu */
    }

    .main-title {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--bg-off-white);
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 60px;
    font-weight: 900;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(66, 123, 32, 0.15);
    border-color: rgba(66, 123, 32, 0.2);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(66, 123, 32, 0.08);
    color: var(--primary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Scroll Animation Helper */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--white);
    overflow: hidden;
}

.features-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.features-text {
    flex: 1;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 30px;
    position: relative;
}

.feature-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin-top: 10px;
}

.features-list {
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
}

.features-list li i {
    color: var(--primary-color);
    margin-left: 15px; /* RTL space */
    font-size: 1.4rem;
}

.features-image {
    flex: 1;
    position: relative;
}

.features-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.features-image:hover img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .features-content {
        flex-direction: column;
    }
    
    .features-image {
        order: -1;
        width: 100%;
    }
}

/* Launch Message Section */
.launch-message-section {
    position: relative;
    padding: 120px 0;
    background: url('hero-bg.png') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax feel */
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.launch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 88, 22, 0.85); /* Dark Green Overlay */
    z-index: 1;
}

.launch-content {
    position: relative;
    z-index: 2;
}

.launch-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.launch-text {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1.3;
}

.launch-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0.7;
}

.launch-decoration .dot {
    width: 10px;
    height: 10px;
    background: var(--white);
    border-radius: 50%;
}

.launch-decoration .line {
    width: 100px;
    height: 2px;
    background: var(--white);
}

@media (max-width: 768px) {
    .launch-text {
        font-size: 2.2rem;
    }
}
