/* Premium Design System for Islamic Economics Study Program Website */

/* --- CSS Variables & Themes --- */
:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Light Theme (Warm Sand & Saffron) */
    --bg-main: #FFFDF9;
    --bg-secondary: #FAF6EE;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-glass: rgba(255, 254, 250, 0.7);
    --border-color: rgba(217, 119, 6, 0.15);
    
    --text-primary: #3A2F28;
    --text-muted: #6E5E53;
    --text-light: #FAF6EE;
    
    --primary: #D97706; /* Rich Amber */
    --primary-light: #F59E0B; /* Saffron */
    --primary-dark: #B45309; /* Deep Bronze */
    --accent: #EA580C; /* Terracotta Orange */
    --gold-glow: rgba(245, 158, 11, 0.2);
    
    --shadow-sm: 0 4px 6px -1px rgba(58, 47, 40, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(58, 47, 40, 0.08), 0 4px 6px -2px rgba(58, 47, 40, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(58, 47, 40, 0.12), 0 10px 10px -5px rgba(58, 47, 40, 0.04);
    
    --glass-border: rgba(255, 255, 255, 0.6);
}

body.dark-theme {
    /* Dark Theme (Deep Saffron & Charcoal) */
    --bg-main: #140F0C;
    --bg-secondary: #1E1713;
    --bg-card: rgba(38, 28, 23, 0.6);
    --bg-glass: rgba(30, 22, 18, 0.55);
    --border-color: rgba(245, 158, 11, 0.12);
    
    --text-primary: #F5ECE5;
    --text-muted: #BFAEA4;
    --text-light: #140F0C;
    
    --primary: #F59E0B; /* Bright Saffron */
    --primary-light: #FBBF24; /* Golden Yellow */
    --primary-dark: #D97706; /* Warm Amber */
    --accent: #F97316; /* Vibrant Orange */
    --gold-glow: rgba(251, 191, 36, 0.15);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    
    --glass-border: rgba(245, 158, 11, 0.08);
}

/* --- Reset & Global Styling --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
}

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

/* --- Decorative Glowing Orbs --- */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.35;
    pointer-events: none;
    transition: all 0.5s ease;
}

.orb-1 {
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
}

