@import url('header.css?v=2.5');

:root {
    /* Colors - Light Theme Focus */
    --bg-primary: #f8fafc;
    /* Cool Gray 50 */
    --bg-secondary: #ffffff;
    /* White */
    --bg-card: #ffffff;
    /* White */

    /* Primary & Secondary Brand Colors */
    --primary: #ED5700;
    --primary-hover: #d84e00;
    --primary-color: #ED5700;
    --primary-rgb: 237, 87, 0;

    --secondary: #FF7B2E;
    --secondary-hover: #e56c22;
    --secondary-color: #FF7B2E;
    --secondary-rgb: 255, 123, 46;

    /* Accents & Compatibility Aliases */
    --primary-blue: #ED5700;
    --primary-blue-hover: #FF7B2E;

    --accent-green: #16a34a;
    /* Green 600 */
    --accent-green-hover: #15803d;
    /* Green 700 */

    --highlight-yellow: #ca8a04;
    /* Yellow 600 */
    --highlight-yellow-hover: #a16207;
    /* Yellow 700 */

    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */

    --border-color: #e2e8f0;
    /* Slate 200 */

    /* Dedicated Header/Footer Color */
    --header-footer-bg: #8c3200;
    /* Warm Brand Dark */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
}

/* Utilities */
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    position: relative;
    display: inline-block;
    background: var(--primary-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-padding {
    padding: 3.5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.75rem;
    gap: 1rem;
}

.section-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.section-link:hover {
    color: var(--primary-blue);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 2px 4px rgba(237, 87, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(237, 87, 0, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #fff7ed;
    border-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary-solid,
.btn-secondary-filled {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: white;
    box-shadow: 0 2px 4px rgba(255, 123, 46, 0.2);
}

.btn-secondary-solid:hover,
.btn-secondary-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 123, 46, 0.3);
}

.btn-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Hero / Banner */
.hero {
    height: auto;
    min-height: 93vh;
    max-height: 920px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%), url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height, 80px) + 3.5rem);
    padding-bottom: 5.5rem;
    position: relative;
    color: #ffffff;
    overflow: hidden;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero h1,
.hero-slider-wrap h1,
.hero-slide-item h1,
.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero h1 .highlight,
.hero-slider-wrap h1 .highlight,
.hero-slide-item h1 .highlight,
.hero-content h1 .highlight,
.hero-content .highlight {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero p,
.hero-slider-wrap p,
.hero-slide-item p,
.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #f1f5f9 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Programs / Majors Cards */
.programs-grid,
.jurusan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.jurusan-card {
    background: var(--bg-card, #ffffff);
    border-radius: var(--border-radius, 12px);
    overflow: hidden;
    border: 1px solid var(--border-color, #e2e8f0);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    cursor: pointer;
}

.jurusan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -4px rgba(237, 87, 0, 0.15), 0 6px 12px -2px rgba(0, 0, 0, 0.06);
    border-color: rgba(237, 87, 0, 0.4);
}

.jurusan-card-img-wrap {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background-color: #f1f5f9;
}

.jurusan-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.jurusan-card:hover .jurusan-card-img {
    transform: scale(1.06);
}

.jurusan-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 3rem;
}

.jurusan-badge-akreditasi {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.jurusan-badge-akreditasi i {
    color: #fbbf24;
}

.jurusan-card:hover .jurusan-badge-akreditasi {
    background: rgba(237, 87, 0, 0.92);
    border-color: rgba(255, 255, 255, 0.45);
}

.jurusan-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 80px;
    flex-grow: 1;
    background: #ffffff;
}

.jurusan-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main, #1e293b);
    line-height: 1.45;
    margin: 0;
    text-align: center;
    transition: color 0.25s ease;
}

.jurusan-card:hover .jurusan-card-title {
    color: var(--primary-blue-hover, #FF7B2E);
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--primary-blue);
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
    color: var(--text-main);
}

