/* responsive-styles.css */

/* General styles for responsive layout */
@media (max-width: 768px) {
    body {
        margin: 0;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        line-height: 1.6;
        height: 100vh;
        width: 100vw;
    }
    
    header {
        background: #041a31;
        display: flex;
        flex-direction: column;
        color: #fff;
        position: fixed;
        height: 8vh;
        width: 100vw;
        justify-content: center;
        padding: 10px;
        z-index: 1000;
        overflow: hidden;
    }
    
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        padding: 0 0px;
    }
    
    #menu-button {
        display: block;
        background-color: #041a31;
        color: white;
        font-size: 16px;
        padding: 8px 0px;
        width: fit-content;
        border: none;
        border-radius: 18px;
        cursor: pointer;
        position: fixed;
        top: 10px;
        right: 20px;
        z-index: 2000;
    }
    
    nav {
        display: none; /* Hidden by default */
        flex-direction: column;
        align-items: flex-start;
        background-color: #1e1d1b;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 1051;
        padding: 100px 20px;
        margin-top: 11.5vh;
        opacity: 0.96;
    }
    
    nav.active {
        display: flex; 
        padding-top: 50vh !important;
        padding-top: 16% !important;
        padding-left: 0%;
        width: 100vw;
    }
    
    nav ul {
        list-style: none;
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100vw !important;
    }
    
    nav ul li {
        margin-bottom: 5vh !important;
        margin-left: 0vw !important;
        height: fit-content;
        background-color: rgba(26, 25, 23, 1);
        border: 1px solid orange;
        border-radius: 20px;
        padding: 1%;
        width: 70% !important;
        text-align: center;
        cursor: pointer;
    }
    
    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        width: 100% !important;
        height: 100%;
    }
    
    .header-cta {
        display: none; /* Hide CTA button in header */
    }
    
    nav ul li.header-cta {
        display: block; /* Show CTA in menu */
        margin-top: 20px;
    }
    
    nav ul li.header-cta a {
        background: #004080;
        color: white;
        padding: 10px 20px;
        text-align: center;
        border-radius: 10px;
    }
    
    /* Hero section for responsive */
    .hero {
        text-align: center;
        padding: 20vh 10px;
        background: url('hero-bg.jpg') no-repeat center center/cover;
        color: #fff;
    }
    
    .hero-content {
        margin: auto;
        width: 90%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content .cta {
        font-size: 1rem;
    }
    
    /* Section adjustments */
    section {
        padding: 50px 10px;
        box-sizing: border-box;

    }
    
    .container {
        max-width: 100%;
        margin: auto;
        padding: 0;
        box-sizing: border-box;
    }
    
    .features, .training-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature, .training {
        width: 90%;
        padding: 20px;
        margin: 10px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .about-features {
        flex-direction: column !important;
        gap: 20px;
        display: flex;
        width: 100% !important;
        box-sizing: border-box;
        height: fit-content !important;
    }
    
    .about h3 {
        margin-bottom: 0vh !important;
    }

    .trainings h3 {
    margin-bottom: -3vh;
    }

    #trainings-cta {
        margin-left: 9vw;
        width: 70% !important;
        position: absolute;
        text-align: center;
        }

    .cta-container {
        display: flex;
        flex-direction: column !important;
        gap: 3vh;
        justify-content: space-around;
        width: 70vw;
        margin-left: 11vw;
    }

    footer {
        padding: 20px 10px;
        text-align: center;
    }
    
    footer .social-links {
        flex-direction: column;
        gap: 10px;
    }
    }
    