/* ============================================
   WIA Organization Website - Professional CSS
   ============================================ */

/* CSS Variables for Easy Customization */
:root {
    --primary-color: #FF8C00;
    --secondary-color: #FFD700;
    --accent-color: #FFA500;
    --dark-color: #1A1A1A;
    --light-color: #FFF8F0;
    --white-color: #FFFFFF;
    --gray-color: #6B7280;
    --border-color: #E5E7EB;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.6;
    background-color: var(--white-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.bg-light { background-color: var(--light-color); }
.bg-white { background-color: var(--white-color); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mt-3 { margin-top: 2rem; }
.py-5 { padding: 4rem 0; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: #1A3D3B;
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
}

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

/* Header & Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-color) 0%, #FFF8F0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 133, 111, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-50px, 50px) rotate(5deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

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

.hero-tag {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s both;
}

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

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--box-shadow-lg);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* Section Styles */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray-color);
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.mission-card {
    background: var(--white-color);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.mission-card:hover::before {
    transform: scaleX(1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-card p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* Impact Section */
.impact-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1A3D3B 100%);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 133, 111, 0.1) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

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

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.blog-category {
    background: var(--light-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.blog-excerpt {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

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

/* Loading Spinner */
.spinner {
    border: 3px solid var(--light-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--box-shadow-lg);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* KM4WLD Specific Styles */
.program-overview {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray-color);
    line-height: 1.8;
}

.program-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.detail-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.detail-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-card h3 i {
    font-size: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Stories Section */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.story-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.story-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.story-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.story-text {
    color: var(--gray-color);
    line-height: 1.8;
}

.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
}

.coming-soon i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.coming-soon h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.coming-soon p {
    color: var(--gray-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

.cta-section h2 {
    color: var(--white-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white-color);
    color: var(--white-color);
}

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


/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member-card {
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.member-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #F9F6F2;
}

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

.member-photo .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #6B7280;
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    color: #FF8C00;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-title {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.member-description {
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.member-social {
    display: flex;
    gap: 0.8rem;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

.member-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF8F0;
    border-radius: 50%;
    color: #FF8C00;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #FF8C00;
    color: white;
    transform: translateY(-2px);
}

/* Resources Section Styles */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.resource-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #FFF8F0;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6B7280;
}

.resource-type-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.resource-content {
    padding: 1.5rem;
}

.resource-category {
    display: inline-block;
    background: #FF8C00;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.resource-content h3 {
    color: #FF8C00;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.resource-content p {
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFD700;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: #FF8C00;
    gap: 0.8rem;
}

/* Updated Team Grid - 3 per row, smaller cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-member-card {
    background: var(--white-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.member-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #FFF8F0;
}

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

.member-photo .no-photo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #6B7280;
}

.member-info {
    padding: 1.2rem;
}

.member-info h3 {
    color: #FF8C00;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.member-title {
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.member-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
}

.member-social {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid #E5E7EB;
}

.member-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF8F0;
    border-radius: 50%;
    color: #FF8C00;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #FF8C00;
    color: white;
    transform: translateY(-2px);
}

/* Networks Grid - 3 per row */
.networks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.network-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.network-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #FF8C00;
}

.network-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #FFF8F0;
}

.network-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.network-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #FFD700;
}

.network-content {
    padding: 1.5rem;
}

.network-category {
    display: inline-block;
    background: #FFD700;
    color: #1A1A1A;
    padding: 0.25rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.network-content h3 {
    color: #FF8C00;
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
}

.network-content p {
    color: #6B7280;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.network-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #FF8C00;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.network-link:hover {
    color: #FFD700;
    gap: 0.8rem;
}

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

@media (max-width: 768px) {
    .team-grid,
    .networks-grid {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        height: 250px;
    }
}

/* ===================================
   CRITICAL FIX: Team Grid - 3 Per Row
   Added: December 8, 2025
   =================================== */

/* Force proper grid layout */
#team .team-grid,
section .team-grid,
.section .team-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    margin-top: 3rem;
    width: 100%;
}

/* Ensure cards don't override grid */
#team .team-member-card,
section .team-member-card,
.section .team-member-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
}

/* Photo size - keep compact */
.team-grid .member-photo {
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
}

/* Info padding - keep compact */
.team-grid .member-info {
    padding: 1.2rem !important;
}

.team-grid .member-info h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.3rem !important;
}

.team-grid .member-title {
    font-size: 0.9rem !important;
    margin-bottom: 0.6rem !important;
}

.team-grid .member-description {
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
}

/* Responsive - tablet */
@media (max-width: 1024px) {
    #team .team-grid,
    section .team-grid,
    .section .team-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Responsive - mobile */
@media (max-width: 768px) {
    #team .team-grid,
    section .team-grid,
    .section .team-grid {
        grid-template-columns: 1fr !important;
    }
    
    .team-grid .member-photo {
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }
}

/* About page team grid */
.team-grid-full {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .team-grid-full {
        grid-template-columns: 1fr !important;
    }
}

/* End of Critical Fix */
/* ===================================
   PROFESSIONAL FIXES & ENHANCEMENTS
   Remove truncation, improve layout
   =================================== */

/* Remove team description truncation */
.team-grid .member-description,
.member-description {
    color: #6B7280 !important;
    line-height: 1.7 !important;
    margin-bottom: 0.8rem !important;
    font-size: 0.9rem !important;
    /* REMOVED: text truncation properties */
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: visible !important;
    text-overflow: clip !important;
}

/* Increase team card height for full bios */
.team-member-card {
    min-height: auto !important;
    height: auto !important;
}

.member-info {
    padding: 1.5rem !important;
    min-height: 280px; /* Ensure enough space for full bios */
}

/* Better typography */
.member-info h3 {
    font-size: 1.2rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600;
}

.member-title {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1rem !important;
}

/* Section headers - more professional */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    color: #6B7280;
}

/* Program pillars - more professional */
.program-pillar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #FF8C00;
}

.program-pillar:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 140, 0, 0.15);
    border-left-width: 6px;
}

