@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #9333ea;
    --primary-glow: rgba(147, 51, 234, 0.4);
    --secondary: #06b6d4;
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --accent: #f472b6;
    --bg-deep: #020108;
    --bg-dark: #050512;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(15px);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-deep);
    overflow-x: hidden;
}

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

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

section {
    padding: 6rem 0;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: 0.5s;
    pointer-events: none;
}

.glass:hover::before {
    left: 100%;
}

.glass::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.1;
    animation: scan 4s linear infinite;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

.gradient-text,
.section-title {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow);
}

.glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    opacity: 0.9;
}

.glass-btn {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

nav.scrolled {
    padding: 1rem 0;
    background: rgba(2, 1, 8, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--glass-border);
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-switcher a.active {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 1, 8, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 85%;
    max-width: 400px;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    cursor: pointer;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-links a {
    font-size: 1.5rem;
    font-family: 'Outfit';
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.lang-switcher-mobile {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.lang-switcher-mobile a {
    font-size: 1rem;
    color: var(--text-muted);
}

.lang-switcher-mobile a.active {
    color: var(--secondary);
}

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

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 2rem;
    text-shadow: 0 0 40px rgba(147, 51, 234, 0.4);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    padding: 2.5rem;
    transition: var(--transition);
}

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

.icon-box {
    width: 65px;
    height: 65px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* About Section Redesign */
.about-section {
    background: rgba(255, 255, 255, 0.01);
}

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

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    /* Increased gap for better spacing */
}

.member-card {
    padding: 2rem;
    border-radius: 2rem;
}

.member-header {
    margin-bottom: 0.75rem;
}

.member-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.member-role {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
}

.member-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Background Vitality */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(147, 51, 234, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(147, 51, 234, 0.03) 1px, transparent 1px), var(--bg-deep);
    background-size: 50px 50px, 50px 50px;
    animation: gridMove 20s linear infinite;
}

.bg-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
}

.orb-1 {
    background: var(--primary);
    top: -200px;
    left: -200px;
    animation: float 15s ease-in-out infinite;
}

.orb-2 {
    background: var(--secondary);
    bottom: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {

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

    33% {
        transform: translate(100px, 50px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 100px) scale(0.9);
    }
}

@keyframes gridMove {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    height: 35px;
    opacity: 0.8;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

/* Responsive Redesign */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .about-flex {
        gap: 3rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .logo-container {
        padding-left: 0.5rem;
        /* User feedback: Add padding to logo on mobile */
    }

    .hero {
        min-height: 80vh;
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .glow-btn,
    .glass-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .glow-btn {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }

    .glass-btn {
        padding: 0.8rem 1.75rem;
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .service-card {
        padding: 1.25rem 1rem;
        border-radius: 1.25rem;
    }

    .service-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .service-card p {
        font-size: 0.72rem;
        line-height: 1.4;
        display: block;
        overflow: visible;
    }

    .icon-box {
        width: 42px;
        height: 42px;
        border-radius: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .about-flex {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

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

    .about-stats {
        justify-content: center;
        gap: 3rem;
    }

    .member-header {
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .member-bio {
        text-align: center;
    }

    .contact-grid-simple {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex !important;
        color: white;
        cursor: pointer;
        padding: 0.5rem;
    }

    .nav-content {
        padding: 0 0.5rem;
    }

    /* Target footer in mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-links {
        justify-content: center;
        gap: 2rem;
    }
}

@media (max-width: 375px) {
    .services-grid {
        gap: 0.5rem !important;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .about-stats {
        gap: 2rem;
    }

    .stat-num {
        font-size: 2.25rem;
    }
}