/* Clean, Simple Responsive CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 40px; /* Space for work in progress banner */
}

/* Work in Progress Banner */
.work-in-progress-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(45deg, #ff7300, #ff5e00);
    color: white;
    z-index: 1001;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ticker {
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 30s linear infinite;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 40px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff7300;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ff7300;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff7300;
    transition: width 0.3s ease;
}

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

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

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ff7300 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, #ff7300, #ff5e00);
    border-radius: 50% 0 0 50%;
    transform: translateX(30%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: rgba(255, 115, 0, 0.15);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    background: rgba(255, 115, 0, 0.2);
}

.shape2 {
    width: 40px;
    height: 40px;
    top: 60%;
    left: 8%;
    background: rgba(255, 255, 255, 0.25);
}

.shape3 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 15%;
    background: rgba(255, 115, 0, 0.18);
}

.shape4 {
    width: 30px;
    height: 30px;
    top: 70%;
    right: 20%;
    background: rgba(255, 255, 255, 0.3);
}

.shape5 {
    width: 50px;
    height: 50px;
    top: 15%;
    left: 25%;
    background: rgba(255, 115, 0, 0.15);
}

.shape6 {
    width: 35px;
    height: 35px;
    top: 45%;
    left: 15%;
    background: rgba(255, 255, 255, 0.2);
}

.shape7 {
    width: 70px;
    height: 70px;
    top: 75%;
    right: 35%;
    background: rgba(255, 115, 0, 0.12);
}

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

.hero-text {
    padding-left: 2rem;
}

.hero-text h1 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
}

.hero-text .highlight {
    color: #ff7300;
    font-size: clamp(3.5rem, 15vw, 5.5rem);
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    font-family: 'Outfit', system-ui, sans-serif;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nowrap {
    white-space: nowrap;
}

.typing-text {
    white-space: nowrap;
}

.typing-text::after {
    content: '|';
    color: #ff7300;
    animation: blink 1s infinite;
}

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

/* Hero Image - Fixed Size and Position */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 90vh;
    min-height: 500px;
    padding-bottom: 0;
    overflow: visible;
    flex-shrink: 0;
    min-width: 200px;
}

.profile-pic {
    height: 80vh;
    min-height: 550px;
    width: auto;
    object-fit: cover;
    object-position: center bottom;
    position: relative;
    z-index: 3;
    margin-bottom: 0;
    transition: transform 0.3s ease;
    transform: translateY(8%);
}

