/**
 * Website Profil Pribadi Dinamis - Main Stylesheet
 * Tema Cerah & Akademik dengan Animasi
 */

/* ============================================
   VARIABLES & BASE - Tema Cerah Akademik
   ============================================ */
:root {
    /* Primary Colors - Bright Blue */
    --primary-color: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #2563eb;
    --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    
    /* Secondary Colors */
    --secondary-color: #64748b;
    --secondary-light: #94a3b8;
    
    /* Accent Colors - Variatif & Cerah */
    --teal: #14b8a6;
    --teal-light: #5eead4;
    --amber: #f59e0b;
    --amber-light: #fcd34d;
    --rose: #f43f5e;
    --rose-light: #fda4af;
    --violet: #8b5cf6;
    --violet-light: #c4b5fd;
    --emerald: #10b981;
    --emerald-light: #6ee7b7;
    --cyan: #06b6d4;
    --cyan-light: #67e8f9;
    
    /* Success, Danger, Warning */
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    
    /* Background Colors - Hijau Muda Nyaman di Mata */
    --bg-primary: #f0fdf4;      /* Mint green sangat muda */
    --bg-secondary: #dcfce7;    /* Hijau mint muda */
    --bg-tertiary: #bbf7d0;     /* Hijau mint sedang */
    --bg-warm: #ecfccb;         /* Lime muda */
    --bg-cool: #d1fae5;         /* Emerald muda */
    --bg-soft: #ccfbf1;         /* Teal muda */
    
    /* Text Colors */
    --text-color: #334155;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-colored: 0 10px 30px -5px rgba(59, 130, 246, 0.3);
    --shadow-teal: 0 10px 30px -5px rgba(20, 184, 166, 0.3);
    --shadow-amber: 0 10px 30px -5px rgba(245, 158, 11, 0.3);
    --shadow-rose: 0 10px 30px -5px rgba(244, 63, 94, 0.3);
    
    /* Radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-dark);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes wave {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.55);
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 1;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float-slow {
    animation: floatSlow 4s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease forwards;
}

.animate-slideInUp {
    animation: slideInUp 0.6s ease forwards;
}

/* Delay Classes */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Initial Hidden State for Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--violet), var(--teal));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

/* ============================================
   NAVBAR - Modern Glass Effect
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.4rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.navbar-brand i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
}

.navbar-nav {
    gap: 0.25rem;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color) !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.3s ease;
}

.dropdown-item {
    border-radius: var(--radius);
    padding: 0.625rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* ============================================
   HERO SECTION - Vibrant & Animated
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 25%, #d1fae5 50%, #ccfbf1 75%, #ecfccb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

/* Animated Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #86efac 0%, #34d399 100%);
    top: -100px;
    right: -100px;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #a7f3d0 0%, #6ee7b7 100%);
    bottom: -50px;
    left: -50px;
    animation: floatSlow 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #bbf7d0 0%, #5eead4 100%);
    top: 50%;
    left: 30%;
    animation: floatSlow 12s ease-in-out infinite;
}

.hero-shape-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
    bottom: 20%;
    right: 20%;
    animation: floatSlow 9s ease-in-out infinite reverse;
}

/* Floating Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.particle-1 {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    top: 20%;
    left: 10%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-2 {
    width: 8px;
    height: 8px;
    background: var(--teal);
    top: 60%;
    left: 20%;
    animation: particleFloat 8s ease-in-out infinite 1s;
}

.particle-3 {
    width: 12px;
    height: 12px;
    background: var(--amber);
    top: 30%;
    right: 15%;
    animation: particleFloat 7s ease-in-out infinite 2s;
}

.particle-4 {
    width: 6px;
    height: 6px;
    background: var(--rose);
    top: 70%;
    right: 25%;
    animation: particleFloat 9s ease-in-out infinite 0.5s;
}

.particle-5 {
    width: 14px;
    height: 14px;
    background: var(--violet);
    top: 40%;
    left: 50%;
    animation: particleFloat 10s ease-in-out infinite 1.5s;
}

.particle-6 {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    top: 80%;
    left: 40%;
    animation: particleFloat 7s ease-in-out infinite 2.5s;
}

.particle-7 {
    width: 10px;
    height: 10px;
    background: var(--cyan);
    top: 15%;
    left: 60%;
    animation: particleFloat 8s ease-in-out infinite 3s;
}

.particle-8 {
    width: 6px;
    height: 6px;
    background: var(--amber);
    bottom: 30%;
    left: 70%;
    animation: particleFloat 9s ease-in-out infinite 0.8s;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    animation: fadeInDown 0.6s ease forwards;
}

.hero-badge i {
    color: var(--amber);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 50%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease forwards 0.2s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
    animation: fadeInUp 0.6s ease forwards 0.4s;
    opacity: 0;
}

.hero-position {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease forwards 0.5s;
    opacity: 0;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease forwards 0.6s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease forwards 0.7s;
    opacity: 0;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    z-index: 1;
    animation: fadeInRight 0.8s ease forwards 0.5s;
    opacity: 0;
}

.hero-image {
    position: relative;
    display: inline-block;
}

.hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-colored);
    border: 5px solid white;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    transition: var(--transition-bounce);
}

.hero-image:hover img {
    transform: scale(1.02) rotate(2deg);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--violet) 100%);
    border-radius: var(--radius-2xl);
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px dashed var(--amber);
    border-radius: var(--radius-2xl);
    z-index: 0;
    animation: rotate 20s linear infinite;
}

/* Floating Cards around Hero Image */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 3;
    animation: float 3s ease-in-out infinite;
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.floating-card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card-1 .floating-card-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color);
}

