/* About Page Hero Section - Replicating Reference Site Design */
.about-hero-section {
    display: flex;
    align-items: center;
    padding: 200px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: url('../images/home-2/hero.png');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 600px;
    /* Ensure enough height for flex centering */
}

.about-hero-section .content-box {
    position: relative;
    z-index: 2;
}

.about-hero-section .tagline {
    font-family: var(--heading-font-family);
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 8px 10px;
    background: linear-gradient(90.21deg, rgba(170, 54, 124, 0.5) -5.91%, rgba(74, 47, 189, 0.5) 111.58%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 20px;
    margin-bottom: 16px;
    display: inline-block;
    color: #fff;
}

.about-hero-section .hero-title {
    font-size: 65px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: block;
    color: #fff;
}

.about-hero-section .hero-desc {
    color: white;
    font-size: 18px;
    letter-spacing: 1.5px;
    /* line-height: 1.5em; */
    /* width: 96%; */
    /* margin-bottom: 40px; */
}

.about-hero-section .hero-image-wrapper {
    position: relative;
    z-index: 1;
    animation: updown 3s linear infinite;
}

.about-hero-section .header-img {
    max-width: 100%;
    height: auto;
    width: 500px;
    /* Adjust based on preference */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.3));
}

@keyframes updown {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.about-hero-section .btn-box {
    margin-top: 30px;
}

.about-hero-section .theme-btn-main span.theme-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1199px) {
    .about-hero-section .hero-title {
        font-size: 50px;
    }
}

@media (max-width: 991px) {
    .about-hero-section {
        display: block;
        padding: 150px 0 60px;
        background-position: center;
        text-align: center;
    }

    .about-hero-section .hero-title {
        font-size: 42px;
        line-height: 1.3;
    }

    .about-hero-section .hero-image-wrapper {
        margin-top: 40px;
    }

    .about-hero-section .header-img {
        width: 100%;
        max-width: 400px;
    }

    .about-hero-section .btn-box {
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 767px) {
    .about-hero-section .hero-title {
        font-size: 36px;
    }

    .about-hero-section .hero-desc {
        font-size: 16px;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 575px) {
    .about-hero-section {
        padding: 160px 0 50px;
    }

    .about-hero-section .hero-title {
        font-size: 28px;
    }

    .about-hero-section .btn-box .theme-btn-main {
        transform: scale(0.9);
    }
}