/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

/* ---------- COLORS ---------- */
:root {
    --color-navy: #001f3f;
    --color-accent: #6A1B9A; /* Deep purple/violet */
    --color-gradient-accent: linear-gradient(135deg, #6A1B9A, #8E24AA);
    --color-yellow: #4907ff;
    --color-bg-light: #fdfefe;
    --color-bg-mid: #e3f2fd;
    --color-text-dark: #212121;
    --color-card-bg: #f5f5f5;
}

/* ---------- GLOBAL ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ---------- NAVBAR ---------- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--color-navy);
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-yellow);
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: var(--color-yellow);
}

/* ---------- HEADINGS ---------- */
h1 {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: var(--color-navy);
    margin-bottom: 25px;
    font-weight: 700;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--color-accent);
    margin-bottom: 20px;
    text-align: center;
}

/* ---------- PROJECT CARDS ---------- */
.project-card {
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.project-card h3 {
    font-size: 24px;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.project-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ---------- TECHNOLOGIES ROW (Condensed) ---------- */
.tech-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-row span {
    background: var(--color-gradient-accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tech-row span:hover {
    background: var(--color-yellow);
    color: var(--color-text-dark);
}

/* ---------- SKILLS GRID ---------- */
.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.skills-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skills-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.skills-card h3 {
    font-size: 20px;
    color: var(--color-accent);
    margin-bottom: 15px;
    text-align: center;
}

.skills-card .skills-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skills-card .skills-badges span {
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, #6A1B9A, #8E24AA);
    transition: all 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.skills-card .skills-badges span:hover {
    transform: translateY(-3px) scale(1.05);
    background: linear-gradient(135deg, #FFC107, #FFB300);
    color: var(--color-text-dark);
}

/* ---------- BUTTONS ---------- */
.btn {
    padding: 14px 30px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--color-yellow);
    color: var(--color-text-dark);
}

/* ---------- FOOTER ---------- */
footer {
    text-align: center;
    padding: 60px 20px; /* extra space from main content */
    background: var(--color-navy);
    color: white;
    margin-top: 60px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }
    nav a {
        margin: 10px 0;
    }
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 28px;
    }
    .project-card {
        padding: 20px;
    }
    .skills-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    margin: 0;
}

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

h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.contact-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-card p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.contact-card p:last-child {
    border-bottom: none;
}

.contact-card span {
    font-weight: 600;
    color: #222;
}

.contact-card a {
    text-decoration: none;
    color: #0077b5; /* professional blue */
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}
 