/* ==================================== */
/* Updated & Improved CSS */
/* ==================================== */

/* --- Fonts & Colors --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Oswald:wght@500;700&display=swap');

:root {
    --primary-red: #D11919;
    --dark-black: #1A1A1A;
    --white: #fff;
    --light-grey: #F0F2F5;
    --text-dark: #333;
    --text-light: #f4f4f4;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-grey);
    overflow-x: hidden;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
    animation: fadeIn 1s ease-in-out;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-black);
}

h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}


.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 60px;
}

.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
}
        
        .btn.btn-red {
            background-color: #c62828;
            color: #fff;
            border: 2px solid #c62828;
        }
        
        .btn.btn-red:hover {
            background-color: #8e0000;
            border-color: #8e0000;
        }

        .btn.btn-light {
            color: #fff;
            border-color: #fff;
            background-color: transparent;
        }
        
        .btn.btn-light:hover {
            background: #fff;
            color: #D11919;
        }

.btn-donate {
  background-color: var(--primary-red);
  color: var(--white) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-donate:hover {
  border-color: var(--dark-black);
  background-color: #EC0006;
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-black);
    border: 2px solid var(--dark-black);
    font-family: 'Oswald', sans-serif;
}

.donate-btn-icon {
  margin-left: 8px;
  color: #ffebeb;
}


.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 50px;
}

/* Cleaned-up corrections for header */

.header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;  /* not sticky */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-container-nav {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
    color: #333;
}

.logo-nav {
    height: 40px;
    margin-right: 10px;
}


.logo-text {
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 2.2rem;  color: var(--dark-black);
  letter-spacing: 0.5px;
}

.donate-container {
    margin-left: 20px;
}

.donate-btn-icon {
    margin-right: -4px;
}

.dropdown {
    position: relative;
}



        
        .dropdown-menu a:hover {
            background-color: #f1f1f1 !important;
        }

        .dropdown.active .dropdown-menu {
            display: block;
        }

        .dropdown-toggle::after {
            content: "\f078";
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-left: 5px;
            font-size: 0.8rem;
            transition: transform 0.3s ease;
            vertical-align: middle;
        }

        .dropdown.active .dropdown-toggle::after {
            transform: rotate(180deg);
        }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: top 0.3s ease, opacity 0.3s ease;
    border-radius: 5px;
    padding: 10px 0;
    list-style: none;
    min-width: 160px;
    z-index: 100;
    transform: translateX(-50%);
}

.dropdown:hover .dropdown-menu {
    display: block;
    top: 100%;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px !important;
    color: #000 !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    text-transform: none;
    white-space: nowrap;
    letter-spacing: 0.3px !important;
}

.dropdown-menu a:hover {
    background-color: var(--light-grey);
    color: var(--primary-red);
}

.dropdown-menu a::after {
    content: none;
}

/* --- Hero Section with Video Background --- */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 80px;
    color: var(--white);
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background video */
.hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark overlay layer */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    color: var(--white);
}

.hero-text .subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 500;
}

.hero-text .subtitle-large {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    font-weight: 500;
}

.hero-logos-wrapper {
    width: 100%;
    background-color: rgb(255, 255, 255, 0.5);
    padding: 10px 0;
    margin-top: 50px;
}

.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.hero-logos img {
    height: 180px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(70%);
    transition: all 0.3s ease;
}

.hero-logos img:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

/* --- About Section --- */
.about-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
    color: var(--dark-black);
}

.about-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* --- Products Section --- */
.products-section {
    background-color: var(--light-grey);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image-container {
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-black);
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.status-badge {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

/* --- Team Section --- */
.team-section {
    background-color: var(--dark-black);
    color: var(--white);
    text-align: center;
}

.team-section h2 {
    color: var(--white);
}

.team-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.team-member-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.member-photo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-red);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.member-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--white);
}

.team-member-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.footer-info h3 {
    color: var(--primary-red);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.8;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.8rem;
    margin-right: 18px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-red);
    left: 0;
    bottom: -8px;
}

.footer-links ul, .footer-contact p {
    list-style: none;
    padding: 0;
}

.footer-links li a {
    color: var(--text-light);
    text-decoration: none;
    line-height: 2.5;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
    opacity: 0.6;
}

.email-address {
    color: var(--white);
    font-weight: 400;
}

/* --- Mobile Menu (Hamburger) --- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburgerx .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-black);
    margin: 5px auto;
    transition: all 0.3s ease;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu.active {
    display: flex;
    transform: translateX(0);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
}

.nav-links a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    color: #333;
    position: relative;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #000 !important;
}

.nav-links li {
    position: relative;
}



.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    left: 0;
    bottom: -6px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.btn {
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
}


.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Music Control & Overlay --- */
.music-controls-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    z-index: 1000;
    gap: 10px;
    transition: transform 0.3s ease;
}

.music-controls-container:hover .music-info-tooltip {
    opacity: 1;
    transform: translateX(-10px);
}

.music-info-tooltip {
    position: absolute;
    right: 60px;
    bottom: 0;
    background-color: var(--dark-black);
    color: var(--white);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-info-tooltip p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 400;
}

