/* Global Resets */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f0f0;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glass Navigation (Transparent) */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    /* Fully transparent so the gradient shows behind */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
}

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

.logo {
    display: inline-block;
}

.logo-image {
    max-height: 30px;
    width: auto;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

/* Make all link states consistent by default */
.nav-link:link,
.nav-link:visited {
    color: #fff;
    text-decoration: none;
}

.nav-link {
    padding: 8px 5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ddd;
}

.nav-link:focus,
.nav-link:active {
    outline: none;
    text-decoration: none;
}

/* Hover/Active Underline Effect */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Active Nav Link Style (same as hover) */
.nav-link.active,
.nav-link.active:visited {
    color: #ddd;
}

.nav-link.active::after {
    width: 100%;
}

/* Auth Buttons */
.auth-buttons a {
    margin-left: 15px;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.auth-buttons a:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    color: #fff;
}

/* Main Content Wrapper */
.main-content {
    flex: 1;
    /* We remove top padding here so the nav overlaps the page title section */
}

/* Page Title Section */
.page-title {
    background: linear-gradient(135deg, #2c3e50, #4ca1af);
    /* Increased top padding so text is not hidden behind nav */
    padding: 140px 0 50px;
    text-align: center;
    position: relative;
    color: #fff;
}

.page-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    opacity: 0.15;
    z-index: -1;
}

.title-content {
    position: relative;
    z-index: 2;
}

.title-content .title-icon {
    font-size: 3em;
    margin-bottom: 10px;
    display: block;
}

.title-content h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

.title-content p {
    font-size: 1.2em;
}

/* Page Content Section */
.page-content {
    padding: 30px 0;
    background: #fff;
    color: #333;
}

.page-content p {
    font-size: 1.1em;
    line-height: 1.8;
}

/* Footer */
footer {
    width: 100%;
    background: linear-gradient(135deg, #212121, #444);
    color: #fff;
    padding: 40px 0;
}

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

.footer-links-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.footer-link {
    margin: 5px 15px;
}

.footer-link a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.footer-link a i {
    margin-right: 5px;
    font-size: 1.2em;
}

.footer-link a:hover {
    color: #ddd;
}

.footer-social-row {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    margin: 0 10px;
    color: #fff;
    font-size: 1.4em;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: #ffeb3b;
}

.footer-bottom {
    margin-top: 10px;
}

.footer-bottom p {
    font-size: 0.95em;
    color: #ccc;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .nav-menu {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .page-title {
        padding: 120px 0 40px;
    }

    .page-content {
        padding: 40px 0;
    }

    .footer-links-row,
    .footer-social-row {
        flex-direction: column;
    }

    .footer-link {
        margin: 5px 0;
    }
}

