/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0077b6;
    --secondary-blue: #0096c7;
    --light-blue: #caf0f8;
    --primary-green: #2a9d8f;
    --secondary-green: #43aa8b;
    --light-green: #e9f5db;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --accent-blue: #48cae4;
    --accent-green: #76c893;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    color: var(--primary-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Home Section */
.home-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbf8 100%);
    position: relative;
    overflow: hidden;
}

.home-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(42, 157, 143, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(38, 70, 83, 0.03) 0%, transparent 50%);
}

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

/* Layout */
.home-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.text-content {
    position: relative;
    z-index: 2;
}

.image-content {
    position: relative;
}

/* Intro Elements */
.intro-badge {
    margin-bottom: 20px;
}

.badge-text {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(38, 70, 83, 0.1));
    color: #2a9d8f;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(42, 157, 143, 0.2);
}

/* Headline */
.main-headline {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #264653;
    margin-bottom: 40px;
}

.main-headline .highlight {
    background: linear-gradient(135deg, #2a9d8f, #1a7c6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.main-headline .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2a9d8f, #1a7c6f);
    border-radius: 2px;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.leadership-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f7f6;
}

.card-icon {
    font-size: 1.8rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #264653;
    margin: 0;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.card-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2a9d8f;
    font-weight: bold;
}

.link-item, .text-item {
    color: #495057;
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.link-item {
    color: #2a9d8f;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.link-item:hover {
    color: #1a7c6f;
    text-decoration: underline;
}

.link-item::after {
    content: '↗';
    font-size: 0.9em;
    margin-left: 4px;
    opacity: 0.7;
}

/* Bio Summary */
.bio-summary {
    background: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    position: relative;
    border-left: 4px solid #2a9d8f;
}

.bio-summary p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin: 0;
}

/* Image Section with Slide Animation */
.image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1s ease-out 0.3s forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    border: 8px solid white;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    z-index: 1;
}

.decoration-line {
    position: absolute;
    top: 50%;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2a9d8f, transparent);
    transform: translateY(-50%);
}

.decoration-dot {
    position: absolute;
    bottom: -20px;
    right: 40%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

/* Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #2a9d8f, #1a7c6f);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a7c6f, #2a9d8f);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(42, 157, 143, 0.3);
}

.btn-outline {
    background: white;
    color: #2a9d8f;
    border: 2px solid #2a9d8f;
}

.btn-outline:hover {
    background: #f8fbf8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .home-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .main-headline {
        font-size: 2.8rem;
    }
    
    .image-content {
        /* order: -1; */
        max-width: 500px;
        margin: 0 auto;
    }
    
    .image-wrapper {
        opacity: 0;
        transform: translateY(50px);
        animation: slideInUp 1s ease-out 0.3s forwards;
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 140px 0 80px;
    }
    
    .main-headline {
        font-size: 2.2rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .image-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-headline {
        font-size: 1.8rem;
    }
    
    .leadership-card,
    .bio-summary {
        padding: 20px;
    }
}

/* Hero Section with Image Carousel */
.hero-section {
    position: relative;
    height: 100vh; /* Full height on desktop */
    width: 100%;
    overflow: hidden;
}

/* Mobile height adjustment */
@media (max-width: 768px) {
    .hero-section {
        height: 85vh; /* 80% height on mobile */
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 83vh; /* 70% height on very small screens */
    }
}

/* Carousel Container */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoomEffect 30s linear infinite;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* Smooth zoom animation for background */
@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Dark Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 2;
}

/* Hero Content - Left Aligned */
.hero-content {
    position: absolute;
    top: 65%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 3;
    color: white;
    max-width: 800px;
    text-align: left;
    padding-right: 20px;
}

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

