/* 
 * Modern CMS Website Styles
 * PT. AKADEMI MEDIKA INDONESIA
 * Navy Blue & Teal Theme with Gold Accent
 */

/* ===== CSS Variables ===== */
:root {
    --primary: #1e3a5f;
    --primary-dark: #152a45;
    --secondary: #4da8b8;
    --accent: #c9a227;
    --success: #48bb78;
    --warning: #ed8936;
    --danger: #f56565;

    --dark: #1e3a5f;
    --dark-light: #2a4a6f;
    --gray: #718096;
    --gray-light: #a0aec0;
    --light: #f7fafc;
    --white: #ffffff;

    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);

    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius: 12px;
    --radius-lg: 24px;

    --transition: all 0.3s ease;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

/* Section Header Tags */
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 15px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #d4b02e 100%);
    color: var(--dark);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.5);
}

.btn-outline {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--white);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-outline-dark:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    margin-left: 10px;
}

.navbar.scrolled .logo-img {
    height: 48px;
}

.navbar.scrolled .logo-text {
    color: var(--dark);
}

.footer-logo {
    height: 120px;
    filter: none;
}

.navbar.scrolled .logo {
    color: var(--dark);
}

.logo-icon {
    font-size: 28px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== Dropdown Navigation ===== */
.nav-dropdown {
    position: relative;
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none !important;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}


.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    min-width: 220px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1001;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 2px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
    padding-left: 24px;
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
}

.nav-link {
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link {
    color: var(--gray);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(13, 148, 136, 0.1);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.75) 0%, rgba(42, 74, 111, 0.65) 100%);
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active,
.hero-dot:hover {
    background: var(--white);
    transform: scale(1.2);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: var(--white);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ===== Page Header ===== */
.page-header {
    background: var(--gradient);
    padding: 140px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--gray);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 10px;
}

/* ===== Section Styles ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    color: var(--gray);
    font-size: 18px;
}

.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* ===== Services Section ===== */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.service-link:hover {
    gap: 12px;
}

/* ===== About Section ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .section-tag,
.about-content .section-title {
    text-align: left;
}

.about-content>p {
    color: var(--gray);
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(20, 184, 166, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--gray);
}

.about-visual {
    position: relative;
}

/* Partnership Badge */
.partnership-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    padding: 15px 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #28a745;
}

.partnership-badge i {
    color: #28a745;
    font-size: 20px;
    margin-top: 2px;
}

.partnership-badge span {
    color: #155724;
    font-size: 15px;
    line-height: 1.6;
}

.partnership-badge strong {
    color: #155724;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    -webkit-text-fill-color: var(--secondary);
}

/* ===== Partners Section ===== */
.partners-section {
    background: var(--white);
    padding: 80px 0;
}

.partners-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partner-card {
    background: var(--light);
    padding: 40px 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.partner-card img {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.partner-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.partner-card p {
    color: var(--gray);
    font-size: 14px;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.testimonials .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.testimonials .section-title,
.testimonials .section-desc {
    color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-content p {
    color: var(--white);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
}

img.author-avatar {
    display: block;
}

.author-info h4 {
    color: var(--white);
    font-size: 18px;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* ===== Blog Section ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--gray-light);
}

.blog-content {
    padding: 30px;
}

.blog-date {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.blog-content h3 {
    margin-bottom: 12px;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content>p {
    color: var(--gray);
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.blog-link:hover {
    gap: 12px;
}

/* ===== Video Gallery Section ===== */
.video-gallery {
    background: var(--dark);
    color: var(--white);
}

.video-gallery .section-tag {
    color: var(--accent);
}

.video-gallery .section-title {
    color: var(--white);
}

.video-gallery .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 8px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

/* Video Thumbnail Overlay for Google Drive */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #1a1a2e;
}

.video-thumbnail-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.video-thumbnail-overlay:hover img {
    opacity: 1;
}

.video-thumbnail-overlay .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.video-thumbnail-overlay:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--white);
}

.video-thumbnail-overlay .play-button i {
    color: var(--primary);
    font-size: 28px;
    margin-left: 4px;
}

/* Google Drive Video Placeholder */
.gdrive-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.gdrive-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.6);
}

.gdrive-placeholder span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    text-align: center;
    max-width: 80%;
}

/* ===== Events Section ===== */
.events-section {
    background: var(--light);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.event-image {
    background: var(--light);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
}

.countdown-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 107, 53, 0.4);
}

