/* ===================================
   MODERN PORTFOLIO - ENHANCED UI/UX
   Color Psychology: Blues (Trust, Intelligence, Data)
   Teal Accents (Technology, Innovation)
   Warm CTAs (Action, Energy)
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Executive Navy */
    --primary-blue: #003366;
    /* Deep Navy */
    --primary-dark: #002244;
    --primary-light: #004488;

    /* Accent Colors - Minimalist */
    --accent-teal: #005a8d;
    /* Muted Blue-Teal */
    --accent-orange: #d35400;
    /* Darker, distinctive orange */
    --accent-purple: #5e35b1;

    /* Neutral Colors - High Contrast */
    --text-primary: #0a0a0a;
    --text-secondary: #333333;
    /* Darker for readability */
    --text-light: #666666;
    --bg-white: #ffffff;
    --bg-light: #f4f6f8;
    /* Cool corporate grey */
    --bg-lighter: #ffffff;
    --bg-dark: #121212;
    --bg-card: #ffffff;

    /* Gradients - FLATTENED to Solids (Functionally) */
    --gradient-primary: linear-gradient(135deg, #003366 0%, #003366 100%);
    --gradient-warm: linear-gradient(135deg, #d35400 0%, #d35400 100%);
    --gradient-cool: linear-gradient(135deg, #005a8d 0%, #005a8d 100%);

    /* Shadows - Minimalist */
    --shadow-sm: none;
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-2xl: 0 20px 25px rgba(0, 0, 0, 0.05);

    /* Border Radius - Sharp & Professional */
    --radius-sm: 2px;
    --radius-md: 2px;
    --radius-lg: 2px;
    --radius-xl: 2px;
    --radius-2xl: 2px;

    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 200ms ease-in-out;
    --transition-slow: 300ms ease-in-out;
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --text-primary: #f4f4f4;
    --text-secondary: #c6c6c6;
    --text-light: #a0a0a0;
    --bg-white: #1f1f1f;
    --bg-light: #2d2d2d;
    --bg-lighter: #121212;
    --bg-dark: #0a0a0a;
    --bg-card: #1f1f1f;

    /* Adjusted Shadows for Dark Mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.75);

    /* Adjusted Gradients for Dark Mode */
    --gradient-primary: linear-gradient(135deg, #4589ff 0%, #0f62fe 100%);
    --gradient-warm: linear-gradient(135deg, #ff9e5e 0%, #ff832b 100%);
}

/* Typography - Optimized Hierarchy */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    /* Improvement for readability */
    color: var(--text-primary);
    background-color: var(--bg-lighter);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* ===================================
   NAVIGATION - Glassmorphism
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    border-radius: 50%;
    margin-left: 1rem;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-blue);
    transform: rotate(15deg);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar Dark Mode Adjustment */
[data-theme="dark"] .navbar {
    background: rgba(18, 18, 18, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   HERO SECTION - Modern Gradient
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 131, 43, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(165, 110, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

.profile-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(255, 255, 255, 0.1);
    animation: fadeInScale 1s ease;
    position: relative;
}

.profile-image::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, rgba(255, 131, 43, 0.6), rgba(165, 110, 255, 0.6));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.profile-image:hover::after {
    opacity: 1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.profile-image:hover img {
    transform: scale(1.08);
}

/* Hero Showcase - Carousel */
.hero-showcase {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease 0.3s both;
}

.hero-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    flex-shrink: 0;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-slow);
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    z-index: 10;
    opacity: 0;
}

.hero-carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1.5rem;
}

.carousel-next {
    right: 1.5rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.highlight {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
    opacity: 0.95;
    letter-spacing: -0.3px;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-domains {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0;
    margin-bottom: 3rem;
    opacity: 0.85;
    font-weight: 500;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.btn {
    padding: 1rem 2.25rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

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

.social-links a {
    color: white;
    font-size: 2rem;
    transition: all var(--transition-base);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ===================================
   SECTION STYLES
   =================================== */
section {
    padding: 6rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--bg-white);
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.8;
    text-align: justify;
}

.about-text p:first-child::first-letter {
    font-size: 3.5rem;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin: 0 0.75rem 0 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   PROJECTS SECTION - Enhanced Cards
   =================================== */
.projects {
    background: var(--bg-lighter);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    box-shadow: none;
    transition: all var(--transition-base);
    border: 1px solid #e0e0e0;
    /* Crisp border */
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.project-card:hover {
    transform: none;
    /* No movement */
    border-color: var(--primary-blue);
    /* Highlight border instead */
    box-shadow: var(--shadow-md);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: transparent;
    /* Remove background */
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align left */
    margin-bottom: 1.5rem;
    box-shadow: none;
    transition: all var(--transition-base);
    padding-left: 0;
}

.project-card:hover .project-icon {
    transform: none;
    box-shadow: none;
}

.project-icon i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    /* Icon color matches theme */
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.project-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
}

.tag {
    background: var(--bg-light);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.tag:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.project-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

.project-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    flex: 1;
    min-width: 140px;
    justify-content: center;
    position: relative;
    z-index: 21;
    pointer-events: auto;
}

/* GitHub Button - Secondary Style */
.project-link-github {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--bg-light);
}

.project-link-github:hover {
    background: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Demo Button - Primary Style with Gradient */
.project-link-demo {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.25);
    position: relative;
    overflow: hidden;
}

.project-link-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.project-link-demo:hover::before {
    left: 100%;
}

.project-link-demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.4);
}

.project-link i {
    transition: transform var(--transition-base);
}

.project-link:hover i {
    transform: scale(1.15);
}

/* Disabled demo links (placeholder) */
.project-link-demo[href="#"] {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-light);
    color: var(--text-secondary);
    box-shadow: none;
}

/* ===================================
   UI ENHANCEMENTS
   =================================== */

/* Active Navigation */
.nav-link.active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary-blue);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
}

[data-theme="dark"] .filter-btn {
    background: var(--bg-light);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

[data-theme="dark"] .filter-btn:hover {
    background: var(--bg-lighter);
    color: white;
}

[data-theme="dark"] .filter-btn.active {
    background: var(--primary-blue);
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    text-decoration: none;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.project-link-demo[href="#"]:hover {
    transform: none;
    box-shadow: none;
}

/* ===================================
   CTA PROJECT CARD - CALL TO ACTION
   =================================== */
.project-card-cta {
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.05) 0%, rgba(255, 131, 43, 0.05) 100%);
    border: 2px solid rgba(15, 98, 254, 0.15);
    position: relative;
    overflow: visible;
}

.project-card-cta::before {
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    transform: scaleX(1);
    height: 5px;
}

.project-card-cta::after {
    content: '💼 Opportunity';
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
    z-index: 1;
}

.project-card-cta:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 98, 254, 0.2), 0 0 0 1px rgba(255, 131, 43, 0.2);
    border-color: rgba(15, 98, 254, 0.3);
}

