/* ===== Base Variables & Themes ===== */
* {
    cursor: default
}

:root {
    /* Vibrant but sophisticated color palette */
    --primary-color: #7b4dff;
    /* More vibrant purple */
    --secondary-color: #00b4d8;
    /* Teal for contrast */
    --accent-color: #ff5e7d;
    /* Energetic pink */
    --text-color: #2b2d42;
    /* Dark blue-gray for text */
    --bg-color: #f8f9fa;
    /* Very light gray background */
    --card-bg: #ffffff;
    /* Pure white for cards */
    --nav-bg: rgba(255, 255, 255, 0.98);
    /* More opaque navbar */
    --footer-bg: #1a1a2e;
    /* Deep navy footer */
    --footer-text: #e2e2e2;
    /* Soft white for footer text */

    /* Enhanced effects */
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    --transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);

    /* Improved glass morphism effect */
    --glass: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);

    --nav-height: 80px;

    /* New additions for premium effects */
    --glow-intensity: 0.25;
    /* For glow effects */
    --hover-brightness: 1.05;
    /* For hover states */
}

.theme-dark {
    /* Rich, deep color palette */
    --primary-color: #7e57ff;
    /* Vibrant electric purple */
    --secondary-color: #66d9ff;
    /* Bright cyan for contrast */
    --accent-color: #ff6b82;
    /* Vibrant coral accent */
    --text-color: #f0f0f5;
    /* Soft white with blue tint */
    --bg-color: #0a0a15;
    /* Deep navy base */
    --card-bg: #161626;
    /* Slightly lighter navy */
    --nav-bg: rgba(22, 22, 38, 0.98);
    /* More opaque with subtle glow */
    --footer-bg: #05050f;
    /* Darkest section */

    /* Enhanced effects */
    --shadow: 0 20px 50px -15px rgba(126, 87, 255, 0.15),
        0 10px 30px -10px rgba(0, 0, 0, 0.3);
    /* Multi-layer shadow */
    --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --gradient: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--secondary-color) 100%);

    /* Premium glass effects */
    --glass: rgba(15, 15, 30, 0.4);
    --glass-border: rgba(126, 87, 255, 0.15);

    /* New additions */
    --highlight: rgba(102, 217, 255, 0.1);
    /* For interactive elements */
    --text-highlight: #66d9ff;
    /* For emphasized text */
}

.theme-gradient {
    /* Sophisticated gradient color palette */
    --primary-color: #7b4dff;
    /* Vibrant purple */
    --secondary-color: #00c9ff;
    /* Bright cyan (more vivid than original) */
    --accent-color: #ff6485;
    /* Energetic coral pink */
    --text-color: #2b2d42;
    /* Deep navy for better contrast */
    --bg-color: linear-gradient(145deg, #f8f9ff 0%, #e0e9ff 100%);
    /* Softer gradient */
    --card-bg: rgba(255, 255, 255, 0.95);
    /* More opaque cards */
    --nav-bg: rgba(255, 255, 255, 0.98);
    /* Nearly solid white navbar */
    --footer-bg: linear-gradient(145deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --footer-text: #ffffff;
    /* Pure white */

    /* Enhanced effects */
    --shadow: 0 15px 40px -10px rgba(123, 77, 255, 0.15),
        0 5px 20px -5px rgba(0, 201, 255, 0.1);
    /* Multi-tone shadow */
    --transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --gradient: linear-gradient(145deg, var(--primary-color) 0%, var(--secondary-color) 100%);

    /* Improved glass morphism */
    --glass: rgba(255, 255, 255, 0.35);
    --glass-border: rgba(255, 255, 255, 0.5);

    /* New additions */
    --highlight: rgba(255, 255, 255, 0.7);
    /* For accents */
    --text-highlight: #4a00e0;
    /* For important text */
}

/* Neon Theme */
.theme-neon {
    /* Vibrant neon color palette */
    --primary-color: #00ff9d;
    /* Electric green */
    --secondary-color: #00f9ff;
    /* Cyan (more vibrant than original) */
    --accent-color: #ff00f5;
    /* Magenta pink (more vivid) */
    --text-color: #ffffff;
    /* Pure white */
    --bg-color: #0a0a0a;
    /* Deep black */
    --card-bg: #121212;
    /* Slightly lighter black */
    --nav-bg: rgba(20, 20, 20, 0.98);
    /* More opaque with subtle glow */
    --footer-bg: #000000;
    /* Pure black */
    --footer-text: #f1f1f1;
    /* Soft white */

    /* Enhanced effects */
    --shadow: 0 0 15px rgba(0, 255, 157, 0.5),
        0 0 30px rgba(0, 200, 255, 0.3);
    /* Multi-color glow */
    --transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    --gradient: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--accent-color) 100%);

    /* Improved glass morphism */
    --glass: rgba(0, 0, 0, 0.4);
    --glass-border: rgba(0, 255, 157, 0.3);

    /* Neon-specific enhancements */
    --neon-glow: 0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color);
    --neon-text-glow: 0 0 5px #fff,
        0 0 10px var(--primary-color);
}

