* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.8;
    color: #1a1a1a;
    direction: rtl;
    background: #ffffff;
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.header-lower {
    padding: 12px 0;
}

.main-box {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 100px;
    height: 50px;
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.logo-subtitle {
    font-size: 12px;
    color: #718096;
    font-weight: 400;
}

.nav-outer {
    position: relative;
}

.nav-outer .navigation {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.navigation li {
    position: relative;
}

.navigation li a {
    color: #2d3748;
    text-decoration: none;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border-radius: 12px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.navigation li.dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.navigation li.dropdown:hover > a::after {
    transform: rotate(180deg);
}

.navigation li ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    min-width: 250px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.navigation li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
}

.navigation li ul li {
    margin: 0;
    width: 100%;
}

.navigation li ul li a {
    color: #4a5568;
    padding: 12px 15px;
    border-radius: 10px;
    margin: 3px 0;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.navigation li ul li a:hover {
    background: rgba(0, 167, 225, 0.1);
}

.mobile-nav-toggler {
    display: none;
    color: #2d3748;
    font-size: 24px;
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(0, 167, 225, 0.1);
}

.mobile-nav-toggler:hover {
    background: rgba(0, 167, 225, 0.2);
    transform: scale(1.05);
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    padding: 20px;
    z-index: 999;
}

.mobile-menu.show {
    display: block;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu ul li {
    margin-bottom: 10px;
}

.mobile-menu ul li a {
    display: block;
    padding: 15px 20px;
    color: #2d3748;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
}

.mobile-menu ul li a:hover {
    background: rgba(0, 167, 225, 0.1);
}

.mobile-menu .dropdown-content {
    display: none;
    background: rgba(0, 167, 225, 0.05);
    border-radius: 12px;
    margin-top: 8px;
    padding: 10px;
}

.mobile-menu .dropdown-content.show {
    display: block;
}

.mobile-menu .dropdown-content a {
    padding: 10px 15px;
    font-size: 14px;
    color: #4a5568;
}

/* Hero Image Section */
.hero-image-section {
    margin-top: 76px;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 167, 225, 0.8), rgba(0, 136, 204, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Content Section */
.content-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #00a7e1, #0088cc);
    border-radius: 2px;
}

.section-title p {
    color: #4a5568;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.team-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 167, 225, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 167, 225, 0.15);
    border-color: rgba(0, 167, 225, 0.3);
}

.team-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 20px;
}

.text-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: right;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 167, 225, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 167, 225, 0.05), transparent);
    transition: left 0.6s ease;
}

.text-content:hover::before {
    left: 100%;
}

.text-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 167, 225, 0.15);
    border-color: rgba(0, 167, 225, 0.3);
}

.text-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.text-content h3 i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00a7e1, #0088cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.text-content:hover h3 i {
    transform: scale(1.1) rotate(5deg);
}

.text-content p {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.text-content ul {
    list-style: none;
    margin-bottom: 20px;
}

.text-content ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #4a5568;
    font-size: 16px;
}

.text-content ul li i {
    color: #00a7e1;
    margin-left: 12px;
    width: 20px;
    font-size: 14px;
}

.content-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00a7e1, #0088cc);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.content-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 167, 225, 0.3);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 75%, rgba(0, 167, 225, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(0, 136, 204, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.widgets-section {
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    padding: 20px;
}

.footer-widget {
    height: 100%;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00a7e1, #0088cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.footer-logo-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.footer-logo-text p {
    font-size: 12px;
    opacity: 0.8;
    margin: 2px 0 0 0;
}

.footer-widget h4,
.footer-widget h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after,
.footer-widget h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #00a7e1, #0088cc);
    border-radius: 2px;
}

.footer-widget .user-links {
    list-style: none;
}

.footer-widget .user-links li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-widget .user-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
    font-size: 15px;
    cursor: pointer;
}

.footer-widget .user-links li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 10px;
    color: #00a7e1;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-widget .user-links li a:hover {
    color: #00a7e1;
    transform: translateX(-10px);
}

.footer-widget .user-links li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.list-style-two {
    list-style: none;
}

.list-style-two li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    font-size: 15px;
    line-height: 1.6;
}

.list-style-two li i {
    color: #00a7e1;
    margin-left: 15px;
    width: 20px;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.social-icon-two {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    margin-top: 25px;
}

.social-icon-two li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.social-icon-two li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-icon-two li a:hover::before {
    left: 100%;
}

.social-icon-two li:nth-child(1) a:hover { background: #1877f2; }
.social-icon-two li:nth-child(2) a:hover { background: #1da1f2; }
.social-icon-two li:nth-child(3) a:hover { background: #e4405f; }
.social-icon-two li:nth-child(4) a:hover { background: #ff0000; }
.social-icon-two li:nth-child(5) a:hover { background: #0077b5; }
.social-icon-two li:nth-child(6) a:hover { background: #25d366; }

.social-icon-two li a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.copyright-text a {
    color: #00a7e1;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copyright-text a:hover {
    text-shadow: 0 0 10px rgba(0, 167, 225, 0.5);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00a7e1, #0088cc);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 167, 225, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 167, 225, 0.4);
}

/* Mobile Styles */
@media (max-width: 1200px) {
    .main-box {
        padding: 0 25px;
    }
    
    .navigation {
        gap: 4px;
    }
    
    .navigation li a {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .nav-outer {
        display: none;
    }

    .mobile-nav-toggler {
        display: block;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .team-card, .text-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .main-box {
        padding: 0 20px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-title {
        font-size: 18px;
    }

    .hero-image-section {
        height: 50vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .content-section {
        padding: 80px 0;
    }

    .auto-container {
        padding: 0 20px;
    }

    .social-icon-two {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-image-section {
        height: 40vh;
        min-height: 250px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .main-box {
        padding: 0 15px;
    }

    .team-card, .text-content {
        padding: 25px 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-icon-two {
        justify-content: center;
        grid-template-columns: repeat(auto-fit, minmax(48px, 1fr));
    }

    .list-style-two li {
        justify-content: center;
    }
}