/* About Page Styles */

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #000000, #000000);
    color: #fff;
    padding-top: 60px;
}

/* Header styling to match page design */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.95));
    /* دعم WebKit لـ Safari */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 65, 0, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    opacity: 1;
}

/* Header fade out effect when scrolling */
header.scrolled {
    transform: translateY(-100%);
    opacity: 0;
    /* دعم WebKit لـ Safari */
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
}

/* Header compact mode when scrolling down */
header.compact {
    transform: translateY(0);
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(20, 20, 20, 0.98));
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

header.compact .header-container {
    padding: 5px 40px;
    height: 50px;
}

header.compact .logo img {
    height: 35px;
}

header.compact .nav-links a {
    font-size: 14px;
}

header.compact .demo-btn a {
    padding: 6px 16px;
    font-size: 13px;
}

/* Header container styling */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 40px;
    max-width: 1200px;
    margin: 0 auto;
    height: 60px;
}

/* Logo styling */
.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation links styling */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff4100;
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff4100, #ff6b35);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Demo button styling */
.demo-btn a {
    background: linear-gradient(45deg, #ff4100, #ff6b35);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 65, 0, 0.3);
}

.demo-btn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

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

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ff4100;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #ff4100;
}

.about-text p {
    font-size: 1.2em;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(255, 65, 0, 0.3);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 65, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 65, 0, 0.2);
    border-color: #ff4100;
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #ff4100;
}

.feature-card p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-header h1 {
        font-size: 2.5em;
    }

    .about-text h2 {
        font-size: 1.8em;
    }

    .header-container {
        padding: 8px 20px;
        flex-direction: column;
        gap: 15px;
        height: auto;
        min-height: 100px;
    }

    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 14px;
    }

    .demo-btn a {
        padding: 8px 16px;
        font-size: 13px;
    }

    header.compact .header-container {
        padding: 5px 20px;
        height: auto;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 100px !important;
    }

    .header-container {
        min-height: 110px;
    }

    .container {
        padding: 20px 15px;
    }

    .about-header h1 {
        font-size: 2em;
    }

    .about-text h2 {
        font-size: 1.5em;
    }

    .about-text p {
        font-size: 1em;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .logo img {
        height: 35px;
    }

    header.compact .logo img {
        height: 30px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 12px 8px;
    }

    .about-header h1 {
        font-size: 1.6em;
    }

    .about-text h2 {
        font-size: 1.2em;
    }

    .feature-card {
        padding: 20px 12px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 12px;
    }

    body {
        padding-top: 110px !important;
    }

    .header-container {
        min-height: 100px;
    }
}