/* --- COLOR PALETTE & VARIABLES --- */
:root {
    /* Primary Brand Colors */
    --brand-maroon: #6D050F;
    /* Deep Maroon */
    --brand-red: #A82626;
    /* Red Variant */
    --brand-black: #161616;
    /* Near-Black */
    --brand-white: #FFFFFF;
    /* White */

    /* Tints (Derived from Primary if needed, or specific greys) */
    --bg-cream: #F8F8F8;
    /* Keeping a very light grey/white for background instead of cream to match "Clean/Neat" */

    /* Mappings to functional variables */
    --primary-color: var(--brand-maroon);
    --secondary-color: var(--brand-red);
    --text-dark: var(--brand-black);
    --bg-light: var(--brand-white);
    --accent-color: var(--brand-red);
}

/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Now', 'Helvetica', 'Arial', sans-serif;
    /* Secondary/Body */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Times New Roman', 'Times', serif;
    /* Main Headlines */
    font-weight: 700;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 50px;
}

.page {
    display: none;
    opacity: 0;
}

.page.active {
    display: block;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* --- HEADER & NAV --- */
/* ==========================================
   NAVIGATION -
   ========================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(22, 22, 22, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

header:hover {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 0 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Logo */
.header-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-left: -30px;
}

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

.header-logo img {
    height: 70px;
    width: auto;
    margin-top: 8px;
}

/* Footer Logo */
.footer-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.footer-logo img {
    height: 150px;
    width: auto;
    margin-top: 16px;
}

nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

nav a,
.dropbtn {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 1.5s ease;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 0;
    font-family: inherit;
    letter-spacing: 0.3px;
}

/* Animated Underline Effect */
nav a::after,
.dropbtn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #6D050F, #A82626);
    transition: width 0.3s ease;
    border-radius: 2px;
}

nav a:hover::after,
nav a.active::after,
.dropdown:hover .dropbtn::after {
    width: 100%;
}

