/* ==========================================================================
   STYLE SHEET - PORTFOLIO & EDUCATIONAL JOURNEY
   ========================================================================== */

/* 1. GLOBALS & RESETS
   ========================================================================== */
:root {
    /* Color Palette */
    --primary-green: #11381B;         /* Rich scholarly green */
    --primary-green-light: #1C542A;
    --primary-green-dark: #081E0F;
    --accent-gold: #D4AF37;           /* Elegant classic gold */
    --accent-gold-dark: #B59023;
    --accent-gold-light: #F7EBC3;
    --bg-dark: #090F0B;               /* Slate dark forest */
    --bg-light: #F6F9F6;              /* Clean off-white cream */
    --bg-white: #ffffff;
    --card-bg-dark: #121F16;
    
    /* Text Colors */
    --text-dark: #1B2B1F;
    --text-light: #EAEFEA;
    --text-muted: #5D7260;
    --text-gold: #E5C563;
    
    /* Borders & Spacing */
    --border-color-light: #E2ECE3;
    --border-color-dark: rgba(212, 175, 55, 0.15);
    
    /* Box Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-gold-hover: 0 12px 35px rgba(212, 175, 55, 0.25);
    
    /* Animations */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Max Container Width */
    --max-width: 1200px;
}

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

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Selection styling */
::selection {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-green-light);
    border: 2px solid var(--bg-dark);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* 2. LAYOUT UTILITIES
   ========================================================================== */
.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px;
}

section {
    position: relative;
    width: 100%;
}

/* Alternate Section Backgrounds */
.about-section {
    background-color: var(--bg-white);
}

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

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

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green-dark);
    line-height: 1.2;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green-light), var(--accent-gold));
    margin: 18px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-top: 15px;
}

/* 3. BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    color: var(--bg-white);
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(28, 84, 42, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(28, 84, 42, 0.4);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-green-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-green-dark);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover);
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    color: var(--bg-white);
}

/* Badges */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

/* 4. NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 15, 11, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    transition: var(--transition-smooth);
}

.navbar.shrunk {
    padding: 4px 0;
    background: rgba(9, 15, 11, 0.95);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

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

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.nav-logo span.logo-green {
    color: #38a152;
}

.nav-logo span.logo-gold {
    color: var(--accent-gold);
}

.nav-logo span.logo-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 5px;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
    padding: 8px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 0.8rem;
    opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Golden animated underline on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--bg-white);
    transition: var(--transition-fast);
}

/* 5. HERO SECTION
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-green-dark) 100%);
    display: flex;
    align-items: center;
    position: relative;
    color: var(--bg-white);
}

/* Background visual enhancement */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(212, 175, 55, 0.08) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    opacity: 0.7;
    pointer-events: none;
}

/* Adding radial glowing lights */
.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(28, 84, 42, 0.25) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.hero-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.highlight-gold {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Mouse Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator .mouse {
    width: 26px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    position: relative;
}

.hero-scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite ease-in-out;
}

.hero-scroll-indicator .arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-scroll-indicator .arrows span {
    display: block;
    width: 6px;
    height: 6px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    border-right: 2px solid rgba(255, 255, 255, 0.35);
    transform: rotate(45deg);
    animation: arrowDown 1.8s infinite ease-in-out;
}

.hero-scroll-indicator .arrows span:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes scrollMouse {
    0% { top: 6px; opacity: 0; }
    30% { opacity: 1; }
    80% { top: 22px; opacity: 0; }
    100% { opacity: 0; }
}

@keyframes arrowDown {
    0% { opacity: 0; transform: rotate(45deg) translateY(-5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translateY(5px); }
}

/* 6. ABOUT ME SECTION
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

/* Column 1: Graphic Profile Layout */
.profile-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.25);
}

.profile-frame {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 8px;
    border: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
}

.profile-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(21, 56, 30, 0.2);
    animation: rotateDashed 25s linear infinite;
}

@keyframes rotateDashed {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 4.5rem;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.25);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 5;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

.profile-info h3.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    color: var(--primary-green-dark);
    margin-bottom: 5px;
}

.profile-info p.profile-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 25px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color-light);
}

.stat-item {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-green-light);
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* Column 2: Typography & Skills Grid */
.about-intro-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    color: var(--primary-green-dark);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-bio-para {
    color: var(--text-muted);
    font-size: 1.025rem;
    margin-bottom: 20px;
}

