/* Fonts */
* {
    font-family: 'Cairo', 'Poppins', sans-serif;
}

html[dir="ltr"] * {
    font-family: 'Poppins', sans-serif;
}

body {
    padding-top: 76px;
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%) !important;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.navbar-brand {
    font-size: 1.2rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover {
    color: #ffd700 !important;
}

.lang-switcher {
    background: rgba(212, 175, 55, 0.2) !important;
    border-radius: 8px;
    margin: 0 5px;
    padding: 8px 15px !important;
    transition: all 0.3s;
    border: 1px solid rgba(212, 175, 55, 0.3);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.lang-switcher i {
    font-size: 1.1rem;
}

.lang-switcher:hover {
    background: rgba(212, 175, 55, 0.4) !important;
    color: #ffd700 !important;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

@media (max-width: 991px) {
    .lang-switcher {
        margin-top: 10px;
        text-align: center;
        justify-content: center;
    }
}

/* Hero Section */
.hero-section {
    background-image: url('2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 71, 42, 0.75) 0%, rgba(0,0,0,0.6) 50%, rgba(26, 71, 42, 0.75) 100%);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
}

.hero-logo-img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.5));
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-info {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #b8941f, #d4af37);
    margin: 0 auto 30px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
}

/* About Section */
.about-content {
    background: white;
    line-height: 1.8;
    font-size: 1.1rem;
}

.feature-box {
    transition: transform 0.3s;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(42, 90, 61, 0.2);
}

.feature-box i {
    display: block;
}

.feature-box .text-primary {
    color: #2d5a3d !important;
}

.feature-box .text-success {
    color: #28a745 !important;
}

.feature-box .text-danger {
    color: #dc3545 !important;
}

/* Vision & Mission Sections */
.vision-content,
.mission-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    line-height: 2;
    transition: transform 0.3s;
    border: 2px solid transparent;
    border-image: linear-gradient(135deg, #d4af37, #b8941f) 1;
}

.vision-content:hover,
.mission-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(42, 90, 61, 0.15);
}

.vision-content .text-primary {
    color: #2d5a3d !important;
}

.mission-content .text-success {
    color: #28a745 !important;
}

/* Goals Section */
.goal-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    transition: all 0.3s;
    text-align: center;
    border-top: 3px solid #d4af37;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(42, 90, 61, 0.2) !important;
    border-top-color: #2d5a3d;
}

.goal-card i {
    display: block;
    margin-bottom: 15px;
}

.goal-card .text-primary {
    color: #2d5a3d !important;
}

.goal-card .text-success {
    color: #28a745 !important;
}

.goal-card .text-info {
    color: #17a2b8 !important;
}

.goal-card .text-warning {
    color: #d4af37 !important;
}

.goal-card .text-danger {
    color: #dc3545 !important;
}

.goal-card h5 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.goal-card p {
    color: #666;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%) !important;
    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(212,175,55,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

/* Contact Cards */
.contact-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    background: rgba(255,255,255,0.15);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #1a472a;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.contact-card-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.contact-card-text {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-link {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.contact-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

/* Contact Form Container */
.contact-form-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-header {
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 20px;
}

.form-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-title i {
    color: #d4af37;
}

.form-subtitle {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 1rem;
}

/* Contact Form */
.contact-form .form-label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.contact-form .form-label i {
    color: #d4af37;
    margin-left: 5px;
}

.contact-form .form-control {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: #d4af37;
    color: #fff;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
    outline: none;
    transform: translateY(-2px);
}

.contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-contact-submit {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border: none;
    color: #1a472a;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: #1a472a;
}

.btn-contact-submit:active {
    transform: translateY(-1px);
}

.contact-form .form-control:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 53, 69, 0.6);
}

.contact-form .form-control:valid:not(:placeholder-shown) {
    border-color: rgba(40, 167, 69, 0.6);
}

/* Map Container */
.map-container-custom {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    height: 100%;
}

.map-header {
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
}

.map-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.map-title i {
    color: #d4af37;
}

.map-wrapper-custom {
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    height: 400px;
}

.map-wrapper-custom iframe {
    border-radius: 12px;
    width: 100%;
    height: 100%;
}

.btn-map-link {
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid #d4af37;
    color: #d4af37;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-map-link:hover {
    background: #d4af37;
    border-color: #d4af37;
    color: #1a472a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-form-container {
        padding: 30px 25px;
    }
    
    .map-wrapper-custom {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-card {
        padding: 25px 20px;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .map-wrapper-custom {
        height: 300px;
    }
}

.btn-outline-light {
    border-color: rgba(212, 175, 55, 0.5);
    color: #d4af37;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: #d4af37;
    border-color: #d4af37;
    color: #1a472a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer-custom {
    background: linear-gradient(135deg, #1a472a 0%, #2d5a3d 50%, #1a472a 100%) !important;
}

.footer-logo-img {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.footer-custom a {
    color: #d4af37;
    text-decoration: none;
}

.footer-custom a:hover {
    color: #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section {
        background-attachment: scroll;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-info {
        padding: 15px;
    }
}

/* Smooth Scroll */
html {
    scroll-padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

