/* Fix About Section Layout */

/* Modern Hero Section (About) - Better layout */
#modern-hero {
    padding: 100px 20px !important;
    min-height: auto !important;
}

#modern-hero .container {
    background: rgba(0, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(0, 153, 255, 0.3);
    max-width: 1200px;
    margin: 0 auto;
}

#modern-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

/* Left side - Text content */
#modern-hero .hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#modern-hero .hero-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

#modern-hero .hero-subtitle {
    font-size: 1.3rem;
    color: #00ffcc;
    margin-bottom: 10px;
}

#modern-hero .hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

/* Technology tags */
#modern-hero .hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

#modern-hero .tag {
    padding: 8px 16px;
    background: rgba(0, 153, 255, 0.2);
    color: #00ffcc;
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* CTA Buttons */
#modern-hero .hero-cta {
    display: flex;
    gap: 20px;
}

/* Right side - Image and stats */
#modern-hero .hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modern-hero .hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

#modern-hero .profile-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 153, 255, 0.3);
    border: 2px solid rgba(0, 255, 204, 0.3);
}

/* Stats positioned below image, not overlapping */
#modern-hero .hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
    background: rgba(0, 20, 40, 0.8);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 204, 0.2);
}

#modern-hero .stat {
    text-align: center;
}

#modern-hero .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #0099ff, #00ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

#modern-hero .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

/* About Section with Skills */
#modern-about {
    padding: 100px 20px !important;
    min-height: auto !important;
}

#modern-about .container {
    background: rgba(0, 20, 40, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(0, 153, 255, 0.3);
    max-width: 1200px;
    margin: 0 auto;
}

#modern-about .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
}

#modern-about .about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

#modern-about .about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Skills with logos/icons */
#modern-about .skills-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#modern-about .skill-category {
    background: rgba(0, 40, 80, 0.4);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(0, 153, 255, 0.2);
}

#modern-about .skill-category h3 {
    color: #00ffcc;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: center;
}

#modern-about .skill-category ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#modern-about .skill-category li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 153, 255, 0.1);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 255, 204, 0.1);
    transition: all 0.3s ease;
}

#modern-about .skill-category li:hover {
    background: rgba(0, 153, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(0, 255, 204, 0.3);
}

/* Remove default icon since we're using emojis now */
#modern-about .skill-category li::before {
    display: none;
}

/* Style for emoji icons */
#modern-about .skill-category li {
    font-size: 1rem;
    padding: 12px 15px;
}

#modern-about .skill-category h3 {
    font-size: 1.3rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #modern-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    #modern-hero .hero-text {
        align-items: center;
    }

    #modern-hero .hero-cta {
        justify-content: center;
    }

    #modern-about .about-grid {
        grid-template-columns: 1fr;
    }

    #modern-about .skills-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #modern-hero .container,
    #modern-about .container {
        padding: 40px 20px;
    }

    #modern-hero .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    #modern-about .skills-grid {
        grid-template-columns: 1fr;
    }

    #modern-hero .hero-title {
        font-size: 2rem;
    }

    #modern-hero .stat-number {
        font-size: 2rem;
    }
}