/* CSS Variables */
:root {
    --primary-color: #a7ff2f;
    --secondary-color: #000000;
    --dark-color: #000000;
    --light-color: #ffffff;
    --gray-color: #f8f8f8;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

/* Modern Mobile Menu Styles */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(167, 255, 47, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 12px;
    background: rgba(167, 255, 47, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(167, 255, 47, 0.25);
    background: rgba(167, 255, 47, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(167, 255, 47, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 255, 47, 0.1), transparent);
    transition: left 0.5s ease;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(167, 255, 47, 0.1);
    transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(167, 255, 47, 0.15);
    box-shadow: 0 4px 20px rgba(167, 255, 47, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(167, 255, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(167, 255, 47, 0.4);
    background: linear-gradient(135deg, #8bc34a, var(--primary-color));
}

/* Mobile Menu Enhancements */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1.5rem;
        border: 1px solid rgba(167, 255, 47, 0.1);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-nav {
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 1rem !important;
        border-radius: 12px;
        margin: 0.25rem 0;
        border: 1px solid transparent;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        border-color: rgba(167, 255, 47, 0.3);
        background: rgba(167, 255, 47, 0.1);
        transform: translateX(5px);
    }
    
    .btn-primary {
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1.1rem;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.25;
    }
}

@keyframes gridGlow {
    0%, 100% {
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    20% {
        opacity: 0.8;
    }
    30% {
        opacity: 1;
    }
    40% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    60% {
        opacity: 0;
    }
    70% {
        opacity: 0.3;
    }
    80% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.3;
    }
}

@keyframes starGlow {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes terminalGlow {
    0%, 100% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.3),
            0 0 40px rgba(167, 255, 47, 0.2);
    }
    50% {
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.3),
            0 0 50px rgba(167, 255, 47, 0.3);
    }
}

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

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 2px 8px var(--shadow-color);
    }
    50% {
        box-shadow: 0 4px 16px var(--shadow-color);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Global Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.navbar {
    background-color: var(--dark-color);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--light-color) !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    color: var(--light-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(167, 255, 47, 0.3);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 76px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    pointer-events: none;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--primary-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.floating-dots .dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-color);
    will-change: transform;
}

.floating-dots .dot:nth-child(1) { animation-delay: 0s; }
.floating-dots .dot:nth-child(2) { animation-delay: 1s; }
.floating-dots .dot:nth-child(3) { animation-delay: 2s; }
.floating-dots .dot:nth-child(4) { animation-delay: 0.5s; }
.floating-dots .dot:nth-child(5) { animation-delay: 1.5s; }

/* New rotating elements */
.rotating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.rotating-element {
    position: absolute;
    border: 2px solid rgba(167, 255, 47, 0.2);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
    will-change: transform;
}

.rotating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 5%;
    left: 5%;
    animation-duration: 25s;
    animation-direction: reverse;
}

.rotating-element:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: 5%;
    right: 5%;
    animation-duration: 30s;
    border-color: rgba(167, 255, 47, 0.15);
}

.rotating-element:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 15%;
    right: 10%;
    animation-duration: 18s;
    animation-direction: reverse;
    border-color: rgba(167, 255, 47, 0.25);
}

.rotating-element:nth-child(4) {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 10%;
    animation-duration: 22s;
    border-color: rgba(167, 255, 47, 0.1);
}

/* Floating geometric shapes - positioned in free space only */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 15s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    bottom: 10%;
    left: 5%;
    animation-delay: 3s;
}

.floating-shape:nth-child(3) {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 10%;
    left: 15%;
    animation-delay: 6s;
}

.floating-shape:nth-child(4) {
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    bottom: 20%;
    right: 15%;
    animation-delay: 9s;
}

.rotating-ring {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.4;
    z-index: 1;
    box-shadow: 0 0 20px var(--primary-color);
}

.rotating-ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    animation: slideInFromTop 0.8s ease-out;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.badge i {
    animation: bounce 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--light-color);
    animation: scaleIn 1s ease-out 0.2s both;
}

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

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 500px;
    animation: slideInFromBottom 1s ease-out 0.3s both;
    font-weight: 400;
}

