/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --accent-secondary: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-dark: #1e293b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-accent: linear-gradient(45deg, #8b5cf6, #06b6d4);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --shadow-sm: 0 2px 4px rgba(30, 58, 138, 0.1);
    --shadow-md: 0 4px 6px rgba(30, 58, 138, 0.1);
    --shadow-lg: 0 10px 15px rgba(30, 58, 138, 0.1);
    --shadow-xl: 0 20px 25px rgba(30, 58, 138, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - Enhanced Parallax */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    perspective: 1000px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 1;
    transform-style: preserve-3d;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transform: scale(1.1);
}

.hero-people {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.hero-person {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: all 0.6s ease;
    border: 4px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
    opacity: 0.4;
    transform: translateY(-50%);
}

.hero-person-1 {
    top: 15%;
    left: 5%;
    width: 280px;
    height: 280px;
    transform: rotate(-5deg) translateY(0);
    animation: float-person-1 8s ease-in-out infinite;
}

.hero-person-2 {
    top: 15%;
    right: 8%;
    width: 240px;
    height: 240px;
    transform: rotate(3deg) translateY(0);
    animation: float-person-2 9s ease-in-out infinite;
}

.hero-person-3 {
    bottom: 25%;
    left: 12%;
    width: 260px;
    height: 260px;
    transform: rotate(-2deg) translateY(0);
    animation: float-person-3 10s ease-in-out infinite;
}

.hero-person-4 {
    top: 25%;
    right: 25%;
    width: 220px;
    height: 220px;
    transform: rotate(4deg) translateY(0);
    animation: float-person-4 11s ease-in-out infinite;
}

.hero-person-5 {
    bottom: 20%;
    right: 15%;
    width: 240px;
    height: 240px;
    transform: rotate(-3deg) translateY(0);
    animation: float-person-5 12s ease-in-out infinite;
}

@keyframes float-person-1 {
    0%, 100% {
        transform: rotate(-5deg) translateY(0px);
        opacity: 0.7;
    }
    25% {
        transform: rotate(-3deg) translateY(-15px);
        opacity: 0.8;
    }
    50% {
        transform: rotate(-7deg) translateY(-25px);
        opacity: 0.6;
    }
    75% {
        transform: rotate(-4deg) translateY(-10px);
        opacity: 0.9;
    }
}

@keyframes float-person-2 {
    0%, 100% {
        transform: rotate(3deg) translateY(0px);
        opacity: 0.6;
    }
    33% {
        transform: rotate(5deg) translateY(-20px);
        opacity: 0.8;
    }
    66% {
        transform: rotate(1deg) translateY(-30px);
        opacity: 0.7;
    }
}

@keyframes float-person-3 {
    0%, 100% {
        transform: rotate(-2deg) translateY(0px);
        opacity: 0.8;
    }
    40% {
        transform: rotate(-4deg) translateY(-18px);
        opacity: 0.6;
    }
    80% {
        transform: rotate(0deg) translateY(-28px);
        opacity: 0.9;
    }
}

@keyframes float-person-4 {
    0%, 100% {
        transform: rotate(4deg) translateY(0px);
        opacity: 0.7;
    }
    30% {
        transform: rotate(2deg) translateY(-20px);
        opacity: 0.9;
    }
    60% {
        transform: rotate(6deg) translateY(-15px);
        opacity: 0.8;
    }
    90% {
        transform: rotate(3deg) translateY(-25px);
        opacity: 0.85;
    }
}

@keyframes float-person-5 {
    0%, 100% {
        transform: rotate(-3deg) translateY(0px);
        opacity: 0.75;
    }
    25% {
        transform: rotate(-1deg) translateY(-22px);
        opacity: 0.85;
    }
    50% {
        transform: rotate(-5deg) translateY(-18px);
        opacity: 0.7;
    }
    75% {
        transform: rotate(-2deg) translateY(-30px);
        opacity: 0.9;
    }
}

.animated-shapes {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    transform-style: preserve-3d;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 70%);
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 70%);
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 70%);
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 1s;
    background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.12) 70%);
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 40%;
    left: 60%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 70%);
}

