/* ===== HOUSING HERO SECTION ===== */
.housing-hero-section {
    margin: 0 auto;
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

.housing-hero-header {
    padding: 50px 20px;
    text-align: center;
}

.housing-hero-title {
    margin: 0 0 30px 0;
    background: linear-gradient(45deg,
        #25408E 0%,
        #25408E 30%,
        #21ADE4 40%,
        #CE9336 50%,
        #CE9336 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: housing-hero-gradient-sweep 4s ease-in-out infinite alternate;
}

@keyframes housing-hero-gradient-sweep {
    0% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.housing-hero-description {
    margin: 0 auto;
}

/* Full-width image container */
/*.housing-hero-image-wrapper {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
}*/

.housing-hero-image {
    width: 100%;
    height: 450px;
    display: block;
    margin: 0;
    object-fit: cover;
}
.housing-hero-image-wrapper, img.housing-hero-image  {
    position: relative;
}
.bannertop-text{
    position: absolute;
    right:40px;
    bottom:20px;
}
.bannertop-text span{
    color:#fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    font-size: 20px;
    padding-left:5px;
}

/* ===== HOUSING OPTIONS SECTION ===== */
.housing-options-section {
    padding: 0px 20px 88px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.housing-options-header{
    padding: 50px 20px 88px;
    text-align: center;

}

.housing-options-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.housing-option-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(37, 64, 142, 0.29);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 200px;
    text-align: left;
    cursor: pointer;
}

.housing-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 64, 142, 0.50);
}

.housing-option-icon {
    height: 30px;
    margin-bottom: 10px;
}

.housing-option-title {
    margin-bottom: 10px;
}

.housing-option-description {
    color: #555;
    font-size: 15px;
    line-height: 160%;
    margin: 0;
    padding: 0 !important;
}

.housing-options-mobile {
    display: none;
}

.housing-mobile-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    height: 250px;
    border-radius: 12px;
    overflow: visible;
}

.housing-mobile-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    opacity: 0;
    transition: opacity 0.5s ease;
    box-shadow: 0 4px 15px rgba(37, 64, 142, 0.50);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    padding: 20px 30px;
    text-align: left;
    cursor: pointer;
}

.housing-mobile-slide.housing-active {
    opacity: 1;
}

.housing-mobile-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    box-shadow: 0 4px 15px rgba(37, 64, 142, 0.50);
}

.housing-mobile-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.housing-mobile-prev {
    left: -20px;
}

.housing-mobile-next {
    right: -20px;
}



/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 88px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    margin: 0;
    background: linear-gradient(45deg,
        #25408E 0%,
        #25408E 30%,
        #21ADE4 40%,
        #CE9336 50%,
        #CE9336 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: faq-gradient-sweep 4s ease-in-out infinite alternate;
}

@keyframes faq-gradient-sweep {
    0% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(37, 64, 142, 0.29);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 64, 142, 0.50);
}

