/* BASE.CSS - Design System Foundation */


/* All design tokens, typography, and base styles */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* ===================================
   DESIGN TOKENS (CSS Variables)
   =================================== */

:root {
    /* Colors */
    --color-primary: rgb(53, 53, 53);
    --color-secondary: rgb(85, 85, 85);
    --color-accent: rgb(163, 163, 163);
    --color-bg-main: white;
    --color-bg-ash: rgb(245, 245, 245);
    --color-bg-ash-transparent: rgba(245, 245, 245, 0.88);
    --color-border: rgb(163, 163, 163);
    --color-border-light: rgba(163, 163, 163, 0.3);
    --color-hover: grey;
    --color-black: black;
    --color-white: white;
    /* Award card colors */
    --color-award-1: rgba(82, 178, 207, 0.5);
    --color-award-1-solid: rgb(82, 178, 207);
    --color-award-2: rgba(229, 163, 111, 0.5);
    --color-award-2-solid: rgb(229, 163, 111);
    --color-award-3: rgba(156, 173, 206, 0.5);
    --color-award-3-solid: rgb(156, 173, 206);
    --color-award-4: rgba(212, 175, 185, 0.5);
    --color-award-4-solid: rgb(212, 175, 185);
    --color-award-5: rgba(140, 198, 184, 0.5);
    --color-award-5-solid: rgb(140, 198, 184);
    /* Typography */
    --font-family: "Poppins", sans-serif;
    --font-size-xs: 0.85rem;
    --font-size-sm: 0.9rem;
    --font-size-base: 1rem;
    --font-size-md: 1.1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 1.75rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3rem;
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 2.5rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
    /* Border Radius */
    --radius-xs: 0.5rem;
    --radius-sm: 1rem;
    --radius-md: 1.5rem;
    --radius-lg: 2rem;
    --radius-full: 50%;
    /* Shadows */
    --shadow-xs: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 15px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 8px 30px rgba(0, 0, 0, 0.2);
    --shadow-nav: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-nav-scrolled: 0 2px 15px rgba(0, 0, 0, 0.08);
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-all: all 300ms ease;
    /* Z-index */
    --z-nav: 1000;
    --z-tooltip: 1000;
    --z-dropdown: 10;
    /* Viewport Heights */
    --vh-nav: 17vh;
    --vh-nav-scrolled: 10vh;
    --vh-nav-mobile: 12vh;
    --vh-nav-mobile-scrolled: 7vh;
}


/* ===================================
   GLOBAL RESETS
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    padding-top: var(--vh-nav);
    background-color: var(--color-bg-main);
}


/* ===================================
   TYPOGRAPHY
   =================================== */

p {
    color: var(--color-secondary);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-primary);
}

.title {
    font-size: var(--font-size-4xl);
    text-align: center;
    margin: var(--space-md) 0;
}

.section__text__p1 {
    text-align: center;
    font-size: var(--font-size-md);
    color: var(--color-secondary);
}

.section__text__p2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-md);
    text-align: center;
}

.experience-sub-title {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-xl);
}


/* ===================================
   LINKS
   =================================== */

a {
    color: var(--color-black);
    text-decoration: none;
    text-decoration-color: var(--color-white);
    transition: var(--transition-all);
}

a:hover {
    color: var(--color-hover);
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: var(--color-accent);
}


/* ===================================
   SECTIONS
   =================================== */

section {
    padding-top: 4vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
    scroll-margin-top: var(--vh-nav);
    padding-bottom: 4vh;
}


/* ===================================
   ICONS
   =================================== */

.icon {
    cursor: pointer;
    height: 2rem;
    transition: var(--transition-base);
}

.icon:hover {
    transform: scale(1.1);
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}


/* ===================================
   CONTAINERS
   =================================== */

.about-containers {
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    margin-top: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
}

.details-container {
    padding: var(--space-lg);
    flex: 1;
    min-width: 300px;
    background: var(--color-bg-main);
    border-radius: var(--radius-lg);
    border: 0.1rem solid var(--color-border);
    text-align: center;
}


/* ===================================
   ARTICLE CONTAINER
   =================================== */

.article-container {
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
}

article {
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: var(--space-sm);
}

article .icon {
    cursor: default;
}

article h3 {
    font-size: var(--font-size-base);
}


/* ===================================
   EDUCATION ITEMS
   =================================== */

.education-item {
    margin-bottom: var(--space-lg);
    text-align: left;
    border-left: 3px solid var(--color-accent);
    padding-left: var(--space-md);
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-item p {
    margin-bottom: 0.25rem;
}

.education-item p:first-child {
    margin-bottom: var(--space-sm);
}


/* ===================================
   BUTTONS
   =================================== */

.btn {
    transition: var(--transition-all);
    cursor: pointer;
}

.btn-color-2 {
    background-color: var(--color-bg-main);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-accent);
    color: var(--color-primary);
    padding: var(--space-sm);
    font-weight: 500;
}

.btn-color-2:hover {
    background-color: rgb(80, 80, 80);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.show-more-btn {
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-accent);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    margin-top: var(--space-md);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-family);
    transition: var(--transition-all);
}

.show-more-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}


/* ===================================
   UTILITIES
   =================================== */

.hidden {
    display: none;
}

.visible {
    display: block;
}


/* ===================================
   ANIMATIONS
   =================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===================================
   HELPER CLASSES
   =================================== */

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

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

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

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

.mt-sm {
    margin-top: var(--space-sm);
}

.mt-md {
    margin-top: var(--space-md);
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mb-sm {
    margin-bottom: var(--space-sm);
}

.mb-md {
    margin-bottom: var(--space-md);
}

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

.mb-xl {
    margin-bottom: var(--space-xl);
}

.p-sm {
    padding: var(--space-sm);
}

.p-md {
    padding: var(--space-md);
}

.p-lg {
    padding: var(--space-lg);
}

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