@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Cairo:wght@600&display=swap');

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    background-image: url("/static/images/background-account.56e6ed74b0af.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    min-height: 100vh; /* 🔥 Ensures background stretches full height */
}




/* About Page Container */
.about-container {
    text-align: center;
    width: 80vw; /* ✅ Wider but balanced */
    max-width: 80vw; /* ✅ Prevents it from being too wide */
    margin: auto; /* ✅ Centers it properly */
    padding: 3vw; /* ✅ Reduced padding to make it compact */
    border-radius: 15px;
    background-color: rgba(255, 235, 170, 0.92);
    box-shadow: 0px 6px 0px #000;
    animation: fadeIn 1s ease-in-out;
    border: 3px solid 8B0000; /* ✅ Slightly thinner border */
}

/* Header */
.about-header h1 {
    font-family: 'Bangers', cursive;
    font-size: 3rem; /* ✅ Reduced size for balance */
    color: #ff3131;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: D4AF37;
    padding: 8px 16px;
    border-radius: 10px;
    display: inline-block;
    border: 3px solid black;
}

/* About Cards */
.about-card {
    background: D4AF37;
    padding: 1.5rem; /* ✅ Reduced padding */
    margin: 1.5rem 0; /* ✅ Reduced margin */
    border-radius: 12px;
    text-align: center;
    box-shadow: 4px 4px 0px black; /* ✅ Less intense shadow */
    border: 2px solid black; /* ✅ Slightly thinner */
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: scale(1.02); /* ✅ Slightly subtle effect */
}

.about-card h2 {
    font-size: 1.8rem; /* ✅ Reduced for balance */
    color: black;
    text-shadow: 1px 1px 3px #fff;
}

.about-card p {
    font-size: 1.2rem; /* ✅ Reduced for readability */
    line-height: 1.7rem; /* ✅ More compact */
}

/* Team Section */
.team-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5vw; /* ✅ More compact spacing */
    margin-top: 1.5vw;
}

.team-member img {
    width: 7vw; /* ✅ Slightly smaller */
    height: 7vw;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid black; /* ✅ Thinner border */
}

/* Social Media */
.social-icons {
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
    margin: 0 0.8vw; /* ✅ Reduced spacing */
}

.social-icons img {
    width: 2.5vw; /* ✅ Slightly smaller */
    height: 2.5vw;
    transition: transform 0.3s ease-in-out;
}

.social-icons img:hover {
    transform: scale(1.15); /* ✅ More subtle hover */
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}
.btn-home {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #D4AF37;
    color: black;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    text-shadow: 1px 1px 2px black;
    transition: 0.3s;
}
/* MEDIA QUERY FOR PC SCREENS */
@media screen and (min-width: 1024px) {
    .about-container {
        width: 80vw;       /* Reduced container width on PC */
        max-width: 80vw;   /* Prevents it from becoming too wide */
        padding: 2vw;      /* Slightly reduced padding */
    }

    /* Optionally adjust header and card text sizes if needed */
    .about-header h1 {
        font-size: 2.5vw;
    }

    .about-card h2 {
        font-size: 1.5vw;
    }

    .about-card p {
        font-size: 1vw;
        line-height: 1.5vw;
    }

    /* Optionally adjust team images and social icons */
    .team-member img {
        width: 5vw;
        height: 5vw;
    }

    .social-icons img {
        width: 2vw;
        height: 2vw;
    }

    .btn-home {
        font-size: 1vw;
        padding: 1vw 2vw;
    }
}
