/* ===== VARIABLES & RESET ===== */
:root {
    --primary: #5b7cff;
    --primary-light: #7ea2ff;
    --primary-dark: #3a57ff;
    --secondary: #e5e7eb;
    --accent: #8b5cf6;
    --light: #0f0f0f;
    --light-gray: #1a1a1a;
    --medium-gray: #9aa2b1;
    --dark-gray: #a3a8b5;
    --white: #101010;
    --black: #0b0b0b;
    
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-xl: 0 20px 45px rgba(0, 0, 0, 0.5);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
}

html.light-mode {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #1e293b;
    --accent: #8b5cf6;
    --light: #f8fafc;
    --light-gray: #f1f5f9;
    --medium-gray: #cbd5e1;
    --dark-gray: #64748b;
    --white: #ffffff;
    --black: #0f172a;
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.35);
}


html.light-mode .header {
  background: var(--glass-bg);
}
html.light-mode .header.scrolled {
  background: var(--white);
}

html.light-mode .glass-card,
html.light-mode .service-card,
html.light-mode .project-card,
html.light-mode .blog-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.05);
  box-shadow: var(--shadow-md);
}

html.light-mode .footer {
  background-color: var(--secondary);
  color: var(--white);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background-color: var(--light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--dark-gray);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
}

.section-title .title-text {
    position: relative;
    z-index: 2;
}

.section-subtitle {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--dark-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(16, 16, 16, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(16, 16, 16, 0.9);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: 1.25rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.logo-text {
    color: var(--secondary);
}

.logo-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--dark-gray);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background-color: rgba(91, 124, 255, 0.08);
}

.nav-link.active {
    color: var(--primary);
    background-color: rgba(91, 124, 255, 0.12);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

.nav-link.contact-btn {
    background-color: var(--primary);
    color: #ffffff;
    padding: var(--space-sm) var(--space-lg);
}

.nav-link.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
    transition: var(--transition);
}

.mobile-toggle:hover {
    color: var(--primary);
}

/* ===== HERO SECTION ===== */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(1000px 1000px at 20% 20%, rgba(91, 124, 255, 0.15) 0%, rgba(16,16,16,0.4) 50%, transparent 60%), linear-gradient(135deg, #0f0f0f 0%, #121212 100%);
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(91, 124, 255, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "badge"
        "photo"
        "content";
    gap: var(--space-2xl);
    align-items: center;
    justify-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-badge { grid-area: badge; }
.hero-image { grid-area: photo; }
.hero-text  { grid-area: content; }

.hero-badge {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    padding: var(--space-sm) var(--space-md);
    background-color: rgba(91, 124, 255, 0.12);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(91, 124, 255, 0.25);
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: var(--space-sm);
}

.hero-title .greeting {
    display: block;
    font-size: 1.125rem;
    color: var(--dark-gray);
    font-weight: 400;
    margin-bottom: var(--space-xs);
}

.hero-title .name {
    font-size: clamp(2.1rem, 5.5vw, 3.25rem);
    font-weight: 700;
    background: linear-gradient(135deg, #6b8cff 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateY(-2px);
}

.hero-social {
    margin-top: var(--space-xl);
}

.social-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}
@media (max-width: 576px) {
    .social-icons {
        justify-content: center;
        align-items: center;
    }

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--secondary);
    font-size: 1.125rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Social Media Hover Colors */
.social-icon.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    border-color: transparent;
}

.social-icon.whatsapp:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.social-icon.github:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.social-icon.tiktok:hover {
    background-color: #000000;
    color: white;
    border-color: #000000;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.image-container {
    position: relative;
}

.image-frame {
    width: clamp(200px, 32vw, 280px);
    height: clamp(200px, 32vw, 280px);
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-xl), 0 0 0 10px rgba(91, 124, 255, 0.08);
    position: relative;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.image-frame:hover .profile-img {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(240px, 38vw, 340px);
    height: clamp(240px, 38vw, 340px);
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.circle-2 {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    opacity: 0.15;
    animation-delay: 2s;
}

.circle-3 {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    opacity: 0.2;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.about-card {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--light-gray);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.card-header h3 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--secondary);
}

.education-timeline {
    position: relative;
    padding-left: var(--space-xl);
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-xl);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -38px;
    top: 8px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--white);
    border: 4px solid var(--primary-light);
    z-index: 2;
}

.active-dot {
    border-color: var(--primary);
    background-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: var(--secondary);
}