.floating-card-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 0.5s;
}

.floating-card-2 .floating-card-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--emerald);
}

.floating-card-3 {
    bottom: 5%;
    left: -5%;
    animation-delay: 1s;
}

.floating-card-3 .floating-card-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--amber);
}

.floating-card-content {
    display: flex;
    flex-direction: column;
}

.floating-card-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.floating-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Wave Animation at Bottom */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.75rem 1rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--violet));
}

.stat-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--emerald), var(--teal));
}

.stat-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--amber), var(--rose));
}

.stat-card:nth-child(4)::before {
    background: linear-gradient(90deg, var(--cyan), var(--primary-color));
}

.stat-card:nth-child(5)::before {
    background: linear-gradient(90deg, var(--violet), var(--primary-color));
}

.stat-card:nth-child(6)::before {
    background: linear-gradient(90deg, var(--teal), var(--emerald));
}

.stat-card:nth-child(7)::before {
    background: linear-gradient(90deg, #fb923c, var(--amber));
}

.stat-card:nth-child(8)::before {
    background: linear-gradient(90deg, var(--rose), #f97316);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--emerald);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--amber);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: var(--cyan);
}

.stat-card:nth-child(5) .stat-icon {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: var(--violet);
}

.stat-card:nth-child(6) .stat-icon {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: var(--teal);
}

.stat-card:nth-child(7) .stat-icon {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: #f97316;
}

.stat-card:nth-child(8) .stat-icon {
    background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
    color: var(--rose);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-weight: 500;
    line-height: 1.3;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ============================================
   BUTTONS - Modern & Colorful
   ============================================ */
.btn {
    font-weight: 600;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    transition: var(--transition-bounce);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--violet) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--teal) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--amber) 0%, #f97316 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.bg-light {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%) !important;
}

.bg-gradient {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #d1fae5 100%);
}

.bg-warm {
    background: linear-gradient(180deg, #ecfccb 0%, #d9f99d 100%);
}

.bg-cool {
    background: linear-gradient(180deg, #d1fae5 0%, #a7f3d0 100%);
}

.bg-soft {
    background: linear-gradient(180deg, #ccfbf1 0%, #99f6e4 100%);
}

/* ============================================
   CARDS - Modern Glass & Colorful
   ============================================ */
.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    transition: var(--transition-bounce);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-icon-primary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color);
}

.card-icon-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--emerald);
}

.card-icon-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--amber);
}

.card-icon-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--rose);
}

.card-icon-info {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: var(--cyan);
}

.card-icon-purple {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    color: var(--violet);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card-text {
    color: var(--text-muted);
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-bounce);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* ============================================
   DATA CARDS
   ============================================ */
.data-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.data-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--violet));
}

.data-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(10px);
}

.data-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.data-card-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.data-card-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.data-card-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-primary {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-color);
}

.badge-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--emerald);
}

.badge-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--amber);
}

.badge-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--rose);
}

.badge-info {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: var(--cyan);
}

.data-card-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.data-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
}

/* ============================================
   PUBLICATIONS
   ============================================ */
.publication-item {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.publication-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.03));
    pointer-events: none;
}

.publication-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.publication-title {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.publication-journal {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.publication-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.publication-abstract {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.publication-actions {
    display: flex;
    gap: 0.75rem;
}

/* ============================================
   NEWS & EVENTS
   ============================================ */
.news-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
}

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

.news-card-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-soft);
}

.news-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

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

.news-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.news-card-title a {
    color: var(--text-dark);
}

.news-card-title a:hover {
    color: var(--primary-color);
}

