/* Core Stylesheet - STIE Ekadharma SPA Website (Academy Premium Look) */

:root {
    --academy-primary: #0F2A4A;
    /* Deep Navy Academy */
    --academy-primary-light: #1e3c61;
    --academy-accent: #C8A951;
    /* Gold Accent */
    --academy-accent-hover: #b59540;
    --academy-bg: #f8fafc;
    /* Light Slate Slate */
    --academy-card: #ffffff;
    --academy-border: #e2e8f0;
    --academy-text: #1e293b;
    /* Slate Dark Text */
    --academy-text-muted: #64748b;
    --academy-success: #10b981;
    --academy-danger: #ef4444;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 42, 74, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(15, 42, 74, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--academy-primary);
    font-weight: 700;
}

a {
    color: var(--academy-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--academy-accent);
}

/* Typography Helpers */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--academy-text-muted);
}

.text-primary {
    color: var(--academy-primary);
}

.text-accent {
    color: var(--academy-accent);
}

/* Layout Shell */
.academy-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation (Glassmorphism Sticky) */
.academy-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.academy-header.scrolled {
    background: var(--academy-primary);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.academy-header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.academy-header.scrolled .nav-link:hover,
.academy-header.scrolled .nav-link.active {
    color: var(--academy-accent);
}

.academy-header.scrolled .logo-text h3 {
    color: #ffffff;
}

.academy-header.scrolled .logo-text span {
    color: var(--academy-accent);
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: all 0.3s ease;
}

.academy-header.scrolled .header-wrap {
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 50px;
    object-fit: contain;
}

.logo-text h3 {
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    color: var(--academy-text-muted);
    font-weight: 500;
    display: block;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--academy-primary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--academy-accent);
    transition: width 0.3s ease;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--academy-accent);
}

/* Submenu / Dropdown */
.nav-item-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--academy-border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 8px 0;
    display: none;
    flex-direction: column;
    z-index: 100;
    animation: fadeIn 0.2s ease forwards;
}

.nav-item-dropdown:hover .nav-dropdown-menu {
    display: flex;
}

.dropdown-item-link {
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--academy-text);
}

.dropdown-item-link:hover {
    background: #f1f5f9;
    color: var(--academy-accent);
    padding-left: 20px;
}

/* Call to Action Button */
.cta-nav-btn {
    background: linear-gradient(135deg, var(--academy-accent), #b59540);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(200, 169, 51, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 169, 51, 0.4);
    color: #ffffff;
}

/* Main Content Padding from Header */
.main-spa-content {
    margin-top: 80px;
    min-height: 70vh;
}

/* Hero Slider Section */
.hero-slider-container {
    width: 100%;
    height: 520px;
    position: relative;
    background: #091322;
    overflow: hidden;
}

.slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.slide-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(9, 19, 34, 0.9) 30%, rgba(9, 19, 34, 0.4) 100%);
    z-index: 1;
}

.slide-wrapper.active {
    opacity: 1;
    z-index: 2;
}

.slide-content-box {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 650px;
}

.slide-content-box h2 {
    font-size: 46px;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.slide-content-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    font-weight: 400;
}

/* Slider buttons */
.slider-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.slider-arrow-btn:hover {
    background: var(--academy-accent);
    color: #ffffff;
    border-color: var(--academy-accent);
}

.slider-arrow-btn.prev {
    left: 24px;
}

.slider-arrow-btn.next {
    right: 24px;
}

/* Sections Layout */
.section-padding {
    padding: 70px 0;
}

.section-title-box {
    text-align: center;
    margin-bottom: 45px;
}

.section-title-box h2 {
    font-size: 32px;
    font-weight: 800;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.section-title-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--academy-accent);
}

.section-title-box p {
    color: var(--academy-text-muted);
    font-size: 15px;
    margin-top: 10px;
}

/* Cards & Grid Systems */
.academy-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.academy-card-box {
    background: var(--academy-card);
    border: 1px solid var(--academy-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.academy-card-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(200, 169, 81, 0.2);
}

.card-img-wrap {
    height: 200px;
    overflow: hidden;
    background-color: #0f2a4a;
    position: relative;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.academy-card-box:hover .card-img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--academy-primary);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
}

