/* ABOUT SECTION ONLY – does NOT touch body or navbar */

* {
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* The main about area sits under the fixed navbar */
.about-section {
    width: 100%;
    min-height: 100vh;
    padding: 140px 20px 60px; /* top padding so it clears navbar */
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Glassmorphism card */
.about-card {
    max-width: 860px;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 60px;
    box-shadow:
            0 40px 120px rgba(0,0,0,0.25),
            0 0 80px rgba(0,140,255,0.45);
    transform-style: preserve-3d;
    animation: floatCard 6s ease-in-out infinite;
}

/* Dark-mode variant for the card */
.dark-mode .about-card {
    background: rgba(0, 0, 0, 0.45);
}

/* Hover depth */
.about-card:hover {
    box-shadow:
            0 60px 160px rgba(0,0,0,0.35),
            0 0 120px rgba(120,115,245,0.8);
}

/* Headings */
.about-card h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 16px rgba(255,110,196,0.6));
}

.about-card h3 {
    text-align: center;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.85;
}

/* Paragraphs */
.about-text {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 18px;
}

/* Tags row */
.about-tags {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.about-tags span {
    padding: 10px 22px;
    border-radius: 30px;
    background: linear-gradient(135deg, #007cf0, #00dfd8);
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0,140,255,0.6);
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-tags span:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 15px 45px rgba(0,140,255,0.9);
}

/* Floating animation for the card */
@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-card {
        padding: 40px 25px;
    }

    .about-card h1 {
        font-size: 34px;
    }
}
