/* ===================================
   General Styles
   =================================== */
:root {
    /* Color Palette from Image */
    --color-primary: #6B5B3D;        /* Golden brown/olive */
    --color-primary-dark: #2A2418;    /* Very dark brown */
    --color-secondary: #4A4A3A;      /* Medium-dark olive brown */
    --color-accent: #7A6B4F;         /* Medium warm olive brown */
    --color-light: #8B7A5F;          /* Lighter olive brown */
    --color-dark: #1A1612;           /* Almost black brown */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-bg-light: #F5F3F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Navigation
   =================================== */
#mainNav {
    background: rgba(42, 36, 24, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainNav.scrolled {
    background: rgba(42, 36, 24, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-white) !important;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-left: 10px;
}

.brand-text {
    color: var(--color-white);
}

.navbar-nav .nav-link {
    color: var(--color-white) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--color-accent) !important;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2076&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(42, 36, 24, 0.85) 0%, rgba(74, 74, 58, 0.75) 50%, rgba(107, 91, 61, 0.8) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: var(--color-accent);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    background: var(--color-accent);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: 0 5px 15px rgba(122, 107, 79, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(122, 107, 79, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Section Styles
   =================================== */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    position: relative;
}

.title-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to left, var(--color-accent), var(--color-primary));
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.bg-light {
    background-color: var(--color-bg-light) !important;
}

/* ===================================
   About Section
   =================================== */
.about-content h3 {
    color: var(--color-primary-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--color-text-light);
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-content .lead {
    color: var(--color-text);
    font-size: 1.15rem;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    border-radius: 15px;
    padding: 80px 40px;
    text-align: center;
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.image-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1.2rem;
    margin: 0;
}

/* ===================================
   Mission Section
   =================================== */
.mission-card {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 15px rgba(122, 107, 79, 0.3);
}

.mission-icon i {
    font-size: 2.5rem;
    color: var(--color-white);
}

.mission-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text-light);
    margin: 0;
}

/* ===================================
   Vision Section
   =================================== */
.vision-card {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    color: var(--color-white);
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    backdrop-filter: blur(10px);
}

.vision-icon i {
    font-size: 2.5rem;
    color: var(--color-white);
}

.vision-text {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* ===================================
   Goal Section
   =================================== */
.goal-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.goal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(122, 107, 79, 0.3);
}

.goal-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.goal-card h4 {
    color: var(--color-primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.goal-card p {
    color: var(--color-text-light);
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.contact-item h5 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-white);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.3));
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .mission-card,
    .vision-card,
    .contact-card {
        padding: 2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }
}