.shape-6 {
    width: 90px;
    height: 90px;
    bottom: 30%;
    right: 20%;
    animation-delay: 5s;
    background: radial-gradient(circle, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.09) 70%);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) rotate(90deg) scale(1.05);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) rotate(180deg) scale(1.1);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-20px) rotate(270deg) scale(1.05);
        opacity: 0.5;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.85em; /* Make 15% smaller */
}

.typing-text {
    position: relative;
    display: inline-block;
    min-width: 200px;
    white-space: nowrap;
    height: 1.2em;
    line-height: 1.2;
}

.typing-text::after {
    content: '';
    display: none;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons-container {
    min-height: 60px;
    display: flex;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 10px 20px rgba(238, 90, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(238, 90, 36, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: float-card 4s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.participants {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
    position: relative;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.avatar-2 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.avatar-3 {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.avatar-count {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: -10px;
    border: 3px solid white;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #48bb78;
    border: 2px solid white;
    position: relative;
}

.status-dot.online::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid #48bb78;
    animation: pulse-ring 2s infinite;
}

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

.meeting-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.meeting-time {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.meeting-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--bg-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    opacity: 0.7;
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto 10px;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: rotate(45deg) translateY(10px);
        opacity: 0.3;
    }
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.7;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: 0;
    overflow: hidden;
    transform: translate3d(0, 0, 0); /* Enable GPU acceleration */
}

.section-bg-image {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;
    opacity: 0.3;
    transform: scale(1.1) translate3d(0, 0, 0); /* Enable GPU acceleration */
    will-change: transform;
    transition: transform 0.5s ease-out;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Alternating section overlays */
.features .section-overlay {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15) 0%, rgba(59, 130, 246, 0.1) 50%, rgba(6, 182, 212, 0.05) 100%);
}

.solutions .section-overlay {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.1) 50%, rgba(30, 58, 138, 0.05) 100%);
}

.about .section-overlay {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(30, 58, 138, 0.1) 50%, rgba(6, 182, 212, 0.05) 100%);
}

.contact .section-overlay {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(6, 182, 212, 0.1) 50%, rgba(59, 130, 246, 0.05) 100%);
}

