/* Modern Hero Section Overrides */
#home {
    background: radial-gradient(circle at 10% 20%, rgb(15, 32, 39) 0%, rgb(32, 58, 67) 90%);
    position: relative;
    overflow: hidden;
    padding-top: 120px;
}

#home .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
    position: relative;
    flex-wrap: wrap;
    gap: 40px;
}

/* Enhancing Left Content */
.hero-content {
    flex: 1;
    text-align: left;
    min-width: 300px;
    margin-bottom: 2rem;
}

#home h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    text-align: left;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

#home p {
    text-align: left;
    margin-left: 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.hero-stats {
    justify-content: flex-start;
}

/* Right Side - Boiler Animation */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 300px;
    height: 500px;
    /* Space for the animation */
}

/* Boiler Graphic Container */
.boiler-container {
    width: 100%;
    max-width: 450px;
    position: relative;
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Steam Particles */
.steam-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 0;
    animation: steamRise 4s infinite linear;
    opacity: 0;
}

.steam-1 {
    width: 40px;
    height: 40px;
    left: 45%;
    top: 20%;
    animation-delay: 0s;
}

.steam-2 {
    width: 60px;
    height: 60px;
    left: 50%;
    top: 25%;
    animation-delay: 1.5s;
    background: rgba(255, 255, 255, 0.4);
}

.steam-3 {
    width: 30px;
    height: 30px;
    top: 55%;
    left: 20%;
    animation-delay: 2.5s;
}

/* Logo Styles */
.logo-icon-custom {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-custom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.steam-4 {
    width: 50px;
    height: 50px;
    left: 55%;
    top: 18%;
    animation-delay: 0.8s;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes steamRise {
    0% {
        transform: translateY(0) scale(1) translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(-200px) scale(3) translateX(20px);
        opacity: 0;
    }
}

/* SVG Styling */
#boiler-svg {
    filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.2));
    width: 100%;
    height: auto;
}

#boiler-body {
    fill: url(#grad1);
}

#boiler-pipes {
    stroke: #a0aec0;
    stroke-width: 4;
    stroke-linecap: round;
}

#boiler-meter {
    fill: #fff;
}

#meter-needle {
    transform-origin: center;
    animation: gaugeMove 3s ease-in-out infinite alternate;
}

@keyframes gaugeMove {
    0% {
        transform: rotate(-45deg);
    }

    100% {
        transform: rotate(45deg);
    }
}

/* Gradient Definitions within SVG will handle main colors */

/* Responsive Adjustments */
@media (max-width: 900px) {
    #home .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin-top: -50px;
        /* Pull text up since visual is on top or reverse order */
    }

    #home h1 {
        text-align: center;
        font-size: 2.5rem;
    }

    #home p {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        height: 350px;
        width: 100%;
        margin-bottom: 20px;
    }
}