/* Header and Footer styles for standalone pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0;
}

/* Header */
.header {
    background: #f8f9ff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

.nav a:hover {
    color: #403D99;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #403D99;
    padding: 5px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f9ff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s, color 0.3s;
    font-size: 16px;
}

.mobile-nav a:hover {
    background-color: #e6e8ff;
    color: #403D99;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: #0A0925;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.footer-logo img {
    height: 60px;
    width: 60%;
    object-fit: contain;
    margin-right: 20px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.2s;
    cursor: pointer;
}

.footer-links a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        height: 40px;
    }

    .logo img {
        margin-right: 120px;
        height: 120px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo img {
        width: 40%;
        height: 60px;
        object-fit: contain;
    }

    /* Fix header positioning on mobile */
    .header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
      will-change: transform;
    }

    /* Add padding to body to account for fixed header */
    body {
      padding-top: 80px; /* Adjust based on header height */
    }
}