/* Modern Bright Cyber/Tech Variables */
:root {
    --bg-main: #F4F7FC;          /* Bright clean tech background */
    --bg-surface: #FFFFFF;        /* Pure white for cards */
    --primary-color: #0050A0;     /* Deep tech blue */
    --accent-color: #00D5FF;      /* Cyber cyan for glowing accents */
    --accent-hover: #0099FF;      /* Darker cyan hover */
    --text-main: #182838;         /* Dark blueish grey */
    --text-muted: #5C728A;        /* Lighter blueish grey */
    --border-color: rgba(0, 80, 160, 0.15); /* Light blue border */
    
    /* Typography */
    --font-heading: 'Chakra Petch', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Layout & Effects */
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --tech-shadow: 0 8px 32px rgba(0, 80, 160, 0.08);
    --glow-shadow: 0 0 15px rgba(0, 213, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

html { scroll-behavior: smooth; }

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

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

ul { list-style: none; }

/* Dynamic Tech Grid Background */
.tech-background {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background-color: var(--bg-main);
    background-image: 
        linear-gradient(rgba(0, 213, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 213, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    /* Animated Grid Move */
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

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

/* Dropdown Menu Styles */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #e0e6ed;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.05);
    display: none !important;
    flex-direction: column;
    padding: 0.8rem 0;
    z-index: 9999;
    pointer-events: auto;
    border-radius: 4px;
}
.dropdown-menu.show { 
    display: flex !important; 
    animation: slideUpFade 0.2s ease-out forwards;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu li { width: 100%; list-style: none; margin: 0; padding: 0; }
.dropdown-menu li a {
    padding: 1rem 1.8rem;
    display: block !important;
    width: 100%;
    color: #1a2a3a !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    text-align: left;
    outline: none !important;
}
.dropdown-menu li a:hover {
    background: rgba(0, 213, 255, 0.08); /* Tech Light Blue */
    color: var(--primary-color) !important;
    padding-left: 2.2rem;
}
.nav-links a:focus, .nav-links a:active { outline: none !important; background: transparent !important; }




.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    color: var(--primary-color);
}

.highlight {
    color: var(--accent-hover);
}

.logo-icon {
    color: var(--accent-color);
    font-size: 2rem;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

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

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-dot {
    width: 6px;
    height: 6px;
    background-color: transparent;
    border-radius: 50%;
    transition: var(--transition);
}

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

.nav-links a:hover .nav-dot, .nav-links a.active .nav-dot {
    background-color: var(--accent-color);
    box-shadow: var(--glow-shadow);
}

/* Tech Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-surface);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    box-shadow: var(--glow-shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: rgba(255, 255, 255, 0.7);
}

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

.btn-nav { 
    font-size: 0.95rem; 
    padding: 0.8rem 2rem; 
    white-space: nowrap; 
    flex-shrink: 0;
}
.btn-large { padding: 1rem 2rem; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(0, 213, 255, 0.1) 0%, transparent 40%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.4rem 1.2rem;
    background-color: rgba(0, 80, 160, 0.05);
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    position: relative;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 213, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 213, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 213, 255, 0); }
}

.hero-title {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.tech-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 5px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
}

.stat-box {
    position: relative;
    padding: 1.5rem 3rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: var(--tech-shadow);
    /* Sci-fi edges */
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

.stat-borders {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: 1px solid transparent;
    transition: var(--transition);
}

.stat-box:hover .stat-borders {
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--primary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--accent-hover);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 213, 255, 0.2);
}

.stat-box p {
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* Programs Section */
.programs {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 500;
}

.grid-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.program-card {
    background: var(--bg-surface);
    padding: 3rem 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--tech-shadow);
    position: relative;
    transition: var(--transition);
}

/* Glowing tech corners for cards */
.card-corner-tl, .card-corner-br {
    position: absolute;
    width: 20px; height: 20px;
    transition: var(--transition);
}

.card-corner-tl {
    top: -1px; left: -1px;
    border-top: 3px solid var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.card-corner-br {
    bottom: -1px; right: -1px;
    border-bottom: 3px solid var(--accent-color);
    border-right: 3px solid var(--accent-color);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 80, 160, 0.15);
    border-color: rgba(0, 213, 255, 0.3);
}

.program-card:hover .card-corner-tl, .program-card:hover .card-corner-br {
    width: 40px; height: 40px;
    box-shadow: var(--glow-shadow);
}

.card-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, rgba(0, 80, 160, 0.1), rgba(0, 213, 255, 0.1));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 213, 255, 0.2);
    clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.program-card:hover .card-icon {
    background: var(--primary-color);
    color: var(--bg-surface);
    transform: scale(1.05);
}

.card-icon span { font-size: 36px; }

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

.program-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-heading);
    gap: 0.5rem;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
}

