/* ===== CSS RESET & VARIABLES ===== */
:root {
    /* Microsoft Office kleuren */
    --microsoft-blue: #2B579A;
    --microsoft-blue-light: #4A7BC1;
    --microsoft-blue-lighter: #8DB5E9;
    --microsoft-blue-very-light: #E3EFF9;
    
    /* Neutrale kleuren */
    --black: #111111;
    --dark-gray: #333333;
    --medium-gray: #555555;
    --light-gray: #888888;
    --very-light-gray: #F8F8F8;
    --white: #FFFFFF;
    
    /* Accent kleuren */
    --accent-color: #8DB5E9;
    --accent-dark: #2B579A;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    --spacing-xxl: 8rem;
    
    /* Overige */
    --max-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(43, 87, 154, 0.08);
    --shadow-hover: 0 10px 25px rgba(43, 87, 154, 0.15);
}

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

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--medium-gray);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-weight: 600;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

h4 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: var(--spacing-xs);
}

p {
    margin-bottom: var(--spacing-md);
    max-width: 700px;
}

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

a:hover {
    color: var(--accent-dark);
}

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

/* Responsive image classes */
.img-responsive {
    max-width: 100%;
    height: auto;
}

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

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

/* ===== LAYOUT ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-light {
    background-color: var(--very-light-gray);
}

.section-dark {
    background-color: var(--black);
    color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.section-header {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-gray);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-color);
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    text-decoration: none;
    border-radius: 0 0 var(--border-radius) 0;
    font-weight: 600;
    transition: var(--transition);
}

.skip-link:focus {
    top: 0;
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
    :root {
        --microsoft-blue: #0A2463;
        --accent-color: #0A2463;
        --microsoft-blue-light: #1A3C7A;
    }
    
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    #nav a {
        text-decoration: underline;
    }
}

/* ===== HEADER ===== */
#header {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

#header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: var(--spacing-sm);
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--microsoft-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.logo-text {
    color: var(--black);
    font-weight: 600;
    font-size: 1.2rem;
}

/* Navigation */
#nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

#nav a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    min-height: 44px;
    display: flex;
    align-items: center;
}

#nav a:hover,
#nav a.active {
    color: var(--accent-color);
    background-color: rgba(141, 181, 233, 0.1);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    border-radius: var(--border-radius);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--dark-gray);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--dark-gray);
    left: 0;
    transition: var(--transition);
}

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

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

.mobile-toggle.active .hamburger {
    background-color: transparent;
}

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

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

/* ===== HERO ===== */
#hero {
    padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    color: var(--microsoft-blue);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.1s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--light-gray);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle:nth-of-type(2) {
    animation-delay: 0.3s;
}

.hero-subtitle:nth-of-type(3) {
    animation-delay: 0.5s;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-height: 54px;
    min-width: 44px;
    position: relative;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--microsoft-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-gray);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn--loading .btn__text {
    visibility: hidden;
    opacity: 0;
}

.btn--loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--microsoft-blue-very-light);
}

.service-icon-wrapper {
    margin-bottom: var(--spacing-md);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--microsoft-blue-very-light), #ffffff);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    opacity: 0.2;
}

.service-icon {
    font-size: 2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.service-content h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.service-card:hover .service-icon {
    color: var(--microsoft-blue);
    transform: scale(1.1);
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-color), var(--microsoft-blue-very-light));
}

.service-card:hover .service-icon-wrapper::after {
    border-color: var(--microsoft-blue);
    opacity: 0.4;
}

/* ===== ABOUT SECTION ===== */
#about {
    background-color: #f5f9ff;
}

.about-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Two columns met verticale uitlijning */
.about-columns {
    display: flex;
    align-items: flex-end; /* Lijnt uit met de onderkant van de lijst */
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

/* Left column: simple list */
.about-list-column {
    flex: 1;
    padding-right: var(--spacing-md);
}

.simple-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.simple-list-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.simple-list-item:last-child {
    border-bottom: none;
}

.simple-list-item:hover {
    transform: translateX(5px);
}

.list-bullet {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.4;
    min-width: 20px;
}

.list-content {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--medium-gray);
    flex: 1;
}

/* Right column: simple image */
.about-image-column {
    flex: 1;
    display: flex;
    align-items: flex-end; /* Zorgt dat de afbeelding aan de onderkant staat */
}

.profile-image-simple {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    background-color: var(--very-light-gray);
}

/* 5 images grid van 140x75px */
.about-images-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--very-light-gray);
}

