/* Global Styles */
:root {
    --color-black: #000000;
    --color-dark-grey: #1a1a1a;
    --color-light-dark: #222222;
    --color-dark-card: #2c2c2c;
    --color-dark-alt: #121212;
    --color-white: #ffffff;
    --color-light-grey: #cccccc;
    --color-success: #28a745; /* Green */
    --color-success-hover: #218838;
    --color-red: #dc3545; /* Red */
    --color-red-dark: #8b0000; /* Darker Red for disclaimer */
    --color-info: #17a2b8;
    --color-info-hover: #138496;
    --color-warning: #ffc107;
    --color-18plus-red: #cc0000;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--color-dark-grey);
    color: var(--color-white);
    line-height: 1.6;
    margin-top: 70px; /* Offset for fixed header */
}

.text-muted{
    color: unset !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--color-white);
    font-weight: 700;
}

a {
    color: var(--color-success);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-success-hover);
}

.text-light-grey {
    color: var(--color-light-grey) !important;
}

.bg-dark {
    background-color: var(--color-black) !important;
}

.bg-dark-alt {
    background-color: var(--color-dark-alt) !important;
}

.bg-light-dark {
    background-color: var(--color-light-dark) !important;
}

.bg-dark-card {
    background-color: var(--color-dark-card) !important;
}

.bg-dark-footer {
    background-color: var(--color-black) !important;
}

.btn-success-custom {
    background-color: var(--color-success);
    border-color: var(--color-success);
    color: var(--color-white);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-success-custom:hover {
    background-color: var(--color-success-hover);
    border-color: var(--color-success-hover);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-danger-custom {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-danger-custom:hover {
    background-color: #bd2130;
    border-color: #bd2130;
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-info-custom {
    color: var(--color-info);
    border-color: var(--color-info);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.btn-outline-info-custom:hover {
    background-color: var(--color-info);
    color: var(--color-white);
    border-color: var(--color-info);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
    color: var(--color-success);
}

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

/* Header */
header {
    z-index: 1030;
}

.logo-img {
    height: 40px;
    width: auto;
}

.company-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* Age Verification Modal */
.age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.age-verification-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-verification-content {
    background-color: var(--color-dark-alt);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-success);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 70px; /* Account for fixed header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-section .container-fluid {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    color: var(--color-success);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-light-grey);
}

.hero-image {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Platform Cards */
.platform-card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.platform-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-card .rating i {
    color: var(--color-success);
}

.platform-card .features-list li {
    margin-bottom: 8px;
    color: var(--color-light-grey);
}

.platform-card .features-list i {
    color: var(--color-success);
}

/* Rating Criteria Explanation */
.btn-outline-info-custom {
    color: var(--color-info);
    border-color: var(--color-info);
}

.btn-outline-info-custom:hover {
    background-color: var(--color-info);
    color: var(--color-white);
}

/* Articles Block (Carousel) */
.articles-carousel .carousel-item {
    padding: 20px;
}

.article-card {
    max-width: 600px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-card .card-img-top {
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--color-success);
    border-radius: 50%;
    padding: 15px;
    background-size: 50%;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

/* FAQ Section */
.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-dark-card);
    padding: 1rem 1.25rem;
    border: none;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--color-success);
    background-color: var(--color-dark-alt);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) saturate(100%) invert(35%) sepia(93%) saturate(392%) hue-rotate(80deg) brightness(102%) contrast(89%); /* Green filter */
}

.accordion-body {
    background-color: var(--color-dark-alt);
    color: var(--color-light-grey);
    padding: 1rem 1.25rem;
}

/* About Project Section */
.about-card {
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Disclaimer Block */
.disclaimer-block {
    background-color: var(--color-red-dark) !important;
    border-top: 3px solid var(--color-red);
    border-bottom: 3px solid var(--color-red);
    margin-top: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.disclaimer-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: 0.1;
}

.disclaimer-block .disclaimer-text {
    font-size: 1.1rem;
    color: var(--color-light-grey);
}

.disclaimer-block .fa-exclamation-triangle {
    color: var(--color-warning);
}

/* Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer-links li a {
    color: var(--color-light-grey);
    transition: color 0.3s ease;
}

.footer-links li a.hover-success:hover {
    color: var(--color-success);
}

.footer-org-logos {
    gap: 15px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px; /* Fixed height for consistency */
    width: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

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

.footer-logo {
    max-width: 120px; /* Adjusted width for more logos */
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) contrast(1.2); /* Slightly muted but still visible */
}

.footer-18plus-icon {
    max-width: 60px;
    filter: none; /* No filter for 18+ icon */
    background-color: var(--color-18plus-red);
    padding: 5px;
    border-radius: 5px;
    height: auto;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-success);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.scroll-to-top:hover {
    background-color: var(--color-success-hover);
    color: var(--color-white);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-dark-alt);
    border-top: 1px solid var(--color-success);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1040;
    display: none; /* Hidden by default, shown by JS */
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--color-light-grey);
}

