/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding-top: 50px;
}

.content {
    margin-top: 50px;
    padding: 20px;
}

header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #FFD700;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    top: 1px;   /* height of your banner */
    width: 100%;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section img {
    height: 60px;
    width: 60px;
    cursor: pointer;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.school-name {
    font-size: 1.5rem;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFD700;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #FFF;
}

/* Common Button Styles */
.cta-button {
    display: inline-block;
    background: #FFD700;
    color: #1a1a1a;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #FFD700;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #FFD700;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #FFF;
}

.accreditation-logos {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: center;
}

.accreditation-logos img {
    background: white;
    padding: 1rem;
    border-radius: 5px;
}

.logo-wvcea {
    width: 180px;
    height: auto;
}

.logo-aacs {
    width: 180px;
    height: auto;
}

/* Mobile Styles for Common Elements */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        padding: 1rem 0;
    }

    nav ul.active {
        display: flex;
    }

    .logo-section {
        width: 100%;
        justify-content: space-between;
    }

    .school-name {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .accreditation-logos {
        flex-direction: column;
        align-items: center;
    }

    .accreditation-logos img {
        max-width: 80%;
        height: auto;
    }

    .cta-button {
        display: block;
        margin: 0.5rem auto;
        max-width: 250px;
    }
}

/* Dropdown */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown > a {
    cursor: pointer;
}

nav ul li.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #2d2d2d;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}
nav ul li.dropdown:hover .dropdown-menu {
    display: block;
}
nav ul li.dropdown .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.65rem 1.25rem;
    color: #FFD700;
    font-size: 0.9rem;
    transition: background 0.2s;
    white-space: nowrap;
}
nav ul li.dropdown .dropdown-menu li a:hover {
    background: #f5f5f5;
    color: #FFD700;
}
.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    vertical-align: middle;
    transition: transform 0.2s;
}
nav ul li.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}
/* Mobile: dropdown stacks inline */
@media (max-width: 768px) {
    nav ul li.dropdown .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #2d2d2d;
        padding-left: 1rem;
    }
    nav ul li.dropdown.open .dropdown-menu {
        display: block;
    }
}

/* Mobile: dropdown stacks inline */
@media (max-width: 768px) {
    nav ul li.dropdown .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: #2d2d2d;
        padding-left: 1rem;
    }

    nav ul li.dropdown.open .dropdown-menu {
        display: block;
    }
}