/* Import Google Fonts and Font Awesome */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Global Styles & Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1a2e; /* Dark background */
    color: #e0e0e0; /* Light text */
    line-height: 1.6;
}

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

/* --- Navigation Bar --- */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #16213e;
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #e94560; /* Accent color */
}

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

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #e94560; /* Accent color */
}

/* --- Sections --- */
section {
    padding: 6rem 0;
}

h1, h2, h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #1a1a2e;
}

.hero-content h1 {
    font-size: 4rem;
}

.hero-content p {
    font-size: 1.5rem;
    color: #bbb;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #e94560;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    background-color: #16213e;
}

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

/* Experience & Education Section */
.experience-section {
    background-color: #1a1a2e;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #4a5d8b;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    background-color: #2e3b5e;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.timeline-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: #e94560;
    border-radius: 50%;
    top: 1.5rem;
    left: 50%;
    margin-left: -6px;
    z-index: 10;
}

.timeline-item h3 {
    margin-top: 0;
    margin-bottom: 0.25rem;
}

.timeline-date {
    display: block;
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 0.5rem;
}

.timeline-company {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #ccc;
}

/* Responsive timeline on small screens */
@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }
    .timeline-dot {
        left: 10px;
    }
    .timeline-item {
        margin-left: 30px;
    }
}


/* Skills Section */
.skills-section {
    background-color: #16213e;
}

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

.skills-grid h3 {
    border-bottom: 2px solid #e94560;
    padding-bottom: 0.5rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #2e3b5e;
    margin-bottom: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.skill-list i {
    font-size: 1.5rem;
    color: #e94560;
    margin-right: 1rem;
}

/* Projects Section */
.projects-section {
    background-color: #1a1a2e;
}

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

.project-card {
    background-color: #2e3b5e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 1.5rem;
}

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

.project-description {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.project-work {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.project-work strong {
    color: #fff;
}

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

/* Contact Section */
.contact-section {
    background-color: #1a1a2e;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background-color: #2e3b5e;
    border: 1px solid #4a5d8b;
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e94560;
}

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: #e94560;
    color: #fff;
}

.btn-primary:hover {
    background-color: #d13a53;
}

.btn-secondary {
    background-color: #4a5d8b;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #38476e;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #16213e;
    border-top: 1px solid #2e3b5e;
}

/* Experience grid reorganization */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.experience-column h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #e94560;
}

.download-cv {
    text-align: center;
    margin-top: 2rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* Active animation */
.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(6px, -6px);
}

/* Responsive menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #16213e;
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 1rem;
        border-radius: 8px;
    }
    .nav-menu.active {
        display: flex;
    }
}




    
