/* 
 * HIMABISDIG - Home Page Styles (CLEAN VERSION)
 * Created: July 2025
 * Fixed: Konflik CSS diselesaikan, slider ekosistem dipertahankan
 */

/* ===== HOME-SPECIFIC CSS VARIABLES ===== */
:root {
    /* Home-specific colors */
    --home-primary: #0A2463;
    --home-primary-light: #3E92CC;
    --home-primary-dark: #071A4A;
    --home-secondary: #F7931E;
    --home-secondary-light: #FFA500;
    --home-secondary-dark: #E67E00;
    
    /* Home gradients */
    --home-gradient-primary: linear-gradient(135deg, var(--home-primary), var(--home-primary-light));
    --home-gradient-secondary: linear-gradient(135deg, var(--home-secondary), var(--home-secondary-light));
    --home-gradient-hero: linear-gradient(135deg, rgba(10, 36, 99, 0.8), rgba(62, 146, 204, 0.7));
}

/* ===== UTILITY CLASSES ===== */
.home-text-gradient {
    background: var(--home-gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.home-text-warning {
    color: var(--home-secondary) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    background-color: var(--home-primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 8rem 0 10rem;
    margin-bottom: 0;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--home-gradient-hero);
    z-index: 2;
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    opacity: 0.4;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 4px 8px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin: 0 auto 2rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    line-height: 1.7;
    opacity: 0.95;
    color: #ffffff;
}

/* Hero Buttons */
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-shine {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: rotate(30deg);
    transition: all 0.8s ease;
    opacity: 0;
}

.btn-shine:hover::after {
    opacity: 1;
    left: 100%;
    top: 100%;
}

.btn-gradient {
    background: var(--home-gradient-secondary);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(247, 147, 30, 0.5);
    color: #ffffff;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== VIDEO PROFILE SECTION ===== */
.video-profile-section {
    position: relative;
    padding: 3.5rem 0;
    background: #ffffff;
    overflow: hidden;
}

.video-profile-content {
    position: relative;
    z-index: 2;
}

/* Video Container */
.video-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.video-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--home-primary-light);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 1.5rem;
    overflow: hidden;
    background: #f1f5f9;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 1.5rem;
}

/* Profile Content */
.profile-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 2rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.1), rgba(62, 146, 204, 0.1));
    color: var(--home-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1.25rem;
}

.profile-badge i {
    color: var(--home-secondary);
    font-size: 1rem;
}

.profile-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #0f172a;
}

.profile-title .highlight {
    display: block;
    margin-top: 0.5rem;
}

.profile-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.75rem;
}

/* Profile Stats */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 1.125rem;
    border: 1.5px solid #e2e8f0;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--home-primary-light);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--home-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.925rem;
    color: #64748b;
    font-weight: 500;
}

/* Profile CTA */
.profile-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1.125rem 2.25rem;
    background: var(--home-gradient-primary);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.2);
    border: none;
    cursor: pointer;
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(10, 36, 99, 0.3);
    color: #ffffff;
}