nav a:hover,
nav a.active,
.dropdown:hover .dropbtn {
    color: #ffffff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(22, 22, 22, 0.98);
    backdrop-filter: blur(10px);
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 12px;
    top: 100%;
    left: 0;
    padding: 8px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a {
    color: #d1d5db;
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-content a::after {
    display: none;
    /* Remove underline from dropdown items */
}

.dropdown-content a:hover {
    background: rgba(109, 5, 15, 0.2);
    color: #ffffff;
    padding-left: 24px;
    /* Slide effect */
}

.dropdown:hover .dropdown-content {
    display: block;
    /* animation: fadeInUp 0.2s ease; */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.mobile-menu-btn img {
    width: 30px;
    /* Adjust size as needed */
    height: auto;
    display: block;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: rgba(22, 22, 22, 0.98);
    transition: max-height 0.4s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-menu a {
    display: block;
    padding: 18px 30px;
    color: #d1d5db;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    font-weight: 500;
}

.mobile-menu a:hover {
    background: rgba(109, 5, 15, 0.2);
    color: #ffffff;
    padding-left: 40px;
    /* Slide effect on hover */
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* --- BUTTONS --- */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--bg-cream);
    color: var(--white);
    border: 2px solid rgba(65, 100, 74, 0.1);
}

.btn-primary:hover {
    /* background: #d06015; */
    background: #d06015;
    color: rgb(255, 255, 255);
    /* Darker orange */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 118, 43, 0.3);
}

a.btn.btn-spotify {
    background: var(--bg-cream);
    color: var(--white);
    border: 2px solid rgba(65, 100, 74, 0.1);
}

a.btn.btn-spotify:hover {
    /* background: #d06015; */
    background: #3BE477;
    color: rgb(255, 255, 255);
    /* Darker orange */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 118, 43, 0.3);
}

.btn-secondary {
    background: var(--bg-cream);
    color: rgb(0, 0, 0);
    border: 2px solid var(--white);
    border: 2px solid rgba(65, 100, 74, 0.292);
}

.btn-secondary:hover {
    background: #d06015;
    color: white;
    transform: translateY(-3px);
}

.btn-ourwork {
    background: var(--bg-cream);
    color: rgb(0, 0, 0);
    border: 2px solid var(--white);
    border: 2px solid rgba(65, 100, 74, 0.1);
}

.btn-youtube {
    background: var(--bg-cream);
    color: rgb(0, 0, 0);
    border: 2px solid var(--white);
    border: 2px solid rgba(65, 100, 74, 0.1);
}

.btn-youtube:hover {
    background: #b10000e6;
    color: white;
    transform: translateY(-3px);
}

/* --- HERO SLIDESHOW SECTION --- */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Dark Overlay to make text readable */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(109, 5, 15, 0.7); */
    background: linear-gradient(to bottom, #ffffff2c 0%, #e0e0e02d 00%, #000000dd 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-family: 'Times New Roman', Times, serif;
}


.hero .highlight {
    color: var(--accent-orange);
}

.hero p {
    font-size: 27px;
    color: #e2e8f0;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* --- STATS --- */
.stats {
    padding: 80px 20px;
    background: var(--white);
    margin-top: -60px;
    /* Overlap hero slightly */
    position: relative;
    z-index: 10;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.stat-card {
    background: var(--bg-cream);
    /* Cream background for cards */
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid rgba(65, 100, 74, 0.1);
}

.stat-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    border-color: var(--accent-orange);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-orange);
}

.stat-label {
    color: var(--brand-black);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* --- GENERAL SECTIONS --- */
.section {
    padding: 65px 20px;
}

.bg-gray {
    background: var(--bg-cream);
    /* Matches body bg */
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--brand-maroon);
}

.section-subtitle {
    text-align: center;
    color: var(--brand-red);
    margin-bottom: 60px;
    font-size: 18px;
}

/* --- GRIDS & CARDS --- */
.grid {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

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

/* Centered grid for Junior Union to align last row */
.centered-card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.centered-card-grid .card {
    flex: 1 1 280px;
}

.card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid rgba(65, 100, 74, 0.1);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--brand-maroon);
}

.card p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- PROJECT CARDS (3D Flip Style) --- */
.proj-card-container {
    background-color: transparent;
    perspective: 1000px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
}

.proj-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.proj-card-container:hover .proj-card-inner {
    transform: rotateY(180deg);
}

