/* General Body and Typography */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333; /* Standard readable text color */
    background-color: #f8f9fa; /* Light background */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #0A1128; /* Dark Blue for headings */
}

p {
    color: #555; /* Slightly darker for paragraphs */
}

a {
    color: #007bff; /* Standard link color */
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #0A1128; /* Dark Blue */
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent */
    border-radius: 2px;
}

/* Header & Navigation */
.header .navbar {
    background-color: rgba(10, 17, 40, 0.95); /* Dark Blue with slight transparency */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.header .navbar-brand .logo-img {
    height: 50px; /* Adjust as needed */
    transition: transform 0.3s ease;
}

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

.header .navbar-nav .nav-link {
    color: #F0F8FF; /* Light Blue */
    font-weight: 600;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s ease;
}

.header .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #FFD700; /* Gold */
    transition: width 0.3s ease;
}

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

.header .navbar-nav .nav-link:hover,
.header .navbar-nav .nav-link.active {
    color: #FFD700; /* Gold on hover/active */
    text-decoration: none;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(10, 17, 40, 0.8), rgba(10, 17, 40, 0.8)), url(pictures/uploads/lotto-balls-background_11.jpg) no-repeat center center/cover; /* Dark Blue overlay + background image */
    color: #F0F8FF; /* Light Blue text */
    padding-top: 100px; /* To account for fixed header */
    padding-bottom: 50px;
}

.hero-section h1 {
    color: #FFD700; /* Gold for main title */
    font-size: 3.8rem;
    line-height: 1.2;
}

.hero-section p.lead {
    color: #F0F8FF;
    font-size: 1.3rem;
    opacity: 0.9;
}

.hero-section .btn-primary {
    background-color: #E74C3C; /* Red */
    border-color: #E74C3C;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section .btn-primary:hover {
    background-color: #C0392B; /* Darker Red */
    border-color: #C0392B;
    transform: translateY(-3px);
}

.hero-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
}

.countdown-timer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 25px;
}

.countdown-timer p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F0F8FF;
}

