/* Custom Multi-Select Dropdown Styles */
.custom-multiselect {
    position: relative;
    width: 100%;
    max-width: 400px;
    font-size: 1rem;
}
.dropdown-selected {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    background: var(--lighter-bg);
    cursor: pointer;
    min-height: 44px;
    user-select: none;
}
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    max-height: 260px;
    overflow-y: auto;
    padding: 0.5em 1em 0.5em 1em;
}
.dropdown-list label {
    display: flex;
    align-items: center;
    gap: 0.5em;
    cursor: pointer;
    margin-bottom: 0.25em;
}
.dropdown-list input[type="checkbox"] {
    margin-right: 0.5em;
}
.dropdown-list input[type="text"] {
    width: 90%;
    margin-left: 1.5em;
    margin-top: 0.5em;
    padding: 0.5em;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}
/* Gradient title under about logo */
.about-logo-title-gradient {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 1rem;
    letter-spacing: 2px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
}
/* About visual as background for about description */
.about-visual-bg {
    position: relative;
    padding: 2rem 1.5rem;
    background: none;
    overflow: visible;
}
.about-visual-bg .about-visual {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}
.about-visual-bg .about-description-content {
    position: relative;
    z-index: 2;
}
.about-visual-bg .visual-circle {
    opacity: 0.01;
    filter: none;
}
/* Bubbles background for about section */
.about-bubble-bg {
    position: relative;
    z-index: 1;
    overflow: visible;
}
.about-bubble-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background: none;
}

/* Example: Use 3 animated bubbles as background */
.about-bubble-bg::after {
    content: '';
    position: absolute;
    top: 10%; left: 5%;
    width: 120px; height: 120px;
    background: var(--gradient-2, #2563eb);
    border-radius: 50%;
    opacity: 0.01;
    filter: blur(2px);
    animation: aboutBubble1 6s ease-in-out infinite alternate;
    z-index: 0;
}
.about-bubble-bg .about-description {
    position: relative;
    z-index: 2;
}
.about-bubble-bg .about-logo {
    position: relative;
    z-index: 2;
}
@keyframes aboutBubble1 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}
.about-bubble-bg::before {
    content: '';
    position: absolute;
    top: 60%; left: 60%;
    width: 80px; height: 80px;
    background: var(--gradient-3, #9333ea);
    border-radius: 50%;
    opacity: 0.01;
    filter: blur(2px);
    animation: aboutBubble2 7s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes aboutBubble2 {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.08); }
}
.languages-bubble-canvas {
    position: relative;
    width: 100%;
    height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    z-index: 1;
    padding: 0;
}
.get-in-touch-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 1rem 2rem;
    background: var(--gradient-2);
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
.get-in-touch-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
}
.language-bubble-anim {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
    color: white;
    font-weight: 700;
    text-align: center;
    transition: box-shadow 0.2s;
    cursor: default;
    overflow: hidden;
    z-index: 1;
    will-change: transform;
    min-width: 70px;
    min-height: 70px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}
.language-bubble-anim .lang-flag {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.language-bubble-anim .lang-code {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.7;
}
.language-bubble-anim .lang-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 90%;
}
.language-bubble-anim .lang-native {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 0.1em;
}
.language-bubble-anim:hover {
    box-shadow: 0 6px 24px rgba(37,99,235,0.18);
    z-index: 2;
}

@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
    100% { transform: translateY(0); }
}

