:root {
    /* Brand Colors - Enterprise Refined */
    --brand-primary: #005A9E;
    /* Deep Professional Blue */
    --brand-dark: #004070;
    --brand-light: #E0F2FE;

    --accent-blue: #0078D4;
    /* Azure */
    --accent-teal: #0D9488;
    /* Modern teal accent */
    --accent-orange: #EA580C;
    /* Veeam/Alerts - Burnt Orange */

    /* Neutral Scale (Slate) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    /* Semantic Design Tokens */
    --bg-body: var(--slate-50);
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    --text-main: var(--slate-900);
    --text-muted: var(--slate-500);
    --text-light: var(--slate-50);

    --border-color: var(--slate-200);
    --border-hover: var(--slate-300);

    /* UI Spacing & Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    --backdrop-blur: blur(12px);
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy/Vendor Specific (Mapped to new palette where possible) */
    --vmware-blue: var(--brand-primary);
    --vmware-blue-dark: var(--brand-dark);
    --azure-blue: var(--accent-blue);
    --azure-blue-dark: #005a9e;
    --veeam-orange: var(--accent-orange);
    --dark-bg: var(--slate-900);
    --dark-bg-2: var(--slate-800);
    --card-bg: var(--bg-surface);
}

/* Dark Mode Variables */
html[data-theme="dark"] {
    --bg-body: #0f172a;
    --bg-surface: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.7);

    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #f8fafc;

    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    --slate-50: #0f172a;
    --slate-100: #1e293b;
    --slate-200: #334155;
    --slate-300: #475569;
    --slate-400: #64748b;
    --slate-500: #94a3b8;
    --slate-600: #cbd5e1;
    --slate-700: #e2e8f0;
    --slate-800: #f1f5f9;
    --slate-900: #f8fafc;
}

html[data-theme="dark"] body {
    background-color: #0f172a;
    background-image:
        radial-gradient(at 0% 0%, hsla(210, 50%, 15%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(195, 50%, 15%, 1) 0, transparent 50%);
}

html[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .skill-card,
html[data-theme="dark"] .cert-card,
html[data-theme="dark"] .project-card,
html[data-theme="dark"] .profile-card,
html[data-theme="dark"] .contact-form-container {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

html[data-theme="dark"] .tech-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--slate-300);
    border-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .tech-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand-primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    /* Subtle mesh gradient background */
    background-image:
        radial-gradient(at 0% 0%, hsla(210, 100%, 96%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(195, 100%, 96%, 1) 0, transparent 50%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    /* Slightly tighter for better readability */
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Image icon used for vendors (VMware placeholder) */
.cert-icon-img {
    width: 36px;
    height: 36px;
    display: block;
}

.cert-icon-img {
    display: inline-block;
    vertical-align: middle;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* --- TYPOGRAPHY & TITLES --- */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title span {
    display: inline-block;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    background-color: var(--brand-light);
    border: 1px solid rgba(0, 90, 158, 0.1);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0.875rem 2rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    border: 1px solid transparent;
    /* Prepare for borders */
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--brand-primary);
    background: linear-gradient(135deg, var(--brand-primary), var(--accent-blue));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-blue), var(--brand-primary));
}

.btn-secondary {
    background: white;
    color: var(--brand-primary);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--brand-primary);
    color: var(--brand-dark);
    box-shadow: var(--shadow-md);
}

.btn-icon {
    font-size: 1.1em;
    /* Relative to button font size */
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-base);
    backdrop-filter: var(--backdrop-blur);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--slate-900);
    text-decoration: none;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    /* Squircle */
    background: linear-gradient(135deg, var(--brand-primary), var(--accent-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--slate-800);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--slate-600);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    font-size: 0.9375rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary);
    background: var(--brand-light);
}