.hero-greeting {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-name {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 2px;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 1px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator at Bottom */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.scroll-down:hover {
    color: white;
}

.scroll-icon {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.scroll-icon:hover {
    border-color: white;
    background: rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.scroll-icon i {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        left: 8%;
        max-width: 700px;
        top: 75%;
    }
    
    .hero-name {
        font-size: 4rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        left: 5%;
        max-width: 600px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-greeting {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        left: 5%;
        right: 5%;
        padding-right: 0;
        text-align: left;
    }
    
    .hero-name {
        font-size: 2.4rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }
    
    .hero-greeting {
        font-size: 1rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .scroll-icon {
        width: 45px;
        height: 45px;
    }
    
    .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.2) 100%
        );
    }
}

@media (max-width: 576px) {
    .hero-content {
        left: 5%;
        right: 5%;
    }
    
    .hero-name {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 1rem;
    }
    
    .hero-greeting {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
        margin-bottom: 10px;
    }
    
    .scroll-icon {
        width: 40px;
        height: 40px;
    }
    
    .hero-scroll {
        bottom: 20px;
    }
}

@media (max-width: 400px) {
    .hero-name {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 0.9rem;
    }
    
    .hero-greeting {
        font-size: 0.8rem;
    }
}
/* Green Theme Variables */
:root {
    /* Green Theme Colors */
    --primary-green: #2a9d8f;
    --secondary-green: #43aa8b;
    --dark-green: #1d7873;
    --light-green: #e9f5db;
    --mint-green: #d8f3dc;
    --forest-green: #2d6a4f;
    --lime-green: #b7e4c7;
    --sage-green: #95d5b2;
    --emerald-green: #40916c;
    
    /* Supporting Colors */
    --earth-brown: #d4a574;
    --sun-yellow: #ffb703;
    --sky-blue: #48cae4;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    
    /* Theme Variables */
    --primary-color: var(--primary-green);
    --secondary-color: var(--emerald-green);
    --accent-color: var(--sun-yellow);
    --background-color: var(--white);
    --card-background: var(--white);
    --text-color: var(--dark-gray);
    --shadow: 0 6px 20px rgba(42, 157, 143, 0.1);
    --shadow-hover: 0 12px 30px rgba(42, 157, 143, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Whitepapers Section - Green Theme */
.whitepapers-section {
    background: linear-gradient(135deg, #f8fff8 0%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
}

.whitepapers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--emerald-green), var(--sage-green));
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.whitepapers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.whitepaper-card {
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(42, 157, 143, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.whitepaper-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(42, 157, 143, 0.3);
}

.whitepaper-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--emerald-green));
    z-index: 2;
}

/* PDF Preview Section */
.card-preview {
    position: relative;
    background: linear-gradient(135deg, var(--mint-green), var(--light-green));
    padding: 0;
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
}

.preview-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--white);
}

.preview-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.preview-overlays {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 15px;
    color: white;
    display: flex;
    justify-content: flex-end;
}

.page-indicator {
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.pdf-watermark {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(42, 157, 143, 0.2);
    z-index: 1;
}

.pdf-watermark i {
    color: #ff6b6b;
}

/* Card Content Styling */
/* .card-content {
    padding: 25px;
    flex: 1;
} */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-green), var(--emerald-green));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 6px 15px rgba(42, 157, 143, 0.3);
    transition: var(--transition);
}

.whitepaper-card:hover .card-icon {
    transform: rotate(10deg) scale(1.05);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.4);
}

.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.green-tag {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.15), rgba(67, 170, 139, 0.1));
    color: var(--primary-green);
    border: 1px solid rgba(42, 157, 143, 0.3);
}

.nature-tag {
    background: linear-gradient(135deg, rgba(149, 213, 178, 0.15), rgba(183, 228, 199, 0.1));
    color: var(--sage-green);
    border: 1px solid rgba(149, 213, 178, 0.3);
}

.mineral-tag {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(255, 183, 3, 0.1));
    color: var(--earth-brown);
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.ev-tag {
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.15), rgba(0, 119, 182, 0.1));
    color: var(--sky-blue);
    border: 1px solid rgba(72, 202, 228, 0.3);
}

.nigeria-tag {
    background: linear-gradient(135deg, rgba(0, 102, 51, 0.15), rgba(0, 153, 102, 0.1));
    color: #006633;
    border: 1px solid rgba(0, 102, 51, 0.3);
}

/* .card-content h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.4;
    font-weight: 600;
} */

.card-description {
    color: var(--medium-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(42, 157, 143, 0.1);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.meta-item i {
    color: var(--primary-green);
    font-size: 1rem;
    width: 20px;
}

/* Card Footer */
.card-footer {
    padding: 10px 10px;
    background: linear-gradient(135deg, rgba(232, 245, 233, 0.5), rgba(216, 243, 220, 0.3));
    border-top: 1px solid rgba(42, 157, 143, 0.1);
    display: flex;
    width: 100%;
    gap: 10px;
}

.preview-btn, .download-btn {
    flex: 1;
    padding: 12px 18px;
    width: 45%;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.full-preview-btn {
    background: var(--white);
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.full-preview-btn:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--emerald-green));
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(42, 157, 143, 0.3);
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--emerald-green));
    color: var(--white);
    border-color: var(--primary-green);
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--emerald-green), var(--forest-green));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(42, 157, 143, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .whitepapers-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .whitepapers-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
/*     
    .card-footer {
        flex-direction: column;
    } */
    
    /* .preview-container {
        height: 250px;
    } */
}