.btn-play i {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

/* ===== EKOSISTEM SECTION WITH SLIDER (ORIGINAL EFFECT) ===== */
.ekosistem-section {
    padding: 2.5rem 0 1.5rem 0;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

/* Section Title Styling - IMPROVED */
.section-title {
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-title .gerak-title,
.section-title .visi-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}


.section-title .gerak-title {
    margin-bottom: 0;
}

.section-title .visi-title {
    margin-bottom: 0.25rem;
}

.section-title > div {
    margin-top: 0.25rem;
}

.section-title p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 0.15rem;
    line-height: 1.35;
    font-weight: 400;
}

.section-title p:last-child {
    margin-bottom: 0;
}

/* Ekosistem Container - Slider Setup */
.ekosistem-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.ekosistem-row {
    position: relative;
    overflow: hidden;
    height: 160px;
    margin: 0;
    white-space: nowrap;
}

/* Slider Tracks - EFEK ASLI */
.slider-track-1 {
    display: flex;
    animation: slideRight 40s linear infinite;
    width: calc(320px * 12);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.slider-track-2 {
    display: flex;
    animation: slideLeft 40s linear infinite;
    width: calc(320px * 12);
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Pause animation on hover */
.ekosistem-row:hover .slider-track-1,
.ekosistem-row:hover .slider-track-2 {
    animation-play-state: paused;
}

/* Slider Animations - ORIGINAL */
@keyframes slideRight {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(-320px * 6), 0, 0); }
}

@keyframes slideLeft {
    0% { transform: translate3d(calc(-320px * 6), 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Ekosistem Box - Card Container */
.ekosistem-box {
    width: 320px;
    height: 140px;
    padding: 0 10px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ekosistem Card Link */
.ekosistem-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    outline: none;
    border-radius: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ekosistem-card-link:hover,
.ekosistem-card-link:focus {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.ekosistem-card-link:focus {
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.5);
    transform: translateY(-2px);
}

/* Ekosistem Card - EFEK ASLI */
.ekosistem-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    z-index: 1;
}

/* Background gradient effect on hover - ORIGINAL */
.ekosistem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.05), rgba(247, 147, 30, 0.05));
    opacity: 0;
    border-radius: 1.5rem;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.ekosistem-card-link:hover .ekosistem-card,
.ekosistem-card-link:focus .ekosistem-card {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-color: rgba(10, 36, 99, 0.2);
}

.ekosistem-card-link:hover .ekosistem-card::before,
.ekosistem-card-link:focus .ekosistem-card::before {
    opacity: 1;
}

.ekosistem-card-link:active .ekosistem-card {
    transform: scale(0.98);
}

/* Ekosistem Icon - EFEK ASLI */
.ekosistem-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.ekosistem-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.ekosistem-card-link:hover .ekosistem-icon,
.ekosistem-card-link:focus .ekosistem-icon {
    transform: scale(1.1);
}

.ekosistem-card-link:hover .ekosistem-icon img,
.ekosistem-card-link:focus .ekosistem-icon img {
    transform: scale(1.15);
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

/* Ekosistem Content - ORIGINAL */
.ekosistem-content {
    text-align: left;
    white-space: normal;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ekosistem-title {
    color: var(--home-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
}

.ekosistem-card-link:hover .ekosistem-title,
.ekosistem-card-link:focus .ekosistem-title {
    color: var(--home-primary-dark);
}

.ekosistem-desc {
    color: var(--home-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    hyphens: auto;
}

/* Underline animation effect on hover - ORIGINAL */
.ekosistem-desc::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--home-gradient-secondary);
    transition: width 0.4s ease;
}

.ekosistem-card-link:hover .ekosistem-desc::after,
.ekosistem-card-link:focus .ekosistem-desc::after {
    width: 60px;
}

/* ===== AKTIVITAS SECTION ===== */
.aktivitas-section {
    padding: 2rem 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

/* Section Title untuk Aktivitas */
.aktivitas-section .section-title {
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.aktivitas-section .section-title h2 {
    font-size: clamp(1.25rem, 3.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.aktivitas-section .section-title p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 0.15rem;
    line-height: 1.35;
    font-weight: 400;
}

.aktivitas-section .section-title p:last-child {
    margin-bottom: 0;
}

.aktivitas-section .section-title > div {
    margin-top: 1rem;
}


/* ===== AKTIVITAS SECTION - CLEAN & MINIMALIST ===== */
.aktivitas-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-top: 0.75rem;
    font-weight: 400;
}

/* News Card - Clean & Minimalist Design */
.news-card {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--home-primary-light);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.08);
}

.news-category {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--home-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-card-content {
    padding: 1.75rem;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.news-date i {
    color: var(--home-secondary);
    font-size: 0.9rem;
}

.news-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: var(--home-primary);
}

.news-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.news-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.news-author i {
    color: var(--home-primary-light);
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--home-primary);
    transition: all 0.3s ease;
}

.news-read-more i {
    transition: transform 0.3s ease;
}

.news-card:hover .news-read-more i {
    transform: translateX(4px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
}

.empty-state i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
    display: block;
}

.empty-state p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ===== UPCOMING EVENTS SECTION - CLEAN & MINIMALIST ===== */
.upcoming-events-section {
    padding: 5rem 0;
    background: #ffffff;
}

/* Event Card - Clean & Minimalist Design */
.event-card-new {
    display: block;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.event-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--home-primary-light);
}

.event-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card-new:hover .event-card-image img {
    transform: scale(1.08);
}

.event-date-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--home-secondary);
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(247, 147, 30, 0.3);
}

.event-date-badge .day {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 2px;
}

.event-date-badge .month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-content {
    padding: 1.75rem;
}

.event-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.event-card-new:hover .event-card-title {
    color: var(--home-primary);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.event-time,
.event-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.event-time i,
.event-location i {
    color: var(--home-secondary);
    width: 16px;
    text-align: center;
}

.event-card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.event-btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--home-gradient-primary);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(10, 36, 99, 0.2);
    color: #ffffff;
}

