/* About Page Specific Styles */

/* About Hero */
.about-hero {
    position: relative;
    height: var(--hero-height-mobile);
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.85) 0%, rgba(13, 111, 212, 0.85) 100%),
                url('../images/heroimage.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, var(--hero-overlay-opacity));
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.about-section.about-section--single {
    grid-template-columns: 1fr;
}

.about-section.reverse {
    direction: rtl;
}

.about-section.reverse > * {
    direction: ltr;
}

.about-content {
    padding: 20px 0;
}

.about-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(19, 127, 236, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-text);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* CTA Section */
.about-cta {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.about-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.about-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    text-decoration: none;
}

/* Center alignment utility */
.center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        height: 320px;
    }

    .about-hero-title {
        font-size: 32px;
    }

    .about-hero-subtitle {
        font-size: 15px;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-section.reverse {
        direction: ltr;
    }

    .about-section-title {
        font-size: 26px;
    }

    .about-text {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .feature-card {
        padding: 28px 22px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-title {
        font-size: 19px;
    }

    .about-cta h2 {
        font-size: 26px;
    }

    .about-cta p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

