/* ==========================================================================
   Universitas Widyaswara Custom Premium Design System
   ========================================================================== */

:root {
    /* Brand Colors derived from logo_kampus.png */
    --primary: #0109d2;
    --primary-rgb: 1, 9, 210;
    --primary-hover: #0b13e6;
    --primary-dark: #000473;
    
    --secondary: #feb105;
    --secondary-rgb: 254, 177, 5;
    --secondary-hover: #e59c00;
    
    --accent-red: #fe0320;
    --accent-red-light: rgba(254, 3, 32, 0.1);
    
    --accent-green: #104706;
    --accent-green-light: rgba(16, 71, 6, 0.15);
    
    /* Layout Colors */
    --bg-light: #f8fafc;
    --bg-dark: #08090b;
    --bg-dark-card: #12151c;
    --bg-white: #ffffff;
    
    /* Text Colors */
    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #f8fafc;
    --text-white: #ffffff;
    
    /* Structural Elements */
    --border-color: #e2e8f0;
    --border-dark: #1e293b;
    
    /* Shadow Systems */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 12px 24px -6px rgba(1, 9, 210, 0.25);
    --shadow-secondary: 0 12px 24px -6px rgba(254, 177, 5, 0.25);
    
    /* Radius System */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Typography */
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   1. Reset & General Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-title-wrapper {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 24px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 2px;
    background-color: var(--secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-title span {
    color: var(--primary);
    position: relative;
}

.section-title span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

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

/* ==========================================================================
   2. Main Header / Navigation
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
    background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    transition: height 0.4s ease;
}

.main-header.scrolled .navbar-container {
    height: 70px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height 0.4s ease;
}

.main-header.scrolled .logo-img {
    height: 40px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary);
    line-height: 1;
    transition: color 0.4s ease;
}

.main-header.scrolled .brand-title {
    color: var(--text-white);
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.5;
    transition: color 0.4s ease;
}

.main-header.scrolled .brand-subtitle {
    color: var(--secondary);
    opacity: 1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.main-header.scrolled .nav-links a {
    color: var(--text-light);
}

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

.main-header.scrolled .nav-links a::after {
    background-color: var(--secondary);
}

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

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

.main-header.scrolled .nav-links a.active {
    color: var(--secondary);
}

/* Navigation Dropdown Menu Styling */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.nav-dropdown-menu li {
    display: block;
    width: 100%;
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    transition: all 0.2s !important;
    text-align: left;
}

.nav-dropdown-menu li a::after {
    display: none !important; /* remove hover line from sub-menu links */
}

.nav-dropdown-menu li a:hover {
    color: var(--primary) !important;
    background-color: var(--bg-light) !important;
}

.nav-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Scrolled Header styles for Dropdown */
.main-header.scrolled .nav-dropdown-menu {
    background-color: var(--bg-dark-card);
    border-color: var(--border-dark);
}

.main-header.scrolled .nav-dropdown-menu li a {
    color: rgba(248, 250, 252, 0.7) !important;
}

.main-header.scrolled .nav-dropdown-menu li a:hover {
    color: var(--text-white) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Nested Submenu (Fakultas & Prodi) */
.nav-dropdown-submenu {
    position: relative;
}

.nav-dropdown-submenu .nav-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(10px);
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 260px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.nav-dropdown-submenu:hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-submenu li {
    display: block;
    width: 100%;
}

.nav-submenu li a {
    display: block;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    transition: all 0.2s !important;
    text-align: left;
}

.nav-submenu li a:hover {
    color: var(--primary) !important;
    background-color: var(--bg-light) !important;
}

/* Scrolled Header styles for Submenu */
.main-header.scrolled .nav-dropdown-submenu .nav-submenu {
    background-color: var(--bg-dark-card);
    border-color: var(--border-dark);
}

.main-header.scrolled .nav-submenu li a {
    color: rgba(248, 250, 252, 0.7) !important;
}

.main-header.scrolled .nav-submenu li a:hover {
    color: var(--text-white) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* ==========================================================================
   3. Buttons
   ========================================================================== */

.btn-pmb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--text-white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-primary);
    overflow: hidden;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-pmb::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-pmb:hover::before {
    left: 0;
}

.btn-pmb:hover {
    box-shadow: var(--shadow-secondary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-primary);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(1, 9, 210, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: transparent;
    color: var(--primary);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    border: 2px solid var(--primary);
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--secondary);
    color: var(--bg-dark);
    padding: 1rem 2.25rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    box-shadow: var(--shadow-secondary);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-gold:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(254, 177, 5, 0.4);
}

/* Mobile Toggle menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-header.scrolled .mobile-menu-btn .bar {
    background-color: var(--text-white);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    height: calc(100vh - 85px);
    background-color: var(--bg-dark);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 50px;
}

.mobile-nav-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

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

.btn-pmb-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary);
    color: var(--bg-dark) !important;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* ==========================================================================
   4. Hero Section (Home Page)
   ========================================================================== */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: var(--text-white);
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.45;
    transform: scale(1.05);
    animation: slowZoom 15s infinite alternate ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 9, 11, 0.95) 0%, rgba(1, 9, 210, 0.35) 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.badge-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(254, 177, 5, 0.15);
    border: 1px solid rgba(254, 177, 5, 0.4);
    color: var(--secondary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-xl);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.badge-tagline i {
    font-size: 0.8rem;
    animation: blink 1.5s infinite;
}

.hero-title {
    color: var(--text-white);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--secondary);
}

.hero-desc {
    font-size: 1.25rem;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 3rem;
    max-width: 650px;
    font-weight: 400;
}

.hero-btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Floating animation details for hero */
.floating-circle {
    position: absolute;
    background: radial-gradient(circle, rgba(1, 9, 210, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 2;
}

.circle-1 {
    width: 600px;
    height: 600px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -100px;
}

@keyframes slowZoom {
    0% { transform: scale(1.03); }
    100% { transform: scale(1.1); }
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ==========================================================================
   5. Stat Section
   ========================================================================== */

.stats-section {
    background-color: var(--bg-white);
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding: 3rem 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--border-color);
}

.stat-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number span {
    color: var(--secondary);
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   6. Rektor Welcome / About Home
   ========================================================================== */

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

.about-home-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

.about-home-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.quote-block {
    background-color: var(--bg-white);
    border-left: 4px solid var(--secondary);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.quote-block p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.quote-block cite {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    font-style: normal;
}

.about-home-img-area {
    position: relative;
}

.img-bg-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--secondary);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.rektor-img-container {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-dark);
}

.rektor-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: saturate(1.1);
}

/* ==========================================================================
   7. Academic Programs
   ========================================================================== */

.academic-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.prodi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.prodi-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.prodi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(1, 9, 210, 0.15);
}

.prodi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.prodi-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(1, 9, 210, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.prodi-card:hover .prodi-icon-box {
    background-color: var(--primary);
    color: var(--text-white);
}

.badge-acred {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-green);
    background-color: var(--accent-green-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.badge-acred.unggul {
    background-color: rgba(254, 177, 5, 0.15);
    color: var(--secondary-hover);
}

.prodi-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.prodi-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    flex-grow: 1;
}

.prodi-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.prodi-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.prodi-meta strong {
    color: var(--text-dark);
    display: block;
}

.link-prodi-detail {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prodi-card:hover .link-prodi-detail {
    color: var(--secondary-hover);
}

/* ==========================================================================
   8. Facilities
   ========================================================================== */

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

.facility-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-md);
    group: hover;
}

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

.facility-card:hover .facility-img {
    transform: scale(1.1);
}

.facility-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(8, 9, 11, 0.9) 0%, rgba(8, 9, 11, 0.4) 60%, rgba(8, 9, 11, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 2;
}

.facility-overlay i {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.facility-overlay h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.facility-overlay p {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.8);
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    overflow: hidden;
}

.facility-card:hover .facility-overlay p {
    opacity: 1;
    max-height: 100px;
    margin-top: 0.5rem;
}

/* ==========================================================================
   9. News Section
   ========================================================================== */

.news-section {
    background-color: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
}

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

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(1, 9, 210, 0.1);
}

.news-img-box {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

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

.badge-news-cat {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 10;
}

.news-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta-header {
    display: flex;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.news-meta-header span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.news-body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.news-body h3 a:hover {
    color: var(--primary);
}

.news-body p {
    font-size: 0.925rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-link-detail {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card:hover .news-link-detail {
    color: var(--secondary-hover);
}

/* ==========================================================================
   10. Testimonials
   ========================================================================== */

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
}

.testimonial-track {
    overflow: hidden;
    position: relative;
}

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    position: relative;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}

.testimonial-content::before {
    content: "\201C";
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(1, 9, 210, 0.08);
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.alumni-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.alumni-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
    box-shadow: var(--shadow-md);
}

.alumni-name {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.alumni-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

/* Slide arrows */
.slider-arrow {
    position: absolute;
    top: 35%;
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.arrow-prev {
    left: 0;
}

.arrow-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--primary);
}

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

/* ==========================================================================
   11. About Us (Tentang Kami Page)
   ========================================================================== */

.page-header {
    background-color: var(--bg-dark);
    position: relative;
    padding: 10rem 0 6rem 0;
    color: var(--text-white);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(8, 9, 11, 0.95) 0%, rgba(1, 9, 210, 0.5) 100%);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.breadcrumbs a {
    color: rgba(248, 250, 252, 0.7);
}

.breadcrumbs a:hover {
    color: var(--secondary);
}

.breadcrumbs .separator {
    color: rgba(248, 250, 252, 0.4);
}

.breadcrumbs span.current {
    color: var(--text-white);
}

.about-page-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 5rem;
    align-items: center;
}

.sejarah-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.sejarah-text p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.vismis-section {
    background-color: var(--bg-white);
}

.vismis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.visi-card, .misi-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.vismis-card-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.vismis-card-title i {
    color: var(--secondary);
}

.visi-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.misi-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.misi-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.struct-section {
    background-color: var(--bg-light);
}

.struct-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   12. Academic Page & Tuition Fees
   ========================================================================== */

.tuition-section {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.tuition-intro {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.tuition-intro p {
    color: rgba(248, 250, 252, 0.7);
}

.tuition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tuition-info-box h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.tuition-info-box p {
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 1.5rem;
}

.tuition-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item i {
    color: var(--secondary);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.benefit-item p {
    margin: 0;
    font-weight: 600;
}

/* PMB/Tuition Estimator Widget */
.estimator-card {
    background-color: var(--bg-dark-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.estimator-card h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-align: center;
}

.estimator-form-group {
    margin-bottom: 1.5rem;
}

.estimator-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgba(248, 250, 252, 0.8);
}

.estimator-select {
    width: 100%;
    background-color: var(--bg-dark);
    border: 1px solid var(--border-dark);
    color: var(--text-light);
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.estimator-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(254, 177, 5, 0.2);
}

.estimator-result-box {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px dashed var(--border-dark);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.estimator-result-label {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.6);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.estimator-result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
}

.estimator-result-desc {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.5);
    margin-top: 0.5rem;
}

/* ==========================================================================
   13. News Detail Page & Sidebar
   ========================================================================== */

.news-detail-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 3.5rem;
}

.news-detail-content {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.news-detail-img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.news-detail-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.news-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-detail-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.news-body-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dark);
}

.news-body-text p {
    margin-bottom: 1.5rem;
}

.sidebar-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar-box h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.sidebar-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sidebar-category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 0.925rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-category-list li a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    transform: translateX(5px);
}

.sidebar-category-list li a .cat-count {
    background-color: var(--bg-white);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.sidebar-category-list li a:hover .cat-count {
    background-color: var(--secondary);
    color: var(--text-dark);
    border-color: var(--secondary);
}

.sidebar-news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-news-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sidebar-news-img {
    width: 80px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.sidebar-news-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.sidebar-news-info h4:hover {
    color: var(--primary);
}

.sidebar-news-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   14. PMB (Admissions Page) & Simulation Form
   ========================================================================== */

.pmb-step-section {
    background-color: var(--bg-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--border-color);
    position: relative;
}

.step-num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(1, 9, 210, 0.08);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-primary);
}

.step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pmb-form-section {
    background-color: var(--bg-light);
}

.pmb-form-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
}