.event-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--home-primary);
    border: 2px solid var(--home-primary);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.event-btn-secondary:hover {
    background: var(--home-primary);
    color: #ffffff;
}

.event-badge-full {
    display: inline-flex;
    padding: 8px 16px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.event-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--home-primary);
}

.event-price-free {
    font-size: 1rem;
    font-weight: 600;
    color: #16a34a;
    background: #dcfce7;
    padding: 4px 12px;
    border-radius: 6px;
}

/* ===== UPCOMING EVENTS SECTION ===== */
.upcoming-events-section {
    padding: 3rem 0;
    background: #ffffff;
}

.event-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1.5px solid #e2e8f0;
    height: 100%;
    margin-bottom: 2rem;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    border-color: var(--home-primary-light);
}

.event-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-card .event-date, .event-image .event-date {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    padding: 0.875rem 1.125rem;
    background: rgba(247, 147, 30, 0.95);
    color: #ffffff;
    border-radius: 1rem;
    text-align: center;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.event-card .event-date .day, .event-image .event-date .day {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.event-card .event-date .month, .event-image .event-date .month {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.event-content {
    padding: 2rem;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    color: #64748b;
}

.event-info-item i {
    color: var(--home-secondary);
    width: 22px;
    text-align: center;
}

/* ===== CTA SECTION ===== */

/* ===== PENGURUS SECTION ===== */
.pengurus-section {
    padding: 3rem 0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.team-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: all 0.3s ease;
    border: 1.5px solid #e2e8f0;
    margin-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--home-primary-light);
}

.team-img {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-content {
    padding: 1.75rem;
    text-align: center;
}

.team-content .name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: #0f172a;
}

.team-content .position {
    font-size: 1rem;
    color: var(--home-primary);
    margin-bottom: 0;
    font-weight: 500;
}

.periode {
    font-size: 1rem;
    color: #64748b;
    margin-top: 0.625rem;
}

/* ===== BUTTON UTILITIES ===== */
.btn-outline-gradient {
    border: 2px solid var(--home-primary);
    color: var(--home-primary);
    background: transparent;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.btn-outline-gradient:hover {
    background: var(--home-gradient-primary);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.2);
}

/* ===== RESPONSIVE STYLES ===== */

/* Large Desktop */
@media (max-width: 1399.98px) {
    .ekosistem-box {
        width: 300px;
        height: 140px;
    }
    
    .ekosistem-row {
        height: 160px;
    }
    
    .slider-track-1,
    .slider-track-2 {
        width: calc(300px * 12);
    }
    
    @keyframes slideRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-300px * 6), 0, 0); }
    }
    
    @keyframes slideLeft {
        0% { transform: translate3d(calc(-300px * 6), 0, 0); }
        100% { transform: translate3d(0, 0, 0); }
    }
}

/* Desktop */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3.5rem);
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ekosistem-box {
        width: 280px;
        height: 140px;
    }
    
    .ekosistem-row {
        height: 160px;
    }
    
    .slider-track-1,
    .slider-track-2 {
        width: calc(280px * 12);
    }
    
    @keyframes slideRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-280px * 6), 0, 0); }
    }
    
    @keyframes slideLeft {
        0% { transform: translate3d(calc(-280px * 6), 0, 0); }
        100% { transform: translate3d(0, 0, 0); }
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 6rem 0 8rem;
        min-height: 70vh;
    }
    
    .video-profile-section,
    .ekosistem-section,
    .aktivitas-section,
    .upcoming-events-section,
    .pengurus-section {
        padding: 2.5rem 0;
    }
    
    .profile-content {
        margin-bottom: 2rem;
    }
    
    .ekosistem-box {
        width: 260px;
        height: 130px;
        padding: 0 8px;
    }
    
    .ekosistem-row {
        height: 150px;
    }
    
    .ekosistem-card {
        padding: 1.25rem;
    }
    
    .slider-track-1,
    .slider-track-2 {
        width: calc(260px * 12);
    }
    
    @keyframes slideRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-260px * 6), 0, 0); }
    }
    
    @keyframes slideLeft {
        0% { transform: translate3d(calc(-260px * 6), 0, 0); }
        100% { transform: translate3d(0, 0, 0); }
    }
    
    .ekosistem-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        margin-right: 1.25rem;
    }
    
    .ekosistem-icon img {
        width: 45px;
        height: 45px;
    }
    
    .ekosistem-title {
        font-size: 1.1rem;
    }
    
    .ekosistem-desc {
        font-size: 0.85rem;
    }
}

