:root {
    --primary-green: #2E7D32;
    --dark-green: #1B5E20;
    --accnet-red: #C62828;
    --light-bg: #f9f9f9;
    --text-black: #000000;
    --text-grey: #444;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background-color: var(--white);
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--dark-green);
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 18%;
    height: 3px;
    background-color: var(--accnet-red);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: 40px;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 100px;
}


.nav-links {
    display: flex;
}

.nav-links li {
    margin-right: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--text-black);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--accnet-red);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accnet-red);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-black);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 2;
    animation: fadeInUp 1s ease forwards;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-nav button {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    border: none;
    color: var(--white);
    font-size: 1rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
}

.slider-nav button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    align-items: center;
}

/* Core Values cards */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-green);
}

.card:hover {
    transform: translateY(-10px);
}

.card .icon {
    font-size: 3rem;
    color: var(--accnet-red);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--dark-green);
}

/* About Section */
.about-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Activities Grid */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.activity-box {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.activity-box:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.activity-box i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.activity-box:hover i {
    color: var(--white);
}

.activity-box h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card .p-content {
    padding: 20px;
}

.product-card h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Partners */
.partners-flex {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.partner-country {
    text-align: center;
    max-width: 200px;
}

.flag {
    width: 120px;
    height: 80px;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    border-radius: 5px;
    overflow: hidden;
}

.flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Licenses */
.bg-red-green-gradient {
    background: linear-gradient(135deg, var(--primary-green), var(--accnet-red));
}

.text-white {
    color: var(--white) !important;
}


.license-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 15px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 30px;
}

.display-1 {
    font-size: 4rem;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0;
}

.feature-item {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-left: 15px;
}

.feature-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #222;
    color: #eee;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

footer h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.4rem;
    border-right: 3px solid var(--accnet-red);
    padding-right: 15px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact ul li i {
    margin-left: 10px;
    color: var(--accnet-red);
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: var(--white);
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accnet-red);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        left: -100%;
        right: 0;
        top: 80px;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        padding-top: 50px;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
    }

    .burger {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}