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

:root {
    --saffron: #FF9933;
    --white: #FFFFFF;
    --green: #138808;
    --dark-green: #0f6b06;
    --light-saffron: #ffb366;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --background-light: #f8f9fa;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Legacy one-page section styles removed to keep CSS lean */

/* =============================
   New Classic Resume Layout
   ============================= */

/* Subtle animated Indian flag gradient background on body */
body {
    background: linear-gradient(
        180deg,
        rgba(255,153,51,0.18) 0%,
        rgba(255,153,51,0.18) 33.33%,
        rgba(255,255,255,0.18) 33.33%,
        rgba(255,255,255,0.18) 66.66%,
        rgba(19,136,8,0.18) 66.66%,
        rgba(19,136,8,0.18) 100%
    );
    background-size: 100% 200%;
    background-attachment: fixed;
    animation: flagPan 60s ease-in-out infinite;
}

@keyframes flagPan {
    0% { background-position: 50% 0%; }
    50% { background-position: 50% 30%; }
    100% { background-position: 50% 0%; }
}

/* WhatsApp buttons */
.wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(37,211,102,0.35);
}
.wa-btn:hover { background: #1ebe5a; box-shadow: 0 4px 12px rgba(37,211,102,0.45); }
.wa-btn i { font-size: 1rem; }

.wa-floating {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.wa-floating:hover { background: #1ebe5a; }
.wa-floating i { font-size: 22px; }

/* Footer within resume */
.resume-footer {
    padding: 16px 32px 28px 32px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

/* Resume Container */
.resume-page {
    background: #fff;
    padding: 40px 0;
}

.resume {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

/* Header */
.resume-header {
    padding: 32px 32px 24px 32px;
    border-bottom: 3px solid var(--saffron);
}
.resume-header .name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}
.resume-header .title {
    color: var(--green);
    font-weight: 600;
    margin-top: 6px;
}
.resume-header .meta {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 0.95rem;
}
.resume-header .meta a { color: var(--text-dark); text-decoration: none; }
.resume-header .meta a:hover { color: var(--green); }

/* Body Layout */
.resume-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
}
.resume-sidebar {
    padding: 24px 24px 32px 24px;
    border-right: 1px solid #eee;
    background: #fafafa;
}
.resume-content {
    padding: 24px 32px 32px 32px;
}

/* Sidebar sections */
.sidebar-section { margin-bottom: 24px; }
.sidebar-section h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-dark);
    border-left: 4px solid var(--green);
    padding-left: 8px;
    margin-bottom: 10px;
}
.contact-list { list-style: none; font-size: .95rem; }
.contact-list li { margin: 8px 0; display: flex; gap: 10px; align-items: start; }
.contact-list i { color: var(--saffron); width: 18px; text-align: center; margin-top: 2px; }

.skill-list { list-style: none; }
.skill-item { margin-bottom: 10px; }
.skill-item .label { display: block; font-weight: 600; font-size: .95rem; }
.skill-item .bar { height: 6px; background: #e9ecef; border-radius: 4px; overflow: hidden; margin-top: 6px; }
.skill-item .fill { height: 100%; background: linear-gradient(90deg, var(--saffron), var(--green)); width: var(--w, 0%); }

.badge-list { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { background: #eef6ee; color: var(--green); border: 1px solid #def0de; padding: 6px 10px; border-radius: 999px; font-size: .85rem; }

/* Content sections */
.section { margin-bottom: 28px; }
.section h2 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-dark);
    border-bottom: 2px solid var(--saffron);
    padding-bottom: 6px;
    margin-bottom: 14px;
}
.summary { color: var(--text-dark); }
.summary p { margin-bottom: 10px; }

.entry { margin-bottom: 18px; }
.entry .role { font-weight: 700; color: var(--text-dark); }
.entry .org { color: var(--green); font-weight: 600; }
.entry .meta { color: var(--text-light); font-size: .92rem; margin: 4px 0 8px; }
.entry ul { margin-left: 18px; }
.entry ul li { margin-bottom: 6px; }

/* Print styles */
@media print {
    body { background: #fff; }
    .resume { box-shadow: none; border: none; }
    .resume-page { padding: 0; }
}

/* Responsive */
@media (max-width: 900px) {
    .resume-body { grid-template-columns: 1fr; }
    .resume-sidebar { border-right: none; border-bottom: 1px solid #eee; }
}