/* Mobile Large */
@media (max-width: 767.98px) {
    /* Container optimization */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Section - CLEAN & CENTERED */
    .hero-section {
        padding: 4.5rem 0 3.5rem;
        min-height: 70vh;
        display: flex;
        align-items: center;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
        margin-bottom: 1.25rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
        line-height: 1.65;
    }
    
    .hero-actions {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        padding: 1rem 2.25rem;
        font-size: 1rem;
        min-width: 240px;
    }
    
    /* Section Spacing - CONSISTENT */
    .video-profile-section {
        padding: 4rem 0;
    }
    
    .ekosistem-section {
        padding: 2rem 0 1.5rem 0;
        background: #fafbfc;
    }
    
    .aktivitas-section {
        padding: 2rem 0;
    }
    
    .upcoming-events-section {
        padding: 4rem 0;
        background: #fafbfc;
    }
    
    .pengurus-section {
        padding: 4rem 0;
    }
    
    .cta-section {

/* Mobile Medium */
@media (max-width: 639.98px) {
    /* Container padding optimization */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    /* Hero adjustments */
    .hero-pattern {
        opacity: 0.3;
    }
    
    /* Section spacing */
    .video-profile-section,
    .ekosistem-section,
    .aktivitas-section,
    .upcoming-events-section,
    .pengurus-section {
        padding: 2.75rem 0;
    }
    
    /* Ekosistem Medium Mobile */
    .ekosistem-box {
        width: 235px;
        height: 122px;
        padding: 0 5px;
    }
    
    .ekosistem-row {
        height: 142px;
    }
    
    .ekosistem-card {
        padding: 0.9rem;
    }
    
    .slider-track-1,
    .slider-track-2 {
        width: calc(235px * 12);
    }
    
    @keyframes slideRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-235px * 6), 0, 0); }
    }
    
    @keyframes slideLeft {
        0% { transform: translate3d(calc(-235px * 6), 0, 0); }
        100% { transform: translate3d(0, 0, 0); }
    }
    
    .ekosistem-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin-right: 0.9rem;
    }
    
    .ekosistem-icon img {
        width: 40px;
        height: 40px;
    }
    
    .ekosistem-title {
        font-size: 1rem;
    }
    
    .ekosistem-desc {
        font-size: 0.8rem;
    }
    
    /* Cards spacing */
    .aktivitas-card,
    .event-card,
    .team-card {
        margin-bottom: 1.125rem;
    }
    
    /* Typography adjustments */
    .section-title .gerak-title,
    .section-title .visi-title {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 0.92rem;
    }
}

