:root {
    --primary-color: #3b82f6;
    --secondary-color: #1d4ed8;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-bg: #f8fafc;
    --lighter-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #06b6d4 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --navbar-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background:
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%),
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 50%);
    background-blend-mode: overlay;
    min-height: 100vh;
    padding-top: var(--navbar-height);
    /* Account for fixed navbar */
}

a {
    text-decoration: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95) 0%,
            rgba(30, 41, 59, 0.95) 50%,
            rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(59, 130, 246, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(59, 130, 246, 0.5) 50%,
            transparent 100%);
    z-index: 1;
}

.navbar-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 1.5rem;
    color: #fff !important;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
    border-radius: 6px;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.navbar-nav .nav-link.active {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.8);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

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

/* Mobile Menu Button */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.5rem;
    height: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 18L18 6M6 6l12 12'/%3e%3c/svg%3e") !important;
}

/* Mobile Menu Styles */
.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-collapse.show {
    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.98) 0%,
            rgba(30, 41, 59, 0.98) 50%,
            rgba(15, 23, 42, 0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        gap: 0.5rem;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
        margin: 0;
        font-size: 1rem;
        font-weight: 500;
    }

    .navbar-nav .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

    .navbar-nav .nav-link.active {
        background: rgba(59, 130, 246, 0.2);
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
        border: 1px solid rgba(59, 130, 246, 0.3);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0 1rem;
    }
}

/* HERO SECTION - WORLD CLASS DESIGN */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
}

.shape-5 {
    width: 80px;
    height: 80px;
    bottom: 40%;
    right: 20%;
    animation-delay: 3s;
}

.shape-6 {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 30%;
    animation-delay: 5s;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particle-float 8s linear infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 20%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 6s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 30%;
    animation-delay: 3s;
}

.particle:nth-child(7) {
    top: 50%;
    left: 50%;
    animation-delay: 5s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 40%;
    animation-delay: 7s;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem 2rem;
    width: 100%;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    width: fit-content;
    backdrop-filter: blur(10px);
    animation: slideInLeft 0.8s ease-out;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.02em;
}

.hero-greeting {
    animation: slideInLeft 0.8s ease-out 0.1s both;
}

.greeting-text {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin: 0;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
    color: #fff;
    text-shadow: 0 4px 32px rgba(59, 130, 246, 0.2);
}

.title-line.highlight {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: #b6c2d6;
    font-weight: 500;
    animation: slideInLeft 0.8s ease-out 0.3s both;
}

.subtitle-text {
    opacity: 0.9;
}

.subtitle-separator {
    color: var(--accent-color);
    font-weight: 700;
}

.hero-role {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
    animation: slideInLeft 0.8s ease-out 0.4s both;
    min-height: 2rem;
}

.role-prefix {
    color: #b6c2d6;
}

.role-animation {
    position: relative;
    display: inline-block;
    min-width: 280px;
}

.typing-text {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.cursor {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.3rem;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: #dbeafe;
    line-height: 1.7;
    max-width: 540px;
    animation: slideInLeft 0.8s ease-out 0.5s both;
}

.company-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.company-link:hover {
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 0.8s ease-out 0.6s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.4);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-icon {
    font-size: 1.1rem;
}

.cta-arrow {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(4px);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    animation: slideInLeft 0.8s ease-out 0.7s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.8rem;
    color: #b6c2d6;
    font-weight: 500;
    text-align: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out 0.3s both;
}

.profile-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.profile-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(59, 130, 246, 0.3);
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.3),
        0 0 120px rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.profile-frame:hover .profile-image {
    transform: scale(1.05);
    box-shadow:
        0 0 80px rgba(59, 130, 246, 0.4),
        0 0 160px rgba(6, 182, 212, 0.3);
}

.profile-glow {
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.2;
    filter: blur(40px);
    animation: pulse 4s ease-in-out infinite;
}

.profile-border {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid transparent;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: 1;
    animation: rotate 10s linear infinite;
}

