
        :root {
            --primary-color: #003366;
            --accent-color: #FFC107;
            --background-color: #EAEAEA;
            --text-color: #333333;
            --heading-color: #000000;
        }

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Arial', sans-serif;
            background-color: var(--background-color);
            color: var(--text-color);
        }
        
/* HEADER STYLING */
header {
    background-color: #003366; /* Maintain the original color */
    color: white; /* White text for good contrast */
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 8;
}

/* NAVIGATION */
header nav {
    display: flex; 
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: opacity 0.3s ease; /* Smooth fade */
}

/* Navigation Links */
header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    padding: 10px 15px;
    visibility: "visible";
    opacity: 1;
}

/* HAMBURGER MENU ICON */
.menu-icon {
    display: none; /* Hidden by default */
    font-size: 2rem;
    cursor: pointer;
    color: white;
}

.close-menu {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    color: #000;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.logo-container {
    display: flex;  /* Use Flexbox to display image and title inline */
    align-items: center;  /* Vertically align the image and title */

}

.logo-container img {
    width: 80px;  /* Size of the icon */
    height: 60px;  /* Height of the icon */
    margin-left: 2rem;  /* Space between the icon and the title */
}

.logo-container h1 {
    margin: 0;  /* Remove default margin */
    font-size: 1.8em;  /* Increase the font size for a more prominent header */
    font-weight: bold;  /* Bold font for a stronger presence */
    color: white;  /* Dark color for professionalism */
    letter-spacing: 1px;  /* Slight spacing between letters for elegance */
    font-family: 'Helvetica Neue', Arial, sans-serif;  /* Modern, clean font */
    position: relative;
    z-index: 1;
}


/* Hero section styles for smaller screens */
section.hero-h{
    display: none; /* Hide by default */
}
/* RESPONSIVE STYLING FOR MOBILE (smaller than 768px) */
@media (max-width: 768px) {
    header {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Ensures spacing between logo and menu */
        top: 0;
        padding: 0 2rem; /* Adds padding on the left and right sides */
        z-index: 10; /* Ensure it's above other elements */
        box-sizing: border-box; /* Include padding in width */
        position: fixed;
        width: 100%; 
    }

    section.hero {
        display: none;
    }
    section.hero-h {
        display: block; /* Show hero section on small screens */
        text-align: center;
        font-size: 1rem;
        padding: 10px;
        margin-top: 10px;
        font-style:italic;
    }


    .logo-container {
        display: flex;
        align-items: center; /* Keep logo and text vertically aligned */
        flex-wrap: nowrap; /* Prevent text from wrapping below the logo */
        gap: 8px; /* Space between the logo and text */
        max-width: 100%; /* Prevents unexpected breaking */
    }

    .logo-container img {
        flex-shrink: 0; /* Prevents logo from shrinking */
        width: 35px;
        height: 35px;
        display: none;
    }

    .logo-container h1 {
        font-size: 1rem;
        white-space: nowrap; /* Prevents text from breaking into multiple lines */
        overflow: hidden;
        text-overflow: ellipsis; /* Adds '...' if the text overflows */
        margin: 0; /* Removes unwanted margins */
    }
    /* Show the hamburger icon */
    .menu-icon {
        display: flex;
        font-size: 1.1rem;
    }
    
    /* Initially hide the nav links */
    header nav {
        display: none;
        opacity: 0;  /* Start with hidden */
        flex-direction: column;
        position: absolute;
        right: 0.5px;
        top: 23%;
        background-color: #003366;
        text-align: center;
        padding: 1rem 0;
        pointer-events: none; 
        font-size: 0.9rem;
        width: 60%; 
        border-radius: 8px;
    }

    /* When the 'active' class is added, show the nav links */
    nav.active {
        display: block;
        opacity: 1; /* Smoothly show the nav */
        pointer-events: all;
    }
    /* Display close button only when the menu is active */
    nav.active .close-menu {
        display: block;
        color:white;
    }

    /* Stack navigation links vertically */
    nav a {
        padding: 10px;
        display: block;
    }

}

/* FOR LARGER SCREENS, NAV IS ALWAYS VISIBLE */
@media (min-width: 769px) {
    header nav {
        display: flex; 
        visibility: "visible";/* Always display the navigation on larger screens */
        opacity: 1; /* Ensure visibility */
        pointer-events: all;
        margin-right: 2rem; /* Right border */
    }

    header nav a {
        display: inline-block;
    }
    
}