.image-item {
    flex: 0 0 auto;
}

.grid-image {
    width: 140px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: block;
    transition: transform 0.3s ease;
    background-color: var(--very-light-gray);
}

.image-item:hover .grid-image {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

/* ===== SKILLS SECTION ===== */
#skills {
    background-color: var(--black);
}

.skills-container {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
}

.skill-bar {
    margin-bottom: var(--spacing-lg);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xs);
}

.skill-name {
    font-weight: 600;
    color: var(--white);
}

.skill-percentage {
    font-weight: 600;
    color: var(--accent-color);
}

.skill-progress {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--microsoft-blue-light));
    border-radius: 5px;
    transition: width 1.5s ease;
    min-width: 0%;
}

/* Skill bars animatie fix */
.progress-bar[style*="width:"] {
    /* Behoud de inline style voor fallback */
}

.progress-bar {
    animation: fadeIn 0.5s ease;
}

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

.education-section {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== EXPERIENCE SECTION ===== */
.experience-intro {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.company-logo .image-placeholder {
    height: 100px;
    background: var(--very-light-gray);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    font-size: 0.9rem;
    text-align: center;
    padding: var(--spacing-sm);
}

.looking-for {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--microsoft-blue-very-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.roles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.role-tag {
    background: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    font-weight: 600;
    color: var(--microsoft-blue);
    border: 2px solid var(--microsoft-blue-very-light);
}

.cta-text {
    margin-top: var(--spacing-md);
}

/* ===== CONTACT SECTION (UPDATED - FORM REMOVED) ===== */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--microsoft-blue-very-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
}

.contact-details a {
    color: var(--microsoft-blue);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.contact-note {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-top: 4px;
}

.section-dark .contact-note {
    color: rgba(255, 255, 255, 0.7);
}

/* Oude formulier styling verwijderd */

/* ===== FOOTER ===== */
#footer {
    background-color: var(--black);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
}

.footer-nav a:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
    border: none;
    cursor: pointer;
}

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

.back-to-top:hover {
    background: var(--microsoft-blue);
    transform: translateY(-3px);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* ===== VISUALLY HIDDEN ===== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== PRINT STYLES ===== */
@media print {
    #header,
    .mobile-toggle,
    .hero-buttons,
    .contact-form,
    #footer,
    .back-to-top {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    section {
        padding: 1cm 0;
        page-break-inside: avoid;
    }
    
    .section-dark {
        background-color: #fff !important;
        color: #000 !important;
    }
    
    .section-dark h2,
    .section-dark h3,
    .section-dark h4,
    .section-dark p {
        color: #000 !important;
    }
    
    .btn {
        border: 1px solid #000 !important;
        background: none !important;
        color: #000 !important;
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .about-columns {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 992px) {
    .about-columns {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-lg);
    }
    
    .about-list-column {
        padding-right: 0;
        padding-bottom: var(--spacing-lg);
        border-bottom: 1px solid var(--very-light-gray);
        margin-bottom: var(--spacing-lg);
    }
    
    .about-image-column {
        align-items: center;
        justify-content: center;
    }
    
    .profile-image-simple {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    #nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: var(--spacing-md);
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        box-shadow: var(--shadow-hover);
        z-index: 999;
        overflow: hidden;
    }
    
    #nav.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .about-container {
        padding: var(--spacing-lg);
    }
    
    .about-images-grid {
        gap: var(--spacing-md);
    }
    
    .grid-image {
        width: 120px;
        height: 65px;
    }
    
    .list-content {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    /* Responsive contact items */
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-icon {
        margin-bottom: var(--spacing-sm);
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-sm: 0.75rem;
    }
    
    .about-container {
        padding: var(--spacing-md);
    }
    
    .about-columns {
        gap: var(--spacing-md);
        margin: var(--spacing-lg) 0;
    }
    
    .about-images-grid {
        gap: var(--spacing-md);
        margin-top: var(--spacing-lg);
        justify-content: space-around;
    }
    
    .grid-image {
        width: 100px;
        height: 55px;
    }
    
    .simple-list-item {
        padding: var(--spacing-xs) 0;
    }
    
    .list-bullet {
        font-size: 1.2rem;
    }
    
    .roles-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .role-tag {
        width: 100%;
        max-width: 200px;
    }
    
    .contact-info {
        gap: var(--spacing-md);
    }
}

@media (max-width: 400px) {
    .about-images-grid {
        justify-content: center;
    }
    
    .grid-image {
        width: 90px;
        height: 50px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}