/* Shared face styles */
.proj-card-front,
.proj-card-back {
    box-shadow: 0 8px 20px rgba(109, 5, 15, 0.12);
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 1px solid rgba(109, 5, 15, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

/* ---- FRONT FACE ---- */
.proj-card-front {
    background: linear-gradient(135deg, #fff8f8 0%, #f5ecec 50%, #f0e4e5 100%);
    color: var(--brand-maroon);
    padding: 24px 20px;
    gap: 12px;
}

.proj-card-front .proj-card-img {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.proj-card-front .proj-card-img img {
    max-width: 65%;
    max-height: 100%;
    object-fit: contain;
}

.proj-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin: 0;
    line-height: 1.3;
}

.proj-card-summary {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    padding: 0 8px;
}

/* ---- BACK FACE ---- */
.proj-card-back {
    background: linear-gradient(135deg, var(--brand-maroon) 0%, var(--brand-red) 60%, #c43c3c 100%);
    color: white;
    transform: rotateY(180deg);
    padding: 28px 22px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
}

.proj-card-heading {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    width: 100%;
    text-align: center;
}

.proj-card-detail {
    width: 100%;
}

.proj-card-detail p {
    font-size: 13px;
    line-height: 1.6;
    color: #f0e4e5;
    margin: 0;
}

.proj-card-detail strong {
    color: #ffffff;
    font-weight: 700;
}

.proj-card-detail--objective {
    border-left: 3px solid rgba(255, 255, 255, 0.5);
    padding-left: 12px;
}

.proj-card-detail--deliverables {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 12px;
}

/* Hover shadow lift */
.proj-card-container:hover .proj-card-front,
.proj-card-container:hover .proj-card-back {
    box-shadow: 0 16px 40px rgba(109, 5, 15, 0.25);
}

/* --- PODCAST GRID & CARDS --- */
.podcast-section {
    background-color: var(--bg-cream);
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
}

.podcast-card {
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    border: 2px solid rgba(65, 100, 74, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.podcast-card:hover {
    border-color: var(--brand-maroon);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.podcast-card-thumbnail {
    width: 100%;
    height: 180px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.podcast-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.podcast-card-body h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--brand-maroon);
}

.podcast-card-body .podcast-guest {
    margin-bottom: 5px;
}

.podcast-card-body .podcast-desc {
    font-size: 13px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

.podcast-card-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.podcast-card-actions .btn {
    flex: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .podcast-grid {
        grid-template-columns: 1fr;
    }
}

.icon {
    width: 48px;
    height: 48px;
    color: var(--accent-orange);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.card:hover .icon {
    transform: scale(1.1);
}

/* -- INNER PAGES --- */
.page-hero {
    padding: 140px 20px 80px;
    background: var(--brand-maroon);
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out;
}

/* --- FORMS --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--brand-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background: var(--bg-cream);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

/* --- FOOTER --- */
footer {
    background: var(--brand-black);
    color: #d1d5db;
    padding: 60px 20px 20px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-grid h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-grid a {
    color: #d1d5db;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

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


@media (max-width: 768px) {


    .hero h1 {
        font-size: 36px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .centered-card-grid .card {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* --- PARTNER COLLABORATION STRIP --- */
.partner-section {
    padding: 60px 0;
    background: var(--white);
    overflow: hidden;
}

.partner-strip {
    display: flex;
    width: 200%;
    justify-content: center;
    gap: 1px;
    align-items: center;
    animation: scroll 20s linear infinite;
}

.partner-strip:hover {
    animation-play-state: paused;
}

.partner-logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.partner-logo img {
    max-height: 60px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.partner-logo img:hover {
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   WORK SECTION - EXACT CODE
   ========================================== */

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.work-box {
    position: relative;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.work-box:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.work-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-box:hover img {
    transform: scale(1.15);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgb(109 5 15 / 43%), rgba(168, 38, 38, 0.9));
    ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 30px;
    text-align: center;
}

.work-box:hover .work-overlay {
    opacity: 1;
}

.work-overlay h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

/* ==========================================
   HOME PAGE - WORK GRID CARD LABELS
   Scoped to #home so other pages are unaffected
   ========================================== */

#home .work-card-wrapper {
    display: flex;
    flex-direction: column;
}

#home .work-card-label {
    font-family: 'Times New Roman', Times, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-maroon);
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    #home .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    #home .work-grid {
        grid-template-columns: 1fr;
    }
}


.feature-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.feature-section.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: translateY(-5px);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin-bottom: 20px;
    font-family: 'Times New Roman', Times, serif;
}

.feature-content p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

@media (max-width: 900px) {
    .feature-section {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .feature-section.reverse {
        flex-direction: column;
    }

    .feature-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

.work-box:hover .work-overlay h3 {
    transform: translateY(0);
}

.work-overlay p {
    color: #f0f0f0;
    font-size: 15px;
    margin-bottom: 24px;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.work-box:hover .work-overlay p {
    transform: translateY(0);
}

.work-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.4s ease 0.3s;
}

.work-box:hover .work-overlay .btn {
    transform: translateY(0);
    font-size: 20px;
    padding: 10px 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-box {
        height: 300px;
    }
}

/* --- FOOTER SOCIAL LINKS --- */
.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-orange);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* ==========================================
   MODERN EVENT CARDS - ALTERNATING LAYOUT
   ========================================== */

.events-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.event-card {
    display: flex;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(109, 5, 15, 0.1);
}

.event-card:hover {
    box-shadow: 0 20px 60px rgba(109, 5, 15, 0.15);
    transform: translateY(-8px);
    border-color: var(--brand-maroon);
}

/* Image Section */
.event-image-wrapper {
    position: relative;
    flex: 0 0 45%;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover .event-image {
    transform: scale(1.08);
}

.event-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(109, 5, 15, 0.8), rgba(168, 38, 38, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-card:hover .event-image-overlay {
    opacity: 1;
}

.event-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-maroon);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.event-card:hover .event-badge {
    transform: translateY(0);
    opacity: 1;
}

/* Content Section */
.event-content {
    flex: 1;
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.event-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    display: inline-block;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-maroon), var(--brand-red));
    border-radius: 2px;
}

.event-date {
    font-size: 14px;
    color: var(--brand-red);
    font-weight: 600;
    background: rgba(168, 38, 38, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.event-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.event-location,
.event-participants {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-description {
    color: #444;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 16px;
    text-align: justify;
}

.event-description:last-child {
    margin-bottom: 0;
}

/* Alternating Layout */
.event-card-left {
    flex-direction: row;
}

.event-card-right {
    flex-direction: row-reverse;
}

.event-card-compact .event-content {
    padding: 30px 35px;
}

.event-card-compact .event-image-wrapper {
    flex: 0 0 40%;
}

@media (max-width: 1024px) {
    .event-card-compact .event-content {
        padding: 25px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-card {
        flex-direction: column !important;
    }

    .event-card-right {
        flex-direction: column-reverse !important;
    }

    .event-image-wrapper {
        flex: 0 0 350px;
    }

    .event-content {
        padding: 35px 40px;
    }

    .event-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .events-container {
        gap: 35px;
    }

    .event-card {
        border-radius: 16px;
    }

    .event-image-wrapper {
        flex: 0 0 280px;
    }

    .event-content {
        padding: 28px 24px;
    }

    .event-title {
        font-size: 24px;
    }

    .event-title::after {
        width: 45px;
        height: 3px;
    }

    .event-meta {
        flex-direction: column;
        gap: 12px;
    }

    .event-description {
        font-size: 14px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .event-image-wrapper {
        flex: 0 0 220px;
    }

    .event-content {
        padding: 24px 20px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-maroon) var(--bg-cream);
}

/* ==========================================
   EVENTS PAGE - FELLOWSHIP FEATURE LAYOUT
   ========================================== */

.fellowship-feature {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(109, 5, 15, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.fellowship-feature:hover {
    box-shadow: 0 20px 60px rgba(109, 5, 15, 0.15);
    transform: translateY(-6px);
    border-color: var(--brand-maroon);
}

.fellowship-image-wrapper {
    position: relative;
    flex: 0 0 45%;
    overflow: hidden;
    min-height: 420px;
}

.fellowship-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fellowship-feature:hover .fellowship-image {
    transform: scale(1.05);
}

.fellowship-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(109, 5, 15, 0.15), rgba(168, 38, 38, 0.05));
    pointer-events: none;
}

.fellowship-content {
    flex: 1;
    padding: 45px 50px 45px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

/* Collaboration logo strip */
.fellowship-collab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(109, 5, 15, 0.1);
}

.collab-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sponsor-text {
    font-size: 13px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-right: 12px;
}

.collab-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.collab-logo:hover {
    transform: scale(1.08);
}

.collab-logo-sm {
    height: 44px;
}

.collab-sep {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-maroon);
    opacity: 0.5;
}

/* Responsive: Fellowship */
@media (max-width: 1024px) {
    .fellowship-feature {
        flex-direction: column;
    }

    .fellowship-image-wrapper {
        flex: 0 0 320px;
        width: 100%;
    }

    .fellowship-content {
        padding: 35px 40px;
    }
}

@media (max-width: 768px) {
    .fellowship-image-wrapper {
        min-height: 260px;
    }

    .fellowship-content {
        padding: 28px 24px;
    }

    .fellowship-collab {
        gap: 16px;
    }

    .collab-logo {
        height: 44px;
    }

    .collab-logo-sm {
        height: 34px;
    }
}

/* ==========================================
   EVENTS PAGE - SESSION IMAGE CARDS
   ========================================== */

.session-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(109, 5, 15, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.session-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(109, 5, 15, 0.14);
    border-color: var(--brand-maroon);
}

.session-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.session-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.session-card:hover .session-image {
    transform: scale(1.07);
}

.session-body {
    padding: 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.session-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin-bottom: 6px;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    display: inline-block;
}

.session-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-maroon), var(--brand-red));
    border-radius: 2px;
}

.session-speaker {
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-red);
    margin-top: 12px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.session-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.75;
    margin-top: auto;
}

/* ==========================================
   EVENTS PAGE - SECTION INTRO TEXT
   ========================================== */

.section-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

/* --- HORIZONTAL REPORT CARD LAYOUT --- */
.report-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.report-item {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(109, 5, 15, 0.08);
}

.report-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(109, 5, 15, 0.12);
    border-color: var(--brand-maroon);
}

.report-image-wrapper {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.report-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.report-item:hover .report-image-wrapper img {
    transform: scale(1.05);
}

.report-content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.report-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-maroon);
    margin-bottom: 12px;
    font-family: 'Times New Roman', Times, serif;
    position: relative;
    display: inline-block;
}

.report-content h3::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-maroon), var(--brand-red));
    margin-top: 6px;
    border-radius: 2px;
}

.report-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .report-item {
        flex-direction: column;
    }

    .report-image-wrapper {
        width: 100%;
        height: 220px;
        min-height: auto;
        flex: none;
    }

    .report-content {
        padding: 24px;
    }
}

/* ==========================================
   RESEARCH PAGE SPECIFIC STYLES
   Scoped with #research-page ID to prevent conflicts
   ========================================== */

/* Enhanced page hero */
#research-page .page-hero {
    /* background: linear-gradient(135deg, #6D050F 0%, #A82626 100%); */
    background: #6D050F;
    position: relative;
    overflow: hidden;
}

#research-page .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

#research-page .page-hero h1,
#research-page .page-hero p {
    position: relative;
    z-index: 1;
}

/* Enhanced section styling */
#research-page .section {
    padding: 30px 20px;
    background: var(--bg-cream);
}

#research-page .section-title {
    font-size: 42px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#research-page .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6D050F, #A82626);
    border-radius: 2px;
}

