/* Global Styles */
:root {
    --primary-color: #ff4d4d; /* Reddish for offer theme */
    --secondary-color: #ff8c00; /* Orange accent */
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white-color: #ffffff;
    --dark-overlay: rgba(0, 0, 0, 0.7);
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-bg);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

/* Responsive Typography for Headings */
.site-name {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem); /* Desktop: 2.2rem, Tablet: 2vw, Mobile: 1.5rem */
    font-weight: 700;
    color: var(--white-color);
}

@media (min-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.8rem; }
    .site-name { font-size: 2.2rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.6rem; }
    .site-name { font-size: 1.8rem; }
}

@media (max-width: 767px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.25rem; }
    .site-name { font-size: 1.25rem; }
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: var(--white-color);
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    color: var(--white-color);
}

/* Top Info Bar */
.top-info-bar {
    background-color: var(--dark-bg);
    color: var(--white-color);
    font-size: 0.85rem;
}

.top-info-bar a {
    color: var(--primary-color);
    text-decoration: underline;
}

.top-info-bar a:hover {
    color: var(--secondary-color);
}

/* Header */
.navbar {
    background-color: var(--dark-bg);
    padding: 1rem 0;
}

.navbar-brand .site-logo {
    height: 40px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--white-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.offcanvas {
    background-color: var(--dark-bg);
    color: var(--white-color);
}

.offcanvas .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas .offcanvas-title {
    color: var(--white-color);
}

.offcanvas .btn-close {
    filter: invert(1);
}

/* Mobile navigation */
@media (max-width: 1199.98px) { /* Adjust breakpoint as needed for burger menu */
    .navbar-nav {
        overflow-x: hidden; /* Hide horizontal scroll on smaller screens */
    }
    .offcanvas-body {
        padding: 1rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 100px 0;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-overlay);
}

.hero-section h1 {
    color: var(--white-color);
    font-weight: 700;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.hero-advantages {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-advantages li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white-color);
}

.hero-advantages li i {
    color: var(--primary-color);
}

.scroll-down-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

/* About Section */
.about-list .list-group-item {
    background-color: transparent;
    border: none;
    padding-left: 0;
    font-size: 1.1rem;
}

.about-list .list-group-item i {
    min-width: 25px;
}

/* offer Cards Section */
.offer-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-link {
    padding: 10px;
    text-align: center;
}
.offer-card .card-img-top {
    height: 200px; /* Uniform height for images */
    object-fit: contain;
    width: 100%;
    max-width: 260px;
}

.offer-card .card-img-link {
    display: block;
    text-decoration: none;
}

.offer-card .card-body {
    padding: 1.5rem;
}

.offer-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
}

.offer-card .rating i {
    font-size: 1.1rem;
}

.offer-card .features-list {
    padding-left: 0;
    list-style: none;
    margin-top: 1rem;
}

.offer-card .features-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.offer-card .features-list i {
    min-width: 20px;
}

/* ANJ License Section */
.bg-dark {
    background-color: var(--dark-bg) !important;
}

.anj-license-image {
    max-width: 100%;
    height: auto;
}

/* How We Rate Section */
.how-we-rate-section .p-4 {
    background-color: var(--white-color);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
}

.how-we-rate-section .p-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Reviews Section */
.review-card {
    border: none;
    border-radius: 10px;
    background-color: var(--white-color);
}

.review-card .avatar-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.review-card .rating i {
    font-size: 1rem;
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: var(--dark-bg);
    background-color: var(--white-color);
    border-bottom: 1px solid #e9ecef;
    text-decoration: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #f0f0f0;
    box-shadow: none;
}

.accordion-body {
    background-color: var(--white-color);
    border-top: 1px solid #e9ecef;
}

/* Contact Form */
.contact-form .form-label {
    color: var(--white-color);
    font-weight: 600;
}

.contact-form .form-control {
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
}

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

.contact-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: #fdf3e2; /* Light, warm background to stand out */
    padding: 60px 0;
    border-top: 5px solid #ffc107; /* Yellow border for warning */
    border-bottom: 5px solid #ffc107;
}

.disclaimer-box {
    background-color: var(--white-color);
    border: 1px solid #ffc107;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.disclaimer-title {
    color: #dc3545; /* Red for warning */
    font-weight: 700;
}

.disclaimer-title i {
    font-size: 1.5em;
    vertical-align: middle;
}