.program-pillar h3 {
    font-size: 1.3rem;
    margin: 1rem 0;
    color: #1A1A1A;
}

.program-pillar p {
    font-size: 1rem;
    line-height: 1.8;
    color: #6B7280;
}

/* Detail cards - better styling */
.detail-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 5px solid #FFD700;
}

.detail-card h3 {
    font-size: 1.4rem;
    color: #FF8C00;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-card h3 i {
    font-size: 1.8rem;
}

.detail-card p, .detail-card ul {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #374151;
}

/* Benefits list - more professional */
.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 1rem 0 1rem 3rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.7;
    border-bottom: 1px solid #F3F4F6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* CTA section - more impactful */
.cta-section {
    position: relative;
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 50%, #FF8C00 100%);
    opacity: 0.95;
    z-index: 0;
}

.cta-section * {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-section p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-section .btn {
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    margin: 0 0.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Resource/Network cards - more professional */
.resource-card, .network-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.resource-card:hover, .network-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 45px rgba(255, 140, 0, 0.2);
    border-color: #FF8C00;
}

.resource-content h3, .network-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.resource-content p, .network-content p {
    font-size: 1rem;
    line-height: 1.8;
    min-height: 90px; /* Ensure consistent height */
}

/* Blog cards */
.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Buttons - more professional */
.btn {
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
    border: none;
    color: white;
    padding: 1rem 2.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E67E00 0%, #FFC700 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.3);
}

.btn-secondary {
    background: white;
    border: 2px solid #FF8C00;
    color: #FF8C00;
    padding: 1rem 2.5rem;
}

.btn-secondary:hover {
    background: #FF8C00;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 1rem 2.5rem;
}

.btn-outline:hover {
    background: white;
    color: #FF8C00;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    line-height: 1.8;
}

/* Spacing improvements */
.section {
    padding: 5rem 0;
}

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

/* Responsive improvements */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .member-info {
        min-height: auto;
    }
}

/* =============================================
   FIX: "Who It's For" Spacing
   Add proper spacing above the section
   ============================================= */

.program-details {
    margin-top: 5rem !important;
    padding-top: 2rem !important;
}

.program-details .detail-card:first-child {
    padding-top: 1rem !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .program-details {
        margin-top: 3rem !important;
    }
}

/* =============================================
   FIX: Hero Image Display - Show Full Image
   Prevents image from being cut/cropped
   ============================================= */

/* Hero section adjustments */
.hero {
    min-height: auto !important;
    height: auto !important;
    padding: 3rem 0 !important;
}

.hero-content {
    align-items: center !important;
}

/* Hero image container */
.hero-image {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Show full image without cropping */
.hero-image img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Adjust hero text section */
.hero-text {
    max-width: 100% !important;
    padding-right: 2rem !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0 !important;
    }
    
    .hero-content {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .hero-image {
        max-width: 100% !important;
        margin-top: 2rem !important;
    }
    
    .hero-text {
        padding-right: 0 !important;
        text-align: center !important;
    }
}
