/*
  Dearden2007 CSS split generated from the original style.css.
  shared.css contains only global header/navigation/footer/base rules.
  Each page stylesheet contains rules matched to that page's HTML.
*/
body{
    background-color: black;
    color: white;
    background: #000;
    font-family: Arial, sans-serif;
}

header{
    position: relative;
    padding: 20px;
    background: black;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-container {
    width: 100%;
    min-width: 0;

    display: flex;
    align-items: center;

    gap: clamp(10px, 1.5vw, 25px);
}

.logo {
    display: block;
    flex: 0 0 auto;

    width: clamp(80px, 9vw, 140px);
    height: auto;

    object-fit: contain;
}

nav {
    flex: 1 1 auto;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: nowrap;
    gap: clamp(3px, 0.5vw, 9px);

    overflow: visible;
}

nav a {
    flex: 1 1 0;
    min-width: 0;
    max-width: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    height: clamp(36px, 4vw, 50px);
    padding: 0 clamp(3px, 0.7vw, 13px);

    color: white;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    font-size: clamp(9px, 1.05vw, 18px);
    font-weight: bold;

    border: 2px solid #3560ff;
    border-radius: 30px;

    background: linear-gradient(
        180deg,
        #2f4fff,
        #1734b5
    );

    box-shadow:
        0 0 12px rgba(30, 76, 255, 0.5);

    transition: all 0.3s ease;
}

nav::-webkit-scrollbar {
    display: none;
}

nav a:hover{

    background:
    linear-gradient(
        45deg,
        #750000,
        #d61c1c
    );

    border-color:#d61c1c;

    transform:
    translateY(-3px);

    box-shadow:
    0 0 25px rgba(214,28,28,.6);
}

nav a:visited{
    color:white;
}

.divider{

    height: 2px;

    background: linear-gradient(
        to right,
        #1e4cff,
        #ffffff,
        #d61c1c
    );

    margin: 10px 20px;
}

.site-footer{
    background: #050505;
    margin-top: 80px;
    color: white;
    padding: 40px 20px;
}

.footer-divider{
    height: 2px;
    background: linear-gradient(
        to right,
        #1e4cff,
        #ffffff,
        #d61c1c
    );
    margin-bottom: 40px;
}

.footer-logo{
    text-align: center;
}

.footer-logo img{
    width: 140px;
    height: 140px;
    border-radius: 50%;
}

.footer-logo h2{
    color: #d61c1c;
    letter-spacing: 3px;
    margin-top: 15px;
}

.footer-grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
    margin: 50px 0;
}

.footer-grid h3{
    color: #1e4cff;
    border-bottom: 2px solid #1e4cff;
    padding-bottom: 10px;
}

.footer-grid a{
    display: block;
    color: white;
    text-decoration: none;
    margin-top: 12px;
    transition: .3s;
}

.footer-grid a:hover{
    color: #d61c1c;
    transform: translateX(5px);
}

.footer-quote{
    text-align: center;
    font-size: 28px;
    font-style: italic;
    color: white;
    margin: 40px 0;
}

.footer-copy{
    text-align: center;
    color: #888;
    border-top: 1px solid #333;
    padding-top: 20px;
}

@keyframes scroll{

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-350px * 6));
    }

}

.programs-header{
    text-align: center;
    padding: 80px 30px;
}

.programs-header h1{
    font-size: 72px;
    color: #d61c1c;
    text-transform: uppercase;
}

.programs-header p{
    font-size: 32px;
    color: white;
}

@keyframes journeyScroll{

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes pulseArrow{

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(12px);
    }
}

@keyframes bounceArrow{

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}

@keyframes bounce{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(18px);

}

}

html{
    scroll-behavior: smooth;
}


/* =========================================================
   DEARDEN2007 SHARED WEBSITE FOOTER
========================================================= */

.site-footer {
    width: calc(100% - 16px);
    margin: 70px auto 0;
    padding: 38px 20px 20px;
    background: #020304;
    color: #ffffff;
    box-sizing: border-box;
}

.footer-divider {
    width: 100%;
    height: 3px;
    margin-bottom: 42px;
    background: linear-gradient(
        90deg,
        #155cff 0%,
        #ffffff 50%,
        #ef2934 100%
    );
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: auto;

    margin-bottom: 48px;
    text-align: center;
}

.footer-logo img {
    display: block;
    width: 145px;
    height: 145px;
    margin: 0 auto 22px;
    object-fit: contain;
}

.footer-logo h2 {
    margin: 0;
    color: #ef292f;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.12em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    margin: 0 auto;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid h3 {
    width: 100%;
    margin: 0 0 14px;
    padding-bottom: 10px;
    color: #195cff;
    font-size: 1.15rem;
    font-weight: 900;
    border-bottom: 2px solid #195cff;
}

.footer-grid a {
    display: block;
    margin: 6px 0;
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-grid a:hover {
    color: #72a5ff;
    transform: translateX(4px);
}

.footer-quote {
    margin: 48px auto 38px;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-style: italic;
    text-align: center;
}

.footer-copy {
    width: 100%;
    margin: 0 auto;
    padding-top: 22px;
    color: #8f9aaa;
    text-align: center;
    border-top: 1px solid #252b33;
}

@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .site-footer {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo h2 {
        letter-spacing: 0.06em;
    }
}

/* ==================================================
   MAIN WEBSITE MOBILE NAVIGATION
   Desktop navigation remains unchanged above 700px.
================================================== */

.main-mobile-menu-toggle {
    display: none;
}

@media (max-width: 700px) {
    header {
        padding: 12px 16px;
    }

    .logo-container {
        display: grid;
        grid-template-columns: 64px 48px;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .home-logo-link,
    .logo {
        width: 64px;
    }

    .main-mobile-menu-toggle {
        display: inline-flex;
        width: 48px;
        height: 48px;
        padding: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        color: white;
        background: #11151c;
        border: 1px solid #3560ff;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(30, 76, 255, 0.45);
        cursor: pointer;
    }

    .main-mobile-menu-toggle span {
        width: 24px;
        height: 3px;
        background: white;
        border-radius: 999px;
        transition:
            transform 0.25s ease,
            opacity 0.25s ease;
    }

    .main-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .main-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .main-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .logo-container > nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
    }

    .logo-container.main-menu-open > nav {
        display: flex;
        padding-top: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 9px;
        border-top: 1px solid #252b35;
    }

    .logo-container.main-menu-open > nav a {
        width: 100%;
        max-width: none;
        min-height: 46px;
        flex: none;
        font-size: 16px;
    }

    .divider {
        margin-top: 0;
    }
}
