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

:root {
    --primary-color: #00f0ff;
    --secondary-color: #7b2cbf;
    --accent-color: #ff006e;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --background: #0a0e27;
    --background-secondary: #12172e;
    --background-card: #1a1f3a;
    --border-color: #2d3748;
    --shadow: 0 4px 6px -1px rgba(0, 240, 255, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 240, 255, 0.2);
    --glow: 0 0 20px rgba(0, 240, 255, 0.5);
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(123, 44, 191, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: 0 4px 20px rgba(0, 240, 255, 0.1);
}

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

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.logo-text::after {
    content: '🤖';
    position: absolute;
    right: -25px;
    top: 0;
    font-size: 16px;
    animation: robotBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

@keyframes robotBounce {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary-color);
}

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

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 20px;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: orbitPulse 10s ease-in-out infinite;
}

@keyframes orbitPulse {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.2) translate(20px, -20px); opacity: 0.8; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    width: 100%;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typing-text {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.hero-subtitle {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.8;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--background);
    border: 2px solid transparent;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 450px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-item {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.3));
}

.floating-item:hover {
    transform: scale(1.2) !important;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.8));
}

.floating-item img {
    width: clamp(50px, 6vw, 85px);
    height: clamp(50px, 6vw, 85px);
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
}

.floating-item:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-item:nth-child(2) { top: 10%; left: 45%; animation-delay: -1.5s; }
.floating-item:nth-child(3) { top: 10%; right: 10%; animation-delay: -3s; }

.floating-item:nth-child(4) { top: 40%; left: 15%; animation-delay: -0.8s; }
.floating-item:nth-child(5) { top: 40%; left: 45%; animation-delay: -2s; }
.floating-item:nth-child(6) { top: 40%; right: 15%; animation-delay: -3.2s; }

.floating-item:nth-child(7) { bottom: 15%; left: 10%; animation-delay: -1s; }
.floating-item:nth-child(8) { bottom: 15%; left: 45%; animation-delay: -2.5s; }
.floating-item:nth-child(9) { bottom: 15%; right: 10%; animation-delay: -3.5s; }

.floating-item:nth-child(10) { top: 75%; left: 30%; animation-delay: -1.8s; }


@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(8deg); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, rgba(123, 44, 191, 0.15), rgba(0, 240, 255, 0.15), rgba(255, 0, 110, 0.15), rgba(0, 240, 255, 0.1));
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 0 15px var(--primary-color);
}

.about {
    padding: 100px 0;
    background: var(--background-secondary);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.stat-item {
    background: var(--background-card);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
}

.profile-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 60px rgba(0, 240, 255, 0.4);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.education {
    padding: 100px 0;
    background: var(--background);
}

.education-cards {
    display: grid;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    background: var(--background-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-card:hover::before {
    opacity: 1;
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.education-content {
    padding: 40px;
    display: flex;
    gap: 30px;
}

.education-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.education-details {
    flex: 1;
}

.degree-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.university-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.education-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.education-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.coursework h5 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-tag {
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.course-tag:hover {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.skills {
    padding: 100px 0;
    background: var(--background-secondary);
}

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

.skill-category {
    background: var(--background-card);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 30px;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.5));
}

.skill-item span {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.skill-level {
    position: relative;
    height: 6px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}

.skill-level::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--skill-width, 0);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.projects {
    padding: 100px 0;
    background: var(--background);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
}

.project-card {
    background: var(--background-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

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

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.9), rgba(123, 44, 191, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.project-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.project-link:hover {
    background: white;
    color: var(--background);
    transform: scale(1.1) rotate(5deg);
}

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

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

.tech-tag {
    padding: 6px 14px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 240, 255, 0.2);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    transform: translateY(-2px);
}

.experience {
    padding: 100px 0;
    background: var(--background-secondary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 5px var(--background-secondary), 0 0 20px var(--primary-color);
    z-index: 2;
}

.timeline-content {
    background: var(--background-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-company {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

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

.hobbies {
    padding: 100px 0;
    background: var(--background);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.hobby-card {
    background: var(--background-card);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.hobby-card:hover::before {
    width: 300px;
    height: 300px;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.hobby-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.hobby-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.hobby-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact {
    padding: 100px 0;
    background: var(--background-secondary);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-method {
    background: var(--background-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
    border-color: var(--primary-color);
}

.contact-method i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.6));
}

.contact-method h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--background-card);
    border: 2px solid rgba(0, 240, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--background);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

footer {
    background: var(--background);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 240, 255, 0.2);
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        grid-column: 1;
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 240, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 0 20px;
    }

    .hero-visual {
        height: 120px;
        max-width: 100vw;
        padding: 10px 0;
        overflow: hidden;
    }

    .floating-elements {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .floating-item {
        position: static !important;
        animation: none !important;
        flex: 0 0 auto;
    }

    .floating-item img {
        width: 50px;
        height: 50px;
    }

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

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .project-card,
    .skill-category,
    .education-card,
    .timeline-content,
    .hobby-card {
        padding: 25px;
    }
}
