/* ============================================
   NAGA VINOD - PORTFOLIO STYLES
   Modern, Professional & Animated Design
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Primary Colors */
    --primary: #6c63ff;
    --primary-light: #8b84ff;
    --primary-dark: #5048c7;
    
    /* Secondary Colors */
    --secondary: #00d9ff;
    --accent: #ff6b6b;
    
    /* Gradient Colors */
    --gradient-1: linear-gradient(135deg, #6c63ff 0%, #00d9ff 100%);
    --gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-3: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    
    /* Dark Theme Colors */
    --bg-dark: #0a0a0f;
    --bg-dark-2: #12121a;
    --bg-dark-3: #1a1a25;
    --bg-card: #1e1e2e;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6c7c;
    
    /* Other */
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(108, 99, 255, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* ============ CUSTOM CURSOR ============ */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

/* ============ UTILITY CLASSES ============ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-1);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ============ NAVIGATION ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 35px;
}

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

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-normal);
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(108, 99, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 107, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.hero-text {
    z-index: 1;
}

.greeting {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease forwards;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.first-name {
    display: block;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.last-name {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.typing-container {
    font-size: 1.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.static-text {
    color: var(--text-secondary);
}

.dynamic-text {
    color: var(--secondary);
    font-weight: 600;
}

.cursor-blink {
    animation: blink 0.8s infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 1s forwards;
    opacity: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    animation: fadeInUp 0.8s ease 1.2s forwards;
    opacity: 0;
}

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

.social-link:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.5s forwards;
    opacity: 0;
}

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

.blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob 8s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes blob {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
    75% { border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%; }
}

.profile-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: var(--bg-dark-2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary);
    box-shadow: 0 0 50px rgba(108, 99, 255, 0.3);
}

.profile-placeholder i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.profile-placeholder span {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 50px rgba(108, 99, 255, 0.3), 0 0 100px rgba(108, 99, 255, 0.2);
    transition: all var(--transition-slow);
    filter: brightness(1.05) contrast(1.1);
    animation: profileGlow 3s ease-in-out infinite;
}

.image-container:hover .profile-image {
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 0 70px rgba(108, 99, 255, 0.5), 0 0 120px rgba(108, 99, 255, 0.3);
    filter: brightness(1.1) contrast(1.15);
}

@keyframes profileGlow {
    0%, 100% {
        box-shadow: 0 0 50px rgba(108, 99, 255, 0.3), 0 0 100px rgba(108, 99, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 70px rgba(108, 99, 255, 0.4), 0 0 130px rgba(108, 99, 255, 0.25);
    }
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 15px;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow);
    animation: float 3s ease-in-out infinite;
}

.icon-1 { top: 0; left: 10%; animation-delay: 0s; }
.icon-2 { top: 20%; right: 0; animation-delay: 0.5s; }
.icon-3 { bottom: 20%; right: 10%; animation-delay: 1s; }
.icon-4 { bottom: 0; left: 20%; animation-delay: 1.5s; }
.icon-5 { top: 40%; left: -5%; animation-delay: 2s; }

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease 1.5s forwards;
    opacity: 0;
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(15px); }
}

/* ============ ABOUT SECTION ============ */
.about {
    padding: var(--section-padding);
    background: var(--bg-dark-2);
}

.about-content {
    display: block;
    gap: 60px;
    align-items: center;
}

.about-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 400px;
    margin: 0 auto;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-placeholder::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.about-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.about-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    display: block;
    transition: all var(--transition-slow);
    filter: brightness(1.05) contrast(1.1);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.2);
}

.about-img-container:hover .about-profile-image {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(108, 99, 255, 0.3);
    filter: brightness(1.1) contrast(1.15);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: var(--transition-normal);
}

.about-card:hover {
    background: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.about-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: var(--transition-normal);
}

.about-card:hover i {
    color: var(--text-primary);
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.about-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.about-card:hover p,
.about-card:hover span {
    color: rgba(255, 255, 255, 0.8);
}

.about-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

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

/* ============ SKILLS SECTION ============ */
.skills {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.skills-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 30px;
    transition: var(--transition-normal);
}

.skills-category:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.skills-grid {
    display: grid;
    gap: 20px;
}

.skill-item {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    align-items: center;
}

.skill-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark-2);
    border-radius: 12px;
    font-size: 1.5rem;
    color: var(--primary);
}

.skill-name {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.skill-bar {
    height: 8px;
    background: var(--bg-dark-2);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
}

/* ============ PROJECTS SECTION ============ */
.projects {
    padding: var(--section-padding);
    background: var(--bg-dark-2);
}

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

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(108, 99, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

.project-links {
    display: flex;
    gap: 15px;
}

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

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

.project-link:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.tech-tag {
    padding: 5px 15px;
    background: var(--bg-dark-2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    border: 1px solid var(--border-color);
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
}

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

.timeline-icon {
    position: absolute;
    left: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-subtitle {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.timeline-location,
.timeline-grade {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.timeline-location i,
.timeline-grade i {
    color: var(--primary);
    margin-right: 5px;
}

.timeline-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.7;
}

/* ============ CERTIFICATIONS SECTION ============ */
.certifications {
    padding: var(--section-padding);
    background: var(--bg-dark-2);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: var(--transition-normal);
}

.cert-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.cert-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 15px;
    font-size: 1.8rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.cert-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cert-issuer {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.cert-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition-normal);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 12px;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.contact-details h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details a,
.contact-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.2);
}

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

.form-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.form-group textarea ~ .form-icon {
    top: 25px;
    transform: none;
}

.submit-btn {
    width: fit-content;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-dark-3);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo .logo-text {
    font-size: 2.5rem;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

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

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

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

.footer-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
}

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

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

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

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

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

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

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-dark-2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition-normal);
    }

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

    .hamburger {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .name {
        font-size: 2.8rem;
    }

    .typing-container {
        font-size: 1.2rem;
    }

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

    .profile-placeholder {
        width: 240px;
        height: 240px;
    }

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

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

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

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-icon {
        left: 0;
        width: 40px;
        height: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

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

    .name {
        font-size: 2.2rem;
    }

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

    .profile-placeholder {
        width: 180px;
        height: 180px;
    }

    .float-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}
