/* ------------------ NAVBAR + GLASS BAR ------------------ */

.glass-nav {
    position: static;
    /* or relative if needed */
    transform: none;
    width: 100%;
    padding: 10px 18px;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    z-index: auto;
}


.glass-nav .container {
    padding-left: 0;
    padding-right: 0;
}

.navbar-brand .site-title {
    font-size: 25.87px;
    font-weight: 800;
    color: var(--text-color);
}

.site-title .os {
    color: var(--btn-color);
}

/* Center the menu */
.navbar-nav {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 12px;
}

/* Buttons remain right */
.nav-buttons {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color) !important;
}

.nav-link:hover {
    color: var(--btn-color) !important;
}

.btn-demo {
    background: var(--btn-color);
    color: var(--black);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    border: none;
}

.btn-signup {
    background: var(--white);
    color: var(--body-bg);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
}

/* Required unchanged for Bootstrap toggler */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive adjustments */
@media (max-width: 1399.98px) {
    .glass-nav {
        width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        margin: 15px 0;
        gap: 8px;
    }

    .nav-buttons {
        margin: 15px 0 0;
        justify-content: center;
    }
}


body.page-template-page-contact-php .footer-section {
    background: var(--white);
}

body.page-template-page-contact-php .footer-title {
    color: var(--body-bg);
}

body.page-template-page-contact-php .footer-links li a {
    color: var(--body-bg);
}

body.page-template-page-contact-php .newsletter-title {
    color: var(--body-bg);
}

body.page-template-page-contact-php .newsletter-desc {
    color: var(--body-bg);
}

body.page-template-page-contact-php .newsletter-input {
    background: var(--white);
}

body.page-template-page-contact-php .newsletter-input::placeholder {
    color: var(--body-bg);
}

body.page-template-page-contact-php .footer-logo .mission {
    color: var(--body-bg);
}

body.page-template-page-contact-php .footer-bottom-text {
    color: var(--body-bg);
}

.footer-section {
    background: var(--black);
    color: var(--text-color);
    font-family: "Inter", sans-serif;
}

ul.footer-links li {
    margin-bottom: 10px;
}

/* MissionOS logo (matching navbar) */
.footer-logo {
    font-size: 24px;
    font-weight: 700;
}

.footer-logo .mission {
    color: var(--text-color);
}

.footer-logo .os {
    color: var(--btn-color);
}

/* Footer column titles */
.footer-title {
    font-size: 19px;
    line-height: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* Footer links */
/* Animated underline */
.footer-links li a {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    text-decoration: none;
    color: var(--text-color);
}

.footer-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--btn-color);
    /* your theme orange */
    transition: width 0.3s ease;
}

.footer-links li a:hover::after {
    width: 100%;
}


/* Newsletter section */
.newsletter-title {
    font-size: 40px;
    font-weight: 700;

    line-height: 48px;
}

.newsletter-desc {
    font-size: 16px;
    opacity: 0.85;
}

/* Newsletter input */
.newsletter-input {
    background: var(--boxbk);
    border: 2px solid var(--btn-color);
    padding: 10px 14px;
    color: var(--text-color);
    border-radius: 10px;
    padding: 17px 10px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

/* Subscribe button */


button.btn.btn-demo:hover {

    background-color: var(--white);
    color: var(--body-bg);
}

/* Bottom footer text */
.footer-bottom-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 18px;
    line-height: 1.5;
}

.footer-top {
    border-bottom: 1px solid var(--btn-color);
    width: 100%;
    padding-bottom: 77px;
}

.footer-flex-row {
    display: flex;
}

.footer-flex-row>div:first-child {
    flex: 0 0 40%;
}

.footer-flex-row>div:not(:first-child) {
    flex: 1;
}

.lowerfooter {
    padding-top: 77px;
    padding-bottom: 35px;
}

.footer-bottom-text {
    padding-top: 35px;
    padding-bottom: 35px;
}

.glass-dropdown {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px;
    margin-top: 14px;
    min-width: 220px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: dropdownFade 0.25s ease;
}

.glass-dropdown .dropdown-item {
    color: var(--text-color);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.glass-dropdown .dropdown-item:hover {
    background: var(--text-color);
    color: var(--btn-color);
    transform: translateX(4px);
}

.glass-dropdown .dropdown-item:active {
    background: var(--text-color);
    color: var(--body-bg);
}

/* Arrow spacing */
.navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
}

/* Animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .footer-flex-row {
        flex-direction: column;
    }

    .footer-flex-row>div {
        flex: 0 0 100%;
    }
}

@media (min-width: 992px) {
    .glass-nav {
        position: absolute;
        top: 24px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 1320px;
        border-radius: 17px;
        background: var(--black);
        border: 3px solid var(--border-dark);
        backdrop-filter: blur(8px) saturate(120%);
        -webkit-backdrop-filter: blur(8px) saturate(120%);
        z-index: 20;
    }
}