/* ==========================================================================
   CSS VARIABLES & DESIGN TOKENS (PT AKSARA VIDYA INDONESIA - LIGHT THEME)
   ========================================================================== */
   :root {
    /* Colors based on PRD */
    --primary: #0a1628;       /* Navy Blue */
    --primary-light: #162c4f;
    --primary-dark: #050a12;
    
    --secondary: #162c4f;     /* Navy Blue (Replaced Gold) */
    --accent: #2563eb;        /* Bright Blue */

    --bg-dark: #ffffff;       /* Main background: White */
    --bg-darker: #f8fafc;     /* Alternate background: Off-white/Light gray */
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-card-hover: rgba(255, 255, 255, 1);
    
    --text-main: #0f172a;     /* Dark text for white background */
    --text-muted: #475569;    /* Gray text */
    --text-dark: #020617;

    --glass-border: rgba(0, 0, 0, 0.05); /* Subtle dark border for glass effect */
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Sizes */
    --container-width: 1440px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ==========================================================================
   RESET & GLOBAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-dark {
    background-color: var(--bg-darker);
}

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

.w-100 {
    width: 100%;
}

.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.border-none { border: none !important; }
.justify-center { justify-content: center !important; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.fw-bold { font-weight: bold; }
.text-sm { font-size: 0.875rem; color: var(--text-muted); }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
}

.subtitle {
    display: inline-block;
    color: var(--secondary); /* Use gold for subtitle to pop out */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body); /* Body font for buttons */
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(10, 22, 40, 0.3);
}

.btn-gold {
    background: #f0b90b;
    color: #0a1628;
    box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(10, 22, 40, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(240, 185, 11, 0.5);
    transform: translateY(-2px);
    color: #000;
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(10, 22, 40, 0.05);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-primary { background-color: rgba(10, 22, 40, 0.1); color: var(--primary); border: 1px solid var(--primary); }
.badge-purple { background-color: rgba(37, 99, 235, 0.1); color: var(--accent); border: 1px solid var(--accent); }
.badge-gold { background-color: rgba(22, 44, 79, 0.1); color: var(--secondary); border: 1px solid var(--secondary); }

/* ==========================================================================
   BACKGROUND & GLASSMORPHISM
   ========================================================================== */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.15;
}

.bg-shape-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent);
}

.bg-shape-2 {
    top: 20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--secondary);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   HEADER NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-icon {
    color: var(--secondary);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

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

.nav-links a.active::after, .nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO / BERANDA SECTION (FULL BACKGROUND)
   ========================================================================== */
.hero-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.85); /* Navy blue overlay */
    z-index: 1;
}

.hero-content-full {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: var(--nav-height);
    color: white;
}

.hero-content-full h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-content-full p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-item .stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item .stat-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.hero-img-main {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.floating-card h4 {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-main);
}

.floating-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.floating-card i {
    background: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

@media (min-width: 1024px) {
    .grid-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* VISI MISI */
.misi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.misi-item {
    position: relative;
    padding: 2rem 1.5rem;
}

.misi-item .misi-number {
    position: absolute;
    top: -15px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(22, 44, 79, 0.15); /* Navy blue faint */
    z-index: -1;
}

/* DIVISI / LAYANAN SECTION */
.divisi-card {
    text-align: center;
}

.divisi-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.layanan-list {
    text-align: left;
    list-style-type: none;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.layanan-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.layanan-list li i {
    color: var(--primary);
    margin-top: 5px;
    flex-shrink: 0;
}

/* PROGRAM SECTION (PROFESSIONAL CORPORATE UI) */
.pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.pro-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.pro-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(0,0,0,0.08);
}

.pro-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(22, 44, 79, 0.05); /* very light primary */
    color: var(--primary-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.pro-card h3 {
    color: #162c4f;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pro-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pro-card-footer {
    margin-top: auto;
    border-top: 1px solid #edf2f7;
    padding-top: 1.25rem;
}

.pro-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.pro-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* TESTIMONIAL */
.testimonial-card {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.testimonial-card p {
    flex-grow: 1;
    font-style: italic;
}


/* ==========================================================================
   MENTOR SECTION
   ========================================================================== */
.mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.mentor-card-new {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mentor-photo {
    height: 280px;
    width: 100%;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mentor-info {
    background: #ffffff;
    padding: 2rem 1.5rem;
    text-align: center;
    flex-grow: 1;
}

.mentor-info h4 {
    color: #162c4f;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mentor-specialty {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.mentor-specialty i {
    margin-right: 5px;
}

.mentor-info p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: white;
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}

.footer .logo {
    color: white;
}

.footer .text-muted, .footer p {
    color: #cbd5e1;
}

.footer h4 {
    color: white;
}

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

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

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

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

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-up {
    animation: fadeUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-right {
    animation: fadeRight 1s ease forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.fade-left {
    animation: fadeLeft 1s ease forwards;
    opacity: 0;
    transform: translateX(30px);
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeRight {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .event-container, .kontak-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content-full {
        text-align: center;
        margin-top: 2rem;
    }

    .hero-content-full p {
        margin: 0 auto 2rem;
    }

    .hero-cta, .hero-stats {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        transform: translateY(-150%);
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.show {
        transform: translateY(0);
    }
    
    .hero-content-full h1 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .pro-grid, .misi-grid, .mentor-grid-new, .grid-cards {
        gap: 1.5rem;
    }

    .pro-card {
        padding: 1.5rem;
    }

    .misi-item {
        padding: 1.5rem 1rem;
    }

    .footer-top {
        gap: 2rem;
        text-align: center;
    }

    .footer-location iframe {
        height: 250px;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-card {
        display: none;
    }
}
