/* Global Styles */
:root {
    --primary-color: #2196F3;
    --accent-color: #1976D2;
    --text-color: #333;
    --light-blue: #E3F2FD;
    --white: #ffffff;
    --gray: #f5f5f5;
    --shadow: 0 2px 15px rgba(33, 150, 243, 0.1);
    --section-padding: 80px 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    padding-top: 76px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: bold;
}

.nav-link {
    color: var(--text-color) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Sections */
.section {
    padding: var(--section-padding);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Home Section */
#home {
    padding-top: 0;
    background-color: var(--light-blue);
}

.carousel-container {
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.1);
    border-radius: 15px;
    aspect-ratio: 3/4;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 15px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.personal-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.1);
}

.personal-info h1 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.personal-info .lead {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-info {
    margin: 15px 0;
    font-size: 1.2rem;
    background: var(--light-blue);
    padding: 15px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.1);
}

.contact-info p {
    margin: 8px 0;
    color: var(--text-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Summary Styles */
.summary {
    margin-top: 15px;
    padding: 1.5rem;
    background-color: var(--light-blue);
    border-radius: 15px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    flex-grow: 1;
}

.summary h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.summary-section ul {
    list-style: none;
    padding-left: 0;
}

.summary-section ul li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.summary-section ul li:last-child {
    margin-bottom: 0;
}

/* Skills Section */
.skill-category {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.1);
    margin-bottom: 30px;
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-item h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.skill-item ul {
    list-style: none;
    padding: 0;
}

.skill-item ul li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

.skill-item ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Portfolio Section */
.portfolio-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.2);
}

.portfolio-link {
    text-decoration: none;
    color: var(--primary-color);
}

.portfolio-link:hover {
    color: var(--accent-color);
}

.portfolio-link i {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.portfolio-link h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.portfolio-link p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    opacity: 0.3;
}

.timeline-item {
    padding: 20px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 20px;
    right: -10px;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(33, 150, 243, 0.1);
    position: relative;
    border: 1px solid rgba(33, 150, 243, 0.2);
    margin-bottom: 30px;
    height: 100%;
}

.timeline-text {
    width: 100%;
}

.timeline-text h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-text h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
    opacity: 0.9;
}

.timeline-text .year {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-text .description {
    margin-bottom: 15px;
}

.timeline-text .description p {
    margin-bottom: 6px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.timeline-image {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.timeline-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.1);
    transition: transform 0.3s ease;
    max-height: 250px;
    object-fit: cover;
}

.timeline-image img:hover {
    transform: scale(1.02);
}

.timeline-image .btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    margin-top: 8px;
}

.timeline-image .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
    background-color: var(--accent-color);
}

/* Chat Section */
.chat-container {
    max-width: 600px;
    margin: 30px auto;
    background-color: var(--light-blue);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.1);
    overflow: hidden;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    padding: 20px;
}

.message {
    margin-bottom: 20px;
    max-width: 80%;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.5;
}

.user-message {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.ai-message {
    background: white;
    color: var(--text-color);
    margin-right: auto;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-input {
    display: flex;
    padding: 20px;
    background: white;
    border-top: 1px solid rgba(33, 150, 243, 0.1);
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    margin-right: 10px;
    outline: none;
    font-size: 1rem;
    background-color: var(--white);
}

.chat-input button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        margin-bottom: 30px;
        left: 0 !important;
    }

    .timeline-item::before {
        left: 41px !important;
    }

    .timeline-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .timeline-image img {
        max-height: 200px;
    }

    .carousel-container {
        aspect-ratio: 16/9;
        margin-bottom: 30px;
    }

    .carousel-item {
        height: 50vh;
    }

    .personal-info {
        text-align: center;
        margin-top: 20px;
        padding: 20px;
    }

    .personal-info h1 {
        font-size: 2rem;
    }

    .contact-info, .summary {
        display: inline-block;
    }

    .skill-category {
        margin-bottom: 20px;
    }

    .portfolio-item {
        margin-bottom: 20px;
    }

    .chat-container {
        max-width: 100%;
        margin: 20px 0;
    }
    
    .chat-messages {
        height: 300px;
    }

    .summary {
        padding: 1rem;
    }
    
    .summary h3 {
        font-size: 1.3rem;
    }
    
    .summary-section h4 {
        font-size: 1.1rem;
    }
}

/* Animations */
[data-aos] {
    opacity: 0;
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Remove Theme Toggle Button */
#theme-toggle {
    display: none;
}

/* Remove Dark Mode Styles */
[data-theme="dark"] {
    display: none;
}

/* Section Headers */
.section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
} 