/* ======================================================================= */
/*                        ONTIME PAGE SPECIFIC STYLES                      */
/* ======================================================================= */

/* Tombstone: Removed inline styles from ontime.html - moved here */


/* Section spacing adjustments */
.ontime-page section { 
    padding: 1.7rem 0 !important; 
    margin: 0 !important;
}
.ontime-logo-section {padding-bottom: 1rem!important;}
.ontime-page #overview {padding-bottom: 2rem!important;}

.ontime-page .logo-display-container { 
    margin-bottom: 0.3rem !important; 
    margin-top: 0 !important;
    padding: 0px!important;
}

.ontime-logo-standalone { 
    height: 80px !important; 
    max-height: 80px !important; 
}

.ontime-page h2 { 
    margin-bottom: 1.1rem !important;
}

.ontime-page .section-subtitle { 
    margin-bottom: 1.1rem !important; 
    margin-top: -0.9rem !important;
}

.ontime-page .feature-grid { 
    margin-top: 1.1rem !important;
}

.ontime-page .global-contact-form { 
    margin-top: 0.8rem !important; 
    margin-bottom: 0.5rem !important;
}

.ontime-page section:last-child {
    margin-bottom: 0; 
    padding-bottom: 1.3rem !important;
}

/* Overview section fixes */
.ontime-page #overview {
    padding-top: 0.1rem !important;
    background-color: var(--background-color);
    width: 100%;
}

.ontime-page #overview .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

.ontime-page h2 {
    text-align: center;
    width: 100%;
    margin-bottom: 1.1rem !important;
}

.ontime-page .overview-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.ontime-page .overview-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ontime-page .overview-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Remove extra gap between logo and overview */
.ontime-logo-section { 
    padding-bottom: 0 !important; 
    margin-bottom: 0 !important;
}

/* Hero section adjustments */
.ontime-page #ontime-hero {
    padding-top: 1rem !important; 
    padding-bottom: 1rem !important;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Mobile responsive adjustments */
@media (max-width: 900px) {
    .ontime-page section { 
        padding: 1.1rem 0 !important;
    }
    
    .ontime-page .feature-grid { 
        margin-top: 0.7rem !important;
    }
    
    .ontime-logo-standalone { 
        height: 60px !important;
    }
    
    .ontime-page #ontime-hero .hero-tagline { 
        font-size: 1.45rem !important;
    }
    
    .ontime-page #ontime-hero { 
        padding: 2rem 0.7rem 0.1rem 0.7rem !important;
    }
    
    .ontime-page #overview .overview-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ontime-page #overview .container {
        padding: 0 1rem !important;
    }
}