/* Enhanced card styling */
#research-page #articles .card {
    background: #FFFFFF;
    border: 1px solid rgba(109, 5, 15, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#research-page #articles .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6D050F, #A82626);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

#research-page #articles .card:hover::before {
    transform: scaleX(1);
}

#research-page #articles .card:hover {
    border-color: rgba(109, 5, 15, 0.2);
    box-shadow: 0 12px 32px rgba(109, 5, 15, 0.12);
    transform: translateY(-8px);
}

#research-page #articles .card h3 {
    color: #6D050F;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

#research-page #articles .card:hover h3 {
    color: #A82626;
}

#research-page #articles .card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Enhanced button styling */
#research-page .btn-primary {
    background: linear-gradient(135deg, #6D050F 0%, #A82626 100%);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(109, 5, 15, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

#research-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

#research-page .btn-primary:hover::before {
    left: 100%;
}

#research-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 5, 15, 0.3);
}

/* Enhanced "More Articles" card */
#research-page #articles .card[style*="background: var(--bg-cream)"] {
    background: linear-gradient(135deg, #F8F8F8 0%, #FFFFFF 100%) !important;
    border: 2px dashed rgba(109, 5, 15, 0.2);
    transition: all 0.4s ease;
}

#research-page #articles .card[style*="background: var(--bg-cream)"]:hover {
    border-style: solid;
    border-color: #6D050F;
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%) !important;
}

