:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #475569;
    --text-color: #1e293b;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --text-white: #ffffff;
    --spacing-unit: 1rem;
    --container-width: 1200px;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 10001;
    transition: top 0.3s;
    text-decoration: none;
}

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

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    width: 100%;
}

main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.section {
    padding: 5rem 0;
    max-width: 100vw;
    overflow-x: hidden;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.bg-dark h2 {
    color: white;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-light .service-intro {
    color: var(--text-color);
}

.bg-light h2 {
    color: var(--text-color);
}

.text-white {
    color: var(--text-white);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--bg-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.nav-links a {
    white-space: nowrap;
    font-size: 0.95rem;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../assets/hero_background.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    padding: 10rem 2rem 6rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
    gap: 2rem;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: var(--container-width);
    gap: 2rem;
}

.hero-section h1 {
    margin-bottom: 1rem;
}

.hero-section .subtitle {
    margin-bottom: 0;
}

.hero-bg {
    background-image: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../assets/hero_background.png');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
}

.hero-bg h2 {
    color: white;
}

.subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 100%;
    word-wrap: break-word;
}

.hero-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0;
}

.hero-author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    order: 1;
}

.hero-author-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
    order: 2;
}

@media (min-width: 640px) {
    .hero-author {
        flex-direction: row;
        gap: 1rem;
    }

    .hero-author-photo {
        order: 2;
    }

    .hero-author-text {
        order: 1;
        text-align: left;
    }
}

.hero-section .btn-secondary {
    border-color: white;
    color: white;
}

.hero-section .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Pain Points Section */
.pain-points-section {
    padding: 3rem 0;
    background-color: var(--bg-light);
}

.pain-points {
    max-width: 700px;
    margin: 2rem auto 0;
    display: grid;
    gap: 1rem;
}

.pain-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.pain-point:hover {
    transform: translateX(4px);
}

.pain-icon {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.pain-point p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-color);
    font-weight: 500;
}

.pain-bridge {
    max-width: 700px;
    margin: 2.5rem auto 0;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    background: white;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.pain-bridge strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Section Connector */
.section-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-light);
    padding: 0;
    margin-top: -1rem;
    margin-bottom: -1rem;
    position: relative;
    z-index: 2;
}

.arrow-container {
    background-color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

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

/* Trusted By Section */
.trusted-by-section {
    padding: 3rem 0;
    background-color: white;
    text-align: center;
}

.trusted-by-subsection {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.trusted-by-heading {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2.5rem;
}

.logo-grid {
    display: flex;
    align-items: center;
    gap: 4rem;
    overflow: hidden;
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.logo-grid::before,
.logo-grid::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.logo-grid::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.logo-grid::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.logo-grid-scroll {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    padding: 1rem 0;
    width: fit-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.company-logo {
    max-width: 140px;
    max-height: 60px;
    width: auto;
    height: auto;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    object-fit: contain;
    flex-shrink: 0;
}

.company-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .logo-grid {
        gap: 3rem;
    }

    .logo-grid-scroll {
        gap: 3rem;
    }

    .company-logo {
        max-width: 100px;
        max-height: 45px;
    }

    .logo-grid::before,
    .logo-grid::after {
        width: 50px;
    }
}

/* Services Section */
#services {
    position: relative;
}

#services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #60a5fa 100%);
}

.service-intro {
    text-align: center;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    height: 100%;
    transition: all 0.2s ease;
}

.service-card:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.service-card h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 600;
}

.service-card p {
    color: #cbd5e1;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: #93c5fd;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.service-link:hover {
    color: white;
    transform: translateX(4px);
}

/* Why Me Subsection */
.why-me-subsection {
    margin: 4rem 0 2rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.why-me-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.why-me-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.why-me-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.why-me-text p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.cta-email {
    color: #cbd5e1;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

.cta-email a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.2s ease;
    cursor: pointer;
}

.cta-email a:hover {
    color: white;
}

.cta-subtext {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: -0.5rem 0 0 0;
    text-align: center;
    font-style: italic;
    opacity: 0.9;
}

/* Light background override */
.section:not(.bg-dark):not(.hero-bg) .cta-email {
    color: var(--secondary-color);
}

.section:not(.bg-dark):not(.hero-bg) .cta-email a {
    color: var(--primary-color);
}

.section:not(.bg-dark):not(.hero-bg) .cta-email a:hover {
    color: var(--primary-dark);
}

.section:not(.bg-dark):not(.hero-bg) .cta-subtext {
    color: var(--secondary-color);
}

/* Dark background inside featured-work-subsection */
/* Case Study & Data Applications Sections */
#organizational-results {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

#organizational-results .container {
    padding-bottom: 5rem;
}

