/* Simple Portfolio CSS - Easy to understand for university project */

/* Import Google Fonts for better typography */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* CSS Variables for consistent colors */
:root {
    /* Primary Colors */
    --primary-dark: #0f172a;
    --primary-medium: #1e293b;
    --primary-light: #334155;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-blue-dark: #1d4ed8;
    
    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #1e293b;
    
    /* Background Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-light: #f8fafc;
    --bg-card: #334155;
    
    /* Border Colors */
    --border-light: #475569;
    --border-accent: #3b82f6;
    
    /* Shadow Colors */
    --shadow-blue: rgba(59, 130, 246, 0.15);
    --shadow-dark: rgba(15, 23, 42, 0.5);
}

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

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    font-weight: 400;
}

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

.navbar {
    background: #1e293b;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

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

.logo {
    color: #3b82f6;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
}

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

.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}


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

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero/About Section - Combined Professional Section */
.hero-about {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 100px 0 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-intro {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 4px solid #3b82f6;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.intro-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.name-highlight {
    color: #3b82f6;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profession {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    font-weight: 500;
}

.intro-description {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

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

.about-info,
.goals-vision {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-info h3,
.goals-vision h3 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.info-item strong {
    color: #cbd5e1;
    font-weight: 600;
    min-width: 120px;
}

.info-item span {
    color: #3b82f6;
    font-weight: 500;
    text-align: right;
}

.goals-vision p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: left;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn.primary {
    background: #3b82f6;
    color: white;
    border: 2px solid #3b82f6;
}

.btn.primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid #3b82f6;
}

.btn.secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Section Styles */
section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    font-weight: 300;
    font-style: italic;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Skills Section */
.skills {
    background: white;
}

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

.skill-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.skill-card h3 {
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.skill-card li {
    background: #3b82f6;
    color: white;
    padding: 8px 16px;
    margin: 8px 4px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Projects Section */
.projects {
    background: #f8fafc;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #475569;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

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

.project-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    height: 420px;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.project-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.project-card h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
    height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card p {
    margin-bottom: 1rem;
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-description {
    margin-bottom: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.project-technologies {
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.project-tech {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    display: inline-block;
    margin: 2px;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    flex-shrink: 0;
}

.project-link {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.project-link.demo {
    background: #3b82f6;
    color: white;
}

.project-link.demo:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.project-link.source {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.project-link.source:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Qualifications Section */
.qualifications {
    background: #f8fafc;
    padding: 60px 0;
}

.qualifications-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #475569;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.qualifications-content {
    display: grid;
    gap: 2rem;
    margin: 0 auto;
}

.qualification-section h3 {
    font-size: 1.6rem;
    color: #3b82f6;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.qualification-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

.qualification-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.qualification-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.qualification-icon {
    flex-shrink: 0;
}

.qualification-icon img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.qualification-content {
    flex: 1;
}

.qualification-content h4 {
    color: #1e293b;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.qualification-role {
    color: #3b82f6;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.qualification-location {
    color: #64748b;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.qualification-date {
    color: #3b82f6;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    background: #dbeafe;
    padding: 3px 10px;
    border-radius: 16px;
    display: inline-block;
}

.qualification-description {
    color: #475569;
    line-height: 1.5;
    font-size: 0.9rem;
}

.qualification-description a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.qualification-description a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.contact-item {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
    border: 1px solid #e2e8f0;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #475569;
}

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

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

.footer p {
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #1e293b;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .intro-text h1 {
        font-size: 2.2rem;
    }
    
    .profession {
        font-size: 1.1rem;
    }
    
    .profile-img {
        width: 160px;
        height: 160px;
        justify-self: center;
    }
    
    .about-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-grid {
        gap: 0.75rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.25rem;
    }
    
    .info-item span {
        text-align: left;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .project-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

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

    .project-card {
        padding: 1.25rem;
        height: 380px;
    }

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

    .qualifications-content {
        gap: 1.5rem;
    }

    .qualification-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
        text-align: center;
    }

    .qualification-icon {
        align-self: center;
    }

    .qualification-section h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .intro-text h1 {
        font-size: 1.8rem;
    }
    
    .profession {
        font-size: 1rem;
    }
    
    .profile-img {
        width: 140px;
        height: 140px;
    }
    
    .about-info,
    .goals-vision {
        padding: 1.25rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .skill-card,
    .project-card {
        padding: 1rem;
        height: auto;
    }

    .project-card {
        height: 360px;
    }
}

.hero-social {
    display: flex;
    justify-content: left;
    gap: 1rem;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-blue);
    color: var(--text-primary);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-blue);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
