/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --background-color: #f8f9fa;
    --text-color: #2c3e50;
    --section-padding: 100px 0;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1518770660439-4636190af475') center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 76px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Social Links */
.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Sections */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

/* About Section */
.about-text {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: justify;
}

.skills {
    margin-top: 3rem;
}

.skill-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

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

.skill-category h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--background-color);
    font-size: 0.95rem;
}

.skill-list li:hover {
    transform: translateX(5px);
    background: rgba(52, 152, 219, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.skill-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
}

/* Experience Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--secondary-color);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-icon {
    position: absolute;
    left: -20px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.timeline-content {
    margin-left: 60px;
}

.timeline-date {
    color: var(--secondary-color);
    margin: 1rem 0;
}

.timeline-date i {
    margin-right: 0.5rem;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.timeline-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}

.timeline-list i {
    color: var(--secondary-color);
}

.timeline-list.skill-list {
    margin-top: 0.5rem;
    margin-bottom: 0;
    background: none;
    box-shadow: none;
    padding: 0;
}

/* Projects Section */
.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.project-category {
    background: rgba(52, 152, 219, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.project-content {
    padding: 1.5rem;
}

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

.project-header h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.project-date {
    background: var(--background-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.tech-stack .badge {
    background: var(--background-color);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-stack .badge:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

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

.project-link:hover i {
    transform: translateX(5px);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Contact Section */
.contact-info {
    padding: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    border-radius: 8px;
    background: var(--background-color);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

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

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-info .tech-stack {
    margin-top: 2rem;
    justify-content: center;
}

.contact-info .tech-stack .badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
}

.contact-info .tech-stack .badge i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    padding: 1.5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 28px;
        width: 28px;
        margin-right: 6px;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content h2 {
        font-size: 1.2rem;
    }
    .hero-content p.lead {
        font-size: 1rem;
    }
    .project-card {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .project-content .project-description {
        font-size: 1rem;
    }
    .skills .project-card {
        padding: 1rem;
    }
    .container, .section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .project-image .icon-container i {
        font-size: 1.5rem;
    }
    .tech-stack .badge {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }
    .contact-info .contact-item {
        font-size: 1rem;
    }
    .footer .py-3 {
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 1s ease-out;
}

/* Icon Container Styles */
.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 8px;
    min-height: 200px;
}

.icon-container i {
    font-size: 4rem;
    color: white;
    transition: transform 0.3s ease;
}

.icon-container i:hover {
    transform: scale(1.1);
}

.icon-container .fa-cog {
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* About Section Additions */
.about-content {
    text-align: center;
    margin-bottom: 3rem;
}

.about-icon-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about-icon-container i {
    font-size: 3rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.about-icon-container i:hover {
    transform: translateY(-5px);
}

.skill-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.skill-header i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list i {
    color: var(--secondary-color);
    font-size: 0.8rem;
} 