/* Mobile Small */
@media (max-width: 575.98px) {
    /* Container - TIGHT & CLEAN */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Hero Section - COMPACT */
    .hero-section {
        padding: 3.5rem 0 4.5rem;
        min-height: 65vh;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-title {
        font-size: 1.85rem;
        margin-bottom: 1rem;
        padding: 0 0.75rem;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1.5rem;
        margin-bottom: 1.75rem;
        line-height: 1.65;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.875rem;
        padding: 0 1.5rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
        padding: 0.95rem 1.75rem;
        font-size: 0.975rem;
    }
    
    .scroll-indicator {
        bottom: 1.25rem;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
    
    /* Section Spacing - BALANCED */
    .video-profile-section {
        padding: 3.5rem 0;
    }
    
    .ekosistem-section {
        padding: 2rem 0 1.5rem 0;
    }
    
    .aktivitas-section {
        padding: 2rem 0;
    }
    
    .upcoming-events-section {
        padding: 3.5rem 0;
    }
    
    .pengurus-section {
        padding: 3.5rem 0;
    }
    
    .cta-section {
        padding: 2.75rem 0;
    }
    
    /* Video Profile - CENTERED LAYOUT */
    .profile-content {
        text-align: center;
        margin-bottom: 2.75rem;
        padding: 0;
    }
    
    .profile-badge {
        font-size: 0.75rem;
        padding: 0.45rem 0.95rem;
        margin: 0 auto 1.25rem;
    }
    
    .profile-badge i {
        font-size: 0.85rem;
    }
    
    .profile-title {
        font-size: 1.75rem;
        margin-bottom: 1.125rem;
        line-height: 1.3;
        padding: 0 0.75rem;
    }
    
    .profile-title .highlight {
        margin-top: 0.25rem;
    }
    
    .profile-description {
        font-size: 0.975rem;
        line-height: 1.75;
        margin-bottom: 1.75rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    /* Stats - SINGLE COLUMN HORIZONTAL */
    .profile-stats {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        margin-bottom: 1.75rem;
        max-width: 100%;
    }
    
    .stat-item {
        padding: 1rem 1.25rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1.25rem;
        align-items: center;
        text-align: left;
    }
    
    .stat-number {
        font-size: 2.5rem;
        margin-bottom: 0;
        line-height: 1;
        min-width: 60px;
    }
    
    .stat-label {
        font-size: 0.875rem;
        text-align: left;
        line-height: 1.4;
    }
    
    /* CTA Button - FULL WIDTH */
    .profile-cta {
        width: 100%;
        flex-direction: column;
        gap: 0.875rem;
        padding: 0 0.5rem;
    }
    
    .btn-play {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 0.95rem 1.75rem;
        font-size: 0.975rem;
    }
    
    .video-wrapper {
        margin: 0;
        border-radius: 1.125rem;
    }
    
    .video-container {
        border-radius: 1.125rem;
    }
    
    /* Section Titles - COMPACT */
    .section-title {
        margin-bottom: 2.25rem;
        padding: 0 0.75rem;
        text-align: center;
    }
    
    .section-title .gerak-title,
    .section-title .visi-title {
        font-size: 1.75rem;
        margin-bottom: 0;
        line-height: 1.05;
        font-weight: 800;
    }
    
    .section-title .gerak-title {
        margin-bottom: 0;
    }
    
    .section-title .visi-title {
        margin-bottom: 0.2rem;
    }
    
    .section-title > div {
        margin-top: 0.2rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
        line-height: 1.35;
        margin-bottom: 0.15rem;
    }
    
    /* Ekosistem Small Mobile - OPTIMIZED */
    .ekosistem-container {
        gap: 1.25rem;
        margin-top: 2.25rem;
    }
    
    .ekosistem-box {
        width: 240px;
Optimize for retina displays */
@media (-webkit-min-device-pixel-ratio: 2), 
       (min-resolution: 192dpi) {
    .ekosistem-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
/* Link styling untuk "ada di sini!" */
.section-title a.home-text-gradient {
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.section-title a.home-text-gradient::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--home-primary), var(--home-secondary));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.section-title a.home-text-gradient:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.section-title a.home-text-gradient:hover {
    transform: translateY(-1px);
}
/* ===== RESPONSIVE FOR NEWS & EVENT CARDS ===== */
@media (max-width: 991.98px) {
    .news-card-image,
    .event-card-image {
        height: 220px;
    }
    
    .news-title,
    .event-card-title {
        font-size: 1.25rem;
    }
    
    .news-card-content,
    .event-card-content {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .aktivitas-section,
    .upcoming-events-section {
        padding: 4rem 0;
    }
    
    .news-card-image,
    .event-card-image {
        height: 200px;
    }
    
    .news-title,
    .event-card-title {
        font-size: 1.2rem;
    }
    
    .news-excerpt,
    .event-card-excerpt {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
    }
    
    .event-meta {
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .news-card-image,
    .event-card-image {
        height: 180px;
    }
    
    .news-card-content,
    .event-card-content {
        padding: 1.25rem;
    }
    
    .news-title,
    .event-card-title {
        font-size: 1.15rem;
        margin-bottom: 0.625rem;
    }
    
    .news-footer,
    .event-card-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .event-btn-primary,
    .event-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .empty-state {
        padding: 3rem 1.5rem;
    }
    
    .empty-state i {
        font-size: 3rem;
    }
}
    .slider-track-2 {
        width: calc(215px * 12);
    }
    
    @keyframes slideRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-215px * 6), 0, 0); }
    }
    
    @keyframes slideLeft {
        0% { transform: translate3d(calc(-215px * 6), 0, 0); }
        100% { transform: translate3d(0, 0, 0); }
    }
}

/* iPhone SE (1st & 2nd gen) */
@media only screen 
    and (device-width: 375px) 
    and (device-height: 667px) 
    and (-webkit-device-pixel-ratio: 2) {
    .ekosistem-box {
        width: 195px;
        height: 108px;
    }
    
    .slider-track-1,
    .slider-track-2 {
        width: calc(195px * 12);
    }
    
    @keyframes slideRight {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-195px * 6), 0, 0); }
    }
    
    @keyframes slideLeft {
        0% { transform: translate3d(calc(-195px * 6), 0, 0); }
        100% { transform: translate3d(0, 0, 0); }
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Disable animations on low-end devices */
@media (prefers-reduced-motion: reduce), 
       (prefers-color-scheme: no-preference) and (max-width: 374px) {
    .slider-track-1,
    .slider-track-2 {
        animation-duration: 60s; /* Slower animation for better performance */
    }
}

/* GPU acceleration for smooth animations */
.slider-track-1,
.slider-track-2,
.ekosistem-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

/*/* ========================================
   STRUKTUR ORGANISASI - STANDALONE VERSION
   Paste ini di PALING BAWAH home.css
   ======================================== */

/* Variables - Standalone */
.struktur-organisasi-section {
    --primary: #0A2463;
    --primary-light: #3E92CC;
    --primary-dark: #071A4A;
    --secondary: #F7931E;
    --secondary-light: #FFA500;
}

/* Section */
.struktur-organisasi-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.struktur-organisasi-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(10, 36, 99, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, rgba(247, 147, 30, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.struktur-organisasi-section .container {
    position: relative;
    z-index: 1;
}

/* Title */
.struktur-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.struktur-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Wrapper */
.org-chart-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Levels */
.org-level {
    position: relative;
    margin-bottom: 3rem;
}

.level-ketua {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.level-pengurus {
    margin-top: 3rem;
}

/* Grid */
.org-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
}

.org-grid-item {
    display: flex;
    justify-content: center;
}

/* Cards */
.org-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    position: relative;
}

.org-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0A2463, #F7931E);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.org-card:hover::before {
    transform: scaleX(1);
}

.org-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 36, 99, 0.15), 0 10px 20px rgba(247, 147, 30, 0.1);
    border-color: #3E92CC;
}