.nav-link.cta {
    background: var(--brand-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
}

.nav-link.cta:hover {
    background: var(--brand-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.language-toggle {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1.5rem;
}

.lang-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    filter: grayscale(100%);
    display: flex;
    justify-content: center;
    align-items: center;
    background: #e2e8f0;
}

.lang-btn.active {
    filter: grayscale(0%);
    border-color: var(--brand-primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.lang-btn:hover {
    filter: grayscale(0%);
}

.lang-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Split Flag Effect */
.flag-split {
    position: relative;
    width: 100%;
    height: 100%;
}

.flag-split img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flag-uk {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
    z-index: 1;
}

.flag-usa {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}

.lang-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-500);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-base);
    border: none;
    background: transparent;
}

.lang-btn.active {
    background: white;
    color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--slate-700);
    cursor: pointer;
}

/* Theme Toggle Button */
.theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--slate-100);
    border: 1px solid var(--border-color);
    color: var(--slate-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: var(--slate-200);
    transform: scale(1.05);
}

.theme-toggle i {
    font-size: 1.1rem;
}

html[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: var(--slate-200);
    border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Availability Badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ecfdf5;
    color: #059669;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

html[data-theme="dark"] .availability-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 6rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    /* Pure CSS Modern Dark Gradient Background */
    background-color: var(--slate-900);
    background-image:
        radial-gradient(at 100% 0%, rgba(0, 120, 212, 0.4) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(0, 90, 158, 0.2) 0px, transparent 50%),
        linear-gradient(to bottom, var(--slate-900), #101927);
    overflow: hidden;
}

/* Abstract shapes for visual interest */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-overlay {
    display: none;
    /* Replaced by CSS background */
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Text gets slightly more space */
    gap: 4rem;
    position: relative;
    z-index: 2;
    align-items: start;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--slate-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: fit-content;
}

.hero-badge i {
    color: var(--accent-teal);
    margin-right: 0.5rem;
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    letter-spacing: -0.02em;
}

.hero h1 span {
    background: linear-gradient(to right, #60a5fa, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--slate-300);
    line-height: 1.7;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* --- PROFILE CARD --- */
.profile-card {
    background: var(--bg-surface);
    backdrop-filter: var(--backdrop-blur);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

.profile-header {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 90, 158, 0.2) 0%, transparent 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.profile-avatar {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), var(--accent-blue));
    margin: 0 auto 1.5rem;
    padding: 4px;
    /* Border effect */
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.profile-avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--slate-800);
}

.profile-name {
    color: white;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.profile-title {
    color: var(--slate-300);
    font-size: 1.125rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.profile-attributes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2rem 1.5rem 1rem;
    /* Reduced bottom padding */
    border-top: 1px solid var(--border-color);
    background: var(--slate-50);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1.5rem 2rem;
    /* No top padding, connected to attributes */
    background: var(--slate-50);
    /* Removed huge margin and border */
}

.social-link {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--slate-100);
    /* Darker background for contrast */
    color: var(--slate-600);
    /* Dark icon color */
    transition: var(--transition-base);
    text-decoration: none;
    font-size: 1.25rem;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-3px);
    border-color: var(--brand-primary);
}

/* --- SKILLS SECTION --- */
.skills-section {
    background-color: var(--slate-50);
    position: relative;
    overflow: hidden;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.skill-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}

.skill-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.vmware-bg {
    background: #E0F2FE;
    color: var(--brand-primary);
}

.azure-bg {
    background: #E0F2FE;
    color: var(--accent-blue);
}

.veeam-bg {
    background: #FFEDD5;
    color: var(--accent-orange);
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
}

/* Tech Ecosystem Grid Styles */
.tech-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--slate-100);
    color: var(--slate-700);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-base);
    border: 1px solid transparent;
}

.tech-badge:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.tech-badge i {
    color: var(--accent-teal);
    font-size: 0.875rem;
}

/* Category specific accents on hover */
.skill-card:nth-child(1) .tech-badge:hover i {
    color: var(--brand-primary);
}

.skill-card:nth-child(2) .tech-badge:hover i {
    color: var(--accent-blue);
}

.skill-card:nth-child(3) .tech-badge:hover i {
    color: var(--accent-orange);
}

/* --- CERTIFICATIONS SECTION --- */
.certifications-section {
    background: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--slate-300);
}

.cert-header {
    padding: 2rem;
    text-align: center;
    background: var(--slate-50);
    border-bottom: 1px solid var(--border-color);
}