.event-image-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.event-image-zoom i {
    font-size: 24px;
    color: var(--primary);
}

.event-image:hover .event-image-zoom {
    opacity: 1;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-card-content {
    padding: 25px;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: -30px;
    right: 25px;
    background: var(--gradient);
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.event-date-badge .day {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.event-date-badge .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    padding-right: 80px;
}

.event-speaker,
.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.event-speaker i,
.event-location i {
    color: var(--primary);
    width: 16px;
}

.event-price {
    margin: 12px 0;
}

.event-price .price-value {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent);
}

.event-price .price-free {
    display: inline-block;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-card .btn {
    margin-top: 15px;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-info>p {
    color: var(--gray);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    color: var(--dark);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.cta-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    margin: 0 auto 24px;
}

.cta-card h3 {
    margin-bottom: 12px;
}

.cta-card p {
    color: var(--gray);
    margin-bottom: 24px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-light);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-light);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-light);
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 14px;
}

.admin-login-link {
    color: var(--gray);
    font-size: 13px;
    text-decoration: none;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.admin-login-link:hover {
    color: var(--white);
    opacity: 1;
}

.admin-login-link i {
    margin-right: 5px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--dark) !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
        padding: 80px 20px 40px;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Show mobile-only items, hide desktop-only */
    .mobile-only {
        display: list-item !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-menu .nav-link {
        color: var(--white) !important;
        font-size: 20px;
        background: none !important;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Fix backdrop-filter clipping fixed mobile nav on scrolled pages */
    .navbar.scrolled:has(.nav-menu.active) {
        backdrop-filter: none;
        background: var(--dark) !important;
    }

    .nav-cta {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .testimonials-slider,
    .blog-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

/* ===== Search Form ===== */
.search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    background: transparent;
}

.search-input:focus {
    outline: none;
}

.search-btn {
    padding: 16px 24px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    opacity: 0.9;
}

.search-clear {
    display: inline-block;
    margin-top: 12px;
    color: var(--gray);
    font-size: 14px;
    text-decoration: none;
}

.search-clear:hover {
    color: var(--danger);
}

.search-results-info {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--white);
    color: var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.pagination-num:hover,
.pagination-num.active {
    background: var(--primary);
    color: var(--white);
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--gray);
}




@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .pagination {
        flex-direction: column;
        gap: 20px;
    }

    .pagination-numbers {
        order: -1;
    }
}

/* ========================================
   Trainings Section (Pelatihan Lain)
======================================== */
.trainings-section {
    background: var(--light);
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.training-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 25px 20px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
}

.training-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.training-item i:first-child {
    color: var(--primary);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 148, 136, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.training-item span {
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.4;
    font-weight: 500;
}

.training-item .training-link {
    color: var(--gray);
    opacity: 0;
    transition: var(--transition);
}

.training-item:hover .training-link {
    opacity: 1;
    color: var(--primary);
}

.training-hidden {
    display: none;
}

.trainings-toggle {
    margin-top: 30px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.btn-outline.expanded i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .trainings-grid {
        grid-template-columns: 1fr;
    }

    .training-item {
        padding: 15px;
    }

    .training-item span {
        font-size: 0.9rem;
    }
}

/* ========================================
   Compact Trainings (Inside About Section)
======================================== */
.trainings-compact {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.trainings-compact-title {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trainings-compact-title i {
    color: var(--primary);
}

.trainings-compact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.training-compact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--light);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--dark);
    transition: var(--transition);
}

.training-compact-item:hover {
    background: var(--primary);
    color: white;
}

.training-compact-item i {
    font-size: 0.75rem;
    color: var(--primary);
}

.training-compact-item:hover i {
    color: white;
}

.btn-compact-toggle {
    margin-top: 12px;
    padding: 6px 16px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-compact-toggle:hover {
    background: var(--primary);
    color: white;
}

.btn-compact-toggle i {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.btn-compact-toggle.expanded i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .training-compact-item {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* ========================================
   Mitra Logos Inside About Section
======================================== */
.about-mitra {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.about-mitra-title {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 15px;
    font-weight: 500;
}

.about-mitra-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.mitra-logo-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--light);
    border-radius: 12px;
    transition: var(--transition);
}

.mitra-logo-item:hover {
    box-shadow: var(--shadow);
}

.mitra-logo-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.mitra-logo-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

@media (max-width: 768px) {
    .about-mitra-logos {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================
   Alumni Logos Section - Auto Slider
======================================== */
.alumni-section {
    background: var(--white);
    padding: 60px 0;
    overflow: hidden;
}

.alumni-title {
    font-size: 1.3rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 40px;
}

/* Manual Carousel Styles */
.alumni-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.alumni-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.alumni-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.alumni-carousel {
    flex: 1;
    overflow: hidden;
}

.alumni-track {
    display: flex;
    gap: 40px;
    transition: transform 0.5s ease;
}

.alumni-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    background: var(--light);
    border-radius: 12px;
}

.alumni-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.alumni-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .alumni-logo {
        width: 150px;
        height: 90px;
    }

    .alumni-track {
        gap: 20px;
    }

    .alumni-title {
        font-size: 1.1rem;
    }

    .alumni-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========================================
   Webinar Gallery Section
======================================== */
.webinar-gallery-section {
    background: var(--light);
}

.webinar-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.webinar-gallery-item {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.webinar-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.webinar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.webinar-date {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 15px;
}

.webinar-date i {
    margin-right: 5px;
    color: var(--primary);
}

.webinar-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.webinar-image-link {
    display: block;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.webinar-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.webinar-image-link:hover img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 15px 10px 10px;
    font-size: 0.8rem;
    text-align: center;
}

.image-label i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .webinar-gallery-grid {
        grid-template-columns: 1fr;
    }

    .webinar-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Zoom Icon on Hover */
.webinar-image-link {
    cursor: pointer;
}

.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.webinar-image-link:hover .zoom-icon {
    opacity: 1;
}

/* ========================================
   Lightbox Modal
======================================== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    padding: 20px;
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -50px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* ========================================
   Gallery Page Styles
======================================== */
.gallery-page-stats {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: var(--light);
    border-radius: 10px;
    display: inline-block;
}

.gallery-page-stats p {
    margin: 0;
    color: var(--gray);
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 450px), 1fr));
    gap: 30px;
}

.gallery-page-item {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.gallery-page-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--light);
}

.gallery-item-header h3 {
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0 0 8px 0;
}

.gallery-date {
    font-size: 0.85rem;
    color: var(--gray);
}

.gallery-date i {
    color: var(--primary);
    margin-right: 5px;
}

.gallery-item-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.gallery-image-card {
    cursor: pointer;
    position: relative;
    border-right: 1px solid var(--light);
}

.gallery-image-card:last-child {
    border-right: none;
}

.gallery-image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image-card:hover img {
    transform: scale(1.05);
}

.gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-overlay i {
    font-size: 2rem;
}

.gallery-image-overlay span {
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-image-card:hover .gallery-image-overlay {
    opacity: 1;
}

.gallery-image-label {
    padding: 12px 15px;
    background: var(--light);
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 500;
    text-align: center;
}

.gallery-image-label i {
    margin-right: 5px;
    color: var(--primary);
}

/* See All Button on Homepage */
.webinar-gallery-section .see-all-btn {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item-images {
        grid-template-columns: 1fr;
    }

    .gallery-image-card {
        border-right: none;
        border-bottom: 1px solid var(--light);
    }
}

/* ===== Testimonial Slider Section ===== */
.testimonials {
    background: var(--gradient);
    padding: 80px 0;
}

.testimonials .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-nav-btn:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

.testimonial-slider-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.testimonial-card-single {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-quote {
    margin-bottom: 20px;
}

.testimonial-quote i {
    font-size: 40px;
    color: var(--accent);
    opacity: 0.8;
}

.testimonial-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
}

.testimonial-stars i {
    color: #ffc107;
    font-size: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 24px;
    color: white;
}

.author-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.author-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active,
.testimonial-dot:hover {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-slider-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-nav-btn {
        display: none;
    }

    .testimonial-card-single {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-slider-container {
        min-height: 400px;
    }
}

/* Event Card Buttons */
.event-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.event-buttons .btn {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    font-size: 13px;
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 768px) {
    .event-buttons {
        flex-direction: column;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #fff0f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: var(--primary);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent);
}

.service-card-cta {
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
}

.service-card-cta .cta-content h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.service-card-cta .cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-cta .btn-primary {
    background: white;
    color: var(--primary);
}

.service-card-cta .btn-primary:hover {
    background: var(--accent);
    color: white;
}

/* Service Modal */
.service-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.service-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.service-modal {
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 100%;
    padding: 40px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.service-modal-overlay.active .service-modal {
    transform: scale(1);
}

.service-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray);
    transition: all 0.3s ease;
}

.service-modal-close:hover {
    background: var(--primary);
    color: white;
}

.service-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-modal-icon i {
    font-size: 36px;
    color: white;
}

.service-modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.service-modal-description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-modal-actions {
    display: flex;
    gap: 15px;
}

.service-modal-actions .btn {
    flex: 1;
}

/* ===== Layanan Kami 4-Column Grid ===== */
.services .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .services .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services .services-grid {
        grid-template-columns: 1fr;
    }
}

.services .service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.services .service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.services .service-icon i {
    font-size: 24px;
    color: white;
}

.services .service-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.services .service-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
}

/* ===== Essential Mobile Navigation Fix ===== */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex !important;
        z-index: 9999 !important;
    }
}