@media (max-width: 480px) {
    .whitepaper-card {
        margin: 0 10px;
    }
    
    .card-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .card-tags {
        justify-content: flex-start;
        width: 100%;
    }
    
    .card-content h3 {
        font-size: 1.3rem;
    }
    
    /* .preview-container {
        height: 220px;
    } */
    
    .card-meta {
        flex-direction: column;
        gap: 12px;
    }
}








/* Section Title Green Theme */
.section-title {
    color: var(--dark-green);
}

.section-title::after {
    background: linear-gradient(90deg, var(--primary-green), var(--emerald-green), var(--sage-green));
}

/* PDF Error State */
.pdf-error {
    padding: 40px 20px;
    text-align: center;
    color: var(--medium-gray);
}

.pdf-error i {
    font-size: 3rem;
    color: var(--earth-brown);
    margin-bottom: 15px;
}

.pdf-error p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* PDF Loaded State */
.whitepaper-card.pdf-loaded .preview-container {
    animation: subtleGlow 2s ease;
}

@keyframes subtleGlow {
    0% { box-shadow: 0 0 0 rgba(42, 157, 143, 0); }
    50% { box-shadow: 0 0 20px rgba(42, 157, 143, 0.3); }
    100% { box-shadow: 0 0 0 rgba(42, 157, 143, 0); }
}

/* Interviews & Webinars Section - Green Theme */
.interviews-section {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

.interviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--sun-yellow), var(--primary-green), var(--emerald-green));
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px;
    justify-items: center;
}

.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(42, 157, 143, 0.15);
    width: 100%;
    max-width: 380px;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(42, 157, 143, 0.3);
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: rgba(255, 183, 3, 0.9);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--mint-green), var(--light-green));
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.1), rgba(255, 183, 3, 0.05));
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(42, 157, 143, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.play-button i {
    margin-left: 5px;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(42, 157, 143, 0.1);
}

.video-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.safety-tag {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.1));
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.hydrogen-tag {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.15), rgba(67, 170, 139, 0.1));
    color: var(--primary-green);
    border: 1px solid rgba(42, 157, 143, 0.3);
}

.geopolitics-tag {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15), rgba(173, 181, 189, 0.1));
    color: var(--medium-gray);
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.interview-tag {
    background: linear-gradient(135deg, rgba(72, 202, 228, 0.15), rgba(0, 119, 182, 0.1));
    color: var(--sky-blue);
    border: 1px solid rgba(72, 202, 228, 0.3);
}

.webinar-tag {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(255, 183, 3, 0.1));
    color: var(--sun-yellow);
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.vision-tag {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(138, 43, 226, 0.1));
    color: #8a2be2;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.video-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--medium-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.video-duration i {
    color: var(--primary-green);
    font-size: 0.9rem;
}

/* Video Statistics */
.video-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 255, 248, 0.8));
    border-radius: 20px;
    border: 1px solid rgba(42, 157, 143, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-green);
    background: linear-gradient(135deg, var(--light-green), var(--mint-green));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(42, 157, 143, 0.2);
}

.stat-item h4 {
    color: var(--dark-green);
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.stat-item p {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .video-stats {
        padding: 15px;
        /* flex-direction: column; */
        /* gap: 30px; */
        /* align-items: center; */
        /* text-align: center; */
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .video-info h3 {
        min-height: auto;
        -webkit-line-clamp: 3;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
    }
    
    .video-card {
        max-width: 100%;
    }
    
    .video-stats {
        padding: 10px;
    }
}

/* Lazy Loading for Videos */
.video-container iframe {
    transition: opacity 0.3s ease;
}

.video-container.loading iframe {
    opacity: 0;
}

.video-container.loaded iframe {
    opacity: 1;
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.video-container.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #f0f0f0 8%, #e0e0e0 18%, #f0f0f0 33%);
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
    z-index: 1;
}


/* Interviews & Webinars Section - Thumbnail Solution */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    cursor: pointer;
    border-radius: 12px 12px 0 0;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.video-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(42, 157, 143, 0.3) 0%,
        rgba(42, 157, 143, 0.1) 50%,
        rgba(255, 183, 3, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.video-card:hover .thumbnail-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 0, 0, 0.9); /* YouTube red */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.4);
}

