
/* --- Inner Pages Modern Styles --- */

/* Modern Hero Section */
.modern-hero {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(38, 50, 56, 0.7) 100%);
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.modern-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modern-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.breadcrumb {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

.breadcrumb a {
    color: white;
    font-weight: 500;
}

.breadcrumb span {
    color: var(--primary-color);
    margin: 0 5px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Timeline Styles (About & Achievements) */
.timeline-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    opacity: 0.2;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: 0.3s;
}

.timeline-item:hover::after {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 25px;
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.timeline-year {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    margin: 0 0 10px;
    color: var(--secondary-color);
}

.timeline-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Mobile Timeline */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-left::after, .timeline-right::after {
        left: 21px;
    }
    
    .timeline-right {
        left: 0%;
    }
}


/* Member Card - Enhanced */
.member-card-wrapper {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
    padding: 30px 20px;
}

.member-card-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.member-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f9f9f9;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary-color);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 2px solid white;
}

.member-info h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
}

.member-id {
    color: #999;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* Initiative/Project Card - Detailed */
.initiative-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.initiative-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.initiative-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.initiative-card:hover .initiative-img img {
    transform: scale(1.1);
}

.initiative-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.initiative-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    backdrop-filter: blur(5px);
}

.initiative-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.initiative-body h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.initiative-stats {
    display: flex;
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.istat {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eee;
}

.istat:last-child {
    border-right: none;
}

.istat strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.istat span {
    font-size: 0.8rem;
    color: #888;
}

