/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
    --bg-color: #08060f;
    --bg-gradient-top: #0a0715;
    --bg-gradient-bottom: #05030a;
    
    --card-bg: rgba(17, 12, 34, 0.5);
    --card-hover-bg: rgba(25, 18, 50, 0.75);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(138, 43, 226, 0.3);
    
    --primary: #8f44fd;
    --primary-rgb: 143, 68, 253;
    --secondary: #00f0ff;
    --secondary-rgb: 0, 240, 255;
    --accent: #ff007f;
    
    --text-main: #f1ecf9;
    --text-muted: #9c97b0;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --glow-primary: 0 0 20px rgba(143, 68, 253, 0.35);
    --glow-secondary: 0 0 20px rgba(0, 240, 255, 0.35);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: linear-gradient(180deg, var(--bg-gradient-top) 0%, var(--bg-gradient-bottom) 100%);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

/* ==========================================
   BACKGROUND GLOW BLOBS
   ========================================== */
.blob {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.18;
    pointer-events: none;
    animation: pulse 12s infinite alternate;
}

.blob-1 {
    top: 5%;
    right: -10%;
    background-color: var(--primary);
}

.blob-2 {
    top: 40%;
    left: -15%;
    background-color: var(--secondary);
    animation-delay: 3s;
}

.blob-3 {
    bottom: 10%;
    right: -5%;
    background-color: var(--accent);
    animation-delay: 6s;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.1) translate(20px, -30px); }
    100% { transform: scale(0.95) translate(-10px, 10px); }
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    background: rgba(0, 240, 255, 0.08);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

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

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Card base */
.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.card:hover {
    background: var(--card-hover-bg);
    border-color: var(--card-border-hover);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), 0 0 25px rgba(143, 68, 253, 0.15);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7b2cbf 100%);
    color: #ffffff;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(143, 68, 253, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: var(--secondary);
    box-shadow: var(--glow-secondary);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 6, 15, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(8, 6, 15, 0.9);
    border-color: rgba(143, 68, 253, 0.15);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.logo .dot {
    color: var(--secondary);
}

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

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

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: var(--transition-normal);
}

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

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: var(--transition-normal);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
}

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

.hero-content .badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(143, 68, 253, 0.08);
    border: 1px solid rgba(143, 68, 253, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    height: 2.8rem;
}

.hero-subtitle .cursor {
    display: inline-block;
    background-color: var(--secondary);
    width: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-card {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(143, 68, 253, 0.2) 0%, rgba(0, 240, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: -1;
    opacity: 0.25;
    filter: blur(15px);
    animation: rotate-gradient 8s linear infinite;
}

@keyframes rotate-gradient {
    0% { filter: blur(15px) hue-rotate(0deg); }
    100% { filter: blur(15px) hue-rotate(360deg); }
}

.profile-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(8, 6, 15, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(143, 68, 253, 0.25);
}

.profile-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-badge {
    position: absolute;
    background: rgba(25, 18, 50, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.stats-badge i {
    font-size: 1.5rem;
}

.stats-badge h4 {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
}

.stats-badge p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-1 {
    top: 25px;
    left: -60px;
    color: var(--secondary);
    border-left: 3px solid var(--secondary);
}

.badge-2 {
    bottom: 25px;
    right: -40px;
    color: var(--accent);
    border-left: 3px solid var(--accent);
}

/* ==========================================
   ABOUT & SKILLS SECTION
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

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

.personal-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    margin-top: 2.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.info-value {
    font-weight: 600;
    color: #ffffff;
}

.skills-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.skill-category {
    margin-bottom: 2rem;
}

.skill-category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.skill-category h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 12px;
    background-color: var(--primary);
    border-radius: 100px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.skill-tag-item i {
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.skill-tag-item:hover {
    background: rgba(143, 68, 253, 0.1);
    border-color: rgba(143, 68, 253, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.skill-tag-item:hover i {
    color: var(--secondary);
}

/* ==========================================
   RESUME TIMELINE SECTION
   ========================================== */
.resume-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.col-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.col-title i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.col-title h3 {
    font-size: 1.6rem;
}

.timeline {
    border-left: 2px solid rgba(255, 255, 255, 0.06);
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -26.5px;
    top: 6px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--bg-color);
    box-shadow: 0 0 10px var(--primary);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

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

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

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

.portfolio-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.portfolio-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

.portfolio-placeholder-img i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.25);
    transition: var(--transition-slow);
}

.img-web {
    background: linear-gradient(135deg, #1b0a3a 0%, #0d2c4b 100%);
}

.img-wp {
    background: linear-gradient(135deg, #0f2b3e 0%, #154c46 100%);
}

.img-design {
    background: linear-gradient(135deg, #3a0a25 0%, #1a083a 100%);
}

.img-wp-2 {
    background: linear-gradient(135deg, #1e092b 0%, #461435 100%);
}

.portfolio-item:hover .portfolio-placeholder-img {
    transform: scale(1.08);
}

.portfolio-item:hover .portfolio-placeholder-img i {
    transform: scale(1.1) rotate(5deg);
    color: rgba(255, 255, 255, 0.4);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 6, 15, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.portfolio-link:hover {
    background-color: var(--secondary);
    color: var(--bg-color);
    box-shadow: var(--glow-secondary);
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.portfolio-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

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

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.blog-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-slow);
}

.blog-placeholder-img i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.img-blog-1 { background: linear-gradient(135deg, #1b0a3a 0%, #3a0a25 100%); }
.img-blog-2 { background: linear-gradient(135deg, #0d2c4b 0%, #0f2b3e 100%); }
.img-blog-3 { background: linear-gradient(135deg, #154c46 0%, #1e092b 100%); }

.blog-card:hover .blog-placeholder-img {
    transform: scale(1.05);
}

.blog-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

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

.blog-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

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

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-more-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card:hover .blog-more-link {
    color: var(--secondary);
}

.blog-card:hover .blog-more-link i {
    transform: translateX(4px);
    transition: var(--transition-fast);
}

.blog-action-wrapper {
    text-align: center;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(143, 68, 253, 0.08);
    border: 1px solid rgba(143, 68, 253, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact-detail-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    color: var(--text-muted);
}

.contact-detail-item p {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
}

.contact-detail-item a:hover {
    color: var(--secondary);
}

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

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

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

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(143, 68, 253, 0.04);
    box-shadow: 0 0 15px rgba(143, 68, 253, 0.15);
}

.form-feedback {
    display: none;
    margin-top: 1.5rem;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    font-size: 0.95rem;
    text-align: center;
}

/* ==========================================
   FOOTER AREA
   ========================================== */
.footer-area {
    background: rgba(5, 3, 10, 0.95);
    border-top: 1px solid var(--card-border);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-links h4, .footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

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

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

.footer-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.newsletter-form {
    display: flex;
    position: relative;
}

.newsletter-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0.9rem 3.5rem 0.9rem 1.2rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    background: #7b2cbf;
    box-shadow: var(--glow-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-card:last-child {
        display: none; /* Hide 3rd card on medium screens to keep layout clean */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Display profile picture first on mobile */
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .resume-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card:last-child {
        display: flex;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Responsive Navigation Menu */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(8, 6, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-normal);
        border-top: 1px solid var(--card-border);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-actions .btn {
        display: none; /* Hide Sewa Saya button on mobile header */
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        height: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .personal-info {
        grid-template-columns: 1fr;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .stats-badge {
        padding: 0.5rem 1rem;
    }
    
    .badge-1 {
        left: -20px;
    }
    
    .badge-2 {
        right: -20px;
    }
}