.orb-2 {
    top: 45%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.orb-3 {
    bottom: 10%;
    right: -10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

/* --- Premium Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--primary);
    background: rgba(217, 119, 6, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px var(--gold-glow);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

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

.logo-stai {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--text-primary);
    line-height: 1.25;
}

.logo-prodi {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.15;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

.btn-pmb-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: #FFFDF9 !important;
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-pmb-cta:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.5);
}

.btn-pmb-cta i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.btn-pmb-cta:hover i {
    transform: translateX(3px) rotate(-15deg);
}

.mobile-pmb-btn {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-icon-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.nav-icon-btn:hover {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--primary);
    transform: translateY(-1px);
}

.theme-toggle, .mobile-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.theme-toggle:hover, .mobile-toggle:hover {
    background-color: rgba(217, 119, 6, 0.08);
    color: var(--primary);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
}

/* --- Search Bar Dropdown --- */
.search-container {
    position: relative;
}

.search-bar-dropdown {
    position: absolute;
    top: 48px;
    right: 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 0.6rem;
    border-radius: 14px;
    display: flex;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    width: 280px;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-bar-dropdown input {
    font-family: var(--font-body);
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    width: 100%;
    outline: none;
}

.search-bar-dropdown input:focus {
    border-color: var(--primary);
}

.search-bar-dropdown button {
    background-color: var(--primary);
    border: none;
    color: #FFFDF9;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.search-bar-dropdown button:hover {
    background-color: var(--accent);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 95vh;
    padding: 10rem 2rem 5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    width: 100%;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--primary-light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px var(--gold-glow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #FBBF24 0%, #EA580C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFDF9;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    animation: float 5s ease-in-out infinite;
}

.visual-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.visual-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 23px;
    display: block;
}

.floating-badge {
    position: absolute;
    background: rgba(30, 22, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #FFFFFF;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.floating-badge i {
    font-size: 1.4rem;
    color: var(--primary-light);
}

.floating-badge h4 {
    font-size: 0.9rem;
    font-weight: 700;
}

.floating-badge p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.badge-1 {
    top: 20px;
    left: -40px;
}

.badge-2 {
    bottom: 30px;
    right: -30px;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.section-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* --- Statistics Section --- */
.stats-section {
    padding: 2rem 2rem 5rem;
    margin-top: -3rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding: 2.5rem;
    gap: 2rem;
    z-index: 10;
    position: relative;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem;
    border-right: 1px solid var(--border-color);
}

.stat-card:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(217, 119, 6, 0.08);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-plus {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.1rem;
}

/* --- Profile / Visi Misi Section --- */
.profile-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.profile-tabs-wrapper {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 3rem;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 16px;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.tab-btn i {
    font-size: 1.15rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.tab-btn:hover {
    background-color: var(--bg-main);
    border-color: var(--primary);
    transform: translateX(5px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #FFFDF9;
    border-color: transparent;
    box-shadow: 0 8px 18px var(--gold-glow);
}

.tab-btn.active i {
    color: #FFFDF9;
}

.tab-contents {
    display: flex;
    align-items: center;
}

.tab-pane {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

.pane-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.pane-text {
    flex: 1;
    z-index: 2;
}

.pane-text h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.lead-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
}

.pane-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pane-icon-bg {
    font-size: 12rem;
    color: rgba(245, 158, 11, 0.04);
    position: absolute;
    right: -20px;
    bottom: -40px;
    z-index: 1;
}

.misi-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.misi-list li {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.misi-num {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(234, 88, 12, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.feature-item i {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.feature-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.feature-item p {
    font-size: 0.8rem;
    line-height: 1.5;
}

/* --- Faculty Section --- */
.faculty-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Flip Card Styling */
.faculty-card {
    height: 380px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.faculty-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.card-front {
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
}

.card-back {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-main) 100%);
    transform: rotateY(180deg);
    border-color: var(--primary);
}

.faculty-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px var(--gold-glow);
}

.card-front h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.faculty-role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.faculty-badge {
    font-size: 0.75rem;
    background: rgba(217, 119, 6, 0.08);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-weight: 500;
}

.card-back h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.card-back p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* --- Curriculum Explorer --- */
.curriculum-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2rem;
    border-radius: 18px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    gap: 1rem;
}

.filter-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background-color: var(--primary);
    color: #FFFDF9;
    border-color: transparent;
    box-shadow: 0 4px 10px var(--gold-glow);
}

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

.subject-card {
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.4s ease-out;
}

.subject-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 10px 20px var(--gold-glow);
    border-color: var(--primary-light);
}

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

.subject-semester {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(234, 88, 12, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.subject-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.subject-badge.core {
    background: rgba(217, 119, 6, 0.08);
    color: var(--primary);
}

.subject-badge.finance {
    background: rgba(234, 88, 12, 0.08);
    color: var(--accent);
}

.subject-badge.tech {
    background: rgba(251, 191, 36, 0.12);
    color: #B45309;
}

.subject-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.subject-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.subject-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.subject-footer span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.subject-footer i {
    color: var(--primary);
}

/* --- Career Advisor Quiz --- */
.quiz-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.quiz-container {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 4rem 3rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.quiz-intro {
    animation: fadeIn 0.5s ease-out;
}

.quiz-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    background: rgba(234, 88, 12, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.quiz-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.quiz-intro p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.quiz-card {
    text-align: left;
    animation: fadeIn 0.5s ease-out;
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    width: 33%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    transition: width 0.4s ease;
}

.quiz-question-header {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.quiz-question {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-btn {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.option-btn:hover {
    border-color: var(--primary);
    background-color: var(--bg-main);
    transform: translateY(-2px);
}

.option-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.option-btn:hover .option-indicator {
    border-color: var(--primary);
}

.option-btn.selected {
    border-color: var(--primary);
    background: rgba(245, 158, 11, 0.05);
}

.option-btn.selected .option-indicator {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/* Quiz Result CSS */
.quiz-result {
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.result-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px var(--gold-glow);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.result-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.quiz-result h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

#resultDesc {
    color: var(--text-muted);
    font-size: 1rem;
    line-width: 1.6;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.result-match-meter {
    max-width: 320px;
    margin: 0 auto 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.meter-bar {
    flex-grow: 1;
    height: 8px;
    background: rgba(217, 119, 6, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50px;
    box-shadow: 0 0 8px var(--primary-light);
}

.meter-val {
    color: var(--primary);
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --- UKT Calculator --- */
.calculator-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.calc-inputs h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.calc-inputs p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.slider-group {
    margin-bottom: 2rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.slider-value {
    color: var(--primary);
}

/* Custom Range Input */
.slider-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(217, 119, 6, 0.12);
    border-radius: 50px;
    outline: none;
}

.slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 0 10px var(--gold-glow);
    transition: transform 0.1s ease;
}

.slider-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background-color: var(--accent);
}

.radio-group-wrapper {
    margin-top: 1.5rem;
}

.group-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.radio-options {
    display: flex;
    gap: 1rem;
}

.radio-label {
    flex: 1;
    cursor: pointer;
}

.radio-label input {
    display: none;
}

.radio-custom {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.radio-label input:checked + .radio-custom {
    background-color: var(--primary);
    color: #FFFDF9;
    border-color: transparent;
    box-shadow: 0 4px 12px var(--gold-glow);
}

.calc-result-box {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(217, 119, 6, 0.03) 100%);
    border: 1px dashed var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.result-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.calc-result-box h3 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.ukt-output {
    text-align: center;
    margin-bottom: 2rem;
}

.ukt-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.ukt-grade {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.ukt-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.per-sem {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.scholarship-output h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.scholarship-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.scholarship-list li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.scholarship-list i {
    color: #10B981;
}

/* --- Contact & Map Section --- */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

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

.contact-info-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

.contact-info-panel p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.4rem;
    color: var(--primary);
    background: rgba(217, 119, 6, 0.08);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.info-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Simulated Map Concept */
.map-concept-container {
    position: relative;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2.5rem;
    border: 1px solid var(--border-color);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 22, 18, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    z-index: 5;
    transition: background 0.3s ease;
    gap: 0.4rem;
}

.map-overlay i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.map-concept-container:hover .map-overlay {
    background: rgba(30, 22, 18, 0.25);
}

.map-simulated {
    width: 100%;
    height: 100%;
    background-color: var(--bg-secondary);
    position: relative;
}

.map-road {
    position: absolute;
    background-color: rgba(217, 119, 6, 0.08);
}

.road-1 {
    width: 100%;
    height: 20px;
    top: 40%;
}

.road-2 {
    width: 20px;
    height: 100%;
    left: 50%;
}

.map-building {
    position: absolute;
    padding: 0.4rem 0.8rem;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.b-1 {
    top: 10px;
    left: 10px;
}

.b-2.target {
    bottom: 20px;
    right: 20px;
    background: var(--primary);
    color: #FFFDF9;
    border-color: transparent;
    animation: pulseGlow 2s infinite;
}

/* Contact Form Panel */
.contact-form-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.contact-form-panel h3 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23D97706' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-group textarea {
    resize: none;
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Floating Label Animation */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--bg-main);
    padding: 0 0.4rem;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.error-msg {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    display: none;
    margin-top: 0.4rem;
    margin-left: 0.5rem;
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--accent);
}

.form-group.invalid .error-msg {
    display: block;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    border: none;
}

/* Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    border-radius: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

.form-success-overlay i {
    font-size: 4rem;
    color: #10B981;
    margin-bottom: 1.5rem;
}

.form-success-overlay h3 {
    margin-bottom: 1rem;
}

.form-success-overlay p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 0.8rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.developer-credit i {
    color: var(--accent);
    animation: heartbeat 1.5s infinite;
}

/* --- Utility / Animation Helper Classes --- */
.hidden {
    display: none !important;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Penelitian & Publikasi Section --- */
.publications-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.publications-container {
    width: 100%;
}

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

.pub-card {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pub-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), 0 12px 24px var(--gold-glow);
    border-color: var(--primary-light);
}

.pub-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(217, 119, 6, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.05);
    border: 1px solid rgba(217, 119, 6, 0.12);
}

.pub-date {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
    background: rgba(234, 88, 12, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.pub-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.pub-authors {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

.pub-journal {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.pub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
    flex-grow: 1;
    align-items: flex-end;
}

.pub-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    color: var(--text-muted);
}

.pub-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    transition: color 0.3s ease;
}

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

.pub-link i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.pub-link:hover i {
    transform: translate(2px, -2px);
}

/* --- PMB Section Enhancements --- */
.pmb-paths-info {
    margin-bottom: 2.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

.pmb-paths-info h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

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

.path-card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 0.8rem 0.5rem;
    border-radius: 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.path-card-badge:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 4px 10px var(--gold-glow);
}

.path-card-badge i {
    font-size: 1.25rem;
    color: var(--accent);
}

@media (max-width: 576px) {
    .paths-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Responsive Media Queries (Mobile First) --- */
@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-tag {
        margin: 0 auto 1.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .profile-tabs-wrapper {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1.2fr 0.9fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide standard nav */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Interactive Navigation Panel for Mobile */
    .nav-menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        padding: 2.2rem 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        animation: fadeIn 0.3s ease;
    }
    
    .btn-pmb-cta {
        display: none; /* Hide desktop button */
    }
    
    .nav-portal-btn {
        display: none; /* Hide portal link icon */
    }
    
    .mobile-pmb-btn {
        display: block;
        background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
        color: #FFFDF9 !important;
        text-align: center;
        padding: 0.8rem;
        border-radius: 12px;
        font-weight: 700;
        margin-top: 1rem;
        box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
    }
    
    .stat-card:nth-child(even) {
        border-left: 1px solid var(--border-color);
        padding-left: 1.5rem;
    }
    
    .stat-card:nth-child(3), .stat-card:nth-child(4) {
        border-bottom: none;
        padding-bottom: 0;
        padding-top: 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-card:nth-child(even) {
        border-left: none;
        padding-left: 0;
    }
    
    .stat-card {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
        padding-top: 0;
    }
    
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .profile-tabs-wrapper {
        padding: 1.5rem;
    }
    
    .calculator-grid {
        padding: 1.5rem;
    }
    
    .contact-form-panel {
        padding: 2rem 1.5rem;
    }
}