.about-bio-para strong {
    color: var(--primary-green-dark);
    font-weight: 600;
}

/* Competency cards */
.competency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 35px;
}

.competency-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: var(--transition-smooth);
}

.competency-card:hover {
    background-color: var(--bg-white);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.card-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(28, 84, 42, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green-light);
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.competency-card:hover .card-icon-wrapper {
    background: var(--accent-gold);
    color: var(--primary-green-dark);
}

.competency-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    margin-bottom: 8px;
}

.competency-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 7. CHRONOLOGICAL TIMELINE (Primary, JSS, SSS)
   ========================================================================== */
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 0;
}

/* Vertical Spine */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        var(--accent-gold),
        var(--accent-gold) 8px,
        transparent 8px,
        transparent 16px
    );
    transform: translateX(-50%);
    pointer-events: none;
}

/* Timeline Row */
.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    display: flex;
}

/* Outer layout alignment: alternate left and right rows */
.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

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

/* Bullet Point Marker */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    border: 3px solid var(--accent-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: var(--accent-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transform: translateX(-50%);
    z-index: 10;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.15);
    box-shadow: var(--shadow-gold-hover);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-green-dark);
}

/* Row Content Wrapper */
.timeline-content-wrapper {
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(even) .timeline-content-wrapper {
    text-align: left;
}

/* Card Detail Styles */
.timeline-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 35px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-smooth);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

/* Small visual indicators (Arrows) extending from card back to marker */
.timeline-card::after {
    content: '';
    position: absolute;
    top: 45px;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Arrow placement for left aligned cards */
.timeline-item:nth-child(odd) .timeline-card::after {
    right: -12px;
    border-width: 10px 0 10px 12px;
    border-color: transparent transparent transparent var(--bg-white);
}

.timeline-item:nth-child(odd) .timeline-card:hover::after {
    border-color: transparent transparent transparent var(--accent-gold);
}

/* Arrow placement for right aligned cards */
.timeline-item:nth-child(even) .timeline-card::after {
    left: -12px;
    border-width: 10px 12px 10px 0;
    border-color: transparent var(--bg-white) transparent transparent;
}

.timeline-item:nth-child(even) .timeline-card:hover::after {
    border-color: transparent var(--accent-gold) transparent transparent;
}

/* Card Inner Elements */
.card-header-badge {
    display: inline-block;
    background: rgba(28, 84, 42, 0.08);
    color: var(--primary-green-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.school-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}

.school-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: var(--accent-gold-dark);
}

.school-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.school-description:last-of-type {
    margin-bottom: 25px;
}

.outcome-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.outcome-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    background: var(--bg-light);
    border: 1px solid var(--border-color-light);
    padding: 6px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.outcome-tags span i {
    color: var(--primary-green-light);
    font-size: 0.7rem;
}

.timeline-card:hover .outcome-tags span {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(212, 175, 55, 0.05);
}

/* 8. SIWES TRAINING SECTION (Dark Mode Case Study Spotlight)
   ========================================================================== */
.siwes-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Org and SIWES primary spotlight */
.siwes-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius-md);
    padding: 40px;
    height: 100%;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.siwes-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
}

.siwes-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border-color-light);
    padding-bottom: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.siwes-org {
    display: flex;
    gap: 18px;
    align-items: center;
}

.org-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 15px rgba(28, 84, 42, 0.2);
}

.siwes-org h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green-dark);
}

.org-loc {
    font-size: 0.825rem;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 500;
}

.org-loc i {
    color: var(--accent-gold-dark);
}

.siwes-status-badge {
    background: var(--accent-gold);
    color: var(--primary-green-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.siwes-intro-text {
    font-size: 1.1rem;
    color: var(--primary-green-light);
    font-weight: 600;
    margin-bottom: 18px;
    line-height: 1.5;
}

.siwes-para {
    color: var(--text-muted);
    font-size: 0.975rem;
    margin-bottom: 25px;
}

/* SIWES Milestones blocks */
.siwes-milestones {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.milestone-block {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.m-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--accent-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition-fast);
}

.milestone-block:hover .m-icon {
    background: var(--primary-green-light);
    color: var(--accent-gold-light);
    border-color: var(--primary-green-light);
    transform: scale(1.1);
}

.m-text {
    display: flex;
    flex-direction: column;
}

.m-text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-green-dark);
    margin-bottom: 3px;
}