.timeline-period {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--dark-gray);
    line-height: 1.5;
}

.biodata-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.biodata-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--light-gray);
}

.biodata-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.biodata-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--secondary);
}

.biodata-label i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.biodata-value {
    text-align: right;
    font-weight: 500;
    color: var(--dark-gray);
    max-width: 200px;
}

.about-vision {
    margin-top: var(--space-3xl);
}

.vision-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.vision-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
}

.vision-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.vision-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    color: var(--white);
}

.vision-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ===== SKILLS SECTION ===== */
.skills {
    background-color: var(--light);
}

.skills-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.skill-item-minimal {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.skill-item-minimal:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.skill-header-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.skill-name-minimal {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--secondary);
}

.skill-name-minimal i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.skill-name-minimal .fa-html5 { color: #e34f26; }
.skill-name-minimal .fa-css3-alt { color: #1572b6; }
.skill-name-minimal .fa-js { color: #f7df1e; }
.skill-name-minimal .fa-php { color: #777bb4; }

.skill-percent-minimal {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.1);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    min-width: 65px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.skill-bar-minimal {
    height: 12px;
    background-color: var(--light-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.skill-progress-minimal {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PROJECTS SECTION - TANPA LINK EXTERNAL ===== */
.projects {
    background-color: var(--white);
}

.projects-grid-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.project-card-minimal {
    background-color: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card-minimal:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.project-image-minimal {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-img-minimal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card-minimal:hover .project-img-minimal {
    transform: scale(1.05);
}

.project-overlay-minimal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card-minimal:hover .project-overlay-minimal {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--white);
    padding: var(--space-md);
}

.overlay-content h4 {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--white);
}

.overlay-content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.project-content-minimal {
    padding: var(--space-xl);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tags {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.project-tag {
    padding: var(--space-xs) var(--space-sm);
    background-color: rgba(91, 124, 255, 0.12);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(91, 124, 255, 0.25);
}

.project-content-minimal h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}

.project-content-minimal p {
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.project-tech-minimal {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.project-tech-minimal span {
    padding: var(--space-xs) var(--space-sm);
    background-color: var(--light-gray);
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--light-gray);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feature i {
    color: var(--primary);
    font-size: 0.9rem;
}

.feature span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-section-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary-light);
}

.contact-section-title i {
    color: var(--primary);
    font-size: 1.3rem;
}

/* Contact Information Section */
.contact-info-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: var(--light);
    border-radius: var(--radius-md);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.contact-info-content p {
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.contact-info-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-gray);
    font-weight: 400;
}

/* Social Media Section */
.social-media-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.social-media-desc {
    color: var(--dark-gray);
    margin-bottom: var(--space-xl);
    font-size: 1rem;
    line-height: 1.6;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.social-media-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    background-color: var(--light);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    text-decoration: none;
    color: var(--secondary);
    min-height: 180px;
    justify-content: center;
}

.social-media-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.social-media-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    transition: var(--transition);
}

.social-media-content {
    flex: 1;
}

.social-media-content h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.social-media-content p {
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
}

.social-media-handle {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-gray);
    font-weight: 500;
    margin-top: var(--space-xs);
}

/* Social Media Card Colors */
.social-media-card.instagram .social-media-icon {
    background-color: rgba(228, 64, 95, 0.1);
    color: #E4405F;
}

.social-media-card.whatsapp .social-media-icon {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.social-media-card.github .social-media-icon {
    background-color: rgba(51, 51, 51, 0.1);
    color: #333;
}

.social-media-card.tiktok .social-media-icon {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000000;
}

.social-media-card.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    border-color: transparent;
}

.social-media-card.whatsapp:hover {
    background-color: #25D366;
    color: white;
    border-color: transparent;
}

.social-media-card.github:hover {
    background-color: #333;
    color: white;
    border-color: transparent;
}

.social-media-card.tiktok:hover {
    background-color: #000000;
    color: white;
    border-color: transparent;
}

.social-media-card:hover .social-media-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.social-media-card:hover p,
.social-media-card:hover .social-media-handle {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== FOOTER ===== */
.footer {
    background-color: #0d0d0f;
    color: #e6e6e6;
    padding: var(--space-3xl) 0 var(--space-lg);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #6b8cff, #8b5cf6, #6b8cff);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
    align-items: start;
}

/* Footer Brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-logo-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
}

.footer-logo-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-light);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.footer-school {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Footer Navigation */
.footer-navigation {
    display: flex;
    flex-direction: column;
}

.footer-section-title {
    font-size: 1.2rem;
    color: #e6e6e6;
    margin-bottom: var(--space-lg);
    font-weight: 600;
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
    border-radius: var(--radius-full);
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: #cbd5e1;
    font-size: 0.95rem;
    padding: var(--space-xs) 0;
    transition: var(--transition);
    text-decoration: none;
}

.footer-nav-link i {
    font-size: 0.7rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-nav-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-nav-link:hover i {
    color: var(--accent);
}

/* Footer Social */
.footer-social {
    display: flex;
    flex-direction: column;
}

.footer-social-desc {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.footer-social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.footer-social-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-btn i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-social-btn.instagram:hover {
    background-color: #E4405F;
    color: white;
    border-color: #E4405F;
}

.footer-social-btn.whatsapp:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.footer-social-btn.github:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.footer-social-btn.tiktok:hover {
    background-color: #000000;
    color: white;
    border-color: #000000;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-copyright {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.copyright-name {
    color: var(--primary-light);
    font-weight: 600;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: #94a3b8;
    font-size: 0.85rem;
}

.footer-made-with i {
    color: #ef4444;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, #6b8cff 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.back-to-top-text {
    display: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-title .name {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        max-width: 800px;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        grid-template-areas:
            "badge"
            "photo"
            "content";
        text-align: center;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-description {
        margin: 0 auto var(--space-xl);
    }
    
    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    .social-icons {
        justify-content: center;
        align-items: center;
    }
}
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .projects-grid-minimal {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .social-media-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-brand {
        grid-column: span 1;
        text-align: center;
        align-items: center;
    }
    
    .footer-navigation,
    .footer-social {
        text-align: center;
        align-items: center;
    }
    
    .footer-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav-links {
        align-items: center;
    }
    
    .footer-social-buttons {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .back-to-top {
        bottom: var(--space-lg);
        right: var(--space-lg);
        padding: var(--space-md);
    }
    
    .back-to-top-text {
        display: inline;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--space-md);
        max-width: 100%;
    }
    section {
        padding: 2rem 0;
    }
    .navbar {
        padding: var(--space-sm) 0;
    }
    .nav-menu {
        width: 100%;
    }
    .hero {
        padding-top: 100px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    .hero-description {
        margin: 0 auto var(--space-xl);
        font-size: 1rem;
    }
    .image-frame {
        width: 260px;
        height: 260px;
    }
    .image-decoration {
        width: 280px;
        height: 280px;
    }
    .projects-grid,
    .projects-grid-minimal {
        grid-template-columns: 1fr;
    }
    .project-thumb {
        height: auto;
    }
    .project-thumb img {
        height: auto;
    }
    .project-title {
        font-size: 1.1rem;
    }
    .project-meta span {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .btn,
    .btn-glow {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.95rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
    .footer {
        padding: var(--space-2xl) 0 var(--space-md);
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .container {
        max-width: 1000px;
    }
    section {
        padding: 4rem 0;
    }
    .projects-grid,
    .projects-grid-minimal {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-thumb {
        height: 180px;
    }
    .image-frame {
        width: clamp(220px, 30vw, 320px);
        height: clamp(220px, 30vw, 320px);
    }
    .image-decoration {
        width: clamp(260px, 36vw, 360px);
        height: clamp(260px, 36vw, 360px);
    }
}

@media (min-width: 993px) {
    section {
        padding: 6rem 0;
    }
    .hero-content {
        grid-template-columns: 1.2fr 1fr;
        grid-template-areas:
            "badge photo"
            "content photo";
        justify-items: start;
        text-align: left;
    }
    .hero-badge {
        justify-content: flex-start;
        margin-bottom: var(--space-lg);
    }
    .hero-actions {
        justify-content: flex-start;
    }
    .image-frame {
        width: clamp(260px, 28vw, 380px);
        height: clamp(260px, 28vw, 380px);
        box-shadow: var(--shadow-xl), 0 0 0 14px rgba(91, 124, 255, 0.08);
    }
    .image-decoration {
        width: clamp(300px, 34vw, 440px);
        height: clamp(300px, 34vw, 440px);
    }
    .projects-grid,
    .projects-grid-minimal {
        grid-template-columns: repeat(3, 1fr);
    }
    .project-thumb {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .name {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .image-frame {
        width: 250px;
        height: 250px;
    }
    
    .image-decoration {
        width: 300px;
        height: 300px;
    }
    
    .about-card,
    .skill-item-minimal,
    .contact-info-card,
    .social-media-card {
        padding: var(--space-lg);
    }
    
    .vision-card {
        flex-direction: column;
        text-align: center;
        padding: var(--space-xl);
        gap: var(--space-lg);
    }
    
    .contact-info-section,
    .social-media-section {
        padding: var(--space-xl);
    }
    
    .contact-info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: var(--space-md);
    }
    
    .social-media-card {
        min-height: 160px;
        padding: var(--space-md);
    }
    
    .footer {
        padding: var(--space-2xl) 0 var(--space-md);
    }
    
    .footer-main {
        gap: var(--space-xl);
        margin-bottom: var(--space-2xl);
    }
    
    .footer-social-buttons {
        grid-template-columns: 1fr;
    }
    
    .footer-social-btn {
        width: 100%;
        justify-content: center;
    }
    
    .back-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        padding: var(--space-sm) var(--space-md);
    }
    
    .back-to-top-text {
        display: none;
    }
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 9999px;
    background-color: rgba(255,255,255,0.06);
    color: var(--secondary);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    transition: var(--transition);
}
.theme-toggle:hover {
    transform: translateY(-1px);
    background-color: rgba(255,255,255,0.1);
}
.theme-toggle i {
    color: var(--primary);
}

/* ===== GLASSMORPHISM CARDS ===== */
.glass-card {
    background: rgba(16,16,16,0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}

/* ===== SCROLL FADE-IN ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PROJECTS FILTER & MODAL ===== */
.filter-bar {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: var(--space-2xl);
}
.filter-btn {
    padding: 10px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(16,16,16,0.4);
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}
.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #6b8cff 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: transparent;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}
.project-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(16,16,16,0.5);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.project-thumb {
    height: 200px;
    overflow: hidden;
}
.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.project-card:hover .project-thumb img {
    transform: scale(1.06);
}
.project-body {
    padding: var(--space-xl);
}
.project-title {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}
.project-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.project-meta span {
    font-size: 0.8rem;
    color: var(--dark-gray);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 4px 10px;
    border-radius: 9999px;
}
.project-actions {
    margin-top: var(--space-lg);
    display: flex;
    gap: 12px;
}
.btn-glow {
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6b8cff 0%, #8b5cf6 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 0 20px rgba(107, 140, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.35);
}
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
}
.modal.open {
    display: flex;
}
.modal-content {
    width: min(920px, 92vw);
    background: rgba(16,16,16,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.modal-body {
    padding: var(--space-xl);
}
.modal-close {
    background: transparent;
    border: none;
    color: var(--secondary);
    font-size: 1.25rem;
    cursor: pointer;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
}
.service-card {
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    background: rgba(16,16,16,0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6b8cff 0%, #8b5cf6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    font-size: 1.5rem;
}
.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}
.service-desc {
    color: var(--dark-gray);
}

/* ===== CONTACT FORM ===== */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}
.input-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.input-field label {
    font-size: 0.9rem;
    color: var(--secondary);
}
.input, .textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(16,16,16,0.5);
    color: var(--secondary);
    border: 1px solid rgba(255,255,255,0.1);
    outline: none;
    transition: var(--transition);
}
.input:focus, .textarea:focus {
    border-color: #6b8cff;
    box-shadow: 0 0 0 3px rgba(107,140,255,0.18);
}
.error-text {
    font-size: 0.8rem;
    color: #ff6b6b;
    display: none;
}
.input.error, .textarea.error {
    border-color: #ff6b6b;
}
.submit-btn {
    justify-self: start;
}

/* ===== BLOG ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}
.blog-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(16,16,16,0.5);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.blog-thumb {
    height: 180px;
    overflow: hidden;
}
.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.blog-card:hover .blog-thumb img {
    transform: scale(1.06);
}
.blog-body {
    padding: var(--space-xl);
}
.blog-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary);
}
.blog-excerpt {
    color: var(--dark-gray);
    margin-bottom: var(--space-lg);
}
.blog-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-xl);
}
.search-input {
    flex: 1;
}
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: var(--space-xl);
}
.pagination button {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(16,16,16,0.4);
    color: var(--secondary);
    cursor: pointer;
    transition: var(--transition);
}
.pagination button.active,
.pagination button:hover {
    background: linear-gradient(135deg, #6b8cff 0%, #8b5cf6 100%);
    color: #ffffff;
    border-color: transparent;
}
