/* ==========================================
   CORE BANNER
========================================== */

.core-hero {
    background-image: url("https://vgitechnology.com/wp-content/uploads/coreimage2.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    height: 300px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay for readability */
.core-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

/* Inner text wrapper */
.core-hero-inner {
    position: relative;
    text-align: center;
    z-index: 2;
}

/* Core title */
.core-hero-inner h1,
.core-hero h1,
.core-hero .core-hero-inner h1 {
    color: #ffffff !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    margin: 0 !important;
    text-transform: uppercase;
}

/* Subtitle */
.core-hero-inner p,
.core-hero p {
    color: #ffffff !important;
    font-size: 18px !important;
    letter-spacing: 1.2px !important;
    margin-top: 8px !important;
    opacity: 0.9;
}

/* Remove Astra top padding */
.ast-container {
    padding-top: 0 !important;
}

/* Prevent horizontal scrolling only */
html,
body {
    overflow-x: hidden;
}

/* Full-width section below banner */
.core-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 40px 0;
    box-sizing: border-box;
}

/* ==========================================
   SERVICE REQUEST FORM
========================================== */

#freshwidget-embedded-form {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 1100px !important;
    min-height: 1100px !important;
    margin: 24px auto 0 !important;
    background: #ffffff !important;
    border: 0 !important;
}

.fl-module-html:has(#freshwidget-embedded-form),
.fl-module-html:has(#freshwidget-embedded-form) .fl-module-content,
.fl-module-html:has(#freshwidget-embedded-form) .fl-html {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
    .core-hero {
        height: 220px;
    }

    .core-hero-inner h1 {
        font-size: 34px !important;
    }

    .core-hero-inner p {
        font-size: 14px !important;
    }

    #freshwidget-embedded-form {
        height: 1200px !important;
        min-height: 1200px !important;
    }
}