/* 1. Main Header Container  */
.hanudev-header {
    padding: 40px 0; 
    background-color: #f5f7f9;
    overflow: hidden;
    position: relative;
}

/* 2. Min-Height Adjustment */
.hanudev-min-height {
    min-height: auto !important; 
    display: flex; 
    align-items: center;
}

/* 3. Typography Spacing */
.hanudev-title {
    font-size: 42px; 
    font-weight: 600;
    color: #2b373a;
    line-height: 1.2;
    margin-bottom: 15px; 
    letter-spacing: -0.5px;
}

.hanudev-text {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px; 
    line-height: 1.5;
    max-width: 95%;
}



/* 3. Search Bar Design Fix */
.hanudev-search-box {
    max-width: 580px;
    position: relative;
}

/* 1. Main Wrapper */
.hanudev-search-inner form {
    position: relative;
    background: #fff;
    border: 1px solid #e1e1e1; 
    border-radius: 6px;
    height: 55px; 
    display: flex !important; 
    align-items: center; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 100%;
}

/* 2. Input Field Fix */
.hanudev-search-inner input[type="text"], 
.hanudev-search-inner input[type="search"],
.hanudev-search-inner .form-control { 
    background-color: transparent !important; 
    border: none !important; 
    outline: none !important;
    box-shadow: none !important; 
    height: 100% !important;
    width: 100% !important;
    padding: 0 130px 0 20px !important; 
    font-size: 16px !important;
    color: #333 !important;
    margin: 0 !important;
}

/* 3. Input Focus State */
.hanudev-search-inner input:focus {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 4. Search Button  */
.hanudev-search-inner button, 
.hanudev-search-inner .search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    bottom: 4px;
    height: auto !important;
    background-color: #79b530 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    padding: 0 25px !important;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    z-index: 9;
}

/* Button Hover */
.hanudev-search-inner button:hover {
    background-color: #6aa325 !important;
}

/* 4. Image Floating & 3D Effect */
.hanudev-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1000px; 
}

.hanudev-hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    
    transform: rotateY(-10deg) rotateX(5deg);
    box-shadow: -20px 20px 60px rgba(0,0,0,0.2);
   
    animation: hanudevFloat 6s ease-in-out infinite;
}

.hanudev-shadow {
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    position: absolute;
    bottom: -40px;
    left: 20%;
    animation: hanudevShadow 6s ease-in-out infinite;
    z-index: -1;
}

/* 5. Animations Keyframes */
@keyframes hanudevFloat {
    0% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-25px); } 
    100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0px); }
}

@keyframes hanudevShadow {
    0% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(0.8); opacity: 0.1; } 
    100% { transform: scale(1); opacity: 0.2; }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .hanudev-title { font-size: 32px; text-align: center; }
    .hanudev-text { text-align: center; margin: 0 auto 30px auto; }
    .hanudev-search-box { margin: 0 auto; }
}

/* Mobile Responsive Adjustments (Unified) */
@media (max-width: 991px) {
    
    /* 1. Header Container - Compact Spacing */
    .hanudev-header {
        padding: 20px 0 !important; 
    }

    /* 2. Content Layout - Stack & Height Fix */
    .hanudev-min-height {
        min-height: auto !important;
        padding-bottom: 30px; 
        flex-direction: column; 
        text-align: center; 
    }

    /* 3. Typography - Small & Readable */
    .hanudev-title {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .hanudev-text {
        font-size: 15px !important;
        line-height: 1.5;
        margin-bottom: 25px;
        max-width: 100%;
        padding: 0 10px;
    }

    /* 4. Search Bar - Center Alignment */
    .hanudev-search-box {
        margin: 0 auto 30px auto; 
        width: 100%; 
    }

    /* 5. Image Adjustment - Fit & Center */
    .hanudev-image-wrapper {
        margin-top: 0; 
        transform: scale(0.95); 
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        display: block; 
    }

    .hanudev-hero-img {
        max-width: 100%;
        height: auto;
    }

    /* 6. Shadow Fix */
    .hanudev-shadow {
        bottom: -20px;
        width: 60%;
        left: 20%;
        opacity: 0.1; 
    }
}