/* Responsive fixes for the overlapping sections */

/* Default style for desktop */
.content-row.full.light-section.overlap-section {
    margin-top: -600px;
}

/* Medium screens (tablets) */
@media only screen and (max-width: 1024px) {
    .content-row.full.light-section.overlap-section {
        margin-top: -400px;
    }
}

/* Small screens (mobile phones) */
@media only screen and (max-width: 767px) {
    .content-row.full.light-section.overlap-section {
        margin-top: -200px;
    }
    
    /* Navigation fixes for mobile */
    nav .flexnav li.link {
        margin: 0 !important;
        padding: 5px 0 !important;
    }
    
    nav .flexnav li.link .before-span span {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    nav .flexnav li.link a .before-span span {
        font-size: 14px !important;
    }
}

/* Extra small screens (small phones) */
@media only screen and (max-width: 480px) {
    .content-row.full.light-section.overlap-section {
        margin-top: -150px;
    }
    
    /* Navigation fixes for extra small screens */
    nav .flexnav li.link .before-span span {
        font-size: 12px !important;
    }
    
    nav .flexnav li.link a .before-span span {
        font-size: 12px !important;
    }
    
    nav .flexnav {
        padding: 0 10px !important;
    }
}
