/* === Hero Section Base Styles === */
/* Universal font override for hero section */
.hero-section-new,
.hero-section-new *,
.hero-section-new h1,
.hero-section-new h2,
.hero-section-new h3,
.hero-section-new p,
.hero-section-new span,
.hero-section-new a {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.hero-section-new {
    display: flex;
    width: 100%;
    min-height: 70vh; /* Adjust height as needed */
    background-color: #662572; /* Fallback */
    position: relative;
    z-index: 1;
    overflow: visible; /* Change from hidden to visible */
    margin-top: 0;
    padding-top: 0;
}

.hero-left-new {
    width: 40%;
    background-color: #662572; /* Purple brand color */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center logo initially */
    justify-content: center;
    padding: 3rem 4rem; /* Generous padding */
    position: relative;
    z-index: 2;
}

.hero-right-new {
    width: 60%;
    position: relative;
    z-index: 1;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    /* IMPORTANT: Replace with your actual image path */
    background-image: url('../../images/slider/banner.jpeg'); 
    background-size: cover;
    background-position: center;
}

/* === Content Styling === */
.hero-content-new {
    color: white;
    text-align: left;
    width: 100%;
    max-width: 450px; /* Control content width */
    margin-top: 0; /* Adjusted margin since logo is removed */
    align-self: flex-start; /* Align content block to the left */
}

.hero-title-new {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 2.4rem !important; /* Adjust size */
    font-weight: 800 !important; /* Bold */
    margin-bottom: 1.5rem;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    color: #fff !important;
}

.hero-title-new span {
    display: block;
}

.hero-title-new span.highlight {
    font-size: 2.6rem !important; /* Slightly larger for emphasis */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 800 !important;
}

.hero-description-new {
    margin-bottom: 2.5rem; /* Space before buttons */
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 400px; /* Limit description width */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-weight: 400 !important;
}

/* === Button Styling === */
.hero-buttons-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 320px; /* Control button width */
}

.hero-btn-new {
    padding: 0.9rem 1.5rem;
    border-radius: 50px; /* Fully rounded */
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid #fff;
    width: 100%; /* Make buttons take full width of container */
}

.primary-btn-new {
    background-color: #fff;
    color: #662572;
}

.secondary-btn-new {
    background-color: transparent;
    color: #fff;
}

.primary-btn-new:hover {
    background-color: transparent;
    color: #fff;
}

.secondary-btn-new:hover {
    background-color: #fff;
    color: #662572;
}

/* === Contact Info Overlay === */
 .contact-info-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
 }

.phone-number-new a,
.referral-btn-new {
    background-color: #662572;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px; /* Rounded */
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}
 .referral-btn-new {
     border-radius: 5px; /* Match image */
     font-size: 0.8rem;
     padding: 0.6rem 1rem;
 }

.phone-number-new a:hover,
.referral-btn-new:hover {
    background-color: #501b5a; /* Darker purple on hover */
}

.phone-number-new i {
    font-size: 0.9rem;
}

/* === Responsive Styles === */

/* Tablet (<= 992px) */
@media (max-width: 992px) {
    .hero-section-new {
        flex-direction: column;
        min-height: unset;
        margin-top: 0;
        padding-top: 0;
    }

    .hero-left-new,
    .hero-right-new {
        width: 100%;
    }

    .hero-left-new {
        padding: 3rem 2rem;
        align-items: center; /* Center content */
        text-align: center;
    }

     .hero-content-new {
         align-self: center;
         text-align: center;
         max-width: 550px; /* Wider content area */
         margin-top: 0; /* Adjusted margin */
    }

     .hero-description-new {
         margin-left: auto;
         margin-right: auto;
     }

    .hero-image-container {
        /* IMPORTANT: Replace with your actual tablet image path if you have one */
        /* background-image: url('../../images/slider/banner-tablet.jpeg'); */
         min-height: 350px; /* Ensure image area has height */
    }

    .hero-buttons-new {
        max-width: 300px;
        margin: 0 auto; /* Center buttons */
    }

    .contact-info-overlay {
        top: 15px;
        right: 15px;
    }
    .phone-number-new a,
    .referral-btn-new {
        padding: 0.4rem 0.9rem;
        font-size: 0.85rem;
    }
    .referral-btn-new {
         font-size: 0.75rem;
         padding: 0.5rem 0.9rem;
    }
}

/* Mobile (<= 767px) */
@media (max-width: 767px) {
     .hero-section-new {
        margin-top: 0;
        padding-top: 0;
    }
    .hero-left-new {
        padding: 2.5rem 1.5rem;
    }

    .hero-title-new {
        font-size: 2rem;
    }
     .hero-title-new span.highlight {
         font-size: 2.2rem;
     }

     .hero-description-new {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        max-width: 90%;
     }

    .hero-image-container {
        /* IMPORTANT: Replace with your actual mobile image path if you have one */
        background-image: url('../../images/slider/banner_mobile.jpeg'); 
        min-height: 300px;
    }

     .hero-buttons-new {
         max-width: 280px;
     }
     .hero-btn-new {
         padding: 0.8rem 1.5rem;
         font-size: 0.85rem;
     }
     .contact-info-overlay {
         top: 10px;
         right: 10px;
     }
     .phone-number-new a,
     .referral-btn-new {
         padding: 0.35rem 0.8rem;
         font-size: 0.8rem;
         box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
     }
      .referral-btn-new {
         font-size: 0.7rem;
         padding: 0.4rem 0.8rem;
     }
}

 /* Small Mobile (<= 480px) */
 @media (max-width: 480px) {
      .hero-section-new {
        margin-top: 0;
        padding-top: 0;
      }
      .hero-left-new {
        padding: 2rem 1rem;
    }
     .hero-title-new {
        font-size: 1.8rem;
    }
     .hero-title-new span.highlight {
         font-size: 2rem;
     }
      .hero-description-new {
        font-size: 0.9rem;
     }
      .hero-image-container {
        min-height: 250px;
    }
    .hero-buttons-new {
         max-width: 100%; /* Full width buttons */
         gap: 0.8rem;
     }
     .contact-info-overlay {
         display: none;
     }
 } 

/* Sticky Header Body Padding Adjustment */
/* Default padding for initial absolute header */
.body_wrap {
    padding-top: 110px; /* Match initial header height */
}

/* Padding when header is stuck (fixed) */
.body_wrap.has-stuck-header {
    padding-top: 90px !important; /* Match sticky header height and ensure override */
}

/* Remove the header adjustment we added previously */
.body_wrap.has-stuck-header .hero-section-new {
    margin-top: 0;
    padding-top: 0;
}

/* Add this for specific fixed positioning */
body.home_software .hero-section-new {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
}

/* Override any z-index issues */
.site-global-header {
    position: relative;
    z-index: 1000 !important; /* Ensure header is above hero section */
}

/* Additional clearfix to prevent overlap */
.body_wrap main {
    clear: both;
    display: block;
    position: relative;
} 