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

/*!* Base body *!*/
body {
    font-family: 'Poppins', 'Inter', 'Segoe UI', sans-serif;
    font-size: 1.2rem;   /* matches your timeline body size */
    line-height: 1.8;    /* relaxed, easy-to-read spacing */
    color: #333;         /* softer dark gray for readability */
    background: #f9fafc;
}

/* Section Wrapper */
.section {
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* Titles */
.section-title {
    font-weight: 700;
    font-size: 2rem; /* similar to timeline titles */
    margin-bottom: 1rem;
    color: #111;
    letter-spacing: 0.3px;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Text */
.section p {
    font-size: 1.2rem;   /* match timeline body */
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.4rem;
}

/* Card Panels */
.card {
    background: #fff;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.6rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background: #f9fbff;
}
.card h3 {
    font-weight: 700;
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 0.8rem;
}

/* Skills grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Skill chip */
.skill-chip {
    background: linear-gradient(135deg, #f9f9f9, #f1f5ff);
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.skill-chip:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 18px rgba(0,0,0,0.12);
    background: linear-gradient(135deg, #ffffff, #f3f9ff);
}

/* Skill level badge */
.skill-chip small {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
}

/* Level colors */
.level-advanced {
    background: rgba(0, 123, 255, 0.12);
    color: #0a58ca;
}
.level-intermediate {
    background: rgba(255, 193, 7, 0.18);
    color: #b88600;
}
.level-proficient,
.level-experienced {
    background: rgba(40, 167, 69, 0.14);
    color: #1f7a34;
}
.level-working {
    background: rgba(111, 66, 193, 0.14);
    color: #6333c6;
}
.level-fluent {
    background: rgba(23, 162, 184, 0.14);
    color: #117a8b;
}

/* Unified Links / Buttons */
.link-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}
.link-button.primary { background: linear-gradient(135deg, #007bff, #00b4d8); }
.link-button.secondary { background: linear-gradient(135deg, #6c757d, #495057); }
.link-button.github { background: linear-gradient(135deg, #24292e, #000); }
.link-button.linkedin { background: linear-gradient(135deg, #0077b5, #005582); }
.link-button:hover {
    opacity: 0.95;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 2rem 1.4rem; }
    .section-title { font-size: 1.7rem; }
    .section-subtitle { font-size: 1rem; }
    .card { padding: 1.2rem 1.4rem; }
    .skill-chip { padding: 8px 14px; font-size: 0.95rem; }
    .skill-chip small { font-size: 0.7rem; }
}


/* About Section Background */
.about-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4ebf5 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Title & Subtitle */
.about-section .site-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.about-section .site-title .subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-top: 0.3rem;
}

/* Intro & Body Text */
.about-section .intro,
.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2d2d2d;
    margin-bottom: 1.2rem;
}

/* Highlight */
.about-section .highlight {
    background: linear-gradient(90deg, #1976d2, #42a5f5);
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* Features Box */
.features-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e6ef;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    margin: 2rem 0;
}
.features-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 1rem;
}
.features-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.features-box li {
    font-size: 1rem;
    margin: 0.4rem 0;
    color: #333;
    display: flex;
    align-items: center;
}
.features-box li::before {
    content: "✔";
    color: #1976d2;
    font-weight: bold;
    margin-right: 8px;
}

/* Closing Text */
.about-section .closing {
    font-weight: 500;
    color: #1a1a1a;
}

/* Links */
.about-links {
    margin-top: 2rem;
}
.about-links .link-button {
    display: inline-block;
    margin: 0.4rem;
    padding: 0.65rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
.about-links .primary { background: #1976d2; color: #fff; }
.about-links .secondary { background: #2e7d32; color: #fff; }
.about-links .github { background: #24292f; color: #fff; }
.about-links .linkedin { background: #0a66c2; color: #fff; }

.about-links .link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}


/* Smooth transitions */
.hover-scale, .hover-underline, .hover-fade, .hover-highlight, .hover-bullet, .hover-highlight-block {
    transition: all 0.3s ease;
}

/* Highlight spans */
.highlight {
    background: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    padding: 0 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.highlight:hover {
    background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    color: #000;
}

/* Scale effect on hover */
.hover-scale:hover {
    transform: scale(1.05);
    color: #6c63ff;
}

/* Underline on hover */
.hover-underline:hover {
    text-decoration: underline;
    color: #ff6584;
}

/* Fade-in effect */
.hover-fade:hover {
    opacity: 0.7;
}

/* Highlight block hover */
.hover-highlight-block {
    padding: 0.5rem;
    border-radius: 8px;
}
.hover-highlight-block:hover {
    background: #f9f9ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Emphasize italic text */
.hover-highlight:hover {
    color: #ff6584;
    font-weight: 500;
}

/* Feature list bullet hover */
.hover-bullet:hover {
    transform: translateX(5px);
    color: #6c63ff;
}

/* Buttons */
.link-button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.link-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.15);
}