.vmware-cert {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    color: white;
}

.azure-cert {
    background: linear-gradient(135deg, var(--accent-blue), #005a9e);
    color: white;
}

.linux-cert {
    background: linear-gradient(135deg, #336699, #254b72);
    color: white;
}

.veeam-cert {
    background: linear-gradient(135deg, var(--accent-orange), #c2410c);
    color: white;
}

.aws-cert {
    background: linear-gradient(135deg, #FF9900, #ff8800);
    color: white;
}

/* Added AWS */
.pexip-cert {
    background: linear-gradient(135deg, #4ade80, #16a34a);
    color: white;
}

/* Pexip Green */


.cert-icon {
    /* Center the icon */
    background: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem;
}

.cert-icon img,
.cert-icon i {
    width: 100%;
    height: 100%;
    object-fit: contain;
    font-size: 2rem;
}

.cert-issuer {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    /* High contrast white for colored headers */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ... existing code ... */

/* Make select dropdown options readable on dark contact background */
.contact-section .form-select option,
.contact-section .form-select optgroup {
    background: #1e293b;
    /* Dark slate background */
    color: white;
    /* White text */
}

.cert-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cert-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--slate-900);
    line-height: 1.4;
}

.cert-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.cert-details {
    color: var(--slate-600);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.cert-status {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: #059669;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.8125rem;
    gap: 0.5rem;
    width: fit-content;
    margin-top: auto;
}

/* --- PROJECTS SECTION --- */
.projects-section {
    background: var(--slate-50);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* 1 col mobile, 2 tablet, 3 desktop */
    gap: 2.5rem;
    padding-top: 2rem;
}

.project-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent 60%);
}

.vmware-project {
    background-image: url('https://placehold.co/800x600/004d99/ffffff?text=Migration');
}

.azure-project {
    background-image: url('https://placehold.co/800x600/0078d4/ffffff?text=Cloud');
}

.veeam-project {
    background-image: url('https://placehold.co/800x600/ea580c/ffffff?text=DR');
}

.project-type {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
}

.project-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--slate-900);
    line-height: 1.2;
}

.project-client {
    color: var(--brand-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.project-role {
    display: inline-block;
    background: var(--slate-100);
    color: var(--slate-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8125rem;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.project-challenge h4,
.project-solution h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-challenge p,
.project-solution ul {
    color: var(--slate-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-solution ul {
    list-style: none;
    padding-left: 0;
}

.project-solution li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.project-solution li::before {
    content: '•';
    color: var(--brand-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.project-metrics {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.metric-item {
    text-align: center;
    flex: 1;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- BLOG SECTION --- */
.blog-section {
    background: white;
    padding: 6rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding-top: 2rem;
}

.blog-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-primary);
}

.blog-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1.5rem;
}

.blog-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.3));
}

.vmware-blog {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
}

.azure-blog {
    background: linear-gradient(135deg, var(--accent-blue), #005a9e);
}

.veeam-blog {
    background: linear-gradient(135deg, var(--accent-orange), #c2410c);
}

.blog-category {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.vmware-category {
    color: var(--brand-primary);
}

.azure-category {
    color: var(--accent-blue);
}

.veeam-category {
    color: var(--accent-orange);
}

.blog-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--slate-900);
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--slate-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date i,
.blog-read-time i {
    color: var(--brand-primary);
}

/* Dark mode support for blog */
html[data-theme="dark"] .blog-section {
    background: var(--bg-body);
}

html[data-theme="dark"] .blog-card {
    background: var(--bg-surface);
    border-color: var(--border-color);
}

html[data-theme="dark"] .blog-title {
    color: var(--text-main);
}

html[data-theme="dark"] .blog-excerpt {
    color: var(--text-muted);
}

html[data-theme="dark"] .blog-meta {
    border-color: var(--border-color);
    color: var(--text-muted);
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
    color: white;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    align-items: flex-start;
}

/* Fix visibility on dark background */
.contact-section .section-title h2 {
    color: white;
}

.contact-section .section-title p {
    color: var(--slate-300);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--slate-300);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: inherit;
    transition: var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.2);
}

/* Make select dropdown options readable on dark contact background */
.contact-section .form-select option,
.contact-section .form-select optgroup {
    background-color: #0f172a;
    /* Force dark background */
    color: #f8fafc;
    /* Force light text */
}

/* Slightly muted color for disabled placeholder option */
.contact-section .form-select option[disabled] {
    color: rgba(15, 23, 42, 0.6);
}

.contact-info {
    padding-top: 1rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--vmware-blue);
}

.contact-title i {
    font-size: 1.5rem;
}

.contact-title-text {
    font-size: 1.5rem;
    color: white;
}

.contact-description {
    color: var(--slate-400);
    margin-bottom: 2rem;
}

/* TERMINAL ANIMATION */
.terminal-loader {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    font-family: 'IBM Plex Mono', monospace;
}

.terminal-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ef4444;
}

.terminal-dot.yellow {
    background: #f59e0b;
}

.terminal-dot.green {
    background: #10b981;
}

.terminal-window {
    padding: 12px 16px;
}

.terminal-content {
    color: #10b981;
    /* Terminal green */
    font-size: 0.85rem;
    font-weight: 500;
    white-space: pre;
    min-height: 1.5em;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: #10b981;
    margin-left: 2px;
    vertical-align: bottom;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    /* Match dark theme */
    color: var(--slate-200);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-item .service-title {
    color: white;
    font-size: 1.1rem;
}

.service-title i {
    color: #10b981;
    font-size: 0.875rem;
}

.service-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-text {
    margin-top: 2rem;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.contact-text a {
    color: var(--vmware-blue);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.0625rem;
}

.contact-text a:hover {
    color: white;
    text-decoration: underline;
}

.international-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    padding: 0.625rem 1.75rem;
    border-radius: 9999px;
    font-weight: 600;
    margin-top: 1.75rem;
    font-size: 1.0625rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

/* --- FOOTER --- */
footer {
    background: #020617;
    /* Very dark slate */
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--slate-400);
}

.footer-container {
    text-align: center;
}

footer .social-icons {
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-social-link {
    color: var(--slate-400);
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: var(--brand-primary);
}

.footer-text {
    color: var(--slate-400);
    font-size: 0.875rem;
}

.footer-link {
    margin-left: 0.5rem;
    text-decoration: underline;
}

.footer-link:hover {
    color: var(--brand-primary);
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

footer a {
    color: rgba(255, 255, 255, 0.85);
}

footer .social-icons a {
    color: var(--slate-400);
    transition: color 0.2s;
}

footer .social-icons a:hover {
    color: white;
}

/* --- UTILITIES & ANIMATIONS --- */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
}

.scroll-down-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    display: none;
    /* hidden by default */
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

.scroll-to-top.show {
    display: flex;
}

/* Animation classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.fade-in.appear {
    opacity: 1;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(200%);
    padding: 1rem 1.5rem;
    background: #10b981;
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: transform 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    font-size: 1.25rem;
}

/* Accessibility & polish tweaks */
.skip-link {
    position: absolute;
    top: -48px;
    left: 1rem;
    background: #0066CC;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    z-index: 9999;
    transition: transform 0.2s ease, top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
    outline: none;
    transform: translateY(0);
}

:focus {
    outline: none;
}

/* Visible focus for keyboard users */
*:focus-visible {
    outline: 3px solid rgba(0, 102, 204, 0.9);
    outline-offset: 3px;
}

/* Slightly more compact navbar for a professional look */
.navbar {
    padding: 0.75rem 0;
}

.navbar-container {
    gap: 1rem;
}

.logo {
    font-size: 1.1rem;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

/* Hero refinements */
.hero {
    min-height: 680px;
    padding-top: 7.25rem;
}

.hero h1 {
    font-size: 3.25rem;
}

.hero p {
    font-size: 1.125rem;
}

/* Make primary button slightly larger and consistent */
.btn-primary {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* Project role badge */
.project-role {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-bg);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 0.5rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        background: white;
        width: 100%;
        height: calc(100vh - 60px);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-xl);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid var(--slate-100);
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .project-image {
        height: 200px;
    }

    .profile-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Form Validation Error State */
.input-error {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}