/* General body styles - Start */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #DDDDDD;
}

.body-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-content {
    width: 99%;
    margin: 5px auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
/* General body styles - End */

/* Header Container - Start */
.header-container {
    background-color: #09cfff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.header-container img {
    width: 200px; 
    max-width: 35%; 
    height: auto; 
}

/* Header Container - End */

/* Strapline - Start */
.strapline {
    flex-grow: 1;
    text-align: right;
    font-size: 2.2em; /* Default size */
    font-family: 'Bangers', cursive;
    color: #C0C0C0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    line-height: 1.2; /* Ensures proper spacing */
}

@media (max-width: 768px) {
    .strapline {
        font-size: 5vw;
        text-align: right;
    }

    .header-container img {
        width: 150px; /* Smaller logo size for smaller screens */
    }
}

/* Strapline - End */

/* Navigation Bar - Start */
.nav-container {
    background-color: #09cfff;
    padding: 0;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-menu li {
    flex: 1;
    margin: 0;
}

.nav-menu a {
    display: block;
    text-align: center;
    padding: 15px;
    color: white;
    background-color: #09cfff;
    border-right: none;
    text-decoration: none;
    transition: background-color 0.8s ease, border-radius 0.8s ease;
    border-radius: 10px;
}

.nav-menu a:hover,
.nav-menu a:active {
    background-color: #004080;
    color: #ffffff;
    border-radius: 10px;
}

.nav-menu .active {
    background-color: #004080;
    color: #ffffff;
    border-radius: 10px;
}
/* Navigation Bar - End */

/* Page Title Container - Start */
.page-title {
    background-color: #e0e0e0; /* Same background as breadcrumbs */
    padding: 1px 10px; /* Adjust padding as needed */
    text-align: center;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-title h1 {
font-size: clamp(1.2rem, 4vw, 2.5rem);
font-weight: bold;
color: #333;
line-height: 1.2; /* Increased line height for better spacing */
}
/* Page Title Container - End */

/* Main content - Start */
.main-content {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Main content - End */

/* Footer styles - Start */
.footer-container {
    background-color: #004080;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-container p {
    margin: 0;
    font-size: 0.9em;
}

.footer-container a {
    text-decoration: none !important;
    color: white !important;
}

.footer-container a:hover {
    text-decoration: underline !important;
    color: white !important;
}

/* Footer styles - End */

/* General styling for .nav-label */
.nav-label {
    display: none; /* Hidden by default */
}

/* Responsive Layout - Start */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        align-items: center;
        gap: 10px; /* Space between icon and label */
        padding: 10px;
        cursor: pointer;
    }

    .nav-label {
        display: inline-block; /* Show only below 768px */
        color: white; /* Matches menu icon style */
        font-size: 1.2em; /* Adjust font size */
    }

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

    .nav-menu.nav-menu-visible {
        display: block;
    }
}



@media (min-width: 769px) {
    .nav-label {
        display: none; /* Ensure it doesn't show above 768px */
    }
}


/* Ensure the entire card is clickable and has no text decoration */
.card-link {
    text-decoration: none;
    color: inherit; /* Keep text color consistent */
    display: block; /* Make the entire card a clickable block */
}

.card-link:hover .card {
    background-color: #b3e5fc; /* Keep the hover effect for the card */
}

.card-btn {
    text-decoration: none;
    color: white;
}

.card-btn:hover {
    background-color: #004080; /* Keep the button hover effect */
}

/* Dropdown options hover color */
select option:hover,
select option:focus {
    background-color: #004080; /* Same color as the button hover */
    color: white; /* Ensure the text is visible */
}
/* Success and Error Messages */
.success-message, .error-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
}
.success-message {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}
.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* Subscribe/Unsubscribe buttons */
.unsubscribe,
.bulk-unsubscribe-btn{
    background-color: #d9534f; /* Red background */
    color: white; /* White text */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    height: 50px;
    
}

.subscribe,
.bulk-subscribe-btn
{
    background-color: #5cb85c; /* Green background */
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    width: 100%;
    max-width: 200px;
    height: 50px;
    
}

.unsubscribe:hover, .subscribe:hover {
    opacity: 0.8; /* Hover effect */
}

.status-message {
    font-weight: bold;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 4px;
}