.card-link:hover {
    color: var(--accent-hover);
    border-bottom: 2px solid var(--accent-hover);
}

/* Footer */
.footer {
    background-color: var(--bg-surface);
    color: var(--text-main);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

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

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    max-width: 350px;
}

.footer-logo { font-size: 1.8rem; }

.footer-links h4, .footer-contact h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

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

.footer-links ul li a {
    color: var(--text-muted);
    font-weight: 600;
}

.footer-links ul li a:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 5px rgba(0, 213, 255, 0.2);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: var(--font-body);
}

.footer-contact span { color: var(--accent-color); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* --- NEW COMPONENTS STYLES --- */

/* Partners Marquee */
.partners-section {
    padding: 4rem 0;
    background: rgba(0, 80, 160, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
}
.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 4rem;
    animation: scroll 30s linear infinite;
}
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 4rem)); }
}
.partner-logo {
    height: 60px;
    filter: grayscale(1) opacity(0.6);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-muted);
}
.partner-logo:hover {
    filter: grayscale(0) opacity(1);
    color: var(--primary-color);
}

/* Dosen & Expert Section */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.expert-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: var(--transition);
}
.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--tech-shadow);
}
.expert-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--bg-main);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}
.expert-avatar span { font-size: 50px; }
.expert-card h4 { color: var(--primary-color); margin-bottom: 0.5rem; font-size: 1.2rem; }
.expert-card p { color: var(--accent-hover); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; }

/* Testimonials */
.testi-section { padding: 6rem 0; background: var(--bg-main); }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.testi-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--tech-shadow);
    position: relative;
}
.testi-card::after {
    content: '"';
    position: absolute;
    top: 10px; right: 20px;
    font-size: 5rem;
    color: rgba(0, 213, 255, 0.1);
    font-family: serif;
}
.testi-text { font-style: italic; color: var(--text-main); margin-bottom: 1.5rem; }
.testi-user { display: flex; align-items: center; gap: 1rem; }
.testi-user strong { color: var(--primary-color); font-family: var(--font-heading); }

/* FAQ Accordion */
.faq-section { padding: 6rem 0; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
}
.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary-color);
    transition: var(--transition);
}
.faq-question:hover { background: rgba(0, 213, 255, 0.05); }
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}
.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 1.5rem;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
    border-top: 1px dashed var(--border-color);
}
.faq-icon {
    transition: var(--transition);
    color: var(--accent-color);
}
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* Responsive tweaks */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-title { font-size: 3rem; }
    .hero-stats { flex-direction: column; gap: 2rem; }
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
}

/* Agenda Timeline */
.timeline-section { padding: 6rem 0; background: var(--bg-surface); position: relative; }
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0; bottom: 0; left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    right: -10px;
    background-color: var(--bg-surface);
    border: 4px solid var(--accent-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--glow-shadow);
}
.left { left: 0; text-align: right; }
.right { left: 50%; }
.right::after { left: -10px; }

.timeline-content {
    padding: 2rem;
    background-color: var(--bg-main);
    position: relative;
    border: 1px solid var(--border-color);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}
.timeline-content:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0,213,255,0.3));
    border-color: var(--accent-color);
}
.timeline-content h3 { color: var(--primary-color); font-size: 1.2rem; margin-bottom: 0.5rem; }
.timeline-content .date { color: var(--accent-hover); font-weight: 700; font-family: var(--font-heading); font-size: 0.9rem; margin-bottom: 1rem; display: block; }
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; }

@media screen and (max-width: 600px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .left, .right { text-align: left; left: 0; }
}