#organizational-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #60a5fa 100%);
}

#organizational-results h2 {
    color: var(--text-color);
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.proven-impact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.role-highlight {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.role-highlight p {
    font-size: 1.3rem;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

.case-study-label {
    color: var(--primary-color);
    font-weight: 600;
}

.org-section-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.achievements-accordion {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.case-study-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.case-study-logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.case-study-logo {
    height: 50px;
    width: auto;
    opacity: 0.9;
}

.achievements-accordion h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
    border-radius: 2px;
}

.accordion-item {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
}

.accordion-item:last-of-type {
    margin-bottom: 0;
}

.accordion-header {
    width: 100%;
    padding: 1.5rem 1.75rem;
    background: var(--bg-light);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.accordion-header:hover {
    background-color: #e8f0fe;
}

.accordion-item.active .accordion-header {
    background-color: white;
}

.accordion-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-title::before {
    content: "✓";
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #60a5fa);
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-self: center;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    background: var(--primary-color);
    color: white;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.75rem;
    background: white;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.75rem 1.5rem 1.75rem;
    border-top: 2px solid #cbd5e1;
}

.accordion-content p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin: 0;
    padding-top: 1.5rem;
    font-size: 1.05rem;
}

/* Portfolio Accordion Specific Styles */
.portfolio-accordion {
    margin-top: 2rem;
}

.portfolio-accordion .accordion-item {
    margin-bottom: 0;
    border-radius: 0;
}

.portfolio-accordion .accordion-item:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.portfolio-accordion .accordion-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Achievements Accordion Specific Styles */
.achievements-accordion .accordion-item {
    margin-bottom: 0;
    border-radius: 0;
}

.achievements-accordion .accordion-item:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.achievements-accordion .accordion-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.accordion-title-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-accordion .accordion-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-color);
}

.portfolio-accordion .accordion-title::before {
    display: none;
}

.app-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    align-self: stretch;
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.app-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.accordion-preview {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem 0 0 0;
}

.portfolio-accordion .accordion-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
}

.portfolio-accordion .accordion-content img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.portfolio-accordion .accordion-content p {
    flex: 1;
    padding-top: 0;
    text-align: left;
    font-weight: 500;
}

.portfolio-accordion .accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 1.5rem 1.75rem 1.5rem 1.75rem;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 4rem;
}

.data-apps-stats {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-unit {
    font-size: 1.2rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* Application Examples */
#data-applications {
    padding-top: 0;
}

.featured-work-subsection {
    margin-top: 0;
    text-align: center;
    padding: 4rem 0;
}

.featured-work-subsection h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 600;
}

.featured-work-subsection h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.data-apps-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: left;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 2.5rem 3rem;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.data-apps-intro p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.data-apps-intro p:first-child {
    margin-bottom: 1.75rem;
}