.project-icon-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.3), 0 4px 12px rgba(255, 131, 43, 0.2);
    animation: pulse-cta 2s ease-in-out infinite;
}

.project-card-cta:hover .project-icon-cta {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 30px rgba(15, 98, 254, 0.4), 0 6px 18px rgba(255, 131, 43, 0.3);
}

@keyframes pulse-cta {

    0%,
    100% {
        box-shadow: 0 8px 20px rgba(15, 98, 254, 0.3), 0 4px 12px rgba(255, 131, 43, 0.2);
    }

    50% {
        box-shadow: 0 12px 30px rgba(15, 98, 254, 0.4), 0 6px 18px rgba(255, 131, 43, 0.3);
    }
}

.project-card-cta h3 {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tag-cta {
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.1), rgba(255, 131, 43, 0.1));
    border: 1px solid rgba(15, 98, 254, 0.2);
    color: var(--primary-blue);
}

.tag-cta:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: white;
    border-color: transparent;
}

.project-link-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.3);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.project-link-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.project-link-cta:hover::before {
    left: 100%;
}

.project-link-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 98, 254, 0.4), 0 4px 15px rgba(255, 131, 43, 0.3);
}

.project-link-cta i {
    animation: bounce-subtle 2s ease-in-out infinite;
}

@keyframes bounce-subtle {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }
}

/* ===================================
   PROJECT SCREENSHOTS GALLERY - ENHANCED
   =================================== */
.project-screenshots {
    margin: 2.5rem 0;
    position: relative;
}

/* Project Carousel Styles */
.project-carousel {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.project-carousel::before {
    content: '📸 Screenshots';
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
    z-index: 5;
}

.project-carousel .carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-xl);
}

.project-carousel .carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    will-change: transform;
}

.project-carousel .carousel-slide {
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

.project-carousel .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-slow);
    border-radius: var(--radius-xl);
    background: var(--bg-light);
}

