/* Updated styles for alternating layouts and text colors */

.slide-logo {
    position: absolute;
    top: 40px;
    max-width: 80px;
    height: auto;
    z-index: 2;
}

/* Smaller logo specifically for the first slide */
.slide:first-child .slide-logo {
    max-width: 60px;
}

.logo-left {
    left: 40px;
}

.logo-right {
    right: 40px;
}

.hero-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    padding: 0 60px;
    width: 60%;
    max-width: 800px;
}

.content-top {
    margin-bottom: 2rem;
}

.content-top h1 {
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    color: #f0ff8d; /* Light yellow for all slide titles */
}

.slide:first-child .content-top h1 {
    font-size: 5rem;
    line-height: 0.9;
}

.content-bottom {
    max-width: 600px;
}

.content-bottom p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.small-text {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.8;
}

.slider-navigation {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 1rem;
}

.slider-nav {
    background: #f0ff8d;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: #f7ffb1;
    transform: scale(1.1);
}

/* Highlight text style */
.highlight {
    color: #f0ff8d;
    font-weight: 500;
}

/* Default heading styles */
.hero-content h1 {
    font-family: 'FK Grotesk Neue', sans-serif;
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #ffffff;
    text-align: left;
    margin-top: 20px;
}

/* First slide heading styles */
.hero-slider .slide:first-child .hero-content .content-top h1,
.hero-slider .slide:first-child h1 {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    color: #f0ff8d !important; /* Lighter yellow */
}

/* Third slide heading styles */
.hero-slider .slide:nth-child(3) .hero-content h1,
.hero-section .hero-slider .slide:nth-child(3) h1 {
    color: #f0ff8d !important; /* Lighter yellow */
}

/* Make sure no other styles override the heading colors */
.hero-section .hero-slider .slide:first-child h1,
.hero-section .hero-slider .slide:nth-child(3) h1 {
    color: #f0ff8d !important; /* Lighter yellow */
}

/* Override any other styles that might affect the first slide heading */
.slide:first-child .content-top h1 {
    color: #f0ff8d; /* Lighter yellow color */
}

.hero-content p,
.content-top .small-text {
    font-family: 'FK Grotesk Neue', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    color: #ffffff;
    text-align: left;
    margin-top: 30px;
    letter-spacing: 0.02em;
}

/* Keyword highlighting */
.highlight {
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.slider-nav {
    background: #f0ff8d;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1rem;
    transition: all 0.5s ease;
}

.slider-nav:hover {
    background: #f7ffb1; /* Even lighter on hover */
    transform: scale(1.1);
}

/* First slide specific styles */
.slide:first-child .content-top {
    text-align: left;
    margin-top: 60px; /* Extra margin for first slide */
}

.slide:first-child .content-bottom {
    margin-top: 40px;
    text-align: left;
}

/* Second slide specific styles */
.slide:nth-child(2) .content-top {
    margin-top: 60px; /* Extra margin for second slide */
}

.slide:nth-child(2) .content-top p {
    margin-top: 30px;
}

/* Third slide specific styles */
.slide:nth-child(3) .hero-content {
    margin-top: 60px; /* Extra margin for third slide */
}

.slide:nth-child(3) .hero-content p {
    margin-top: 30px;
}

.content-left {
    left: 0;
}

.content-right {
    right: 0;
}

.hero-content.content-right {
    right: 0;
    left: auto;
    text-align: right;
}

.hero-content.content-left {
    left: 0;
    right: auto;
    text-align: left;
}

.logo-right {
    right: 40px;
}

.logo-left {
    left: 40px;
}

/* Add dark overlay to slides */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        width: 90%;
        padding: 0 20px;
    }
    
    .content-top h1 {
        font-size: 3rem;
    }
    
    .slide:first-child .content-top h1 {
        font-size: 3.5rem;
    }
    
    .content-bottom p {
        font-size: 1rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 60px;
    transform: translateY(-50%);
    color: #fff;
    max-width: 600px;
    z-index: 2;
}

.content-top {
    margin-bottom: 30px;
}

.content-top .small-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #f0ff8d;
}

.content-top h1 {
    font-size: 4.5rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
    color: #f0ff8d; /* Light yellow for all slide titles */
}

.content-bottom p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Slider Navigation */
.slider-navigation {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 10;
}

.slider-nav {
    background: #f0ff8d;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav i {
    color: #000;
    font-size: 1.2rem;
}

.slider-nav:hover {
    background: #fff;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content {
        left: 30px;
        right: 30px;
        max-width: none;
    }

    .content-top h1 {
        font-size: 3rem;
    }

    .content-bottom p {
        font-size: 1rem;
    }
}