.profile-dots {
    position: absolute;
    top: -20px;
    right: -20px;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    animation: pulse 2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.5s;
}

.dot:nth-child(3) {
    animation-delay: 1s;
}

.hero-social {
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.social-link {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.social-link::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: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.social-link.linkedin:hover {
    background: linear-gradient(135deg, #0077b5, #00a0dc);
}

.social-link.github:hover {
    background: linear-gradient(135deg, #333, #666);
}

.social-link.hackerrank:hover {
    background: linear-gradient(135deg, #00ea64, #00ea64);
}

.social-link.blog:hover {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.8);
}

.social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
    animation: fadeInUp 1s ease-out 1.5s both;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    max-width: 100vw;
    overflow: hidden;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.8) 0%,
            rgba(6, 182, 212, 0.6) 50%,
            rgba(59, 130, 246, 0.3) 100%);
    border-radius: 1px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(59, 130, 246, 0.8) 50%,
            rgba(6, 182, 212, 0.6) 100%);
    animation: scrollFlow 2s ease-in-out infinite;
    border-radius: 1px;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    position: relative;
    animation: scrollPulse 2s ease-in-out infinite;
    box-shadow:
        0 0 0 2px rgba(59, 130, 246, 0.3),
        0 0 0 4px rgba(6, 182, 212, 0.2),
        0 0 15px rgba(59, 130, 246, 0.5);
    flex-shrink: 0;
}

.scroll-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: scrollGlow 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
    animation: scrollTextFade 2s ease-in-out infinite;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes scrollFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 2px rgba(59, 130, 246, 0.3),
            0 0 0 4px rgba(6, 182, 212, 0.2),
            0 0 20px rgba(59, 130, 246, 0.5);
    }

    50% {
        transform: scale(1.2);
        box-shadow:
            0 0 0 3px rgba(59, 130, 246, 0.5),
            0 0 0 6px rgba(6, 182, 212, 0.3),
            0 0 30px rgba(59, 130, 246, 0.8);
    }
}

@keyframes scrollGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes scrollTextFade {

    0%,
    100% {
        opacity: 0.6;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sections */
.section {
    padding: 5rem 0;
    background: var(--lighter-bg);
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
}

.section-dark {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #1a1a2e 75%, #0a0a0a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #3b82f6);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    animation: shimmer 3s ease-in-out infinite;
}

.section-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 10% 10%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

.section-title {
    font-size: 3.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    color: var(--text-primary);
    text-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
    letter-spacing: -0.02em;
}

.section-dark .section-title {
    background: linear-gradient(135deg, #fff 0%, #06b6d4 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    border-radius: 2px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: var(--lighter-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.1), 0 10px 10px -5px rgba(6, 182, 212, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    font-size: 2.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1);
}

.skill-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.skill-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6, #06b6d4, #3b82f6);
    transform: translateX(-50%);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.5);
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid rgba(255, 255, 255, 0.05);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-right: 10px solid rgba(255, 255, 255, 0.05);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    z-index: 2;
    border: 4px solid rgba(255, 255, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.3));
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite reverse;
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: calc(50% + 8px);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: calc(50% - 8px);
}

.timeline-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-company {
    color: #06b6d4;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    text-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.timeline-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.05rem;
    font-weight: 400;
}