.project-carousel .carousel-slide:hover img {
    transform: scale(1.05);
}

.project-carousel .screenshot-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: var(--bg-white);
    border-top: 2px solid var(--bg-light);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.project-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(15, 98, 254, 0.2);
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    z-index: 10;
    opacity: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-carousel:hover .carousel-btn {
    opacity: 1;
}

.project-carousel .carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.3);
}

.project-carousel .carousel-prev {
    left: 1rem;
}

.project-carousel .carousel-next {
    right: 1rem;
}

.project-carousel .carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.project-carousel .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(15, 98, 254, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.project-carousel .dot:hover {
    background: rgba(15, 98, 254, 0.5);
    transform: scale(1.2);
}

.project-carousel .dot.active {
    background: var(--primary-blue);
    width: 24px;
    border-radius: 6px;
    border-color: rgba(15, 98, 254, 0.3);
}

.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    background: var(--bg-white);
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
}

.screenshot-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
    border-radius: var(--radius-xl);
}

.screenshot-item:hover::before {
    opacity: 0.1;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
    transition: transform var(--transition-slow), opacity var(--transition-base);
    border-radius: var(--radius-xl);
    background: var(--bg-light);
    opacity: 0;
    animation: imageFadeIn 0.6s ease forwards;
}

.screenshot-item:hover img {
    transform: scale(1.08);
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Overlay on hover */
.screenshot-item::after {
    content: '🔍 Click to view full size';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 2;
    pointer-events: none;
}

.screenshot-item:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.screenshot-caption {
    padding: 1rem;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: var(--bg-white);
    border-top: 2px solid var(--bg-light);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.screenshot-caption::before {
    content: '📊';
    font-size: 1.1rem;
}

.screenshot-item:hover .screenshot-caption {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: white;
    border-top-color: transparent;
}

/* ===================================
   MODAL - ENHANCED LIGHTBOX
   =================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    max-width: 95%;
    max-height: 95vh;
    margin: auto;
    animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

.modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    z-index: 2001;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.modal-close:active {
    transform: rotate(90deg) scale(0.95);
}

/* Modal Navigation Buttons */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-base);
    z-index: 2001;
    opacity: 0.7;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 2rem;
}

.modal-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .modal-prev {
        left: 1rem;
    }

    .modal-next {
        right: 1rem;
    }
}

/* Responsive adjustments for screenshots */
@media (max-width: 768px) {
    .hero-showcase {
        margin-bottom: 2rem;
    }

    .hero-carousel {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        opacity: 0.7;
    }

    .carousel-prev {
        left: 0.75rem;
    }

    .carousel-next {
        right: 0.75rem;
    }

    .carousel-dots {
        bottom: 1rem;
    }

    .project-screenshots {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .project-screenshots::before {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
        left: 1.5rem;
    }

    .screenshot-item {
        aspect-ratio: 16 / 10;
    }

    .modal.active {
        padding: 1rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-showcase {
        margin-bottom: 1.5rem;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .carousel-prev {
        left: 0.5rem;
    }

    .carousel-next {
        right: 0.5rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }

    .project-screenshots {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .screenshot-item {
        aspect-ratio: 16 / 9;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===================================
   SKILLS SECTION - Modern Pills
   =================================== */
.skills {
    background: var(--bg-white);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.skill-category h3 {
    font-size: 1.375rem;
    margin-bottom: 1.75rem;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    letter-spacing: -0.5px;
}

.skill-category h3 i {
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.skill-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 4px 8px rgba(15, 98, 254, 0.2);
}

.skill-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(15, 98, 254, 0.3);
}

/* Compact Soft Skills Styling */
.skill-tags-compact {
    gap: 0.5rem;
}

.skill-tag-compact {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.skill-category-soft .skill-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .skill-category-soft .skill-tags {
        grid-template-columns: 1fr;
    }
}

/* CTA Skill Category */
.skill-category-cta {
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.08) 0%, rgba(255, 131, 43, 0.08) 100%);
    border: 2px solid rgba(15, 98, 254, 0.2);
    position: relative;
    overflow: visible;
}

.skill-category-cta::before {
    content: '💼';
    position: absolute;
    top: -15px;
    right: 2rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
    z-index: 1;
}

.skill-category-cta:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(15, 98, 254, 0.25), 0 0 0 1px rgba(255, 131, 43, 0.2);
    border-color: rgba(15, 98, 254, 0.3);
}

.skill-category-cta h3 {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-category-cta h3 i {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.skill-cta-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    text-align: center;
}

.skill-tag-cta {
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.15), rgba(255, 131, 43, 0.15));
    color: var(--primary-blue);
    border: 1px solid rgba(15, 98, 254, 0.3);
    box-shadow: 0 2px 6px rgba(15, 98, 254, 0.15);
}

.skill-tag-cta:hover {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: white;
    border-color: transparent;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px rgba(15, 98, 254, 0.3);
}

.skill-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: all var(--transition-base);
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.3);
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.skill-cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.skill-cta-button:hover::before {
    left: 100%;
}

.skill-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(15, 98, 254, 0.4), 0 4px 15px rgba(255, 131, 43, 0.3);
}