/* Enhanced feature section */
#research-page .feature-section {
    display: flex;
    gap: 60px;
    align-items: center;
    background: #FFFFFF;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

#research-page .feature-section:hover {
    box-shadow: 0 16px 48px rgba(109, 5, 15, 0.12);
    transform: translateY(-4px);
}

#research-page .feature-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

#research-page .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

#research-page .feature-section:hover .feature-image img {
    transform: scale(1.05);
}

#research-page .feature-content {
    flex: 1;
}

#research-page .feature-content h3 {
    font-size: 36px;
    color: #6D050F;
    margin-bottom: 20px;
    line-height: 1.3;
}

#research-page .feature-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
}

/* Placeholder for feature images with src="#" */
#research-page .feature-image img[src="#"] {
    min-height: 280px;
    background: linear-gradient(135deg, #f0e8e8 0%, #e8d0d0 100%);
    display: block;
}

/* Background sections */
#research-page .bg-gray {
    background: var(--bg-cream);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #research-page .section {
        padding: 60px 20px;
    }

    #research-page .section-title {
        font-size: 32px;
    }

    #research-page .feature-section {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
    }

    #research-page .feature-content h3 {
        font-size: 28px;
    }

}

/* ==========================================
   ARTICLES PAGE SPECIFIC STYLES
   Scoped with #articles-page ID to prevent conflicts
   ========================================== */

