/* =======================
   Edge Technology Website
   Colors: Blue (Trust), Orange, White
   ======================= */

:root {
    --primary-blue: #0066CC;
    --secondary-blue: #0052A3;
    --light-blue: #E6F2FF;
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    overflow-x: hidden;
}

[dir="rtl"] body {
    font-family: 'Cairo', 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =======================
   Navigation Bar
   ======================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.lang-btn {
    padding: 8px 20px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s;
}

/* =======================
   Hero Section
   ======================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px 50px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary-orange);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
    background: var(--secondary-orange);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* =======================
   Section Styling
   ======================= */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 24px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* =======================
   About Section
   ======================= */
.about-section {
    background: var(--light-bg);
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.vision-card, .mission-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-box i {
    font-size: 2.5rem;
    color: white;
}

.vision-card h3, .mission-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.mission-list {
    list-style: none;
    margin-top: 20px;
}

.mission-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mission-list i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.values-section {
    margin-top: 60px;
    text-align: center;
}

.values-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    transition: all 0.3s;
}

.value-item:hover i {
    color: white;
    transform: scale(1.2);
}

.value-item span {
    font-weight: 600;
}

/* =======================
   Experience Section
   ======================= */
.experience-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: white;
}

.experience-section .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.experience-section .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 107, 53, 0.2);
    border-color: var(--primary-orange);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.experience-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--primary-orange);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-orange);
}

/* =======================
   Services Section
   ======================= */
.services-section {
    background: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary-orange);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.service-list i {
    color: var(--primary-orange);
    font-size: 1rem;
}

/* =======================
   Advantages Section
   ======================= */
.advantages-section {
    background: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.advantage-card {
    background: var(--light-bg);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 2rem;
    color: white;
}

.advantage-card h4 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.advantage-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-us-section {
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 60px;
    border-radius: 30px;
    text-align: center;
}

.why-us-title {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 40px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-us-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s;
}

.why-us-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.why-us-item i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.why-us-item h5 {
    color: white;
    font-weight: 600;
}

/* =======================
   Industries Section
   ======================= */
.industries-section {
    background: var(--light-bg);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.industry-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-left: 4px solid var(--primary-blue);
}

.industry-card:hover {
    transform: translateX(10px);
    border-left-color: var(--primary-orange);
    box-shadow: var(--shadow-hover);
}

[dir="rtl"] .industry-card {
    border-left: none;
    border-right: 4px solid var(--primary-blue);
}

[dir="rtl"] .industry-card:hover {
    transform: translateX(-10px);
    border-right-color: var(--primary-orange);
}

.industry-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

.industry-card span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* =======================
   Contact Section
   ======================= */
.contact-section {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--primary-blue);
}

.form-control {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.submit-btn {
    padding: 15px 40px;
    background: var(--primary-orange);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--secondary-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.contact-info-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    min-width: 40px;
}

.info-item h5 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.info-item p {
    color: var(--text-light);
    margin: 5px 0;
}

/* =======================
   Footer
   ======================= */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-orange);
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

[dir="rtl"] .footer-links a:hover {
    transform: translateX(-5px);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--primary-orange);
    min-width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* =======================
   Responsive Design
   ======================= */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
    }

    [dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
    }

    .nav-menu.active {
        left: 0;
    }

    [dir="rtl"] .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .industries-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================
   Utility Classes
   ======================= */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}