/* Enhanced Homepage Design - Header Friendly */
.home {
    display: flex;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    padding-top: 100px;
}

.home .left {
    flex: 1;
    padding: 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.home .left h2 {
    font-size: 3rem;
    background: linear-gradient(45deg, #64ffda, #00bcd4, #26c6da);
    -webkit-background-clip:text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
    animation: textGlow 3s ease-in-out infinite alternate;
    letter-spacing: 2px;
}

.home .left h1 {
    font-size: 3rem;
    background: linear-gradient(45deg, #8b45ff, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    text-shadow: 0 0 40px rgba(139, 69, 255, 0.6);
    animation: titlePulse 4s ease-in-out infinite alternate;
    letter-spacing: 1px;
    position: relative;
}

.home .left h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #8b45ff 25%, 
        #ff6b6b 50%, 
        #4ecdc4 75%, 
        transparent 100%);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
        transform: translateY(0px);
    }
    100% {
        text-shadow: 0 0 50px rgba(100, 255, 218, 0.8);
        transform: translateY(-5px);
    }
}

@keyframes titlePulse {
    0% {
        text-shadow: 0 0 40px rgba(139, 69, 255, 0.6);
        filter: hue-rotate(0deg);
    }
    100% {
        text-shadow: 0 0 60px rgba(139, 69, 255, 0.9);
        filter: hue-rotate(20deg);
    }
}

@keyframes underlineGlow {
    0% {
        box-shadow: 0 0 10px rgba(139, 69, 255, 0.5);
        transform: scaleX(0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 69, 255, 0.8);
        transform: scaleX(1);
    }
    100% {
        box-shadow: 0 0 10px rgba(139, 69, 255, 0.5);
        transform: scaleX(0.8);
    }
}

.home .right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.home .right img {
    max-width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1) contrast(1.1);
}

.home .right img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 0 50px rgba(139, 69, 255, 0.3);
    filter: brightness(1.2) contrast(1.2);
}

/* Responsive Design */
@media(max-width: 1000px) {
    .home {
        flex-direction: column;
        padding-top: 80px;
    }

    .home .left {
        width: 100%;
        margin-top: 50px;
        height: auto;
        padding: 20px;
        text-align: center;
        align-items: center;
    }

    .home .left h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .home .left h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .home .right {
        margin-top: 40px;
        height: 50vh;
        align-items: center;
    }

    .home .right img {
        height: 80%;
        width: auto;
    }
}

@media(max-width: 500px) {
    .home {
        padding-top: 60px;
    }

    .home .left {
        padding: 15px;
        margin-top: 20px;
    }

    .home .left h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .home .left h1 {
        font-size: 2rem;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }

    .home .right {
        height: 40vh;
        margin-top: 20px;
    }

    .home .right img {
        border-radius: 15px;
        height: 70%;
    }
}

/* Additional enhancement for ultra-wide screens */
@media(min-width: 1400px) {
    .home .left h2 {
        font-size: 3.5rem;
    }

    .home .left h1 {
        font-size: 4rem;
    }
}