/* Hero Section */
.hero {
    background-color: #003366; /* Dark blue */
    background-image: linear-gradient(135deg, #003366, #A1A1A1); /* Gradual transition to light gray */
    color: white;
    display: flex;  /* Enables Flexbox */
    flex-direction: column;  /* Stacks elements vertically */
    justify-content: center;  /* Centers content vertically */
    align-items: center;  /* Centers content horizontally */
    height: clamp(10rem, 20vw, 15rem);  /* Makes the section take up the full viewport height */
    text-align: center;  /* Ensures text inside is centered */
    padding: 20px;
    margin-top: clamp(0.5rem, 20vw, 1rem);
    margin-left: clamp(1rem, 20vw, 12rem);
    margin-right: clamp(1rem, 20vw, 12rem);
    border-radius: 10px;
    box-sizing: border-box; /* Makes sure padding and margins don't overflow */
}

.hero h2 {
    font-size: clamp(0.6rem, 20vw, 1.5rem);
    font-weight: bold;
}

.hero p {
    display: flex;
    font-size: clamp(0.5rem, 20vw, 1rem);
    margin-bottom: 20px;
    max-width: 60%;
    text-align: center;  /* Ensures text is centered even on smaller screens */
}

.hero .cta-button {
    background-color: #FFC107;
    color: #003366;
    padding: 12px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.hero .cta-button:hover {
    background-color: #e0a800;
}

section.hero-mobile {
    display: none;
}

/* For screens smaller than 480px (mobile devices) */
@media (max-width: 480px) {
    .hero {
        height: auto; /* Allow section to adjust height based on content */
        padding: 7px 7px; /* Add even smaller padding */
        margin-left: 0.8rem;  /* Keep the margins smaller */
        margin-right: 0.8rem;
    }

    .hero h2 {
        font-size: 1rem; /* Adjust title size further */
    }

    .hero p {
        max-width: 90%;  /* Max width for mobile devices */
        font-size: 0.85rem;  /* Smaller text for mobile */
    }

    .hero .cta-button {
        padding: 8px 12px;  /* Further reduce button size */
        font-size: 0.9rem;  /* Even smaller button text */
    }
    section.hero-mobile {
        color: white;
        background-color: #003366; /* Dark blue */
        background-image: linear-gradient(135deg, #003366, #A1A1A1); /* Gradual transition to light gray */
        display: flex;  /* Enables Flexbox */
        flex-direction: column;  /* Stacks elements vertically */
        justify-content: center;  /* Centers content vertically */
        align-items: center;  /* Centers content horizontally */ /* Makes the section take up the full viewport height */
        text-align: left;  /* Ensures text inside is centered */
        margin: 4rem 1rem 3rem 1rem;
        padding: 2rem 1rem 0 2rem;
        border-radius: 10px;
        box-sizing: border-box; /* Makes sure padding and margins don't overflow */
        z-index: 2;
    }

    section.hero-mobile h2 {
        font-size: 2.7rem;
        font-weight: bold;
    }
    section.hero-mobile p {
        font-size: 1rem;
    }
}


        /* Main Content */
        .content {
            flex: 1;
            padding: 1rem;
            margin-top: 3rem;
            
        }

        .list {
            list-style: none;
            padding: 0;
            margin-bottom: 5rem;
        }

        .list-item {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 1rem;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .list-item h3 {
            font-size: 1.2rem;
            color: var(--heading-color);
            margin: 0;
        }

        .list-item p {
            margin: 0;
            font-size: 1rem;
        }

        .list-item button {
            background-color: var(--accent-color);
            color: var(--primary-color);
            border: none;
            padding: 0.5rem 1rem;
            font-size: 1rem;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .list-item button:hover {
            background-color: #e0a800;
        }


        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: #fff; /* White text for readability */
            padding: 30px 0; /* Add padding for better spacing */
            text-align: center; /* Center align text */
            font-size: 14px;
            position: relative;
            width: 100%;
            margin-top: 2rem; 
            bottom: 0;
        }

        .footer-links {
            margin-top: 10px;
            display: flex;
            justify-content: center; /* Center align links */
            gap: 20px; /* Space between the links */
        }
        
        .footer-links a {
            color: #fff; /* White text for links */
            text-decoration: none; /* Remove underline */
            font-size: 14px;
            font-weight: bold; /* Bold text for links */
            transition: color 0.3s ease, transform 0.3s ease;
        }
        
        
        footer p {
            margin: 0; /* Remove margin from the paragraph */
            font-size: 16px; /* Slightly larger font for the copyright */
            font-weight: normal; /* Normal font weight for the copyright */
        }
        
        .footer-links a:hover {
            color: #007bff; /* Change color on hover */
            transform: scale(1.1); /* Slightly enlarge on hover for a modern effect */
        }
        
        .footer-links a:active {
            color: #0056b3; /* Darker color when active */
        }

/* Styles for the audio container */
#audio {
    position: fixed;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    max-width: 80%;
    width: 100%;
    pointer-events: auto;
    background-color: lightgray;
}

/* Styles for search-article-container */
#search-article-container {
    position: fixed;
    bottom: 6rem;
    left: 70%;
    font-size: 1rem;
    transform: translateX(-50%);
    z-index: 9998;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    max-width: 40%;
    width: 30%;
    text-align: center;
    background-color: lightgray;
}

/* Button styles within search-article-container */
#search-article-container button {
    background-color: #003366;
    color: white;
    padding: 2px 8px;
    border: none;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#article-number {
    width: 20%; 
    padding: 1.5px 4px;
}

#search-article-container button:hover {
    background-color: #FFC107;
    color: #003366;
}

