/* =========================================================
   RIJU RAY - OPERATIONS LEADER PORTFOLIO
   Theme: Corporate Dairy & FMCG Manufacturing
   Fonts: Standard Roboto (Google Fonts)
   Colors: Deep Manufacturing Blue, Clean White, Fresh Azure
   ========================================================= */

:root {
    /* Colors */
    --color-primary: #004d99;
    /* Corporate Blue */
    --color-primary-dark: #003366;
    /* Deep Blue */
    --color-accent: #0088ff;
    /* Bright Azure Accent */

    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    /* Off-white / Soft Gray */
    --bg-corporate: #101820;
    /* Dark Corporate Background */

    --text-dark: #202b3c;
    --text-body: #4a5568;
    --text-light: #fdfdfd;
    --text-muted: #a0aec0;

    --border-light: #e2e8f0;
    --border-dark: #2d3748;

    /* Typography */
    --font-standard: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    /* Utilities */
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* === GENERAL Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-standard);
    background-color: var(--bg-white);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* === LAYOUT UTILITIES === */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-corporate {
    background-color: var(--bg-corporate);
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-light);
}

.text-light-blue {
    color: #63b3ed;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.pt-4 {
    padding-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.border-top {
    border-top: 1px solid var(--border-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0, 77, 153, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 77, 153, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-primary-dark);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-body);
    transition: var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    inset: 0;
    background-color: var(--bg-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.mobile-nav a:hover {
    color: var(--color-primary);
}

/* === SECTION HEADERS === */
.section-title-wrap {
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-top: 1rem;
    max-width: 600px;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 136, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(0, 77, 153, 0.1);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--color-primary-dark);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.stat-block h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-block p {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    background-color: var(--border-light);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual Composition */
.hero-visual {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 320px;
    height: 400px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border: 12px solid var(--bg-white);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.profile-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.brand-tag {
    position: absolute;
    background: var(--bg-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary-dark);
}

.brand-tag-1 {
    top: 10%;
    right: -20%;
}

.brand-tag-2 {
    bottom: 15%;
    left: -25%;
}

/* === PROFILE OVERVIEW === */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.profile-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.profile-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 136, 255, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* === CAREER PROGRESSION (TIMELINE) === */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-featured {
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 50px;
    border-top: 4px solid var(--color-primary);
}

.tl-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.tl-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
}

.tl-date {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 0.95rem;
}

.tl-company {
    font-size: 1.15rem;
    color: var(--text-body);
    font-weight: 500;
}

.tl-milestones {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--border-light);
}

.milestone {
    position: relative;
}

.milestone::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 6px;
    width: 12px;
    height: 12px;
    background-color: var(--bg-white);
    border: 2px solid var(--color-primary);
    border-radius: 50%;
}

.m-year {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 4px;
}

.milestone p {
    font-size: 0.95rem;
}

.tl-responsibilities h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.tl-responsibilities ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tl-responsibilities li {
    position: relative;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.tl-responsibilities li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

.timeline-standard {
    padding: 30px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

/* === EXPERTISE & SKILLS (CORPORATE BG) === */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category h3 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.certification-block {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: var(--radius-md);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.cert-tag {
    padding: 10px 18px;
    background-color: var(--bg-corporate);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* === KEY ACHIEVEMENTS GRID === */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.achieve-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.achieve-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.a-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.achieve-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.achieve-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === CONTACT / FOOTER === */
.footer {
    background-color: var(--bg-corporate);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-info h2 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.role-text {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 1.1rem;
}

.desc-text {
    color: var(--text-muted);
    max-width: 400px;
}

.footer-links h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.c-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.c-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.c-link:not(.no-hover):hover {
    color: var(--text-light);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-tag {
        margin: 0 auto 24px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-stats,
    .hero-actions {
        justify-content: center;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .btn-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-visual {
        height: 400px;
    }

    .image-wrapper {
        width: 280px;
        height: 340px;
    }

    .brand-tag {
        display: none;
    }

    /* Hide complex tags on mobile */

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .timeline-featured {
        padding: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }
}