@media (max-width: 1024px) {
    .languages-bubble-canvas {
        height: 450px;
    }
}
@media (max-width: 768px) {
    .languages-bubble-canvas {
        height: 400px;
    }
    .language-bubble-anim {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .languages-bubble-canvas {
        height: 350px;
    }
    .language-bubble-anim {
        font-size: 0.8rem;
    }
}
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #152039;
    --secondary-color: #1e40af;
    --accent-color: #06b6d4;
    --light-bg: #ffffff;
    --lighter-bg: #f8fafc;
    --lightest-bg: #f1f5f9;
    --dark-text: #0f172a;
    --gray-text: #64748b;
    --card-bg: #ffffff;
    --card-hover: #f8fafc;
    --border-color: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-2: linear-gradient(135deg, #152039 0%, #1d4ed8 100%);
    --gradient-3: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(21, 32, 57, 0.3) 0%, rgba(29, 78, 216, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a.active {
    color: white;
    font-weight: 600;
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    background: white;
    border-radius: 8px;
    color: var(--primary-color) !important;
}

.btn-contact:hover {
    background: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    z-index: -1;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-2);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-text);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--gradient-2);
    color: white;
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    height: 500px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.floating-card {
    position: absolute;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 200px;
}

.card-image {
    width: 100%;
    height: 120px;
    flex-shrink: 0;
}

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

.floating-card p {
    font-weight: 600;
    margin: 0;
    padding: 1rem;
    text-align: center;
}

.floating-card .icon {
    font-size: 2rem;
}

.floating-card p {
    font-weight: 600;
    margin: 0;
}

.card-1 {
    top: 0%;
    left: 0%;
    animation-delay: 0s;
}

.card-2 {
    top: 10%;
    right: 0%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 5%;
    left: 0%;
    animation-delay: 2s;
}

.card-4 {
    bottom: 5%;
    right: 0%;
    animation-delay: 1.5s;
}

/* Statistics Section */
.statistics {
    padding: 6rem 0;
    background: var(--lightest-bg);
    overflow: hidden;
}

.clients-section-merged {
    margin-top: 6rem;
}

.clients-section-merged .section-header {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-text);
}

.section-description {
    font-size: 1rem;
    color: var(--gray-text);
    margin-top: 1rem;
    line-height: 1.6;
}

.stats-slider-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.stats-slider {
    display: flex;
    gap: 2rem;
    animation: slideLeft 30s linear infinite;
    width: fit-content;
}

.stats-slider:hover {
    animation-play-state: paused;
}

.stat-card {
    min-width: 280px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
}

.stat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(6, 182, 212, 0.3) 100%);
    transition: all 0.3s;
}

.stat-card:hover .stat-overlay {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.45) 0%, rgba(6, 182, 212, 0.45) 100%);
}

.stat-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    opacity: 0.95;
}

/* Services Section */
.languages-section {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.languages-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.languages-bubble-chart {
    position: relative;
    width: 100%;
    min-height: 800px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 1rem 0;
}

.language-bubble {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 12px rgba(37,99,235,0.08);
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: default;
    overflow: hidden;
    z-index: 1;
}
.language-bubble:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37,99,235,0.18);
}
.language-bubble .lang-code {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.7;
}
.language-bubble .lang-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0.1em;
    white-space: nowrap;
}
.language-bubble .lang-native {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 0.1em;
}

@media (max-width: 1024px) {
    .languages-bubble-chart {
        min-height: 600px;
    }
}
@media (max-width: 768px) {
    .languages-bubble-chart {
        min-height: 500px;
    }
    .language-bubble {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .languages-bubble-chart {
        min-height: 400px;
    }
    .language-bubble {
        font-size: 0.8rem;
    }
}
.services {
    padding: 6rem 0;
    background: var(--light-bg);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.hidden-service {
    display: none;
}

.hidden-service.show {
    display: block;
    animation: fadeInUp 0.5s ease-out;
}

.show-more-container {
    text-align: center;
    margin-top: 3rem;
}

#showMoreBtn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--card-hover);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-icon-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 16px;
    padding: 1rem;
    transition: all 0.3s;
}

.service-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(28%) sepia(97%) saturate(2449%) hue-rotate(218deg) brightness(95%) contrast(96%);
    transition: all 0.3s;
}

.service-card:hover .service-icon-img {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
}

.service-card:hover .service-icon-img img {
    filter: brightness(0) saturate(100%) invert(35%) sepia(97%) saturate(2449%) hue-rotate(218deg) brightness(100%) contrast(96%);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-text);
    padding: 0 2rem;
    margin-top: 1.5rem;
}

.service-description {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    padding: 0 2rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0 2rem 2rem 2rem;
    display: inline-block;
}

.service-link:hover {
    color: var(--accent-color);
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: var(--lightest-bg);
}

.projects .container {
    padding-left: 80px;
    padding-right: 80px;
}

.projects-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* allow edge card shadows and edges to show */
    max-width: 1400px;
    width: 100%;
    background: transparent; // removed white panel background
    border-radius: 0; // removed rounded corners
    padding: 0; // removed inner padding panel
    box-shadow: none; // removed drop shadow
    margin: 0 auto;
}

.projects {
    position: relative;
}

.projects .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #667eea;
}

.projects .left-arrow {
    left: 50px;
}

.projects .right-arrow {
    right: 50px;
}

.projects-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
    width: 100%;
}

