* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --secondary-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 100%);
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --info-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --primary-color: #0099ff;
    --secondary-color: #2a5298;
    --accent-color: #00d4ff;
    --dark-bg: #0a0e27;
    --light-bg: #0f1729;
    --text-dark: #ffffff;
    --text-light: #e8f1f8;
    --text-muted: #a0aec0;
    
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0e27;
    background-image: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(10, 14, 39, 0.1) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(10, 14, 39, 0.5) 100%);
    padding: 100px 20px;
    min-height: 91.6vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated Transparent Background Image */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.redd.it/qxxdgcb1x0kz.gif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 153, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

/* arrow styling (START) */

.scroll-arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px; /* super skinny */
    height: 40px;
    background: white;
    opacity: 0.8;
    animation: arrowBounce 1.5s infinite ease-in-out;
    cursor: pointer;
}

/* little arrow head */
.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
}

/* bounce animation */
@keyframes arrowBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* fade-out class */
.scroll-arrow.hide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* arrow styling (END) */

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: #0a0e27;
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 153, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: #0a0e27;
    border-color: transparent;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.animated-cube {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
    animation: float 6s ease-in-out infinite;
    position: relative;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.animated-cube img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;}

.animated-cube::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.3) 0%, rgba(42, 82, 152, 0.3) 100%);
    border-radius: 20px;
    top: -10px;
    left: -10px;
    z-index: -1;
    opacity: 0.7;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* About Section */
.about {
    padding: 80px 20px;
    background: #0f1729;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(42, 82, 152, 0.2) 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-box:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(0, 153, 255, 0.2) 0%, rgba(42, 82, 152, 0.3) 100%);
    border-color: rgba(0, 212, 255, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.stat-box p {
    color: #cbd5e1;
    font-weight: 600;
}

/* Experience Section */
.experience {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(10, 14, 39, 0.1) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: white; /* ← the line in experience section is white */
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    grid-template-columns: 1fr 1fr;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
    padding-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    padding-left: 50px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    border: 4px solid #0a0e27;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.2);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-subtitle {
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: #cbd5e1;
    line-height: 1.6;
}

/* Certifications Section */
.certifications {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(10, 14, 39, 0.1) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.certification-card {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(15, 23, 41, 0.8) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    height: auto;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.certification-content {
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.certification-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 700;
}

.certification-issuer {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.certification-date {
    color: #a0aec0;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.certification-description {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* "view certificate" styling */
.certification-link { /* certification cards' buttons */
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: #0a0e27;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 153, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.certification-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;
}

.certification-link:hover::before {
    left: 100%;
}

.certification-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 153, 255, 0.6);
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border-color: rgba(0, 212, 255, 0.8);
}

.certification-link:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.4);
}

/* Projects Section */
.projects {
    padding: 80px 20px;
    background: #0f1729;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.2) 0%, rgba(15, 23, 41, 0.8) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(225, 230, 231, 0.722);
    border-color: rgba(0, 212, 255, 0.5);
}

.project-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.project-content p {
    color: #cbd5e1;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.certification-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(0, 153, 255, 0.2);
    color: #00d4ff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* toggle skills button styling */

/* Collapsible container */
.skills-list {
    position: relative;
    max-height: 70px; /* adjust based on how many tags you want visible */
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Expanded state */
.skills-list.expanded {
    max-height: 500px; /* enough to show all tags */
}

.certification-skills .tag.hidden {
    display: none;
}

.skills-list:not(.expanded)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25px;
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.7));
}

.toggle-skills-btn {
    background: none;
    color: #00d4ff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-skills-btn:hover {
    text-decoration: underline;
}
/* end of toggle skills button styling */

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    font-size: 0.95rem;
    transition: var(--transition);
}

.project-link::after {
    content: ' →';
    transition: var(--transition);
}

.project-link:hover::after {
    transform: translateX(5px);
}

.project-btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, #ffffff 0%, #e6e6e6 100%);
    color: #0a0e27; /* your dark background color */
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Hover effect */
.project-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.35);
}

/* Optional: active press effect */
.project-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.25);
}

/* Skills Section */
.skills {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(10, 14, 39, 0.1) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: white;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-badge {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(42, 82, 152, 0.2) 100%);
    color: #e8f1f8;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    border-left: 4px solid var(--accent-color);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
    cursor: default;
}

.skill-badge:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 153, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.skill-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    object-fit: cover;
    border-radius: 4px;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background: #0f1729;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.2) 0%, rgba(42, 82, 152, 0.1) 100%);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(10, 14, 39, 0.8);
    color: #ffffff;
}

.form-group textarea {
    resize: vertical; /* makes the element(s) vertically resizable */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

/* Add icons to social links */
.social-icon img {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    object-fit: contain;
    display: block;
    flex: 0 0 auto; /* prevents the images from moving when hovered */
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 153, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.8);
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 212, 255, 0.2);
}

.contact-details p {
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-details a {
    color: #00d4ff;
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    opacity: 0.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
}

.heart {
    color: #f5576c;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Responsive Design */
@media (max-width: 768px) {

    .scroll-arrow {
        height: 30px;
        width: 2px;
        bottom: 20px;
    }

    .scroll-arrow::after {
        width: 10px;
        height: 10px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-visual {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: -10px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: auto;
        text-align: left;
        padding: 0 0 0 40px;
    }

    .timeline-marker {
        left: -17px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .nav-menu {
        gap: 1rem;
    }
}

@media (max-width: 480px) {

    .scroll-arrow {
        height: 25px;
        bottom: 15px;
    }

    .scroll-arrow::after {
        width: 8px;
        height: 8px;
    }

    .nav-logo {
        font-size: 1.4rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 25px;
    }

    .projects-grid {
        gap: 20px;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}