.hero-buttons {
    animation: slideInFromBottom 1s ease-out 0.6s both;
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    gap: 2rem;
    animation: scaleIn 1s ease-out 0.9s both;
}

.stat-item {
    text-align: center;
    transition: all 0.5s ease;
    opacity: 1;
    transform: translateY(0);
}

.stat-item.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.stat-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:hover {
    transform: scale(1.1);
    animation: shake 0.5s ease-in-out;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.code-block {
    background: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    animation: fadeInRight 1s ease-out;
    box-shadow: 0 4px 16px var(--shadow-color);
}

.code-block-enhanced {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 1rem;
    line-height: 1.6;
    width: 100%;
    max-width: 600px;
    height: 500px;
    position: relative;
    overflow: hidden;
    animation: fadeInRight 1s ease-out;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(167, 255, 47, 0.2);
    backdrop-filter: blur(20px);
    z-index: 10;
    transition: all 0.5s ease;
    animation: fadeInRight 1s ease-out, terminalGlow 3s ease-in-out infinite;
}

.code-block-enhanced.showing-services {
    border: 1px solid rgba(167, 255, 47, 0.8);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(167, 255, 47, 0.4),
        0 0 100px rgba(167, 255, 47, 0.2);
}

.code-block-enhanced.erasing {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.code-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.code-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45px;
    background: rgba(45, 45, 45, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    backdrop-filter: blur(10px);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.code-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.code-dots .dot:nth-child(2) {
    background: #ffbd2e;
}

.code-dots .dot:nth-child(3) {
    background: #27ca3f;
}

.code-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.code-content {
    margin-top: 30px;
}

.code-content-enhanced {
    padding: 1.5rem;
    margin-top: 45px;
    height: calc(100% - 45px);
    overflow-y: auto;
}

.typing-line {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.prompt {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

.typing-text {
    color: #fff;
    min-height: 1.2em;
}

.cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.object-container {
    margin-top: 1rem;
}

.code-object {
    background: rgba(167, 255, 47, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    animation: objectSlideIn 0.5s ease-out;
    position: relative;
}

.code-object.deleting {
    animation: objectSlideOut 0.5s ease-out forwards;
}

@keyframes objectSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.object-title {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.object-property {
    color: #888;
    margin-left: 1rem;
    margin-bottom: 0.25rem;
}

.object-property .key {
    color: #4fc3f7;
}

.object-property .value {
    color: #81c784;
}

.object-property .string {
    color: #ffb74d;
}

/* Tool Badge Styles */
.tool-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    margin: 0.5rem;
    font-size: 1rem;
    animation: toolSlideIn 0.5s ease-out;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.tool-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.tool-badge:hover::before {
    left: 100%;
}

.tool-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.tool-badge.deleting {
    animation: toolSlideOut 0.3s ease-out forwards;
}

.tool-logo-circle {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-logo-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tool-badge:hover .tool-logo-circle::before {
    opacity: 1;
}

.tool-badge:hover .tool-logo-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.tool-logo-circle i {
    font-size: 16px;
    color: #333;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.tool-name {
    font-weight: 300;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.3px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
}





@keyframes toolSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toolSlideOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }
}



.code-line {
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }
.code-line:nth-child(7) { animation-delay: 0.7s; }

/* Our Approach Section */
.approach-section {
    background: var(--dark-color);
    color: var(--light-color);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.approach-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.approach-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

.approach-card {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 16px var(--shadow-color);
    animation: scaleIn 0.8s ease-out both;
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.6s ease;
    opacity: 0.1;
}

.approach-card:hover::before {
    left: 100%;
}

.approach-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.approach-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1);
}

.approach-step {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.approach-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.approach-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
    opacity: 0.5;
}

/* Featured Projects Section */
.featured-projects {
    background-color: #f8f9fa;
    color: var(--text-primary);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.featured-projects .section-title {
    color: var(--text-primary);
}

.featured-projects .section-subtitle {
    color: var(--text-secondary);
}

.featured-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(167, 255, 47, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(167, 255, 47, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.section-subtitle {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

/* Projects Carousel */
.projects-carousel-container {
    position: relative;
    overflow: hidden;
}

.projects-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.project-card {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
    box-shadow: 0 4px 16px var(--shadow-color);
    height: 420px;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.project-card:nth-child(1) { animation-delay: 0s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.4s; }

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.project-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Removed overlay to show images crisply and brightly */

.project-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.project-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.project-country {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-country:hover {
    transform: scale(1.1);
}

.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.project-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--dark-color);
    line-height: 1.3;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
    font-size: 0.75rem;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 10px;
}

.tech-tag {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 500;
}

.view-project {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    margin-top: auto;
}

.view-project:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}



/* Responsive Grid - Updated for horizontal scroll */
@media (max-width: 768px) {
    .projects-carousel {
        /* Grid properties removed - now using flex for horizontal scroll */
        gap: 15px;
        padding: 0 15px;
    }
    
    .project-card {
        height: 360px;
        min-height: 360px;
    }
}

@media (max-width: 576px) {
    .projects-carousel {
        /* Grid properties removed - now using flex for horizontal scroll */
        gap: 15px;
        padding: 0 10px;
    }
    
    .project-card {
        height: 340px;
        min-height: 340px;
    }
}

/* Services Section */
.services-section {
    background: #000000;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services-logo {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 2px solid rgba(167, 255, 47, 0.3);
    margin-bottom: 2rem;
    box-shadow: 0 8px 24px rgba(167, 255, 47, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.services-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(167, 255, 47, 0.1), transparent);
    transition: left 0.5s ease;
}

.services-logo:hover::before {
    left: 100%;
}

.services-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(167, 255, 47, 0.3);
    border-color: var(--primary-color);
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 20px rgba(167, 255, 47, 0.4);
    animation: logoPulse 2s ease-in-out infinite;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(167, 255, 47, 0.2);
}

.logo-sub {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(167, 255, 47, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(167, 255, 47, 0.6);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes iconGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 15px 40px rgba(167, 255, 47, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 20px 50px rgba(167, 255, 47, 0.6),
            0 8px 20px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.services-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(167, 255, 47, 0.3);
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(167, 255, 47, 0.3);
}

.services-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-category {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border: 2px solid #000000;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.service-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(167, 255, 47, 0.02), rgba(139, 195, 74, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-category:hover::after {
    opacity: 1;
}

.service-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8bc34a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-category:hover::before {
    transform: scaleX(1);
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.service-header {
    text-align: center;
    margin-bottom: 2rem;
}


.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    border-radius: 50%;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.service-category:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-category:hover .service-title {
    color: var(--primary-color);
}

.service-description {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-weight: 400;
}

.service-category:hover .service-description {
    color: rgba(0, 0, 0, 0.8);
}

.sub-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.sub-service {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #000000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sub-service:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



.sub-service i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.sub-service span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-color);
}

/* CTA Section */
.cta-section {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

.btn-dark {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
.testimonials-section {
    background: #000000;
    color: var(--dark-color);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(167, 255, 47, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 195, 74, 0.05) 0%, transparent 50%);
    pointer-events: none;
}



.testimonials-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    color: var(--dark-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(167, 255, 47, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.testimonials-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.testimonials-badge:hover::before {
    left: 100%;
}

.testimonials-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.testimonials-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8bc34a 100%);
    border-radius: 2px;
}

.testimonials-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

.testimonials-stars {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.testimonials-stars i {
    font-size: 2rem;
    color: #ffd700;
    animation: testimonialsStarGlow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.testimonials-stars i:nth-child(1) {
    animation-delay: 0s;
}

.testimonials-stars i:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonials-stars i:nth-child(3) {
    animation-delay: 0.4s;
}

.testimonials-stars i:nth-child(4) {
    animation-delay: 0.6s;
}

.testimonials-stars i:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes testimonialsStarGlow {
    0% {
        color: #ffd700;
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    }
    50% {
        color: #fff;
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
    100% {
        color: #ffd700;
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
    }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    z-index: 2;
    max-width: 1200px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: scaleIn 0.8s ease-out both;
    backdrop-filter: blur(20px);
    transform: translateY(0);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(167, 255, 47, 0.02) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.5s;
}

.testimonial-card.active {
    display: block;
}

.testimonial-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1.5rem 2rem 1rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.testimonial-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #8bc34a 100%);
    z-index: 3;
}

.testimonial-card:nth-child(1) .testimonial-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.testimonial-card:nth-child(2) .testimonial-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.testimonial-card:nth-child(3) .testimonial-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.testimonial-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(167, 255, 47, 0.15), rgba(139, 195, 74, 0.15));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotate(45deg);
}

.testimonial-card:hover .testimonial-header::before {
    opacity: 1;
}

.testimonial-card:hover .testimonial-header::after {
    opacity: 1;
}

.testimonial-content {
    padding: 2rem 2rem 1.5rem;
    position: relative;
    border-radius: 20px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.6s ease;
    opacity: 0.05;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card {
    animation: slideInFromLeft 0.8s ease-out both;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.3s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.5s;
}

.testimonial-card:nth-child(4) {
    animation-delay: 0.7s;
}

.testimonial-card:nth-child(5) {
    animation-delay: 0.9s;
}

.testimonial-card:nth-child(6) {
    animation-delay: 1.1s;
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(167, 255, 47, 0.3));
}

.rating {
    display: flex;
    gap: 0.3rem;
    position: relative;
    z-index: 2;
}

.rating i {
    color: #ffd700;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: starGlow 2s ease-in-out infinite alternate;
}

.rating i:nth-child(1) { animation-delay: 0s; }
.rating i:nth-child(2) { animation-delay: 0.2s; }
.rating i:nth-child(3) { animation-delay: 0.4s; }
.rating i:nth-child(4) { animation-delay: 0.6s; }
.rating i:nth-child(5) { animation-delay: 0.8s; }



.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 1.5rem;
    font-style: normal;
    position: relative;
    z-index: 2;
    font-weight: 500;
    text-align: left;
}

.testimonial-author {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.3);
    margin: 0 -2rem -1.5rem -2rem;
    padding: 1.5rem 2rem 1.5rem 2rem;
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(10px);
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1a1a1a;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

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

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.2rem;
}

.author-position {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.author-company {
    font-size: 0.8rem;
    color: #000000;
    font-weight: 700;
}



.testimonial-card:nth-child(1) .author-company {
    color: #1a1a1a;
}

.testimonial-card:nth-child(2) .author-company {
    color: #1a1a1a;
}

.testimonial-card:nth-child(3) .author-company {
    color: #1a1a1a;
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(167, 255, 47, 0.3);
    border: 2px solid rgba(167, 255, 47, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(167, 255, 47, 0.1);
}

.nav-dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(167, 255, 47, 0.3);
}

.nav-dot:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(167, 255, 47, 0.2);
}

/* Work History Section */
.work-history-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    color: var(--dark-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.work-history-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(167, 255, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 195, 74, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(167, 255, 47, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.work-history-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    color: var(--dark-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(167, 255, 47, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.work-history-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.work-history-subtitle {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 3rem;
    z-index: 2;
}

.timeline-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #8bc34a, var(--primary-color));
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 1;
}

.timeline-marker {
    position: relative;
    z-index: 10;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.timeline-marker:hover {
    transform: translateY(-10px);
}

.marker-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 12px 32px rgba(167, 255, 47, 0.4);
    border: 4px solid white;
    position: relative;
    animation: markerPulse 3s ease-in-out infinite;
}

.marker-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(167, 255, 47, 0.3);
    border-radius: 50%;
    animation: markerRing 2s ease-in-out infinite;
}

.marker-content {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(167, 255, 47, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    white-space: nowrap;
    z-index: 20;
}

.timeline-marker:hover .marker-content {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

.marker-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
    font-size: 1rem;
    font-weight: 700;
}

.marker-content p {
    margin: 0 0 0.5rem 0;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
}

.project-count {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

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

.stat-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(167, 255, 47, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #8bc34a);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(167, 255, 47, 0.15);
    border-color: var(--primary-color);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-visual {
    position: relative;
    margin-bottom: 1.5rem;
}

.stat-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.stat-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-progress {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 6;
    stroke-linecap: round;
    animation: progressFill 2s ease-out forwards;
}

.stat-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
}

.stat-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-info p {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Achievements Container */
.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(167, 255, 47, 0.05), rgba(139, 195, 74, 0.05));
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(167, 255, 47, 0.2);
    position: relative;
    overflow: hidden;
    animation: achievementFloat 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 255, 47, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.4s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(167, 255, 47, 0.2);
    border-color: var(--primary-color);
}

.achievement-card:hover::before {
    transform: scale(1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 24px rgba(167, 255, 47, 0.3);
    position: relative;
    z-index: 2;
}

.achievement-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

.achievement-card p {
    margin: 0;
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 32px rgba(167, 255, 47, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 16px 40px rgba(167, 255, 47, 0.6);
    }
}

@keyframes markerRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes progressFill {
    from {
        stroke-dashoffset: 251.2;
    }
    to {
        stroke-dashoffset: var(--final-offset);
    }
}

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

/* Team Section */
.team-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    color: var(--dark-color);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}



.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(167, 255, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 195, 74, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(167, 255, 47, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.team-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    color: var(--dark-color);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(167, 255, 47, 0.4);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.team-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.team-subtitle {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.7);
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 2;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
}

.team-member {
    background: var(--dark-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(167, 255, 47, 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}



/* Member Avatar */
.member-avatar {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.team-member:hover .member-avatar img {
    transform: none;
}

.avatar-overlay {
    display: none;
}

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

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: white;
    color: #333;
    transform: scale(1.05);
}

/* Member Info */
.member-info {
    padding: 0.75rem 1.25rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.member-position {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.member-qualifications {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.qualification {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.2;
}

/* Dark titles for founder and co-founder */
.team-member:first-child .member-position,
.team-member:nth-child(2) .member-position {
    color: var(--primary-color);
    font-weight: 500;
}



.member-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1rem 0;
    flex: 1;
}

.member-skills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.skill-tag {
    background: rgba(167, 255, 47, 0.08);
    color: var(--primary-color);
    padding: 0.35rem 0.7rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(167, 255, 47, 0.15);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.team-stats .stat-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(167, 255, 47, 0.1);
    transition: all 0.4s ease;
}

.team-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(167, 255, 47, 0.15);
    border-color: var(--primary-color);
}

.team-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-stats .stat-label {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(20, 20, 20, 0.9) 50%, 
        rgba(0, 0, 0, 0.95) 100%);
    color: var(--light-color);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--primary-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
    filter: blur(0.5px);
}

.contact-grid-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--primary-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0;
    animation: gridGlow 3s ease-in-out infinite;
    will-change: opacity;
}

.contact-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.contact-floating-element {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(167, 255, 47, 0.6);
    border: 2px solid rgba(167, 255, 47, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--dark-color);
    animation: float 12s ease-in-out infinite;
    opacity: 0.6;
    will-change: transform;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(167, 255, 47, 0.2),
        0 0 20px rgba(167, 255, 47, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-floating-element.element-1 {
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

.contact-floating-element.element-2 {
    top: 20%;
    right: 12%;
    animation-delay: 2s;
}

.contact-floating-element.element-3 {
    top: 60%;
    left: 6%;
    animation-delay: 4s;
}

.contact-floating-element.element-4 {
    top: 70%;
    right: 8%;
    animation-delay: 6s;
}

.contact-floating-element.element-5 {
    top: 35%;
    left: 15%;
    animation-delay: 1s;
}

.contact-floating-element.element-6 {
    top: 45%;
    right: 18%;
    animation-delay: 3s;
}

.contact-rotating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.contact-rotating-element {
    position: absolute;
    border: 3px solid rgba(167, 255, 47, 0.15);
    border-radius: 50%;
    animation: rotate 25s linear infinite;
    will-change: transform;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 30px rgba(167, 255, 47, 0.12),
        inset 0 0 20px rgba(167, 255, 47, 0.06);
}

.contact-rotating-element.element-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    animation-duration: 30s;
    animation-direction: reverse;
    border-color: rgba(167, 255, 47, 0.3);
    box-shadow: 
        0 0 40px rgba(167, 255, 47, 0.25),
        inset 0 0 30px rgba(167, 255, 47, 0.15);
}

.contact-rotating-element.element-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: 10%;
    animation-duration: 20s;
    border-color: rgba(167, 255, 47, 0.2);
    box-shadow: 
        0 0 25px rgba(167, 255, 47, 0.2),
        inset 0 0 15px rgba(167, 255, 47, 0.1);
}

.contact-rotating-element.element-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    left: 20%;
    animation-duration: 25s;
    animation-direction: reverse;
    border-color: rgba(167, 255, 47, 0.25);
    box-shadow: 
        0 0 35px rgba(167, 255, 47, 0.22),
        inset 0 0 25px rgba(167, 255, 47, 0.12);
}

.contact-floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.contact-floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: floatShape 18s ease-in-out infinite;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 20px rgba(167, 255, 47, 0.12),
        0 0 15px rgba(167, 255, 47, 0.08);
}

.contact-floating-shape.shape-1 {
    width: 35px;
    height: 35px;
    background: rgba(167, 255, 47, 0.5);
    border: 1px solid rgba(167, 255, 47, 0.25);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 8%;
    right: 5%;
    animation-delay: 0s;
    box-shadow: 
        0 6px 25px rgba(167, 255, 47, 0.15),
        0 0 20px rgba(167, 255, 47, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-floating-shape.shape-2 {
    width: 25px;
    height: 25px;
    background: rgba(167, 255, 47, 0.45);
    border: 1px solid rgba(167, 255, 47, 0.2);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    bottom: 15%;
    left: 8%;
    animation-delay: 4s;
    box-shadow: 
        0 4px 18px rgba(167, 255, 47, 0.12),
        0 0 15px rgba(167, 255, 47, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.contact-floating-shape.shape-3 {
    width: 40px;
    height: 40px;
    background: rgba(167, 255, 47, 0.5);
    border: 1px solid rgba(167, 255, 47, 0.25);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 25%;
    left: 12%;
    animation-delay: 8s;
    box-shadow: 
        0 5px 22px rgba(167, 255, 47, 0.14),
        0 0 18px rgba(167, 255, 47, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-floating-shape.shape-4 {
    width: 30px;
    height: 30px;
    background: rgba(167, 255, 47, 0.4);
    border: 1px solid rgba(167, 255, 47, 0.15);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    bottom: 30%;
    right: 15%;
    animation-delay: 12s;
    box-shadow: 
        0 3px 16px rgba(167, 255, 47, 0.1),
        0 0 12px rgba(167, 255, 47, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--light-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 10;
    line-height: 1.7;
    text-align: center;
    font-weight: 400;
}

.contact-info {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 16px var(--shadow-color);
    animation: scaleIn 0.8s ease-out both;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    margin-bottom: 2rem;
    flex: 1;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: slideInFromLeft 0.8s ease-out both;
}

.contact-method:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.contact-method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.contact-method-content p {
    color: var(--dark-color);
    margin: 0;
    font-size: 0.9rem;
}

.social-links-contact {
    margin-top: auto;
    padding-top: 2rem;
}

.social-links-contact h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(167, 255, 47, 0.15) 0%, rgba(167, 255, 47, 0.05) 100%);
    border: 1px solid rgba(167, 255, 47, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(167, 255, 47, 0.3);
}

.contact-form-enhanced {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 16px var(--shadow-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.enhanced-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.form-control-enhanced {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--dark-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control-enhanced::placeholder {
    color: var(--text-secondary);
}

.form-control-enhanced:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--light-color);
    box-shadow: 0 0 0 3px rgba(167, 255, 47, 0.1);
}

.form-control-enhanced:focus::placeholder {
    color: var(--text-secondary);
}

.btn-primary-enhanced {
    background: var(--primary-color);
    border: none;
    color: var(--dark-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-color);
}

.btn-primary-enhanced:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px var(--shadow-color);
    color: var(--dark-color);
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
    margin-top: auto;
    padding-top: 2rem;
}

/* Legacy form styles - keeping for compatibility */
.contact-form {
    background: var(--gray-color);
    padding: 3rem;
    border-radius: 10px;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(167, 255, 47, 0.25);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 2rem 0 0.5rem;
}

.footer h5 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.footer ul li {
    margin-bottom: 0.3rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(167, 255, 47, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Co-Founder Profile */
.co-founder-profile {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(167, 255, 47, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.co-founder-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(167, 255, 47, 0.2);
}

.co-founder-avatar {
    flex-shrink: 0;
    position: relative;
}

.co-founder-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(167, 255, 47, 0.3);
    transition: all 0.3s ease;
}

.co-founder-profile:hover .co-founder-avatar img {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(167, 255, 47, 0.4);
}

.co-founder-info {
    flex: 1;
}

.co-founder-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-color);
    margin: 0 0 0.3rem 0;
}

.co-founder-title {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.co-founder-badges {
    display: flex;
    gap: 0.5rem;
}

.co-founder-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
    color: var(--dark-color);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(167, 255, 47, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-container {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .rotating-ring {
        display: none;
    }
    
    .code-block {
        max-width: 100%;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .floating-element {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .approach-card {
        padding: 2rem 1.5rem;
    }
    
    .approach-number {
        font-size: 2rem;
    }
    
    .contact-element {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .contact-info,
    .contact-form-enhanced {
        padding: 2rem;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-method {
        padding: 0.8rem;
    }
    
    .contact-method-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .testimonials-grid {
        /* Grid properties removed - now using flex for horizontal scroll */
        gap: 2rem;
    }
    
    .timeline-track {
        /* Flex direction changed to row for horizontal scroll */
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .work-history-section {
        padding: 3rem 0;
    }
    
    .work-history-subtitle {
        margin: 0 auto 1.5rem;
    }
    
    .timeline-container {
        margin: 0 auto 2rem;
    }
    
    .timeline-track::before {
        display: none;
    }
    
    .timeline-marker {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem;
    }
    
    .stat-circle {
        width: 100px;
        height: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .achievements-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .achievement-card {
        padding: 1.5rem;
    }
    
    .co-founder-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .co-founder-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .team-grid {
        /* Grid properties removed - now using flex for horizontal scroll */
        gap: 1.5rem;
        max-width: none;
    }
    
    .team-member {
        margin: 0;
    }
    
    .member-avatar {
        height: 320px;
    }
    
    .member-info {
        padding: 0.5rem 1rem 1rem 1rem;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
    
    .team-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .team-stats .stat-item {
        padding: 1.5rem;
    }
    
    .team-stats .stat-number {
        font-size: 2rem;
    }
    
    .services-grid {
        /* Grid properties removed - now using flex for horizontal scroll */
        gap: 1.5rem;
    }
    
    .service-category {
        padding: 1.5rem;
    }
    
    .sub-services {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    

}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Founders Connection Animation */
.founders-connection {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.line-segment {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--dark-color), transparent);
    position: relative;
    animation: lineFlow 3s ease-in-out infinite;
}

.line-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: lineGlow 2s ease-in-out infinite;
}

.company-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--dark-color);
    animation: logoPulse 4s ease-in-out infinite;
}

.logo-container {
    text-align: center;
    position: relative;
    z-index: 2;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.logo-subtext {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--dark-color);
    letter-spacing: 1px;
    opacity: 0.8;
}

.logo-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(167, 255, 47, 0.2), transparent);
    border-radius: 10px;
    animation: logoGlow 3s ease-in-out infinite;
}

.connection-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 25%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 30%;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    top: 40%;
    left: 70%;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: 2.4s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 3.2s;
}

@keyframes lineFlow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 30px rgba(167, 255, 47, 0.2);
    }
}

@keyframes logoGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

/* Project Modal Styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.active {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--light-color);
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.project-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color), #8bc34a);
}

.modal-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.project-gallery {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.gallery-main {
    position: relative;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--gray-color);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

.project-details {
    padding: 30px;
}

.project-info-modal h4 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-info-modal p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.project-category-modal,
.project-country-modal {
    background: var(--primary-color);
    color: var(--dark-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tech-stack-modal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-stack-modal .tech-tag {
    background: var(--gray-color);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .project-gallery,
    .project-details {
        padding: 20px;
    }
    
    .gallery-main {
        min-height: 200px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .modal-header {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .project-info-modal h4 {
        font-size: 1.5rem;
    }
    
    .project-info-modal p {
        font-size: 1rem;
    }
}

/* Floating WhatsApp Chat Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: rotate(10deg);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    }
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }
}

/* WhatsApp Chat Button Styling */
.btn-success {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Horizontal Scroll Fixes */
/* Ensure smooth scrolling on mobile */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbars but keep functionality */
.horizontal-scroll-container {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Mobile Horizontal Scroll Fixes */
@media (max-width: 768px) {
    /* Projects Carousel - Horizontal Scroll */
    .projects-carousel-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }
    
    .projects-carousel-container::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    
    .projects-carousel {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        padding: 0 20px;
        min-width: max-content;
        grid-template-columns: none;
        grid-template-rows: none;
    }
    
    .project-card {
        flex: 0 0 300px;
        height: 380px;
        min-height: 380px;
        width: 300px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .project-info {
        padding: 12px;
    }
    
    .project-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .project-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Services Grid - Keep Vertical on Mobile */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .service-category {
        width: 100%;
        max-width: 600px;
    }
    
    /* Testimonials Grid - Horizontal Scroll for Cards Only */
    .testimonials-scroll-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .testimonials-scroll-container::-webkit-scrollbar {
        display: none;
    }
    
    .testimonials-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 20px;
        min-width: max-content;
        max-width: none !important;
        width: max-content !important;
        grid-template-columns: none !important;
    }
    
    .testimonial-card {
        flex: 0 0 320px !important;
        width: 320px !important;
        min-width: 320px !important;
        height: auto;
    }
    
    /* Team Grid - Keep Vertical on Mobile */
    .team-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-member {
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }
    
    /* Timeline Container - Horizontal Scroll for Timeline Only */
    .timeline-scroll-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .timeline-scroll-container::-webkit-scrollbar {
        display: none;
    }
    
    .timeline-container {
        min-width: max-content;
        max-width: none !important;
        width: max-content !important;
        padding: 0 40px;
    }
    
    .timeline-track {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 40px;
        min-width: max-content;
        display: flex !important;
        position: relative;
        padding: 2rem 0;
        align-items: center;
    }
    
    .timeline-track::before {
        display: block;
        width: calc(100% + 80px);
        min-width: calc(100% + 80px);
        left: -40px;
        right: -40px;
        position: absolute;
        top: 50%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), #8bc34a, var(--primary-color));
        transform: translateY(-50%);
        border-radius: 2px;
        z-index: 1;
    }
    
    .timeline-marker {
        flex: 0 0 auto;
        min-width: 120px;
    }
    
    .marker-content {
        position: relative;
        transform: none;
        opacity: 1;
        white-space: normal;
        width: 200px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .timeline-marker:hover .marker-content {
        transform: translateX(-50%) translateY(-10px);
    }
}

@media (max-width: 576px) {
    /* Smaller screens - adjust card sizes */
    .project-card {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
        height: 360px;
        min-height: 360px;
    }
    
    .project-image {
        height: 160px;
    }
    
    .project-info {
        padding: 10px;
    }
    
    .project-title {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .project-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .service-category {
        width: 100%;
        max-width: 500px;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
    }
    
    .team-member {
        width: 100%;
        max-width: 350px;
    }
    
    .timeline-marker {
        min-width: 100px;
    }
    
    .marker-content {
        width: 180px;
    }
    
    /* Add scroll indicators for mobile */
    .scroll-indicator {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(167, 255, 47, 0.8);
        color: #000;
        padding: 8px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        z-index: 10;
        animation: pulse 2s infinite;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .scroll-indicator::before {
        content: '→';
        margin-right: 5px;
    }
    
    /* Enhanced cursor styles for horizontal scroll */
    .projects-carousel,
    .testimonials-scroll-container,
    .timeline-scroll-container {
        cursor: grab;
    }
    
    .projects-carousel:active,
    .testimonials-scroll-container:active,
    .timeline-scroll-container:active {
        cursor: grabbing;
    }
    
    /* Smooth scroll snap for better mobile experience */
    .projects-carousel,
    .testimonials-scroll-container,
    .timeline-scroll-container {
        scroll-snap-type: x mandatory;
    }
    
    .project-card,
    .testimonial-card,
    .timeline-marker {
        scroll-snap-align: start;
    }
}