/* ===================================
   Clean Minimal Design System
   =================================== */

:root {
    /* Colors - Light Mode Defaults */
    --color-bg: #FFFFFF;
    --color-text-primary: #000000;
    --color-text-secondary: #555555;
    --color-border: #E0E0E0;
    --color-accent: #000000;
    --color-surface: #F8F9FA;
    --color-glass: rgba(255, 255, 255, 0.7);

    /* Typography */
    --font-primary: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* Layout */
    --max-width: 1200px;

    /* Transitions */
    --transition: 0.3s ease;
}

/* Dark Mode Overrides */
[data-theme="dark"] {
    --color-bg: #0A0A0B;
    --color-text-primary: #F8F9FA;
    --color-text-secondary: #A0A0A8;
    --color-border: #2A2A2E;
    --color-accent: #FFFFFF;
    --color-surface: #121214;
    --color-glass: rgba(18, 18, 20, 0.8);
}

/* ===================================
   Reset & Base
   =================================== */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Transition for Theme-dependent elements */
section,
nav,
footer,
div,
a,
button,
input,
textarea,
span {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    z-index: 1000;
    padding: 1rem 0;
    transition: transform 0.3s ease, background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    text-decoration: none;
    font-family: 'Fira Code', monospace;
    display: flex;
    align-items: center;
}

.logo-prompt {
    color: var(--color-text-secondary);
    margin-right: -2px;
}

.logo-cursor {
    display: inline-block;
    width: 10px;
    height: 18px;
    color: var(--color-text-primary);
    margin-left: 2px;
    animation: terminalBlink 1s step-end infinite;
}

@keyframes terminalBlink {
    50% {
        opacity: 0;
    }
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: var(--space-md);
    }

    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-links a:not(:last-child) {
        display: none;
        /* Hide most links on very small phones, keep toggle */
    }

    .nav-links {
        gap: var(--space-sm);
    }
}

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

/* Reverted Theme Switch (CSS Based) */
.theme-switch {
    position: relative;
    width: 72px;
    height: 36px;
    background: linear-gradient(to bottom, #4FB1E0, #78C7EB);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    display: flex;
    align-items: center;
    padding: 4px;
    margin-left: 1.5rem;
    overflow: hidden;
    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05);
    -webkit-tap-highlight-color: transparent;
}

/* High-Fidelity Clouds (Two distinct pills) */
.theme-switch::before {
    content: "";
    position: absolute;
    top: 35%;
    right: 12px;
    width: 18px;
    height: 5px;
    background: #fff;
    border-radius: 10px;
    box-shadow:
        -8px 8px 0 -1px #fff;
    /* Second cloud below and left */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    opacity: 0.85;
}

[data-theme="dark"] .theme-switch {
    background: linear-gradient(to bottom, #1E1E2F, #12121F);
}

[data-theme="dark"] .theme-switch::before {
    transform: translate(40px, 30px);
    opacity: 0;
}

.switch-handle {
    width: 28px;
    height: 28px;
    background: #FFD54F;
    border-radius: 50%;
    position: relative;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow:
        0 3px 8px rgba(245, 124, 0, 0.3),
        0 0 15px rgba(255, 213, 79, 0.5),
        inset 0 -2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Sun Glow Effect */
.switch-handle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 1;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .switch-handle {
    transform: translateX(36px);
    background: #E0E0E0;
    /* Brighter Moon */
    box-shadow:
        0 3px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 255, 255, 0.1),
        inset -3px -3px 5px rgba(0, 0, 0, 0.2);
}

/* Moon Craters */
.switch-handle::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    width: 6px;
    height: 6px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    box-shadow:
        11px 13px 0 -1px rgba(0, 0, 0, 0.12),
        15px 4px 0 -2px rgba(0, 0, 0, 0.1),
        5px 19px 0 -2px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transition: opacity 0.3s ease;
}

[data-theme="dark"] .switch-handle::after {
    opacity: 1;
}

[data-theme="dark"] .switch-handle::before {
    opacity: 0;
}

/* Stars for Dark Mode */
.theme-switch::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 12px;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow:
        8px 12px 0 #fff,
        15px 18px 0 rgba(255, 255, 255, 0.7),
        22px 6px 0 #fff,
        3px 20px 0 rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: all 0.5s ease;
    transform: translateY(-20px);
}

[data-theme="dark"] .theme-switch::after {
    opacity: 0.8;
    transform: translateY(0);
}


/* ===================================
   Layout
   =================================== */

.nav-container,
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Wide Container for Projects/GitHub sections */
.projects-section .container,
.github-section .container {
    max-width: 1280px;
    padding: 0 var(--space-xl);
}