/* ===== Stats Section Mobile Fix ===== */
@media (max-width: 768px) {
    .about-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* ===== Testimonial Slider Fix ===== */
.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

@media (max-width: 768px) {
    .testimonial-slide {
        position: relative;
        opacity: 1;
        transform: none;
    }

    .testimonial-slide.active {
        display: block;
    }

    .testimonial-nav-btn {
        display: none;
    }

    .testimonial-slider-wrapper {
        flex-direction: column;
    }
}

/* ===== Mitra Kerjasama Logos ===== */
.about-mitra {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-mitra-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 15px;
    text-align: center;
}

.about-mitra-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.mitra-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: var(--light);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.mitra-logo-item:hover {
    transform: translateY(-3px);
}

.mitra-logo-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.mitra-logo-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray);
    text-align: center;
}

@media (max-width: 768px) {
    .about-mitra-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .mitra-logo-item img {
        width: 40px;
        height: 40px;
    }

    .mitra-logo-item span {
        font-size: 0.7rem;
    }
}

/* ===== Events Carousel Section ===== */
.events-section {
    background: var(--light);
}

.events-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.events-carousel {
    flex: 1;
    overflow: hidden;
}

.events-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.events-track::-webkit-scrollbar {
    display: none;
}

.events-track .event-card {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.events-track .event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.events-track .event-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.events-track .event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.events-track .countdown-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.events-track .event-card-content {
    padding: 20px;
}

.events-track .event-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--gradient);
    color: white;
    padding: 8px 14px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.events-track .event-date-badge .day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.events-track .event-date-badge .month {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
}

