:root {
    --bg-color: #000000;
    /* True Black */
    --text-color: #f0f0f0;
    /* High contrast white */
    --accent-color: #00e5ff;
    /* neon cyan */
    --primary-color: #00c853;
    /* neon green */
    --secondary-color: #1de9b6;
    /* teal accent */
    --card-bg: #0a0a0a;
    /* Almost black */
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Liquid Background */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #000;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: -150px;
    right: -100px;
    animation-delay: -2s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(29, 233, 182, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    top: 40%;
    left: 40%;
    animation-delay: -4s;
    animation-duration: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -50px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Header */
/* Liquid Glass Navbar (iOS 26 Style) */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.03);
    /* Ultra transparent */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    /* Floating Pill Shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-list {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    opacity: 0.7;
    font-size: 0.95rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    /* Contrast text */
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px 5px rgba(0, 200, 83, 0.4);
    /* Neon glow */
    border: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px 8px rgba(0, 200, 83, 0.6);
    background: #00e676;
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    /* Reduced height slightly for faster feel */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    margin: 0 auto;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image-container {
    display: none;
}

.hero-title {
    font-size: 4rem;
    /* Oversized typography */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 500px;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.4s;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: slideUpFade 0.8s ease forwards 0.6s;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.hero-image-container {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.hero-image-container img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sections Common */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    /* Extremely subtle fill */
    padding: 2.5rem;
    border-radius: 30px;
    /* Highly rounded */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle stroke */
    backdrop-filter: blur(20px);
    /* Heavy blur */
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.founder-card strong {
    color: #fff;
}

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

.btn-text:hover {
    text-decoration: underline;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    /* Slightly lighter on hover */
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    /* Glow */
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* Founders Page Styles */
.founders-hero {
    padding-top: 150px;
    padding-bottom: 4rem;
    text-align: center;
}

.founders-profiles {
    padding-top: 0;
}

.founder-card.full-width {
    grid-column: 1 / -1;
    margin-bottom: 3rem;
    display: block;
    /* Override default if inside grid */
    background: rgba(17, 22, 37, 0.7);
    /* Glassmorphism */
    backdrop-filter: blur(10px);
}

.founder-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.founder-header h2 {
    font-size: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkmark {
    color: var(--primary-color);
    font-size: 1.2rem;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.founder-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.founder-tagline {
    font-style: italic;
    color: #94a3b8;
    margin-top: 0.5rem;
}

.founder-bio p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.tech-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.tech-item p {
    font-size: 0.9rem;
    color: #64748b;
}

.tech-item.full {
    grid-column: 1 / -1;
}

/* Contact Section */
.contact {
    background: linear-gradient(to bottom, var(--bg-color), #0f1623);
    text-align: center;
}

.contact-text {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text p {
    margin-bottom: 2rem;
    color: #94a3b8;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #05080f;
}

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

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

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

.footer-copy {
    color: #64748b;
    font-size: 0.9rem;
}

/* Mobile Nav Styles */
.nav-list {
    transition: all 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

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

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 23, 0.98);
        padding: 2rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-list.active {
        display: flex;
    }

    .header-container {
        padding: 0 1rem;
        justify-content: center;
    }
}

/* Keyframes */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Utilities for JS animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.team-card:hover::before {
    opacity: 1;
}

.team-avatar-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.3);
}

.team-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-bg);
    /* Inner border to separate image from gradient */
}

.team-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

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

.team-bio {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: var(--transition);
    font-size: 1.2rem;
    position: relative;
    /* Ensure it sits above pseudo-elements */
    z-index: 10;
}

.team-social:hover {
    background: #0077b5;
    /* LinkedIn Color */
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.5);
}

/* Add specialized glow color for the second card */
.team-card:nth-child(2) .team-avatar-container {
    background: linear-gradient(135deg, var(--accent-color), #2979ff);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.team-card:nth-child(2) .team-role {
    color: var(--accent-color);
}

/* Services Carousel */
.services-carousel-container {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    width: 100%;
}

.services-carousel-track {
    display: flex;
    flex-direction: row;
    /* Explicitly set row */
    flex-wrap: nowrap;
    /* Prevent wrapping */
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.services-carousel-track:hover {
    animation-play-state: paused;
}

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

    100% {
        transform: translateX(calc(-50% - 1rem));
        /* Scroll half the track (gap included) */
    }
}

.service-card {
    min-width: 280px;
    flex: 0 0 auto;
    /* Prevent shrinking and growing */
}

/* Gradient masks for smooth fade edges */
.services-carousel-container::before,
.services-carousel-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.services-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.services-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

/* Language Switcher */
.lang-switch-container {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.2);
}

.lang-btn i {
    font-size: 0.9rem;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .lang-switch-container {
        margin-right: 0;
        margin-left: auto;
    }
}