﻿/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
    width: 100%;
    background: #37517e;
}

    #hero .container {
        padding-top: 72px;
        padding-bottom: 30px;
    }

    #hero h1 {
        margin: 0 0 0 0;
        font-size: 48px;
        font-weight: 700;
        line-height: 56px;
        color: #fff;
    }

    #hero h2 {
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 50px;
        font-size: 24px;
    }

    #hero .btn-get-started {
        font-family: "Jost", sans-serif;
        font-weight: 500;
        font-size: 16px;
        letter-spacing: 1px;
        display: inline-block;
        padding: 10px 28px 11px 28px;
        border-radius: 50px;
        transition: 0.5s;
        margin: 10px 0 0 0;
        color: #fff;
        background: #47b2e4;
    }

        #hero .btn-get-started:hover {
            background: #209dd8;
        }

    #hero .btn-watch-video {
        font-size: 16px;
        display: flex;
        align-items: center;
        transition: 0.5s;
        margin: 10px 0 0 25px;
        color: #fff;
        line-height: 1;
    }

        #hero .btn-watch-video i {
            line-height: 0;
            color: #fff;
            font-size: 32px;
            transition: 0.3s;
            margin-right: 8px;
        }

        #hero .btn-watch-video:hover i {
            color: #47b2e4;
        }

    #hero .animated {
        animation: up-down 2s ease-in-out infinite alternate-reverse both;
    }



@-webkit-keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}
/* Premium Hero Upgrade — Gradient, Spacing, Buttons, Image Depth */

#hero.hero {
    background: linear-gradient(135deg, #2d3f66 0%, #37517e 40%, #4a6aa3 100%);
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Soft glow behind barrel image */
#hero .hero-img img {
    max-width: 90%;
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.35));
    transform: translateY(0);
    transition: transform 0.4s ease, filter 0.4s ease;
}

    #hero .hero-img img:hover {
        transform: translateY(-6px);
        filter: drop-shadow(0 18px 35px rgba(0,0,0,0.45));
    }

/* Headings */
#hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

#hero h2 {
    font-size: 20px;
    font-weight: 400;
    margin-top: 15px;
    color: #d7e2f3;
}

/* Paragraph */
#hero p {
    margin-top: 22px;
    font-size: 18px;
    font-weight: 500;
    color: #f0f6ff;
    max-width: 520px;
    line-height: 1.55;
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* CTA Buttons */
#hero .btn-get-started,
#hero .btn-get-quote {
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.25s ease;
}

#hero .btn-get-started {
    background: #47b2e4;
    color: #fff;
    box-shadow: 0 4px 12px rgba(71,178,228,0.35);
}

    #hero .btn-get-started:hover {
        background: #2ea2d6;
        box-shadow: 0 6px 18px rgba(71,178,228,0.45);
    }

#hero .btn-get-quote {
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.35);
    color: #ffffff;
    backdrop-filter: blur(4px);
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

    #hero .btn-get-quote:hover {
        background: rgba(255,255,255,0.32);
        border-color: rgba(255,255,255,0.45);
        box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    }

/*--------------------------------------------------------------
# Hero Section — Consolidated Media Queries
--------------------------------------------------------------*/

/* --- 1. TABLETS & SMALL LAPTOPS (Max 991px) --- */
@media (max-width: 991px) {
    #hero, #hero.hero {
        padding-top: 120px;
        padding-bottom: 60px;
        text-align: center;
    }

        #hero .hero-img {
            text-align: center;
            margin-top: 40px;
        }

            #hero .hero-img img {
                max-width: 75%;
            }

        #hero .animated {
            -webkit-animation: none;
            animation: none;
        }
}

/* --- 2. SMALL TABLETS / LARGE PHONES (Max 768px) --- */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    #hero .hero-img img {
        max-width: 70% !important;
    }
}

/* --- 3. MOBILE PHONES (Max 575px) --- */
@media (max-width: 575px) {
    /* Main Layout Fixes — Prevents Text Truncation */
    #hero.hero {
        padding-top: 100px !important; /* Balanced padding so fixed headers don't overlap */
        padding-bottom: 30px !important;
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important; /* Crucial: Allows text boxes to expand naturally */
    }

    /* Typography Adjustments */
    #hero h1 {
        font-size: 32px;
    }

    #hero h2 {
        font-size: 18px;
    }

    /* Button Adjustments */
    #hero .btn-get-started {
        font-size: 16px;
        padding: 10px 24px 11px 24px;
    }

    #hero .btn-get-started,
    #hero .btn-get-quote {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    /* Price Summary Layout — Stacks cleanly on mobile */
    #hero .price-summary {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

        #hero .price-summary .pill {
            width: 100%;
            justify-content: flex-start;
            padding: 10px 14px;
            font-size: 17px;
            border-radius: 10px;
        }

            #hero .price-summary .pill i {
                font-size: 20px;
            }

    /* Image Adjustments — Moves barrel ABOVE text cleanly */
    #hero .hero-img {
        order: -1;
        margin-top: 0 !important;
        margin-bottom: 20px;
        text-align: center;
    }

        #hero .hero-img img {
            width: 80% !important;
            max-width: 80% !important;
            filter: drop-shadow(0 12px 25px rgba(0,0,0,0.35));
        }
}

/*--------------------------------------------------------------
# Hero Section End
--------------------------------------------------------------*/


/* Fix hero padding so header never overlaps */
#hero.hero {
    padding-top: 180px;
}




/* Desktop pill layout */
#hero .price-summary {
    margin: 16px 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    #hero .price-summary .pill {
        background: rgba(255,255,255,0.15);
        padding: 8px 14px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        color: #ffffff;
        backdrop-filter: blur(4px);
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

#hero .price-summary .pill i {
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