/* Enhanced page hero - consistent with research page */
#articles-page .page-hero {
    background: #6D050F;
    position: relative;
    overflow: hidden;
}

#articles-page .page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

#articles-page .page-hero h1,
#articles-page .page-hero p {
    position: relative;
    z-index: 1;
}

/* Enhanced section styling */
#articles-page .section {
    padding: 100px 20px;
    background: var(--bg-cream);
}

#articles-page .section-title {
    font-size: 42px;
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

#articles-page .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6D050F, #A82626);
    border-radius: 2px;
}

/* Enhanced card styling */
#articles-page .card {
    background: #FFFFFF;
    border: 1px solid rgba(109, 5, 15, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

#articles-page .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #6D050F, #A82626);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

#articles-page .card:hover::before {
    transform: scaleX(1);
}

#articles-page .card:hover {
    border-color: rgba(109, 5, 15, 0.2);
    box-shadow: 0 12px 32px rgba(109, 5, 15, 0.12);
    transform: translateY(-8px);
}

#articles-page .card h3 {
    color: #6D050F;
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

#articles-page .card:hover h3 {
    color: #A82626;
}

#articles-page .card p {
    /* Articles page doesn't usually have p tags in cards generally, but for consistency if added */
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Enhanced button styling */
#articles-page .btn-primary {
    background: linear-gradient(135deg, #6D050F 0%, #A82626 100%);
    color: #FFFFFF;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(109, 5, 15, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
}

#articles-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

#articles-page .btn-primary:hover::before {
    left: 100%;
}

#articles-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109, 5, 15, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #articles-page .section {
        padding: 60px 20px;
    }

    #articles-page .section-title {
        font-size: 32px;
    }
}

/* ==========================================
    MOBILE RESPONSIVE STYLES
   ========================================== */

