/* ===============================
   ABOUT SECTION - Dark Mode
================================ */

.about {
    padding: 4rem 1.5rem;
    background-color: #315b9e;
    display: flex;
    justify-content: center;
    color: #ffffff; 
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    gap: 2.5rem;
}

.about-content {
    flex: 1 1 50%;
    min-width: 300px;
    max-width: 600px;
    padding: 0 1rem;
}

/* TITLE */
.about-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff; 
    position: relative;
    margin-bottom: 1.5rem;
}

.about-title .line {
    display: block;
    width: 60px;
    height: 4px;
    background: #38bdf8; 
    margin-top: 8px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* TEXT AREA */
.about-text {
    color: #e0e7ff; 
    font-size: 1.1rem;
    line-height: 1.7rem;
    margin-bottom: 1.5rem;
}


.about-list {
    list-style: none;
    margin-bottom: 2rem;
    padding-left: 0;
    display: flex; 
    flex-wrap: wrap;
    gap: 8px 15px;
    justify-content: flex-start;
}

.about-list li {
    font-size: 0.9rem; 
    line-height: 1.4;
    padding: 6px 12px; 
    margin: 0;
    font-weight: 700; 
    color: #ffffff; 
    background-color: transparent;
    border: none; 
    border-radius: 4px;
    cursor: default;
    transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.about-list li:hover {
    transform: translateY(-2px);
    color: #ffffff; 
    background-color: #38bdf8;
    box-shadow: 0 4px 8px rgba(56, 189, 248, 0.3); 
}



.about-btn {
    display: inline-block;
    background: linear-gradient(45deg, #38bdf8, #60a5fa);
    padding: 0.9rem 2rem; 
    color: #ffffff; 
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 15px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
    align-self: center;
}

.about-btn:hover {
    background: linear-gradient(45deg, #60a5fa, #38bdf8);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(56, 189, 248, 0.5);
    color: #ffffff;
}


.about-image-wrapper {
    position: relative;
    flex: 1 1 40%;
    min-width: 300px;
    max-width: 450px;
    margin: 2rem auto 0;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 162, 255, 0.25);
    animation: floating 4.5s ease-in-out infinite; 
}


.glow-circle {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 140px;
    height: 140px;
    background: rgba(56, 189, 248, 0.25);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulseGlow 6s ease-in-out infinite;
}


@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Glow animation */
@keyframes pulseGlow {
    0% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.15); }
    100% { opacity: 0.4; transform: scale(1); }
}

/* Fade-In (AOS/JS handles this) */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
    color: #ffffff; 
}

/* RESPONSIVE BREAKPOINTS */

@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .about-content {
        max-width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .about-title, .about-text {
        text-align: center;
    }
    
    .about-list {
        justify-content: center;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin-bottom: 1rem;
    }

    .about-title .line {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile Devices (Max width 550px) */
@media (max-width: 550px) {
    .about {
        padding: 3rem 1rem;
    }

    .about-title {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }

    .about-image-wrapper {
        display: none;
    }
}