.theme-btn,
.mobile-theme-btn {
    color: var(--text-color) !important;
    background: var(--glass);
    border: 1px solid var(--glass-border);
}

.theme-btn:hover,
.mobile-theme-btn:hover {
    background: var(--primary-color);
    color: #ffffff !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-color);
    background: var(--bg-color);
    transition: var(--transition);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Background Animation ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.1;
    filter: blur(60px);
    animation: float 25s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 300px;
    height: 300px;
    top: 60%;
    left: 80%;
    animation-delay: 5s;
    background: var(--secondary-color);
}

.floating-shape:nth-child(3) {
    width: 250px;
    height: 250px;
    top: 80%;
    left: 20%;
    animation-delay: 10s;
    background: var(--accent-color);
}

.floating-shape:nth-child(4) {
    width: 350px;
    height: 350px;
    top: 30%;
    left: 70%;
    animation-delay: 15s;
}

/* Mobile-first: stack vertically */
.apps-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* On larger screens: display all in one horizontal row */
@media (min-width: 768px) {
    .apps-grid {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: nowrap;
        /* Ensure single row */
        gap: 2rem;
    }

    .app-card {
        width: 300px;
        /* or adjust as needed */
    }
}

@keyframes float {

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

    25% {
        transform: translate(-50px, -50px) rotate(5deg);
    }

    50% {
        transform: translate(50px, 0) rotate(-5deg);
    }

    75% {
        transform: translate(0, 50px) rotate(5deg);
    }
}

/* ===== Particle Animation ===== */
#particles-js,
.bg-animation,
.team-bg-animation,
.glow {
    pointer-events: none;
    z-index: 0 !important;
}


/* ===== Glow Effects ===== */
.glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(40px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

.glow-1 {
    top: 20%;
    left: 10%;
}

.glow-2 {
    bottom: 15%;
    right: 10%;
    animation-delay: 2s;
    background: radial-gradient(circle, var(--secondary-color) 0%, rgba(0, 0, 0, 0) 70%);
}

.glow-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent-color) 0%, rgba(0, 0, 0, 0) 70%);
    animation-delay: 4s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

/* ===== Navigation ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 36px;
    width: auto;
    transition: var(--transition);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: var(--transition);
    letter-spacing: -0.5px;
}

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

.nav-links li {
    position: relative;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    opacity: 0.9;
}

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

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

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

.theme-switcher {
    position: relative;
}

.theme-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    font-size: 1.1rem;
}

.theme-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1002;
}

.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1001;
    transition: var(--transition);
    padding: 100px 30px 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: auto;
}

.mobile-nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.mobile-nav-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

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

.mobile-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    /* full screen height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 4rem 5%;
    position: relative;
    z-index: 1;
    background: transparent;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    background: transparent;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.3s;
}

.tagline {
    background: rgba(255, 255, 255, 0.08);
    /* light glass */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tagline::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15; /* 🔧 Slightly increased line height */
  padding-bottom: 0.3rem; /* ✅ Prevent clipping */
  overflow: visible; /* ✅ Ensure nothing is hidden */
}

.hero-text {
  overflow: visible;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.cta-button {
    display: inline-flex;
    /* Ensures the button content spans fully */
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    /* Ensures full area shows pointer */
    border: none;
    border-radius: 6px;
    position: relative;
    z-index: 10;
    /* Make sure it's above background effects */
    pointer-events: auto;
    transition: background 0.3s, color 0.3s;
}

.cta-button i {
    margin-right: 8px;
    /* Add spacing between icon and text */
    pointer-events: none;
    /* Ensures clicks go to the button, not the icon */
}


.cta-button.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.7s;
}

.cta-button.secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.9s;
}

.cta-button.primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary:hover {
    background: var(--card-bg);
    transform: translateY(-5px);
}

.hero-image {
    flex: 1;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.logo-main {
    width: 100%;
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
    animation: floatLogo 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.hero-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
    animation: pulse 12s infinite alternate;
}

/* ===== Sections ===== */
.section {
    padding: 8rem 5%;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* ===== About Section ===== */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

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

.stat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg);
    box-shadow: var(--shadow);
}

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

/* Add this to your existing CSS */
.mobile-theme-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.mobile-theme-btn:hover {
    background: var(--primary-color);
    color: white;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1003;
}