.card-body-box {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta-info {
    font-size: 11.5px;
    color: var(--academy-text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.card-body-box h3 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-body-box p {
    font-size: 13.5px;
    color: var(--academy-text-muted);
    margin-bottom: 16px;
    flex: 1;
}

/* Buttons */
.academy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.academy-btn-primary {
    background-color: var(--academy-primary);
    color: #ffffff;
}

.academy-btn-primary:hover {
    background-color: var(--academy-primary-light);
    color: #ffffff;
}

.academy-btn-accent {
    background-color: var(--academy-accent);
    color: #ffffff;
}

.academy-btn-accent:hover {
    background-color: var(--academy-accent-hover);
    color: #ffffff;
}

.academy-btn-outline {
    border: 1px solid var(--academy-primary);
    color: var(--academy-primary);
}

.academy-btn-outline:hover {
    background-color: var(--academy-primary);
    color: #ffffff;
}

/* Feature Grid */
.features-grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-item-card {
    background: #ffffff;
    border: 1px solid var(--academy-border);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(200, 169, 81, 0.1);
    color: var(--academy-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.feature-item-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item-card p {
    font-size: 13px;
    color: var(--academy-text-muted);
}

/* Testimonial Carousel Area */
.testimonial-section {
    background: linear-gradient(135deg, #091322, var(--academy-primary));
    color: #ffffff;
}

.testimonial-section .section-title-box h2 {
    color: #ffffff;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 36px;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-avatar-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--academy-accent);
    margin: 0 auto 12px;
}

.testimonial-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-card span {
    font-size: 12px;
    color: var(--academy-accent);
    display: block;
}

/* Detail Post / Page Typography */
.article-detail-wrap {
    display: flex;
    gap: 40px;
}

.article-main-body {
    flex: 3;
    min-width: 400px;
}

.article-sidebar {
    flex: 1;
    min-width: 280px;
    max-width: 320px;
}

.article-meta-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--academy-text-muted);
    margin-bottom: 16px;
}

.article-content-canvas {
    font-size: 15px;
    line-height: 1.85;
    color: #334155;
}

.article-content-canvas p {
    margin-bottom: 20px;
}

.article-content-canvas h2 {
    font-size: 24px;
    margin: 30px 0 15px 0;
}

.article-content-canvas img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: var(--shadow-sm);
}

.article-content-canvas blockquote {
    border-left: 4px solid var(--academy-accent);
    padding: 16px 20px;
    background-color: #f1f5f9;
    font-style: italic;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    margin: 25px 0;
}

/* Sidebar Widget */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--academy-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    border-bottom: 2px solid var(--academy-accent);
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.sidebar-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link-item {
    font-size: 13.5px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

/* Footer Section */
.academy-footer {
    background-color: #091322;
    /* Very Dark Navy */
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px 0;
    border-top: 4px solid var(--academy-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-widget-logo img {
    height: 50px;
    margin-bottom: 16px;
}

.footer-widget-logo p {
    font-size: 13px;
    line-height: 1.7;
}

.footer-widget-title {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--academy-accent);
}

.footer-links-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
}

.footer-links-menu a:hover {
    color: var(--academy-accent);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--academy-accent);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info-panel {
    background: var(--academy-primary);
    color: #ffffff;
    padding: 40px;
    border-radius: var(--radius-md);
}

.contact-info-panel h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.contact-form-panel {
    background: #ffffff;
    border: 1px solid var(--academy-border);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* Form Controls */
.academy-form-group {
    margin-bottom: 16px;
}

.academy-form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--academy-primary);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.academy-form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--academy-border);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--academy-text);
    outline: none;
    transition: all 0.2s ease;
}

.academy-form-control:focus {
    border-color: var(--academy-accent);
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.15);
}

/* Mobile Nav Styles */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--academy-primary);
    cursor: pointer;
}

.academy-header.scrolled .mobile-nav-toggle {
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: left 0.4s ease;
    }

    .academy-header.scrolled .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-menu.open {
        left: 0;
    }

    .contact-grid,
    .article-detail-wrap {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .slide-content-box h2 {
        font-size: 32px;
    }

    .hero-slider-container {
        height: 420px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}