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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: #0f0f23;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
}

/* WebGL Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0f0f23;
    z-index: 1000;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-text {
    color: #64ffda;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #ccd6f6;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #64ffda;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #64ffda;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 20px;
    background: transparent;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

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

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    line-height: 1.2;
}

.title-line:first-child {
    font-size: 1.2rem;
    color: #64ffda;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.main-name {
    font-size: 4rem;
    font-weight: 700;
    color: #ccd6f6;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: #8892b0;
}

.hero-description {
    font-size: 1.2rem;
    color: #8892b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #64ffda;
}

.stat-label {
    font-size: 0.9rem;
    color: #8892b0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #64ffda;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: transparent;
    color: #64ffda;
}

.btn-primary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #64ffda;
}

.btn-secondary:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-animation {
    background: rgba(100, 255, 218, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: typewriter 3s steps(40) infinite;
}

.keyword { color: #ff79c6; }
.module { color: #8be9fd; }
.function { color: #50fa7b; }
.variable { color: #f8f8f2; }
.comment { color: #6272a4; }
.string { color: #f1fa8c; }
.indent { padding-left: 1rem; }



.scroll-line {
    width: 1px;
    height: 30px;
    background: #64ffda;
    margin-bottom: 0.5rem;
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

/* Character Scene */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.character-scene {
    position: relative;
    width: 400px;
    height: 400px;
    animation: float 6s ease-in-out infinite;
}

.character {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.head {
    width: 80px;
    height: 80px;
    
    border-radius: 50%;
    position: relative;
    margin: 0 auto 10px;
    border: 3px solid #2d3748;
}

.hair {
    position: absolute;
    top: -15px;
    left: 10px;
    width: 60px;
    height: 40px;
    background: #8b4513;
    border-radius: 30px 30px 0 0;
    border: 3px solid #2d3748;
}

.face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.eyes {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    justify-content: center;
}

.eye {
    width: 12px;
    height: 12px;
    background: #2d3748;
    border-radius: 50%;
    animation: blink 4s infinite;
}

.nose {
    width: 4px;
    height: 4px;
    background: #2d3748;
    border-radius: 50%;
    margin: 0 auto 8px;
}

.mouth {
    width: 20px;
    height: 10px;
    border: 2px solid #2d3748;
    border-top: none;
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
}

.body {
    position: relative;
}

.torso {
    width: 70px;
    height: 90px;
    background: #4a90e2;
    border-radius: 15px 15px 0 0;
    margin: 0 auto;
    border: 3px solid #2d3748;
}

.arms {
    position: absolute;
    top: 20px;
    width: 100%;
}

.arm {
    width: 20px;
    height: 60px;
    background: #ffdbac;
    border-radius: 10px;
    position: absolute;
    border: 3px solid #2d3748;
}

.arm.left {
    left: -15px;
    transform: rotate(-30deg);
    animation: wave 3s ease-in-out infinite;
}

.arm.right {
    right: -15px;
    transform: rotate(30deg);
}

.legs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: -5px;
}

.leg {
    width: 25px;
    height: 60px;
    background: #2c3e50;
    border-radius: 0 0 12px 12px;
    border: 3px solid #2d3748;
}