.disclaimer-section h4 {
    color: var(--dark-bg);
    font-weight: 600;
}

.disclaimer-list li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.disclaimer-list i {
    color: #dc3545; /* Red dots */
    font-size: 1.2em;
}

.disclaimer-section a {
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.site-footer .footer-heading {
    color: var(--white-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.site-footer .footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.site-footer .footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.site-footer .bi {
    color: var(--primary-color);
}

.footer-partners {
    margin-top: 2rem;
}

.footer-partner-logo {
    max-width: 120px; /* Adjusted width for logos */
    height: auto;
    margin: 10px 15px;
    display: inline-block;
    vertical-align: middle;
}

.footer-partner-logo-18plus {
    max-width: 60px;
    height: auto;
    margin: 10px 15px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .footer-partner-logo {
        max-width: 100px;
    }
    .footer-partner-logo-18plus {
        max-width: 50px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 1050;
    max-width: 350px;
    display: none; /* Hidden by default */
    font-size: 0.9rem;
}

.cookie-banner p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-banner a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-banner a:hover {
    color: var(--secondary-color);
}

.cookie-banner .btn {
    text-decoration: none;
}

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--white-color);
    color: var(--text-color);
    z-index: 1060; /* Higher than banner */
}

#cookieSettingsModal .modal-header {
    border-bottom: 1px solid #e9ecef;
}

#cookieSettingsModal .modal-title {
    color: var(--dark-bg);
}

#cookieSettingsModal .form-check-label {
    font-weight: 600;
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieSettingsModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    background-color: var(--dark-bg);
    color: var(--white-color);
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 1070; /* Highest z-index */
}

#ageVerificationModal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#ageVerificationModal .modal-title {
    color: var(--white-color);
}

#ageVerificationModal .modal-body p {
    color: rgba(255, 255, 255, 0.9);
}

#ageVerificationModal .modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#ageVerificationModal .btn {
    min-width: 150px;
}
/* Parent container for legal documents or similar content */
.legalFoldBox {
    margin-top: 2em; /* Top margin for the entire legal content block */
    padding-left: 1.5em; /* Padding on the left side of the content */
    padding-right: 1.5em; /* Padding on the right side of the content */
    /* You might want to add max-width and margin: auto for centering on larger screens */
    /* max-width: 800px; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}

/* Heading 1 styles within .legalFoldBox */
.legalFoldBox h1 {
    font-size: 1.8em; /* Moderate size for main headings */
    margin-top: 1.5em; /* Top margin for separation from previous content */
    margin-bottom: 0.8em; /* Bottom margin before next element */
    line-height: 1.2; /* Line height for better readability */
    font-weight: bold; /* Ensure bold styling */
}

/* Heading 2 styles within .legalFoldBox */
.legalFoldBox h2 {
    font-size: 1.5em; /* Moderate size for sub-sections */
    margin-top: 1.3em;
    margin-bottom: 0.7em;
    line-height: 1.3;
    font-weight: bold;
}

/* Heading 3 styles within .legalFoldBox */
.legalFoldBox h3 {
    font-size: 1.3em; /* Smaller sub-heading */
    margin-top: 1.1em;
    margin-bottom: 0.6em;
    line-height: 1.4;
    font-weight: bold;
}

/* Heading 4 styles within .legalFoldBox */
.legalFoldBox h4 {
    font-size: 1.1em; /* Minor heading */
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.5;
    font-weight: bold;
}

/* Heading 5 styles within .legalFoldBox */
.legalFoldBox h5 {
    font-size: 1em; /* Smallest heading, similar to paragraph text but bold */
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.5;
    font-weight: bold;
}

/* Paragraph styles within .legalFoldBox */
.legalFoldBox p {
    font-size: 1em; /* Standard paragraph font size */
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6; /* Improved readability for long text blocks */
}

/* Unordered list styles within .legalFoldBox */
.legalFoldBox ul {
    margin-top: 1em; /* Top margin for the list */
    margin-bottom: 1em; /* Bottom margin for the list */
    padding-left: 2em; /* Indentation for list items (for bullet points) */
    list-style-type: disc; /* Default disc bullet points */
}

/* List item styles within .legalFoldBox */
.legalFoldBox li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5; /* Line height for list item text */
}

.bg-dark h2 {
    color: #fff;
}