/* Styles for current-article-container */
#current-article-container {
    position: fixed;
    bottom: 6rem;
    left: 30%;
    font-size: 1rem;
    transform: translateX(-50%);
    z-index: 9998;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    max-width: 40%;
    width: 30%;
    text-align: center;
    background-color: lightgray;
}

/* Media Queries for smaller screens */

/* For screens smaller than 768px */
@media (max-width: 768px) {
    #audio {
        
        width: 100%;  /* Increase the width to make it fit on smaller screens */
        bottom: 3rem;  /* Adjust bottom position */
    }

    #search-article-container {
        width: 40%;  /* Reduce width on smaller screens */
        bottom: 5.5rem;  /* Adjust bottom position */
        font-size: 0.9rem;  /* Smaller font size */
    }
    #search-article-container button {
        width: 50%; 
        padding: 2px 5px;
    }
    #article-number {
        width: 20%; 
        padding: 1px 3px;
    }

    #current-article-container {
        width: 60%;  /* Reduce width on smaller screens */
        bottom: 5.5rem;  /* Adjust bottom position */
        font-size: 0.9rem;  /* Smaller font size */
    }
}

/* For screens smaller than 480px */
@media (max-width: 480px) {
    /* Main Content */
    .content {
        padding: 0.6rem;
                
}
    #audio {    
        max-width: 100%;
        width: 80%;  /* Make audio container take full width */
        bottom: 1.2rem;  /* Adjust bottom position for mobile */
        transform: translateX(-50%);
        border-radius: 2%;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
        padding: 0;
        box-sizing: border-box; 
    }

    #search-article-container {
        width: 30%;  /* Further reduce width on very small screens */
        bottom: 2.8rem;  /* Adjust bottom position */
        font-size: 0.7rem;  /* Decrease font size */
    }

    #search-article-container button {
        width: 60%; 
        margin-top: 1%;
        font-size: 0.7rem;

    }
    #article-number {
        width: 45%; 
        padding: 1px 3px;
    }
    #current-article-container {
        width: 35%;  /* Further reduce width */
        bottom: 2.8rem;  /* Adjust bottom position */
        font-size: 0.7rem;  /* Decrease font size */
    }
}
        .container-articles {
            padding-bottom: 10rem;
            padding-left:  clamp(1rem, 8vw, 10rem);
            padding-right:  clamp(1rem, 8vw, 10rem);
        }

        #article-list li {
            background-color: white;
            border-radius: 8px;
            border: 1px solid #ddd; 
            box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3); /* Deeper shadow */
            padding: 1rem;
            color: #333; 
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: 0.3s; /* Add smooth transition for effects */
        }
        
        /* Media query for smaller devices */
        @media (max-width: 768px) {
            #article-list li {
                padding: 0.8rem; /* Reduce padding for smaller screens */
                margin-bottom: 0.8rem; /* Reduce margin for smaller screens */
            }
        }
        
        @media (max-width: 480px) {
            #article-list li {
                padding: 0.6rem; /* Further reduce padding for very small screens */
                margin-bottom: 0.6rem; /* Further reduce margin */
                flex-direction: column; /* Stack elements vertically for small screens */
                align-items: flex-start; /* Align items to the left */
            }
        }
        

        #article-list li:hover {
            background-color: #f0f0f0;
            border-color: #ddd;
        }

        #article-list li::marker {
            color: black;
        }

        /* Blur effect for non-logged-in users */
        .blurred {
            filter: blur(1px); /* Apply blur */
            pointer-events: none; /* Prevent clicking */
            color: rgba(0, 0, 0, 0.5); /* Make the text less readable */
        }        

        .codes-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Default for larger screens */
            gap: 1.5rem;
            max-width: 900px;
            margin: auto;
        }
        
        /* For screens smaller than 768px (tablets and smaller devices) */
        @media (max-width: 768px) {
            .codes-container {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Smaller columns on tablets */
                gap: 1rem; /* Reduced gap for smaller screens */
                max-width: 100%; /* Ensure it uses the full screen width */
                margin: 0 1rem; /* Add margin on the sides */
            }
        }
        
        /* For screens smaller than 480px (mobile devices) */
        @media (max-width: 480px) {
            .codes-container {
                grid-template-columns: 1fr; /* Stack items in a single column */
                gap: 0.5rem; /* Smaller gap between items */
                max-width: 100%; /* Use full width */
                margin: 0 1rem; /* Margin for smaller screens */
            }
        }


        .offers-container {
            display: flex;
            flex-wrap: wrap; /* Allow wrapping to the next row */
            justify-content: space-between; /* Space out the cards */
            gap: 20px; /* Add space between cards */
            margin-bottom: 2rem;
        }

        .offer-card {
            background-color: white;
            flex: 0 0 calc(50% - 10px); /* Each card takes up 50% width minus gap */
            padding: 0.5rem;
            border-radius: 8px;
            box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
            transition: background-color 0.3s ease, border-color 0.3s ease;
            max-width: 80%;
    
        }
        
        /* For screens smaller than 768px (tablets and smaller devices) */
        @media (max-width: 768px) {
            .offers-container  {
                grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Smaller columns on tablets */
                gap: 1rem; /* Reduced gap for smaller screens */
                max-width: 100%; /* Ensure it uses the full screen width */
            }
            .offer-card {
                background-color: white;
                padding: 0.5rem;
                border-radius: 8px;
                box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
                text-align: center;
                transition: background-color 0.3s ease, border-color 0.3s ease;
            }
        }
        
        /* For screens smaller than 480px (mobile devices) */
        @media (max-width: 480px) {
            .offers-container {
                display: grid;
                grid-template-columns: 1fr; /* 1 column layout */
                gap: 15px; /* Gap between cards */
                justify-items: center; /* Center the cards horizontally */
                max-width: 100%; /* Ensure it uses the full screen width */
            }
        
            .offer-card {
                display: flex; /* Flexbox for content inside the card */
                flex-direction: column; /* Align items vertically */
                justify-content: center; /* Vertically center content */
                align-items: center; /* Horizontally center content */
                background-color: white;
                padding: 0.7rem;
                border-radius: 8px;
                box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
                transition: background-color 0.3s ease, border-color 0.3s ease;
            }
        }

    .offer-card.selected {
        background-color: #e0f7fa; /* Light blue background when selected */
        border-color: #00796b; /* Change the border color when selected */
    }
    

    .offer-card h3 {
        color: var(--heading-color);
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }

    .offer-card p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .offer-card button {
        background-color: var(--accent-color);
        color: var(--primary-color);
        border: none;
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        font-weight: bold;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .offer-card button:hover {
        background-color: #e0a800;
    }

          /* Contact Section */
          .contact-container {
            max-width: 500px;
            margin: 3rem auto;
            background: white;
            padding: 3rem;
            border-radius: 10px;
            box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
        }

        .contact-container h2 {
            color: #003366;
            margin-bottom: 1rem;
        }

        .contact-info {
            background: #f1f1f1;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .contact-form label {
            font-weight: bold;
            display: block;
            margin-top: 10px;
            text-align: left;
        }

        .contact-form input, 
        .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border-radius: 5px;
            border: 1px solid #ccc;
        }

        .contact-form button {
            background-color: #FFC107;
            color: #003366;
            border: none;
            padding: 12px;
            font-size: 1.1rem;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            margin-top: 15px;
            width: 100%;
        }

        .contact-form button:hover {
            background-color: #e0a800;
        }

         /* For screens smaller than 480px (mobile devices) */
        @media (max-width: 480px) {
          .contact-container {
            max-width: 90%; /* Use full width */
            margin: 5rem 2rem 1rem; /* Margin for smaller screens */
            }
        }

        .profile-container {
            background: white;
            max-width: 600px;
            margin: 40px auto;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.3);
            text-align: center;
        }

        .profile-container h2 {
            color: #343a40;
            margin-bottom: 20px;
        }



       /* Offer Cards */
       .codes-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 50px auto;
        gap: 20px;
        max-width: 1100px;
    }

    
        /* Login Form */
        .login-container {
            max-width: 400px;
            margin: 50px auto;
            background: white;
            padding: 50px;
            border-radius: 10px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Increase size and opacity of the shadow */
            margin-bottom: 5rem;
        }        

        .login-container h3 {
            text-align: center;
            margin-bottom: 20px;
            color: #003366;
        }

        .form-group {
            position: relative;
            margin-bottom: 15px;
        }

        .form-group i {
            position: absolute;
            left: 10px;
            top: 13px;
            color: #003366;
        }

        .form-control {
            padding-left: 35px;
            border-radius: 5px;
        }

        .btn-login {
            background-color: #003366;
            color: white;
            font-weight: bold;
            padding: 10px;
            border-radius: 5px;
            width: 100%;
            transition: 0.3s;
        }

        .btn-login:hover {
            background-color: #FFC107;
            color: #003366;
        }

        .register-link {
            text-align: center;
            margin-top: 15px;
        }

        .forgot-password {
            text-align: right;
            font-size: 0.9rem;
        }

        .forgot-password a {
            text-decoration: none;
            color: #003366;
            font-weight: bold;
        }

        .forgot-password a:hover {
            text-decoration: underline;
            color: #FFC107;
        }


        /* Registration Form */
        .register-container {
                max-width: 600px;
                margin: 50px auto;
                background: white;
                padding: 20px;
                border-radius: 10px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
         }
    
            .register-container h3 {
                text-align: center;
                margin-bottom: 20px;
                color: #003366;
            }
    
            .form-group {
                position: relative;
                margin-bottom: 15px;
            }
    
            .form-group i {
                position: absolute;
                left: 10px;
                top: 13px;
                color: #003366;
            }
    
            .form-control {
                padding-left: 35px;
                border-radius: 5px;
            }
    
            .btn-register {
                background-color: #003366;
                color: white;
                font-weight: bold;
                padding: 10px;
                border-radius: 5px;
                width: 100%;
                transition: 0.3s;
            }
    
            .btn-register:hover {
                background-color: #FFC107;
                color: #003366;
            }
    
            .login-link {
                text-align: center;
                margin-top: 15px;
            }
    

                   /* 404 Content */
        .error-container {
            margin-top: 50px;
            padding: 40px;
            background: white;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }

        .error-container h2 {
            font-size: 3rem;
            color: #dc3545;
            margin-bottom: 10px;
        }

        .error-container p {
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 20px;
        }

        .error-container a {
            background: #003366;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: 0.3s;
        }

        .error-container a:hover {
            background: #FFC107;
            color: black;
        }
        .pagination-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
            margin-bottom: 2rem;
        
            /* Ensure it spans full width */
            width: 100%;
            max-width: 100vw; /* Prevent overflow */
            overflow-x: auto; /* Enable horizontal scrolling if needed */
            flex-wrap: wrap; /* Wrap buttons if they don’t fit */
            padding: 0 1rem; /* Add padding for spacing */
            box-sizing: border-box; /* Ensure padding doesn’t break layout */
        }
        
        /* Styling for buttons */
        .pagination-buttons button {
            background: #003366;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            font-size: 1rem;
        }
        
        /* Hover effect */
        .pagination-buttons button:hover {
            background: #FFC107;
            color: black;
        }
        
        /* Media query for smaller devices */
        @media (max-width: 600px) {
            .pagination-buttons {
                gap: 0.5rem; /* Reduce gap for smaller screens */
                padding: 0 0.5rem; /* Adjust padding */
            }
        
            .pagination-buttons button {
                padding: 8px 12px; /* Smaller padding on mobile */
                font-size: 0.9rem; /* Smaller font size */
            }
        }
        
        @media (max-width: 400px) {
            .pagination-buttons button {
                padding: 6px 10px; /* Further reduce padding on very small screens */
                font-size: 0.8rem; /* Further reduce font size */
            }
            .login-container {
                max-width: 400px;
                margin: 5rem 1.2rem 10rem 1.2rem;
                padding: 10%;
            }   
        }
        
        

        .flash-messages {
            position: fixed;
            top: 10px;
            right: 10px;
            z-index: 1000;
            width: 300px;
        }
        
        .alert {
            padding: 15px; /* More padding for better spacing */
            margin: 20px auto; /* Centers the alert */
            border-radius: 8px; /* Slightly smoother corners */
            color: rgb(123, 115, 115);
            text-align: center;
            font-weight: bold;
            max-width: 90%; /* Avoids touching screen edges */
            width: fit-content;
            min-width: 250px; /* Prevents too small alerts */
            position: relative; /* Prevents overlap with header */
            z-index: 5; /* Ensures alerts do not cover the header */         
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow for better visibility */
        }
        
        /* Color Variants */
        .alert-success { background-color: #28a745; color: white} /* Green */
        .alert-error, .alert-danger { background-color: #dc3545; color: white} /* Red */
        .alert-warning { background-color: #ffc107; color: #e4dfdf; } /* Yellow with dark text */
        .alert-info { background-color: #17a2b8; color: white } /* Blue */
        
        /* RESPONSIVE DESIGN */
        @media (max-width: 600px) {
            .alert {
                max-width: 95%; /* Allows more space on small screens */
                font-size: 13px; /* Slightly smaller text for mobile */
                margin-top: 5%;
                color: black;
            }
        }
        
        .download-btn {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 1rem;
            margin-bottom: 2rem;
            background-color:#FFC107;
            color: rgb(77, 70, 70);
            padding: 12px 24px;
            border-radius: 8px;
            text-decoration: none;
            font-size: 1rem;
            font-weight: bold;
            transition: background 0.3s ease, transform 0.2s ease;
            text-align: center;
            width: auto; /* Let it adjust dynamically */
            max-width: 450px; /* Prevent too wide buttons */
            margin: 10px auto; /* Center on small screens */
        }
        
        /* Hover effect */
        .download-btn:hover {
            background-color: #FFC107; /* Yellow */
            color: black;
            transform: scale(1.05); /* Slight increase in size */
        }
        
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .download-btn {
                font-size: 0.9rem;
                padding: 10px 20px;
                max-width: 200px;
            }
        }
        
        @media (max-width: 480px) {
            .download-btn {
                font-size: 0.85rem;
                padding: 8px 16px;
                max-width: 180px;
            }
        }
        

        .terms-container {
            max-width: 800px;
            margin: 0 auto;
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .terms-list {
            margin-top: 20px;
        }
        
        .terms-list li {
            margin-bottom: 15px;
            font-size: 1em;
        }

    /* Mobile responsiveness */
    @media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        align-items: center;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    .menu-icon {
        display: block;
        font-size: 1.5em;
        color: #fff;
        cursor: pointer;
    }

    nav.active {
        display: block;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    z-index: 1000;
}

.cookie-banner a {
    color: #ffd700;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 15px;
}

.cookie-banner button:hover {
    background-color: #218838;
}

/* Make sure the banner looks good on smaller screens */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .btn-accept {
        margin-top: 10px;
    }
}
.message-container-oferta {
    background-color: #f8f9fa;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.message-content-oferta {
    text-align: center;
    font-family: Arial, sans-serif;
}

.message-content-oferta h3 {
    color: #343a40;
    font-size: 24px;
    margin-bottom: 1rem;
}

.message-content-oferta p {
    color: #6c757d;
    font-size: 16px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.message-content-oferta p strong {
    color: #007bff;
}