/* ===================================
   CSS Variables & Theme
   =================================== */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --bg-card: #16161f;

    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);

    --drupal-blue: #0678be;
    --success: #10b981;
    --warning: #f59e0b;

    /* Spacing */
    --section-padding: 100px;
    --container-width: 1200px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Borders */
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
}

/* ===================================
   Reset & Base Styles
   =================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    counter-reset: section-counter;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

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

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
    color: #009fe3;
}

.logo-signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-code {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-normal);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Hamburger to X animation */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Hide mobile menu close button on desktop */
.mobile-menu-close {
    display: none;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 1rem;
}

.hero-title {
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .greeting {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.hero-title .name {
    display: block;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-subtitle .typewriter {
    color: var(--accent-primary);
    font-weight: 600;
}

.hero-subtitle .separator {
    color: var(--text-muted);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-description strong {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 1rem;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.3);
    color: var(--bg-primary);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ===================================
   Sections
   =================================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    counter-increment: section-counter;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.title-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.title-number::before {
    content: "0" counter(section-counter) ".";
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 48px;
    max-width: 600px;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 48px 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.subsection-title i {
    color: var(--accent-primary);
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 48px;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.image-frame img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    filter: grayscale(20%);
    transition: filter var(--transition-normal);
}

.image-frame:hover img {
    filter: grayscale(0%);
}

.image-border {
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transition: all var(--transition-normal);
}

.image-frame:hover .image-border {
    inset: 12px -12px -12px 12px;
}

.about-text {
    font-size: 1.05rem;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--text-primary);
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-tertiary);
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight i {
    color: var(--accent-primary);
}

/* ===================================
   Skills Section - Tech Stack Bubbles
   =================================== */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    margin-bottom: 60px;
}

.tech-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: default;
}

.tech-bubble i {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.tech-bubble:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-bubble:hover i {
    transform: scale(1.1);
}

/* Technology-specific colors */
.tech-bubble.drupal { border-color: rgba(0, 159, 227, 0.3); }
.tech-bubble.drupal:hover { background: rgba(0, 159, 227, 0.15); border-color: #009fe3; }
.tech-bubble.drupal i { color: #009fe3; }

.tech-bubble.php { border-color: rgba(119, 123, 180, 0.3); }
.tech-bubble.php:hover { background: rgba(119, 123, 180, 0.15); border-color: #777BB4; }
.tech-bubble.php i { color: #777BB4; }

.tech-bubble.twig { border-color: rgba(186, 205, 34, 0.3); }
.tech-bubble.twig:hover { background: rgba(186, 205, 34, 0.15); border-color: #BACD22; }
.tech-bubble.twig i { color: #BACD22; }

.tech-bubble.drush { border-color: rgba(0, 212, 255, 0.3); }
.tech-bubble.drush:hover { background: rgba(0, 212, 255, 0.15); border-color: var(--accent-primary); }
.tech-bubble.drush i { color: var(--accent-primary); }

.tech-bubble.composer { border-color: rgba(136, 80, 50, 0.3); }
.tech-bubble.composer:hover { background: rgba(136, 80, 50, 0.15); border-color: #885032; }
.tech-bubble.composer i { color: #885032; }

.tech-bubble.html { border-color: rgba(227, 79, 38, 0.3); }
.tech-bubble.html:hover { background: rgba(227, 79, 38, 0.15); border-color: #E34F26; }
.tech-bubble.html i { color: #E34F26; }

.tech-bubble.css { border-color: rgba(38, 77, 228, 0.3); }
.tech-bubble.css:hover { background: rgba(38, 77, 228, 0.15); border-color: #264DE4; }
.tech-bubble.css i { color: #264DE4; }

.tech-bubble.javascript { border-color: rgba(247, 223, 30, 0.3); }
.tech-bubble.javascript:hover { background: rgba(247, 223, 30, 0.15); border-color: #F7DF1E; }
.tech-bubble.javascript i { color: #F7DF1E; }

.tech-bubble.typescript { border-color: rgba(49, 120, 198, 0.3); }
.tech-bubble.typescript:hover { background: rgba(49, 120, 198, 0.15); border-color: #3178C6; }
.tech-bubble.typescript i { color: #3178C6; }

.tech-bubble.react { border-color: rgba(97, 218, 251, 0.3); }
.tech-bubble.react:hover { background: rgba(97, 218, 251, 0.15); border-color: #61DAFB; }
.tech-bubble.react i { color: #61DAFB; }

.tech-bubble.sass { border-color: rgba(204, 102, 153, 0.3); }
.tech-bubble.sass:hover { background: rgba(204, 102, 153, 0.15); border-color: #CC6699; }
.tech-bubble.sass i { color: #CC6699; }

.tech-bubble.mysql { border-color: rgba(0, 117, 143, 0.3); }
.tech-bubble.mysql:hover { background: rgba(0, 117, 143, 0.15); border-color: #00758F; }
.tech-bubble.mysql i { color: #00758F; }

.tech-bubble.redis { border-color: rgba(220, 56, 45, 0.3); }
.tech-bubble.redis:hover { background: rgba(220, 56, 45, 0.15); border-color: #DC382D; }
.tech-bubble.redis i { color: #DC382D; }

.tech-bubble.symfony { border-color: rgba(255, 255, 255, 0.2); }
.tech-bubble.symfony:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.tech-bubble.symfony i { color: #fff; }

.tech-bubble.jira { border-color: rgba(0, 82, 204, 0.3); }
.tech-bubble.jira:hover { background: rgba(0, 82, 204, 0.15); border-color: #0052CC; }
.tech-bubble.jira i { color: #0052CC; }

.tech-bubble.asana { border-color: rgba(243, 115, 103, 0.3); }
.tech-bubble.asana:hover { background: rgba(243, 115, 103, 0.15); border-color: #F37367; }
.tech-bubble.asana i { color: #F37367; }

.tech-bubble.git { border-color: rgba(240, 80, 51, 0.3); }
.tech-bubble.git:hover { background: rgba(240, 80, 51, 0.15); border-color: #F05033; }
.tech-bubble.git i { color: #F05033; }

.tech-bubble.github { border-color: rgba(255, 255, 255, 0.2); }
.tech-bubble.github:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.tech-bubble.github i { color: #fff; }

.tech-bubble.azure { border-color: rgba(0, 127, 255, 0.3); }
.tech-bubble.azure:hover { background: rgba(0, 127, 255, 0.15); border-color: #007FFF; }
.tech-bubble.azure i { color: #007FFF; }

.tech-bubble.aws { border-color: rgba(255, 153, 0, 0.3); }
.tech-bubble.aws:hover { background: rgba(255, 153, 0, 0.15); border-color: #FF9900; }
.tech-bubble.aws i { color: #FF9900; }

.tech-bubble.docker { border-color: rgba(36, 150, 237, 0.3); }
.tech-bubble.docker:hover { background: rgba(36, 150, 237, 0.15); border-color: #2496ED; }
.tech-bubble.docker i { color: #2496ED; }

.tech-bubble.acquia { border-color: rgba(0, 159, 227, 0.3); }
.tech-bubble.acquia:hover { background: rgba(0, 159, 227, 0.15); border-color: #009FE3; }
.tech-bubble.acquia i { color: #009FE3; }

.tech-bubble.pantheon { border-color: rgba(255, 220, 40, 0.3); }
.tech-bubble.pantheon:hover { background: rgba(255, 220, 40, 0.15); border-color: #FFDC28; }
.tech-bubble.pantheon i { color: #FFDC28; }

.tech-bubble.figma { border-color: rgba(242, 78, 30, 0.3); }
.tech-bubble.figma:hover { background: rgba(242, 78, 30, 0.15); border-color: #F24E1E; }
.tech-bubble.figma i { color: #F24E1E; }

.tech-bubble.vscode { border-color: rgba(0, 122, 204, 0.3); }
.tech-bubble.vscode:hover { background: rgba(0, 122, 204, 0.15); border-color: #007ACC; }
.tech-bubble.vscode i { color: #007ACC; }

.tech-bubble.apis { border-color: rgba(124, 58, 237, 0.3); }
.tech-bubble.apis:hover { background: rgba(124, 58, 237, 0.15); border-color: var(--accent-secondary); }
.tech-bubble.apis i { color: var(--accent-secondary); }

.tech-bubble.postman { border-color: rgba(255, 108, 55, 0.3); }
.tech-bubble.postman:hover { background: rgba(255, 108, 55, 0.15); border-color: #FF6C37; }
.tech-bubble.postman i { color: #FF6C37; }

.tech-bubble.salesforce { border-color: rgba(0, 161, 224, 0.3); }
.tech-bubble.salesforce:hover { background: rgba(0, 161, 224, 0.15); border-color: #00A1E0; }
.tech-bubble.salesforce i { color: #00A1E0; }

.tech-bubble.hubspot { border-color: rgba(255, 122, 89, 0.3); }
.tech-bubble.hubspot:hover { background: rgba(255, 122, 89, 0.15); border-color: #FF7A59; }
.tech-bubble.hubspot i { color: #FF7A59; }

.tech-bubble.crazyegg { border-color: rgba(255, 165, 0, 0.3); }
.tech-bubble.crazyegg:hover { background: rgba(255, 165, 0, 0.15); border-color: #FFA500; }
.tech-bubble.crazyegg i { color: #FFA500; }

.tech-bubble.clickup { border-color: rgba(124, 58, 237, 0.3); }
.tech-bubble.clickup:hover { background: rgba(124, 58, 237, 0.15); border-color: #7C3AED; }
.tech-bubble.clickup i { color: #7C3AED; }

/* Skill Categories - Compact Layout */
.skill-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-cat {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
}

.skill-cat:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.skill-cat-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.skill-cat-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.skill-cat-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .skill-categories {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-stack {
        gap: 12px;
    }

    .tech-bubble {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .tech-bubble i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .tech-bubble {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .skill-cat {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===================================
   Certifications Section - Grouped Layout
   =================================== */
.cert-versions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.cert-version-group {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.cert-version-group:hover {
    border-color: rgba(0, 212, 255, 0.2);
}

.cert-version-group.triple-certified {
    border-color: rgba(0, 212, 255, 0.15);
}

.cert-version-group.github {
    border-color: rgba(255, 255, 255, 0.1);
}

.version-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.version-number {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.cert-version-group.github .version-number {
    background: linear-gradient(135deg, #333 0%, #24292e 100%);
    color: #fff;
    font-size: 1.3rem;
}

.version-info {
    flex: 1;
}

.version-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.version-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
}

.version-badge.new {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.version-badge.triple {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-primary);
}

.version-badge.github {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.triple-badge {
    width: 70px;
    height: auto;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
    transition: all var(--transition-normal);
}

.cert-version-group:hover .triple-badge {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.version-certs {
    padding: 8px 0;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    transition: background var(--transition-fast);
}

.cert-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.cert-item > i:first-child {
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.cert-details {
    flex: 1;
}

.cert-details h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

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

.cert-check {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

.cert-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .cert-versions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .version-header {
        padding: 16px 20px;
    }

    .triple-badge {
        width: 55px;
        right: 16px;
    }

    .cert-item {
        padding: 12px 20px;
    }

    .version-number {
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
}

/* ===================================
   Contributions Section
   =================================== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: all var(--transition-normal);
    display: block;
}

.module-card:hover {
    border-color: var(--drupal-blue);
    transform: translateY(-4px);
    color: var(--text-primary);
}

.module-icon {
    width: 45px;
    height: 45px;
    background: rgba(6, 120, 190, 0.15);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--drupal-blue);
    margin-bottom: 16px;
}

.module-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.module-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contributions-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 24px;
}

.contrib-stat {
    text-align: center;
}

.contrib-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

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

.contrib-projects {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.contrib-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contrib-btn {
    margin-top: 16px;
}

/* ===================================
   Events Section - Horizontal Timeline
   =================================== */
.events-timeline-wrapper {
    position: relative;
    margin-top: 48px;
    padding: 0 60px;
}

.events-timeline {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 0 40px;
    -webkit-overflow-scrolling: touch;
}

.events-timeline::-webkit-scrollbar {
    height: 8px;
}

.events-timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.events-timeline::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.events-timeline::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.event-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    min-width: 350px;
    max-width: 350px;
    position: relative;
    transition: all var(--transition-normal);
    overflow: hidden;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.event-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.event-card:hover::before {
    transform: scaleY(1);
}

.event-card:hover::after {
    transform: scaleX(1);
}

.event-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 16px;
    border-radius: 25px;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.event-type::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Event Type Colors */
.event-card.organized .event-type {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.event-card.organized:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
}

.event-card.organized::before {
    background: #10b981;
}

.event-card.volunteered .event-type {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.event-card.volunteered:hover {
    border-color: rgba(0, 212, 255, 0.4);
}

.event-card.attended .event-type {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.event-card.attended:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.15);
}

.event-card.attended::before {
    background: #f59e0b;
}

.event-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
}

.event-location,
.event-date {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.event-location i,
.event-date i {
    color: var(--accent-primary);
    width: 18px;
    font-size: 0.9rem;
}

/* Timeline Navigation Buttons */
.timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-nav:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.timeline-prev {
    left: 0;
}

.timeline-next {
    right: 0;
}

@media (max-width: 768px) {
    .events-timeline-wrapper {
        padding: 0 20px;
    }

    .event-card {
        min-width: 280px;
        max-width: 280px;
        padding: 24px;
    }

    .timeline-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline-prev {
        left: -10px;
    }

    .timeline-next {
        right: -10px;
    }
}

/* ===================================
   Experience Section
   =================================== */
.timeline {
    position: relative;
    margin-top: 48px;
    padding-left: 40px;
}

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

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

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

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.current .timeline-marker {
    background: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 28px;
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-content {
    border-color: rgba(0, 212, 255, 0.3);
}

.timeline-date {
    display: inline-block;
    background: var(--accent-gradient);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-content h4 {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content p:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    text-align: center;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px 40px;
    min-width: 180px;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.contact-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    color: var(--text-primary);
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent-primary);
}

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

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

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    text-align: center;
}

.footer-tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    width: 44px;
    height: 44px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.footer-links a:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

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

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .image-frame {
        max-width: 250px;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(22, 22, 31, 0.95) 50%, rgba(16, 16, 26, 0.98) 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        gap: 8px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 9999;
        overflow: hidden;
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 800px;
        height: 800px;
        background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        padding: 18px 40px;
        font-size: 1.8rem;
        font-weight: 600;
        border-bottom: none;
        opacity: 0;
        transform: scale(0.8) translateY(30px);
        transition: all 0.3s ease;
        text-align: center;
        width: auto;
        position: relative;
        z-index: 1;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }

    /* Staggered animation for menu items */
    .nav-menu.active .nav-link {
        animation: zoomFadeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.35s; }
    .nav-menu.active .nav-link:nth-child(7) { animation-delay: 0.4s; }

    @keyframes zoomFadeIn {
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }

    /* Mobile Menu Close Button */
    .mobile-menu-close {
        display: flex !important;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        background: rgba(0, 212, 255, 0.1);
        border: 2px solid rgba(0, 212, 255, 0.3);
        border-radius: 50%;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transform: rotate(0deg) scale(0.5);
        transition: all 0.3s ease;
        z-index: 2;
    }

    .nav-menu.active .mobile-menu-close {
        opacity: 1;
        transform: rotate(180deg) scale(1);
        animation-delay: 0.2s;
    }

    .mobile-menu-close:hover {
        background: rgba(0, 212, 255, 0.2);
        border-color: var(--accent-primary);
        transform: rotate(180deg) scale(1.1);
    }

    .mobile-menu-close i {
        font-size: 1.5rem;
        color: var(--accent-primary);
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle.active .hamburger {
        background: transparent;
    }

    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .hero-subtitle {
        flex-direction: column;
        gap: 8px;
    }

    .hero-subtitle .separator {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .cert-badges {
        gap: 24px;
    }

    .cert-badge img {
        width: 120px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contributions-stats {
        justify-content: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-marker {
        left: -30px;
        width: 14px;
        height: 14px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .cert-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        flex-direction: column;
    }

    .highlight {
        justify-content: center;
    }
}

/* ===================================
   Featured Link (About Section)
   =================================== */
.featured-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
}

.featured-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.featured-link i:first-child {
    color: var(--accent-primary);
    font-size: 1.2rem;
}

.featured-link i:last-child {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.featured-link span {
    flex: 1;
}

/* ===================================
   Timeline Skills Tags
   =================================== */
.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.timeline-skills span {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================================
   Testimonials Carousel Section
   =================================== */
.testimonials-carousel {
    position: relative;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    display: none;
    flex-direction: column;
    min-height: 400px;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
    animation: fadeInSlide 0.6s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-content {
    flex: 1;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.2;
}

.testimonial-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    padding-left: 50px;
    margin: 0;
    font-style: italic;
}

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

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.author-info .relationship,
.author-info .company {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-top: 8px;
}

.author-info .relationship i,
.author-info .company i {
    font-size: 0.75rem;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.carousel-dot:hover {
    background: rgba(0, 212, 255, 0.5);
}

.carousel-dot.active {
    background: var(--accent-primary);
    width: 32px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .testimonials-carousel {
        max-width: 100%;
    }

    .testimonial-card {
        padding: 32px 24px;
        min-height: 350px;
    }

    .testimonial-content p {
        font-size: 0.95rem;
        padding-left: 0;
        padding-top: 40px;
    }

    .quote-icon {
        left: 50%;
        transform: translateX(-50%);
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .featured-link {
        flex-direction: column;
        text-align: center;
    }

    .featured-link i:last-child {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 24px;
    }

    .testimonial-content p {
        padding-left: 0;
        padding-top: 32px;
    }

    .quote-icon {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ===================================
   Contact Form
   =================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-form-container,
.contact-links-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.form-title i {
    color: var(--accent-primary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: left;
}

.form-group label .required {
    color: var(--accent-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: all var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading span {
    display: none;
}

.btn-submit.loading::after {
    content: "Sending...";
}

.form-result {
    text-align: center;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    display: none;
}

.form-result.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-result.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-links-container .contact-links {
    flex-direction: column;
    gap: 16px;
}

.contact-links-container .contact-card {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
}

.contact-links-container .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
}

.contact-links-container .contact-card:hover::before {
    transform: scaleY(1);
}

.contact-links-container .contact-card i {
    font-size: 1.8rem;
    transition: all var(--transition-normal);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 212, 255, 0.1);
}

.contact-links-container .contact-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.contact-links-container .contact-card span {
    flex: 1;
    text-align: left;
    font-size: 1.05rem;
}

.contact-links-container .contact-card small {
    text-align: right;
    font-size: 0.9rem;
}

/* Platform-specific colors on hover */
.contact-card:has(.fa-drupal):hover {
    border-color: #009fe3;
    box-shadow: 0 8px 30px rgba(0, 159, 227, 0.2);
}

.contact-card:has(.fa-drupal):hover i {
    background: rgba(0, 159, 227, 0.15);
    color: #009fe3;
}

.contact-card:has(.fa-linkedin):hover {
    border-color: #0077b5;
    box-shadow: 0 8px 30px rgba(0, 119, 181, 0.2);
}

.contact-card:has(.fa-linkedin):hover i {
    background: rgba(0, 119, 181, 0.15);
    color: #0077b5;
}

.contact-card:has(.fa-twitter):hover {
    border-color: #1da1f2;
    box-shadow: 0 8px 30px rgba(29, 161, 242, 0.2);
}

.contact-card:has(.fa-twitter):hover i {
    background: rgba(29, 161, 242, 0.15);
    color: #1da1f2;
}

.contact-card:has(.fa-gitlab):hover {
    border-color: #fc6d26;
    box-shadow: 0 8px 30px rgba(252, 109, 38, 0.2);
}

.contact-card:has(.fa-gitlab):hover i {
    background: rgba(252, 109, 38, 0.15);
    color: #fc6d26;
}

.contact-card:has(.fa-medium):hover {
    border-color: #00ab6c;
    box-shadow: 0 8px 30px rgba(0, 171, 108, 0.2);
}

.contact-card:has(.fa-medium):hover i {
    background: rgba(0, 171, 108, 0.15);
    color: #00ab6c;
}

.contact-card:has(.fa-instagram):hover {
    border-color: #e4405f;
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.2);
}

.contact-card:has(.fa-instagram):hover i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

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

@media (max-width: 768px) {
    .contact-form-container,
    .contact-links-container {
        padding: 24px;
    }
}

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.back-to-top i {
    color: var(--accent-primary);
    font-size: 1rem;
    z-index: 2;
    transition: transform var(--transition-fast);
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Progress Ring */
.progress-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2;
}

.progress-ring-circle {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 100.53;
    stroke-dashoffset: 100.53;
    transition: stroke-dashoffset 0.1s ease;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ===================================
   Certification Badge Modal
   =================================== */
.triple-badge.clickable {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.triple-badge.clickable:hover {
    transform: translateY(-50%) scale(1.15);
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.8)) drop-shadow(0 0 40px rgba(168, 85, 247, 0.4));
    opacity: 1;
}

.badge-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.badge-modal.active {
    display: flex;
}

.badge-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.badge-modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}

.badge-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.badge-modal-close:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
    transform: rotate(90deg);
}

.badge-modal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.badge-modal-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.3));
}

.badge-modal-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.badge-modal-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 24px;
}

.badge-modal-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .badge-modal-content {
        padding: 32px 24px;
    }

    .badge-modal-image {
        width: 150px;
        height: 150px;
    }

    .badge-modal-info h3 {
        font-size: 1.2rem;
    }
}