.faq-question {
    background: #ffffff;
    padding: 25px 60px 25px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(to bottom, #25408E, #21ADE4);
}

.faq-item.active .faq-question-text {
    color: #fff;
}

.faq-question-text {
    margin: 0;
}

.faq-icon {
    position: absolute;
    right: 25px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-icon-img {
    min-width: 30px;
    height: 30px;
}

.faq-arrow-down {
    display: block;
}

.faq-arrow-up {
    display: none;
    position: absolute;
}

.faq-item.active .faq-arrow-down {
    display: none;
}

.faq-item.active .faq-arrow-up {
    display: block;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #ffffff;
}

.faq-answer-content {
    padding: 10px 10px 10px 25px;
}

.faq-answer-text {
    margin: 10px 0px;
    padding: 0 !important;
    color: #555;
    max-width: none;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}



/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.brands-title {
    margin: 0 0 60px 0;
    background: linear-gradient(45deg,
        #21ADE4 0%,
        #21ADE4 30%,
        #D8188D 50%,
        #CE9336 70%,
        #CE9336 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brands-gradient-sweep 4s ease-in-out infinite alternate;
}

@keyframes brands-gradient-sweep {
    0% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.brands-category {
    margin-bottom: 60px;
}

.brands-category-title {
    margin: 0 0 30px 0;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}


/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    width: 100%;
    /*margin-left: calc(50% - 50vw);*/
    margin-top: 0;
    margin-bottom: 0;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-image: url('https://travelnursesinc.com/wp-content/uploads/2025/09/Rectangle-25-scaled.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
}

.cta-heading {
    font-family: "Figtree";
    color: white;
    font-size: 64px;
    font-weight: 900;
    margin: 0 0 30px 0;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #25408E;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-family: "Figtree";
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover,
.cta-button:focus {
    color: #fff;
    background: #21ade4;
    border: 2px solid #21ade4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    -webkit-mask-image: linear-gradient(-75deg, rgba(0, 0, 0, .6) 30%, #000 50%, rgba(0, 0, 0, .6) 70%);
    -webkit-mask-size: 200%;
    -webkit-animation: cta-shine 2s infinite;
    animation: cta-shine 2s infinite;
}

@keyframes cta-shine {
    from {
        -webkit-mask-position: 150%;
    }
    to {
        -webkit-mask-position: -50%;
    }
}

.cta-mobile-break {
    display: none;
}


/* RESPONSIVE STARTS */

/* Tablet */
@media (max-width: 768px) {

    /* ===== HOUSING HERO SECTION Start===== */
    .housing-hero-header {
        padding: 60px 15px 40px 15px;
    }
    
    .housing-hero-image {
        height: 250px;
    }
    /* ===== HOUSING HERO SECTION Ends ===== */

    /* ===== HOUSING OPTIONS SECTION Start===== */
    .housing-options-section {
        padding: 40px 15px;
    }
    
    .housing-options-grid {
        display: none;
    }
    
    .housing-options-mobile {
        display: block;
    }

    /* ===== HOUSING HERO SECTION Ends ===== */

    /* ===== FAQ Starts ===== */

     .faq-section {
        padding: 40px 15px;
    }
    
    .faq-question {
        padding: 20px 50px 20px 20px;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px 20px;
    }
    
    .faq-icon {
        right: 20px;
    }
    /* ===== FAQ Ends ===== */

    /* ===== BRANDS SECTION Starts ===== */
    .brands-section {
        padding: 60px 15px;
    }
    .brands-title {
        margin: 0 0 40px 0;
    }
    .brands-category {
        margin-bottom: 50px;
    }
    .brands-grid {
        gap: 30px;
    }
    .brand-logo {
        height: 40px;
    }
    /* ===== BRANDS SECTION Ends ===== */

    /* ===== CTA SECTION Starts===== */
    .cta-section {
        min-height: 250px;
        padding: 60px 20px;
    }
    
    .cta-heading {
        font-size: 40px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    /* ===== CTA SECTION Ends ===== */
}

/* Mobile */
@media (max-width: 480px) {

    /* ===== HOUSING HERO SECTION Starts===== */
    .housing-hero-header {
        padding: 60px 15px 30px 15px;
    }
    
    .housing-hero-image {
        height: 200px;
    }
    /* ===== HOUSING HERO SECTION Ends ===== */

    /* ===== FAQ Starts ===== */
    .faq-question {
        padding: 18px 45px 18px 18px;
    }
    
    .faq-answer-content {
        padding: 10px 10px 10px 25px;
    }
    
    .faq-icon {
        right: 18px;
        width: 26px;
        height: 26px;
    }
    /* ===== FAQ Ends ===== */

    /* ===== BRANDS SECTION Starts ===== */
    .brands-section {
        padding: 50px 15px;
    }
    .brands-title {
        margin: 0 0 30px 0;
    }
    .brands-category {
        margin-bottom: 40px;
    }
    .brands-grid {
        gap: 20px;
    }
    .brand-logo {
        height: 35px;
    }
    /* ===== BRANDS SECTION Ends ===== */

    /* ===== CTA SECTION Starts===== */
    .cta-section {
        min-height: 200px;
        padding: 50px 15px;
    }
    
    .cta-heading {
        font-size: 32px;
        line-height: 1 !important;
    }
    
    .cta-mobile-break {
        display: block;
    }
    
    .cta-button {
        padding: 12px 25px;
    }
    /* ===== CTA SECTION Ends ===== */
    .bannertop-text span{
       font-size: 14px;
    }
    .bannertop-text {
        right: 20px;
        bottom: 10px;
    }
    .bannertop-text img{
        height: 25px;
        width: 25px;
    }
}
