@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1E69BA;
    --secondary: #1E69BA;
    --accent: #f3ab1b;
    --light: #ecf0f1;
    --white: rgba(255,255,255,1);
    --dark: #333333;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

header .logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

header img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 30px;
}

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

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

.nav-desktop a:hover {
    color: var(--primary);
}

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

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Mobile Navigation */
.mobile-menu-btn {
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
    display: block;
}

.nav-mobile {
    position: fixed;
    top: 76px; /* Below header */
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 20px 5%;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.nav-mobile.show {
    transform: translateY(0);
}

.nav-mobile a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.nav-mobile a:hover {
    color: var(--secondary);
    padding-left: 10px;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5%;
    background: linear-gradient(135deg, rgba(30, 105, 186, 0.9), rgba(30, 105, 186, 0.8)), url('IMG_4080.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: #e2e8f0;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
    background: #fbbf24;
    color: var(--dark);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--white);
    transition: all 0.3s;
    margin-left: 15px;
}

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

/* Sections */
.main-section {
    padding: 80px 5%;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin: 0;
}

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

/* Grid Layouts */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Modern Cards */
.modern-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    border: 1px solid #f8fafc;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.modern-card i.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    background: #eff6ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.modern-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.modern-card p {
    color: var(--text-muted);
    flex-grow: 1;
    margin-bottom: 25px;
}

.modern-card .card-action {
    margin-top: auto;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.modern-card .card-action:hover {
    gap: 12px;
    color: var(--primary);
}

/* Document Cards */
.doc-card {
    display: flex;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    border: 1px solid #f1f5f9;
}

.doc-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--secondary);
}

.doc-icon {
    font-size: 2.5rem;
    color: #ef4444; /* PDF Red */
    margin-right: 20px;
    background: #fef2f2;
    padding: 15px;
    border-radius: 12px;
}

.doc-info h4 {
    margin: 0 0 5px 0;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.doc-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Leader Profiles */
.leader-card {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.leader-img-wrapper {
    height: 280px;
    overflow: hidden;
    background: #f8fafc;
}

.leader-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.leader-card:hover .leader-img-wrapper img {
    transform: scale(1.08);
}

.leader-info {
    padding: 25px 20px;
}

.leader-info h3 {
    margin: 0 0 5px;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.leader-info p.position {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leader-info p.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Activities/Opportunities (Image Cards) */
.media-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

.media-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.media-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.media-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.media-meta {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.media-meta i {
    margin-right: 5px;
}

.media-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s;
}
.media-title:hover {
    color: var(--primary);
}

.media-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

.read-more {
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}
.read-more:hover {
    gap: 10px;
    color: var(--secondary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 80px 5% 60px;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 70px 5% 30px;
}

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

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    font-size: 1.2rem;
}

.footer-socials a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.95rem;
}

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

/* Opener specific styles */
.detail-container {
    max-width: 900px;
    margin: 60px auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.detail-img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.detail-body {
    padding: 50px;
}

.detail-title {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 20px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-weight: 500;
}

.detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark);
}

/* Fix for background-attachment: fixed on mobile Safari/Chrome */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}