/* --- BASE VARIABLES & THEME --- */
:root {
    --bg-deep: #0B0B0B;
    --primary-red: #900C3F;
    --primary-red-glow: rgba(144, 12, 63, 0.4);
    --accent-gold: #D4AF37;
    --accent-gold-glow: rgba(212, 175, 55, 0.3);
    
    --text-main: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dark: #1F2937;
    
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-hover: rgba(255, 255, 255, 0.05);
    
    --premium-glass: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    --premium-border: rgba(255,255,255,0.08);

    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-deep);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: var(--bg-deep);
}

.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    right: -5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary-red-glow) 0%, transparent 70%);
}

.glow-2 {
    bottom: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
}

/* --- LAYOUT --- */
.app-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.bottom-nav {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(11, 11, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-trigger {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 999;
}

.nav-trigger:hover ~ .bottom-nav,
.bottom-nav:hover {
    bottom: 0px;
}

.logo {
    margin-right: 2rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.accent-text {
    color: var(--primary-red);
    text-shadow: 0 0 15px var(--primary-red-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: var(--transition);
}

.nav-links a span {
    display: none;
}

@media (min-width: 768px) {
    .nav-links a span {
        display: inline;
    }
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
    background: var(--glass-bg);
    box-shadow: inset 0 0 0 1px var(--glass-border);
}

.nav-links a.active {
    color: var(--primary-red);
    background: rgba(144, 12, 63, 0.1);
    box-shadow: inset 0 0 0 1px rgba(144, 12, 63, 0.3);
}

.main-content {
    flex: 1;
    margin-left: 0;
    padding-bottom: 80px;
}

/* --- UTILITIES --- */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.glass-panel:hover {
    background: var(--glass-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.premium-glass {
    position: relative;
    background: var(--premium-glass);
    border: 1px solid var(--premium-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: var(--transition);
}

.premium-glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.premium-glass:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.section {
    min-height: 100vh;
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accent-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-red);
}

/* --- TYPOGRAPHY & BUTTONS --- */
.gradient-text {
    background: linear-gradient(135deg, var(--text-main), var(--primary-red));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 20px var(--primary-red-glow);
}

.btn-primary:hover {
    background: #5e0829;
    box-shadow: 0 0 30px var(--primary-red-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 20px var(--accent-gold-glow);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    box-shadow: 0 0 30px var(--accent-gold-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
#hero {
    min-height: 100vh;
    padding: 4rem;
    margin: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2rem;
}

.rotating-tagline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    height: 40px;
    overflow: hidden;
}

.tagline-prefix {
    color: var(--text-muted);
}

.tagline-wrapper {
    display: flex;
    flex-direction: column;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(212,175,55,0.5);
    animation: rotateText 16s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.tagline-text {
    height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

@keyframes rotateText {
    0%, 11% { transform: translateY(0); }
    14%, 25% { transform: translateY(-40px); }
    28%, 39% { transform: translateY(-80px); }
    42%, 53% { transform: translateY(-120px); }
    57%, 68% { transform: translateY(-160px); }
    71%, 82% { transform: translateY(-200px); }
    85%, 96% { transform: translateY(-240px); }
    100% { transform: translateY(-280px); }
}

/* Fix for smooth loop, JS duplicates the first item automatically */

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-portrait {
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 45%;
    max-width: 700px;
    height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.cutout-image {
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(-10px 10px 30px rgba(0,0,0,0.8));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- ABOUT SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    padding: 2.5rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-red);
    border: 1px solid rgba(255,255,255,0.1);
}

.card-icon.gold { color: var(--accent-gold); }
.card-icon.blue { color: var(--primary-red); }

.about-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- ACHIEVEMENTS --- */
.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.achievement-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: var(--accent-gold-glow);
    filter: blur(50px);
    border-radius: 50%;
}

.achievement-glow.blue { background: var(--primary-red-glow); }

.achievement-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.achievement-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.achievement-icon.gold {
    color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212,175,55,0.2);
}

.achievement-icon.blue {
    color: var(--primary-red);
    box-shadow: 0 0 20px rgba(37,99,235,0.2);
}

.achievement-org {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
}

.achievement-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
}

/* --- EXPERIENCE & EXPOSURE TIMELINE --- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-red), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2.35rem; top: 1.5rem;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 3px solid var(--primary-red);
    box-shadow: 0 0 15px var(--primary-red);
}

.timeline-content {
    padding: 2rem;
}

.timeline-header {
    margin-bottom: 1.5rem;
}

.timeline-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    color: var(--accent-gold);
    font-weight: 500;
}

.timeline-responsibilities {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timeline-responsibilities li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.timeline-responsibilities li i {
    color: var(--primary-red);
    width: 18px; height: 18px;
}

/* --- EXPOSURE GRID --- */
.exposure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.exposure-card {
    padding: 2.5rem;
}

.exposure-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.location {
    display: block;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-style: italic;
}

.exposure-details h4 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 500;
}

.exposure-details ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* --- SKILLS & CERTIFICATIONS --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skill-category {
    margin-bottom: 2.5rem;
}

.category-title {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    padding: 0.75rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(144, 12, 63, 0.1);
    border-color: rgba(144, 12, 63, 0.4);
    color: var(--primary-red);
    box-shadow: 0 0 15px rgba(144, 12, 63, 0.2);
    transform: translateY(-2px);
}

.glow-tags .skill-tag:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cert-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    cursor: default;
}

.cert-icon {
    width: 40px; height: 40px;
    color: var(--primary-red);
    transition: var(--transition);
}

.cert-card:hover .cert-icon {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.cert-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.cert-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- LEADERSHIP --- */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.leadership-card {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.leadership-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.leadership-card p {
    color: var(--text-muted);
}

.icon-wrapper {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(144, 12, 63, 0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

/* --- CONTACT --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 4rem;
    gap: 4rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    padding: 1rem;
    border-radius: 16px;
}

.contact-method:hover {
    background: var(--glass-bg);
    transform: translateX(10px);
}

.icon-circle {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-red);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.contact-method:hover .icon-circle {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 0 20px var(--primary-red-glow);
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-value {
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-send {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--primary-red), #1e3a8a);
    border-radius: 100px;
    text-decoration: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 10px 30px var(--primary-red-glow);
    transition: var(--transition);
}

.btn-send:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(144, 12, 63, 0.6);
}

.btn-send i {
    transition: transform 0.3s ease;
}

.btn-send:hover i {
    transform: translateX(5px);
}

/* --- FOOTER --- */
.footer {
    padding: 4rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-style: italic;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 0 20px var(--primary-red-glow);
    transform: translateY(-5px);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- ANIMATIONS & RESPONSIVE --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 1024px) {
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
        z-index: 1000;
    }
    .logo { margin-bottom: 0; }
    .nav-links {
        display: none; /* In a real app we'd add a hamburger menu */
    }
    .main-content {
        margin-left: 0;
        padding-top: 80px;
    }
    .split-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #hero {
        flex-direction: column;
        justify-content: center;
        text-align: left;
        padding: 2rem;
    }
    .hero-title { font-size: 3.5rem; }
    .section { padding: 4rem 2rem; }
}

