/* Custom CSS for WMT&R website */

/* Hero section styling */
.page__title {
    padding: 60px 0;
    height: auto !important;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden !important;
    width: 100% !important;
}

.page__title .container {
    width: 100%;
}

.page__title .display-3 {
    font-size: 3rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Make hero title smaller globally */
.hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
}

/* Responsive adjustments for hero title */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.3rem !important;
    }
    
    .page__title {
        min-height: 250px;
    }
    
    .page__title .display-3 {
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .page__title {
        min-height: 220px;
        padding: 40px 0;
    }
    
    .page__title .display-3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    /* Make hero section shorter on mobile */
    .page__title {
        min-height: 180px !important;
        padding: 30px 0 !important;
    }
    
    /* Adjust display-3 size on mobile */
    .page__title .display-3 {
        font-size: 2rem !important;
    }
}

/* Prevent horizontal scrolling */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Fix any potential overflow issues with other elements */
img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* Additional custom styles can be added below */ 