
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    font-family: 'Poppins', sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    background-color: #0f172a;
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 1rem 9%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#logo {
    width: 150px;
    cursor: pointer;
    transition: 0.3s ease;
}

#logo:hover {
    transform: scale(1.1);
}

nav a {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    margin-left: 4rem;
    transition: 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    background: linear-gradient(to right, #34d399, #38bdf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #34d399, #38bdf8);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    color: white;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(52, 211, 153, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.08) 0%, transparent 50%);
    opacity: 0.9;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(59, 130, 246, 0.03) 50%, transparent 70%);
    opacity: 0.7;
}

/* Hero content styling */
.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #34d399, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #94a3b8;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: #cbd5e1;
    line-height: 1.8;
}

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

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

.hero-image img {
    width: 40rem;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
    transition: 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.5));
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    transition: 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #34d399, #38bdf8);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 211, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.btn-secondary:hover {
    background: #38bdf8;
    color: white;
    transform: translateY(-3px);
}

.btn-small {
    padding: 1rem 2rem;
    font-size: 1.4rem;
}

.btn-outline {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.btn-outline:hover {
    background: #38bdf8;
    color: white;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 2rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: rgba(56, 189, 248, 0.1);
    border: 2px solid #38bdf8;
    border-radius: 50%;
    font-size: 2rem;
    color: #38bdf8;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #38bdf8;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.4);
}

/* Section Styles */
section {
    padding: 10rem 0;
}

.section-title {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6rem;
    background: linear-gradient(135deg, #34d399, #38bdf8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.skill-category {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-width: 0;
}

.skill-category h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: center;
    justify-content: center;
}

.skill-category i {
    font-size: 2.4rem;
    color: #3b82f6;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-item span {
    font-size: 1.6rem;
    font-weight: 500;
    color: #334155;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
    justify-content: center;
    align-items: center;
}

.skill-tags .tech-tag {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.skill-tags .tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: #1e293b;
    color: white;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.projects .section-title {
    color: white;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.projects .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #38bdf8);
    border-radius: 2px;
}

/* Projects Statistics */
.projects-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #34d399, #38bdf8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #34d399, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.75rem;
    text-shadow: none;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

/* Projects Grid */
.projects-grid {
    display: flex;
    gap: 3rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    scroll-padding: 0;
    align-items: stretch;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-card {
    width: 480px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    scroll-snap-align: start;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #38bdf8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.project-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 30px rgba(59, 130, 246, 0.1);
}

.project-header {
    margin-bottom: 2rem;
}

.project-header h3 {
    color: #60a5fa;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.project-tech {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.project-description {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-description strong {
    color: #60a5fa;
    font-weight: 700;
}

.project-description strong a {
    color: #34d399;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-description strong a:hover {
    color: #10b981;
    text-decoration: underline;
}

.project-features {
    margin-bottom: 2.5rem;
}

.project-features h4,
.project-learning h4,
.project-application h4 {
    color: #60a5fa;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.project-features ul,
.project-learning ul,
.project-application ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.project-features li,
.project-learning li,
.project-application li {
    color: #94a3b8;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.5;
}

.project-features li:before,
.project-learning li:before,
.project-application li:before {
    content: "▸";
    color: #60a5fa;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.project-links {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

.project-links .btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
}

.project-links .btn-primary {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

.project-links .btn-primary:hover {
    background: #38bdf8;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.project-links .btn-outline {
    background: transparent;
    color: #38bdf8;
    border: 2px solid #38bdf8;
}

/* Live Demo Button - High Priority */
.project-links .btn-live-demo,
.btn-live-demo {
    background: rgba(59, 130, 246, 0.9) !important;
    color: white !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1.4rem !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-decoration: none;
    min-width: 110px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
    cursor: pointer;
    font-family: inherit;
    outline: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.project-links .btn-live-demo:hover,
.btn-live-demo:hover {
    background: rgba(37, 99, 235, 0.9) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
}

.project-links .btn-live-demo:active,
.btn-live-demo:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3) !important;
}

.project-links .btn-live-demo:focus,
.btn-live-demo:focus {
    outline: 2px solid #60a5fa !important;
    outline-offset: 2px;
}

.project-links .btn-live-demo i,
.btn-live-demo i {
    font-size: 0.75rem;
    color: white;
    transition: transform 0.2s ease;
}

.project-links .btn-live-demo:hover i,
.btn-live-demo:hover i {
    transform: scale(1.1) !important;
}

/* Button group consistency */
.project-links {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    margin-top: auto;
    padding-top: 1.5rem;
    align-items: center;
}

.project-links .btn-live-demo {
    order: 1;
}

.project-links .btn-small {
    order: 2;
}

/* Code Button */
.btn-code {
    background: #64748b !important;
    color: white !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.75rem 1.4rem !important;
    border-radius: 50px !important;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 110px;
    box-shadow: 0 2px 8px rgba(100, 116, 139, 0.2);
}

.btn-code:hover {
    background: #475569 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(100, 116, 139, 0.4);
}

.btn-code i {
    font-size: 0.75rem;
    color: white;
}

.project-links .btn-outline:hover {
    background: #38bdf8;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: #0f172a;
    color: white;
}

.experience .section-title {
    color: white;
}

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

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

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

.experience-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.experience-marker::before {
    content: "💼";
    font-size: 1.8rem;
}

.experience-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
    color: #1e293b;
}

.experience-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.experience-content h3 {
    color: #1e40af;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.experience-content h4 {
    color: #3b82f6;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.experience-date {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-location {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.experience-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-content li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.experience-content li:last-child {
    border-bottom: none;
}

.experience-content li:before {
    content: "▸";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Timeline improvements */
.timeline-location {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.key-courses {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

.key-courses h5 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.key-courses ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-courses li {
    padding: 0.25rem 0;
    color: #374151;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
}

.key-courses li:before {
    content: "▸";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Contact Section */
.contact-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: #94a3b8;
    margin-bottom: 5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #38bdf8;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.contact-item i {
    font-size: 2rem;
    color: #38bdf8;
    width: 3rem;
}

.contact-item span {
    font-size: 1.6rem;
    color: #e2e8f0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 1rem;
    font-size: 1.6rem;
    color: white;
    transition: 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

/* Contact improvements */
.contact-item .fas {
    color: #3b82f6;
    margin-right: 0.75rem;
}

.contact-item:last-child {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 6px;
    border-left: 3px solid #22c55e;
}

.contact-item:last-child .fas {
    color: #22c55e;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.footer p {
    font-size: 1.4rem;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero {
        padding: 12rem 5% 5rem;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero h2 {
        font-size: 3rem;
    }
}

@media (max-width: 1000px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 10rem 5% 5rem;
    }
    
    .hero-image img {
        width: 30rem;
    }
    
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-marker {
        left: 2rem;
    }
    
    .timeline-content {
        width: calc(100% - 6rem);
        margin-left: 6rem !important;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }

    .key-courses {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .key-courses li {
        font-size: 0.85rem;
        padding-left: 1.25rem;
    }
    
    .timeline-location {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 8rem 3% 3rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero-image img {
        width: 25rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .skill-category,
    .project-card {
        padding: 2rem;
    }
}

/* Key Courses Component */
.key-courses-component {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(147, 51, 234, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.key-courses-title {
    color: #1e40af;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    position: relative;
}

.key-courses-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

.key-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.course-category {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.course-category h6 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.course-category h6:before {
    content: "📚";
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.course-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-category li {
    padding: 0.5rem 0;
    color: #374151;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: color 0.2s ease;
}

.course-category li:last-child {
    border-bottom: none;
}

.course-category li:hover {
    color: #1e40af;
}

.course-category li:before {
    content: "▸";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.course-category:hover li:before {
    transform: translateX(2px);
}

/* Responsive design for key courses */
@media (max-width: 768px) {
    .key-courses-component {
        margin-top: 1rem;
        padding: 1rem;
    }
    
    .key-courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-category {
        padding: 1rem;
    }
    
    .course-category li {
        font-size: 0.85rem;
        padding-left: 1.25rem;
    }
    
    .key-courses-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .key-courses-component {
        padding: 0.75rem;
    }
    
    .course-category {
        padding: 0.75rem;
    }
    
    .course-category h6 {
        font-size: 0.9rem;
    }
    
    .course-category li {
        font-size: 0.8rem;
        padding-left: 1rem;
    }
}

/* Key Courses Section */
.key-courses-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.key-courses-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.key-courses-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #1e293b;
}

.key-courses-section .section-subtitle {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.key-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-category {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.course-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.course-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.course-header {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 2rem 2rem 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.course-header h3 {
    color: #1e40af;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.course-header h3 i {
    font-size: 1.4rem;
    color: #3b82f6;
}

.course-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.course-category:hover .course-icon {
    opacity: 1;
    transform: scale(1.1);
}

.course-content {
    padding: 1.5rem 2rem 2rem;
}

.course-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-content li {
    padding: 0.75rem 0;
    color: #374151;
    font-size: 1rem;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.course-content li:last-child {
    border-bottom: none;
}

.course-content li:hover {
    color: #1e40af;
    padding-left: 2.5rem;
    background: rgba(59, 130, 246, 0.05);
    margin: 0 -1rem;
    padding-left: 3rem;
    border-radius: 8px;
}

.course-content li:before {
    content: "▸";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.course-content li:hover:before {
    transform: translateX(4px) scale(1.2);
    color: #1e40af;
}

/* Courses Summary */
.courses-summary {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.courses-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.4);
}

.summary-item i {
    color: #3b82f6;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.summary-item span {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

/* Responsive design for key courses section */
@media (max-width: 768px) {
    .key-courses-section {
        padding: 3rem 0;
    }
    
    .key-courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .course-category {
        margin: 0 1rem;
    }
    
    .course-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .course-header h3 {
        font-size: 1.1rem;
    }
    
    .course-icon {
        top: 1.25rem;
        right: 1.5rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .course-content {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .course-content li {
        font-size: 0.9rem;
        padding-left: 1.75rem;
    }
    
    .course-content li:hover {
        padding-left: 2.25rem;
    }
    
    .courses-summary {
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .summary-item {
        padding: 1rem 1.5rem;
        min-width: 140px;
        justify-content: center;
    }
    
    .summary-item span {
        font-size: 0.95rem;
    }
    
    .summary-item i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .key-courses-section {
        padding: 2rem 0;
    }
    
    .course-category {
        margin: 0 0.5rem;
    }
    
    .course-header {
        padding: 1.25rem 1.25rem 1rem;
    }
    
    .course-header h3 {
        font-size: 1rem;
    }
    
    .course-icon {
        top: 1rem;
        right: 1.25rem;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .course-content {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .course-content li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }
    
    .course-content li:hover {
        padding-left: 2rem;
    }
    
    .courses-summary {
        gap: 1rem;
        margin-top: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .summary-item {
        padding: 0.75rem 1.25rem;
        min-width: 120px;
        justify-content: center;
    }
    
    .summary-item span {
        font-size: 0.85rem;
    }
    
    .summary-item i {
        font-size: 1.1rem;
    }
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5%;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 0.75rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-image {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Education Section */
.education {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.education .section-title {
    text-align: center;
    margin-bottom: 4rem;
    color: #1e293b;
}

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

.education-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

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

.education-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.education-marker::before {
    content: "🎓";
    font-size: 1.8rem;
}

.education-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
}

.education-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.education-content h3 {
    color: #1e40af;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.education-content h4 {
    color: #3b82f6;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.education-date {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.education-location {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.education-gpa {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.1));
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #22c55e;
    color: #065f46;
    font-weight: 600;
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

.skills .section-title {
    color: #1e293b;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: #1e293b;
    color: white;
}

.projects .section-title {
    color: white;
}

/* Education Section */
.education {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

.education .section-title {
    color: #1e293b;
}

/* Experience Section */
.experience {
    padding: 5rem 0;
    background: #0f172a;
    color: white;
}

.experience .section-title {
    color: white;
}

/* Key Courses Section */
.key-courses-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

.key-courses-section .section-title {
    color: #1e293b;
}

.key-courses-section .section-subtitle {
    color: #64748b;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #1e293b;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive design for projects */
@media (max-width: 768px) {
    .projects-grid {
        justify-content: flex-start; /* Left align on mobile */
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .project-card {
        min-width: 320px;
        max-width: 320px;
        padding: 2rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .scroll-indicator {
        bottom: 0.5rem;
    }
    
    .scroll-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .project-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .project-header h3 {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-features h4 {
        font-size: 1rem;
    }
    
    .project-features li {
        font-size: 0.8rem;
    }
    
    .scroll-dot {
        width: 5px;
        height: 5px;
    }
}

/* Smooth scroll behavior */
.projects-grid {
    scroll-behavior: smooth;
}

/* Hover effect for scroll dots */
.scroll-dot:hover {
    background: rgba(59, 130, 246, 0.6);
    cursor: pointer;
    transform: scale(1.1);
}

/* Projects Statistics */
.projects-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 160px;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive design for projects */
@media (max-width: 768px) {
    .projects-stats {
        gap: 2rem;
        margin-bottom: 3rem;
        padding: 1.5rem 0;
        flex-wrap: wrap;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .projects-grid {
        justify-content: center;
        gap: 1rem;
        padding: 1.5rem 0;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        scroll-padding: 0;
    }
    
    .project-card {
        min-width: 380px;
        max-width: 380px;
        padding: 2.5rem;
    }
    
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .scroll-indicator {
        bottom: 0.5rem;
    }
    
    .scroll-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .projects-stats {
        gap: 1rem;
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .projects-grid {
        gap: 1rem;
        padding: 1rem 0;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        scroll-padding: 0;
        justify-content: center;
    }
    
    .project-card {
        min-width: 320px;
        max-width: 320px;
        padding: 2rem;
    }
    
    .project-header h3 {
        font-size: 1.2rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-features h4 {
        font-size: 1rem;
    }
    
    .project-features li {
        font-size: 0.8rem;
    }
    
    .scroll-dot {
        width: 5px;
        height: 5px;
    }
}

.project-features h4,
.project-learning h4,
.project-application h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

.project-features h4::before,
.project-learning h4::before,
.project-application h4::before {
    content: '💡';
    font-size: 1.1rem;
}

.project-features ul,
.project-learning ul,
.project-application ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li,
.project-learning li,
.project-application li {
    color: white;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem 1rem 0.8rem 3.5rem;
    position: relative;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-features li:hover,
.project-learning li:hover,
.project-application li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.project-features li:before,
.project-learning li:before,
.project-application li:before {
    content: '✓';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.project-learning,
.project-application {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.project-learning h4 {
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
    border-left-color: #10b981;
}

.project-learning h4::before {
    content: '🎓';
}

.project-learning li:before {
    color: #10b981;
    background: rgba(16, 185, 129, 0.2);
}

.project-application h4 {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.2);
    border-left-color: #f59e0b;
}

.project-application h4::before {
    content: '🚀';
}

.project-application li:before {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.2);
}