.close-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

.close-btn i {
    font-size: 1.2rem;
}

/* Update the mobile-nav to position the close button */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 1001;
    transition: var(--transition);
    padding: 80px 30px 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
    border-left: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.about-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ===== Team Section ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    border: 1px solid var(--glass-border);
}

.team-card:nth-child(1) {
    animation: fadeInUp 0.8s forwards 0.3s;
}

.team-card:nth-child(2) {
    animation: fadeInUp 0.8s forwards 0.5s;
}

.team-card:nth-child(3) {
    animation: fadeInUp 0.8s forwards 0.7s;
}

.team-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--glass-border);
    position: relative;
}

.team-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0.2;
    z-index: 1;
}

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

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card p.position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.team-card .bio {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

/* ===== Apps Section ===== */
.apps-section {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.apps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
    background-size: cover;
    opacity: 0.1;
}

.apps-section .section-title h2,
.apps-section .section-title p {
    color: white;
}

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

.app-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    transform: translateY(50px);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.app-card:nth-child(1) {
    animation: fadeInUp 0.8s forwards 0.3s;
}

.app-card:nth-child(2) {
    animation: fadeInUp 0.8s forwards 0.5s;
}

.app-card:nth-child(3) {
    animation: fadeInUp 0.8s forwards 0.7s;
}

.app-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.app-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 25px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.app-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.app-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.app-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: white;
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== Footer ===== */
footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 6rem 5% 3rem;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.footer-column p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 30px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

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

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

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

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
    padding-left: 1.5rem;
    display: block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 2rem;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll Reveal Animation */
.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Responsive Styles ===== */
@a (max-width: 1200px) {
    .hero-content {
        gap: 2rem;
    }

    .about-content {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .hero-text {
        margin-bottom: 4rem;
    }

    .-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        margin-bottom: 3rem;
    }

    .about-image {
        min-height: 300px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 6rem 5%;
    }

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

    .team-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-column {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

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

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

    .section-title p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    header {
        padding: 0.7rem 1.2rem;
    }

    .drawer {
        width: 220px;
        padding: 1.5rem;
    }

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

    .card {
        padding: 1.2rem;
    }

    .learn-more {
        font-size: 0.8rem;
    }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ===== Cursor Animation ===== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}



/* ===== Particle Animation ===== */
.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-1000px) translateX(500px) rotate(720deg);
        opacity: 0;
    }
}

/* ===== Wave Animation ===== */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('your-wave.svg');
    /* already inlined SVG is fine too */
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    /* Correct: below content */
    opacity: 0.3;
    /* Increase if too invisible */
    pointer-events: none;
    /* So it doesn’t block clicks */
}

html,
body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Default light theme */
.cta-button.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

/* Dark theme override */
.dark-theme .cta-button.secondary {
    color: #ffffff;
    border-color: #ffffff;
}

/* Neon theme override */
.neon-theme .cta-button.secondary {
    color: #00ffff;
    /* Cyan text */
    border-color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    box-shadow: 0 0 8px #00ffff inset, 0 0 12px #00ffff;
}

/* Hover effect (optional) */
.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* Default close button styles */
.close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-color);
    /* default for light theme */
    cursor: pointer;
    transition: var(--transition);
}

/* Dark theme override */
.dark-theme .close-btn {
    color: #ffffff;
}

/* Neon theme override */
.neon-theme .close-btn {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

#particles-js,
.bg-animation,
.team-bg-animation,
.glow,
.glow-1,
.glow-2,
.glow-3 {
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Needed for all screens bug fixed*** */
/* Make CTA buttons always clickable in every screen sizes by positioning those buttonsa at the top of the layout  */
.cta-buttons .cta-button {
    position: relative;
    z-index: 1001;
    cursor: pointer;
    pointer-events: auto;
}

/* Ensure background layers in hero and team sections do not block interactions */
.hero-shape,
.hero-image::before,
.team-bg-animation,
.team-bg-animation *,
#particles-js {
    pointer-events: none !important;
    z-index: 0 !important;
}

.hero-content,
.team-grid,
.cta-buttons {
    position: relative;
    z-index: 1;
}

/* Splash screen container */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white; /* or var(--bg-color) */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 1s ease-in-out 2s forwards;
}

/* Logo animation */
.splash-logo {
  width: 120px;
  height: auto;
  animation: logoPop 1.2s ease-in-out;
}

/* Fade out splash screen */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Logo animation (pop effect) */
@keyframes logoPop {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Prevent page scroll when drawer is active */
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* Allow drawer content to scroll if needed */
.mobile-nav {
  overflow-y: auto;
}