.skill-cta-button i {
    transition: transform var(--transition-base);
}

.skill-cta-button:hover i {
    transform: translateX(5px);
}

/* ===================================
   RECOMMENDATIONS SECTION - REDESIGNED
   =================================== */
.recommendations {
    background: var(--bg-lighter);
    position: relative;
}

.recommendations-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: -2rem auto 4rem;
    font-style: italic;
    line-height: 1.7;
    font-weight: 500;
}

.recommendations-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
}

.recommendations-carousel {
    position: relative;
    overflow: visible;
}

@media (max-width: 768px) {
    .recommendations-carousel {
        overflow: hidden;
    }
}

.recommendations-track {
    display: flex;
    gap: 2.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.recommendations-track .recommendation-card {
    flex: 0 0 calc((100% - 5rem) / 3);
    width: calc((100% - 5rem) / 3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.recommendation-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recommendation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.recommendation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.recommendation-card:hover::before {
    transform: scaleX(1);
}

/* Quote as Hero Element */
.recommendation-quote-wrapper {
    position: relative;
    flex: 1;
}

.quote-icon {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 98, 254, 0.25);
    z-index: 2;
}

.quote-icon i {
    font-size: 1.5rem;
    color: white;
}

.recommendation-quote {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin: 0;
    padding: 2rem 1.5rem 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.03) 0%, rgba(8, 189, 186, 0.03) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-blue);
    font-style: italic;
    position: relative;
    font-weight: 500;
}

.recommendation-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.1;
    position: absolute;
    left: 1.5rem;
    top: 0.5rem;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Footer with Author Info */
.recommendation-footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bg-light);
}

.recommendation-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.recommendation-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.25);
    transition: transform var(--transition-base);
}

.recommendation-card:hover .recommendation-avatar {
    transform: scale(1.1) rotate(5deg);
}

.recommendation-avatar i {
    font-size: 1.375rem;
    color: white;
}

.recommendation-info {
    flex: 1;
    min-width: 0;
}

.recommendation-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    letter-spacing: -0.2px;
}

.recommendation-role {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 0.125rem;
    line-height: 1.4;
}

.recommendation-relationship {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

/* View Full Recommendation Button */
.view-recommendation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    width: 100%;
}

.view-recommendation-btn i {
    transition: transform var(--transition-base);
}

.view-recommendation-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
}

.view-recommendation-btn:hover i {
    transform: scale(1.2);
}

/* Recommendation Carousel Navigation */
.recommendation-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--bg-light);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
    font-size: 1.125rem;
}


.recommendation-carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.3);
}

.recommendation-prev {
    left: -3.5rem;
}

.recommendation-next {
    right: -3.5rem;
}

@media (max-width: 1200px) {
    .recommendation-prev {
        left: -2rem;
    }

    .recommendation-next {
        right: -2rem;
    }
}

.recommendation-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    z-index: 10;
    position: relative;
}

.recommendation-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition-base);
}

.recommendation-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.recommendation-dot:hover {
    transform: scale(1.3);
    background: var(--accent-teal);
    border-color: var(--accent-teal);
}

/* ===================================
   CERTIFICATIONS SECTION
   =================================== */
.certifications {
    background: var(--bg-primary);
    position: relative;
    padding: 6rem 0;
}

.certifications-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: -2rem auto 4rem;
    font-style: italic;
    line-height: 1.7;
    font-weight: 500;
}

.certifications-carousel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 4rem;
}

.certifications-carousel {
    position: relative;
    overflow: visible;
}

.certifications-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.certifications-track .certificate-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    width: calc((100% - 4rem) / 3);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.certificate-card {
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.certificate-card:hover::before {
    transform: scaleX(1);
}

.certificate-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-light);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.certificate-image-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.certificate-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.certificate-image-wrapper:hover img {
    transform: scale(1.05);
}