/* News Page Layout */
.latest-news {
    padding: 2rem 0;
    /* background-color: #000000; */
}

.container {
    width: 98%;
    margin: 0 auto;
    padding: 1rem;
}

.latest-news-title {
    font-size: 2.5rem;
    color: #f0ff8d;
    text-align: center;
    margin: 1rem 0;
    letter-spacing: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: 50% 25% 25%;
    gap: 1rem;
    margin: 1rem 0;
}

.news-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-card:first-child .news-image {
    height: 400px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #f0ff8d;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 1;
}

.news-content {
    padding: 1.5rem;
}

.news-content h2 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-card:first-child .news-content h2 {
    font-size: 1.8rem;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.date {
    color: #888;
    font-size: 0.8rem;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #f0ff8d;
}

/* Responsive */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-card:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card:first-child {
        grid-column: span 1;
    }
    
    .news-image {
        height: 250px;
    }
    
    .news-card:first-child .news-image {
        height: 300px;
    }
}

/* Rest of the code remains the same */

/* Updated Color Theme with Soft Green */
:root {
    --soft-green: rgb(219, 255, 119);
    --soft-green-light: rgb(214, 255, 101);
    --soft-green-dark: rgb(210, 255, 87);
    --soft-green-accent: rgb(206, 254, 76);
    --soft-green-shadow: rgb(204, 255, 63);
}

body {
    font-family: "Work Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(135deg, 
        #000 0%, 
        var(--soft-green) 100%
    );
    color: #ffffff !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-image: linear-gradient(135deg, 
        #232323 0%, 
        var(--soft-green-accent) 100%
    );
    border-bottom: 1px solid var(--soft-green-light);
}