.data-apps-intro p:first-child strong {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.data-apps-intro p:not(:first-child) strong {
    color: var(--text-color);
    font-weight: 600;
}

.data-apps-intro p:last-child {
    margin-bottom: 0;
}

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

.portfolio-item {
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.portfolio-content p {
    color: var(--secondary-color);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.impact-highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Testimonials Section */
.testimonial-heading {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.testimonial-card {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-card::before {
    content: '"';
    font-size: 8rem;
    position: absolute;
    top: -1rem;
    left: 2rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-full {
    display: none;
    margin-top: 1rem;
}

.testimonial-text.expanded .testimonial-full {
    display: block;
}

.testimonial-expand {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0;
    text-decoration: underline;
    font-style: normal;
}

.testimonial-expand:hover {
    color: var(--primary-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 700;
    color: var(--text-color);
}

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

.text-sm {
    font-size: 0.875rem;
}

.text-gray-500 {
    color: #64748b;
}

/* About Section */
.values-intro {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.values-photo {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.values-intro-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.linkedin-icon {
    color: #0077b5;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.linkedin-icon:hover {
    transform: translateY(-2px);
    color: #005885;
}

.linkedin-icon svg {
    width: 28px;
    height: 28px;
}

.values-intro-text p {
    color: var(--secondary-color);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
    transform: translateY(-5px);
}

.pricing-card-featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    position: relative;
}

.pricing-card-featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-header h4 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.pricing-rate {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-rate .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-rate .period {
    font-size: 1rem;
    color: var(--secondary-color);
}

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

.pricing-features {
    list-style: none;
    margin-top: auto;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.pricing-note {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

.pricing-note p {
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* Tools Section */
#tools h2 {
    color: white;
}

#tools > .container > p {
    text-align: center;
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #cbd5e1;
    line-height: 1.6;
}

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

.tool-card {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.tool-card h3 {
    margin-bottom: 1rem;
    color: #60a5fa;
    font-weight: 600;
}

.tool-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 0;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tool-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

.bigfunctions-color {
    color: #3367d6 !important;
}

.airbyte-color {
    color: #e92063 !important;
}

.staticbi-color {
    color: #00bdd6 !important;
}

.catalogbuilder-color {
    color: #2acfa7 !important;
}

.community-links {
    margin-top: 3rem;
    text-align: center;
}

.community-links p {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.community-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.community-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-color: white;
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.community-buttons .btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    border-color: white;
}

.community-buttons .btn-secondary svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
    color: var(--secondary-color);
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
}

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

.footer-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-copyright {
    text-align: center;
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0;
    align-items: center;
    margin-left: 1.5rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: none;
    border-right: 1px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    border-radius: 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-btn:last-child {
    border-right: none;
}

.lang-btn:hover {
    background-color: var(--bg-light);
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive */
@media (max-width: 1000px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .hero-section {
        height: 100vh;
        min-height: 100vh;
        padding: 8rem 1rem 4rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
    }

    .language-switcher {
        margin-left: 1rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-actions .btn-secondary {
        margin-left: 0;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cta-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .values-intro {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .values-photo {
        width: 150px;
        height: 150px;
    }

    .impact-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

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

    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card-featured::before {
        font-size: 0.75rem;
        padding: 0.2rem 0.75rem;
    }

    .pricing-note {
        padding: 1rem;
    }

    .why-me-content {
        flex-direction: column;
        text-align: center;
    }

    .why-me-photo {
        width: 100px;
        height: 100px;
    }

    .achievements-accordion {
        padding: 1.5rem;
    }

    .role-highlight {
        padding: 1.5rem;
    }

    .accordion-title {
        font-size: 1rem;
    }

    .accordion-header {
        padding: 1.25rem 1.25rem;
    }

    .accordion-content {
        padding: 0 1.25rem;
    }

    .accordion-item.active .accordion-content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }

    .stat-item {
        padding: 1.5rem 2rem;
        min-width: auto;
    }

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

    .stat-item {
        padding: 2rem 2rem;
        min-width: 160px;
    }

    .portfolio-item img {
        height: 200px;
    }

    .data-apps-intro {
        padding: 1.75rem 1.5rem;
        margin: 0 auto 3rem;
    }

    .data-apps-intro p {
        font-size: 1.05rem;
    }

    .data-apps-intro p:first-child {
        margin-bottom: 1.25rem;
    }

    .data-apps-intro p:first-child strong {
        font-size: 1.15rem;
    }

    .data-apps-intro p:last-child {
        font-size: 1rem;
    }

    /* Portfolio accordion mobile fixes */
    .portfolio-accordion .accordion-content {
        flex-direction: column;
    }

    .portfolio-accordion .accordion-content img {
        width: 100%;
        height: auto;
        max-height: 200px;
    }

    .portfolio-accordion .accordion-item.active .accordion-content {
        max-height: 1000px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        justify-content: center;
    }

    .pain-bridge {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        margin: 2rem auto 0;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 8rem 1rem 4rem;
    }

    .container {
        padding: 0 1rem;
    }

    .logo-grid {
        gap: 2rem;
    }

    .logo-grid-scroll {
        gap: 2rem;
    }

    .company-logo {
        max-width: 80px;
        max-height: 35px;
    }

    .logo-grid::before,
    .logo-grid::after {
        width: 30px;
    }
}
