/* ================= ROOT COLORS ================= */
:root {
    --bg: #f9fafb;
    --side: #ffffff;
    --card: #ffffff;

    --primary: #111827;
    --secondary: #374151;
    --muted: #6b7280;

    --border: #e5e7eb;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--primary);
    overflow: hidden;
}

/* ================= LAYOUT ================= */
.portfolio-container {
    display: flex;
    height: 100vh;
}

/* ================= SIDEBAR ================= */
.profile-side {
    width: 35%;
    background: var(--side);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
}

.profile-content {
    text-align: center;
    padding: 40px;
}

.image-holder {
    width: 210px;
    height: 210px;
    margin: 0 auto 1.6rem;
    border-radius: 18px;
    overflow: hidden;
    background: #e5e7eb;
}

.image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-content h1 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.tagline {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
}

/* ================= SOCIAL LINKS ================= */
.contact-quick-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1.8rem;
}

.contact-quick-links a {
    color: var(--muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: 0.2s ease;
}

.contact-quick-links a:hover {
    color: var(--primary);
}

/* ================= RESUME BUTTON ================= */
.resume-btn {
    display: inline-block;
    margin-bottom: 26px;
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.resume-btn i {
    margin-right: 8px;
}

.resume-btn:hover {
    background: #000000;
}

/* ================= NAV BUTTONS ================= */
.navigation-arrows {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer;
    transition: 0.2s ease;
}

.nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ================= CONTENT SIDE ================= */
.content-side {
    width: 65%;
    background: var(--bg);
    overflow: hidden;
}

/* ================= SLIDER ================= */
.slider {
    display: flex;
    height: 100%;
    transition: transform 0.7s ease;
}

.slide {
    min-width: 100%;
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ================= HEADINGS ================= */
.step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    letter-spacing: -0.8px;
}

.description {
    font-size: 1.05rem;
    color: var(--secondary);
    max-width: 580px;
    line-height: 1.7;
}

/* ================= GRID & CARDS ================= */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 1.5rem;
}

.project-card {
    background: var(--card);
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Card number */
.card-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}

/* Card title */
.project-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
}

/* Default paragraph */
.project-card p {
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.6;
}

/* ================= TECH TAGS ================= */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.tech-tags span {
    font-size: 0.7rem;
    font-weight: 600;
    background: #f3f4f6;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
}

/* ================= VIEW DETAILS BUTTON ================= */
.view-btn {
    margin-top: 14px;
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #f9fafb;
    cursor: pointer;
    transition: 0.2s ease;
}

.view-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

/* ================= INTERNSHIP TEXT ================= */
.intern-company {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.intern-duration {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.intern-desc {
    font-size: 0.9rem;
    color: var(--secondary);
    line-height: 1.6;
}

/* ================= CONTACT ================= */
.contact-info-text {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 1.6rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 420px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
    background: var(--card);
}

.submit-btn {
    background: var(--primary);
    color: #ffffff;
    padding: 14px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* ================= MODAL ================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    max-width: 520px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--secondary);
    line-height: 1.6;
}

.close {
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    float: right;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .portfolio-container {
        flex-direction: column;
        overflow-y: auto;
    }

    .profile-side,
    .content-side {
        width: 100%;
    }

    .slide {
        padding: 60px 6%;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}