.video-card:hover .play-button {
    transform: scale(1.15);
    background: rgba(255, 0, 0, 1);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.5);
}

.play-button i {
    margin-left: 5px;
}

.youtube-logo {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-info h3 {
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 600;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid rgba(42, 157, 143, 0.1);
    border-bottom: 1px solid rgba(42, 157, 143, 0.1);
    margin-bottom: 20px;
}

/* Watch YouTube Button */
.watch-youtube-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ff0000, #cc0000); /* YouTube gradient */
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
}

.watch-youtube-btn:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
}

.watch-youtube-btn i {
    font-size: 1.2rem;
}

/* YouTube-themed tag colors */
.safety-tag {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15), rgba(255, 107, 107, 0.1));
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.hydrogen-tag {
    background: linear-gradient(135deg, rgba(42, 157, 143, 0.15), rgba(67, 170, 139, 0.1));
    color: var(--primary-green);
    border: 1px solid rgba(42, 157, 143, 0.3);
}

.geopolitics-tag {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15), rgba(173, 181, 189, 0.1));
    color: var(--medium-gray);
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.interview-tag {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.1)); /* YouTube red theme */
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.webinar-tag {
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(255, 183, 3, 0.1));
    color: var(--sun-yellow);
    border: 1px solid rgba(255, 183, 3, 0.3);
}

.vision-tag {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(138, 43, 226, 0.1));
    color: #8a2be2;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

/* Video Stats with YouTube Theme */
.video-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
    padding: 20px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95), 
        rgba(248, 248, 248, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(255, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.05);
}

.stat-item i {
    font-size: 2.5rem;
    color: #ff0000; /* YouTube red */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(240, 240, 240, 0.8));
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.15);
}

.stat-item h4 {
    color: #ff0000; /* YouTube red */
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 700;
}

/* Thumbnail Fallback Styling */
.thumbnail-image {
    background: linear-gradient(135deg, #2d2d2d, #404040);
}

.thumbnail-image:before {
    content: "🎥";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
}

/* Loading State for Thumbnails */
.video-thumbnail.loading {
    background: linear-gradient(90deg, 
        #2d2d2d 25%, 
        #3d3d3d 50%, 
        #2d2d2d 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-info {
        padding: 20px;
    }
    
    .watch-youtube-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .video-info h3 {
        font-size: 1.1rem;
    }
    
    .watch-youtube-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}

/* Documents List */
.documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.document-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.document-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-right: 20px;
    flex: 0 0 auto;
}

.document-info {
    flex: 1;
}

.document-info h3 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.document-info p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.download-btn {
    padding: 10px 20px;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.download-btn:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-item h3 {
    padding: 15px 20px;
    color: var(--primary-blue);
    font-size: 1.1rem;
    text-align: center;
}

/* Publications Section */
.publications-section {
    background-color: var(--white);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
    transition: var(--transition);
}

.publication-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.publication-icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-right: 20px;
    margin-top: 5px;
    flex: 0 0 auto;
}

.publication-info {
    flex: 1;
}

.publication-info h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.publication-desc {
    color: var(--medium-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.research-tag {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.region-tag {
    background-color: var(--light-green);
    color: var(--primary-green);
}

.year-tag {
    background-color: #f0f0f0;
    color: var(--medium-gray);
}

.un-tag {
    background-color: #d4edda;
    color: #155724;
}

.collaboration-tag {
    background-color: #e7f1ff;
    color: #0d6efd;
}

.publication-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    flex: 0 0 auto;
}

.publication-btn:hover {
    background-color: var(--secondary-green);
    transform: scale(1.1);
}

.research-details {
    margin-top: 15px;
    padding-left: 20px;
}

.research-details li {
    margin-bottom: 8px;
    position: relative;
}

.research-details li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--primary-green);
    font-weight: bold;
}

.highlight-item {
    border-left: 4px solid var(--accent-blue);
    background: linear-gradient(135deg, rgba(202, 240, 248, 0.1), rgba(255, 255, 255, 1));
}







/* ============================================
   UNIFIED DOCUMENT GRID SYSTEM
   ============================================ */