/* Compacta Font Import Placeholder */
@font-face {
    font-family: 'Compacta';
    src: local('Arial'), /* Fallback to system font */
         url('../fonts/Compacta.woff2') format('woff2'),
         url('../fonts/Compacta.woff') format('woff'),
         url('../fonts/Compacta.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

header, h1, h2, h3, h4, h5, h6 {
    font-family: 'Work Sans', sans-serif;
    letter-spacing: normal;
}

nav {
    flex-grow: 1;
    text-align: center;
    margin: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px; /* Adjusted spacing */
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--soft-green-light);
}

main {
    padding: 20px;
    background-image: linear-gradient(135deg, 
        #000 0%, 
        var(--soft-green-dark) 100%
    );
    flex: 1 0 auto;
    margin-bottom: 50px;
}

.editorial-preview, .event-preview {
    margin: 20px 0;
    background-image: linear-gradient(135deg, #000 0%, var(--soft-green) 100%);
}

footer {
    background-color: #000 !important;
    color: #ffffff !important;
    flex-shrink: 0;
    margin-top: 50px;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-container {
    text-align: center;
    margin-top: 10px;
    background-image: linear-gradient(135deg, #000 0%, var(--soft-green) 100%);
    padding: 10px;
}

.search-form {
    display: flex;
    justify-content: center;
    margin-left: 15%;
}

.search-form input[type="text"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.search-form button {
    padding: 8px 12px;
    background-color: var(--soft-green);
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background-color: var(--soft-green-dark);
}

.header-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.header-buttons .btn-login,
.header-buttons .btn-register {
    padding: 8px 25px;
    border-radius: 30px;
    font-family: 'FK Grotesk Neue', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    border: none !important;
}

.header-buttons .btn-login {
    background-color: #f0ff8d  !important;
    color: #000000 !important;
}

.header-buttons .btn-login:hover {
    background-color: #f0ff8d  !important;
    color: #000 !important;
}

.header-buttons .btn-register {
    background-color: #f0ff8d !important;
    color: #000 !important;
}

.header-buttons .btn-register:hover {
    background-color: #fff !important;
    color: #000 !important;
}

.header-button {
    padding: 8px 12px; /* Slightly reduced padding */
    margin-left: 10px;
    background-color: var(--soft-green);
    color: #000;
    text-decoration: none;
    border: 2px solid var(--soft-green-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.header-button:hover {
    background-color: var(--soft-green-dark);
    border-color: var(--soft-green);
}

.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--soft-green);
    color: #000;
}

.form-container h2 {
    text-align: center;
}

.form-container label {
    display: block;
    margin: 10px 0 5px;
}

.form-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--soft-green-dark);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.form-container input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.form-container button {
    width: 100%;
    padding: 10px;
    background-color: var(--soft-green);
    color: #000;
    border: 2px solid var(--soft-green-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.form-container button:hover {
    background-color: var(--soft-green-dark);
    border-color: var(--soft-green);
}

.error {
    color: red;
    text-align: center;
}

/* Read More and Learn More Button Styles */
.read-more-button {
    padding: 10px 15px;
    margin-top: 10px;
    background-color: var(--soft-green);
    color: #000;
    text-decoration: none;
    border: 2px solid var(--soft-green-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    display: inline-block;
}

.read-more-button:hover {
    background-color: var(--soft-green-dark);
    border-color: var(--soft-green);
}

.logo {
    width: 15%;
}

.navbar-brand img {
    height: 50px; /* Slightly smaller logo */
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Authentication Styles */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: linear-gradient(135deg, #000 0%, var(--soft-green) 100%);
}

.auth-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-box h2 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--soft-green-light);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--soft-green-light);
}

.auth-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--soft-green-dark);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--soft-green-light);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--soft-green);
}

/* Authentication Form Button Styles */
.auth-form .btn-primary,
.login-form .btn-primary,
.register-form .btn-primary,
.auth-form input[type="submit"],
.login-form input[type="submit"],
.register-form input[type="submit"] {
    background-color: var(--soft-green) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.auth-form .btn-primary:hover,
.login-form .btn-primary:hover,
.register-form .btn-primary:hover,
.auth-form input[type="submit"]:hover,
.login-form input[type="submit"]:hover,
.register-form input[type="submit"]:hover {
    background-color: var(--soft-green-light) !important;
    border-color: var(--soft-green) !important;
    transform: scale(1.05);
}

.btn-primary {
    background-color: rgb(219, 255, 119) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--soft-green-light) !important;
    border-color: var(--soft-green) !important;
    transform: scale(1.05);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    color: var(--soft-green-light);
}

.auth-links a {
    color: var(--soft-green);
    text-decoration: none;
}

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

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* Header Styles */
.header {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar {
    background-color: #000 !important;
    background-image: none !important;
    padding: 1rem 0;
}

.navbar .navbar-nav .nav-link,
.navbar .navbar-brand {
    color: var(--soft-green-light) !important;
    text-shadow: none !important;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .btn:hover {
    color: #e8ff94 !important;
    text-shadow: none !important;
}

.navbar .navbar-nav .nav-link::after {
    background-color: var(--soft-green);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

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

/* Auth Buttons */
.navbar .btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

.navbar .btn-primary {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Header Login Button Styles */
.navbar .btn-login,
.navbar .btn-login:hover,
.navbar .btn-login:focus {
    background-color: var(--soft-green) !important;
    border: 2px solid var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.navbar .btn-login:hover {
    background-color: var(--soft-green-dark) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 10px rgba(124, 218, 124, 0.3) !important;
}

.navbar .btn-login:active {
    background-color: var(--soft-green) !important;
    transform: scale(0.95) !important;
}

/* Header Signup Button Styles */
.navbar .btn-signup,
.navbar .btn-signup:hover,
.navbar .btn-signup:focus {
    background-color: var(--soft-green) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px rgba(124, 218, 124, 0.7) !important;
    box-shadow: 0 0 10px rgba(124, 218, 124, 0.5) !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
}

.navbar .btn-signup:hover {
    background-color: var(--soft-green-dark) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 15px rgba(124, 218, 124, 0.7) !important;
}

.navbar .btn-signup:active {
    background-color: var(--soft-green) !important;
    transform: scale(0.95) !important;
    box-shadow: 0 0 8px rgba(124, 218, 124, 0.5) !important;
}

/* User Dropdown */
.navbar .dropdown-menu {
    background-color: #000000 !important;
    border: 2px solid #e8ff94 !important;
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: #ffffff !important;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    background-color: transparent !important;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background-color: #e8ff94 !important;
    color: #000000 !important;
}

/* Ensure active state also uses the light yellow */
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
    background-color: #e8ff94 !important;
    color: #000000 !important;
}

/* Style for the currently selected menu item */
.navbar .nav-item.active .dropdown-item {
    background-color: transparent !important;
    color: #ffffff !important;
}

.navbar .nav-item.active .dropdown-item:hover {
    background-color: #e8ff94 !important;
    color: #000000 !important;
}

/* Footer Styles */
.footer {
    background-color: #000 !important;
    color: #ffffff !important;
    flex-shrink: 0;
    margin-top: 50px;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
}

.footer .footer-logo img {
    max-width: 100%; /* Original width */
    height: auto;
    transform: scale(0.8); /* Scale down the logo */
    transform-origin: right center; /* Scale from right side */
}

.footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer h5 {
    color: #ffffff !important;
}

.footer p {
    color: #ffffff !important;
}

.footer a {
    color: var(--soft-green) !important; /* Yellow link color from palette */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--soft-green-accent) !important; /* Slightly different yellow on hover */
    text-decoration: underline;
}

.footer .social-icons a {
    color: var(--soft-green) !important;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-icons a:hover {
    color: var(--soft-green-accent) !important;
    transform: scale(1.2);
}

/* Global Text Color */
p, 
h1, h2, h3, h4, h5, h6,
.page-content,
.main-content,
.content-section,
.editorial-preview,
.event-preview,
.article-preview {
    color: #ffffff !important;
}

/* Form and Input Text */
input,
textarea,
select {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Placeholder Text */
::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Headings with Specific Styling */
.page-title {
    color: #ffffff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Ensure Links are Visible */
a {
    color: var(--soft-green) !important;
}

a:hover {
    color: var(--soft-green-accent) !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    header {
        padding: 5px 3%; /* Reduced padding on smaller screens */
    }

    nav ul li {
        margin: 0 10px; /* Tighter spacing */
    }
}

/* Login and Register Page Buttons */
.login-page .btn-primary,
.register-page .btn-primary,
.login-page .btn-login,
.register-page .btn-register {
    background-color: var(--soft-green) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.login-page .btn-primary:hover,
.register-page .btn-primary:hover,
.login-page .btn-login:hover,
.register-page .btn-register:hover {
    background-color: var(--soft-green-light) !important;
    border-color: var(--soft-green) !important;
    transform: scale(1.05);
}

/* Specific Login Button Styling with Highest Specificity */
.login-page .btn-primary,
.login-page form .btn-primary,
.login-page form input[type="submit"],
.login-page form button[type="submit"] {
    background-color: rgb(219, 255, 119) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.login-page .btn-primary:hover,
.login-page form .btn-primary:hover,
.login-page form input[type="submit"]:hover,
.login-page form button[type="submit"]:hover {
    background-color: var(--soft-green-light) !important;
    border-color: var(--soft-green) !important;
    transform: scale(1.05);
}

.register-form button,
input[type="submit"],
button[type="submit"] {
    background-color: rgb(219, 255, 119) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

.login-page form .btn-primary,
.login-page form input[type="submit"],
.login-page form button[type="submit"] {
    background-color: rgb(219, 255, 119) !important;
    border-color: var(--soft-green-dark) !important;
    color: #000 !important;
    transition: all 0.3s ease;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    margin: 20px;
}

/* Stats Cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 1px solid var(--soft-green);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--soft-green);
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: #fff;
    font-size: 1rem;
    opacity: 0.8;
}

/* Tables in Admin Dashboard */
.admin-table {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.admin-table th {
    background: var(--soft-green);
    color: #000;
    padding: 1rem;
    text-align: left;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(219, 255, 119, 0.1);
    color: #fff;
}

.admin-table tr:hover {
    background: rgba(219, 255, 119, 0.1);
}

/* Action Buttons */
.action-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.edit-btn {
    background: var(--soft-green);
    color: #000;
}

.delete-btn {
    background: #ff4444;
    color: #fff;
}

.action-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Search Bar in Admin */
.admin-search {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--soft-green);
    border-radius: 4px;
    color: #fff;
    margin-bottom: 1.5rem;
}

.admin-search::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Add New Button */
.add-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-new-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Status Labels */
.status-label {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-published {
    background: var(--soft-green);
    color: #000;
}

.status-draft {
    background: #666;
    color: #fff;
}

/* Charts and Graphs Container */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.chart-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--soft-green);
    border-radius: 8px;
    padding: 1.5rem;
}

.chart-title {
    color: var(--soft-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Admin Dashboard Container Styles */
.admin-dashboard,
.manage-users-container,
.manage-articles-container,
.manage-events-container,
.manage-artists-container,
.role-requests-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(219, 255, 119, 0.1);
}

/* Table Container Styles */
.table-container {
    width: 100%;
    margin: 2rem auto;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 1rem;
}

/* Table Wrapper for Consistent Width */
.table-wrapper {
    min-width: 100%;
    margin: 0 auto;
}

/* Content Header Styles */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.content-header h1 {
    color: var(--soft-green);
    margin: 0;
}

/* Search and Filter Container */
.search-filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    padding: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .admin-dashboard,
    .manage-users-container,
    .manage-articles-container,
    .manage-events-container,
    .manage-artists-container,
    .role-requests-container {
        max-width: 98%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .admin-dashboard,
    .manage-users-container,
    .manage-articles-container,
    .manage-events-container,
    .manage-artists-container,
    .role-requests-container {
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        border-radius: 0;
    }

    .search-filter-container {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Admin Containers */
.manage-events-container,
.manage-artists-container,
.role-requests-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

/* Content Header */
.manage-events-container .content-header,
.manage-artists-container .content-header,
.role-requests-container .content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--soft-green);
}

.content-header h1 {
    color: var(--soft-green);
    margin: 0;
    font-size: 24px;
}

/* Search and Filter Container */
.search-filter-container {
    margin-bottom: 20px;
}

/* Table Styles */
.table-container {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0;
}

.admin-table th {
    background: var(--soft-green);
    color: #000;
    padding: 1rem;
    text-align: left;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Status Labels */
.status-label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.status-published {
    background-color: var(--soft-green);
    color: #000;
}

.status-draft {
    background-color: #dc3545;
    color: #fff;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    color: #fff;
}

.edit-btn {
    color: var(--soft-green);
}

.delete-btn {
    color: #dc3545;
}

.action-btn:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Pagination */
.pagination {
    margin-top: 3rem;
}

.pagination .page-link {
    background: #111;
    border-color: #333;
    color: #fff;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #222;
    color: #f0ff8d;
}

.pagination .page-item.active .page-link {
    background: #f0ff8d;
    border-color: #f0ff8d;
    color: #000;
}

/* News Category Styles */
.category-title {
    font-size: 3rem;
    color: #f0ff8d;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.category-description {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.news-card {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.news-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h2 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.date {
    color: #888;
    font-size: 0.8rem;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #f0ff8d;
}

.pagination {
    margin-top: 3rem;
}

.pagination .page-link {
    background: #111;
    border-color: #333;
    color: #fff;
    padding: 0.75rem 1.25rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #222;
    color: #f0ff8d;
}

.pagination .page-item.active .page-link {
    background: #f0ff8d;
    border-color: #f0ff8d;
    color: #000;
}

/* News Category Cards */
.category-card {
    display: block;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #f0ff8d;
    text-decoration: none;
    color: #fff;
}

.category-icon {
    font-size: 2.5rem;
    color: #f0ff8d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0ff8d;
}

.category-description {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.news-category-badge {
    display: inline-block;
    background: #f0ff8d;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    color: #f0ff8d;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Sliding Announcement Banner */
.announcement-banner {
    background-color: #000;
    color: #f0ff8d;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 2px solid #333;
}

.announcement-content {
    display: inline-block;
    padding-left: 100%;
    animation: slide 30s linear infinite;
    white-space: nowrap;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.announcement-banner:hover .announcement-content {
    animation-play-state: paused;
}

/* Add a subtle glow effect */
.announcement-content {
    text-shadow: 0 0 10px rgba(240, 255, 141, 0.3);
}

/* Add emoji animations */
.announcement-content i,
.announcement-content .emoji {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background-color: #000 !important;
    border: 2px solid #e8ff94 !important;
    border-radius: 5px !important;
    padding: 0.5rem 0 !important;
    margin-top: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(232, 255, 148, 0.1) !important;
    min-width: 200px !important;
    z-index: 1000 !important;
}

.dropdown-item {
    color: #fff !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    font-size: 0.95rem !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #e8ff94 !important;
    color: #000 !important;
}

.dropdown-toggle::after {
    margin-left: 0.5em !important;
    vertical-align: middle !important;
    border-top: 0.3em solid #e8ff94 !important;
    border-right: 0.3em solid transparent !important;
    border-left: 0.3em solid transparent !important;
}

.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* User Profile Dropdown Specific Styles */
.user-profile-dropdown .dropdown-menu {
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
}

.user-profile-dropdown .dropdown-item i {
    margin-right: 10px !important;
    width: 20px !important;
    text-align: center !important;
}

/* Newsletter Section */
.newsletter-section {
    background: #111111;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #f0ff8d;
    background: rgba(255, 255, 255, 0.15);
}

.btn-subscribe {
    padding: 1rem 2rem;
    background: #f0ff8d;
    color: #111111;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Event and Artist Submission Sections */
.submission-section {
    background: #111111;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    color: #ffffff;
}

.submission-form {
    max-width: 800px;
    margin: 0 auto;
}

.submission-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffffff;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #f0ff8d;
    background: rgba(255, 255, 255, 0.15);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #f0ff8d;
    color: #111111;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"],
    .btn-subscribe {
        width: 100%;
    }
    
    .submission-section {
        padding: 2rem 1rem;
    }
}