* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "opensans";
    src: url(./fonts/OpenSans-VariableFont_wdth.ttf);
    font-display: swap;
}

:root {
    --primary-color: #e2582f;
    --secondary-color: #183f72;
    --text-color: #183f72;
    --background-gray-color: #fafafa;
}

::selection {
    background-color: var(--primary-color);
    color: white;
}

body {
    font-family: "opensans", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    max-height: 1000px;
    background-image: url("./images/header-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}

.blue {
    color: var(--secondary-color) !important;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(
        to top,
        rgb(255 255 255) 0%,
        rgb(255 255 255 / 73%) 30%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0px 0px 10px 10px;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgb(255 255 255 / 53%);
    width: 80%;
    margin-inline: auto;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
}

.hero-logo img {
    max-width: 200px;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    max-width: 900px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Section Titles */
.section-title {
    color: var(--primary-color);
    font-size: 2.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.section-subtitle-large {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: var(--text-color);
}

.highlight {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-secondary-full {
    font-family: Arial, sans-serif;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c94f22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 92, 42, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}
.btn-secondary-full {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary-full::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary-full:hover::before {
    left: 100%;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: white;
}

.logo-carousel {
    overflow: hidden;
    margin-top: 50px;
    position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 30%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0) 100%
    );
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 30%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0) 100%
    );
}

.logo-track {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.logo-track-1 {
    animation: scroll-left 30s linear infinite;
}

.logo-track-2 {
    animation: scroll-right 30s linear infinite;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.logo-item img {
    max-width: 150px;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: start;
}

.about-text h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-footer {
    margin-top: 30px;
    margin-bottom: 30px;
}

.about-video {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-video video {
    width: 100%;
    height: auto;
    display: block;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Forum Section */
.forum-section {
    padding: 80px 0;
    background-color: white;
}

.forum-content {
    display: grid;
    grid-template-columns: 65% 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: center;
}

.forum-intro {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.feature-cards {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .feature-cards {
        flex-direction: column;
    }

    .forum-features {
        order: 2;
    }
}

.feature-card {
    flex: 1;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 25px 10px;
    text-align: center;
}

.feature-card p {
    margin: 0;
    color: var(--text-color);
}

.feature-card strong {
    color: var(--secondary-color);
}

.forum-image {
    position: relative;
    background: var(--primary-color);
    padding: 1rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forum-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    margin-bottom: 3rem;
}

/* Figures Section */
.figures-section {
    padding: 80px 0;
    background-color: var(--background-gray-color);
}

.figures-cards {
    display: grid;
    grid-template-columns: repeat(3, 25%);
    gap: 5rem;
    margin-top: 50px;
    justify-content: center;
}

.figure-card {
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    padding: 5px 30px;
    align-content: center;
    text-align: center;
}

.figure-number {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Countries Section */
.countries-section {
    padding: 80px 0;
    background-color: white;
}

.countries-slider-wrapper {
    position: relative;
    margin-top: 50px;
    padding: 0 60px;
}

.countries-slider {
    overflow: hidden;
}

.countries-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.country-card {
    flex: 0 0 calc(20% - 16px);
    min-width: calc(20% - 16px);
    border-radius: 15px;
    overflow: hidden;
}

.country-card img {
    width: 100%;
    object-fit: cover;
}

.country-buttons {
    padding: 20px 0px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white;
}

.country-buttons .btn-primary,
.country-buttons .btn-secondary,
.country-buttons .btn-secondary-full {
    width: 100%;
    font-size: 0.9rem;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    padding-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

/* Reports Section */
.reports-section {
    padding: 80px 0;
    background-color: var(--background-gray-color);
}

.tabs-nav {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    font-family: Arial, sans-serif;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--secondary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-title {
    display: none;
    transition: opacity 0.3s ease;
}

.tab-btn.active .tab-title {
    display: inline;
}

.tab-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.tabs-content {
    margin-top: 40px;
}

.tab-panel {
    display: none;
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 40px;
    color: white;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.report-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.report-list li {
    margin-bottom: 2px;
    padding-left: 2rem;
    position: relative;
}

.report-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
}

.report-list a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    font-size: 1rem;
    line-height: 1.6;
    transition: opacity 0.3s;
    opacity: 0.9;
}

.report-list a:hover {
    opacity: 1;
    text-decoration: none;
}

/* Podcast Section */
.podcast-section {
    padding: 80px 0;
    background-color: white;
}

.podcast-subtitle {
    color: var(--secondary-color);
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.podcast-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.podcast-card {
    text-align: center;
}

.podcast-card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact-section {
    background-color: white;
    padding: 3rem 0;
}

.contact-card {
    background-color: white;
    border: 3px solid var(--secondary-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-icon {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.contact-card h2 {
    margin-bottom: 2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transition: left 0.5s ease;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.contact-btn svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact-btn span {
    position: relative;
    z-index: 1;
}

.contact-btn:hover svg {
    transform: translateX(5px);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: 15px 0;
    text-align: center;
}

.footer p {
    color: white;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-content,
    .forum-content {
        grid-template-columns: 1fr;
    }

    .figures-cards {
        grid-template-columns: 1fr;
    }

    .country-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .figures-cards {
        gap: 2rem;
    }
    .navbar .container {
        flex-direction: column;
    }
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .nav-links {
        gap: 15px;
    }

    .podcast-cards {
        grid-template-columns: 1fr;
    }

    .country-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }

    .countries-slider-wrapper {
        padding: 0 50px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .country-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        135deg,
        var(--secondary-color) 0%,
        #2a5298 100%
    );
    color: white;
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner-text h4 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

.cookie-link {
    color: #ffcc00;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: white;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cookie-btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #c94f22;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 92, 42, 0.3);
}

.cookie-btn-decline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Cookie Consent Responsive */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-banner-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        font-size: 0.85rem;
        padding: 8px 16px;
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h4 {
        font-size: 1.1rem;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .cookie-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}

/* Cookie Blocked Content */
.cookie-blocked-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 315px;
    border-radius: 15px;
    text-align: center;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .cookie-blocked-placeholder {
        min-height: 250px;
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .cookie-blocked-placeholder {
        min-height: 200px;
        padding: 20px 10px;
    }
    .cookie-blocked-placeholder svg {
        display: none;
    }
}