.pmb-form-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.pmb-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(1, 9, 210, 0.12);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.invalid-feedback {
    display: block;
    color: var(--accent-red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.req-badge {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.req-badge h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.req-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.req-list li {
    display: flex;
    gap: 1rem;
}

.req-list i {
    color: var(--accent-red);
    font-size: 1.15rem;
    margin-top: 0.25rem;
}

.req-list h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.req-list p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   15. Contact Us Page (Hubungi Kami) & Maps
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card-info {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-card-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-detail-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background-color: rgba(1, 9, 210, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.contact-detail-body h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.contact-detail-body p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Interactive Map Simulation */
.map-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    height: 400px;
    overflow: hidden;
    position: relative;
}

.map-simulation {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Beautiful dark blue grid pattern as vector map style */
.map-grid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 0),
        radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 0);
    background-size: 20px 20px, 40px 40px;
    background-position: 0 0, 10px 10px;
    opacity: 0.85;
}

.map-road-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-road-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.08);
}

.map-road-line.v-1 { left: 20%; width: 30px; height: 100%; }
.map-road-line.v-2 { left: 60%; width: 20px; height: 100%; }
.map-road-line.h-1 { top: 30%; width: 100%; height: 25px; }
.map-road-line.h-2 { top: 70%; width: 100%; height: 35px; }

