/* About Page Styles */

.about-hero {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/back.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-hero-title {
    font-size: 96px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    background-color: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-hero-subtitle {
    font-size: 18px;
    letter-spacing: 2px;
    color: #f1f1f1;
    text-transform: uppercase;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.about-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #fff;
}

.content-box {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    line-height: 1.8;
    font-size: 16px;
    color: #ccc;
}

.content-box p {
    margin-bottom: 20px;
}

.content-box p:last-child {
    margin-bottom: 0;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: #fff;
    font-weight: 600;
    margin-right: 10px;
}

/* Features Grid */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #1a1a1a;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* Contacts Grid */

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #0a0a0a;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.contact-item:hover {
    border-color: rgba(255,255,255,0.2);
    background-color: #141414;
}

.contact-icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border-radius: 8px;
}

.contact-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.contact-info a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.contact-info a:hover {
    color: #fff;
}

/* Team Stats */

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #0a0a0a;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Edit Button */

.edit-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.edit-btn:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Modal Styles */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.close-modal {
    font-size: 36px;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 30px;
}

.modal-body textarea {
    width: 100%;
    padding: 15px;
    background-color: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    font-family: 'Inter', monospace;
    line-height: 1.6;
    resize: vertical;
}

.modal-body textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
}

.modal-footer {
    display: flex;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-save {
    flex: 1;
    padding: 15px 30px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-save:hover {
    background-color: #e0e0e0;
}

.btn-cancel-modal {
    flex: 1;
    padding: 15px 30px;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cancel-modal:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Responsive Design */

@media (max-width: 768px) {
    .about-hero {
        height: 40vh;
        padding: 0 20px;
    }

    .about-hero-title {
        font-size: 48px;
        letter-spacing: 4px;
    }

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

    .about-container {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .content-box {
        padding: 25px;
    }

    .features-grid,
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-footer {
        flex-direction: column;
    }
}
