/* ==========================================================================
   Global Styles (Applied Across All Pages)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #333;
    font-weight: 400;
    text-align: left;
}

.container {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    background-image: url('/static/denim-1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-top: 20px;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-content:has(.hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 45, 44, 0.51);
    background-attachment: fixed;
}

.main-content:not(:has(.hero))::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(113, 167, 211, 0.1);
    background-attachment: fixed;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    padding: 0 40px;
}

.content-section {
    padding: 40px;
    max-width: 800px;
    margin: 40px auto;
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content-section+.content-section {
    margin-top: 60px;
}

.content-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1a3c5e;
    text-align: center;
}

.content-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1a3c5e;
    text-align: center;
}

.btn {
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease 0.2s, color 0.3s ease 0.2s, border-color 0.3s ease 0.2s;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: white;
    color: #1a3c5e;
}

.schedule-btn {
    background-color: #1a3c5e;
    border: 2px solid #1a3c5e;
    color: white;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.schedule-btn:hover {
    background-color: white;
    color: #2d465f;
    border: 2px solid #1a3c5e;
}

.faq-schedule-btn {
    margin-top: 30px;
    display: block;
    text-align: center;
}

/* ==========================================================================
   Sidebar Styles (All Pages)
   ========================================================================== */
.sidebar {
    width: 280px;
    background-color: #1a3c5e;
    color: white;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
}

.sidebar .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar .logo {
    text-align: center;
    padding-left: 2px !important;
    margin-bottom: 90px;
}

.sidebar .logo img {
    width: 100%;
    max-width: 150px;
    min-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sidebar .logo-btn {
    margin-bottom: 30px;
    text-align: center;
}

.sidebar .logo-btn .schedule-btn {
    width: 100%;
    max-width: 240px;
    padding: 10px 15px;
    border: 2px solid white !important;
    background-color: #455a6e;
    margin-bottom: 40px;
}

.sidebar .hamburger-menu {
    display: none;
}

.sidebar .dropdown-menu {
    display: block;
    flex-grow: 1;
}

.sidebar .dropdown-menu nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}

.sidebar .dropdown-menu nav ul {
    list-style: none;
    padding: 0 0 0 40px !important;
    margin: 0;
}

.sidebar .dropdown-menu nav ul li {
    margin: 25px 0;
    line-height: 1.2;
}

.sidebar .dropdown-menu nav ul li:first-child {
    margin-top: 0;
}

.sidebar .dropdown-menu nav ul li:last-child {
    margin-bottom: 0;
}

.sidebar .dropdown-menu nav ul li a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 16px;
}

.sidebar .dropdown-menu nav ul li a:hover {
    color: white;
}

.sidebar .social-icons {
    display: none;
}

.sidebar .social-icons.desktop-social {
    display: flex;
    margin-top: auto;
    gap: 30px !important;
    justify-content: center;
    padding-top: 20px;
}

.sidebar .social-icons.desktop-social img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.sidebar .social-icons.desktop-social img:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   FAQ Section Styles (All Pages)
   ========================================================================== */
.faq-section {
    text-align: left;
}