/* --- TABLET & SMALL SCREENS (≤768px) --- */
@media (max-width: 768px) {

    /* --- Header & Navigation --- */
    .nav-wrapper {
        height: 65px;
        padding: 0 15px;
    }

    .header-logo img {
        height: 60px;
        margin-left: 40px;
    }

    /* --- Hero Section --- */
    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 32px;
        padding: 0 10px;
    }

    .hero-content {
        padding: 0 15px;

    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 80%;
        text-align: center;
    }

    /* --- Stats Section --- */
    .stats {
        padding: 50px 15px;
        margin-top: -30px;
        border-radius: 16px 16px 0 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .stat-card {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* --- Section Titles & Subtitles --- */
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* --- Sections General --- */
    .section {
        padding: 60px 15px;
    }

    .container {
        padding: 0 15px;
    }

    /* --- Page Hero (inner pages) --- */
    .page-hero {
        padding: 120px 15px 50px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 15px;
    }

    /* --- Cards & Grids --- */
    .card {
        padding: 20px;
    }

    .grid-2 {
        grid-template-columns: 1fr !important;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* --- Project Cards --- */
    .proj-card-container {
        height: 340px;
    }

    .proj-card-back {
        padding: 20px 16px;
    }

    .proj-card-heading {
        font-size: 18px;
    }

    .proj-card-detail p {
        font-size: 12px;
    }

    .proj-card-summary {
        font-size: 12px;
    }

    /* --- Work Section --- */
    .work-overlay h3 {
        font-size: 1.3rem;
    }

    .work-overlay p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .work-overlay .btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .work-box {
        height: 250px;
    }

    /* --- Feature Sections --- */
    .feature-content h3 {
        font-size: 24px;
    }

    .feature-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .feature-image img {
        border-radius: 12px;
    }

    /* --- Partner Strip --- */
    .partner-section {
        padding: 40px 0;
    }

    .partner-logo {
        padding: 0 15px;
    }

    .partner-logo img {
        max-height: 40px;
    }

    /* --- Footer --- */
    footer {
        padding: 40px 15px 15px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

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

    .footer-logo img {
        height: 80px;
        margin-top: 8px;
    }

    .footer-grid h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding-top: 15px;
    }

    .footer-bottom p {
        font-size: 13px;
        text-align: center;
    }

    /* --- Buttons --- */
    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }

    /* --- Forms --- */
    .form-group input,
    .form-group textarea {
        font-size: 15px;
        padding: 10px;
    }

    /* --- About Page - Team Cards --- */
    .centered-card-grid {
        gap: 20px;
    }

    .centered-card-grid .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* --- Report Cards --- */
    .report-content h3 {
        font-size: 20px;
    }

    .report-content p {
        font-size: 14px;
    }

    /* --- Research Page Specific --- */
    #research-page .feature-section {
        padding: 30px 20px;
        gap: 30px;
    }

    #research-page .feature-content h3 {
        font-size: 24px;
    }

    #research-page #additional-research .card {
        padding: 24px;
    }

    #research-page #additional-research .card h3 {
        font-size: 20px;
    }

    /* --- Mobile Menu Refinements --- */
    .mobile-menu a {
        padding: 15px 20px;
        font-size: 15px;
    }

    .mobile-menu.active {
        max-height: 400px;
    }
}

