/* ============================================
   STUDENTS PAGE RESPONSIVE STYLES
   ============================================ */

/* 🔵 Desktop – 1024px to 1439px */
@media (max-width: 1439px) {

    /* Main Content */
    .main-content {
        margin-top: 85px;
    }

    /* Logo Section */
    .logo-section {
        padding-top: 80px;
    }

    /* Info Sections */
    .info-section {
        padding: 0 120px;
        margin-top: 50px;
    }

    .info-section:first-of-type {
        margin-top: 50px;
    }

    /* Section Title */
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    /* Section Paragraph */
    .section-paragraph {
        font-size: 18px;
    }

    /* Section List */
    .section-list {
        margin-left: 80px;
    }

    .section-list li {
        font-size: 18px;
    }

    /* Arrow Section */
    .arrow-section {
        padding: 0 120px;
        margin-top: 50px;
    }

    /* Rooms Section */
    .rooms-section {
        padding: 50px 20px;
    }

    .rooms-list {
        gap: 40px;
        max-width: 1000px;
    }

    /* How Section */
    .how-section {
        padding: 50px 20px 80px;
    }

    .how-grid {
        width: 850px;
        gap: 35px;
    }

    .how-title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .how-step-title {
        font-size: 28px;
    }

    .how-col:not(:last-child)::after {
        height: 120px;
    }

    /* Doubts Section */
    .doubts-section {
        padding: 35px 20px 50px;
    }

    .doubts-container {
        width: 950px;
        height: 240px;
        padding: 0 50px;
    }

    .doubts-title {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .doubts-item {
        font-size: 18px;
    }

    /* Owner CTA Section */
    .owner-cta-section {
        padding: 0 120px;
        margin-top: 50px;
    }

    .owner-cta-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .owner-cta-paragraph {
        font-size: 18px;
        padding: 0 80px;
    }
}

/* 🟡 Tablet – 768px to 1023px */
@media (max-width: 1023px) {

    /* Main Content */
    .main-content {
        margin-top: 60px;
        min-height: 150vh;
    }

    /* Logo Section */
    .logo-section {
        padding-top: 60px;
    }

    .page-logo {
        width: 90px;
        height: 70px;
    }

    /* Info Sections */
    .info-section {
        padding: 0 60px;
        margin-top: 40px;
    }

    .info-section:first-of-type {
        margin-top: 40px;
    }

    /* Section Title */
    .section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    /* Section Paragraph */
    .section-paragraph {
        font-size: 17px;
        line-height: 1.5;
    }

    /* Section List */
    .section-list {
        margin-left: 60px;
    }

    .section-list li {
        font-size: 17px;
        margin-bottom: 8px;
    }

    /* Arrow Section */
    .arrow-section {
        padding: 0 60px;
        margin-top: 40px;
    }

    .arrow-icon {
        width: 45px;
        height: 18px;
    }

    /* Rooms Section */
    .rooms-section {
        padding: 40px 15px;
    }

    .rooms-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 650px;
    }

    .room-card {
        height: 320px;
    }

    .room-thumb {
        height: 200px;
    }

    /* How Section */
    .how-section {
        padding: 40px 20px 60px;
    }

    .how-grid {
        width: 100%;
        max-width: 700px;
        gap: 30px;
    }

    .how-title {
        font-size: 30px;
        margin-bottom: 28px;
    }

    .how-step-title {
        font-size: 26px;
        max-width: 250px;
    }

    .how-step-desc {
        max-width: 250px;
    }

    .how-col:not(:last-child)::after {
        height: 100px;
        right: -15px;
    }

    /* Doubts Section */
    .doubts-section {
        padding: 30px 20px 40px;
    }

    .doubts-container {
        width: 100%;
        max-width: 650px;
        height: auto;
        flex-direction: column;
        padding: 40px 30px;
        gap: 30px;
    }

    .doubts-content {
        padding-right: 0;
        text-align: center;
    }

    .doubts-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .doubts-item {
        font-size: 16px;
        text-align: left;
    }

    .doubts-actions {
        flex-direction: row;
        gap: 15px;
    }

    /* Owner CTA Section */
    .owner-cta-section {
        padding: 0 60px;
        margin-top: 40px;
    }

    .owner-cta-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .owner-cta-paragraph {
        font-size: 17px;
        padding: 0 60px;
    }
}