/* Contact Section */
.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--lighter-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.98);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-icon {
    font-size: 2rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details {
    flex: 1;
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-link:hover::after {
    width: 100%;
}

.contact-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.contact-cta {
    background: var(--gradient-blue);
    padding: 3rem;
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

/* Footer */
.footer {
    background: linear-gradient(135deg,
            #0f172a 0%,
            #1e293b 25%,
            #334155 50%,
            #1e293b 75%,
            #0f172a 100%);
    color: #fff;
    padding: 3rem 0 2rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            #3b82f6,
            #06b6d4,
            #3b82f6);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-bottom {
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .hero-content {
        gap: 3rem;
        padding: 5rem 2rem 3rem 2rem;
    }

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

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

@media (max-width: 1200px) {
    .hero-content {
        gap: 2.5rem;
        padding: 4rem 1.5rem 2rem 1.5rem;
    }

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

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

    .profile-glow {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
        filter: blur(20px);
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1rem 2rem 1rem;
        text-align: center;
    }

    .hero-text {
        order: 1;
        align-items: center;
    }

    .hero-visual {
        order: 2;
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
        text-align: center;
    }

    .title-line {
        display: inline;
    }

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

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .profile-glow {
        top: -15px;
        left: -15px;
        right: -15px;
        bottom: -15px;
        filter: blur(15px);
    }

    .hero-social {
        justify-content: center;
        gap: 1.2rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

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

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
    }

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

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        margin-left: 50px;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-height: 70px;
    }

    body {
        padding-top: var(--navbar-height);
    }

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

    .hero-greeting {
        animation: slideInLeft 0.8s ease-out 0.1s both;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .greeting-text {
        font-size: 1.1rem;
    }

    .hero-role {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }

    .role-prefix {
        font-size: 1rem;
    }

    .typing-text {
        font-size: 1.1rem;
    }

    .cursor {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

    .cta-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: 140px;
    }

    .profile-image {
        width: 160px;
        height: 160px;
    }

    .profile-glow {
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
        filter: blur(12px);
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
        margin: 0 0.3rem;
    }

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

    .skill-card {
        padding: 2rem;
    }

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

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

    .timeline-content {
        padding: 2rem;
    }

    .timeline-title {
        font-size: 1.4rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-title {
        font-size: 1rem;
    }

    .contact-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    :root {
        --navbar-height: 65px;
    }

    body {
        padding-top: var(--navbar-height);
    }

    .hero-content {
        padding: 2rem 0.5rem 1rem 0.5rem;
        gap: 2rem;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 1;
        align-items: center;
    }

    .hero-visual {
        order: 2;
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        text-align: center;
    }

    .title-line {
        display: inline;
    }

    .hero-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .badge-text {
        font-size: 0.7rem;
    }

    .greeting-text {
        font-size: 1rem;
    }

    .hero-role {
        font-size: 1rem;
        min-height: 1.5rem;
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
    }

    .role-prefix {
        font-size: 0.9rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .cursor {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-width: 120px;
        gap: 0.5rem;
    }

    .cta-icon {
        font-size: 1rem;
    }

    .cta-arrow {
        font-size: 0.8rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-glow {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        filter: blur(8px);
    }

    .hero-social {
        gap: 0.8rem;
        justify-content: center;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.85rem;
        margin: 0 0.2rem;
    }

    .navbar-toggler {
        padding: 0.4rem;
    }

    .navbar-toggler-icon {
        width: 1.3rem;
        height: 1.3rem;
    }

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

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

    .skill-card {
        padding: 1.5rem;
    }

    .skill-icon {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .skill-title {
        font-size: 1.1rem;
    }

    .skill-description {
        font-size: 0.85rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-company {
        font-size: 1rem;
    }

    .timeline-date {
        font-size: 0.9rem;
    }

    .timeline-description {
        font-size: 0.95rem;
    }

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

    .contact-card {
        padding: 1.2rem;
    }

    .contact-icon {
        font-size: 1.5rem;
    }

    .contact-title {
        font-size: 0.95rem;
    }

    .contact-description {
        font-size: 0.8rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
        gap: 0.6rem;
    }

    .scroll-line {
        height: 40px;
    }

    .scroll-dot {
        width: 5px;
        height: 5px;
    }

    .scroll-dot::before {
        width: 2px;
        height: 2px;
    }

    .scroll-text {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    :root {
        --navbar-height: 60px;
    }

    body {
        padding-top: var(--navbar-height);
    }

    .hero-content {
        padding: 1.5rem 0.3rem 0.5rem 0.3rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .hero-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }

    .badge-text {
        font-size: 0.65rem;
    }

    .greeting-text {
        font-size: 0.9rem;
    }

    .hero-role {
        font-size: 0.9rem;
        gap: 0.2rem;
    }

    .role-prefix {
        font-size: 0.8rem;
    }

    .typing-text {
        font-size: 0.9rem;
    }

    .cursor {
        font-size: 0.9rem;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .hero-cta {
        gap: 0.6rem;
    }

    .cta-button {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
        min-width: 100px;
        gap: 0.4rem;
    }

    .cta-icon {
        font-size: 0.9rem;
    }

    .cta-arrow {
        font-size: 0.7rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile-glow {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        filter: blur(6px);
    }

    .hero-social {
        gap: 0.6rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.8rem;
        margin: 0 0.15rem;
    }

    .navbar-toggler {
        padding: 0.3rem;
    }

    .navbar-toggler-icon {
        width: 1.2rem;
        height: 1.2rem;
    }

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

    .skill-card {
        padding: 1.2rem;
    }

    .skill-icon {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .skill-title {
        font-size: 1rem;
    }

    .skill-description {
        font-size: 0.8rem;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-icon {
        font-size: 1.3rem;
    }

    .contact-title {
        font-size: 0.9rem;
    }

    .contact-description {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        bottom: 1.2rem;
        gap: 0.5rem;
    }

    .scroll-line {
        height: 35px;
    }

    .scroll-dot {
        width: 4px;
        height: 4px;
    }

    .scroll-dot::before {
        width: 1.5px;
        height: 1.5px;
    }

    .scroll-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 320px) {
    :root {
        --navbar-height: 55px;
    }

    body {
        padding-top: var(--navbar-height);
    }

    .hero-content {
        padding: 1rem 0.2rem 0.3rem 0.2rem;
        gap: 1rem;
    }

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

    .hero-badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.6rem;
    }

    .badge-text {
        font-size: 0.6rem;
    }

    .greeting-text {
        font-size: 0.8rem;
    }

    .hero-role {
        font-size: 0.8rem;
        gap: 0.15rem;
    }

    .role-prefix {
        font-size: 0.75rem;
    }

    .typing-text {
        font-size: 0.8rem;
    }

    .cursor {
        font-size: 0.8rem;
    }

    .hero-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .hero-cta {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
        gap: 0.3rem;
    }

    .cta-icon {
        font-size: 0.8rem;
    }

    .cta-arrow {
        font-size: 0.6rem;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .profile-glow {
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        filter: blur(4px);
    }

    .hero-social {
        gap: 0.5rem;
    }

    .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.75rem;
        margin: 0 0.1rem;
    }

    .navbar-toggler {
        padding: 0.25rem;
    }

    .navbar-toggler-icon {
        width: 1.1rem;
        height: 1.1rem;
    }

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

    .skill-card {
        padding: 1rem;
    }

    .skill-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .skill-title {
        font-size: 0.9rem;
    }

    .skill-description {
        font-size: 0.75rem;
    }

    .contact-card {
        padding: 0.8rem;
    }

    .contact-icon {
        font-size: 1.2rem;
    }

    .contact-title {
        font-size: 0.8rem;
    }

    .contact-description {
        font-size: 0.7rem;
    }

    .scroll-indicator {
        bottom: 1rem;
        gap: 0.5rem;
    }

    .scroll-line {
        height: 35px;
    }

    .scroll-dot {
        width: 4px;
        height: 4px;
    }

    .scroll-dot::before {
        width: 1.5px;
        height: 1.5px;
    }

    .scroll-text {
        font-size: 0.65rem;
    }
}

/* Fade in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.hero-tagline {
    text-align: center;
    color: #94a3b8;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
}



@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(18px);
    }
}

/* Hide scroll indicator on very small screens to prevent overflow */
@media (max-width: 360px) {
    .scroll-indicator {
        display: none;
    }
}