.countdown-timer .time-box {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.countdown-timer .time-box span {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #FFD700; /* Gold for numbers */
    line-height: 1;
}

.countdown-timer .time-box small {
    display: block;
    font-size: 0.8rem;
    color: #F0F8FF;
    margin-top: 5px;
}

/* About Us Section */
.about-section {
    background-color: #f0f8ff; /* Light blue background */
    padding: 80px 0;
}

.about-section .img-fluid {
    border: 5px solid #f0f8ff; /* Gold border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Why Choose Section */
.why-choose-section {
    background-color: #fff;
    padding: 80px 0;
}

.feature-card {
    background: #ffffff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #FFD700;
}

.feature-icon {
    font-size: 3rem;
    color: #E74C3C; /* Red */
    display: inline-block;
    margin-bottom: 15px;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #0A1128; /* Dark Blue background */
    color: #F0F8FF;
    padding: 80px 0;
}

.how-it-works-section .section-title,
.how-it-works-section p.lead {
    color: #F0F8FF;
}

.how-it-works-section .section-title::after {
    background-color: #E74C3C; /* Red accent */
}

.step-card {
    background-color: #1a233a; /* Slightly lighter dark blue */
    border: 1px solid #2d3855;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #FFD700;
}

.step-icon-wrapper {
    background-color: #E74C3C; /* Red */
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.step-icon {
    font-size: 2.5rem;
    color: #F0F8FF; /* Light Blue */
}

.step-card h3 {
    color: #FFD700; /* Gold */
}

.step-card p {
    color: #F0F8FF;
    opacity: 0.9;
}

/* Featured Lotteries Section (Swiper) */
.lotteries-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.featured-lotteries-slider {
    padding: 20px; /* Space for navigation arrows */
}

.lottery-card {
    background-color: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lottery-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
}

.lottery-card h3 {
    color: #0A1128;
    margin-bottom: 5px;
}

.lottery-card p {
    color: #E74C3C; /* Red for estimated value */
    font-weight: 600;
    font-size: 1.1rem;
}

.lottery-card .btn-secondary {
    background-color: #FFD700; /* Gold */
    border-color: #FFD700;
    color: #0A1128; /* Dark Blue text on gold button */
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.lottery-card .btn-secondary:hover {
    background-color: #DAA520; /* Darker Gold */
    border-color: #DAA520;
    transform: translateY(-2px);
}

.swiper-button-next,
.swiper-button-prev {
    color: #0A1128 !important; /* Dark Blue for arrows */
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(255, 255, 255, 1);
}

.swiper-pagination-bullet-active {
    background-color: #E74C3C !important; /* Red for active pagination dot */
}


/* Testimonials Section */
.testimonials-section {
    background-color: #F0F8FF; /* Light Blue background */
    padding: 80px 0;
}

.testimonial-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid #FFD700; /* Gold border */
}

.star-rating i {
    color: #FFD700; /* Gold stars */
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: #555;
}

/* FAQ Section */
.faq-section {
    background-color: #fff;
    padding: 80px 0;
}

.accordion-item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    background-color: #0A1128; /* Dark Blue */
    color: #F0F8FF; /* Light Blue text */
    font-weight: 600;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #E74C3C; /* Red when open */
    color: #F0F8FF;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: none;
}

.accordion-button::after {
    filter: invert(100%); /* Make caret white */
}

.accordion-body {
    padding: 20px;
    background-color: #f8f9fa; /* Light background for body */
    color: #333;
}

/* Responsible Gaming Section */
.responsible-gaming-section {
    background-color: #0A1128; /* Dark Blue background */
    color: #F0F8FF;
    padding: 80px 0;
}

.responsible-gaming-section .section-title {
    color: #F0F8FF;
}

.responsible-gaming-section .section-title::after {
    background-color: #E74C3C; /* Red accent */
}

.responsible-gaming-content {
    background-color: #1a233a; /* Slightly lighter dark blue */
    border: 1px solid #2d3855;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.responsible-gaming-content h3 {
    color: #FFD700; /* Gold for subheadings */
}

.responsible-gaming-content p,
.responsible-gaming-content ul li {
    color: #F0F8FF;
    opacity: 0.9;
}

.responsible-gaming-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

.responsible-gaming-content ul li strong {
    color: #FFD700; /* Gold for bold text in list */
}

.resource-card {
    background-color: #2d3855; /* Even lighter dark blue */
    border: 1px solid #4a5a7a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.resource-icon {
    font-size: 2.5rem;
    color: #E74C3C; /* Red */
}

.resource-card h4 {
    color: #FFD700; /* Gold */
}

.resource-card p {
    font-size: 0.95rem;
    color: #F0F8FF;
}

.resource-link {
    color: #FFD700; /* Gold links */
    text-decoration: underline;
    word-break: break-all;
}

.resource-link:hover {
    color: #DAA520; /* Darker Gold */
}

/* Footer */
.footer {
    background-color: #0A1128; /* Dark Blue */
    color: #F0F8FF;
    padding: 50px 0 20px 0;
}

.footer-logo-link .footer-logo-img {
    height: 60px; /* Larger logo in footer */
    filter: brightness(1.2); /* Make it pop a bit */
}

.footer-text {
    color: #F0F8FF;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-heading {
    color: #FFD700; /* Gold */
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links li a {
    color: #F0F8FF;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #E74C3C; /* Red on hover */
    text-decoration: none;
}

.social-icons a {
    color: #F0F8FF;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #FFD700; /* Gold on hover */
    transform: translateY(-3px);
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px 0;
}

.copyright-text {
    color: #F0F8FF;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-logos {
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-logo-item {
    max-width: 120px; /* Default width for logos */
    height: 60px;
    object-fit: contain;
    margin: 10px; /* Spacing between logos */
    transition: transform 0.3s ease;
}

/* Specific adjustment for 18+ icon */
.footer-logo-item[alt="18+ Only"] {
    max-width: 50px; /* Smaller for 18+ icon */
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(10, 17, 40, 0.95); /* Dark Blue */
    color: #F0F8FF;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1050;
    max-width: 90%;
    width: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #F0F8FF;
    flex-grow: 1;
}

.cookie-banner .cookie-policy-link {
    color: #FFD700; /* Gold link */
    text-decoration: underline;
}

.cookie-banner .cookie-policy-link:hover {
    color: #DAA520;
}

.cookie-banner .cookie-buttons {
    display: flex;
    gap: 10px;
    padding-top: 10px;
}

.cookie-banner .btn-primary {
    background-color: #E74C3C; /* Red */
    border-color: #E74C3C;
    font-weight: 600;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.cookie-banner .btn-primary:hover {
    background-color: #C0392B;
    border-color: #C0392B;
}

.cookie-banner .btn-secondary {
    background-color: #FFD700; /* Gold */
    border-color: #FFD700;
    color: #0A1128; /* Dark Blue text */
    font-weight: 600;
    padding: 8px 15px;
    font-size: 0.9rem;
}

.cookie-banner .btn-secondary:hover {
    background-color: #DAA520;
    border-color: #DAA520;
}

/* Auth Modal Styling */
.modal-content {
    background-color: #f0f8ff; /* Light blue background for modal */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: #0A1128; /* Dark Blue header */
    color: #F0F8FF;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-title {
    color: #FFD700; /* Gold title */
    font-weight: 700;
}

.modal-header .btn-close {
    filter: invert(100%); /* White close button */
}

.modal-body {
    padding: 30px;
}

.modal-body .nav-pills .nav-link {
    color: #0A1128;
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.modal-body .nav-pills .nav-link.active {
    background-color: #E74C3C; /* Red for active tab */
    color: #F0F8FF;
}

.modal-body .form-label {
    color: #0A1128;
    font-weight: 600;
}

.modal-body .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.modal-body .btn-primary {
    background-color: #E74C3C; /* Red */
    border-color: #E74C3C;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.modal-body .btn-primary:hover {
    background-color: #C0392B;
    border-color: #C0392B;
    transform: translateY(-2px);
}

.modal-footer {
    border-top: none;
    padding: 15px 30px;
    background-color: #f0f8ff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
    }
    .hero-section .countdown-timer {
        justify-content: center !important;
    }
    .hero-section .hero-image {
        max-width: 60%;
        margin-bottom: 30px;
    }
    .header .navbar-nav {
        text-align: center;
        padding-top: 15px;
    }
    .header .navbar-nav .nav-item {
        margin: 10px 0;
    }
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logos {
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1.1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .countdown-timer .time-box span {
        font-size: 1.8rem;
    }
    .countdown-timer .time-box small {
        font-size: 0.7rem;
    }
    .cookie-banner {
        width: 95%;
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}/* Styles for the main content grid, ensuring consistent padding and centering */
.consentTunnelGrid {
    padding-top: 60px; /* Top padding for the content grid */
    padding-left: 20px; /* Left padding for the content grid */
    padding-right: 20px; /* Right padding for the content grid */
    max-width: 960px; /* Maximum width for content readability on larger screens */
    margin: 0 auto; /* Center the content grid horizontally */
    color: #333; /* Default text color for the grid content */
}

/* Heading 1 styles within the content grid */
.consentTunnelGrid h1 {
    font-size: 2.2rem; /* Moderate font size for primary headings */
    margin-top: 1.5rem; /* Top margin for spacing above the heading */
    margin-bottom: 1rem; /* Bottom margin for spacing below the heading */
    line-height: 1.2; /* Line height for better readability */
    font-weight: 700; /* Ensure bold weight */
    color: #0A1128; /* Dark blue color for headings */
}

/* Heading 2 styles within the content grid */
.consentTunnelGrid h2 {
    font-size: 1.8rem; /* Font size for secondary headings */
    margin-top: 1.2rem; /* Top margin for spacing above the heading */
    margin-bottom: 0.8rem; /* Bottom margin for spacing below the heading */
    line-height: 1.3; /* Line height for better readability */
    font-weight: 700; /* Ensure bold weight */
    color: #0A1128; /* Dark blue color for headings */
}

/* Heading 3 styles within the content grid */
.consentTunnelGrid h3 {
    font-size: 1.5rem; /* Font size for tertiary headings */
    margin-top: 1rem; /* Top margin for spacing above the heading */
    margin-bottom: 0.7rem; /* Bottom margin for spacing below the heading */
    line-height: 1.4; /* Line height for better readability */
    font-weight: 700; /* Ensure bold weight */
    color: #0A1128; /* Dark blue color for headings */
}

/* Heading 4 styles within the content grid */
.consentTunnelGrid h4 {
    font-size: 1.25rem; /* Font size for quaternary headings */
    margin-top: 0.8rem; /* Top margin for spacing above the heading */
    margin-bottom: 0.6rem; /* Bottom margin for spacing below the heading */
    line-height: 1.5; /* Line height for better readability */
    font-weight: 600; /* Slightly less bold for smaller headings */
    color: #0A1128; /* Dark blue color for headings */
}

/* Heading 5 styles within the content grid */
.consentTunnelGrid h5 {
    font-size: 1.1rem; /* Font size for quinary headings */
    margin-top: 0.7rem; /* Top margin for spacing above the heading */
    margin-bottom: 0.5rem; /* Bottom margin for spacing below the heading */
    line-height: 1.5; /* Line height for better readability */
    font-weight: 600; /* Slightly less bold for smaller headings */
    color: #0A1128; /* Dark blue color for headings */
}

/* Paragraph styles within the content grid */
.consentTunnelGrid p {
    font-size: 1rem; /* Standard font size for paragraphs */
    margin-bottom: 1rem; /* Bottom margin for spacing between paragraphs */
    line-height: 1.7; /* Increased line height for improved readability */
    color: #555; /* Slightly softer color for paragraph text */
}

/* Unordered list styles within the content grid */
.consentTunnelGrid ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-bottom: 1rem; /* Bottom margin for the entire list */
    padding-left: 25px; /* Indentation for list items */
}

/* List item styles within the content grid */
.consentTunnelGrid li {
    font-size: 1rem; /* Standard font size for list items */
    margin-bottom: 0.5rem; /* Spacing between individual list items */
    line-height: 1.6; /* Line height for list items */
    color: #555; /* Slightly softer color for list item text */
}


.countdown-st{
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

@media(max-width: 576px){
    #countdown{
        flex-wrap: wrap;
    }
}