.music-info-tooltip a {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.music-info-tooltip a:hover {
    color: var(--white);
}

.music-control {
    background-color: var(--primary-red);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.music-control:hover {
    background-color: #a40e0e;
    transform: scale(1.05);
}

.music-control i {
    font-size: 20px;
}

.volume-control {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.volume-control i {
    color: var(--white);
    margin-right: 10px;
}

.volume-control input {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    outline: none;
    border-radius: 5px;
    transition: all 0.2s;
}

.volume-control input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: var(--primary-red);
    border-radius: 50%;
    cursor: pointer;
}

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

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

/* New/Updated Section Styles */
.page-header {
    background-color: var(--dark-black);
    color: var(--white);
    text-align: center;
    padding: 120px 0 60px;
}

.page-header h1 {
    color: var(--white);
    font-size: 4rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 10px auto 0;
    opacity: 0.8;
}

.content-section {
    padding: 80px 0;
}

/* Podcasts Page */
.podcast-player {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.podcast-player h3 {
    margin: 0;
    text-align: center;
}

.podcast-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.podcast-controls .control-btn {
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    color: var(--primary-red);
}

.podcast-controls .control-btn:hover {
    color: #a40e0e;
}

.podcast-progress-bar {
    width: 300px;
    height: 5px;
    background-color: var(--border-color);
    border-radius: 5px;
}

.podcast-progress-bar .progress {
    width: 30%;
    height: 100%;
    background-color: var(--primary-red);
    border-radius: 5px;
}

.podcast-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 30px;
    transition: transform 0.2s ease;
}

.podcast-card:hover {
    transform: translateY(-5px);
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Shop Page */
.product-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.btn-add-to-cart {
    background-color: var(--dark-black);
    color: var(--white);
    border: 2px solid var(--dark-black);
}

.btn-add-to-cart:hover {
    background-color: var(--white);
    color: var(--dark-black);
}

/* Community Pages (Forum) */
.forum-container {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.forum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.forum-header h2 {
    margin: 0;
    text-align: left;
}

.forum-thread-list {
    list-style: none;
    padding: 0;
}

.forum-thread {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
}

.forum-thread:hover {
    background-color: var(--light-grey);
}

.forum-thread:last-child {
    border-bottom: none;
}

.forum-thread h3 {
    margin-bottom: 5px;
}

.forum-thread p {
    font-size: 0.9rem;
    color: #888;
}

.new-thread-btn {
    background-color: var(--primary-red);
    color: var(--white);
    text-transform: uppercase;
}

/* News Page */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.article-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 25px;
}

.article-content h3 {
    margin-bottom: 10px;
}

.article-content p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

       /* Flexbox layout for video + description */
        .video-text-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            align-items: flex-start;
            margin-top: 30px;
        }

        .video-text-row iframe {
            flex: 1 1 40%;
            max-width: 400px;
        }
        .video-text-row img {
            flex: 1 1 40%;
            max-width: 400px;
        }

        .description {
            flex: 1 1 60%;
        }

        .description h3 {
            margin-top: 0;
        }

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
}

.flex-column {
  flex: 1;
  min-width: 300px;
}

.flex-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.video-wrapper iframe {
  width: 100%;
  height: auto;
  max-width: 267px;
  aspect-ratio: 9/16;
  border: none;
}

.content-section .title-main p {
  color: #134A8E;
  font-weight: bold;
  font-size: 1.5rem;
}



/* ==================================== */
/* RESPONSIVE MEDIA QUERIES */
/* ==================================== */

/* --- Tablet Devices (<= 992px) --- */
@media screen and (max-width: 992px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-links {
        gap: 12px;
        font-size: 12px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text h2 {
        text-align: center;
    }

    .team-grid {
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* --- Mobile Devices (<= 768px) --- */
@media screen and (max-width: 768px) {
  /* Show hamburger on mobile */
  .hamburger {
    display: flex;
  }

  /* Hide the regular nav menu until toggled */
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    h1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 150px;
        min-height: 70vh;
    }

    .hero-text .subtitle {
        font-size: 1.1rem;
    }

    .hero-logos img {
        height: 120px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding-top: 20px;
    }

    .nav-links a {
        font-size: 1rem;
    }
    
    .about-text h2 {
        text-align: center;
    }

    .products-grid, .podcasts-grid, .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Fixed Music Control for Mobile */
    .music-controls-container {
        flex-direction: column;
        gap: 15px;
        bottom: 10px;
        right: 10px;
        /* Aligned to the right */
        align-items: flex-end; 
    }
    
    .music-info-tooltip {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        width: 100%;
        text-align: right; /* Aligned to the right */
        padding: 8px 10px;
    }

    .podcast-player {
        padding: 20px;
    }

    .podcast-progress-bar {
        width: 100%;
    }
    
    .page-header h1 {
        font-size: 3rem;
    }

    .page-header p {
        font-size: 1rem;
    }

            .flag-card {
                width: 200px;
                height: 120px;
            }
            .video-text-row {
                flex-direction: column;
                align-items: center;
            }
            .video-text-row iframe, 
            .description {
                flex: 1 1 100%;
                max-width: 100%;
            }

}

@media (max-width: 480px) {
    .flag-card {
        width: 150px;
        height: 100px;
    }
}