/* ========================================
   BANNER CONTENT CENTER ALIGN FIX
   ======================================== */

/* Hero Section Banner Content */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .row {
    align-items: center;
}

/* Center align text content in banner */
.hero-section .banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    text-align: left;
}

/* Center align banner image */
.hero-section .banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.hero-section .banner-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Responsive: Center align for tablets and below */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-section .banner-content {
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-section .banner-image {
        justify-content: center;
    }

    .hero-section .banner-image img {
        max-width: 80%;
        border-radius: 15px;
    }
}

/* Responsive: Mobile phones */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section .banner-content {
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-section h2 {
        font-size: 2rem;
    }

    .hero-section h4 {
        font-size: 1.1rem;
    }

    .hero-section .cd-headline {
        font-size: 1.5rem;
    }

    .hero-section .banner-image img {
        max-width: 100%;
        border-radius: 10px;
    }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .hero-section {
        padding: 30px 0;
    }

    .hero-section .banner-content {
        margin-bottom: 25px;
    }

    .hero-section h2 {
        font-size: 1.75rem;
    }

    .hero-section h4 {
        font-size: 1rem;
    }

    .hero-section .cd-headline {
        font-size: 1.25rem;
    }

    .hero-section .custom-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .hero-section .banner-image img {
        max-width: 100%;
        border-radius: 8px;
    }
}