/* Chair */
.chair {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.chair-back {
    width: 120px;
    height: 140px;
    background: #8b4513;
    border-radius: 15px 15px 0 0;
    border: 3px solid #2d3748;
    margin-bottom: -30px;
}

.chair-seat {
    width: 130px;
    height: 25px;
    background: #a0522d;
    border-radius: 8px;
    border: 3px solid #2d3748;
    margin-bottom: 15px;
}

.chair-legs {
    display: flex;
    justify-content: space-between;
    width: 130px;
}

.chair-legs .leg {
    width: 12px;
    height: 80px;
    background: #654321;
    border-radius: 6px;
    border: 2px solid #2d3748;
}

/* Desk */
.desk {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.laptop {
    position: relative;
}

.screen {
    width: 80px;
    height: 50px;
    background: #1a1a2e;
    border: 3px solid #2d3748;
    border-radius: 5px 5px 0 0;
    transform: rotate(-10deg);
}

.keyboard {
    width: 90px;
    height: 15px;
    background: #c0c0c0;
    border: 2px solid #2d3748;
    border-radius: 0 0 5px 5px;
    margin-top: -3px;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ccd6f6;
}

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

.about, .experience, .projects-section, .certifications-section, .contact-section {
    padding: 100px 0;
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

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

.timeline::before {
    content: '';
    position: relative;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #64ffda;
    transform: translateX(-50%);
}

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

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 150px;
    text-align: center;
    color: #64ffda;
    font-weight: 600;
    padding: 1rem;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    margin: 0 2rem;
    position: relative;
    z-index: 2;
}

.timeline-date::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: #64ffda;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-date::before {
    right: -35px;
}

.timeline-item:nth-child(even) .timeline-date::before {
    left: -35px;
}

.timeline-content {
    flex: 1;
    background: rgba(100, 255, 218, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.timeline-content h3 {
    color: #ccd6f6;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    color: #64ffda;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    color: #8892b0;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '▸';
    color: #64ffda;
    position: absolute;
    left: 0;
    top: 0;
}

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

.about-text p {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #8892b0;
    font-size: 0.95rem;
}

.contact-item i {
    color: #64ffda;
    width: 20px;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category h3 {
    color: #64ffda;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-name {
    color: #ccd6f6;
    font-weight: 500;
    min-width: 120px;
    transition: all 0.3s ease;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 4px;
    margin-left: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #64ffda, #50fa7b);
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 0;
}

.skill:hover {
    transform: translateX(5px);
}

.skill:hover .skill-name {
    color: #64ffda;
}

.skill:hover .skill-bar {
    transform: scaleY(1.2);
    background: rgba(100, 255, 218, 0.2);
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
}

.skill:hover .skill-progress {
    background: linear-gradient(90deg, #64ffda, #50fa7b, #64ffda);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.5);
}

.skill[data-skill="90"] .skill-progress { width: 90%; }
.skill[data-skill="85"] .skill-progress { width: 85%; }
.skill[data-skill="60"] .skill-progress { width: 60%; }
.skill[data-skill="92"] .skill-progress { width: 92%; }
.skill[data-skill="70"] .skill-progress { width: 70%; }

.skill[data-skill="90"]:hover .skill-progress { width: 95%; }
.skill[data-skill="85"]:hover .skill-progress { width: 90%; }
.skill[data-skill="60"]:hover .skill-progress { width: 65%; }
.skill[data-skill="92"]:hover .skill-progress { width: 97%; }
.skill[data-skill="70"]:hover .skill-progress { width: 75%; }

/* Hero Contact */
.hero-contact {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #8892b0;
    font-size: 0.9rem;
}

.contact-item .icon {
    font-size: 1rem;
}

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

.skill-category {
    background: rgba(100, 255, 218, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.skill-category h3 {
    color: #64ffda;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.skills-list {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-item {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(100, 255, 218, 0.3);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(100, 255, 218, 0.2);
    transform: translateY(-2px);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(100, 255, 218, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #64ffda;
}

.project-number {
    font-size: 0.9rem;
    color: #64ffda;
    margin-bottom: 0.5rem;
}

.project-date {
    font-size: 0.8rem;
    color: #8892b0;
    margin-bottom: 1rem;
}

.project-card h3 {
    font-size: 1.5rem;
    color: #ccd6f6;
    margin-bottom: 1rem;
}

.project-card p {
    color: #8892b0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.project-tech span {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

.project-link {
    color: #64ffda;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.project-link:hover {
    color: #ccd6f6;
    transform: translateX(5px);
}

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

.certificate-card {
    background: rgba(100, 255, 218, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

#certificateModal {
    z-index: 10000;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    background: #0f0f23;
    border-radius: 15px;
    border: 2px solid #64ffda;
    text-align: center;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #64ffda;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ccd6f6;
}

#modalImage {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
}

#modalTitle {
    color: #ccd6f6;
    font-size: 1.5rem;
    margin: 0;
}

.certificate-card:hover {
    transform: translateY(-10px);
    border-color: #64ffda;
    box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.certificate-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(100, 255, 218, 0.3);
}

.certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.05);
}

.certificate-card h3 {
    color: #ccd6f6;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.cert-category h3 {
    color: #64ffda;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(100, 255, 218, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateX(5px);
}

.cert-info h4 {
    color: #ccd6f6;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cert-info p {
    color: #8892b0;
    font-size: 0.85rem;
}

.cert-badge {
    background: #64ffda;
    color: #0f0f23;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.education-list {
    margin-bottom: 2rem;
}

.education-item {
    background: rgba(100, 255, 218, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    margin-bottom: 1rem;
}

.education-item h4 {
    color: #ccd6f6;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.education-item p {
    color: #8892b0;
    font-size: 0.85rem;
}

.additional-skills, .languages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.additional-skills span, .languages span {
    background: rgba(100, 255, 218, 0.1);
    color: #64ffda;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(100, 255, 218, 0.3);
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: #8892b0;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-email, .contact-github, .contact-linkdin {
    font-size: 1.1rem;
    color: #64ffda;
    text-decoration: none;
    border: 1px solid #64ffda;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-email:hover, .contact-github:hover, .contact-linkdin:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation for project cards */
.project-card {
    transition-delay: 0s;
}

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }

/* Parallax effect */
.parallax {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes wave {
    0%, 100% {
        transform: rotate(-30deg);
    }
    50% {
        transform: rotate(-60deg);
    }
}

@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }
    95% {
        transform: scaleY(0.1);
    }
}

/* Mobile Navigation */
.nav-menu.active {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 999;
}

.nav-menu.active a {
    font-size: 1.5rem;
    color: #ccd6f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu.active a:hover {
    color: #64ffda;
}

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 20px;
    }
    
    .hero {
        padding: 80px 20px 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .main-name {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-left: 40px;
    }
    
    .timeline-date {
        margin: 0 0 1rem 0;
        flex: none;
    }
    
    .timeline-date::before {
        left: -35px !important;
        right: auto !important;
    }
    
    .contact-details {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .main-name {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1.4rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-email, .contact-github, .contact-linkdin {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .code-animation {
        font-size: 0.7rem;
        padding: 1rem;
    }
    
    .hero {
        padding: 70px 15px 15px;
    }
    
    .all-certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .all-certs-modal {
        max-width: 95%;
        padding: 15px;
    }
    
    .all-certs-modal h2 {
        font-size: 1.5rem;
    }
}


.about-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    justify-content: center; 
}

.profile-pic img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #64ffda;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}


.profile-pic img:hover {
    transform: scale(1.05);
}

/* Horizontal scrolling certificates */
.certificates-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.certificates-scroll-container::-webkit-scrollbar {
    display: none;
}

.certificates-scroll {
    display: flex;
    gap: 3rem;
    animation: scroll 100s linear infinite;
    width: max-content;
    will-change: transform;
}

.certificates-scroll::after {
    content: '';
    width: 100%;
    flex-shrink: 0;
}

.certificates-scroll:hover {
    animation-play-state: paused;
}

.certificates-section .certificate-card {
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 300px;
    height: 350px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    text-align: center;
}

.certificates-section .certificate-card:hover {
    transform: translateY(-10px);
    border-color: #64ffda;
    box-shadow: 0 15px 35px rgba(100, 255, 218, 0.3);
}

.certificates-section .certificate-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(100, 255, 218, 0.3);
    margin-bottom: 1rem;
}

.certificates-section .certificate-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.certificates-section .certificate-card:hover .certificate-image img {
    transform: scale(1.08);
}

.certificates-section .certificate-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.certificates-section .certificate-content h3 {
    color: #ccd6f6;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
}

.certificates-section .certificate-content p {
    color: #8892b0;
    font-size: 0.9rem;
    margin: 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* View All Certificates Button */
.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.view-all-btn {
    background: transparent;
    color: #64ffda;
    border: 2px solid #64ffda;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.view-all-btn:hover {
    background: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.3);
}

/* All Certificates Modal */
.all-certs-modal {
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.all-certs-modal::-webkit-scrollbar {
    display: none;
}

.all-certs-modal h2 {
    color: #ccd6f6;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.all-certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    animation: none !important;
    width: 100% !important;
}

.all-certificates-grid .certificate-card {
    animation: none !important;
    position: static !important;
    width: auto !important;
    flex-shrink: initial !important;
    transform: none !important;
}

.all-certificates-grid::after {
    display: none !important;
}

