/* Jacob Masse Portfolio - Custom Styles */

/* CSS Variables for Design System */
:root {
    /* Core Colors - Professional Tech/Security Theme - All HSL */
    --bg-primary: 220, 15%, 8%;
    --bg-secondary: 220, 15%, 12%;
    --bg-muted: 220, 15%, 15%;
    --text-primary: 220, 15%, 95%;
    --text-secondary: 220, 15%, 70%;
    --text-muted: 220, 15%, 60%;
    
    --color-primary: 217, 91%, 60%;
    --color-primary-glow: 217, 91%, 70%;
    --color-accent: 280, 100%, 70%;
    --border-color: 220, 15%, 25%;
    --border-light: 220, 15%, 30%;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(217, 91%, 60%), hsl(280, 100%, 70%));
    --gradient-card: linear-gradient(135deg, hsl(220, 15%, 12%), hsl(220, 15%, 15%));
    
    /* Shadows with proper opacity */
    --shadow-glow: 0 0 40px hsla(217, 91%, 60%, 0.3);
    --shadow-card: 0 10px 30px -5px hsla(220, 15%, 5%, 0.5);
    --shadow-elevated: 0 20px 40px -10px hsla(220, 15%, 5%, 0.7);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    background-color: hsl(var(--bg-primary));
    color: hsl(var(--text-primary));
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Utility Classes */
.gradient-text {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-padding {
    padding: 5rem 0;
}

.bg-muted {
    background-color: hsl(var(--bg-muted)) !important;
}

/* Navigation */
.navbar {
    transition: var(--transition-smooth);
    background-color: transparent;
    padding: 1rem 0;
}

.hero-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.navbar.scrolled {
    background-color: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: hsl(var(--text-secondary)) !important;
    transition: var(--transition-smooth);
    margin: 0 0.5rem;
    font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: hsl(var(--color-primary)) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    color: hsl(var(--text-primary));
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Buttons */
.btn-gradient {
    background: var(--gradient-hero);
    border: none;
    color: white;
    font-weight: 500;
    transition: var(--transition-smooth);
    border-radius: 0.5rem;
}

.btn-gradient:hover {
    color: white;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: hsl(var(--border-light));
    color: hsl(var(--text-primary));
    background-color: transparent;
    font-weight: 500;
}

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../src/assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.9) 0%, 
        rgba(17, 24, 39, 0.8) 50%, 
        rgba(17, 24, 39, 0.7) 100%);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 16rem;
    height: 16rem;
    background-color: rgba(59, 130, 246, 0.1);
    top: 25%;
    left: 25%;
}

