/* Enhanced Responsive styles */
@media (max-width: 1200px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .footer .container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-column {
        padding: 0 10px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 900px) {
    /* Hide the top bar on mobile views */
    .top-bar {
        display: none;
    }
    
    .secondary-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .main-nav {
        justify-content: flex-end;
    }
    
    /* Slider specific fixes for tablets */
    .banner-slider-container.fullscreen {
        height: 60vh !important;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
        gap: 15px;
    }
    
    .contact-info {
        justify-content: center;
        text-align: center;
    }
    
    .auth-links {
        justify-content: center;
    }
    
    .social-icons {
        margin-left: 0;
        justify-content: center;
        width: 100%;
    }
    
    .header-top {
        justify-content: center;
        text-align: center;
    }
    
    .logo-img {
        height: 60px;
        max-height: 60px;
    }
    
    .stats-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .vertical-divider {
        display: none;
    }
    
    .footer .container {
        grid-template-columns: 1fr 1fr;
    }
    
    .copyright-container {
        justify-content: center;
        text-align: center;
    }
    
    /* Slider specific fixes for mobile */
    .banner-slider-container.fullscreen {
        height: 50vh !important;
    }
    
    .slider-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .indicator.active {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 640px) {
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .auth-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-text {
        text-align: center; /* Ensure center alignment on mobile */
    }
    
    .footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section {
        padding: 0 20px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 50px;
        max-height: 50px;
    }
    
    /* Further slider height reduction for small mobile */
    .banner-slider-container.fullscreen {
        height: 40vh !important;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
    }
    
    .slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 360px) {
    .banner-slider-container.fullscreen {
        height: 35vh !important;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
    }
    
    .slider-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .slider-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .indicator.active {
        width: 10px;
        height: 10px;
    }
}