/* Base Grid Container */
.policy-grid,
.papers-grid {
    display: grid;
    gap: 15px; /* Balanced gap for all screen sizes */
    margin: 0 auto;
    width: 100%;
    justify-items: center;
}

/* Desktop: 6 columns */
@media (min-width: 1200px) {
    .policy-grid,
    .papers-grid {
        grid-template-columns: repeat(6, 1fr);
        /* max-width: 1400px; */
    }
}

/* Medium Desktop: 4 columns */
@media (min-width: 992px) and (max-width: 1199px) {
    .policy-grid,
    .papers-grid {
        grid-template-columns: repeat(4, 1fr);
        /* max-width: 1200px; */
    }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 991px) {
    .policy-grid,
    .papers-grid {
        grid-template-columns: repeat(2, 1fr);
        /* max-width: 800px; */
    }
}

/* Mobile: 2 columns */
@media (max-width: 767px) {
    .policy-grid,
    .papers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
        margin: 0;
    }
}

/* Very Small Mobile: 1 column */
@media (max-width: 480px) {
    .policy-grid,
    .papers-grid {
        /* grid-template-columns: 2fr; */
        grid-template-columns: repeat(2, 1fr);
        /* max-width: 320px; */
    }
}

/* ============================================
   DOCUMENT CARD STYLES (Shared by both sections)
   ============================================ */

.policy-card,
.paper-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 157, 143, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    max-width: 200px;
    min-height: 0;
}

.policy-card:hover,
.paper-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.15);
    border-color: rgba(42, 157, 143, 0.2);
}

/* Preview Area */
.policy-preview,
.paper-preview {
    position: relative;
    height: 140px; /* Slightly taller for better preview */
    background: #f8f9fa;
    overflow: hidden;
    flex-shrink: 0;
}

.pdf-preview {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    display: block;
}

.pdf-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a9d8f, #43aa8b);
    color: white;
    padding: 15px;
    text-align: center;
}

.pdf-fallback i {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pdf-fallback span {
    font-size: 0.8rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   ACTION BUTTONS (Fixed - Properly Aligned & Round)
   ============================================ */

.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(0);
    z-index: 10;
}

.action-btn {
    width: 32px; /* Slightly larger for better click area */
    height: 32px;
    border-radius: 50%; /* Perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Ensure perfect circle on all browsers */
.action-btn,
.action-btn:focus,
.action-btn:hover {
    border-radius: 50%;
}

.preview-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-green);
    border: 1px solid rgba(42, 157, 143, 0.3);
}

.preview-btn:hover {
    background: white;
    color: var(--dark-green);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.25);
}

.download-btn {
    background: rgba(42, 157, 143, 0.95);
    color: white;
    border: 1px solid var(--primary-green);
}

.download-btn:hover {
    background: var(--primary-green);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 4px 12px rgba(42, 157, 143, 0.3);
}

/* ============================================
   CARD INFO (Shared by both sections)
   ============================================ */

.policy-info,
.paper-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.policy-info h3,
.paper-info h3 {
    color: var(--dark-green);
    font-size: 0.85rem; /* Better readability */
    line-height: 1.3;
    margin: 8px 0 0 0;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* ============================================
   TAGS (Shared by both sections)
   ============================================ */

.policy-tag,
.paper-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    align-self: flex-start;
    margin: 0;
}

