:root {
    --primary-color: #0066cc;
    --secondary-color: #333;
    --text-color: #333;
    --light-text: #777;
    --bg-color: #fff;
    --light-bg: #f8f9fa;
    --dark-bg: #333;
    --border-color: #eee;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* Top Bar Styles */
.top-bar {
    background-color: var(--dark-bg);
    color: white;
    font-size: 14px;
    padding: 8px 0;
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sister-sites a {
    color: #ccc;
    margin-right: 20px;
    transition: color 0.3s;
}
.sister-sites a.active {
    color: white;
    font-weight: bold;
}
.sister-sites a:hover {
    color: white;
}

/* Main Navigation Styles */
.main-nav {
    background-color:#222;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo img {
    width: 180px;
    /*height: 40px;*/
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--primary-color);
}

.user-actions{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FFFFFF;
}

/* Search Seaction styles*/
.section_search{
    display: none;
}
.searchbox{
    display: flex;
    align-items: center;
    padding: 0 15px;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
}
.search-form input[type="text"] {
    padding: 8px 12px;
    border: 1px #CCCCCC solid;
    background-color: var(--light-bg);
    width: 300px;
    transition: width 0.3s, background-color 0.3s;
}
.search-form input[type="text"]:focus {
    width: 400px;
    background-color: white;
}
.search-form button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}


.search-form .close-search {
	right: 10px;
}


/* Responsive Adjustments */

@media (max-width: 768px) {
    .logo img {
        width: 120px;
       /* height: 30px;*/
    }
}

/* Footer Styles */
.footer-main {
    background-color: var(--dark-bg);
    color: white;
    padding: 40px 0;
}
@media (max-width: 768px) {
    .footer-main {
        display: none;
    }
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}
.footer-column ul {
    list-style: none;
}
.footer-column li {
    margin-bottom: 10px;
}
.footer-column a {
    color: #ccc;
    transition: color 0.3s;
}
.footer-column a:hover {
    color: white;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.social-links a {
    color: white;
    font-size: 20px;
}
.newsletter input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
}
.newsletter button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}
.footer-bottom {
    background-color: #222;
    padding: 15px 0;
    font-size: 14px;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    color: #999;
}
.legal-links a {
    color: #999;
    margin-left: 15px;
}
.legal-links a:hover {
    color: white;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        gap: 30px;
    }
    .content-grid {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color:white;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .legal-links a {
        margin: 0 10px;
    }
	 .user-actions {
        width: 100%;
        justify-content: space-between;
        display: none;
    }
	.section_search{
        display: block;
    }
}

@media (max-width: 480px) {
    .main-nav{
        padding: 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .sister-sites {
        display: none;
    }
   
    .footer-grid {
        grid-template-columns: 1fr;
    }

}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
}
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        order: 1;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color:#222;
        padding: 15px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
    }
    .nav-links.active {
                display: block;
            }
            .nav-links li {
                margin-bottom: 10px;
            }
            .nav-content {
                position: relative;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .logo {
                order: 0;
            }
        }

        /* Search Form Styles */

        .search-form {
            position: relative;
            width: 100%;
            max-width: 400px;
        }
        .search-form input[type="text"] {
            width: 100%;
            padding: 8px 15px 8px 15px;
            border-radius: 20px;
            border: #CCC 1px solid;
			
        }

        .search-form button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--text-color);
            cursor: pointer;
        }
        .search-form button[type="submit"] {
            right:20px;
        }
        .search-form .close-search {
            right: 10px;
        }

        /* Theme Toggle Styles */
        .theme-toggle {
            cursor: pointer;
            margin-left: 15px;
        }