/* Ketua Card */
.org-card-ketua {
    min-width: 320px;
    max-width: 380px;
    box-shadow: 0 15px 35px rgba(10, 36, 99, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
}

.org-card-ketua::before {
    height: 5px;
}

/* Pengurus Card */
.org-card-pengurus {
    width: 100%;
    max-width: 280px;
}

/* Card Inner */
.org-card-inner {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.org-card-ketua .org-card-inner {
    padding: 2.5rem 2rem;
    gap: 1.5rem;
}

/* Avatar */
.org-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(10, 36, 99, 0.05);
    transition: all 0.4s ease;
}

.org-card-ketua .org-avatar {
    width: 140px;
    height: 140px;
    border: 5px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 0 5px rgba(10, 36, 99, 0.08);
}

.org-card:hover .org-avatar {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(247, 147, 30, 0.1);
}

.org-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.org-card:hover .org-avatar img {
    transform: scale(1.1);
}

/* Badge */
.org-status-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #F7931E, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(247, 147, 30, 0.3);
    transition: all 0.3s ease;
}

.org-card-ketua .org-status-badge {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    border: 4px solid #ffffff;
}

.org-status-badge-small {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
    border: 2px solid #ffffff;
}

.org-card:hover .org-status-badge {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 15px rgba(247, 147, 30, 0.4);
}

/* Info */
.org-info {
    width: 100%;
}

.org-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #071A4A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.org-card-ketua .org-name {
    font-size: 1.5rem;
    font-weight: 800;
}

.org-card:hover .org-name {
    color: #0A2463;
}

.org-position {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}

.org-card-ketua .org-position {
    font-size: 1.05rem;
    color: #F7931E;
    font-weight: 600;
}

/* Connector */
.org-connector {
    position: relative;
    margin: 0 auto;
}