/* Policy Briefs Tag Colors */
.transport-tag { background: rgba(72, 202, 228, 0.12); color: var(--sky-blue); border: 1px solid rgba(72, 202, 228, 0.25); }
.social-tag { background: rgba(255, 183, 3, 0.12); color: var(--sun-yellow); border: 1px solid rgba(255, 183, 3, 0.25); }
.hydrogen-tag { background: rgba(42, 157, 143, 0.12); color: var(--primary-green); border: 1px solid rgba(42, 157, 143, 0.25); }
.regional-tag { background: rgba(108, 117, 125, 0.12); color: var(--medium-gray); border: 1px solid rgba(108, 117, 125, 0.25); }
.rural-tag { background: rgba(212, 165, 116, 0.12); color: var(--earth-brown); border: 1px solid rgba(212, 165, 116, 0.25); }
.mobility-tag { background: rgba(0, 153, 102, 0.12); color: #009966; border: 1px solid rgba(0, 153, 102, 0.25); }
.justice-tag { background: rgba(138, 43, 226, 0.12); color: #8a2be2; border: 1px solid rgba(138, 43, 226, 0.25); }
.ev-tag { background: rgba(0, 102, 51, 0.12); color: #006633; border: 1px solid rgba(0, 102, 51, 0.25); }
.ammonia-tag { background: rgba(72, 149, 239, 0.12); color: #4895ef; border: 1px solid rgba(72, 149, 239, 0.25); }
.mineral-tag { background: rgba(255, 149, 0, 0.12); color: #ff9500; border: 1px solid rgba(255, 149, 0, 0.25); }
.equity-tag { background: rgba(255, 107, 107, 0.12); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.25); }
.infrastructure-tag { background: rgba(102, 102, 102, 0.12); color: #666; border: 1px solid rgba(102, 102, 102, 0.25); }
.access-tag { background: rgba(76, 175, 80, 0.12); color: #4caf50; border: 1px solid rgba(76, 175, 80, 0.25); }
.decarbonisation-tag { background: rgba(156, 39, 176, 0.12); color: #9c27b0; border: 1px solid rgba(156, 39, 176, 0.25); }

/* Research Papers Tag Color */
.research-tag { background: rgba(156, 39, 176, 0.12); color: #9c27b0; border: 1px solid rgba(156, 39, 176, 0.25); }

/* ============================================
   SECTION SPECIFIC STYLES
   ============================================ */

/* Policy Briefs Section */
.policy-briefs-section {
    background: linear-gradient(135deg, #f5f9f5 0%, #edf5ed 100%);
    padding: 40px 0 !important;
}

.policy-briefs-section .section-title {
    margin-bottom: 30px !important;
}

/* Research Papers Section */
.research-papers-section {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    padding: 40px 0 !important;
}

.research-papers-section .section-title {
    margin-bottom: 30px !important;
}






/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 1200px) {
    .policy-preview,
    .paper-preview {
        height: 130px;
    }
    
    .action-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .policy-preview,
    .paper-preview {
        height: 120px;
    }
    
    .policy-info h3,
    .paper-info h3 {
        font-size: 0.8rem;
    }
    
    .card-actions {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .policy-preview,
    .paper-preview {
        height: 110px;
    }
    
    .policy-info,
    .paper-info {
        padding: 10px;
    }
    
    .policy-info h3,
    .paper-info h3 {
        font-size: 0.75rem;
    }
    
    .action-btn {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .pdf-fallback i {
        font-size: 1.3rem;
    }
    
    .pdf-fallback span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .policy-preview,
    .paper-preview {
        height: 120px;
    }
    
    .policy-info,
    .paper-info {
        padding: 12px;
    }
    
    .policy-info h3,
    .paper-info h3 {
        font-size: 0.8rem;
    }
    
    .action-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* ============================================
   CONTAINER OPTIMIZATION
   ============================================ */

.policy-briefs-section .container,
.research-papers-section .container {
    padding: 0 20px !important;
    max-width: 1400px;
    margin: 0 auto;
}

/* Ensure PDF object displays properly */
object.pdf-preview {
    pointer-events: none;
}

/* ============================================
   LOADING AND ERROR STATES
   ============================================ */

.pdf-preview.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}








/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-right: 20px;
    flex: 0 0 auto;
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p, .contact-item a {
    color: var(--medium-gray);
}

.linkedin-link {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.linkedin-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-green);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 15px;
}

.footer-tagline {
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 20px;
}

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

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .home-content {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-image-container {
        flex: 0 0 300px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 20px 0;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cv-timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        flex: 0 0 80px;
    }
    
    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .document-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .document-icon {
        margin-bottom: 15px;
    }
    
    .download-btn {
        /* margin-top: 15px; */
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .profile-image-container {
        flex: 0 0 250px;
    }
    
    .cv-timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-date {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .publication-icon {
        margin-bottom: 15px;
    }
    
    .publication-btn {
        margin-top: 15px;
        align-self: flex-end;
    }
}




:root {
    --cv-green: #2a9d8f;
    --cv-green-light: #43aa8b;
    --cv-green-dark: #1d7873;
    --cv-green-bg: #f0f9f7;
    --cv-text-dark: #333333;
    --cv-text-light: #666666;
    --cv-border: #e0e0e0;
    --cv-shadow: 0 4px 12px rgba(42, 157, 143, 0.08);
}
/* Footer */
.cv-footer {
    background: linear-gradient(135deg, #1a3a2f, var(--cv-green-dark));
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--cv-green-light);
}

.footer-section p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 10px 0;
    opacity: 0.8;
}