/* ========================================
   Hero Section Image Fix
   ======================================== */

/* Fix for Hero Section 1 - Image Container */
.gt-hero-1 .gt-hero-image {
    width: 100% !important;
    max-width: 650px !important;
    margin-left: 0 !important;
    position: relative;
    padding-top: 60px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.gt-hero-1 .gt-hero-image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    display: block;
}

/* Arrow Shape Positioning */
.gt-hero-1 .gt-hero-image .gt-arrow-shape {
    position: absolute;
    bottom: 40px;
    right: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1399px) {
    .gt-hero-1 .gt-hero-image {
        max-width: 550px !important;
        padding-top: 40px;
    }
}

@media (max-width: 1199px) {
    .gt-hero-1 .gt-hero-image {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        padding-top: 30px;
        justify-content: center;
    }

    .gt-hero-1 .gt-hero-image .gt-arrow-shape {
        display: none;
    }
}

@media (max-width: 767px) {
    .gt-hero-1 .gt-hero-image {
        padding-top: 20px;
        max-width: 450px !important;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .gt-hero-1 .gt-hero-image {
        max-width: 350px !important;
    }
}

/* Better alignment for hero content and image */
.gt-hero-1 .row {
    align-items: center;
}

/* Ensure container doesn't cause overflow */
.gt-hero-1 .container-fluid {
    overflow-x: hidden;
}

/* Fix hero section padding on smaller screens */
@media (max-width: 1199px) {
    .gt-hero-1 .container-fluid {
        padding: 0 30px !important;
        padding-right: 30px !important;
    }
}

/* Make sure hero content doesn't get squished */
.gt-hero-1 .gt-hero-content {
    padding-top: 110px;
    position: relative;
    z-index: 9;
}

@media (max-width: 991px) {
    .gt-hero-1 .gt-hero-content {
        padding-top: 80px;
    }
}

@media (max-width: 767px) {
    .gt-hero-1 .gt-hero-content {
        padding-top: 60px;
        text-align: center;
    }

    .gt-hero-1 .gt-hero-content span,
    .gt-hero-1 .gt-hero-content .gt-hero-button {
        justify-content: center;
    }
}