/* Header Styles */
.header {
    background: transparent;
    box-shadow: none; 
    position: absolute; /* Changed from fixed to absolute */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-nav {
    display: flex;             /* Makes list horizontal */
    list-style: none;          /* Removes bullet points */
    padding: 0;
    margin: 0;
}

.main-nav li {
    margin-left: 40px;         /* Space between items */
}

.main-nav li:first-child {
    margin-left: 0;
}


.header-top {
    background: rgba(44, 62, 80, 0.9); /* Made semi-transparent */
    color: white;
    padding: 8px 0;
    font-size: 14px;
    backdrop-filter: blur(10px); /* Added blur effect */
}

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

.header-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.header-links a:hover {
    color: #3498db;
}

.header-main {
    padding: 20px 0;
    background: transparent;
    color: white;
    position: relative;
    z-index: 1000;
}

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

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a:hover {
    color: #3498db;
}

.main-nav li {
    margin-left: 40px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s;
}

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