.map-pin {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: bounce 2s infinite;
}

.map-pin i {
    font-size: 3rem;
    color: var(--accent-red);
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.map-pin-pulse {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 10px;
    background: rgba(254, 3, 32, 0.4);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 1.5s infinite;
}

.map-card-popup {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    width: 280px;
    box-shadow: var(--shadow-lg);
}

.map-card-popup h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.map-card-popup p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* ==========================================================================
   16. Toast Notifications (Success / Failure alerts)
   ========================================================================== */

.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 320px;
    max-width: 450px;
    animation: slideInRight 0.3s ease-out forwards;
    border-left: 4px solid var(--primary);
    overflow: hidden;
}

.toast.toast-success {
    border-left-color: #10b981;
}

.toast.toast-error {
    border-left-color: var(--accent-red);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: var(--accent-red);
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.toast-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.toast-close {
    cursor: pointer;
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ==========================================================================
   17. Footer
   ========================================================================== */

.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.logo-area-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.logo-img-footer {
    height: 50px;
    width: auto;
}

.logo-text-footer {
    display: flex;
    flex-direction: column;
}

.logo-text-footer .brand-title {
    font-size: 1.1rem;
    color: var(--text-white);
}

.logo-text-footer .brand-subtitle {
    font-size: 0.65rem;
    color: var(--secondary);
}

.footer-desc {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.75);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.footer-col h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2.5px;
    background-color: var(--secondary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.7);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 0.25rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info li {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.7);
}

.contact-info i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.5);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: var(--text-light);
}