.events-track .event-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.events-track .event-speaker,
.events-track .event-location {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events-track .event-speaker i,
.events-track .event-location i {
    margin-right: 6px;
    color: var(--secondary);
}

.events-track .event-price {
    margin: 12px 0;
}

.events-track .price-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

.events-track .price-free {
    font-size: 16px;
    font-weight: 700;
    color: var(--success);
}

.events-track .event-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.events-track .event-buttons .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 11px;
    text-align: center;
    justify-content: center;
}

/* Navigation Arrows */
.events-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.events-nav-btn:hover {
    background: var(--primary);
    color: var(--white);
}

/* Tablet: 2 cards */
@media (max-width: 1200px) {
    .events-track .event-card {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 992px) {
    .events-track .event-card {
        flex: 0 0 calc(50% - 10px);
    }

    .events-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Mobile: 2x2 Grid with small cropped cards */
@media (max-width: 768px) {
    .events-carousel-wrapper {
        flex-direction: column;
    }

    .events-carousel {
        width: 100%;
        overflow: visible;
    }

    .events-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .events-track .event-card {
        flex: none;
    }

    .events-track .event-image {
        height: 160px;
    }

    .events-track .event-card-content {
        padding: 12px;
    }

    .events-track .event-date-badge {
        padding: 5px 10px;
        margin-bottom: 8px;
    }

    .events-track .event-date-badge .day {
        font-size: 16px;
    }

    .events-track .event-date-badge .month {
        font-size: 9px;
    }

    .events-track .event-title {
        font-size: 13px;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }

    .events-track .event-speaker,
    .events-track .event-location {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .events-track .event-price {
        margin: 8px 0;
    }

    .events-track .price-value {
        font-size: 14px;
    }

    .events-track .price-free {
        font-size: 13px;
    }

    .events-track .event-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .events-track .event-buttons .btn {
        padding: 8px 10px;
        font-size: 10px;
    }

    /* Hide navigation arrows on mobile since grid view */
    .events-nav-btn {
        display: none;
    }

    .events-track .countdown-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 10px;
    }
}