/* 🟠 Large Phones – 480px to 767px */
@media (max-width: 767px) {

    /* Main Content */
    .main-content {
        margin-top: 60px;
        min-height: 120vh;
    }

    /* Logo Section */
    .logo-section {
        padding-top: 50px;
    }

    .page-logo {
        width: 80px;
        height: 62px;
    }

    /* Info Sections */
    .info-section {
        padding: 0 30px;
        margin-top: 35px;
    }

    .info-section:first-of-type {
        margin-top: 35px;
    }

    /* Section Title */
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* Section Paragraph */
    .section-paragraph {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    /* Section List */
    .section-list {
        margin-left: 40px;
        margin-bottom: 25px;
    }

    .section-list li {
        font-size: 15px;
        margin-bottom: 8px;
        padding-left: 18px;
    }

    /* Arrow Section */
    .arrow-section {
        padding: 0 30px;
        margin-top: 35px;
    }

    .arrow-icon {
        width: 40px;
        height: 16px;
    }

    /* Rooms Section */
    .rooms-section {
        padding: 35px 15px;
    }

    .rooms-list {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 100%;
    }

    .room-card {
        width: 100%;
        max-width: 100%;
        height: 300px;
    }

    .room-thumb {
        height: 180px;
        /* Smooth horizontal scroll gallery */
        overflow-x: scroll;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
        display: flex;
        scroll-behavior: smooth;
    }

    /* Hide scrollbar for Chrome/Safari */
    .room-thumb::-webkit-scrollbar {
        display: none;
    }

    /* Room thumb images for smooth scrolling */
    .room-thumb-image {
        min-width: 100%;
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        scroll-snap-align: start;
        object-fit: cover;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    .room-thumb:active {
        cursor: grabbing;
    }

    /* Hide navigation arrows on mobile */
    .room-thumb-nav {
        display: none !important;
    }

    /* How Section */
    .how-section {
        padding: 35px 15px 50px;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 100%;
    }

    .how-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .how-col {
        padding: 0;
    }

    .how-col:not(:last-child)::after {
        display: none;
    }

    .how-step-title {
        font-size: 24px;
        max-width: 100%;
    }

    .how-step-desc {
        max-width: 100%;
    }

    /* Doubts Section */
    .doubts-section {
        padding: 30px 15px 35px;
    }

    .doubts-container {
        max-width: 100%;
        padding: 35px 25px;
        gap: 25px;
    }

    .doubts-title {
        font-size: 24px;
    }

    .doubts-item {
        font-size: 15px;
    }

    .doubts-actions {
        flex-direction: column;
        width: 100%;
    }

    .whatsapp-button,
    .contact-button {
        width: 100%;
        max-width: 100%;
        height: 50px;
        font-size: 18px;
    }

    /* Owner CTA Section */
    .owner-cta-section {
        padding: 0 30px;
        margin-top: 35px;
    }

    .owner-cta-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .owner-cta-paragraph {
        font-size: 16px;
        padding: 0 20px;
    }

    .owner-cta-button {
        width: 100%;
        max-width: 280px;
    }
}

/* 🔴 Small Phones – up to 479px */
@media (max-width: 479px) {

    /* Main Content */
    .main-content {
        margin-top: 50px;
        margin-bottom: 80px;
        min-height: 100vh;
    }

    /* Logo Section */
    .logo-section {
        padding-top: 40px;
    }

    .page-logo {
        width: 70px;
        height: 54px;
    }

    /* Info Sections */
    .info-section {
        padding: 0 20px;
        margin-top: 30px;
    }

    .info-section:first-of-type {
        margin-top: 30px;
    }

    /* Section Title */
    .section-title {
        font-size: 20px;
        margin-bottom: 18px;
    }

    /* Section Paragraph */
    .section-paragraph {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* Section List */
    .section-list {
        margin-left: 25px;
        margin-bottom: 20px;
    }

    .section-list li {
        font-size: 14px;
        margin-bottom: 7px;
        padding-left: 16px;
    }

    .section-list li::before {
        font-size: 14px;
    }

    /* Arrow Section */
    .arrow-section {
        padding: 0 20px;
        margin-top: 30px;
    }

    .arrow-icon {
        width: 36px;
        height: 14px;
    }

    /* Rooms Section */
    .rooms-section {
        padding: 30px 12px;
    }

    .rooms-list {
        gap: 20px;
    }

    .room-card {
        width: 100%;
        max-width: 100%;
        height: 292px;
    }

    .room-thumb {
        height: 160px;
    }

    .room-info {
        padding: 15px;
    }

    .price-value {
        font-size: 24px;
    }

    /* How Section */
    .how-section {
        padding: 30px 12px 40px;
    }

    .how-grid {
        gap: 35px;
    }

    .how-title {
        font-size: 24px;
        margin-bottom: 22px;
    }

    .how-step-title {
        font-size: 22px;
    }

    .how-step-desc {
        font-size: 13px;
    }

    /* Doubts Section */
    .doubts-section {
        padding: 25px 12px 30px;
    }

    .doubts-container {
        padding: 30px 20px;
        gap: 20px;
        border-radius: 35px;
    }

    .doubts-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .doubts-item {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .whatsapp-button,
    .contact-button {
        height: 48px;
        font-size: 16px;
    }

    .whatsapp-icon {
        width: 100px;
        height: 23px;
    }

    /* Owner CTA Section */
    .owner-cta-section {
        padding: 0 20px;
        margin-top: 30px;
    }

    .owner-cta-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .owner-cta-paragraph {
        font-size: 15px;
        padding: 0 10px;
    }

    .owner-cta-button {
        width: 100%;
        max-width: 100%;
        height: 45px;
        font-size: 17px;
    }
}