.certificate-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.certificate-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.certificate-platform {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin: 0;
}

.certificate-date {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

/* Certificate Carousel Navigation */
.certificate-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--bg-light);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
    font-size: 1.125rem;
}

.certificate-carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.3);
}

.certificate-prev {
    left: -3.5rem;
}

.certificate-next {
    right: -3.5rem;
}

@media (max-width: 1200px) {
    .certificate-prev {
        left: -2rem;
    }

    .certificate-next {
        right: -2rem;
    }
}

.certificate-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    z-index: 10;
    position: relative;
    flex-wrap: wrap;
}

.certificate-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all var(--transition-base);
}

.certificate-dot.active {
    background: var(--primary-blue);
    transform: scale(1.2);
}

.certificate-dot:hover {
    transform: scale(1.3);
    background: var(--accent-teal);
    border-color: var(--accent-teal);
}

/* Responsive Certifications */
@media (max-width: 768px) {
    .certifications-carousel-wrapper {
        padding: 0 3.5rem;
    }

    .certifications-carousel {
        overflow: hidden;
    }

    .certifications-track {
        gap: 2rem;
    }

    .certifications-track .certificate-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .certificate-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .certificate-prev {
        left: 0.5rem;
    }

    .certificate-next {
        right: 0.5rem;
    }

    .certificate-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .certificate-title {
        font-size: 0.9375rem;
    }

    .certificate-platform {
        font-size: 0.8125rem;
    }

    .certificate-date {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .certifications-carousel-wrapper {
        padding: 0 2.5rem;
    }

    .certificate-card {
        padding: 1rem;
    }

    .certificate-prev {
        left: 0.25rem;
    }

    .certificate-next {
        right: 0.25rem;
    }

    .certificate-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .certificate-carousel-dots {
        gap: 0.5rem;
    }

    .certificate-dot {
        width: 8px;
        height: 8px;
    }
}

/* Responsive Recommendations */
@media (max-width: 768px) {
    .recommendations-subtitle {
        font-size: 1rem;
        margin: -1.5rem auto 3rem;
        padding: 0 1rem;
    }

    .recommendations-carousel-wrapper {
        padding: 0 3.5rem;
    }

    .recommendations-track {
        gap: 2rem;
    }

    .recommendations-track .recommendation-card {
        min-width: 100%;
    }

    .recommendation-card {
        padding: 2rem;
        gap: 1.5rem;
    }

    .recommendation-prev {
        left: 0.5rem;
    }

    .recommendation-next {
        right: 0.5rem;
    }

    .recommendation-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .quote-icon {
        width: 50px;
        height: 50px;
        top: -0.25rem;
        left: -0.25rem;
    }

    .quote-icon i {
        font-size: 1.25rem;
    }

    .recommendation-quote {
        font-size: 1rem;
        padding: 1.75rem 1.25rem 1.25rem 1.75rem;
    }

    .recommendation-quote::before {
        font-size: 3rem;
        left: 1.25rem;
        top: 0.25rem;
    }

    .recommendation-author {
        gap: 0.875rem;
    }

    .recommendation-avatar {
        width: 50px;
        height: 50px;
    }

    .recommendation-avatar i {
        font-size: 1.25rem;
    }

    .recommendation-name {
        font-size: 0.9375rem;
    }

    .recommendation-role {
        font-size: 0.75rem;
    }

    .view-recommendation-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .recommendations-carousel-wrapper {
        padding: 0 2.5rem;
    }

    .recommendation-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }

    .recommendation-quote {
        font-size: 0.9375rem;
        padding: 1.5rem 1rem 1rem 1.5rem;
        line-height: 1.7;
    }

    .quote-icon {
        width: 45px;
        height: 45px;
    }

    .recommendation-footer {
        gap: 1rem;
    }

    .recommendation-prev {
        left: 0.25rem;
    }

    .recommendation-next {
        right: 0.25rem;
    }

    .recommendation-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--bg-lighter);
}

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

.contact-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    cursor: pointer;
}

.contact-method:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-xl);
}

.contact-method-location {
    cursor: default;
}

.contact-method-location:hover {
    transform: none;
    background: var(--bg-card);
    color: var(--text-primary);
}

