/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
    line-height: 1.6;
}

/* Hero/Header Section */
.hero {
    background: linear-gradient(120deg, #2980b9 0%, #6dd5fa 100%);
    color: #fff;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 8vw 0 8vw;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1.4rem 1.6rem;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-size: 1.05rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #232946;
}

.hero-content {
    text-align: center;
    margin-top: 60px;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero-content h1 span {
    color: #232946;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn {
    display: inline flex;

    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: #232946;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;


}
.btnInstitution{
    color: cornflowerblue;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background 0.2s;
    text-align: center;
    border: none;
}


.btn:hover {
    background: #6dd5fa;
    color: #232946;
}

/* Section styles */
.section {
    max-width: 950px;
    margin: 110px auto;  /* Spacing far apart */
    padding: 60px 30px;
    text-align: center;
}

.section h2 {
    font-size: 2.1rem;
    margin-bottom: 18px;
    color: #2980b9;
}

.section p {
    font-size: 1.1rem;
    color: #222;
}

/* Card Lists */
.project-list, .experience-list, .cert-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    align-items: center;
    margin-top: 40px;
}

/* Card Styles */
.project-card, .experience-card, .cert-card, .artifact-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    padding: 36px 30px;
    width: 100%;
    max-width: 540px;
    min-height: 140px;
    transition: transform 0.22s, box-shadow 0.22s;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card:hover, .experience-card:hover, .cert-card:hover, .artifact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 56px rgba(41, 128, 185, 0.18);
}

.project-card h3, .experience-card h3, .cert-card h3, .artifact-card h3 {
    font-size: 1.25rem;
    color: #232946;
    margin-bottom: 10px;
}

.artifact-meta {
    font-size: 0.98rem;
    color: #2980b9;
    font-weight: 400;
    margin-bottom: 16px;
}

.artifact-statement {
    margin-bottom: 14px;
}

.artifact-statement:last-child {
    margin-bottom: 0;
}

.artifact-card {
    max-width: 720px;
}

/* Video Draft placeholder */
.video-placeholder {
    max-width: 720px;
    margin: 30px auto 0;
    aspect-ratio: 16 / 9;
    background: #232946;
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
}

.experience-card h4, .project-card h4, .cert-card h4 {
    font-size: 1.05rem;
    color: #2980b9;
    font-weight: 400;
    margin-bottom: 12px;
}

.experience-card h4 span {
    color: #444;
    font-weight: 300;
    font-size: 0.98em;
}

/* Skills Section */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    justify-content: center;
    margin-top: 40px;
}

.skill-category {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    padding: 26px 28px;
    width: 100%;
    max-width: 260px;
    text-align: left;
}

.skill-category h4 {
    color: #2980b9;
    font-size: 1.05rem;
    margin-bottom: 14px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    background: #f2f4fa;
    color: #232946;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.9rem;
    border: 1px solid #ececec;
}

.project-card p, .experience-card p, .cert-card p {
    color: #444;
    font-size: 1.03rem;
}

/* Header containers for logo+text */
.exp-header,
.proj-header,
.cert-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

/* Logo styles for company, project, cert */
.company-logo,
.project-logo,
.cert-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #f2f4fa;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    border: 1px solid #ececec;
    flex-shrink: 0;
}

/* Contact Section */
.contact .btn {
    margin-top: 20px;
}

/* Footer */
footer {
    background: #232946;
    color: #fff;
    text-align: center;
    padding: 16px 0;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 50px;
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .section {
        max-width: 98vw;
        padding: 40px 4vw;
    }
    nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 30px 2vw 0 2vw;
    }
    .project-card, .experience-card, .cert-card {
        padding: 24px 10px;
    }
}

@media (max-width: 700px) {
    .section {
        margin: 60px auto;
        padding: 30px 4vw;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .project-card, .experience-card, .cert-card {
        min-height: 80px;
        padding: 14px 4vw;
        max-width: 98vw;
    }
    .project-list, .experience-list, .cert-list {
        gap: 1rem;
    }
    .company-logo,
    .project-logo,
    .cert-logo {
        width: 36px;
        height: 36px;
    }
    .exp-header,
    .proj-header,
    .cert-header {
        gap: 12px;
    }
}
.btn span {
    display: inline-block;
    text-align: center;
    flex: 1;                   /* allows text to fill available space for perfect centering */
}

.btnLogo {
    width: 25px;
    height: 25px;
    object-fit: contain;
    border-radius: 50%;               /* Optional: make it circular */
    margin-right: 0;                  /* Not needed with 'gap', but okay */
    box-shadow: 0 1px 4px rgba(44,62,80,0.11);
    flex-shrink: 0;                   /* Prevent shrinking on small buttons */
}


.btn:hover {
    background: #6dd5fa;
    color: #232946;
}

.btn:hover .btnLogo {
    filter: brightness(0.65);
}

/* Optional: make button 100% width on small screens */
@media (max-width: 500px) {
    .btn {
        min-width: 0;
        width: 100%;
        padding: 12px;
    }
}
.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(120deg, #2980b9 0%, #6dd5fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(41, 128, 185, 0.25);
}
