/* ========================================
   PORTFOLIO - Dhananjay Gaikwad
   Dark Modern Theme
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #1a1a25;
    --bg-card-hover: #222233;
    --accent-blue: #00b4d8;
    --accent-purple: #7b2ff7;
    --accent-gradient: linear-gradient(135deg, #00b4d8, #7b2ff7);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: #1e293b;
    --glass-bg: rgba(26, 26, 37, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);

    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ---------- Section Titles ---------- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 60px;
    text-align: center;
    font-weight: 700;
}

.title-accent {
    color: var(--accent-blue);
    font-size: 1rem;
    font-weight: 500;
    margin-right: 8px;
    font-family: var(--font-body);
}

/* ---------- Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

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

.nav-cta {
    background: var(--accent-gradient) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
}

.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

/* Background Orbs */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    top: -200px;
    right: -100px;
    animation: floatOrb 15s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -150px;
    left: -100px;
    animation: floatOrb 20s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatOrb 12s ease-in-out infinite;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

/* Hero Content */
.hero-content {
    max-width: var(--container-width);
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.hero-image-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.3;
    animation: pulseRing 3s ease-in-out infinite;
}

@keyframes pulseRing {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.05); }
}

.hero-image {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    border: 4px solid var(--bg-primary);
}

.hero-text {
    max-width: 600px;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--accent-blue);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    min-height: 32px;
}

.typing-text {
    color: var(--accent-blue);
    font-weight: 500;
}

.typing-cursor {
    color: var(--accent-blue);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: rgba(0, 180, 216, 0.1);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease 2s both;
}

.scroll-indicator p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 22px; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 180, 216, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.about-text p strong {
    color: var(--text-primary);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(0, 180, 216, 0.2);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.languages-card {
    grid-column: 1 / -1;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: var(--transition);
}

.languages-card:hover {
    border-color: rgba(0, 180, 216, 0.2);
}

.languages-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.language-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lang-tag {
    padding: 6px 16px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience {
    background: var(--bg-secondary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 28px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.2);
    z-index: 1;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.timeline-card:hover {
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateX(8px);
    background: var(--bg-card-hover);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 0.95rem;
    color: var(--accent-blue);
    margin-top: 2px;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    padding: 4px 12px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 20px;
}

.timeline-desc {
    list-style: none;
}

.timeline-desc li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-desc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-blue);
    opacity: 0.6;
}

/* ========================================
   SKILLS SECTION
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.skill-category:hover {
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateY(-4px);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.skill-category-header svg {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
}

.skill-category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.skill-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(0, 180, 216, 0.1);
    border-color: rgba(0, 180, 216, 0.3);
    color: var(--accent-blue);
}

/* Hobbies */
.hobbies {
    text-align: center;
}

.hobbies-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hobbies-title svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
}

.hobby-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hobby-tag {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.hobby-tag:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(123, 47, 247, 0.1);
}

/* ========================================
   EDUCATION SECTION
   ======================================== */
.education {
    background: var(--bg-secondary);
}

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

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.education-card:hover {
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateY(-4px);
}

.education-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.education-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 180, 216, 0.15);
    color: var(--accent-blue);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.education-badge.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.education-degree {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.education-institute {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

.education-university {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.education-year {
    font-size: 0.82rem;
    color: var(--accent-blue);
    font-weight: 500;
}

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

.achievement-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: var(--transition);
}

.achievement-card:hover {
    border-color: rgba(123, 47, 247, 0.3);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(123, 47, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.achievement-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-purple);
}

.achievement-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.achievement-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.achievement-card strong {
    color: var(--accent-purple);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 180, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
}

.contact-item-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item a {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-blue);
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

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

.footer-socials a:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: rgba(0, 180, 216, 0.1);
    transform: translateY(-3px);
}

.footer-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    color: var(--text-primary);
    font-size: 0.9rem;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition-slow);
    backdrop-filter: blur(20px);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast svg {
    width: 20px;
    height: 20px;
    color: var(--accent-blue);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        max-width: 100%;
    }

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

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 4px;
        border-left: 1px solid var(--glass-border);
        transition: var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 12px 16px;
        border-radius: 10px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }

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

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

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

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -30px;
        width: 12px;
        height: 12px;
    }

    .timeline-card {
        padding: 24px;
    }

    .timeline-header {
        flex-direction: column;
        gap: 8px;
    }

    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px;
    }

    .scroll-indicator {
        display: none;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-name {
        font-size: 1.85rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .stat-card {
        padding: 16px;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .achievement-card {
        padding: 24px;
    }
}
