/* ========================================
   Modern Glassmorphism Portfolio
   ======================================== */

/* CSS Variables */
:root {
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    --success: #22c55e;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}

/* Light Theme */
body.light-theme {
    --bg-dark: #f5f5f7;
    --bg-darker: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --text-primary: #1a1a2e;
    --text-secondary: rgba(26, 26, 46, 0.8);
    --text-muted: rgba(26, 26, 46, 0.6);
}

body.light-theme .bg-gradient {
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 40%);
}

body.light-theme .floating-shapes span {
    opacity: 0.05;
}

body.light-theme .header.scrolled {
    background: rgba(245, 245, 247, 0.9);
}

body.light-theme .image-container img {
    border-color: var(--bg-darker);
}

body.light-theme .nav-menu {
    background: rgba(245, 245, 247, 0.95);
}

body.light-theme .project-icon-large {
    color: rgba(0, 0, 0, 0.2);
}

body.light-theme .project-card:hover .project-icon-large {
    color: rgba(0, 0, 0, 0.3);
}

body.light-theme .footer {
    background: rgba(0, 0, 0, 0.03);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

ul {
    list-style: none;
}

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

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.08) 0%, transparent 40%);
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2%, 2%) rotate(1deg); }
    50% { transform: translate(0, 4%) rotate(0deg); }
    75% { transform: translate(-2%, 2%) rotate(-1deg); }
}

.floating-shapes span {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.03;
    animation: float 20s infinite;
}

.floating-shapes span:nth-child(1) { width: 80px; height: 80px; top: 10%; left: 10%; animation-delay: 0s; }
.floating-shapes span:nth-child(2) { width: 120px; height: 120px; top: 20%; right: 15%; animation-delay: 2s; }
.floating-shapes span:nth-child(3) { width: 60px; height: 60px; top: 60%; left: 5%; animation-delay: 4s; }
.floating-shapes span:nth-child(4) { width: 100px; height: 100px; bottom: 20%; right: 10%; animation-delay: 6s; }
.floating-shapes span:nth-child(5) { width: 150px; height: 150px; top: 40%; left: 50%; animation-delay: 8s; }
.floating-shapes span:nth-child(6) { width: 70px; height: 70px; bottom: 30%; left: 20%; animation-delay: 10s; }
.floating-shapes span:nth-child(7) { width: 90px; height: 90px; top: 70%; right: 30%; animation-delay: 12s; }
.floating-shapes span:nth-child(8) { width: 50px; height: 50px; top: 5%; left: 40%; animation-delay: 14s; }
.floating-shapes span:nth-child(9) { width: 110px; height: 110px; bottom: 10%; left: 60%; animation-delay: 16s; }
.floating-shapes span:nth-child(10) { width: 85px; height: 85px; top: 50%; right: 5%; animation-delay: 18s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.03; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.06; }
}

/* Glass Card Effect */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-normal);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card:not(.testimonial-card):hover {
    transform: translateY(-5px);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text {
    color: var(--text-primary);
}

.logo-dot {
    color: var(--accent-primary);
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.theme-toggle:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
}

.btn-glow {
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    to { box-shadow: 0 0 30px rgba(139, 92, 246, 0.6); }
}

.btn-full {
    width: 100%;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 12px 20px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--success);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-name {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.hero-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat .stat-plus {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.hero-stat .stat-label {
    width: 100%;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: var(--gradient-glow);
    border-radius: 50%;
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.image-border {
    position: absolute;
    inset: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.image-container img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--bg-dark);
    z-index: 1;
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    animation: floatIcon 6s ease-in-out infinite;
}

.floating-icon.aws { top: 10%; left: -10%; color: #ff9900; animation-delay: 0s; }
.floating-icon.docker { top: 20%; right: -5%; color: #2496ed; animation-delay: 1.5s; }
.floating-icon.linux { bottom: 20%; left: -5%; color: #fcc624; animation-delay: 3s; }
.floating-icon.git { bottom: 10%; right: -10%; color: #f05032; animation-delay: 4.5s; }

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

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

/* ========================================
   Trusted By Section
   ======================================== */
.trusted-by {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.trusted-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.6;
    transition: var(--transition-normal);
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

/* ========================================
   Section Styling
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.skill-card {
    padding: 32px;
    text-align: center;
}

.skill-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skill-tags span {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--accent-primary);
    transition: var(--transition-fast);
}

.skill-tags span:hover {
    background: var(--accent-primary);
    color: white;
}

/* ========================================
   Experience Section
   ======================================== */
.experience {
    background: rgba(255, 255, 255, 0.01);
}

.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

.experience-card {
    position: relative;
    margin-left: 40px;
    margin-bottom: 32px;
    padding: 32px;
}

.experience-dot {
    position: absolute;
    left: -49px;
    top: 40px;
    width: 16px;
    height: 16px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
}

.experience-date {
    margin-bottom: 16px;
}

.date-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.company-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.company-name,
.company-location {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.company-name i,
.company-location i {
    margin-right: 8px;
    color: var(--accent-primary);
}

.experience-details {
    margin: 20px 0;
    padding-left: 20px;
}

.experience-details li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    list-style: none;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: -20px;
    color: var(--accent-primary);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-stack span {
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-primary);
}

/* ========================================
   Projects Section
   ======================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    overflow: hidden;
    transition: var(--transition-normal);
}

.project-card.featured {
    grid-column: span 2;
}

.project-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-icon-large {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
}

.project-card:hover .project-icon-large {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.5);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-content {
    padding: 24px;
}

.project-category {
    font-size: 0.8rem;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.project-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: rgba(255, 255, 255, 0.01);
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    padding: 40px;
    text-align: center;
    box-sizing: border-box;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    opacity: 0.7;
    margin-bottom: 20px;
    display: block;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
    max-width: 700px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1rem;
}

.testimonial-rating i {
    margin: 0 2px;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.dot.active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 5px;
}

/* ========================================
   Education Section
   ======================================== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.education-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.education-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.education-school {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

.education-date i {
    margin-right: 8px;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
}

.contact-info {
    padding: 40px;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.contact-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.contact-text a,
.contact-text p {
    color: var(--text-primary);
    font-weight: 500;
}

.contact-text a:hover {
    color: var(--accent-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

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

.footer-links ul li a:hover {
    color: var(--accent-primary);
}

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

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

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

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .hero-description {
        margin: 0 auto 32px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .image-container {
        width: 280px;
        height: 280px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card.featured {
        grid-column: span 2;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: var(--transition-normal);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-actions .btn-glow {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: span 1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .image-container {
        width: 220px;
        height: 220px;
    }

    .floating-icons {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .experience-card {
        margin-left: 24px;
        padding: 24px;
    }

    .experience-dot {
        left: -33px;
    }

    .testimonial-card {
        padding: 25px 15px;
    }

    .quote-icon {
        font-size: 1.8rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .slider-dots {
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }
}