.section {
    min-height: 100vh;
    padding: var(--space-4xl) 0;
    position: relative;
    scroll-margin-top: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-section {
    min-height: 100vh;
    background: var(--color-bg);
}

.contact-section {
    min-height: 100vh;
    padding: var(--space-xl) 0;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.github-section,
.certifications-section,
.footer {
    background: var(--color-bg);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.section-title {
    text-align: center;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 600;
    margin-bottom: var(--space-xl);
    line-height: 1.1;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    position: relative;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 3rem;
        align-items: flex-start;
    }

    .section {
        min-height: auto;
        padding: 4rem 0;
    }

    .about-section,
    .contact-section {
        min-height: auto;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: var(--space-3xl);
    flex-wrap: wrap;
    justify-content: center;
}

.profile-image-wrapper {
    flex-shrink: 0;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-image: url('assets/IMG_6079.JPG');
    background-size: cover;
    background-position: center;
    border: 3px solid var(--color-border);
}

.hero-text {
    text-align: center;
    max-width: 700px;
}

.hero-greeting {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.hero-name {
    font-size: 3rem;
    /* Matches John Doe reference proportions */
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    color: var(--color-text-primary);
}

@media (max-width: 900px) {
    .hero-name {
        white-space: normal;
    }
}

.hero-title {
    font-size: clamp(1.25rem, 4vw, 2rem);
    color: var(--color-text-secondary);
    font-weight: 400;
    margin-bottom: var(--space-2xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

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

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

.btn-filled {
    background: var(--color-text-primary);
    color: var(--color-bg);
    border: 1.5px solid var(--color-text-primary);
}

.btn-filled:hover {
    background: transparent;
    color: var(--color-text-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===================================
   Scroll Indicator
   =================================== */


.scroll-indicator svg {
    width: 28px;
    height: 28px;
    color: var(--color-text-primary);
    opacity: 0.6;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 1.5rem;
    right: 4rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
        /* Hide on mobile to prevent overlapping */
    }
}

/* ===================================
   About Section
   =================================== */



.about-content {
    position: relative;
    display: flex;
    gap: var(--space-3xl);
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 440px;
}

/* Form Styles */
.form-header-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 0.6rem 1.25rem;
    background: var(--color-surface);
    border-radius: 50px;
    border: 1px solid var(--color-border);
}

.form-header-info .info-item {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.03em;
}

.info-divider {
    width: 4px;
    height: 4px;
    background: var(--color-border);
    border-radius: 50%;
}

.btn-submit {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit.sent {
    background: #10B981 !important;
    color: #fff !important;
    border-color: #10B981 !important;
}

.btn-submit .paper-plane-icon {
    transition: transform 0.6s cubic-bezier(0.6, -0.28, 0.735, 0.045), opacity 0.3s;
}

.btn-submit.sending .paper-plane-icon {
    transform: translate(40px, -40px) rotate(-10deg) scale(0.5);
    opacity: 0;
}

.btn-icon-send {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    stroke-width: 2.5;
}

.btn-submit:hover .btn-icon-send {
    transform: translate(3px, -3px) rotate(-5deg);
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
    display: none;
    animation: fadeIn 0.4s ease;
}

/* Stable static wrapper allows the internal card to scale/expand relative to .about-content */
.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 420px;
    flex-shrink: 0;
    margin: 0 auto;
    transition: all 0.4s ease;
}

@media (max-width: 480px) {
    .about-image-wrapper {
        width: 100%;
        max-width: 300px;
        height: 360px;
    }
}

.about-image {
    display: none;
    /* Replaced by the creative card */
}

/* Simplified Green Dot Restore Button */
.card-restore-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 32px;
    height: 32px;
    background: #1E1E2E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(39, 201, 63, 0.4);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 150;
    opacity: 0;
}

.card-restore-btn.visible {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.restore-dot {
    width: 10px;
    height: 10px;
    background: #27C93F;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(39, 201, 63, 0.6);
}

.card-restore-btn:hover {
    background: #252538;
    box-shadow: 0 15px 35px rgba(39, 201, 63, 0.25);
    border-color: #27C93F;
    transform: translate(-50%, -50%) scale(1.15);
}

.about-creative-card {
    width: 100%;
    max-width: 340px;
    height: 400px;
    background: rgba(30, 30, 46, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    font-family: 'Fira Code', monospace;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

@media (max-width: 360px) {
    .about-creative-card {
        height: 360px;
    }
}

/* State: Minimized */
.about-creative-card.card-minimized {
    height: 48px !important;
    width: 280px;
    transform: translateY(0);
    overflow: hidden;
    /* Ensure nothing slips out */
}

/* Hide content when minimized to prevent 'white sliver' or overflow */
.about-creative-card.card-minimized .creative-card-body,
.about-creative-card.card-minimized .creative-card-footer {
    display: none !important;
}

/* Wrapper collapses too when card is minimized */
.about-image-wrapper.wrapper-minimized {
    height: 60px;
    transition: height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* State: Closed */
.about-creative-card.card-closed {
    transform: scale(0.5) translateY(100px);
    opacity: 0;
    pointer-events: none;
}

/* State: Fullscreen - Animate transition back and forth */
.about-creative-card.card-fullscreen {
    position: fixed;
    /* Fix to viewport for true expansion */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    height: 85vh !important;
    max-width: 1000px !important;
    z-index: 2000;
    border-radius: 1.5rem;
    box-shadow: 0 50px 150px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(50px);
    background: rgba(30, 30, 46, 0.98);
}

/* Ensure animations are preserved */
[data-theme="dark"] .about-creative-card {
    background: rgba(18, 18, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .edu-split-card {
    background: #121214;
    border-color: #2A2A2E;
}

[data-theme="dark"] .edu-card-label {
    background: #1A1A1D;
    border-bottom-color: #2A2A2E;
}

@media (max-width: 991px) {
    .about-creative-card.card-fullscreen {
        width: 95vw !important;
        height: 90vh !important;
    }
}

.creative-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.75rem 1.25rem;
    background: rgba(30, 30, 46, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    user-select: none;
}

.card-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.card-dot svg {
    width: 100%;
    height: 100%;
    display: block;
}

.card-dot:hover {
    filter: brightness(1.1);
}

.card-dot.red,
.card-dot.yellow,
.card-dot.green {
    background: transparent;
    border: none;
}

/* Remove ::before pseudo-elements as SVGs are now used */
.card-dot::before,
.card-dot.red::before,
.card-dot.yellow::before,
.card-dot.green::before,
.card-dot:hover::before {
    content: none;
    display: none;
}

.card-filename {
    margin-left: auto;
    font-size: 0.75rem;
    color: #777;
    font-family: 'Courier New', monospace;
}

.creative-card-body {
    padding: 0.5rem 1rem;
    outline: none;
    cursor: text;
    flex: 1;
    overflow-y: auto;
    caret-color: transparent;
    position: relative;
}

.creative-card-body * {
    outline: none !important;
}

.code-line {
    font-size: 0.7rem;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 1;
}

.code-line.code-indent {
    padding-left: 1.25rem;
}

.code-key {
    color: #79DCAA;
}

.code-colon {
    color: #CDD6F4;
}

.code-string {
    color: #F9E2AF;
}

.code-number {
    color: #C3A6FF;
}

.code-bracket {
    color: #CDD6F4;
}

.code-comma {
    color: #CDD6F4;
}

.code-green {
    color: #A6E3A1 !important;
}

.creative-card-footer {
    padding: 0.5rem 1.25rem 1rem;
}

.cursor-blink {
    font-size: 0.85rem;
    color: #79DCAA;
    margin-left: 4px;
    animation: blink 1.2s step-end infinite;
    text-shadow: 0 0 8px rgba(121, 220, 170, 0.4);
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Editable string values */
.editable-value {
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s ease;
    padding: 0 2px;
}

.editable-value:hover {
    background: rgba(249, 226, 175, 0.2);
    outline: 1px dashed rgba(249, 226, 175, 0.5);
}

/* Inline input inside code card */
.card-inline-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #F9E2AF;
    color: #F9E2AF;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    outline: none;
    padding: 0;
    min-width: 40px;
    caret-color: #79DCAA;
}

/* Edit hint label */
.card-edit-hint {
    margin-left: auto;
    font-size: 0.6rem;
    color: #555;
    opacity: 0;
    animation: fadeInHint 0.5s ease 0.3s forwards;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.02em;
}

@keyframes fadeInHint {
    to {
        opacity: 1;
    }
}

.about-details {
    max-width: 600px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.info-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: var(--space-lg);
    text-align: center;
}

.info-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto var(--space-sm);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.info-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.info-subtitle {
    font-size: 0.75rem !important;
}

/* ── Creative Split Education Card ─────────────────────────────── */
.edu-split-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.edu-split-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.edu-split-card--link {
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.edu-split-card--link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* Top label strip */
.edu-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-surface);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
}

/* Horizontal split row inside card */
.edu-split-row {
    display: flex;
    align-items: stretch;
    flex: 1;
}



/* Each half */
.edu-half {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    transition: all 0.25s ease;
    text-decoration: none;
    /* Ensure no underline for links */
    color: inherit;
}

/* SRM — warm amber tint */
.edu-half-srm {
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF8E7 100%);
}

[data-theme="dark"] .edu-half-srm {
    background: linear-gradient(135deg, #1A1810 0%, #15140E 100%);
}

.edu-half-srm:hover {
    background: linear-gradient(135deg, #FFF3D0 0%, #FFEFC0 100%);
}

[data-theme="dark"] .edu-half-srm:hover {
    background: linear-gradient(135deg, #2A2615 0%, #201E10 100%);
}

/* IITM — cool indigo tint */
.edu-half-iitm {
    background: linear-gradient(135deg, #F0F4FF 0%, #EBF0FF 100%);
}

[data-theme="dark"] .edu-half-iitm {
    background: linear-gradient(135deg, #10121A 0%, #0E1015 100%);
}

.edu-half-iitm:hover {
    background: linear-gradient(135deg, #DDE6FF 0%, #D5DFFF 100%);
}

[data-theme="dark"] .edu-half-iitm:hover {
    background: linear-gradient(135deg, #151B2A 0%, #101620 100%);
}

/* Logo circle */
.edu-logo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1.5px solid var(--color-border);
    padding: 6px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

[data-theme="dark"] .edu-logo {
    background: rgba(255, 255, 255, 0.9);
}

.edu-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.2rem;
    min-width: 0;
}

/* Degree badge */
.edu-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.55rem;
    border-radius: 50px;
    width: fit-content;
}

.edu-badge-srm {
    background: #FFF0C0;
    color: #A0700A;
    border: 1px solid rgba(160, 112, 10, 0.2);
}

.edu-badge-iitm {
    background: #DDE5FF;
    color: #3451B2;
    border: 1px solid rgba(52, 81, 178, 0.2);
}

/* TPI — emerald green tint (Live) */
.edu-half-tpi {
    background: linear-gradient(135deg, #F0FBF4 0%, #E8F8EE 100%);
}

[data-theme="dark"] .edu-half-tpi {
    background: linear-gradient(135deg, #0D1510 0%, #08100C 100%);
}

.edu-half-tpi:hover {
    background: linear-gradient(135deg, #D5F5E0 0%, #C8F0D8 100%);
}

[data-theme="dark"] .edu-half-tpi:hover {
    background: linear-gradient(135deg, #152A1C 0%, #102015 100%);
}

.edu-badge-tpi {
    background: #D4F5E2;
    color: #1A7A45;
    border: 1px solid rgba(26, 122, 69, 0.2);
}

/* Renault — slate blue-grey tint (Done) */
.edu-half-renault {
    background: linear-gradient(135deg, #F4F5F8 0%, #EDEEF3 100%);
}

[data-theme="dark"] .edu-half-renault {
    background: linear-gradient(135deg, #101215 0%, #0A0C10 100%);
}

.edu-half-renault:hover {
    background: linear-gradient(135deg, #E2E4EE 0%, #D8DAE8 100%);
}

[data-theme="dark"] .edu-half-renault:hover {
    background: linear-gradient(135deg, #1A1C25 0%, #12141A 100%);
}

.edu-badge-renault {
    background: #E2E4EE;
    color: #4A5068;
    border: 1px solid rgba(74, 80, 104, 0.2);
}

.edu-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .edu-name {
        white-space: normal;
        font-size: 0.85rem;
    }

    .edu-half {
        padding: 1rem;
    }
}

.edu-detail {
    font-size: 0.72rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Centre divider with + pill */
.edu-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-border) 30%, var(--color-border) 70%, transparent 100%);
    position: relative;
    flex-shrink: 0;
}

.edu-divider-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    line-height: 1;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

@media (max-width: 600px) {
    .edu-split-row {
        flex-direction: column;
        position: relative;
    }

    .edu-divider {
        width: 100%;
        height: 0;
        margin: 0;
        border: none;
        background: none;
        position: relative;
        z-index: 10;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
    }

    .edu-divider-icon {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .edu-half {
        width: 100%;
    }
}

/* Clickable info-card (link variant) */
.info-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-text-primary);
}


.about-text {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: var(--space-md);
}

.about-text strong {
    color: var(--color-text-primary);
    font-weight: 600;
}


/* ===================================
   Skills Section
   =================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns for better visibility */
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .skill-item {
        padding: 1rem 0.5rem;
        border-radius: 1rem;
        min-height: 110px;
    }

    .skill-logo {
        width: 32px;
        height: 32px;
    }

    .skill-item span {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: 1rem;
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
}

/* Link indicator arrow for clickable skills */
a.skill-item::after {
    content: '↗';
    position: absolute;
    top: 0.5rem;
    right: 0.65rem;
    font-size: 0.65rem;
    color: var(--color-text-secondary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

a.skill-item:hover::after {
    opacity: 1;
}

.skill-no-link {
    cursor: default;
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--color-text-primary);
}

.skill-logo {
    width: 48px;
    height: 48px;
}

.skill-item span {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    color: var(--color-text-primary);
}

/* ===================================
   Experience Section — Premium Cards
   =================================== */

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

.exp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .exp-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Card */
.exp-card {
    border-radius: 1.75rem;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .exp-card {
    background: var(--color-surface);
}

/* Card Header */
.exp-card-header {
    padding: 1.75rem 1.75rem 1.5rem;
    position: relative;
    color: #fff;
}

.exp-header-tpi {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.exp-header-renault {
    background: linear-gradient(135deg, #c0392b 0%, #922b21 50%, #1a1a2e 100%);
}

.exp-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.exp-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.8rem;
    border-radius: 2rem;
    text-transform: uppercase;
}

.ongoing-badge {
    background: rgba(16, 185, 129, 0.25);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.4);
    animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.65;
    }
}

.completed-badge {
    background: rgba(96, 165, 250, 0.2);
    color: #93C5FD;
    border: 1px solid rgba(96, 165, 250, 0.35);
}

.exp-year {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.6;
    letter-spacing: 0.08em;
}

.exp-company-logo {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    background: transparent;
    border: none;
    backdrop-filter: none;
}

.exp-role {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.exp-company-name {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.exp-company-sub {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Company name / location links inside exp card header */
.exp-company-link {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
    transition: color 0.2s ease;
}

.exp-company-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.exp-location-link {
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.775rem;
    transition: color 0.2s ease;
}

.exp-location-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Real logo images inside exp cards */
.exp-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: transform 0.3s ease;
    /* Maintain visibility on dark background */
    filter: brightness(0) invert(1);
}

/* Specific adjustment for Renault if it has colors */
.exp-header-renault .exp-logo-img {
    filter: none;
    /* Keep original colors for Renault */
}

/* Specific adjustment for Murugappa Group photo-logo */
.exp-header-tpi .exp-logo-img {
    filter: none;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}


.exp-logo-img:hover {
    transform: scale(1.1);
}

/* Card Body */
.exp-card-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

/* Stats Row */
.exp-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.exp-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.exp-stat-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.exp-stat-label {
    font-size: 0.68rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.exp-stat-divider {
    width: 1px;
    height: 2rem;
    background: var(--color-border);
    flex-shrink: 0;
    margin: 0 0.5rem;
}

/* Description */
.exp-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.exp-desc strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* Tags */
.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.exp-tags span {
    padding: 0.3rem 0.75rem;
    background: var(--color-surface);
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    cursor: default;
    border: 1px solid var(--color-border);
}

.exp-card:first-child .exp-tags span:hover {
    background: #E8F4F0;
    color: #059669;
}

.exp-card:last-child .exp-tags span:hover {
    background: #FEE2E2;
    color: #C0392B;
}

/* NDA Pill */
.exp-nda-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: #92400E;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 2rem;
    padding: 0.3rem 0.85rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.exp-featured-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1.25rem;
    margin-top: 1.25rem;
    border: 1px solid var(--color-border);
    transition: transform 0.4s ease;
}

.exp-featured-img:hover {
    transform: scale(1.02);
}


@media (max-width: 768px) {
    .exp-cards-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================================
   Projects Section — Expandable List
   =================================== */

/* ===================================
   Projects Section — 3 Column Grid
   =================================== */

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
    justify-content: center;
}

@media (max-width: 1100px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

.project-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .project-card {
    background: var(--color-surface);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.project-header {
    padding: 2rem 1.5rem;
    background: #1E1E2E;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 180px;
}

.project-header-scholar {
    background: linear-gradient(135deg, #00B4DB 0%, #0083B0 100%);
}

.project-header-threat {
    background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
}

.project-header-stock {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.project-header-finsense {
    background: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
}


.project-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.project-id {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.3rem 0.85rem;
    border-radius: 6px;
    display: inline-block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-visual-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-name {
    font-size: 1.75rem;
    /* Reduced to de-congest Scholarships Platform */
    font-weight: 600;
    color: #fff;
    margin-top: 1rem;
    line-height: 1.25;
}

.project-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-description {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    /* Reduced to de-congest card */
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.project-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    padding: 0.3rem 0.75rem;
    border-radius: 2rem;
    border: 1px solid var(--color-border);
}


/* ===================================
   GitHub Section
   =================================== */

/* ===================================
   GitHub Section — Theme Matched
   =================================== */

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

/* ===================================
   GitHub Section — Expandable List
   =================================== */

.github-repos {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.repo-expand-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border-left: 4px solid var(--color-accent);
}

/* 4-Color Cycle for dynamic repos */
.repo-expand-item:nth-child(4n+1) {
    border-left-color: #C3A6FF;
}

/* Purple */
.repo-expand-item:nth-child(4n+2) {
    border-left-color: #89B4FA;
}

/* Blue */
.repo-expand-item:nth-child(4n+3) {
    border-left-color: #10B981;
}

/* Emerald */
.repo-expand-item:nth-child(4n+4) {
    border-left-color: #F9E2AF;
}

/* Gold */

.repo-title-bar {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-bg);
    transition: background 0.4s ease;
}

.repo-num {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.repo-path {
    flex: 1;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.repo-path span {
    color: var(--color-text-primary);
    font-weight: 600;
}

.expand-icon-plus {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    transition: all 0.4s ease;
}

.repo-expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--color-surface);
}

.repo-expand-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* For PC: Expand on Hover */
@media (min-width: 769px) {
    .repo-expand-item:hover .repo-expand-content {
        max-height: 350px;
        border-top: 1px solid #eee;
    }

    .repo-expand-item:hover .expand-icon-plus {
        transform: rotate(45deg);
        color: var(--color-text-primary);
    }
}

/* For Mobile: Expansion and different behavior */
@media (max-width: 768px) {
    .repo-expand-item.active .repo-expand-content {
        max-height: 600px;
        border-top: 1px solid var(--color-border);
    }

    .repo-expand-item.active .expand-icon-plus {
        transform: rotate(45deg);
        color: var(--color-text-primary);
    }

    .repo-expand-item:hover {
        transform: none;
        /* No shifting on mobile */
    }

    .repo-content-inner {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .repo-line-numbers {
        display: none;
        /* Clean up on mobile */
    }

    .repo-title-bar {
        padding: 1.25rem 1.5rem;
        gap: 1rem;
    }
}

.repo-content-inner {
    padding: 2rem;
    display: flex;
    gap: 2rem;
}

.repo-line-numbers {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    opacity: 0.5;
    line-height: 1.8;
    text-align: right;
    padding-right: 1.5rem;
    border-right: 1px solid var(--color-border);
    user-select: none;
}

.repo-details {
    flex: 1;
}

.repo-name-mini {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.repo-description-mini {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.repo-meta-mini {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-family: 'Fira Code', monospace;
    font-size: 0.75rem;
}

.repo-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* 4-Color Cycle for dynamic repos */
.repo-expand-item:nth-child(4n+1) {
    border-left-color: #C3A6FF;
}

/* Purple */
.repo-expand-item:nth-child(4n+2) {
    border-left-color: #89B4FA;
}

/* Blue */
.repo-expand-item:nth-child(4n+3) {
    border-left-color: #10B981;
}

/* Emerald */
.repo-expand-item:nth-child(4n+4) {
    border-left-color: #F9E2AF;
}

/* Gold */

/* Match path color to the accent */
.repo-path span {
    color: var(--color-text-primary) !important;
}

.repo-link-mini {
    margin-left: auto;
    color: var(--color-text-primary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.repo-link-mini:hover {
    background: var(--color-text-primary);
    color: var(--color-bg);
}

@media (max-width: 480px) {
    .repo-link-mini {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .repo-meta-mini {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ===================================
   Certifications Section
   =================================== */

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

.certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 992px) {
    .certs-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}



.cert-card {
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .cert-card {
    background: var(--color-surface);
}

.cert-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* --- Card Header --- */
.cert-card-header {
    padding: 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    min-height: 110px;
}

.cert-header-srm {
    background: linear-gradient(135deg, #1E1E2E 0%, #383870 100%);
    color: #fff;
}

.cert-header-sf {
    background: linear-gradient(135deg, #00589B 0%, #0070D2 100%);
    color: #fff;
}

.cert-header-sap {
    background: linear-gradient(135deg, #0080FF 0%, #004C99 100%);
    color: #fff;
}


.cert-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 8px;
}

.cert-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

[data-theme="dark"] .cert-badge {
    background: rgba(255, 255, 255, 0.9);
}

.cert-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.cert-issuer {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.cert-type {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Fira Code', monospace;
}

.cert-ribbon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #F9E2AF;
    color: #7D5A00;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
}

.cert-ribbon-sf {
    background: #00D4AA;
    color: #003D2F;
}

.cert-ribbon-sap {
    background: #FFD700;
    color: #4A3B00;
}


/* --- Card Body --- */
.cert-card-body {
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1.25rem;
}

.cert-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.cert-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    background: var(--color-surface);
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
}

.cert-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cert-meta-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    opacity: 0.7;
    font-family: 'Fira Code', monospace;
}

.cert-meta-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.cert-id {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.cert-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.cert-tags span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    padding: 0.3rem 0.85rem;
    border-radius: 2rem;
    border: 1px solid var(--color-border);
}

.cert-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    margin-top: auto;
    padding: 0.75rem 1.25rem;
    background: #1E1E2E;
    color: #fff;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
    letter-spacing: 0.02em;
}

.cert-btn:hover {
    background: #383870;
    transform: translateY(-2px);
}

.cert-btn-sf {
    background: #0070D2;
}

.cert-btn-sf:hover {
    background: #005FB2;
}

.cert-btn-sap {
    background: #004C99;
}

.cert-btn-sap:hover {
    background: #003366;
}


/* Verify button — teal/green outline variant */
.cert-btn-verify {
    background: transparent;
    color: #10B981;
    border: 2px solid #10B981;
    flex: 0 0 auto;
    padding: 0.9rem 1.25rem;
}

.cert-btn-verify:hover {
    background: #10B981;
    color: #fff;
    transform: translateY(-2px);
}

/* Dual button row */
.cert-btn-group {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.cert-btn-group .cert-btn {
    flex: 1;
    margin-top: 0;
}

/* Single card centred layout */
.cert-card-centered {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

/* Salesforce logo badge */
.cert-badge-logo {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.1);
    width: 72px;
    height: 56px;
    border-radius: 12px;
    padding: 6px;
}

.cert-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Clickable issuer link */
.cert-issuer-link {
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}

.cert-issuer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Clickable cert title */
.cert-title-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.cert-title-link:hover {
    color: #0070D2;
    border-bottom-color: #0070D2;
}

/* Clickable meta value (issued by) */
.cert-meta-link {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.cert-meta-link:hover {
    color: #0070D2;
}

/* Salesforce logo badge */
.cert-badge-logo {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 88px;
    height: 68px;
    border-radius: 12px;
    padding: 6px;
    flex-shrink: 0;
}

.cert-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .certs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .cert-meta {
        grid-template-columns: 1fr 1fr;
    }

    .cert-btn-group {
        flex-direction: column;
    }
}


/* ===================================
   Contact Section
   =================================== */

.contact-bar {
    display: flex;
    width: 100%;
    max-width: 650px;
    /* Slightly wider for better presence */
    height: 80px;
    margin: 1rem auto 2rem;
    background: var(--color-bg);
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-segment:not(:last-child) {
    border-right: 1.5px solid var(--color-border);
}

.contact-segment {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    border-right: 1.5px solid var(--color-border);
}

.contact-segment:last-child {
    border-right: none;
}

.contact-segment:hover {
    background: var(--color-surface);
    transform: scale(1.05);
    z-index: 1;
}

[data-theme="dark"] .contact-segment:hover {
    background: rgba(255, 255, 255, 0.05);
}

.contact-segment::after {
    content: attr(data-label);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text-primary);
    color: var(--color-bg);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, bottom 0.3s ease;
}

.contact-segment:hover::after {
    opacity: 1;
    bottom: -40px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.contact-segment:hover .brand-icon,
.contact-btn-inner:hover .brand-icon {
    transform: scale(1.2);
}

/* Button resets to match <a> contact segments */
.contact-btn-inner {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Email segment wrapper — acts as the flex item */
.contact-email-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1.5px solid var(--color-border);
}

.contact-email-wrap:hover {
    background: var(--color-surface);
}

/* Email dropdown panel */
.contact-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 1rem 1.25rem;
    min-width: 240px;
    z-index: 200;
    flex-direction: column;
    gap: 0.6rem;
    animation: fadeSlideDown 0.2s ease;
}

.contact-dropdown.open {
    display: flex;
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.contact-dropdown-addr {
    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;
    color: var(--color-text-primary);
    font-weight: 600;
    white-space: nowrap;
}

.contact-dropdown-link {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #EA4335;
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    background: #FFF0EF;
    border-radius: 6px;
    transition: background 0.2s;
}

.contact-dropdown-link:hover {
    background: #FFE0DE;
}



/* Quick Message Form */
.quick-message-wrap {
    max-width: 950px;
    /* Further expanded for perfect visibility */
    margin: 0 auto;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .quick-message-wrap {
    background: var(--color-surface);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.quick-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Significant room for email */
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 1.25rem 1rem;
    /* Slightly reduced horizontal padding to fit text */
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0.85rem;
    font-family: inherit;
    font-size: 1rem;
    /* Slightly smaller to fit placeholder perfectly */
    color: var(--color-text-primary);
    transition: all 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    max-width: 100%;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text-primary);
    background: var(--color-bg);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

/* Refined Form Header */
.form-header-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 0.65rem 1.5rem;
    background: var(--color-surface);
    border-radius: 50px;
    border: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-header-info .info-item {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: 0.02em;
}

.info-divider {
    width: 4px;
    height: 4px;
    background: var(--color-border);
    border-radius: 50%;
}

/* Premium Submit Button */
.btn-submit {
    margin-top: 1rem;
    padding: 1.1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-icon-send {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-submit:hover .btn-icon-send {
    transform: translate(6px, -6px) rotate(-10deg);
}

.form-status {
    margin-top: 2rem;
    padding: 1.25rem;
    border-radius: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-status.success {
    display: block;
    background: #F0FBF4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.form-status.error {
    display: block;
    background: #FEF2F2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

[data-theme="dark"] .form-status.success {
    background: rgba(21, 128, 61, 0.1);
    border-color: rgba(21, 128, 61, 0.2);
}

[data-theme="dark"] .form-status.error {
    background: rgba(185, 28, 28, 0.1);
    border-color: rgba(185, 28, 28, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .quick-message-wrap {
        padding: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        box-sizing: border-box;
    }
}

.phone-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.phone-modal-overlay.active {
    display: flex;
}

.phone-modal-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 340px;
    width: 90%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
    animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.phone-modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.phone-modal-icon--email {
    background: rgba(234, 67, 53, 0.1);
}

.phone-modal-icon--phone {
    background: rgba(52, 168, 83, 0.1);
}

.phone-modal-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaa;
    margin: 0 0 0.5rem;
    font-family: 'Fira Code', monospace;
}

.phone-modal-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
    font-family: 'Fira Code', monospace;
    margin: 0 0 1.5rem;
}

.phone-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.phone-modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: transform 0.2s ease, opacity 0.2s;
}

.phone-modal-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.phone-modal-copy {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.phone-modal-call {
    background: #34A853;
    color: #fff;
}

.phone-modal-hint {
    min-height: 1.2em;
    font-size: 0.82rem;
    color: #34A853;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.phone-modal-close {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.phone-modal-close:hover {
    border-color: #ccc;
    color: #555;
}

@media (max-width: 768px) {
    .contact-bar {
        max-width: 90%;
        height: 70px;
    }

    .brand-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .contact-bar {
        height: 60px;
        border-radius: 30px;
    }

    .brand-icon {
        width: 24px;
        height: 24px;
    }
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--color-border);
}

.footer-nav {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    /* Added for mobile */
}

@media (max-width: 600px) {
    .footer-nav {
        gap: 1rem;
        padding: 0 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
    }
}

.footer-nav a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

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

.copyright {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-primary);
    text-decoration: none;
    margin: 0 auto;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--color-text-primary);
    color: var(--color-bg);
    border-color: var(--color-text-primary);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: var(--space-xl);
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        gap: var(--space-2xl);
        padding: 0 var(--space-md);
        align-items: center;
        /* Force centering of all children */
    }

    .about-image-wrapper {
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    .about-details {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }

    .about-cards {
        justify-items: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /* Center the education cards inside about-details */
    .edu-split-card {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }

    /* Fix Contact centering */
    .contact-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .contact-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 100%;
        padding: 0 1.25rem;
        margin: 0 auto;
    }

    .contact-bar {
        margin: 1.5rem auto !important;
        width: 100%;
        max-width: 340px;
        /* Force a fixed max-width for better centering on phones */
    }

    .quick-message-wrap {
        margin: 1rem auto !important;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.25rem;
    }

    /* Fix Footer visibility */
    .footer {
        padding: var(--space-2xl) 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .profile-image {
        width: 240px;
        height: 240px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .section-title {
        margin-bottom: var(--space-lg);
    }

    .about-creative-card {
        height: 380px;
        max-width: 310px;
    }

    .code-line {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 var(--space-md);
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .about-creative-card {
        height: 350px;
        max-width: 290px;
    }

    .code-line {
        font-size: 0.6rem;
    }

    .hero-name {
        font-size: 2.25rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}