.org-connector-vertical {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #0A2463, #3E92CC);
    opacity: 0.3;
    border-radius: 2px;
}

/* Button */
.btn-outline-gradient-custom {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0A2463;
    background: transparent;
    border: 2px solid #0A2463;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

.btn-outline-gradient-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, #0A2463, #3E92CC);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-outline-gradient-custom:hover {
    color: #ffffff;
    border-color: #0A2463;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 36, 99, 0.2);
    text-decoration: none;
}

.btn-outline-gradient-custom:hover::before {
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1199.98px) {
    .struktur-organisasi-section {
        padding: 4.5rem 0;
    }
    .org-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
    }
    .org-card-ketua {
        min-width: 300px;
        max-width: 350px;
    }
    .org-card-pengurus {
        max-width: 260px;
    }
}

@media (max-width: 991.98px) {
    .struktur-organisasi-section {
        padding: 4rem 0;
    }
    .struktur-title {
        font-size: 2.25rem;
    }
    .struktur-subtitle {
        font-size: 1rem;
    }
    .org-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    .org-card-ketua {
        min-width: 280px;
        max-width: 320px;
    }
    .org-card-ketua .org-avatar {
        width: 130px;
        height: 130px;
    }
    .org-avatar {
        width: 110px;
        height: 110px;
    }
    .org-card-inner {
        padding: 1.75rem 1.25rem;
        gap: 1rem;
    }
    .org-card-ketua .org-card-inner {
        padding: 2.25rem 1.75rem;
        gap: 1.25rem;
    }
    .org-name {
        font-size: 1.15rem;
    }
    .org-card-ketua .org-name {
        font-size: 1.35rem;
    }
    .org-position {
        font-size: 0.9rem;
    }
    .org-card-ketua .org-position {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .struktur-organisasi-section {
        padding: 3.5rem 0;
    }
    .struktur-title {
        font-size: 2rem;
    }
    .org-chart-wrapper {
        padding: 1.5rem 0;
    }
    .org-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .org-card-ketua {
        min-width: 260px;
        max-width: 300px;
    }
    .org-card-pengurus {
        max-width: 100%;
    }
    .org-card-ketua .org-avatar {
        width: 120px;
        height: 120px;
    }
    .org-avatar {
        width: 100px;
        height: 100px;
        border: 3px solid #ffffff;
    }
    .org-card-ketua .org-card-inner {
        padding: 2rem 1.5rem;
    }
    .org-card-inner {
        padding: 1.5rem 1rem;
    }
    .org-status-badge {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    .org-card-ketua .org-status-badge {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
    .org-connector-vertical {
        height: 30px;
    }
    .btn-outline-gradient-custom {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .struktur-organisasi-section {
        padding: 3rem 0;
    }
    .struktur-title {
        font-size: 1.75rem;
    }
    .struktur-subtitle {
        font-size: 0.95rem;
    }
    .org-chart-wrapper {
        padding: 1rem 0;
    }
    .org-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 0 auto;
    }
    .org-grid-item {
        justify-content: center;
    }
    .org-card-ketua {
        min-width: 100%;
        max-width: 300px;
    }
    .org-card-pengurus {
        max-width: 100%;
        width: 100%;
    }
    .org-card-ketua .org-avatar {
        width: 110px;
        height: 110px;
        border: 4px solid #ffffff;
    }
    .org-avatar {
        width: 90px;
        height: 90px;
    }
    .org-card-ketua .org-card-inner {
        padding: 1.75rem 1.25rem;
        gap: 1rem;
    }
    .org-card-inner {
        padding: 1.25rem 0.875rem;
        gap: 0.875rem;
    }
    .org-name {
        font-size: 1.05rem;
    }
    .org-card-ketua .org-name {
        font-size: 1.25rem;
    }
    .org-position {
        font-size: 0.85rem;
    }
    .org-card-ketua .org-position {
        font-size: 0.95rem;
    }
    .org-status-badge {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
        border: 2px solid #ffffff;
    }
    .org-card-ketua .org-status-badge {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        border: 3px solid #ffffff;
    }
    .org-connector-vertical {
        height: 25px;
        width: 2px;
    }
    .level-ketua {
        margin-bottom: 1.5rem;
    }
    .level-pengurus {
        margin-top: 2rem;
    }
    .btn-outline-gradient-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 374.98px) {
    .struktur-title {
        font-size: 1.5rem;
    }
    .org-grid {
        max-width: 260px;
    }
    .org-card-ketua {
        max-width: 260px;
    }
    .org-card-ketua .org-avatar {
        width: 100px;
        height: 100px;
    }
    .org-avatar {
        width: 80px;
        height: 80px;
    }
    .org-name {
        font-size: 1rem;
    }
    .org-card-ketua .org-name {
        font-size: 1.15rem;
    }
    .org-position {
        font-size: 0.8rem;
    }
}
/* ===== TEAM CARD STYLES FOR STRUKTUR ORGANISASI ===== */
.struktur-organisasi-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

.struktur-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.struktur-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

/* Team Cards */
.team-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f1f5f9;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.3));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.team-card:hover .team-social a {
    transform: translateY(0);
    opacity: 1;
}

.team-card:hover .team-social a:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:hover .team-social a:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:hover .team-social a:nth-child(3) {
    transition-delay: 0.3s;
}

.team-social a:hover {
    background: white;
    color: var(--home-primary);
    transform: translateY(-5px);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.team-content .name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--home-primary-dark);
    transition: color 0.3s ease;
}