.contact-method-calendly {
    background: linear-gradient(135deg, #0069ff 0%, #0052cc 100%);
    color: white;
}

.contact-method-calendly:hover {
    background: linear-gradient(135deg, #0052cc 0%, #003d99 100%);
    color: white;
}

.contact-method i {
    font-size: 1.75rem;
    min-width: 30px;
}

.contact-method span {
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 0;
    background: transparent;
    border-radius: var(--radius-xl);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.form-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(8, 189, 186, 0.3);
    animation: float 3s ease-in-out infinite;
}

.form-header-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-label i {
    color: var(--accent-teal);
    font-size: 0.875rem;
}

.required {
    color: var(--accent-orange);
    font-weight: 700;
}

.form-input,
.form-textarea {
    padding: 1.125rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: var(--bg-lighter);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-base);
    width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-input:hover,
.form-textarea:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 4px rgba(8, 189, 186, 0.15);
    background: var(--bg-card);
    transform: translateY(-2px);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.form-helper-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.form-helper-text i {
    color: var(--accent-teal);
    font-size: 0.75rem;
}

.form-submit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.form-submit {
    padding: 1.125rem 3rem;
    font-size: 1.0625rem;
    font-weight: 600;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.form-submit .btn-text,
.form-submit .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(8, 189, 186, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-privacy-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

.form-privacy-note i {
    color: var(--accent-teal);
    font-size: 0.875rem;
}

/* Form Validation States */
.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
    border-color: var(--accent-orange);
}

.form-input:valid:not(:placeholder-shown),
.form-textarea:valid:not(:placeholder-shown) {
    border-color: rgba(8, 189, 186, 0.3);
}

@media (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        margin-top: 3rem;
    }

    .contact-form-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .form-header-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .form-header-icon i {
        font-size: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
    }

    .contact-form-subtitle {
        font-size: 0.9375rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-submit {
        width: 100%;
        min-width: auto;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin: 0.625rem 0;
    font-size: 0.9375rem;
}

.footer i {
    color: #ff6b9d;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40% {
        transform: scale(0.9);
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE DESIGN - Mobile First
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid var(--bg-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .projects-grid,
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-card,
    .skill-category {
        padding: 2rem;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .navbar .container {
        padding: 0.875rem 1rem;
    }

    .profile-image {
        width: 180px;
        height: 180px;
    }

    .project-card,
    .skill-category {
        padding: 1.75rem;
    }

    .project-icon {
        width: 60px;
        height: 60px;
    }

    .project-icon i {
        font-size: 1.75rem;
    }

    .contact-method {
        padding: 1rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   SMOOTH SCROLLING & UTILITIES
   =================================== */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--primary-blue);
    color: white;
}

::-webkit-scrollbar {
    width: 12px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

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

/* Focus Styles for Accessibility */
/* Skip to Content Link (Accessibility) */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    z-index: 10001;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 4px solid var(--accent-teal);
    outline-offset: 2px;
}

/* Enhanced Focus Indicators */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
    outline-style: solid;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
    outline-style: solid;
}

/* Remove default focus for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Enhanced focus for interactive elements */
.nav-link:focus,
.btn:focus,
.project-link:focus,
.carousel-btn:focus,
.certificate-carousel-btn:focus,
.recommendation-carousel-btn:focus,
.view-recommendation-btn:focus,
.cookie-btn:focus,
.skill-tag:focus,
.dot:focus,
.recommendation-dot:focus,
.certificate-dot:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(8, 189, 186, 0.3);
}

/* Image focus for keyboard navigation */
img[role="button"]:focus {
    outline: 3px solid var(--accent-teal);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   COOKIE CONSENT BANNER
   =================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem 2rem;
    border-top: 3px solid var(--primary-blue);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.cookie-consent-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.cookie-consent-text p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    white-space: nowrap;
}

.cookie-btn i {
    font-size: 1rem;
}

.cookie-btn-accept {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 98, 254, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 98, 254, 0.4);
}

.cookie-btn-reject {
    background: var(--bg-light);
    color: var(--text-primary);
    border-color: var(--bg-light);
}

.cookie-btn-reject:hover {
    background: var(--bg-lighter);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1.25rem 1.5rem;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .cookie-consent-text {
        min-width: auto;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================
   FINAL POLISH ANIMATIONS
   =================================== */

/* Scroll Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Typing Effect */
.typing-text {
    color: var(--accent-orange);
    font-weight: 700;
    position: relative;
    border-right: 3px solid var(--accent-orange);
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}