/* GLOBAL RESET */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: whitesmoke;
    color: black;
}

/* SUB-PAGE NAVIGATION (Dashboard Bar) */
.sub-nav {
    width: 100%;
    min-height: 70px;
    background-color: darkviolet; 
    color: white;
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.back-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: opacity 0.3s;
    flex: 0 0 auto;
}

.back-link:hover {
    opacity: 0.8;
}

.page-title {
    margin: 0;
    font-size: 30px;
    text-align: center;
    flex: 1; /* Keeps title centered */
}

.nav-buttons {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
}

.nav-btn {
    color: darkviolet;
    background-color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #e0e0e0;
}

/* SUB-PAGE CONTENT */
.sub-content {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

.description-text {
    font-size: 24px; 
    line-height: 1.8;
    margin-bottom: 50px;
    color: #222;
}

.banner-container {
    text-align: center;
}

.banner-img {
    width: 80%; 
    max-width: 850px; 
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* SUB-PAGE FOOTER (Contact Column) */
.sub-footer {
    background-color: black;
    color: white;
    padding: 50px 20px;
    margin-top: 40px;
    display: block;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.contact-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.contact-column a {
    color: cornsilk;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-column a:hover {
    color: cyan;
}

.footer-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}


/* ------------------------- */
/* MOBILE RESPONSIVE         */
/* ------------------------- */

@media (max-width: 768px) {

    
    .sub-nav {
        display: flex;
        flex-direction: column;
        align-items: center;    
        padding: 20px 15px;
        height: auto;
    }

    .back-link {
        font-size: 14px;
        margin-right: auto !important;
        position: static;
    }

    .page-title {
        font-size: 30px;
        text-align: center;
        width: 100%;
        margin: 0 0 15px 0;
    }

    
    .nav-buttons {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 15px; 
        gap: 10px;
    }

    .nav-btn {
        padding: 6px 15px;
        font-size: 14px;
    }

    
    .description-text {
        font-size: 18px; 
        margin-bottom: 35px;
        text-align: center; 
    }

    
    .banner-img {
        width: 100%; 
        max-width: 500px; 
    }

    .sub-footer {
        display: block; 
        width: 100%;
        background-color: black;
        padding: 40px 20px;
        text-align: center;
    }
    .contact-column {
        display: flex;
        flex-direction: column;
        gap: 15px; 
    }
}