/* Base Styles */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --dark-color: #1B1B1B;
    --light-color: #F5F5F5;
    --text-color: #333333;
    --text-light: #777777;
    --border-color: #DDDDDD;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

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

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1607252650355-f7fd0460ccdb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Skills Section */
.skills {
    background-color: #f9f9f9;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-box {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-box:hover {
    transform: translateY(-10px);
}

.skill-title {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.skill-title i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.skill-title h3 {
    font-weight: 600;
}

.skill-box p {
    color: var(--text-light);
}

/* Portfolio Section */
.tabs {
    margin-top: 40px;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-color);
    outline: none;
}

.tab-btn:hover, .tab-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Projects/Hackathons Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-clickable {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.item-overlay p {
    margin-bottom: 20px;
    color: #ddd;
}

.item-overlay .btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
}

/* Courses & Events Lists */
.courses-list, .events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.course-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-link:hover .course-item {
    transform: translateY(-5px);
}

.course-item, .event-item {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.course-item:hover, .event-item:hover {
    transform: translateY(-5px);
}

.course-icon, .event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    min-width: 100px;
}

.course-icon i {
    font-size: 2rem;
}

.event-date .month {
    font-size: 1.2rem;
    font-weight: 600;
}

.event-date .year {
    font-size: 1rem;
}

.course-details, .event-details {
    padding: 20px;
    flex-grow: 1;
}

.course-details h3, .event-details h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

.course-provider, .event-location {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    background-color: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: 40px auto;
    width: 90%;
    max-width: 900px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.modal-content.show {
    transform: translateY(0);
    opacity: 1;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 30px;
}

.project-details h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.project-meta {
    margin-bottom: 20px;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.project-duration, .project-association {
    display: inline-block;
    margin-right: 15px;
}

.project-association {
    font-style: italic;
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.project-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.project-link i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.features-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.features-list li {
    background-color: #f5f5f5;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.features-list li:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.features-list li strong {
    color: var(--primary-color);
    font-weight: 600;
}

.project-screenshot {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.project-screenshot img {
    width: 100%;
    height: auto;
}

.project-description {
    margin-bottom: 25px;
    line-height: 1.7;
}

.project-skills h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list li {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Button Style for View Details */
.view-project-btn {
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background-color: white;
        width: 250px;
        height: calc(100vh - 70px);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        padding: 40px 20px;
        gap: 25px;
        transition: 0.3s;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .about-img {
        max-width: 100%;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .skill-box {
        padding: 20px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .course-item, .event-item {
        flex-direction: column;
    }
    
    .course-icon, .event-date {
        min-width: auto;
        padding: 15px;
        width: 100%;
    }
}

/* Publications Section */
.publications-list {
    margin-top: 2rem;
}

.publication-item {
    display: flex;
    margin-bottom: 2.5rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.publication-date {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    min-width: 120px;
}

.publication-date .month {
    font-size: 1.3rem;
    font-weight: 600;
}

.publication-date .year {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.publication-details {
    padding: 1.5rem;
    flex: 1;
}

.publication-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.publication-venue {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--secondary-text);
}

.publication-doi {
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.5rem;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Experience Section */
.experience-container {
    margin-top: 2rem;
}

.experience-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.experience-content {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.experience-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
}

.experience-duration {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.experience-description {
    color: var(--text-light);
    line-height: 1.7;
}

.experience-description p {
    margin-bottom: 1rem;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tech-tag {
    background-color: #f0f0f0;
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.tech-tag:hover {
    background-color: #e0e0e0;
}

.experience-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background-color: #f9f9f9;
    min-width: 300px;
}

.experience-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.experience-image:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
    }
    
    .experience-images {
        flex-direction: row;
        justify-content: center;
    }
    
    .experience-image {
        max-width: 45%;
    }
}

/* Add CSS for conferences section */
.conferences-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.conference-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.conference-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.conference-header h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 0;
}

.conference-date {
    background-color: #6c5ce7;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.conference-description {
    color: #555;
    line-height: 1.6;
}

.conference-certificate {
    margin-top: 15px;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .conference-item {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .conference-content {
        flex: 1;
    }
    
    .conference-certificate {
        flex: 0 0 40%;
        margin-top: 0;
        margin-left: 20px;
    }
} 