/* ==================================================
   Premium About Page Styles (Dark & Modern)
   ================================================== */

/* Overall Body & Main content */
body {
    background: #040b14 !important;
    /* Matches sidebar */
    color: #a8b2c1;
    font-family: 'Poppins', sans-serif;
}

#main {
    padding: 80px 40px;
    min-height: 100vh;
    background: radial-gradient(circle at top left, #0a192f 0%, #040b14 100%);
}

/* About Section Typography */
.about {
    color: #a8b2c1;
    animation: fadeIn 1s ease-in-out;
}

/* Section Title */
.section-title {
    padding-bottom: 40px;
    position: relative;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ccd6f6;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #149ddd, #00d2ff);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-title:hover h2::after {
    width: 100%;
}

.section-title p {
    font-size: 16px;
    line-height: 1.8;
    color: #8892b0;
    max-width: 800px;
}

/* About Content Glassmorphism Card */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Image Styling */
.about-img {
    flex: 0 0 30%;
    max-width: 30%;
    position: relative;
}


.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
    filter: grayscale(20%) contrast(1.1);
}

.about-img:hover img {
    transform: scale(1.02);
    filter: grayscale(0%) contrast(1.1);
}

/* About Info */
.about-info {
    flex: 1;
}

.about-info h3 {
    font-weight: 700;
    font-size: 30px;
    color: #ccd6f6;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ccd6f6, #149ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-info .fst-italic {
    font-style: italic;
    color: #8892b0;
    margin-bottom: 25px;
    font-size: 17px;
    border-left: 4px solid #149ddd;
    padding-left: 15px;
}

.about-info p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

/* Details List */
.about-details {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.2);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.about-details-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.about-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-details ul li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.about-details ul li:hover {
    transform: translateX(8px);
}

.about-details ul li i {
    font-size: 14px;
    color: #00d2ff;
    background: rgba(20, 157, 221, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 0 10px rgba(20, 157, 221, 0.2);
    flex-shrink: 0;
    margin-top: -3px;
}

.about-details ul li strong {
    margin-right: 15px;
    color: #ccd6f6;
    font-weight: 600;
    width: 110px;
    flex-shrink: 0;
}

.about-details ul li span {
    color: #a8b2c1;
    word-break: break-word;
    flex: 1;
    line-height: 1.5;
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1199px) {
    #main {
        padding: 60px 20px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        padding: 30px;
    }

    .about-img {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .about-img::before {
        transform: translate(10px, 10px);
    }
}

@media (max-width: 768px) {
    .about-details-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .about-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 24px;
    }

    .about-details ul li {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-details ul li strong {
        margin-bottom: 5px;
    }
}