/* 
   Le Tan Duy - Subsite stylesheet
   Aesthetic: "Stay Hungry, Stay Foolish" - Minimalist Bright, Elegant Typography, Bold Accents
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
    --bg-main: #ffffff;        /* Crisp White background */
    --bg-sec: #f8fafc;         /* Soft faint slate navy for sections/offsets */
    --bg-card: #ffffff;        /* White card backgrounds */
    --border-color: rgba(30, 58, 138, 0.08); /* Subtle navy borders */
    --border-hover: #2563eb;   /* Vivid blue hover borders */
    --text-primary: #1e3a8a;   /* Rich Deep Navy primary text */
    --text-secondary: #475569; /* Slate Blue secondary text */
    --text-muted: #94a3b8;     /* Muted secondary text */
    --accent-orange: #1e3a8a;  /* Deep Navy accent */
    --accent-dark: #0f172a;    /* Charcoal dark elements */
    --accent-amber: #2563eb;   /* Royal Blue hover highlights */
    --nav-height: 80px;
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-playfair: 'Playfair Display', serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-inter);
    line-height: 1.7;
    overflow-x: hidden;
    /* Soft grid pattern background */
    background-image: radial-gradient(rgba(30, 58, 138, 0.04) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 40px;
}

.logo {
    margin-right: auto;
    font-family: var(--font-outfit);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-outfit);
    transition: all 0.25s ease;
    position: relative;
    padding: 8px 0;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.25s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.cv-btn {
    background: var(--text-primary);
    color: var(--bg-main) !important;
    padding: 8px 18px !important;
    border-radius: 6px;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
    border: 1px solid var(--text-primary);
}

.cv-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.cv-btn::after {
    display: none !important;
}

/* Page Layout */
main {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 40px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    flex: 1.35;
    position: relative;
    transition: all 0.3s ease;
}

.hero-tag {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 16px;
}

.hero-title {
    font-family: var(--font-outfit);
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--text-primary), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-bio {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-btn-group {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-main);
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 8px;
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--bg-sec);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.hero-img-box {
    flex: 0.65;
    position: relative;
}

.hero-img-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
    transform: rotate(2deg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.hero-img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 4/5;
}

/* Philosophy / Quote Banner */
.philosophy-banner {
    padding: 80px 40px;
    background: var(--bg-sec);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.quote-mark {
    font-family: var(--font-playfair);
    font-size: 120px;
    line-height: 0;
    color: rgba(249, 115, 22, 0.12);
    position: absolute;
    top: 50px;
    left: 40px;
}

.philosophy-quote {
    font-family: var(--font-playfair);
    font-size: 32px;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

.philosophy-author {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-tag {
    font-family: var(--font-outfit);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-outfit);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

/* Grids & Cards */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.card-thin {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-thin:hover {
    border-color: var(--text-primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.04);
}

.card-icon {
    font-size: 32px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.card-title {
    font-family: var(--font-outfit);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Skill Badges */
.skill-category {
    margin-bottom: 24px;
}

.skill-cat-title {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-badge {
    background: var(--bg-sec);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.skill-badge:hover {
    background: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
}

/* Publications */
.pub-block {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-orange);
    padding: 28px 32px;
    border-radius: 0 12px 12px 0;
    transition: all 0.25s ease;
    margin-bottom: 80px;
}

.pub-block:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.03);
}

.pub-title {
    font-family: var(--font-outfit);
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pub-authors {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.pub-venue {
    color: var(--accent-amber);
    font-size: 14px;
    font-weight: 600;
}

/* Speaker Showcase Slider Styles */
.speaker-showcase {
    margin-bottom: 80px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-sec);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #ffffff;
    z-index: 3;
}

.slide-title {
    font-family: var(--font-outfit);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.slide-desc {
    font-size: 14px;
    opacity: 0.85;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.25s ease;
}

.slider-btn:hover {
    background: var(--accent-orange);
    color: #ffffff;
    border-color: var(--accent-orange);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.dot.active {
    background: var(--accent-orange);
    width: 24px;
    border-radius: 10px;
}

/* Contact Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-card-box {
    background: var(--bg-sec);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-card-icon {
    font-size: 24px;
    color: var(--accent-orange);
}

.contact-card-title {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-card-val {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-card-val a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-card-val a:hover {
    color: var(--accent-orange);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-outfit);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    font-family: var(--font-inter);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.25s ease;
}

.form-input:focus {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.02);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    font-family: var(--font-outfit);
}

}

/* Aspirations Section Styling */
.aspirations-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.aspirations-text-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aspirations-lead {
    font-family: var(--font-playfair);
    font-size: 24px;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.4;
    border-left: 3px solid var(--accent-orange);
    padding-left: 20px;
    margin-bottom: 10px;
}

.aspirations-body {
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.aspirations-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.aspirations-visual-side {
    position: relative;
    width: 100%;
}

.canvas-container {
    position: relative;
    width: 100%;
    height: 380px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-sec);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

#sailing-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Overlays on Canvas */
.hometown-beacon {
    position: absolute;
    bottom: 25px;
    left: 20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: var(--font-outfit);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    pointer-events: none;
}

.world-star {
    position: absolute;
    top: 25px;
    right: 20px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--accent-amber);
    padding: 6px 12px;
    border-radius: 20px;
    font-family: var(--font-outfit);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-amber);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    pointer-events: none;
}

/* Featured Capstone Project Card */
.card-featured {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-featured::before {
    content: 'Featured Project';
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--border-hover);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: var(--font-outfit);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-featured:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.06);
}

.featured-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.featured-icon {
    font-size: 38px;
    color: var(--accent-orange);
}

.featured-title {
    font-family: var(--font-outfit);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

.featured-meta {
    font-size: 13px;
    color: var(--text-muted);
    font-family: var(--font-outfit);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.featured-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.featured-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-specs {
    background: var(--bg-sec);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.specs-title {
    font-family: var(--font-outfit);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.specs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.specs-list li i {
    color: var(--accent-orange);
    font-size: 14px;
}

.constraints-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.constraint-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 14px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.constraint-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.constraint-val {
    font-family: var(--font-outfit);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Mobile responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    .hero-btn-group {
        justify-content: center;
    }
    .hero-img-box {
        order: -1;
        width: 100%;
        max-width: 320px;
    }
    .grid-2, .grid-3, .contact-grid {
        grid-template-columns: 1fr;
    }
    .slider-container {
        height: 380px;
    }
    .aspirations-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .canvas-container {
        height: 300px;
    }
}
