/* ==================================================
   Premium Hero Section Styles (Dark & Modern)
   ================================================== */
#hero {
    height: 100vh;
    background: url("../Images/my_pic.png") center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Sophisticated Dark Gradient Overlay for the background */
#hero:before {
    content: "";
    background: rgba(4, 11, 20, 0.3);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-left: 80px;
    margin-top: 80px;
    /* Shifted down slightly per request */
    width: 100%;
    animation: slideUpFade 1.2s ease-out;
}

/* Subtle glowing orb behind the text for extra premium feel */
.hero-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 20px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(20, 157, 221, 0.15) 0%, rgba(4, 11, 20, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(25px);
}

#hero h1 {
    margin: 0 0 15px 0;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

#hero p {
    color: #ccd6f6;
    margin-bottom: 50px;
    font-size: 28px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

#hero p span {
    color: #fff;
    padding-bottom: 4px;
    letter-spacing: 1px;
    border-bottom: 3px solid #149ddd;
    /* Blue accent line under the typed text */
    text-shadow: 0 0 10px rgba(20, 157, 221, 0.6);
}

/* Styling for the typed.js blinking cursor */
.typed-cursor {
    font-size: 28px;
    color: #00d2ff;
    animation: blink 0.8s infinite;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
}

/* Keyframes */
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   Responsive Adjustments
   ================================================== */
@media (max-width: 1200px) {
    .hero-container {
        padding-left: 50px;
    }
}

@media (max-width: 991px) {
    .hero-container {
        padding-left: 30px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    #hero:before {
        background: rgba(4, 11, 20, 0.5);
    }

    #hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    #hero p {
        font-size: 18px;
        line-height: 1.4;
    }

    .typed-cursor {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 28px;
    }

    #hero p {
        font-size: 16px;
    }

    .hero-container {
        padding-left: 20px;
    }
}