.team-card:hover .team-content .name {
    color: var(--home-primary);
}

.team-content .position {
    font-size: 0.95rem;
    color: var(--home-secondary);
    font-weight: 500;
    margin-bottom: 0;
}

/* Responsive Team Cards */
@media (max-width: 991.98px) {
    .struktur-organisasi-section .struktur-title {
        font-size: 2.25rem;
    }
    .team-img {
        height: 260px;
    }
}

@media (max-width: 767.98px) {
    .struktur-organisasi-section {
        padding: 4rem 0;
    }
    .struktur-organisasi-section .struktur-title {
        font-size: 2rem;
    }
    .team-img {
        height: 240px;
    }
    .team-content {
        padding: 1.25rem;
    }
}
/* ===== CTA SECTION WITH BACKGROUND IMAGE (FIXED & COMPLETE) ===== */
.cta-section {
    padding: 1.5rem 0;
    background: transparent;
}

.cta-box {
    position: relative;
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    background-color: #0A2463;
    border-radius: 1.5rem;
    padding: 2.5rem 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    min-height: 260px;
    display: flex;
    align-items: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.5), rgba(62, 146, 204, 0.4));
    z-index: 1;
    display: block;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-left: 1rem;
}

.cta-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #ffffff !important;
    line-height: 1.3;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.7);
}

.cta-title .text-warning {
    color: #F7931E !important;
    font-style: italic;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.7);
}

.cta-text {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: #ffffff !important;
    line-height: 1.45;
    margin-bottom: 0.875rem;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.9),
        0 4px 8px rgba(0, 0, 0, 0.8),
        0 8px 16px rgba(0, 0, 0, 0.7);
}

.cta-button-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.75rem;
}

.btn-cta-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    background: #F7931E;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 12px rgba(247, 147, 30, 0.4);
    border: none;
    text-transform: capitalize;
}

.btn-cta-contact:hover {
    background: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 147, 30, 0.6);
    color: #ffffff;
}

/* Responsive CTA */
@media (max-width: 991.98px) {
    .cta-box {
        padding: 2rem 2rem;
        min-height: 240px;
        text-align: center;
    }
    
    .cta-content {
        padding-left: 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cta-text {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }
    
    .cta-button-wrapper {
        justify-content: center;
    }
    
    .btn-cta-contact {
        padding: 0.5rem 1.5rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 767.98px) {
    .cta-box {
        padding: 1.75rem 1.5rem;
        min-height: 220px;
        border-radius: 1.25rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
        line-height: 1.35;
    }
    
    .cta-text {
        font-size: 0.75rem;
        margin-bottom: 0.625rem;
        line-height: 1.4;
    }
    
    .btn-cta-contact {
        padding: 0.5rem 1.375rem;
        font-size: 0.8125rem;
        max-width: 200px;
    }
}

@media (max-width: 575.98px) {
    .cta-box {
        padding: 1.5rem 1.25rem;
        min-height: 200px;
    }
    
    .cta-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        line-height: 1.35;
    }
    
    .cta-text {
        font-size: 0.6875rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }
    
    .btn-cta-contact {
        padding: 0.5rem 1.25rem;
        font-size: 0.75rem;
        max-width: 180px;
    }
}