
/* ==========================================================================
   MOBILE RESPONSIVE (Tablets & Phones)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        overflow-y: auto; 
        height: auto;
    }

    /* Stack sections vertically: Carousel on top, Form below */
    .main-container {
        flex-direction: column;
        height: auto;
    }

    /* Adjust hero height for mobile screens */
    .hero-section {
        flex: none;
        height: 35vh; 
        min-height: 300px;
    }

    .hero-overlay {
        padding: 20px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 20px; 
        margin-bottom: 20px; 
    }

    .hero-controls {
        left: 20px;
        bottom: 20px;
    }

    .form-section {
        padding: 30px 20px;
    }

    .site-footer {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 10px;
        text-align: center;
    }
}



.password-requirements{
    background-color: #f8fbf9;
    border: 1px solid #e8f0eb;
    text-align: start;
}


@media(max-width: 1024px){
    .hero-content .hero-title {
        font-size: 28px;
    }
    .slide-sub-content {
        max-width: 300px;
    }
}

/* RESPONSIVE BREAKPOINT */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column; /* Stacks items vertically */
        height: auto; /* Allow container to grow with content */
    }

    .hero-section {
        flex: none;
        width: 100%;
        height: 400px; /* Fixed height for the carousel on mobile */
    }

    .hero-content {
        padding: 30px 20px;
         /* Center text for better mobile aesthetics */
    }

    .hero-content .hero-title {
        font-size: 28px; /* Specifically set size for tablets/phones */
    }
}

/* RESPONSIVE BREAKPOINT */
@media (max-width: 768px) {
    .site-footer {
        flex-direction: column; /* Stacks Left, Nav, and Right vertically */
        text-align: center;
        padding: 20px;
    }

    .footer-nav ul {
        flex-direction: row; /* Stacks links vertically on mobile */
        gap: 1.5rem; /* Reduces gap for mobile */
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 10px auto;
    }
    .footer-right {
        order: 1;
    }
    .footer-left {
        order: 2;
    }
}