.floating-2 {
    width: 20rem;
    height: 20rem;
    background-color: rgba(168, 85, 247, 0.1);
    bottom: 25%;
    right: 25%;
    animation-delay: 1s;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 4vw, 2rem);
    color: hsl(var(--text-secondary));
    font-weight: 500;
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--text-secondary));
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.status-badge {
    background-color: hsla(var(--bg-secondary), 0.8);
    border: 1px solid hsl(var(--border-color));
    color: hsl(var(--text-primary));
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.skills-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.skill-badge {
    background-color: hsl(var(--bg-secondary));
    color: hsl(var(--text-primary));
    border: 1px solid hsl(var(--border-color));
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

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

.social-link {
    color: hsl(var(--text-secondary));
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    color: hsl(var(--color-primary));
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid hsl(var(--color-primary));
    border-radius: 1.25rem;
    position: relative;
}

.scroll-arrow::before {
    content: '';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.25rem;
    height: 0.75rem;
    background-color: hsl(var(--color-primary));
    border-radius: 0.125rem;
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Section Titles */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.25rem;
    color: hsl(var(--text-secondary));
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

/* Cards */
.card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
    border-radius: 1rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    margin-bottom: 1.5rem;
}

.card:hover {
    box-shadow: var(--shadow-elevated);
    transform: translateY(-5px);
}

/* Expertise Cards */
.expertise-card {
    padding: 0.5rem;
}

.expertise-card .card-body {
    padding: 2rem;
}

.expertise-card .icon-box {
    background-color: hsla(var(--color-primary), 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    height: 4rem;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.expertise-card:hover .icon-box {
    background-color: hsla(var(--color-primary), 0.25);
}

.expertise-card .icon-box i {
    color: hsl(var(--color-primary));
    font-size: 1.5rem;
}

.expertise-card .card-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.expertise-card .card-text {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

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

.skill-tag {
    background-color: hsla(var(--text-primary), 0.1);
    color: hsl(var(--text-secondary));
    border: 1px solid hsl(var(--border-color));
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Achievement Cards */
.achievement-card {
    padding: 0.5rem;
}

.achievement-card .card-body {
    padding: 2rem 1.5rem;
}

.achievement-card .achievement-icon {
    background-color: hsla(var(--color-accent), 0.15);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.achievement-card:hover .achievement-icon {
    background-color: hsla(var(--color-accent), 0.25);
}

.achievement-card .achievement-icon i {
    color: hsl(var(--color-accent));
    font-size: 1.5rem;
}

.achievement-card .card-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.achievement-card .card-text {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Mission Card */
.mission-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
    box-shadow: var(--shadow-elevated);
}

.mission-card .card-body {
    padding: 3rem 2rem;
}

.mission-card .card-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mission-card .card-text {
    color: hsl(var(--text-secondary));
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Experience Section */
.experience-timeline {
    position: relative;
}

.timeline-item {
    margin-bottom: 2rem;
}

.experience-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
}

.experience-card .card-header {
    background: transparent;
    border-bottom: 1px solid hsl(var(--border-color));
    padding: 2rem 2rem 1rem 2rem;
}

.experience-card .card-body {
    padding: 1rem 2rem 2rem 2rem;
}

.company-name {
    color: hsl(var(--text-primary));
    font-weight: 700;
    font-size: 1.25rem;
}

.position-title {
    color: hsl(var(--color-primary));
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.job-details {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    margin-bottom: 0;
}

.job-details i {
    color: hsl(var(--color-primary));
}

.experience-description {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.highlights-title {
    color: hsl(var(--text-primary));
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlights-list li {
    position: relative;
    padding-left: 1.25rem;
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.highlights-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.375rem;
    height: 0.375rem;
    background-color: hsl(var(--color-primary));
    border-radius: 50%;
}

/* Type Badges */
.type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.type-badge.current {
    background-color: hsla(var(--color-primary), 0.2);
    color: hsl(var(--color-primary));
    border: 1px solid hsla(var(--color-primary), 0.3);
}

.type-badge.entrepreneurship {
    background-color: hsla(var(--color-accent), 0.2);
    color: hsl(var(--color-accent));
    border: 1px solid hsla(var(--color-accent), 0.3);
}

.type-badge.consulting {
    background-color: hsla(147, 51%, 75%, 0.2);
    color: hsl(147, 51%, 75%);
    border: 1px solid hsla(147, 51%, 75%, 0.3);
}

/* Certifications */
.cert-card {
    padding: 0.5rem;
}

.cert-card .card-body {
    padding: 1.5rem;
}

.cert-card .cert-icon {
    background-color: hsla(var(--color-primary), 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.cert-card .cert-icon i {
    color: hsl(var(--color-primary));
    font-size: 1.25rem;
}

.cert-name {
    color: hsl(var(--text-primary));
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
}

.cert-category {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.cert-category.cloud {
    background-color: hsla(217, 91%, 60%, 0.2);
    color: hsl(217, 91%, 75%);
    border: 1px solid hsla(217, 91%, 60%, 0.3);
}

.cert-category.security {
    background: linear-gradient(135deg, #007BFF, #0056B3);
    color: white;
    border: none;
}

.cert-category.penetration-testing {
    background: linear-gradient(135deg, #007BFF, #0056B3);
    color: white;
    border: none;
}

.cert-category.pentest {
    background-color: hsla(280, 100%, 70%, 0.2);
    color: hsl(280, 100%, 85%);
    border: 1px solid hsla(280, 100%, 70%, 0.3);
}

.cert-category.language {
    background: linear-gradient(135deg, #6F42C1, #5A2D91);
    color: white;
    border: none;
}

.education-category.in-progress {
    background: linear-gradient(135deg, #FFC107, #E0A800);
    color: #000;
    border: none;
}

/* Project Status Badges */
.status-live {
    background: linear-gradient(135deg, #28A745, #1E7E34);
    color: white;
    border: none;
}

.status-development {
    background: linear-gradient(135deg, #FFC107, #E0A800);
    color: #000;
    border: none;
}

.status-completed {
    background: linear-gradient(135deg, #007BFF, #0056B3);
    color: white;
    border: none;
}

.status-acquired {
    background: linear-gradient(135deg, #6F42C1, #5A2D91);
    color: white;
    border: none;
}

/* Education Styling */
.education-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
    transition: var(--transition-smooth);
}

.education-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    border-color: hsl(var(--color-primary));
}

.education-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: hsla(var(--color-primary), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.education-icon i {
    font-size: 1.5rem;
    color: hsl(var(--color-primary));
}

.degree-name {
    color: hsl(var(--text-primary));
    margin-bottom: 0.5rem;
}

.university-name {
    margin-bottom: 1rem;
}

.education-description {
    color: hsl(var(--text-secondary));
    margin-bottom: 0;
}

/* Role Progression Styles */
.role-section {
    border-left: 2px solid hsl(var(--border-color));
    padding-left: 1rem;
    margin-left: 1rem;
}

.role-section:last-child {
    border-left-color: transparent;
}

.role-icon {
    background-color: hsla(var(--color-primary), 0.15);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.role-icon i {
    color: hsl(var(--color-primary));
    font-size: 0.875rem;
}

.role-title {
    color: hsl(var(--text-primary));
    font-weight: 600;
    font-size: 1rem;
}

.role-period {
    color: hsl(var(--text-muted));
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.role-highlights {
    margin: 0;
    padding-left: 1.25rem;
}

.role-highlights li {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.role-type {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

.role-type.casual {
    background-color: hsla(45, 100%, 50%, 0.15);
    color: hsl(45, 100%, 70%);
    border: 1px solid hsla(45, 100%, 50%, 0.3);
}

.role-type.fulltime {
    background-color: hsla(120, 50%, 50%, 0.15);
    color: hsl(120, 50%, 70%);
    border: 1px solid hsla(120, 50%, 50%, 0.3);
}

.role-type.internship {
    background-color: hsla(200, 100%, 50%, 0.15);
    color: hsl(200, 100%, 70%);
    border: 1px solid hsla(200, 100%, 50%, 0.3);
}

.type-badge.progression {
    background-color: hsla(var(--color-accent), 0.15);
    color: hsl(var(--color-accent));
    border: 1px solid hsla(var(--color-accent), 0.3);
}

/* Project dates and company styling */
.project-dates {
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 0.25rem;
}

.project-company {
    font-size: 0.85rem;
    color: hsl(var(--color-primary));
    font-style: italic;
}

/* Research Cards */
.research-card {
    padding: 0.5rem;
}

.research-card .card-body {
    padding: 1.5rem;
}

.research-card .research-icon {
    background-color: hsla(var(--color-accent), 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.research-card .research-icon i {
    color: hsl(var(--color-accent));
    font-size: 1.25rem;
}

.research-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    font-size: 1.125rem;
}

.research-description {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Severity Badges */
.severity-critical {
    background: linear-gradient(135deg, #DC3545, #B02A37);
    color: white;
    border: none;
}

.severity-high {
    background: linear-gradient(135deg, #FD7E14, #E55A00);
    color: white;
    border: none;
}

.severity-medium {
    background: linear-gradient(135deg, #FFC107, #E0A800);
    color: #000;
    border: none;
}

/* Contact Section */
.contact-card {
    padding: 0.5rem;
}

.contact-card .card-body {
    padding: 1.5rem;
}

.contact-card .contact-icon {
    background-color: hsla(var(--color-primary), 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.contact-card .contact-icon i {
    color: hsl(var(--color-primary));
    font-size: 1.25rem;
}

.contact-label {
    color: hsl(var(--text-primary));
    font-weight: 600;
    font-size: 1rem;
}

.contact-value {
    color: hsl(var(--color-primary));
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-value:hover {
    color: hsl(var(--color-primary-glow));
}

.contact-description {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    margin: 0.5rem 0 0 0;
    line-height: 1.5;
}

/* Availability Cards */
.availability-card {
    padding: 0.5rem;
}

.availability-card .card-body {
    padding: 1.5rem;
}

.availability-card .availability-icon {
    background-color: hsla(var(--color-accent), 0.15);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    flex-shrink: 0;
}

.availability-card .availability-icon i {
    color: hsl(var(--color-accent));
    font-size: 1.25rem;
}

.availability-title {
    color: hsl(var(--text-primary));
    font-weight: 600;
    font-size: 1rem;
}

.availability-description {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Status Badges */
.status-available {
    background-color: hsla(142, 71%, 45%, 0.2);
    color: hsl(142, 71%, 75%);
    border: 1px solid hsla(142, 71%, 45%, 0.3);
}

.status-limited {
    background-color: hsla(45, 93%, 47%, 0.2);
    color: hsl(45, 93%, 70%);
    border: 1px solid hsla(45, 93%, 47%, 0.3);
}

/* CTA Cards */
.cta-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
    box-shadow: var(--shadow-elevated);
}

.cta-card .card-body {
    padding: 2.5rem 2rem;
}

.cta-card .card-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card .card-text {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

.final-cta-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
    box-shadow: var(--shadow-elevated);
}

.final-cta-card .card-body {
    padding: 3rem 2rem;
}

.final-cta-card .card-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.final-cta-card .card-text {
    color: hsl(var(--text-secondary));
    font-size: 1.125rem;
    line-height: 1.7;
}

.language-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.language-badge {
    background-color: hsla(var(--text-primary), 0.1);
    color: hsl(var(--text-secondary));
    border: 1px solid hsl(var(--border-color));
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.working-globally-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
}

.working-globally-card .card-body {
    padding: 2rem;
}

.working-globally-card .card-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    margin-bottom: 1rem;
}

.working-globally-card .card-text {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: hsl(var(--bg-secondary));
    border-top: 1px solid hsl(var(--border-color));
    padding: 3rem 0 2rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

.footer-location {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
}

.footer-location i {
    color: hsl(var(--color-primary));
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-badge {
    background-color: hsla(var(--text-primary), 0.1);
    color: hsl(var(--text-secondary));
    border: 1px solid hsl(var(--border-color));
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
}

.footer-section-title {
    color: hsl(var(--text-primary));
    font-weight: 600;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: hsl(var(--text-secondary));
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: hsl(var(--color-primary));
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social-link {
    color: hsl(var(--text-secondary));
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

.footer-social-link:hover {
    color: hsl(var(--color-primary));
    transform: translateX(5px);
}

.footer-divider {
    border-color: hsl(var(--border-color));
    margin: 2rem 0 1.5rem;
}

.footer-bottom-text {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-status-text {
    color: hsl(var(--text-secondary));
    font-size: 0.75rem;
}

/* Global Card Text Fix */
.card-text {
    color: hsl(var(--text-secondary)) !important;
    line-height: 1.6;
}

.card-title {
    color: hsl(var(--text-primary)) !important;
    font-weight: 700;
}

/* Projects Section */
.project-card {
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.project-card:hover {
    transform: translateY(-3px);
}

.project-card .card-body {
    padding: 2rem;
}

.project-header {
    border-bottom: 1px solid hsl(var(--border-color));
    padding-bottom: 1rem;
}

.project-title {
    color: hsl(var(--text-primary));
    font-weight: 700;
    font-size: 1.25rem;
}

.project-subtitle {
    color: hsl(var(--color-primary));
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
}

.project-description {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-badge {
    background-color: hsla(var(--color-primary), 0.15);
    color: hsl(var(--color-primary));
    border: 1px solid hsla(var(--color-primary), 0.3);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-status .status-live {
    background-color: hsla(142, 71%, 45%, 0.2);
    color: hsl(142, 71%, 75%);
    border: 1px solid hsla(142, 71%, 45%, 0.3);
}

.project-status .status-development {
    background-color: hsla(217, 91%, 60%, 0.2);
    color: hsl(217, 91%, 75%);
    border: 1px solid hsla(217, 91%, 60%, 0.3);
}

.project-status .status-ongoing {
    background-color: hsla(280, 100%, 70%, 0.2);
    color: hsl(280, 100%, 85%);
    border: 1px solid hsla(280, 100%, 70%, 0.3);
}

.project-links .btn {
    margin-right: 0.5rem;
}

.project-impact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid hsl(var(--border-color));
}

.project-achievements {
    margin-top: 1rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
}

.project-cves .cve-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: hsl(var(--text-secondary));
}

/* Testimonials Section */
.testimonial-card {
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-3px);
}

.testimonial-card .card-body {
    padding: 2rem;
}

.testimonial-icon {
    font-size: 2rem;
    color: hsl(var(--color-primary));
    margin-bottom: 1rem;
}

.testimonial-text {
    color: hsl(var(--text-secondary));
    font-style: italic;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border-color));
}

.author-info {
    flex-grow: 1;
}

.author-name {
    color: hsl(var(--text-primary));
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-title {
    color: hsl(var(--text-muted));
    font-size: 0.875rem;
    margin: 0;
}

/* Organizations Section */
.organization-card {
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.organization-card:hover {
    transform: translateY(-3px);
}

.organization-card .card-body {
    padding: 2rem;
}

.organization-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.organization-name {
    color: hsl(var(--text-primary));
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.organization-role {
    color: hsl(var(--color-primary));
    font-weight: 500;
    margin-bottom: 1rem;
}

.organization-description {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
    font-size: 0.875rem;
}

.status-current {
    background-color: hsla(142, 71%, 45%, 0.2);
    color: hsl(142, 71%, 75%);
    border: 1px solid hsla(142, 71%, 45%, 0.3);
}

.status-consulting {
    background-color: hsla(280, 100%, 70%, 0.2);
    color: hsl(280, 100%, 85%);
    border: 1px solid hsla(280, 100%, 70%, 0.3);
}

/* Certification Bodies */
.certification-body-card {
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.certification-body-card:hover {
    transform: translateY(-3px);
}

.certification-body-card .card-body {
    padding: 1.5rem;
}

.cert-body-icon {
    font-size: 2.5rem;
}

.cert-body-name {
    color: hsl(var(--text-primary));
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.cert-credential {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    margin: 0;
}

/* Professional Networks */
.professional-networks-card {
    background: var(--gradient-card);
    border: 1px solid hsl(var(--border-color));
    box-shadow: var(--shadow-elevated);
}

.professional-networks-card .card-body {
    padding: 3rem 2rem;
}

.network-item {
    padding: 1rem;
}

.network-item i {
    font-size: 2rem;
    display: block;
}

.network-item h5 {
    color: hsl(var(--text-primary));
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.network-item p {
    color: hsl(var(--text-secondary));
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .project-card .card-body,
    .testimonial-card .card-body,
    .organization-card .card-body {
        padding: 1.5rem;
    }
    
    .project-tech,
    .project-cves {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tech-badge {
        margin-bottom: 0.25rem;
    }
    
    .testimonial-icon {
        font-size: 1.5rem;
    }
    
    .organization-icon {
        font-size: 2.5rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .skills-badges {
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .floating-1,
    .floating-2 {
        width: 12rem;
        height: 12rem;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .expertise-card .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .expertise-card .icon-box {
        margin: 0 auto 1rem;
    }
}

/* Offcanvas Customization */
.offcanvas {
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
}

.offcanvas-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.btn-close {
    filter: invert(1);
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}