/* ==========================================================================
   18. Responsive Media Queries
   ========================================================================== */

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    .hero-title {
        font-size: 3.25rem;
    }
    .prodi-grid, .news-grid, .facilities-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .hero-section {
        height: auto;
        min-height: 600px;
        padding: 9rem 0 6rem 0;
    }
    .hero-title {
        font-size: 2.75rem;
    }
    .stats-section {
        margin-top: 0;
        border-radius: 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    .stat-item:nth-child(2)::after {
        display: none;
    }
    .about-home-grid, .vismis-grid, .tuition-grid, .news-detail-grid, .pmb-form-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-home-img-area {
        max-width: 400px;
        margin: 0 auto;
    }
    .rektor-img-container {
        aspect-ratio: 1;
    }
    .estimator-card {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    .section-title {
        font-size: 2rem;
    }
    .prodi-grid, .news-grid, .facilities-home-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stat-item::after {
        display: none !important;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .pmb-form-wrapper {
        padding: 2rem;
    }
    .news-detail-content {
        padding: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   Admin Dashboard Layout Styles
   ========================================================================== */

.admin-sidebar {
    width: 260px;
    height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    border-right: 1px solid var(--border-dark);
    transition: transform 0.3s ease-in-out;
}

.sidebar-brand {
    height: 85px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid var(--border-dark);
}

.sidebar-logo {
    height: 40px;
    width: auto;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
}

.sidebar-brand-text .brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 0.05em;
    line-height: 1;
}

.sidebar-brand-text .brand-subtitle {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.sidebar-nav {
    flex-grow: 1;
    padding: 2rem 0;
    overflow-y: auto;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0 1rem;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.7);
    transition: all 0.3s;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    color: var(--text-white);
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-menu li a.active {
    background-color: var(--primary);
    box-shadow: var(--shadow-primary);
}

.menu-header {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(248, 250, 252, 0.45);
    padding: 1.25rem 1.25rem 0.35rem 1.25rem;
}

.menu-divider {
    height: 1px;
    background-color: var(--border-dark);
    margin: 1.5rem 0;
}

.sidebar-footer {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-dark);
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.5);
}

.sidebar-footer strong {
    color: var(--text-white);
    display: block;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.admin-wrapper {
    margin-left: 260px;
    width: calc(100% - 260px);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: all 0.3s ease-in-out;
}

.admin-topbar {
    height: 85px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    color: var(--text-dark);
    cursor: pointer;
}

.admin-page-title h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.admin-user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(1, 9, 210, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid var(--border-color);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info strong {
    font-size: 0.875rem;
    color: var(--text-dark);
    line-height: 1.2;
}

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

.admin-main-content {
    flex-grow: 1;
    padding: 2.5rem 2rem;
}

/* Admin Dashboard Elements */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.admin-stat-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.stat-card-body {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-card-info h3 {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.stat-card-info p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.stat-card-footer {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.stat-card-footer a {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-card-footer a:hover {
    color: var(--secondary-hover);
}

.admin-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.25rem;
}

.admin-card-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.admin-table-container {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border-color);
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 1.15rem 1rem;
    font-size: 0.925rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.admin-table tbody tr:hover {
    background-color: var(--bg-light);
}

.badge-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

.badge-status.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-status.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

/* Responsive Admin Layout */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    .admin-sidebar.active {
        transform: translateX(0);
    }
    .admin-wrapper {
        margin-left: 0;
        width: 100%;
    }
    .admin-menu-toggle {
        display: block;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .admin-topbar {
        padding: 0 1.25rem;
    }
    .admin-main-content {
        padding: 1.5rem 1.25rem;
    }
    .admin-card {
        padding: 1.25rem;
    }
}

/* Modal overlay styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 9, 11, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1002;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    max-width: 550px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.modal-close {
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-dark);
}

/* ==========================================================================
   Hero Carousel Slider Styling
   ========================================================================== */

.hero-carousel-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide item entry animations */
.carousel-slide.active .badge-tagline {
    animation: fadeInUp 0.8s 0.2s both cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .hero-title {
    animation: fadeInUp 0.8s 0.4s both cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .hero-desc {
    animation: fadeInUp 0.8s 0.6s both cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active .hero-btn-group {
    animation: fadeInUp 0.8s 0.8s both cubic-bezier(0.16, 1, 0.3, 1);
}

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

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-arrow:hover {
    background-color: var(--secondary);
    color: var(--bg-dark);
    border-color: var(--secondary);
    box-shadow: var(--shadow-secondary);
    transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.prev {
    left: 2rem;
}

.carousel-arrow.next {
    right: 2rem;
}

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

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

.carousel-dots .dot-hero.active {
    width: 30px;
    border-radius: 5px;
    background-color: var(--secondary);
}

/* Adjust mobile layout */
@media (max-width: 991px) {
    .carousel-arrow {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .carousel-arrow.prev {
        left: 1rem;
    }
    .carousel-arrow.next {
        right: 1rem;
    }
}

@keyframes scaleUp {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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