/* CSS Parallax Fallback */
@media (min-width: 769px) {
    .section-bg-image {
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.features:hover .section-bg-image {
    transform: scale(1.05) translateY(-5px);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 740px; /* 2 cards * 350px + 2rem gap */
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.solutions .section-bg-image {
    opacity: 0.08;
}

.solutions:hover .section-bg-image {
    transform: scale(1.05) translateY(-3px);
}

.solutions-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 1rem;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

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

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

.solution-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.solution-features i {
    color: #48bb78;
    font-weight: bold;
}

.solution-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.team-avatars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.avatar-small {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 3px solid white;
}

.enterprise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.grid-item {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    border: 2px solid white;
}

.remote-nodes {
    position: relative;
    width: 200px;
    height: 200px;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.node:nth-child(1) { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.node:nth-child(2) { top: 20%; left: 20%; }
.node:nth-child(3) { top: 20%; right: 20%; }
.node:nth-child(4) { bottom: 20%; left: 20%; }
.node:nth-child(5) { bottom: 20%; right: 20%; }

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about .section-bg-image {
    opacity: 0.12;
}

.about:hover .section-bg-image {
    transform: scale(1.05) translateY(-4px);
}

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

.about-text h2 {
    
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.growth-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 200px;
}

.chart-bar {
    width: 40px;
    background: var(--gradient-primary);
    border-radius: 10px 10px 0 0;
    animation: grow 1s ease-out forwards;
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes grow {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 3rem;
}

.contact-header {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

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

@media (max-width: 768px) {
    .contact-content {
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .contact-header {
        max-width: 100%;
        padding: 0;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .contact-header p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .contact-form-container {
        max-width: 100%;
        padding: 0;
    }
    
    .contact-form {
        padding: 1rem 0.5rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .contact-form button {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 60px 0;
    }
    
    .contact-content {
        gap: 1.5rem;
        padding: 0 0.25rem;
    }
    
    .contact-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-header p {
        font-size: 0.95rem;
    }
    
    .contact-form {
        padding: 0.75rem 0.25rem;
    }
    
    .contact-form h3 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 16px;
    }
    
    .contact-form button {
        padding: 0.75rem 1rem;
    }
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: white;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.contact .section-bg-image {
    opacity: 0.09;
}

.contact:hover .section-bg-image {
    transform: scale(1.05) translateY(-2px);
}

/* Contact Section - Old styles removed - using flex layout above */

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-visual {
    display: flex;
    justify-content: center;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    
    width: 100%;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    width: 100%;
}

.about-ctas {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.partnership-chart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.chart-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.chart-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.chart-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.chart-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.complexity-nodes,
.cost-bars,
.engagement-circles {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.complexity-nodes .node {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.8;
}

.cost-bars .bar {
    width: 30px;
    background: var(--gradient-primary);
    border-radius: 5px;
}

.engagement-circles .circle {
    width: 35px;
    height: 35px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
}

/* Contact Form Select Styling */
.contact-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--bg-light);
    cursor: pointer;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

/* Legal Pages */
.legal-section {
    padding: 100px 0;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-text {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.legal-text h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.legal-text strong {
    color: var(--text-dark);
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.legal-text a:hover {
    text-decoration: underline;
}

.legal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form Error Styling */
.contact-form .error input,
.contact-form .error textarea,
.contact-form .error select {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* reCAPTCHA Styling */
.g-recaptcha {
    margin-bottom: 1rem;
}

.g-recaptcha div {
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

/* Notification Styling */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    max-width: 400px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.25rem;
}

.notification-success i {
    color: #10b981;
}

.notification-error i {
    color: #ef4444;
}

.notification-content span {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: auto;
}

.notification-close:hover {
    color: #374151;
}

/* Footer Navigation Links */
.footer-nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
}

.footer-nav-links ul {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-links li {
    margin: 0;
}

.footer-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

.footer-nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 80px 20px 20px 20px;
    }

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

    .typing-text {
        min-width: 150px;
        font-size: 0.9em;
    }

    .typing-text::after {
        font-size: 0.9em;
        height: 1.2em;
    }

    .hero-buttons {
        justify-content: center;
    }

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

    .tab-buttons {
        flex-direction: column;
        align-items: center;
    }

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

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

    .stats {
        justify-content: space-around;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .footer-nav-links ul {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .footer-nav-links a {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s ease;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: inline-block;
    }

    .footer-nav-links a:hover {
        color: white;
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .footer-section ul {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .footer-section ul li a {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-section ul li a:hover {
        color: white;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Hero Images Responsive */
    .hero-person {
        display: none;
    }

    .hero-person-1 {
        display: block;
        top: 20%;
        left: 50%;
        transform: translateX(-50%) rotate(-3deg);
        width: 200px;
        height: 300px;
        animation: float-person-1-mobile 6s ease-in-out infinite;
    }

    .hero-bg-image {
        opacity: 0.2;
    }

    @keyframes float-person-1-mobile {
        0%, 100% {
            transform: translateX(-50%) rotate(-3deg) translateY(0px);
            opacity: 0.6;
        }
        50% {
            transform: translateX(-50%) rotate(-3deg) translateY(-15px);
            opacity: 0.8;
        }
    }
}

@media (max-width: 480px) {
    .hero-person-1 {
        width: 160px;
        height: 240px;
        top: 25%;
    }

    .section-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.about-ctas .btn-secondary{
    color:#777;
}