.optech-hero-section { 
    position: relative;
    background-color: #000;
    background-image: none !important;
    background-attachment: unset !important;
    background-size: unset !important;
    background-position: unset !important;
    background-repeat: unset !important;
    min-height: 100vh;
    height: 100vh;
    padding: clamp(40px, 8vh, 102px) 5% clamp(40px, 8vh, 92px) 5%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    contain: layout style paint;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.optech-hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

.optech-hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 1;
    pointer-events: none;
}

/* Main Heading */
.custom-ai-heading {
    position: relative;
    font-family: "Young Serif", serif;
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    z-index: 2;
    max-width: 900px;
}

.custom-ai-heading .highlight {
    color: #0ADBCD;
}

/* Sub Heading */
.custom-sub-heading {
    position: relative;
    font-family: "Roboto", sans-serif;
    font-size: clamp(14px, 1.8vw, 20px);
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.5;
    z-index: 2;
    margin-bottom: 1.8rem;
    max-width: 650px;
}


.hero-buttons {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 15px); 
    min-width: clamp(140px, 15vw, 167px);
    height: clamp(38px, 4.5vw, 44px);
    padding: 0 clamp(15px, 2vw, 20px);
    border-radius: clamp(8px, 1vw, 10px);
    background-color: #0ADBCD;
    color: #FFFFFF;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px);
    text-decoration: none;
    opacity: 1;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
    will-change: background-color;
}

.btn-primary:hover {
    background-color: transparent!important;
    border: 1px solid #FFFFFF;
    color: #ffffff;
}

.btn-icon {
    display: flex;
    align-items: center;
}

.btn-icon svg {
    width: clamp(5px, 0.6vw, 6px);
    height: auto;
}


.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(120px, 13vw, 137px);
    height: clamp(38px, 4.5vw, 44px);
    padding: 0 clamp(15px, 2vw, 20px);
    border-radius: clamp(8px, 1vw, 10px);
    border: 1px solid #FFFFFF;
    background-color: transparent !important;
    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 16px); 
    text-decoration: none;
    opacity: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0ADBCD !important;
    border: none;
    color: #ffffff;
}



/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) {
    .optech-hero-section {
        height: calc(100vh - clamp(50px, 8vh, 80px) - 120px);
        max-height: calc(100vh - clamp(50px, 8vh, 80px) - 120px);
        min-height: auto;
        padding: clamp(30px, 5vh, 50px) 4% clamp(30px, 5vh, 50px) 4%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .custom-ai-heading {
        margin-bottom: 1rem;
        font-size: clamp(32px, 6vw, 48px);
    }
    
    .custom-sub-heading {
        margin-bottom: 1.2rem;
        font-size: clamp(14px, 2vw, 18px);
    }
    
    .btn-primary {
        min-width: 140px;
    }
    
    .btn-secondary {
        min-width: 120px;
    }
}

/* Mobile styles (480px - 768px) */
@media (max-width: 768px) {
    .optech-hero-section {
        height: calc(100vh - clamp(50px, 8vh, 80px) - 90px);
        max-height: calc(100vh - clamp(50px, 8vh, 80px) - 90px);
        min-height: auto;
        padding: clamp(15px, 3vh, 25px) 5% clamp(15px, 3vh, 25px) 5%;
        align-items: center;
        text-align: center;
    }
    
    .custom-ai-heading {
        font-size: clamp(40px, 9vw, 52px);
        margin-bottom: 1.2rem;
        line-height: 1.15;
    }
    
    .custom-sub-heading {
        font-size: clamp(18px, 3.2vw, 21px);
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 200px;
        gap: 10px;
        margin: 0 auto;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 180px;
        min-width: auto;
        justify-content: center;
    }
    

}

/* Small mobile styles (< 480px) */
@media (max-width: 480px) {
    .optech-hero-section {
        height: calc(100vh - clamp(50px, 8vh, 80px) - 80px);
        max-height: calc(100vh - clamp(50px, 8vh, 80px) - 80px);
        min-height: auto;
        padding: clamp(10px, 2vh, 18px) 5% clamp(10px, 2vh, 18px) 5%;
        align-items: center;
        text-align: center;
    }
    
    .custom-ai-heading {
        font-size: clamp(36px, 8.5vw, 44px);
        margin-bottom: 1rem;
        line-height: 1.15;
    }
    
    .custom-sub-heading {
        font-size: clamp(16px, 3vw, 19px);
        line-height: 1.5;
        margin-bottom: 1.8rem;
    }
    
    .hero-buttons {
        gap: 10px;
        max-width: 170px;
        margin: 0 auto;
    }
    
    .btn-primary,
    .btn-secondary {
        height: 36px;
        font-size: 13px;
        max-width: 170px;
        min-width: auto;
    }
}

/* CRITICAL: Final override to prevent background image from showing */
.optech-hero-section {
    background-image: none !important;
    background: #000 !important;
    background-attachment: unset !important;
}
