body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

.top-warning-bar {
    background-color: #dc3545;
    color: #fff;
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-warning-bar a {
    color: #fff;
    text-decoration: underline;
}

.custom-navbar {
    background-color: #0d1a26;
    padding-top: 15px;
    padding-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-navbar .navbar-brand .logo-img {
    height: 40px;
    margin-right: 10px;
}

.custom-navbar .navbar-brand .brand-text {
    color: #fff;
    font-weight: 700;
    font-size: 1.8rem;
}

.custom-navbar .nav-link {
    color: #adb5bd;
    font-weight: 600;
    margin-left: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: #007bff;
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

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

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-image: url('assets/uploads/abstract-rating-bg_2.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-section .lead {
    font-size: 1.4rem;
}

.hero-section .badge {
    background-color: rgba(0, 123, 255, 0.8) !important;
    padding: 10px 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.hero-section .badge:hover {
    background-color: rgba(0, 123, 255, 1) !important;
}

.hero-section img {
    max-height: 400px;
    object-fit: cover;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0d1a26;
    position: relative;
    padding-bottom: 15px;
}

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

#about-us .lead {
    color: #555;
}

.bg-light-gray {
    background-color: #f0f2f5;
}

.criteria-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.criteria-card i {
    color: #007bff;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 4px;
    font-size: 0.75rem;
    line-height: 1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-card .platform-img {

    border-radius: 15px 0 0 15px;
}

.platform-card .card-body {
    padding: 25px;
}

.platform-card .card-title {
    color: #0d1a26;
    font-weight: 700;
}

.platform-rating {
    background-color: #007bff;
    color: #fff;
    padding: 5px 12px;
    border-bottom-right-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.platform-features li {
    margin-bottom: 8px;
    color: #555;
}

.platform-features i {
    color: #28a745;
}

.payment-icon {
    height: 30px;
    max-width: 80px;
    object-fit: contain;
}

.card-img-link {
    display: block;
    height: 100%;
}

#anj-info img {
    max-height: 400px;
    object-fit: contain;
}

#anj-info h3 {
    color: #0d1a26;
    font-weight: 600;
}

#anj-info li {
    margin-bottom: 5px;
    color: #555;
}

#anj-info i {
    color: #28a745;
}

#contact-form .card {
    border-radius: 15px;
}

#contact-form .form-floating label {
    color: #6c757d;
}

#contact-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    text-decoration: none !important;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.disclaimer-section {
    background-color: #fdf3e6;
    border-top: 5px solid #ffc107;
    padding: 40px 0;
}

.disclaimer-content {
    background-color: #fff;
    border: 1px solid #ffeeba;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.disclaimer-content h3,
.disclaimer-content h4 {
    font-weight: 600;
}

.disclaimer-content p,
.disclaimer-content li {
    color: #495057;
}

.disclaimer-content a {
    font-weight: 500;
}

.footer {
    background-color: #0d1a26;
    color: #adb5bd;
    font-size: 0.9rem;
}

.footer .logo-img-footer {
    height: 45px;
    margin-bottom: 10px;
}

.footer .brand-text-footer {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #007bff;
    text-decoration: underline;
}

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

.footer-logo {
    height: auto;
    max-width: 120px;
    object-fit: contain;
    margin: 0 10px;
    filter: none; /* Ensure no grayscale */
    transition: transform 0.2s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-18plus {
    max-width: 50px;
    height: auto;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 350px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default, shown by JS */
}

.cookie-banner .card-title {
    color: #0d1a26;
    font-weight: 600;
}

.cookie-banner .card-text {
    color: #555;
}

/* Age Verification Modal */
#ageVerificationModal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

#ageVerificationModal .modal-header {
    border-bottom: none;
}

#ageVerificationModal .modal-title {
    font-weight: 700;
}

#ageVerificationModal .input-group-text {
    background-color: #e9ecef;
    border-right: none;
}

#ageVerificationModal .form-control {
    border-left: none;
    text-align: center;
}

#ageVerificationModal .form-control:focus {
    box-shadow: none;
}