/* News & Events Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 190px;
    width: 100%;
    background-color: #e2e8f0;
    object-fit: cover;
}

.news-content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.825rem;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
    display: block;
    font-weight: 600;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    color: var(--text-main);
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

/* Stats / Partners */
.partners {
    background-color: white;
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.partners-title {
    text-align: center;
    margin-bottom: 1.75rem;
    color: var(--accent-green-hover);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.partners-list,
.partners-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.partner-item {
    opacity: 0.75;
    transition: opacity 0.3s, transform 0.3s;
}

.partner-item:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-img {
    height: 50px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
}

.partner-logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-muted);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.gallery-img {
    border-radius: var(--border-radius);
    height: 190px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Search Bar (for index/list pages) */
.search-container {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.search-input {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
    font-family: inherit;
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(237, 87, 0, 0.15);
}

/* Sidebar/Widget Styles */
aside div {
    background-color: white !important;
}

/* Typography Utility Classes (Desktop Base) */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: transform 0.2s;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn-instagram { background: #e1306c; }
.share-btn-facebook { background: #3b5998; }
.share-btn-twitter { background: #1da1f2; }
.share-btn-whatsapp { background: #25d366; }

/* =========================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================= */

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --border-radius: 10px;
    }

    /* Container */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    /* Section Spacings & Titles */
    .section-padding {
        padding: 2.25rem 0;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.15rem;
    }

    .section-header {
        margin-bottom: 1.15rem;
        align-items: center;
    }

    .section-link {
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero-slider-wrap,
    .hero {
        height: auto;
        min-height: 640px;
        padding-top: calc(var(--header-height, 64px) + 2.5rem);
        padding-bottom: 4rem;
    }

    .hero-slide-item {
        padding-top: calc(var(--header-height, 64px) + 2.5rem);
        padding-bottom: 4rem;
    }

    .hero h1,
    .hero-slider-wrap h1,
    .hero-slide-item h1,
    .hero-content h1 {
        font-size: 1.7rem;
        line-height: 1.25;
        margin-bottom: 0.85rem;
    }

    .hero p,
    .hero-slider-wrap p,
    .hero-slide-item p,
    .hero-content p {
        font-size: 0.92rem;
        line-height: 1.5;
        margin-bottom: 1.35rem;
    }

    .hero-actions {
        gap: 0.75rem;
    }

    /* Buttons */
    .btn {
        padding: 0.6rem 1.15rem;
        font-size: 0.875rem;
        border-radius: 8px;
    }

    /* Grids & Cards */
    .news-grid,
    .programs-grid,
    .jurusan-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .jurusan-card-img-wrap {
        height: 190px;
    }

    .news-card {
        border-radius: 10px;
    }

    .news-img {
        height: 165px;
    }

    .news-content {
        padding: 1rem 1.15rem;
    }

    .news-meta {
        font-size: 0.75rem;
        margin-bottom: 0.35rem;
    }

    .news-title {
        font-size: 1.05rem;
        margin-bottom: 0.45rem;
        line-height: 1.35;
    }

    .news-content p {
        font-size: 0.85rem !important;
        line-height: 1.45;
        margin-bottom: 0.75rem !important;
    }

    .btn-link {
        font-size: 0.85rem !important;
    }

    /* Mitra / Partners */
    .partners {
        padding: 1.75rem 0;
    }

    .partners-title {
        font-size: 0.825rem;
        margin-bottom: 1.25rem;
    }

    .partners-list,
    .partners-flex {
        gap: 1.5rem 2rem;
    }

    .partner-img {
        height: 38px;
        max-width: 110px;
    }

    .partner-logo {
        font-size: 0.95rem;
    }

    /* Gallery Section - 2 Columns on Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .gallery-img {
        height: 130px !important;
        border-radius: 8px !important;
    }

    /* Mobile Utility Font Sizes */
    .mobile\:text-xs { font-size: 0.725rem !important; }
    .mobile\:text-sm { font-size: 0.825rem !important; }
    .mobile\:text-base { font-size: 0.9rem !important; }
    .mobile\:text-lg { font-size: 1rem !important; }
    .mobile\:text-xl { font-size: 1.15rem !important; }
    .mobile\:text-2xl { font-size: 1.3rem !important; }
    .mobile\:text-3xl { font-size: 1.55rem !important; }
    .mobile\:text-4xl { font-size: 1.85rem !important; }

    /* Share Buttons */
    .share-buttons {
        justify-content: start;
    }

    .share-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        font-size: 1.15rem;
        border-radius: 50%;
    }

    .share-btn i { margin: 0; }
    .share-btn span { display: none; }
    .hidden-btn { display: none; }
    /* Subpages & Detail Layouts */
    .article-layout,
    .detail-grid,
    div[style*="grid-template-columns: 1fr 350px"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns: 7fr 3fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Subpage Tops & Headers */
    section[style*="margin-top: 80px"],
    .section-padding[style*="margin-top: 80px"] {
        margin-top: 50px !important;
        padding: 1.75rem 0 !important;
    }

    /* Sliders & Large Article Images */
    .slider img,
    .slide img,
    .image-slider-container .slide img {
        height: 200px !important;
    }

    article img[style*="height: auto"],
    .featured-img {
        margin-bottom: 1.25rem !important;
    }

    article h1,
    h1.article-title {
        font-size: 1.45rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    /* Subpage Sidebars */
    aside {
        margin-top: 1rem;
    }

    aside > div {
        padding: 1.15rem 1rem !important;
        margin-bottom: 1.25rem !important;
        border-radius: 10px !important;
    }

    aside h3 {
        font-size: 1.05rem !important;
        margin-bottom: 1rem !important;
    }

    /* Form and Filter Grids */
    div[style*="grid-template-columns: 2fr 1fr 1fr auto"],
    div[style*="grid-template-columns: 2fr 1fr 1fr"],
    .filter-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    .search-container {
        flex-direction: column !important;
        gap: 0.65rem !important;
        margin-bottom: 1.25rem !important;
    }

    .search-container input,
    .search-container select,
    .search-container button,
    .filter-select {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0.65rem 0.85rem !important;
        font-size: 0.85rem !important;
    }

    /* Subpage Cards & Lists */
    .card {
        padding: 1.15rem 1rem !important;
    }

    .card-icon {
        font-size: 1.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .card h3 {
        font-size: 1.1rem !important;
    }

    /* Prestasi & Ekskul Cards */
    .prestasi-grid,
    div[style*="minmax(320px, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.15rem !important;
    }

    .prestasi-card > div:first-of-type,
    div[style*="height: 200px; position: relative"] {
        height: 160px !important;
    }

    .eskul-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .eskul-img-wrapper {
        height: 130px !important;
    }

    .eskul-img-placeholder i {
        font-size: 2.5rem !important;
    }

    .eskul-info {
        padding: 0.75rem !important;
    }

    .eskul-title {
        font-size: 0.9rem !important;
    }

    /* Subpage Gallery */
    .album-section {
        margin-bottom: 2.5rem !important;
    }

    .album-section img[style*="height: 300px"],
    .gallery-item img {
        height: 140px !important;
    }

    /* Page Header Component & Breadcrumbs */
    .pt-150 {
        padding-top: calc(var(--header-height, 64px) + 1.25rem) !important;
    }

    .pb-20 {
        padding-bottom: 1.25rem !important;
    }

    .page-title {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }

    .breadcrumb {
        font-size: 0.78rem !important;
        margin-bottom: 0.75rem !important;
    }

    .breadcrumb-item {
        font-size: 0.78rem !important;
    }

    /* Pagination */
    .pagination-container {
        margin-top: 1.75rem !important;
    }

    .pagination-container a,
    .pagination-container span {
        min-width: 32px !important;
        height: 32px !important;
        padding: 0.3rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
}

/* Small Smartphones (<= 480px) */
@media (max-width: 480px) {
    :root {
        --header-height: 60px;
        --border-radius: 8px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-padding {
        padding: 1.85rem 0;
    }

    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .section-header {
        margin-bottom: 1rem;
    }

    .section-link {
        font-size: 0.8rem;
    }

    .hero-slider-wrap,
    .hero {
        height: auto;
        min-height: 550px;
        padding-top: calc(var(--header-height, 64px) + 2rem);
        padding-bottom: 3.5rem;
    }

    .hero-slide-item {
        padding-top: calc(var(--header-height, 64px) + 2rem);
        padding-bottom: 3.5rem;
    }

    .hero h1,
    .hero-slider-wrap h1,
    .hero-slide-item h1,
    .hero-content h1 {
        font-size: 1.45rem;
        line-height: 1.25;
        margin-bottom: 0.65rem;
    }

    .hero p,
    .hero-slider-wrap p,
    .hero-slide-item p,
    .hero-content p {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 1.15rem;
    }

    .hero-actions {
        gap: 0.6rem;
    }

    .btn {
        padding: 0.55rem 1rem;
        font-size: 0.825rem;
        border-radius: 6px;
    }

    .news-grid,
    .programs-grid,
    .jurusan-grid {
        gap: 1rem;
    }

    .jurusan-card-img-wrap {
        height: 175px;
    }

    .jurusan-card-title {
        font-size: 1.05rem;
    }

    .news-img {
        height: 150px;
    }

    .news-content {
        padding: 0.85rem 1rem;
    }

    .news-meta {
        font-size: 0.7rem;
    }

    .news-title {
        font-size: 0.98rem;
        margin-bottom: 0.35rem;
    }

    .news-content p {
        font-size: 0.825rem !important;
        margin-bottom: 0.6rem !important;
    }

    .btn-link {
        font-size: 0.8rem !important;
    }

    .partners {
        padding: 1.5rem 0;
    }

    .partners-title {
        font-size: 0.775rem;
        margin-bottom: 1rem;
    }

    .partners-list,
    .partners-flex {
        gap: 1.15rem 1.5rem;
    }

    .partner-img {
        height: 32px;
        max-width: 95px;
    }

    .partner-logo {
        font-size: 0.85rem;
    }

    .gallery-grid {
        gap: 0.5rem !important;
    }

    .gallery-img {
        height: 115px !important;
        border-radius: 6px !important;
    }

    /* Small Mobile Utility Font Sizes */
    .mobile\:text-xs { font-size: 0.68rem !important; }
    .mobile\:text-sm { font-size: 0.775rem !important; }
    .mobile\:text-base { font-size: 0.85rem !important; }
    .mobile\:text-lg { font-size: 0.925rem !important; }
    .mobile\:text-xl { font-size: 1.05rem !important; }
    .mobile\:text-2xl { font-size: 1.18rem !important; }
    .mobile\:text-3xl { font-size: 1.38rem !important; }
    .mobile\:text-4xl { font-size: 1.6rem !important; }

    /* Extra small subpage specifics */
    article h1,
    h1.article-title {
        font-size: 1.3rem !important;
    }

    .slider img,
    .slide img,
    .image-slider-container .slide img {
        height: 180px !important;
    }

    .eskul-img-wrapper {
        height: 110px !important;
    }

    .eskul-img-placeholder i {
        font-size: 2rem !important;
    }

    .album-section img[style*="height: 300px"],
    .gallery-item img {
        height: 120px !important;
    }
}

/* =========================================================
   REVISED DESIGN EXTENSIONS (HERO SLIDER, PAGE HERO, CTA)
   ========================================================= */

/* Auto Slider Hero Section */
.hero-slider-wrap {
    position: relative;
    width: 100%;
    height: 93vh;
    min-height: 720px;
    max-height: 920px;
    overflow: hidden;
    background-color: #0b0f19;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, transform 1s ease-in-out, visibility 0.8s;
    transform: scale(1.04);
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height, 80px) + 3.5rem);
    padding-bottom: 5.5rem;
}

.hero-slide-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.hero-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-slider-nav-btn:hover {
    background: #ffffff;
    color: var(--primary, #ED5700);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.hero-slider-prev { left: 1.5rem; }
.hero-slider-next { right: 1.5rem; }

.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 32px;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Page Hero Reusable Component */
.page-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding-top: calc(var(--header-height, 80px) + 3.5rem);
    padding-bottom: 4.5rem;
    overflow: hidden;
}

.page-hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.92) 100%);
    z-index: 1;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.page-hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.15rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
}

.page-hero-heading {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.page-hero-sub {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* Breadcrumb in Hero */
.page-hero-breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.page-hero-breadcrumb li {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-hero-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-hero-breadcrumb a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-hero-breadcrumb .active {
    color: #ffffff;
    font-weight: 700;
}

/* Tentang Kami Subnavigation Tab Bar */
.tentang-subnav-container {
    margin-top: -2rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 10;
}

.tentang-subnav-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    padding: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tentang-nav-btn {
    padding: 0.65rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
}

.tentang-nav-btn i {
    font-size: 0.95rem;
}

.tentang-nav-btn:hover {
    background: #f1f5f9;
    color: var(--primary);
    transform: translateY(-1px);
}

.tentang-nav-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(237, 87, 0, 0.3);
}

/* Reusable CTA Section */
.cta-banner-wrap {
    margin: 4.5rem auto 2rem;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cta-banner-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 1.5rem;
    padding: 3.5rem 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 30px -10px rgba(237, 87, 0, 0.35);
    width: 100%;
    margin: 0 auto;
}

.cta-banner-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content-center {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.15rem;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.cta-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-desc {
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    background: #ffffff;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    background: #f8fafc;
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1.75rem;
    background: #22c55e;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.35);
}

.btn-cta-whatsapp:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.5);
    color: #ffffff;
}

/* Home PPDB Section - Clean card pattern matching site theme */
.home-ppdb-section {
    padding: 3.5rem 0;
    background-color: var(--bg-primary);
}

.home-ppdb-card-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 1.25rem;
    padding: 2.75rem 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.home-ppdb-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.ppdb-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    background: #fff7ed;
    color: var(--primary, #ED5700);
    border: 1px solid #fed7aa;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.home-ppdb-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.home-ppdb-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.home-ppdb-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.ppdb-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
}

.ppdb-feature-item i {
    color: var(--primary, #ED5700);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ppdb-feature-item:hover {
    background: #fff7ed;
    border-color: #fed7aa;
    color: var(--primary, #ED5700);
    transform: translateY(-2px);
}

.home-ppdb-action-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.ppdb-action-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--primary, #ED5700);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    border: 1px solid #fed7aa;
}

.ppdb-action-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.35rem;
}

.ppdb-action-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.ppdb-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ppdb-btn-full {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 0.92rem;
}

/* Facility Multi-image gallery */
.facility-card-modern {
    background: white;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.facility-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
    border-color: #fed7aa;
}

.facility-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.facility-thumb-item {
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.facility-thumb-item:hover,
.facility-thumb-item.active {
    border-color: var(--primary);
    transform: scale(1.05);
}

.facility-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .page-hero-wrapper {
        min-height: 380px;
        padding-top: calc(var(--header-height, 64px) + 2.5rem);
        padding-bottom: 3.5rem;
    }

    .page-hero-heading {
        font-size: 1.6rem;
    }

    .page-hero-sub {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tentang-subnav-container {
        margin-top: -1.5rem;
        margin-bottom: 2rem;
    }

    .tentang-subnav-card {
        gap: 0.35rem;
        padding: 0.4rem;
    }

    .tentang-nav-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.78rem;
    }

    .cta-banner-card {
        padding: 2rem 1.25rem;
        border-radius: 1rem;
    }

    .cta-heading {
        font-size: 1.45rem;
    }

    .cta-desc {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .home-ppdb-card-container {
        padding: 1.75rem 1.25rem;
        border-radius: 1rem;
    }

    .home-ppdb-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-ppdb-features {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .home-ppdb-action-box {
        padding: 1.5rem 1.25rem;
    }
}

/* ==========================================================================
   Home Testimoni (Apa Kata Mereka) - Matching Reference Screenshot
   ========================================================================== */
.home-testimoni-section {
    padding: 4.5rem 0 2rem;
    background-color: #f8fafc;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.testimoni-title-modern {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary, #ED5700);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.25;
}

.testimoni-subtitle-modern {
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.testimoni-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .testimoni-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 840px) {
    .testimoni-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .testimoni-grid-modern {
        grid-template-columns: 1fr;
    }
}

.testimoni-card-modern {
    background: #ffffff;
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimoni-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    border-color: #fed7aa;
}

.testimoni-card-img-wrap {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

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

.testimoni-card-modern:hover .testimoni-card-img {
    transform: scale(1.08);
}

.testimoni-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem 1.15rem;
    text-align: left;
}

.testimoni-card-name {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.2rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.testimoni-card-role {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.74rem;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimoni-card-company {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    line-height: 1.35;
    margin-top: 0.15rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.testimoni-card-body {
    padding: 1.5rem 1.15rem 1.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.testimoni-quote-badge {
    color: #ED5700;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.85rem;
}

.testimoni-quote-desc {
    color: #475569;
    font-size: 0.83rem;
    line-height: 1.65;
    margin: 0;
    font-style: normal;
}

.testimoni-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.25rem;
}

.testimoni-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #cbd5e1;
    transition: all 0.3s ease;
}

.testimoni-dot.active {
    width: 8px;
    height: 8px;
    background-color: #ED5700;
}

@media (max-width: 768px) {
    .home-testimoni-section {
        padding: 3.5rem 0 1.5rem;
    }
    .testimoni-title-modern {
        font-size: 1.75rem;
    }
    .testimoni-card-img-wrap {
        height: 180px;
    }
    .testimoni-card-body {
        padding: 1.25rem 1rem 1.5rem;
    }
}