/* --- SMALL PHONES (≤480px) --- */
@media (max-width: 480px) {

    /* --- Header --- */
    .nav-wrapper {
        height: 55px;
        padding: 0 12px;
    }

    .header-logo img {
        height: 40px;
        margin-top: 5px;
        margin-left: 30px;
    }

    /* --- Hero --- */
    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 22px;
        margin-top: 40px;
    }

    .hero p {
        margin-top: 40px;
        font-size: 18px;
    }

    .hero-buttons .btn {
        width: 90%;
        font-size: 13px;
    }

    /* --- Stats --- */
    .stats {
        padding: 40px 10px;
        margin-top: -20px;
        border-radius: 12px 12px 0 0;
    }

    .stats-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 10px;
    }

    .stat-card {
        padding: 18px 10px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 10px;
    }

    /* --- Sections --- */
    .section {
        padding: 40px 10px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .container {
        padding: 0 10px;
    }

    /* --- Page Hero --- */
    .page-hero {
        padding: 100px 12px 40px;
    }

    .page-hero h1 {
        font-size: 26px;
    }

    .page-hero p {
        font-size: 14px;
    }

    /* --- Cards --- */
    .card {
        padding: 16px;
        border-radius: 12px;
    }

    .card h3 {
        font-size: 16px;
    }

    .card p {
        font-size: 13px;
    }

    .proj-card-container {
        height: 320px;
    }

    .proj-card-back {
        padding: 16px 14px;
        gap: 8px;
    }

    .proj-card-heading {
        font-size: 16px;
    }

    .proj-card-detail p {
        font-size: 11px;
        line-height: 1.5;
    }

    .proj-card-title {
        font-size: 16px;
    }

    .proj-card-summary {
        font-size: 11px;
    }

    /* --- Work Section --- */
    .work-box {
        height: 200px;
    }

    .work-overlay h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .work-overlay p {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .work-overlay {
        padding: 15px;
    }

    /* --- Partner Strip --- */
    .partner-section {
        padding: 30px 0;
    }

    .partner-logo {
        padding: 0 10px;
    }

    .partner-logo img {
        max-height: 30px;
    }

    .partner-section .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    /* --- Footer --- */
    footer {
        padding: 30px 12px 12px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .footer-logo img {
        height: 60px;
        margin-top: 5px;
    }

    .footer-grid {
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-grid h3 {
        font-size: 16px;
    }

    .footer-grid p,
    .footer-grid a {
        font-size: 13px;
    }

    /* --- Buttons --- */
    .btn {
        padding: 9px 18px;
        font-size: 13px;
        border-radius: 6px;
        border: 2px solid rgba(65, 100, 74, 0.1);
    }

    /* --- Feature Sections --- */
    .feature-section {
        gap: 20px;
        padding: 30px 15px !important;
    }

    .feature-content h3 {
        font-size: 22px;
    }

    .feature-content p {
        font-size: 14px;
    }

    /* --- Report Cards --- */
    .report-image-wrapper {
        height: 180px;
    }

    .report-content {
        padding: 18px;
    }

    .report-content h3 {
        font-size: 18px;
    }

    .report-content p {
        font-size: 13px;
    }

    /* --- Events --- */
    .events-container {
        gap: 24px;
    }

    .event-card {
        border-radius: 12px;
    }

    .event-image-wrapper {
        flex: 0 0 180px;
    }

    .event-content {
        padding: 18px 16px;
    }

    .event-title {
        font-size: 20px;
    }

    .event-description {
        font-size: 13px;
    }

    /* --- Research & Articles Page --- */
    #research-page .section {
        padding: 40px 12px;
    }

    #research-page .section-title {
        font-size: 26px;
    }

    #research-page .feature-section {
        padding: 24px 16px;
        gap: 24px;
        border-radius: 12px;
    }

    #research-page .feature-content h3 {
        font-size: 22px;
    }

    #research-page #additional-research .card {
        padding: 20px;
    }

    #research-page #additional-research .card h3 {
        font-size: 18px;
    }

    #articles-page .section {
        padding: 40px 12px;
    }

    #articles-page .section-title {
        font-size: 26px;
    }

    #articles-page .card h3 {
        font-size: 18px;
    }

    /* --- About Page Team --- */
    .section-subtitle {
        font-size: 13px !important;
    }

    /* --- Forms --- */
    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 9px;
    }

    /* --- Mobile Menu --- */

    .mobile-menu-btn {
        font-size: 24px;
    }
}

/* ==========================================
   PODCASTS PAGE - HERO SECTION
   Scoped styles that only affect podcasts page
   ========================================== */

.podcasts-hero {
    padding: 100px 30px 50px;
    background: var(--brand-maroon);
    color: white;
}

.podcasts-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.podcasts-hero-image {
    flex: 0 0 auto;
}

.podcasts-hero-image img {
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
}

.podcasts-hero-content h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    animation: fadeInUp 0.6s ease-out;
    color: white;
    line-height: 1.3;
}

.podcasts-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    line-height: 1.6;
    max-width: 600px;
}

/* Responsive for podcasts hero */
@media (max-width: 768px) {
    .podcasts-hero {
        padding: 90px 20px 40px;
    }

    .podcasts-hero-content {
        gap: 16px;
    }

    .podcasts-hero-content h1 {
        font-size: 24px;
    }

    .podcasts-hero-content p {
        font-size: 15px;
        max-width: 100%;
    }

    .podcasts-hero-image img {
        max-width: 160px;
    }
}

/* --- PUBLICATIONS PAGE: Center-align buttons in Equity & Other Publications cards --- */
#equity .card,
#publications .card {
    align-items: center;
}