.m-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Glassmorphism stack & citations */
.siwes-stats-skills {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.glass-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border: 1px solid var(--border-color-dark);
    border-radius: var(--radius-md);
    padding: 35px;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    filter: blur(15px);
}

.skills-card h3.card-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-gold);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-progress-bar {
    width: 100%;
}

.skill-name-percent {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.progress-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* Citation Quote Box */
.quote-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color-light);
    box-shadow: var(--shadow-md);
    color: var(--text-dark);
}

.quote-card .quote-icon {
    font-size: 2.2rem;
    color: rgba(212, 175, 55, 0.35);
    line-height: 1;
    margin-bottom: 12px;
}

.quote-card .quote-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.quote-card .quote-author {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-green-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 9. CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-box {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-dark) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color-dark);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    filter: blur(30px);
}

.contact-content {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.contact-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.25;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.contact-actions {
    display: flex;
    justify-content: center;
}

/* 10. FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px 40px;
}

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

.footer-brand .footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--bg-white);
    display: inline-block;
    margin-bottom: 18px;
}

.footer-brand .footer-logo span.logo-green {
    color: #38a152;
}

.footer-brand .footer-logo span.logo-gold {
    color: var(--accent-gold);
}

.footer-brand .footer-logo span.logo-sub {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 5px;
    opacity: 0.8;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links h4,
.footer-academic h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-links ul a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.academic-note {
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.5);
}

.academic-note i {
    color: var(--accent-gold);
    margin-right: 3px;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    font-size: 0.8rem;
}

.copyright-text strong {
    color: var(--accent-gold);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover);
}

/* 11. SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px; /* hidden initially */
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-green) 100%);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition-smooth);
}

.scroll-to-top.visible {
    right: 30px;
}

.scroll-to-top:hover {
    background: var(--accent-gold);
    color: var(--primary-green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold-hover);
}

/* 12. SCROLL ENTRANCE ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered delay helpers */
.scroll-reveal.delay-1 {
    transition-delay: 0.15s;
}

.scroll-reveal.delay-2 {
    transition-delay: 0.3s;
}

.scroll-reveal.delay-3 {
    transition-delay: 0.45s;
}

/* Triggered State */
.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero explicit load state animation */
.hero-content.scroll-reveal {
    animation: heroEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 13. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet Portrait & Small Desktop (Max 1024px) */
@media screen and (max-width: 1024px) {
    .section-container {
        padding: 80px 24px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .siwes-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-academic {
        grid-column: span 2;
    }
}

/* Tablet (Max 768px) */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 12px 16px;
    }
    
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 140px 0 80px;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    /* MOBILE NAVIGATION */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(9, 15, 11, 0.98);
        border-left: 1px solid rgba(212, 175, 55, 0.2);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px;
        gap: 25px;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* CHRONOLOGICAL TIMELINE - SHIFT SPINE LEFT FOR MOBILE */
    .timeline-line {
        left: 20px;
        transform: none;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-bottom: 40px;
    }
    
    .timeline-marker {
        left: 20px;
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
        top: 25px;
    }
    
    .timeline-content-wrapper {
        width: 100%;
        padding: 0 0 0 55px;
    }
    
    .timeline-card {
        padding: 25px;
    }
    
    /* Arrows pointing left on mobile for all timeline cards */
    .timeline-card::after {
        left: -12px !important;
        right: auto !important;
        border-width: 10px 12px 10px 0 !important;
        border-color: transparent var(--bg-white) transparent transparent !important;
    }
    
    .timeline-card:hover::after {
        border-color: transparent var(--accent-gold) transparent transparent !important;
    }
}

/* Mobile Portrait (Max 480px) */
@media screen and (max-width: 480px) {
    .section-container {
        padding: 60px 16px;
    }
    
    .hero-title {
        font-size: 1.85rem;
        line-height: 1.2;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    .competency-grid {
        grid-template-columns: 1fr;
    }
    
    .siwes-card {
        padding: 25px;
    }
    
    .siwes-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .glass-card {
        padding: 25px;
    }
    
    .contact-box {
        padding: 40px 20px;
    }
    
    .contact-content h2 {
        font-size: 1.6rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-academic {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
}
