/* ===================================
   General Styles
   =================================== */
:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2a;
    --light-green: #6b9f3f;
    --primary-brown: #8b6f47;
    --secondary-brown: #a0826d;
    --light-brown: #c4a574;
    --dark-text: #2c3e50;
    --light-text: #ffffff;
    --bg-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-text) !important;
    text-decoration: none;
}

.logo-img {
    width: auto;
    height: 50px;
    max-width: 150px;
    margin-left: 10px;
    border-radius: 5px;
    object-fit: contain;
    background: transparent;
}

.brand-name {
    font-size: 1.3rem;
}

.navbar-nav .nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
    background: transparent;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-green) 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
}

.btn-outline-light {
    border: 2px solid var(--light-text);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--primary-green);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--light-text);
    font-size: 2rem;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===================================
   Animations
   =================================== */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-green);
    position: relative;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-brown));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.title-underline.bg-white {
    background: var(--light-text);
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background-color: var(--bg-light);
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-card {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-green) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--light-text);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-card i {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.about-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===================================
   Services Section
   =================================== */
.services-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    position: relative;
}

.service-card {
    background: var(--light-text);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-green);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top-color: var(--primary-brown);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-text {
    font-size: 1rem;
    color: var(--dark-text);
    line-height: 1.8;
}

/* ===================================
   Vision Section
   =================================== */
.vision-section {
    background-color: var(--bg-light);
}

.vision-card {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-green);
}

.vision-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--secondary-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.vision-card:hover .vision-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
}

.vision-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.vision-text {
    font-size: 1.1rem;
    color: var(--dark-text);
    line-height: 1.8;
    text-align: justify;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-green) 100%);
}

.contact-info {
    margin-top: 2rem;
}

.contact-card {
    background: var(--light-text);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-brown);
    text-decoration: underline;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-brown) 100%);
    color: var(--light-text);
}

.footer-text {
    margin: 0;
    font-size: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--light-text);
    color: var(--primary-green);
    transform: translateY(-5px);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-logo {
        max-width: 200px;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .service-card,
    .vision-card,
    .contact-card {
        margin-bottom: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .logo-img {
        width: auto;
        height: 40px;
        max-width: 120px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
}

/* ===================================
   Smooth Scroll
   =================================== */
html {
    scroll-behavior: smooth;
}

/* ===================================
   Loading Animation
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