.projects-slide {
    display: flex;
    min-width: 100%;
    gap: 2rem;
    justify-content: center;
}

.slider-arrow:hover {
    background: #667eea;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.project-card {
    /* Show exactly 3 cards with a 30px gap between them */
    flex: 0 0 calc((100% - 60px) / 3);
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1024px) {
    .project-card {
        flex: 0 0 calc((100% - 30px) / 2); /* exactly 2 cards */
    }
}

@media (max-width: 768px) {
    .project-card {
        flex: 0 0 100%; /* exactly 1 card */
    }
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-card .project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card .project-content {
    padding: 25px;
}

.project-card .project-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.project-card .project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-card .project-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-card .tag {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    color: #667eea;
}

/* Clients Section */
.clients {
    padding: 6rem 0;
    background: var(--light-bg);
    overflow: hidden;
}

.clients-marquee {
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
}

.clients-track {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    width: fit-content;
}

.client-logo {
    min-width: 200px;
    height: 100px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

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

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

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--lightest-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.125rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.feature-text p {
    color: var(--gray-text);
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2 !important;
    animation: pulse 3s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 20%;
    left: 10%;
}

.circle-2 {
    width: 150px;
    height: 150px;
    background: var(--gradient-3);
    top: 50%;
    right: 20%;
    animation-delay: 1s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    bottom: 10%;
    left: 40%;
    animation-delay: 2s;
}

/* Team Section */
.team {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(147, 51, 234, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.team .container {
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1366px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.team-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

.team-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
}

.team-card:hover .team-image {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-content {
    position: relative;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.team-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.info-text p {
    color: var(--gray-text);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    background: var(--lighter-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-text);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #22c55e;
}

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

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--gray-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
}

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-visual {
        height: 300px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--light-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s;
        gap: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    /* Make links readable on light background */
    .nav-links a {
        color: var(--dark-text);
        font-size: 1.125rem;
        padding: 0.5rem 1rem;
    }
    .nav-links a .nav-icon {
        color: var(--dark-text);
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-visual {
        height: 500px;
        position: relative;
    }

    .floating-card {
        width: 160px;
    }

    .card-image {
        height: 100px;
    }

    .floating-card p {
        font-size: 0.875rem;
        padding: 0.75rem;
    }

    .card-1 {
        top: 0%;
        left: 5%;
    }

    .card-2 {
        top: 0%;
        right: 5%;
    }

    .card-3 {
        bottom: 0%;
        left: 5%;
    }

    .card-4 {
        bottom: 0%;
        right: 5%;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .projects-slide {
        flex-direction: column;
        gap: 1rem;
    }

    .project-card {
        max-width: 100%;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stat-card {
        min-width: 240px;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

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

    .hero-visual {
        height: 400px;
    }

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

    .floating-card {
        width: 140px;
    }

    .card-image {
        height: 80px;
    }

    .floating-card p {
        font-size: 0.75rem;
        padding: 0.5rem;
    }

    .card-1 {
        top: 5%;
        left: 2%;
    }

    .card-2 {
        top: 5%;
        right: 2%;
    }

    .card-3 {
        bottom: 5%;
        left: 2%;
    }

    .card-4 {
        bottom: 5%;
        right: 2%;
    }
}

/* Impact Photos (under Our Impact in Numbers) */
.impact-photos {
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    padding-left: 80px; /* horizontal margin */
    padding-right: 80px; /* horizontal margin */
}

.impact-photos-track {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    animation: marquee 35s linear infinite;
}

.impact-photos:hover .impact-photos-track {
    animation-play-state: paused;
}

/* Match width to stat cards (~280px) and make height ~2x */
.impact-photo {
    width: 280px;
    height: 400px;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    object-fit: cover;
    background: #f3f4f6; /* fallback while loading */
}

@media (max-width: 1280px) {
    .impact-photo { width: 260px; height: 360px; }
}
@media (max-width: 1024px) {
    .impact-photo { width: 240px; height: 320px; }
}
@media (max-width: 768px) {
    .impact-photo { width: 200px; height: 280px; }
}

/* Impact Photos (under Projects) */
.impact-photos-section {
    padding: 0 80px; /* left/right margins for the whole section */
    margin-top: 2rem;
    background: var(--lightest-bg); /* match projects section */
}

.impact-photos-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.impact-photos {
    overflow: hidden;
    position: relative;
}

.impact-photos-track {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    animation: marquee 35s linear infinite;
}