#ageVerificationModal .btn-success {
    background-color: #28a745;
    border-color: #28a745;
    text-decoration: none !important;
}

#ageVerificationModal .btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

/* Animations */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-load.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-load:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-on-load:nth-child(2) {
    transition-delay: 0.3s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-item:nth-child(1) {
    transition-delay: 0.1s;
}

.animate-on-scroll-item:nth-child(2) {
    transition-delay: 0.2s;
}

.animate-on-scroll-item:nth-child(3) {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-nav {
        background-color: #1a2c3d;
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    .custom-navbar .nav-link {
        margin-left: 0;
        padding: 10px 15px;
    }
    .hero-section {
        height: auto;
        padding: 80px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section .lead {
        font-size: 1.1rem;
    }
    .hero-section img {
        max-height: 300px;
    }
    .platform-card .platform-img {
        border-radius: 15px 15px 0 0;
        height: 250px;
        width: 100%;
    }
    .platform-card .card-body {
        padding: 20px;
    }
    .platform-rating {
        border-radius: 0 0 10px 0;
    }
    .footer-logo {
        max-width: 90px;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .platform-card .card-body {
        text-align: center;
    }
    .platform-card .list-unstyled {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
    .platform-card .btn {
        width: auto !important;
    }
    .footer-logos {
        gap: 15px;
    }
    .footer-logo {
        max-width: 80px;
        margin: 0 5px;
    }
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    #ageVerificationModal .form-control {
        width: 120px !important;
    }
}
/*
 * Core styles for the policy content wrapper.
 * Provides outer spacing and sets a maximum width for readability.
 */
.policyOrbitalShell {
    margin-top: 2rem; /* Top margin for the entire content block */
    margin-inline: auto; /* Centers the block horizontally */
    max-width: 800px; /* Limits the content width for better readability */
    padding-inline: 1.5rem; /* Horizontal padding inside the wrapper */
}

/*
 * Heading 1 styles.
 * Provides a clear, but not excessively large, main heading.
 */
.policyOrbitalShell h1 {
    font-size: 1.8em; /* Relatively modest size for H1 */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Tighter line height for headings */
    margin-top: 2em; /* Space above the heading */
    margin-bottom: 1em; /* Space below the heading */
}

/*
 * Heading 2 styles.
 * Slightly smaller than H1, suitable for major sections.
 */
.policyOrbitalShell h2 {
    font-size: 1.5em; /* Smaller than H1 */
    font-weight: 600; /* Semi-bold font weight */
    line-height: 1.3;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
}

/*
 * Heading 3 styles.
 * For sub-sections, distinct but not dominant.
 */
.policyOrbitalShell h3 {
    font-size: 1.3em; /* Smaller than H2 */
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.5em;
    margin-bottom: 0.7em;
}

/*
 * Heading 4 styles.
 * For minor headings or points within sections.
 */
.policyOrbitalShell h4 {
    font-size: 1.1em; /* Smaller than H3 */
    font-weight: 500; /* Medium font weight */
    line-height: 1.5;
    margin-top: 1.2em;
    margin-bottom: 0.6em;
}

/*
 * Heading 5 styles.
 * Often used for small titles or emphasized text.
 */
.policyOrbitalShell h5 {
    font-size: 1em; /* Same as body text, but often bolded */
    font-weight: 500;
    line-height: 1.5;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

/*
 * Paragraph styles.
 * Sets basic readability for body text.
 */
.policyOrbitalShell p {
    font-size: 1em; /* Base font size */
    line-height: 1.6; /* Comfortable line height for paragraphs */
    margin-bottom: 1em; /* Space between paragraphs */
}

/*
 * Unordered list styles.
 * Provides default spacing and bullet points.
 */
.policyOrbitalShell ul {
    list-style-type: disc; /* Default bullet style */
    margin-bottom: 1em; /* Space after the list */
    padding-left: 1.5em; /* Indentation for bullet points */
}

/*
 * List item styles.
 * Ensures proper spacing between list items.
 */
.policyOrbitalShell li {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0.5em; /* Space between list items */
}