.cookie-banner a {
    color: var(--color-success);
    font-weight: 600;
}

.cookie-banner .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

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

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section {
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        max-height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner .d-flex.gap-2 {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner .d-flex.gap-2 .btn {
        flex: 1;
    }

    .footer-org-logos {
        justify-content: center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .platform-card .card-img-top {
        height: 180px;
    }
}

/* AOS animation overrides */
[data-aos] {
    transition-property: opacity, transform;
}
/* Policy Orbital Shell specific styles */
.policyOrbitalShell {
    /* Padding for the top and sides of the content */
    padding: 2.5rem 1.5rem; /* Top/bottom, Left/right */
    max-width: 960px; /* Max width for readability */
    margin-left: auto; /* Center the content */
    margin-right: auto; /* Center the content */
}

/* Heading 1 styles within the shell */
.policyOrbitalShell h1 {
    font-size: 2.25rem; /* Moderately sized main heading */
    margin-top: 2rem; /* Space above heading */
    margin-bottom: 1.25rem; /* Space below heading */
    line-height: 1.2; /* Line height for readability */
    color: var(--color-white); /* White color from global variables */
    font-family: 'Poppins', sans-serif; /* Poppins font from global styles */
}

/* Heading 2 styles within the shell */
.policyOrbitalShell h2 {
    font-size: 1.875rem; /* Sub-heading size */
    margin-top: 1.75rem; /* Space above heading */
    margin-bottom: 1rem; /* Space below heading */
    line-height: 1.3; /* Line height for readability */
    color: var(--color-white); /* White color from global variables */
    font-family: 'Poppins', sans-serif;
}

/* Heading 3 styles within the shell */
.policyOrbitalShell h3 {
    font-size: 1.5rem; /* Section title size */
    margin-top: 1.5rem; /* Space above heading */
    margin-bottom: 0.875rem; /* Space below heading */
    line-height: 1.4; /* Line height for readability */
    color: var(--color-white); /* White color from global variables */
    font-family: 'Poppins', sans-serif;
}

/* Heading 4 styles within the shell */
.policyOrbitalShell h4 {
    font-size: 1.25rem; /* Sub-section title size */
    margin-top: 1.25rem; /* Space above heading */
    margin-bottom: 0.75rem; /* Space below heading */
    line-height: 1.5; /* Line height for readability */
    color: var(--color-white); /* White color from global variables */
    font-family: 'Poppins', sans-serif;
}

/* Heading 5 styles within the shell */
.policyOrbitalShell h5 {
    font-size: 1.125rem; /* Smaller heading size */
    margin-top: 1rem; /* Space above heading */
    margin-bottom: 0.625rem; /* Space below heading */
    line-height: 1.5; /* Line height for readability */
    color: var(--color-white); /* White color from global variables */
    font-family: 'Poppins', sans-serif;
}

/* Paragraph styles within the shell */
.policyOrbitalShell p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 1rem; /* Space below paragraph */
    line-height: 1.6; /* Comfortable line height for text */
    color: var(--color-light-grey); /* Light grey color from global variables */
    font-family: 'Open Sans', sans-serif; /* Open Sans font from global styles */
}

/* Unordered list styles within the shell */
.policyOrbitalShell ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-top: 1rem; /* Space above the list */
    margin-bottom: 1rem; /* Space below the list */
    padding-left: 1.5rem; /* Indentation for bullet points */
    color: var(--color-light-grey); /* Inherit color for list items */
    font-family: 'Open Sans', sans-serif;
}

/* List item styles within the shell */
.policyOrbitalShell li {
    font-size: 1rem; /* Standard list item text size */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Comfortable line height for list items */
    color: var(--color-light-grey); /* Light grey color from global variables */
    font-family: 'Open Sans', sans-serif;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .policyOrbitalShell {
        padding: 2rem 1rem; /* Adjust padding for smaller screens */
    }

    .policyOrbitalShell h1 {
        font-size: 1.875rem; /* Smaller h1 on mobile */
    }

    .policyOrbitalShell h2 {
        font-size: 1.5rem; /* Smaller h2 on mobile */
    }

    .policyOrbitalShell h3 {
        font-size: 1.25rem; /* Smaller h3 on mobile */
    }

    .policyOrbitalShell h4 {
        font-size: 1.125rem; /* Smaller h4 on mobile */
    }

    .policyOrbitalShell h5,
    .policyOrbitalShell p,
    .policyOrbitalShell li {
        font-size: 0.95rem; /* Slightly smaller body text on mobile */
    }

    .platform-card .card-img-top{
        height: auto;
    }
}
