/* ===== ABOUT SECTION - PROFESSIONAL LAYOUT ===== */

.about {
    background: linear-gradient(180deg, #0a0a12 0%, #12121f 100%);
    min-height: 100vh;
    padding: 6rem 9% 2rem;
    position: relative;
}


/* ===== MAIN CONTAINER ===== */

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
    padding: 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
}


/* Container hover glow effect */

.about-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #64ffda, #7b61ff, #ff6b9d, #64ffda);
    background-size: 300% 300%;
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGradient 4s ease infinite;
}

@keyframes borderGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.about-container:hover::before {
    opacity: 0.3;
}


/* Container subtle hover lift */

.about-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}


/* ===== CONTENT SECTION ===== */

.about-content {
    flex: 1;
    min-width: 300px;
    padding-top: 0.5rem;
    transition: all 0.4s ease;
}


/* Content slide effect on hover */

.about-content:hover {
    transform: translateX(10px);
}


/* Heading Style */

.about-content h3 {
    font-size: 1.9rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}


/* Heading glow on hover */

.about-content:hover h3 {
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}


/* Heading underline effect */

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #64ffda, #7b61ff);
    transition: width 0.3s ease;
}

.about-content:hover h3::after {
    width: 60px;
}


/* Paragraph Style */

.about-content p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #a0a0b0;
    margin-bottom: 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.about-content:hover p {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}


/* ===== CARDS SECTION ===== */

.about-cards {
    flex: 1.3;
    display: flex;
    flex-direction: row;
    gap: 1.2rem;
    justify-content: space-between;
    transition: all 0.4s ease;
}


/* Cards container hover effect */

.about-cards:hover .about-card:not(:hover) {
    opacity: 0.6;
    transform: scale(0.95);
}


/* Individual Card */

.about-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.4rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}


/* Card shine effect on hover */

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.about-card:hover::after {
    animation: shine 0.8s ease-in-out;
    opacity: 1;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}


/* Card hover effect */

.about-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(100, 255, 218, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(100, 255, 218, 0.12);
    background: linear-gradient(180deg, rgba(100, 255, 218, 0.08) 0%, rgba(123, 97, 255, 0.05) 100%);
}


/* Card glow pulse animation */

@keyframes cardGlow {
    0%,
    100% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 20px rgba(100, 255, 218, 0.12);
    }
    50% {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 40px rgba(100, 255, 218, 0.3);
    }
}

.about-card:hover {
    animation: cardGlow 2s ease-in-out infinite;
}


/* Card top border gradient on hover */

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #7b61ff);
    border-radius: 14px 14px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}


/* Card side border gradient on hover */

.about-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: linear-gradient(180deg, #64ffda, #7b61ff, #ff6b9d);
    border-radius: 14px 0 0 14px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
}

.about-card:hover::after {
    transform: scaleY(1);
}


/* Card Icon */

.about-card i {
    font-size: 1.8rem;
    color: #64ffda;
    margin-bottom: 0.9rem;
    display: inline-block;
    transition: all 0.4s ease;
}


/* Icon float animation on hover */

@keyframes iconFloat {
    0%,
    100% {
        transform: translateY(0) scale(1.1);
    }
    50% {
        transform: translateY(-5px) scale(1.15);
    }
}

.about-card:hover i {
    animation: iconFloat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 12px rgba(100, 255, 218, 0.8));
    color: #7bffda;
}


/* Card Title */

.about-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.7rem;
    position: relative;
    transition: all 0.3s ease;
}


/* Card title glow on hover */

.about-card:hover h4 {
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
}


/* Card title underline on hover */

.about-card h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #64ffda;
    transition: width 0.3s ease;
}

.about-card:hover h4::after {
    width: 40px;
}

.about-card:hover h4 {
    color: #64ffda;
    transform: translateX(5px);
}


/* Card List */

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

.about-card ul li {
    font-size: 0.88rem;
    color: #a0a0b0;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    position: relative;
    transition: all 0.3s ease;
}


/* List item stagger animation on card hover */

.about-card:hover ul li:nth-child(1) {
    transition-delay: 0.05s;
}

.about-card:hover ul li:nth-child(2) {
    transition-delay: 0.1s;
}

.about-card:hover ul li:nth-child(3) {
    transition-delay: 0.15s;
}

.about-card:hover ul li:nth-child(4) {
    transition-delay: 0.2s;
}

.about-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #64ffda;
    font-size: 0.7rem;
    top: 2px;
    transition: all 0.3s ease;
}

.about-card ul li:hover {
    color: #ffffff;
    transform: translateX(8px);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.about-card ul li:hover::before {
    left: 5px;
    color: #7b61ff;
    text-shadow: 0 0 8px rgba(123, 97, 255, 0.8);
}


/* ===== SECTION HEADER ===== */

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}


/* Section header glow on hover */

.section-header:hover .section-title {
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.4);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}


/* Title scale effect on hover */

.section-header:hover .section-title {
    transform: scale(1.05);
}


/* Title span gradient */

.section-title span {
    background: linear-gradient(135deg, #64ffda, #7b61ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.section-header:hover .section-title span {
    background: linear-gradient(135deg, #7bffda, #a561ff, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
}


/* Title underline */

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #64ffda, #7b61ff, #64ffda);
    background-size: 200% 100%;
    animation: titleGradient 3s ease infinite;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.section-header:hover .section-title::after {
    width: 100px;
    height: 4px;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.6);
}

@keyframes titleGradient {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-subtitle {
    font-size: 1rem;
    color: #6b6b7b;
    margin-top: 0.8rem;
    transition: all 0.3s ease;
}

.section-header:hover .section-subtitle {
    color: #a0a0b0;
    text-shadow: 0 0 10px rgba(160, 160, 176, 0.3);
}


/* ===== RESPONSIVE STYLES ===== */

@media (max-width: 1024px) {
    .about-container {
        flex-direction: row;
        gap: 2rem;
    }
    .about-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .about-card {
        min-width: 180px;
        flex: 1 1 45%;
    }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 2rem;
    }
    .about-content {
        min-width: 100%;
        text-align: center;
    }
    .about-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .about-content:hover h3::after {
        width: 60px;
    }
    .about-cards {
        flex-direction: row;
        justify-content: center;
    }
    .about-card {
        min-width: 160px;
        flex: 1 1 45%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 5rem 5% 2rem;
    }
    .about-cards {
        flex-direction: column;
        align-items: center;
    }
    .about-card {
        width: 100%;
        max-width: 320px;
    }
    .section-title {
        font-size: 2rem;
    }
}