/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #dc2626;
    --secondary-dark: #b91c1c;
    --secondary-light: #ef4444;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --accent-light: #fbbf24;
    --dark: #1f2937;
    --dark-light: #374151;
    --white: #ffffff;
    --light: #f3f4f6;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(0px);
    padding: 0;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
}

.navbar.scrolled .nav-link {
    color: var(--dark);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

.navbar.scrolled .menu-toggle span {
    background: var(--dark);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-light);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button.primary {
    background: var(--primary);
    color: var(--white);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--dark);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--gray-50);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--gray-700);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.vision-box,
.mission-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.vision-box h3,
.mission-box h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.vision-box h3::after,
.mission-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.vision-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    text-align: center;
}

.mission-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.mission-list li {
    padding: 1rem;
    padding-right: 2.5rem;
    position: relative;
    color: var(--gray-700);
    background: var(--gray-50);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mission-list li:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(-5px);
}

.mission-list li::before {
    content: '✓';
    position: absolute;
    right: 1rem;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.mission-list li:hover::before {
    color: var(--white);
}

@media (max-width: 768px) {
    .mission-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: var(--gray-50);
    padding: 5rem 0;
}

.gallery-swiper {
    padding: 2rem 0 4rem;
    position: relative;
}

.gallery-swiper .swiper-slide {
    height: auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    background: var(--white);
    cursor: pointer;
    height: 100%;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 64, 175, 0.95) 0%, rgba(30, 64, 175, 0.7) 50%, transparent 100%);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* Swiper Navigation Buttons */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: var(--primary);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.gallery-swiper .swiper-button-next {
    left: auto;
    right: 10px;
}

.gallery-swiper .swiper-button-prev {
    right: auto;
    left: 10px;
}

/* Swiper Pagination */
.gallery-swiper .swiper-pagination {
    bottom: 0;
}

.gallery-swiper .swiper-pagination-bullet {
    background: var(--primary);
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.gallery-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
}

@media (max-width: 768px) {
    .gallery-image {
        height: 250px;
    }

    .gallery-swiper .swiper-button-next,
    .gallery-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .gallery-swiper .swiper-button-next::after,
    .gallery-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* ============================================
   Values Section
   ============================================ */
.values {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.value-card {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--gray-600);
}

.why-choose-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: 12px;
    color: var(--white);
}

.why-choose-box h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-choose-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.why-choose-list li {
    padding: 1rem 0;
    padding-right: 2rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

.why-choose-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-light);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--gray-50);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.info-content h4 {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.credits-text {
    color: var(--gray-400);
}

.credits-link {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.credits-link:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-bottom {
        text-align: center;
    }
}

