.hero {
    width: 100%;
    padding: 40px 20px;
    background: white;
    overflow: hidden;
}

.hero-container {
    max-width: 1156px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 0px;
    animation: fadeUp 0.9s ease forwards;
}

/* Any image/illustration inside the hero stays fluid */
.hero-container img {
    max-width: 100%;
    height: auto;
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.hero-text p {
    font-size: 13px;
    padding: 6px 16px;
    color: #01328E;
    display: inline-block;
    border: 1px solid #01328E;
    border-radius: 20px;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideLeft 0.7s ease forwards;
}

.hero-text h2 {
    font-size: 35px;
    font-weight: 500;
    color: #01328E;
    opacity: 0;
    animation: slideLeft 0.9s ease forwards;
    animation-delay: 0.2s;
    margin-top: 15px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 69px;
    margin-right: 18px;
    opacity: 0;
    animation: slideRight 0.9s ease forwards;
    animation-delay: 0.4s;
}

.btn-secondary {
    background-color: #01328E;
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    height: 38px;
    width: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #01328E;
    color: #fff;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 11px 37px;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: #08A1DD;
    color: #fff;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 25px rgba(8, 161, 221, 0.25);
}

.btn-secondary img {
    filter: brightness(0) invert(1);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

/* ===== LAPTOP ===== */
@media (max-width: 1400px) {
    .hero-container {
        max-width: 1140px;
        margin-top: 50px;
    }
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
    .hero {
        padding: 35px 20px;
    }

    .hero-container {
        gap: 25px;
        margin-top: 40px;
    }

    .hero-text h2 {
        font-size: 30px;
    }

    .hero-buttons {
        margin-top: 68px;
        margin-right: 0;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .hero-container {
        margin-top: 30px;
    }

    .hero-buttons {
        justify-content: center;
        margin-top: 68px;
        margin-right: 0;
    }

    .hero-text h2 {
        font-size: 30px;
    }
}

/* ===== SMALL MOBILE / STACKED ===== */
@media (max-width: 564px) {
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
        text-align: left;
    }

    .hero-text {
        width: 100%;
    }

    .hero-buttons {
        justify-content: flex-start;
        margin-top: 20px;
        margin-right: 0;
    }

    .hero-text h2 {
        font-size: 28px;
    }
}

/* ===== EXTRA SMALL MOBILE ===== */
@media (max-width: 364px) {
    .hero {
        padding: 30px 15px;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 15px;
        text-align: left;
    }

    .hero-buttons {
        justify-content: flex-start;
        margin-top: 20px;
        margin-right: 0;
        flex-wrap: wrap;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 12px;
        padding: 5px 12px;
    }

    .btn-primary {
        padding: 10px 28px;
        font-size: 13px;
    }
}

/* SECTION FOUR SECTION FOUR SECTION FOUR SECTION FOUR SECTION FOUR */

.hero-wrapper {
    width: 100%;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    min-height: 130vh;
    position: relative;

    background-image: url("../all-img/Rectangle-161125282.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    padding-top: clamp(100px, 10vh, 160px);
    padding-left: clamp(20px, 5vw, 120px);
    padding-right: 20px;
}

.info-card {
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    opacity: 1;
    transform: translateY(0);
}

.card-tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #01328E;
    border-radius: 20px;
    font-size: 13px;
    color: #01328E;
    margin-bottom: 16px;
}

.close-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 55px;
    height: 55px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.close-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.info-card h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    color: #01328E;
    margin-bottom: 14px;
    font-weight: 500;
    padding-right: 60px;
}

.info-card p {
    font-size: clamp(18px, 2.2vw, 26px);
    color: #000;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 70px;
}

.business {
    display: inline-block;
    position: absolute;
    padding: 11px 37px;
    background: #01328E;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
    font-size: 15px;
    bottom: 27px;
    right: 28px;
    border: none;
}

.business:hover {
    background-color: #08A1DD;
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

/* ===== LAPTOP ===== */
@media (max-width: 1400px) {

    .hero-bg {
        padding-left: 50px;
        padding-top: 150px;
    }

    .info-card {
        max-width: 450px;
        padding: 28px;
        margin-top: -106px;
        margin-left: 0;
    }

    .info-card h2 {
        font-size: 25px;
        line-height: 1.2;
        color: #1639b3;
        margin-bottom: 14px;
        font-weight: 400;
        padding-right: 50px;
    }

    .info-card p {
        font-size: 16px;
        color: black;
        line-height: 1.6;
        font-weight: 400;
        margin-bottom: 18px;
    }

    .card-tag {
        padding: 5px 14px;
        font-size: 9px;
        margin-bottom: 16px;
    }

    .close-icon {
        top: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .business {
        padding: 10px 20px;
        font-size: 11px;
        bottom: 5px;
        right: 20px;
    }
}

@media (max-width: 1200px) {

    .hero-bg {
        padding-left: 50px;
        padding-top: 150px;
    }

    .info-card {
        max-width: 480px;
    }
}

/* ===== TABLET ===== */
@media (max-width: 992px) {

    .hero-bg {
        padding-left: 40px;
        padding-top: 130px;
        min-height: 850px;
    }

    .info-card {
        max-width: 450px;
        padding: 24px;
        margin-top: 0;
    }

    .info-card p {
        margin-bottom: 50px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {

    .hero-bg {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 100px;
        justify-content: center;
        align-items: flex-start;
        min-height: 700px;
    }

    .info-card {
        width: 100%;
        max-width: 100%;
        padding: 20px;
    }

    .info-card h2 {
        font-size: 22px;
        padding-right: 45px;
    }

    .info-card p {
        font-size: 14px;
        margin-bottom: 60px;
    }

    .close-icon {
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .business {
        position: static;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 12px;
        padding: 12px 20px;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {

    .hero-bg {
        padding-top: 80px;
        min-height: 620px;
    }

    .info-card {
        padding: 16px;
        border-radius: 16px;
    }

    .info-card h2 {
        font-size: 19px;
        padding-right: 40px;
    }

    .info-card p {
        font-size: 13px;
        margin-bottom: 45px;
    }

    .close-icon {
        width: 30px;
        height: 30px;
        top: 12px;
        right: 12px;
    }

    .card-tag {
        font-size: 8px;
        padding: 4px 10px;
    }
}