.faq-section .faq-item {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-section .faq-item:last-child {
    margin-bottom: 0;
}

.faq-section .faq-question {
    font-size: 1.1em;
    font-weight: 500;
    color: #1a3c5e;
    cursor: pointer;
    padding: 15px;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-section .faq-question .faq-bullet {
    margin-right: 10px;
    font-size: 1em;
    color: #1a3c5e;
    transition: transform 0.3s ease;
}

.faq-section .faq-item.active .faq-question .faq-bullet {
    transform: rotate(90deg);
}

.faq-section .faq-question:hover {
    background-color: #e6ecf5;
    color: #1a3c5e;
}

.faq-section .faq-item.active .faq-question {
    color: #1a3c5e;
}

.faq-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #e6ecf5;
    padding: 0 15px 0 45px;
}

.faq-section .faq-item.active .faq-answer {
    padding: 15px 15px 15px 45px;
}

.faq-section .faq-answer p {
    margin: 0 0 10px 0;
}

.faq-section .faq-answer ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.faq-section .faq-answer li {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.5;
    position: relative;
    padding-left: 20px;
}

.faq-section .faq-answer .faq-sub-bullet {
    position: absolute;
    left: 0;
    color: #1a3c5e;
    font-size: 1em;
}

/* ==========================================================================
   Responsive Design (All Pages)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        flex-direction: column;
        min-height: 100vh;
        padding-top: 0;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1002;
        padding: 40px 8px;
        background-color: #1a3c5e;
    }

    .sidebar .header-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0px;
        height: 5px;
    }

    .sidebar .logo {
        padding-left: 0 !important;
        flex: 0 0 auto;
        margin: 0;
        margin-bottom: 0 !important;
    }

    .sidebar .logo img {
        max-width: 80px !important;
        width: 100%;
        height: auto;
        min-width: 0 !important;
    }

    .sidebar .logo-btn {
        margin: 0;
        flex: 0 0 auto;
        margin-bottom: 0 !important;
    }

    .sidebar .logo-btn .schedule-btn {
        font-size: 10px;
        padding: 0px 10px;
        max-width: 90px;
        border: 2px solid white !important;
        background-color: #455a6e;
        margin-bottom: 0 !important;
    }

    .sidebar .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 44px;
        height: 48px;
        cursor: pointer;
        position: relative;
        z-index: 1003;
        order: 3;
        margin-left: 10px;
    }

    .sidebar .hamburger-menu span {
        width: 100%;
        height: 2px;
        background-color: white;
        margin: 2px 0;
        transition: all 0.3s ease;
    }

    .sidebar .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .sidebar .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .sidebar .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .sidebar .dropdown-menu {
        display: none !important;
        position: fixed;
        top: 60px;
        right: -70%;
        width: 50%;
        height: 100%;
        background-color: #4f7aa5;
        padding: 20px;
        z-index: 999;
        transition: right 0.3s ease;
        border-bottom-left-radius: 30px;
        border-top-left-radius: 30px;
    }

    .sidebar .dropdown-menu.active {
        display: block !important;
        visibility: visible !important;
        right: 0;
    }

    .sidebar .dropdown-menu nav {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
    }

    .sidebar .dropdown-menu nav ul {
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .sidebar .dropdown-menu nav ul li {
        margin: 15px 0;
    }

    .sidebar .dropdown-menu nav ul li a {
        font-size: 16px;
        color: #b0c4de;
    }

    .sidebar .header-content .social-icons.mobile-social {
        display: flex;
        gap: 6px;
        align-items: center;
        order: 2;
        margin: 0 5px;
        flex-shrink: 0;
    }

    .sidebar .header-content .social-icons.mobile-social img {
        width: 14px;
        height: 14px;
    }

    .sidebar .social-icons.desktop-social {
        display: none !important;
    }

    .site-banner {
        display: flex !important;
        font-size: 8px;
        padding: 0px 0px;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1001;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        background-color: #ffcc00 !important;
        box-sizing: border-box;
        overflow-x: hidden;
        font-size: 8px;
    }


    .site-banner p {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin: 0;
        flex-wrap: wrap;
        white-space: normal;
        width: 100%;
        text-align: center;
        overflow-x: hidden;
        text-overflow: ellipsis;
        font-size: 10px;
    }

    .banner-btn {
        font-size: 8px !important;
        padding: 0px 0px;
        white-space: wrap;
    }

    .banner-signup {
        font-size: 8px !important;
        white-space: nowrap;
    }

    .main-content {
        margin-left: 0;
        margin-top: 110px;
        padding-top: 60px;
        background-attachment: fixed;
        background-size: cover;
        overflow-x: hidden;
        min-height: 100vh;
    }

    .content-wrapper {
        padding: 0 15px;
    }

    .content-section {
        padding: 15px;
        border-radius: 10px;
        margin: 20px auto;
    }

    .content-section h1 {
        font-size: 22px;
    }

    .content-section h2 {
        font-size: 20px;
    }
}

/* ==========================================================================
   Start of Banner Styles (Added for Site-Wide Banner)
   ========================================================================== */
.container {
    background: none;
    padding-top: 0;
}

body {
    background: none;
    padding-top: 0;
}

.site-banner {
    background-color: #ffcc00;
    color: #333;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    top: 0;
    left: 280px;
    width: calc(100% - 280px);
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-banner p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.banner-btn {
    background-color: #fff;
    color: #1a3c5e;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.banner-btn:hover {
    background-color: #1a3c5e;
    color: #fff;
}

.banner-signup {
    color: #1a3c5e;
    text-decoration: underline;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.banner-signup:hover {
    color: #000;
}

.banner-close {
    display: none;
}

.sidebar {
    padding-top: 40px;
}

.main-content {
    margin-top: 50px;
}