:root {
    --primary-color: #0066cc;
    --secondary-color: #003d7a;
    --accent-color: #00a8e8;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #e0e0e0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* RTL Support */
body.rtl {
    direction: rtl;
    font-family: 'Poppins', 'Arial', sans-serif;
}

body.rtl .nav-menu {
    margin-right: 0;
    margin-left: auto;
}

body.rtl .logo span {
    margin-left: 0;
    margin-right: 0;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(0, 51, 102, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 15px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 14px;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.9), rgba(0, 168, 232, 0.7));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
    z-index: 10;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    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;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 20px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    width: 30px;
    border-radius: 6px;
}

/* Section Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-divider.light {
    background: linear-gradient(90deg, var(--white), var(--accent-color));
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.1);
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3), rgba(0, 168, 232, 0.3));
}

.about-content .lead {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    padding: 25px;
    background: var(--gray-light);
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-item:hover .feature-icon svg {
    color: var(--accent-color);
    transform: scale(1.1);
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Fields Section */
.fields-section {
    background: var(--gray-light);
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.field-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.field-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.field-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.field-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.field-card:hover .field-image img {
    transform: scale(1.1);
}

.field-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85), rgba(0, 168, 232, 0.85));
    display: flex;
    align-items: center;
    justify-content: center;
}

.field-icon {
    font-size: 72px;
}

.field-content {
    padding: 30px;
}

.field-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.field-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.field-list {
    list-style: none;
}

.field-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-light);
    font-size: 15px;
}

.field-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Mission & Vision Sections */
.mission-section,
.vision-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.parallax-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-content,
.vision-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 800px;
}

.mission-icon,
.vision-icon {
    font-size: 72px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg,
.vision-icon svg {
    width: 72px;
    height: 72px;
    color: var(--white);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.mission-content h2,
.vision-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--white);
}

.mission-text,
.vision-text {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    padding: 30px;
    background: var(--gray-light);
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(10px);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

.contact-item:hover h4,
.contact-item:hover p,
.contact-item:hover a {
    color: var(--white);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-item:hover .contact-icon svg {
    color: var(--white);
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-medium);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 51, 102, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .fields-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }
}