.news-card-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.news-card-summary {
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.news-detail {
    max-width: 920px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 2rem;
}

.news-detail-title {
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.news-detail-summary {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

.news-detail-cover {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.news-detail-cover img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.news-detail-content {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.news-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* ============================================
   CONTENT TEXT - Rich Text / CKEditor Content
   ============================================ */
.content-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.content-text p {
    margin-bottom: 1rem;
}

.content-text strong,
.content-text b {
    font-weight: 700;
    color: var(--text-dark);
}

.content-text em,
.content-text i {
    font-style: italic;
}

.content-text ul,
.content-text ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-text ul li,
.content-text ol li {
    margin-bottom: 0.5rem;
}

.content-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

.content-text a:hover {
    color: var(--primary-dark);
}

.content-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-left: 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Table styling for CKEditor content */
.content-text table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.content-text table td,
.content-text table th {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    vertical-align: top;
}

.content-text table th {
    background: linear-gradient(135deg, var(--primary-color), var(--emerald));
    color: white;
    font-weight: 600;
    text-align: left;
}

.content-text table tr:nth-child(even) {
    background: rgba(16, 185, 129, 0.05);
}

.content-text table tr:hover {
    background: rgba(16, 185, 129, 0.1);
}

.content-text img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}

/* Better spacing for data fields */
.content-text .data-field {
    display: flex;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-light);
}

.content-text .data-label {
    font-weight: 600;
    min-width: 150px;
    color: var(--text-dark);
}

.content-text .data-value {
    flex: 1;
    color: var(--text-color);
}

/* Fix for tight content */
.content-text h1,
.content-text h2,
.content-text h3,
.content-text h4,
.content-text h5,
.content-text h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Fix for encoded characters display */
.publication-list {
    counter-reset: publication-counter;
}

.publication-list .publication-item {
    position: relative;
}

/* Clean list styling */
.clean-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.clean-list li:last-child {
    border-bottom: none;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    padding: 1.25rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-badge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--violet));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.about-content h3 {
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.75rem;
}

.about-content p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color), var(--violet), var(--teal));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-left: -5px;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 700;
    background: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.timeline-institution {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skills */
.skill-item {
    margin-bottom: 1.75rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
}

.skill-percentage {
    font-weight: 700;
    color: var(--primary-color);
}

.skill-bar {
    height: 10px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--violet), var(--teal));
    border-radius: var(--radius-full);
    transition: width 1.5s ease;
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

/* ============================================
   BOOKS
   ============================================ */
.book-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
    height: 100%;
}

.book-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.book-cover {
    position: relative;
    padding-top: 140%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.book-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.book-card:hover .book-cover img {
    transform: scale(1.1);
}

.book-cover-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 1.25rem;
    text-align: center;
}

.book-cover-fallback p {
    font-size: 0.8rem;
}

.book-cover-status {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    font-weight: 600;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-dark);
}

.book-author {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.book-publisher {
    font-size: 0.8rem;
    color: var(--text-light);
}

.book-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--violet));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1.25rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition-bounce);
}

.contact-info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--violet) 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-info-content p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--text-color);
    transition: var(--transition-bounce);
    box-shadow: var(--shadow);
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
}

.social-link.scholar:hover {
    background: #4285f4;
    box-shadow: 0 10px 20px rgba(66, 133, 244, 0.3);
}

.social-link.orcid:hover {
    background: #a6ce39;
    box-shadow: 0 10px 20px rgba(166, 206, 57, 0.3);
}

.social-link.scopus:hover {
    background: #e9711c;
    box-shadow: 0 10px 20px rgba(233, 113, 28, 0.3);
}

.social-link.sinta:hover {
    background: #1e88e5;
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.3);
}

.social-link.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 10px 20px rgba(0, 119, 181, 0.3);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 0.875rem 1.25rem;
    transition: var(--transition);
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-empty-state {
    padding: 2rem 1.5rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(14, 165, 233, 0.08));
    text-align: center;
    color: var(--text-muted);
}

.contact-empty-state i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-empty-state h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER - Modern & Colorful
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--violet), var(--teal), var(--amber), var(--rose));
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand i {
    background: linear-gradient(135deg, var(--primary-color), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.75rem;
    line-height: 1.8;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--violet));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-empty-state {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--violet));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 999;
    box-shadow: var(--shadow-colored);
    border: none;
    font-size: 1.25rem;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4);
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 6rem 0 4rem;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .navbar-collapse {
        background: white;
        padding: 1.25rem;
        border-radius: var(--radius-xl);
        margin-top: 0.75rem;
        box-shadow: var(--shadow-lg);
    }
    
    .hero-image-wrapper {
        margin-top: 3rem;
    }
    
    .hero-image img {
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3.5rem 0;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1.25rem 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-image img {
        max-width: 250px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-teal {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-amber {
    background: linear-gradient(135deg, var(--amber) 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--violet) 100%);
}

.bg-gradient-teal {
    background: linear-gradient(135deg, var(--emerald) 0%, var(--teal) 100%);
}

.bg-gradient-amber {
    background: linear-gradient(135deg, var(--amber) 0%, #f97316 100%);
}

.shadow-colored {
    box-shadow: var(--shadow-colored);
}

.shadow-teal {
    box-shadow: var(--shadow-teal);
}

.shadow-amber {
    box-shadow: var(--shadow-amber);
}

.shadow-rose {
    box-shadow: var(--shadow-rose);
}

/* Glass Effect */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition-bounce);
}

.hover-lift:hover {
    transform: translateY(-10px);
}