/* About Section */
.about {
    padding: 6rem 5%;
    background: #f8f9fa;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.about-pic {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.about-content .subtitle {
    color: #ff7300;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-content .quote {
    font-size: 1.15rem;
    color: #ff7300;
    font-style: italic;
    text-align: center;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-button {
    background: #ff7300;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #ff5e00;
    transform: translateY(-2px);
}

.download-cv {
    background: transparent;
    color: #333;
    border: 2px solid #ddd;
    padding: 1rem 2rem;
    font-size: 0.9rem;
}

.download-cv:hover {
    border-color: #ff7300;
    background: #ff7300;
    color: white;
    transform: translateY(-2px);
}

/* Experience Section */
.services {
    padding: 6rem 5%;
    background: white;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.services .subtitle {
    color: #ff7300;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

/* Horizontal Timeline with Stacked Duration Bars */
.horizontal-timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto 2rem;
    padding: 1rem 0 3rem 0;
    overflow-x: auto;
}

.timeline-scale {
    position: relative;
    height: 80px;
    margin-bottom: 1rem;
}

.timeline-base {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #ddd, #bbb);
    border-radius: 2px;
}

.timeline-markers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.timeline-marker {
    position: absolute;
    bottom: 0;
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 10px;
    background: #666;
}

.duration-bars {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    height: 60px;
}

.duration-bar {
    position: absolute;
    height: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.duration-bar:hover {
    height: 12px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.duration-bar.work {
    background: linear-gradient(45deg, #ff7300, #ff5e00);
}

.duration-bar.research {
    background: linear-gradient(45deg, #4ecdc4, #38a3a5);
}

.duration-bar.leadership {
    background: linear-gradient(45deg, #45b7d1, #2980b9);
}

.duration-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.duration-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(0,0,0,0.9);
}

.duration-bar:hover .duration-tooltip {
    opacity: 1;
}

/* Vertical Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ff7300, #ff5e00);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    width: 100%;
    opacity: 1;
    transition: all 0.3s ease;
}

.timeline-item.highlighted {
    opacity: 1;
    transform: translateX(10px);
}

.timeline-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    width: calc(100% - 80px);
    margin-left: 80px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.timeline-banner {
    height: 120px;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    flex-direction: row-reverse;
}

.timeline-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

.timeline-banner-content {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: left;
    margin-left: 1rem;
}

.timeline-banner-logo {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-main-content {
    padding: 1.5rem;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.timeline-dot {
    position: absolute;
    left: 30px;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: #ff7300;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255, 115, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-dot.current {
    background: #28a745;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0.1);
        transform: translateX(-50%) scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.2);
        transform: translateX(-50%) scale(1);
    }
}

.timeline-dot:hover {
    transform: translateX(-50%) scale(1.2);
}

.timeline-dot.current:hover {
    background: #218838;
    box-shadow: 0 0 0 6px rgba(40, 167, 69, 0.3);
}

.timeline-dot:not(.current):hover {
    background: #ff5e00;
    box-shadow: 0 0 0 6px rgba(255, 115, 0, 0.3);
}

.timeline-banner-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
}

.timeline-company {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
}

.timeline-date {
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
}

.timeline-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: left;
}

.timeline-achievements {
    margin-bottom: 1rem;
}

.timeline-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.timeline-achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff7300;
    font-weight: bold;
    font-size: 0.8rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skill {
    background: #f8f9fa;
    color: #ff7300;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Portfolio Section with Carousel */
.portfolio {
    padding: 4rem 5%;
    background: #f8f9fa;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.portfolio h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio .subtitle {
    color: #ff7300;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.portfolio-carousel {
    position: relative;
    max-width: 1100px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.portfolio-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 320px;
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-header {
    position: relative;
    height: 140px;
    background: linear-gradient(45deg, #ff6600, #ff4500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    overflow: hidden;
}

.portfolio-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 1;
}

.portfolio-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 1.3rem;
}

.project-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.completed {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.status-badge.in-progress {
    background: rgba(255, 193, 7, 0.9);
    color: #333;
}

.status-badge.deployed {
    background: rgba(23, 162, 184, 0.9);
    color: white;
}

.portfolio-content {
    padding: 1.5rem;
    text-align: left;
}

.project-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.project-links {
    display: flex;
    gap: 0.5rem;
}

.project-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.project-btn.github {
    background: #333;
}

.project-btn.demo {
    background: #ff8533;
}

.project-btn.paper {
    background: #6c757d;
}

.project-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-achievements {
    margin-bottom: 1rem;
}

.project-achievements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
}

.project-achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff8533;
    font-weight: bold;
    font-size: 0.8rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.tech-tag {
    background: #f0f8ff;
    color: #ff8533;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #666;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: #ff8533;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 133, 51, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    background: white;
    color: #666;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #ff8533;
    transform: scale(1.2);
}

.carousel-counter {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Leadership Section */
.leadership {
    padding: 6rem 5%;
    background: white;
}

.leadership-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.leadership h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.leadership .subtitle {
    color: #ff7300;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

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

.leadership-item {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.leadership-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff7300, #ff5e00);
}

.leadership-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.leadership-header {
    position: relative;
    height: 140px;
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaf6 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem;
    overflow: hidden;
}

.leadership-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,115,0,0.1) 0%, rgba(255,94,0,0.05) 100%);
    z-index: 1;
}

.leadership-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    background: white;
}

.leadership-content {
    padding: 2rem;
    text-align: left;
}

.leadership-title-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.leadership-title-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}

.leadership-org {
    color: #ff7300;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.leadership-date {
    color: #888;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.leadership-socials {
    display: flex;
    gap: 0.5rem;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #e1306c, #fd1d1d, #fcb045);
}

.social-btn.linkedin {
    background: #0077b5;
}

.social-btn.website {
    background: #666;
}

.social-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.leadership-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.leadership-achievements {
    margin-bottom: 1.5rem;
}

.leadership-achievements ul {
    list-style: none;
    padding: 0;
}

.leadership-achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

.leadership-achievements li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff7300;
    font-weight: bold;
}

.leadership-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.leadership-skill {
    background: white;
    color: #ff7300;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #ff7300;
}

/* Contact Section */
.contact {
    padding: 3rem 5%;
    background: #f8f9fa;
}

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

.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link[href*="mailto"] {
    background: linear-gradient(45deg, #ea4335, #d33b2c);
}

.social-link[href*="linkedin"] {
    background: #0077b5;
}

.social-link[href*="github"] {
    background: #333;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: row;
        background: white;
        width: 100%;
        height: auto;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 0.5rem 0;
        justify-content: space-evenly;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    .ticker-content {
        font-size: 0.8rem;
        animation: scroll-left 25s linear infinite;
    }

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

    .nav-menu li {
        margin: 0;
        flex: 1;
        text-align: center;
    }

    .nav-link {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem;
        display: block;
        font-weight: 500;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: clamp(0.5rem, 2vw, 1.5rem);
        padding: 0 2%;
        min-height: 75vh;
    }

    .hero-image {
        height: 75vh;
        min-height: 400px;
    }

    .profile-pic {
        height: 60vh;
        min-height: 350px;
        transform: translateY(8%) scale(0.9);
    }

    .hero-text {
        padding-left: 1rem;
    }

    .hero-text h1 {
        font-size: clamp(1.2rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }

    .hero-text .highlight {
        font-size: clamp(2rem, 10vw, 3.2rem);
        margin-top: 0.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .about-pic {
        height: 350px;
    }

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

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        border-radius: 12px;
    }

    .timeline-banner {
        height: 100px;
        padding: 1.2rem;
    }

    .timeline-banner-logo {
        width: 45px;
        height: 45px;
    }

    .timeline-banner-content h3 {
        font-size: clamp(0.9rem, 2vw, 1.15rem);
        margin-bottom: 0.3rem;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
        line-height: 1.2;
    }

    .timeline-company {
        font-size: clamp(0.75rem, 1.8vw, 0.9rem);
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
        line-height: 1.2;
    }

    .timeline-date {
        font-size: 0.85rem;
        color: #ffd700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8), 0 0 8px rgba(0,0,0,0.5);
    }

    .timeline-main-content {
        padding: 1.2rem;
    }

    .timeline-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .timeline-achievements li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .timeline-skill {
        padding: 0.25rem 0.7rem;
        font-size: 0.8rem;
    }

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

    .timeline-dot {
        left: 30px;
        width: 16px;
        height: 16px;
    }

    .portfolio-item {
        flex: 0 0 100%;
        min-width: 100%;
        border-radius: 15px;
    }
    
    .portfolio-header {
        height: 120px;
        font-size: 1rem;
    }
    
    .portfolio-header-content {
        font-size: 1.15rem;
    }

    .portfolio-content {
        padding: 1.2rem;
    }

    .project-info h3 {
        font-size: 1.25rem;
    }

    .project-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .project-achievements li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .tech-tag {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }

    .project-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    
    .portfolio-track {
        gap: 1rem;
    }
    
    .portfolio-carousel {
        margin: 2rem auto 0;
    }
    
    .project-title-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-links {
        justify-content: flex-start;
    }

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

    .leadership-item {
        border-radius: 15px;
    }

    .leadership-header {
        height: 120px;
        padding: 1.2rem;
    }

    .leadership-logo {
        width: 45px;
        height: 45px;
    }

    .leadership-content {
        padding: 1.5rem;
    }

    .leadership-title-info h3 {
        font-size: 1.15rem;
        margin-bottom: 0.3rem;
    }

    .leadership-org {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .leadership-date {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .leadership-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .leadership-achievements li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .leadership-skill {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
    }

    .social-btn {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-content {
        min-height: 60vh;
        gap: 1rem;
        padding: 0 2%;
    }
    
    .hero-image {
        height: 60vh;
    }
    
    .profile-pic {
        height: 50vh;
        min-height: 320px;
        transform: translateY(8%) scale(0.8);
    }
    
    .hero-text h1 {
        font-size: clamp(1.3rem, 5.5vw, 2rem);
    }
    
    .hero-text .highlight {
        font-size: clamp(1.6rem, 7vw, 2.5rem);
    }
}

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

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

html {
    scroll-behavior: smooth;
}

/* Education Page Specific Styles */
.education-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ff7300 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.education-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(45deg, #ff7300, #ff5e00);
    border-radius: 50% 0 0 50%;
    transform: translateX(20%);
}

.education-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.education-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.education-hero .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff7300;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 115, 0, 0.3);
}

.back-button:hover {
    background: #ff5e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 115, 0, 0.4);
    color: white;
}

.university-info {
    padding: 4rem 5%;
    background: white;
}

.university-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.university-logo {
    text-align: center;
}

.university-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.university-details h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.degree-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.degree-info h3 {
    color: #ff7300;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.academic-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item.honors-program {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-item.honors-program::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat-item.honors-program:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.stat-icon {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: white;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff7300;
    display: block;
}

.stat-item.honors-program .stat-number {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.3rem;
}

.stat-item.honors-program .stat-label {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.coursework-section {
    padding: 4rem 5%;
    background: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header .subtitle {
    color: #ff7300;
    font-weight: 600;
}

.course-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-category {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #ff7300, #ff5e00);
}

.course-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ff7300, #ff5e00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.2rem;
}

.course-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

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

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

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

.course-item:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.course-name {
    font-weight: 500;
    color: #333;
    flex: 1;
}

.course-code {
    font-size: 0.8rem;
    color: #666;
    margin-left: 1rem;
}

.course-grade {
    font-weight: 600;
    color: #ff7300;
    margin-left: 1rem;
    min-width: 30px;
    text-align: right;
}

.honors-category {
    background: white;
    border: none;
    position: relative;
}

.honors-category::before {
    background: linear-gradient(45deg, #ffd700, #ffb347);
}

.honors-category .category-icon {
    background: linear-gradient(45deg, #ffd700, #ffb347);
}

.honors-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ff7300;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.academic-projects {
    padding: 4rem 5%;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.academic-project {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.academic-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-header {
    background: linear-gradient(45deg, #ff7300, #ff5e00);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.project-course {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.project-content {
    padding: 1.5rem;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.project-grade {
    font-weight: 600;
    color: #ff7300;
    font-size: 1rem;
}

.project-github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(51, 51, 51, 0.2);
}

.project-github-btn:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
    color: white;
}

.project-github-btn i {
    font-size: 0.9rem;
}

/* Education Page Responsive Styles */
@media (max-width: 768px) {
    .course-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-category {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1.2rem;
        font-size: 1.1rem;
    }

    .course-category h3 {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }

    .course-item {
        padding: 0.7rem 0;
    }

    .course-name {
        font-size: 0.95rem;
    }

    .course-code {
        font-size: 0.8rem;
    }

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

    .academic-project {
        border-radius: 15px;
    }

    .project-header {
        padding: 1.4rem;
    }

    .project-content {
        padding: 1.4rem;
    }

    .project-course {
        font-size: 0.8rem;
    }

    .project-title {
        font-size: 1.15rem;
    }

    .project-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .project-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .project-github-btn {
        width: 100%;
        max-width: 160px;
        justify-content: center;
        padding: 0.6rem 1.2rem;
    }

    .university-container {
        grid-template-columns: 1fr 2fr;
        gap: 1.5rem;
        align-items: center;
    }

    .university-logo {
        text-align: center;
    }

    .university-logo img {
        width: 100px;
        height: 100px;
    }

    .university-logo h3 {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .university-details h2 {
        font-size: 1.5rem;
    }

    .academic-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-icon {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
}