/* Global Styles */
:root {
    --neon-blue: #00ccff;
    --neon-green: #00ff88;
    --neon-purple: #b967ff;
    --neon-orange: #ff6600;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --card-bg: rgba(16, 16, 32, 0.8);
    --section-padding: 6rem 2rem;
    --card-padding: 2.5rem;
    --border-radius: 15px;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Segoe UI', sans-serif;
}

/* Performance optimizations */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--dark-bg);
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Optimize image rendering */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Cosmic Background - Optimized */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(185, 103, 255, 0.05) 0%, transparent 50%),
        linear-gradient(45deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: translateZ(0);
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 4s infinite;
    will-change: transform, opacity;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* ============================================
   MODERN PROFESSIONAL NAVBAR WITH MOBILE MENU
   ============================================ */
header {
    padding: 15px 0;
    background: rgba(5, 5, 16, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transform: translateZ(0);
}

header.scrolled {
    background: rgba(5, 5, 16, 0.99);
    border-bottom: 1px solid rgba(0, 204, 255, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
}

@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1002;
    padding: 0;
    margin: 0;
}

.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--neon-green);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-box {
    background: rgba(10, 10, 26, 0.7);
    border-radius: 12px;
    padding: 10px 25px;
    border: 1px solid rgba(0, 204, 255, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    transform: translateZ(0);
}

/* Remove the complex animated border */
.nav-box::before {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--neon-green);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--neon-blue);
}

nav ul li a.active::after {
    width: 100%;
}

/* ============================================
   MOBILE NAVBAR STYLES - FIXED VERSION
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    /* Make sure the overlay is properly shown */
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    /* Fix the nav-box positioning */
    .nav-box {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 0;
        border-left: 1px solid rgba(0, 204, 255, 0.3);
        padding: 100px 30px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        /* Make sure it's visible when active */
        visibility: hidden;
        opacity: 0;
    }
    
    /* When active, show the menu */
    .nav-box.active {
        right: 0;
        visibility: visible;
        opacity: 1;
    }
    
    /* Fix for the mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(5, 5, 16, 0.95);
        backdrop-filter: blur(10px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        margin: 5px 0;
        opacity: 0;
        transform: translateX(20px);
    }
    
    .nav-box.active nav ul li {
        animation: slideInRight 0.35s ease forwards;
    }
    
    nav ul li:nth-child(1) { animation-delay: 0.1s; }
    nav ul li:nth-child(2) { animation-delay: 0.15s; }
    nav ul li:nth-child(3) { animation-delay: 0.2s; }
    nav ul li:nth-child(4) { animation-delay: 0.25s; }
    nav ul li:nth-child(5) { animation-delay: 0.3s; }
    nav ul li:nth-child(6) { animation-delay: 0.35s; }
    nav ul li:nth-child(7) { animation-delay: 0.4s; }
    
    @keyframes slideInRight {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border: 1px solid rgba(0, 255, 136, 0.2);
        border-radius: 10px;
        background: rgba(16, 16, 32, 0.8);
        margin: 5px 0;
        text-align: left;
        transition: all 0.3s ease;
    }
    
    nav ul li a:hover {
        background: rgba(0, 255, 136, 0.1);
        transform: translateX(5px);
        border-color: var(--neon-green);
    }
    
    nav ul li a::after {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .nav-box {
        width: 100%;
        right: -100%;
    }
    
    .nav-box.active {
        right: 0;
    }
    
    nav ul li a {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

/* Hero Section - Optimized */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(5, 5, 16, 0.8), rgba(10, 10, 26, 0.9)), url('https://images.unsplash.com/photo-1677442135136-760c813a743d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
    background-size: cover;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-size: cover;
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 136, 0.1), 
        rgba(0, 204, 255, 0.1), 
        rgba(185, 103, 255, 0.1));
    animation: hologramPulse 8s ease-in-out infinite;
}

@keyframes hologramPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
}

/* FIXED: Remove excessive blur/shadow from "BRAINY ROBOTS" */
.hero h1 span {
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
    filter: brightness(1.1);
}

/* Remove the underline animation if not needed */
.hero h1 span::after {
    display: none;
}

.typewriter {
    font-size: 2rem;
    margin-bottom: 2rem;
    min-height: 2.5rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

@media (max-width: 768px) {
    .typewriter {
        font-size: 1.2rem;
        min-height: 1.8rem;
    }
}

@media (max-width: 480px) {
    .typewriter {
        font-size: 1rem;
    }
}

.typewriter span {
    border-right: 3px solid var(--neon-orange);
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: var(--neon-orange); }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

.quantum-btn {
    position: relative;
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    color: #000;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    text-align: center;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 204, 255, 0.3);
    z-index: 1;
    transform: translateZ(0);
    will-change: transform;
}

@media (max-width: 768px) {
    .quantum-btn {
        padding: 14px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}

.quantum-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.quantum-btn:hover::before {
    left: 100%;
}

.quantum-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 204, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 204, 255, 0.1);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neon-green);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Consistent Section Styling */
.section {
    padding: var(--section-padding);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 1rem;
    }
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 3rem;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

@media (max-width: 480px) {
    .section-title h2::after {
        width: 60px;
        height: 3px;
        bottom: -10px;
    }
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-text h3 {
        font-size: 1.4rem;
    }
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .about-text p {
        font-size: 1rem;
    }
}

.about-image {
    flex: 1;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease;
}

.about-image.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 136, 0.2);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

/* Services Section */
.services {
    background: rgba(16, 16, 32, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 4rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

@media (max-width: 768px) {
    .services {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .services {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Consistent Card Styling */
.quantum-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateY(50px);
    opacity: 0;
    transform: translateZ(0);
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .quantum-card {
        padding: 1.5rem;
    }
}

.quantum-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.quantum-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue), var(--neon-purple));
    border-radius: calc(var(--border-radius) + 2px);
    z-index: -2;
    opacity: 0;
    transition: var(--transition);
}

.quantum-card:hover .card-glow {
    opacity: 0.3;
}

.service-icon {
    font-size: 3.5rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.quantum-card:hover .service-icon {
    color: var(--neon-orange);
    transform: scale(1.1);
}

.quantum-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--neon-green);
}

.quantum-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    flex-grow: 1;
}

/* ============================================
   UPDATED ROBOT CARDS STYLING - ALL 8 CARDS
   ============================================ */

.robots-showcase {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1) 0%, rgba(185, 103, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    padding: 4rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 204, 255, 0.3);
}

@media (max-width: 768px) {
    .robots-showcase {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .robots-showcase {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.robots-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1620712943543-bcc4688e7485?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=765&q=80') no-repeat center center/cover;
    opacity: 0.1;
}

.robots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .robots-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .robots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.robot-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.robot-card:nth-child(1) { animation-delay: 0.1s; }
.robot-card:nth-child(2) { animation-delay: 0.2s; }
.robot-card:nth-child(3) { animation-delay: 0.3s; }
.robot-card:nth-child(4) { animation-delay: 0.4s; }
.robot-card:nth-child(5) { animation-delay: 0.5s; }
.robot-card:nth-child(6) { animation-delay: 0.6s; }
.robot-card:nth-child(7) { animation-delay: 0.7s; }
.robot-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.robot-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.robot-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--neon-green);
}

.robot-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .robot-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .robot-image {
        height: 180px;
    }
}

.robot-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.robot-card:hover .robot-image img {
    transform: scale(1.05);
}

.robot-info {
    padding: 1.8rem;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .robot-info {
        padding: 1.2rem;
    }
}

.robot-info h3 {
    font-size: 1.6rem;
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .robot-info h3 {
        font-size: 1.3rem;
    }
}

.robot-category {
    font-size: 0.9rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.robot-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .robot-info p {
        font-size: 0.9rem;
    }
}

.robot-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-tag {
    background: rgba(0, 204, 255, 0.2);
    color: var(--neon-blue);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 204, 255, 0.3);
}

@media (max-width: 480px) {
    .spec-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

.details-btn {
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    width: 100%;
    margin-top: auto;
}

@media (max-width: 480px) {
    .details-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

.details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.4);
}

/* Remove price styling completely */
.robot-price {
    display: none !important;
}

/* ============================================
   MODAL STYLING
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 16, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(0, 255, 136, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
        margin: 10px;
        border-radius: 12px;
    }
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 3rem;
}

@media (max-width: 768px) {
    .modal-body {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .modal-body {
        padding: 1.5rem;
    }
}

.modal-title {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .modal-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 1.5rem;
    }
}

.modal-subtitle {
    font-size: 1.2rem;
    color: var(--neon-green);
    margin-bottom: 2rem;
    font-weight: 600;
}

@media (max-width: 480px) {
    .modal-subtitle {
        font-size: 1rem;
    }
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

@media (max-width: 480px) {
    .modal-description {
        font-size: 0.95rem;
    }
}

.modal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-section:last-child {
    border-bottom: none;
}

.modal-section h3 {
    color: var(--neon-orange);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .modal-details {
        grid-template-columns: 1fr;
    }
}

.modal-detail-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--neon-blue);
}

.modal-detail-item strong {
    color: var(--neon-green);
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.modal-detail-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.modal-skills {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .modal-skills {
        grid-template-columns: 1fr;
    }
}

.modal-skills li {
    padding: 0.8rem;
    background: rgba(0, 204, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    border-left: 3px solid var(--neon-green);
    position: relative;
    padding-left: 1.5rem;
}

.modal-skills li::before {
    content: "•";
    color: var(--neon-green);
    position: absolute;
    left: 0.5rem;
}

/* ============================================
   VIDEO STYLING WITH THUMBNAILS
   ============================================ */

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.video-card {
    background: rgba(16, 16, 32, 0.9);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 204, 255, 0.2);
    transition: var(--transition);
    transform: translateY(30px);
    opacity: 0;
}

.video-card.animate-in {
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-orange);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .video-wrapper {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        height: 180px;
    }
}

/* iOS Safari video fullscreen fix */
video {
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: translateZ(0);
}

/* Force videos to play inline on iOS */
video::-webkit-media-controls-fullscreen-button {
    display: block !important;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 26, 46, 0.7), rgba(22, 33, 62, 0.7));
    z-index: 1;
    transition: opacity 0.3s ease;
}

.video-wrapper.thumbnail-loaded::before {
    opacity: 0.3;
}

.video-wrapper.playing::before {
    opacity: 0;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
    position: relative;
    z-index: 2;
}

/* Video play button overlay */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 204, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 3;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .video-play-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .video-play-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

.video-play-btn.large {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .video-play-btn.large {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .video-play-btn.large {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.video-play-btn:hover {
    background: var(--neon-green);
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Show play button when video is paused */
.video-wrapper:not(.playing) .video-play-btn {
    display: flex;
}

.video-wrapper.playing .video-play-btn {
    display: none;
}

/* Video info styling */
.video-info {
    padding: 1.5rem;
    background: rgba(16, 16, 32, 0.9);
}

@media (max-width: 480px) {
    .video-info {
        padding: 1.2rem;
    }
}

.video-info h4 {
    font-size: 1.2rem;
    color: var(--neon-blue);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .video-info h4 {
        font-size: 1.1rem;
    }
}

.video-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .video-meta span {
        font-size: 0.8rem;
    }
}

.video-meta i {
    color: var(--neon-green);
    font-size: 0.9rem;
}

/* Video hover effects */
.video-card:hover .video-wrapper video {
    transform: scale(1.05);
}

.video-card:hover .video-play-btn {
    background: var(--neon-green);
    opacity: 1;
}

/* Custom video controls */
video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.7);
}

video::-webkit-media-controls-play-button {
    background-color: var(--neon-green);
    border-radius: 50%;
}

video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
}

/* ============================================
   VIDEO LOADING AND ERROR STATES
   ============================================ */

.video-wrapper.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 204, 255, 0.3);
    border-top-color: var(--neon-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 4;
}

.video-wrapper.error::after {
    content: 'Video not available';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--neon-orange);
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 4;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ============================================
   SPECIAL EVENT STYLING
   ============================================ */

.special-event {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(185, 103, 255, 0.1) 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 102, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
}

@media (max-width: 768px) {
    .special-event {
        padding: 1.5rem;
    }
}

.special-event.animate-in {
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

.event-title {
    font-size: 1.8rem;
    color: var(--neon-orange);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

@media (max-width: 768px) {
    .event-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 1.3rem;
    }
}

.event-title::before {
    content: '🎄';
    font-size: 1.5rem;
}

.special-event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .special-event-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .special-event-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.special-event-video .video-wrapper {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .special-event-video .video-wrapper {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .special-event-video .video-wrapper {
        height: 200px;
    }
}

.special-event-info h5 {
    font-size: 1.5rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .special-event-info h5 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .special-event-info h5 {
        font-size: 1.2rem;
    }
}

.special-event-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--neon-blue);
}

@media (max-width: 480px) {
    .event-detail {
        padding: 0.6rem 0.8rem;
    }
}

.event-detail i {
    color: var(--neon-orange);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.event-detail span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

@media (max-width: 480px) {
    .event-detail span {
        font-size: 0.9rem;
    }
}

/* ============================================
   FAQ SECTION STYLING
   ============================================ */

.faq {
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1) 0%, rgba(0, 255, 136, 0.1) 100%);
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    padding: 4rem;
    margin: 2rem 0;
    border: 1px solid rgba(0, 204, 255, 0.3);
}

@media (max-width: 768px) {
    .faq {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.faq-category {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .faq-category {
        padding: 1.5rem;
    }
}

.faq-category-title {
    color: var(--neon-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(255, 102, 0, 0.3);
}

@media (max-width: 768px) {
    .faq-category-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .faq-category-title {
        font-size: 1.4rem;
    }
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(16, 16, 32, 0.8);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 204, 255, 0.2);
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
}

.faq-item.animate-in {
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.5s ease forwards;
}

.faq-item.active {
    border-color: var(--neon-green);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1rem;
    }
}

.faq-question:hover {
    background: rgba(0, 255, 136, 0.1);
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--neon-blue);
    flex: 1;
    margin-right: 1rem;
}

@media (max-width: 480px) {
    .faq-question span {
        font-size: 1rem;
    }
}

.faq-question i {
    color: var(--neon-green);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 1.5rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .faq-answer p {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

.faq-question:focus {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

.video-wrapper:focus-within {
    outline: 2px solid var(--neon-blue);
    outline-offset: 2px;
}

/* Keyboard navigation for FAQ */
.faq-item:focus-within {
    border-color: var(--neon-orange);
    box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.3);
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(5, 5, 16, 0.9), rgba(10, 10, 26, 0.9)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
    color: var(--white);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border: 1px solid rgba(0, 255, 136, 0.3);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 136, 0.1), 
        rgba(0, 204, 255, 0.1));
    animation: hologramPulse 8s ease-in-out infinite;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--neon-orange);
}

.contact-beam {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transform: translateX(-50px);
    opacity: 0;
}

@media (max-width: 480px) {
    .contact-beam {
        padding: 1rem;
    }
}

.contact-beam.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.contact-beam:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateX(10px);
    border-color: var(--neon-green);
}

.contact-beam i {
    font-size: 1.8rem;
    color: var(--neon-green);
}

.contact-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--neon-blue);
}

.contact-text p, .contact-text a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--neon-orange);
}

.quantum-form {
    background: rgba(16, 16, 32, 0.8);
    backdrop-filter: blur(10px);
    padding: var(--card-padding);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.3);
    transform: translateX(50px);
    opacity: 0;
    transition: all 1s ease;
}

@media (max-width: 768px) {
    .quantum-form {
        padding: 1.5rem;
    }
}

.quantum-form.animate-in {
    transform: translateX(0);
    opacity: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neon-blue);
}

.quantum-input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 204, 255, 0.3);
}

.quantum-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--neon-green);
}

.quantum-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    background: rgba(5, 5, 16, 0.95);
    margin-top: 100px;
    padding: 80px 0 30px;
    position: relative;
    border-top: 1px solid rgba(0, 255, 136, 0.3);
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: -1;
}

.neural-path {
    position: absolute;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    height: 2px;
    animation: neuralFlow 3s linear infinite;
}

@keyframes neuralFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
}

.footer-node {
    background: rgba(16, 16, 32, 0.8);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

@media (max-width: 480px) {
    .footer-node {
        padding: 1.5rem;
    }
}

.footer-node:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.footer-node h3 {
    color: var(--neon-green);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--neon-orange);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-blue);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--neon-orange);
    color: #000;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--neon-green), var(--neon-blue));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Particle Animation */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Animation Classes */
.animate-left, .animate-right, .animate-up {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

.animate-left {
    transform: translateX(-50px);
}

.animate-right {
    transform: translateX(50px);
}

.animate-up {
    transform: translateY(50px);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS FOR MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Reduce animations for better performance */
    .star {
        animation-duration: 6s;
    }
    
    .particle,
    .neural-path,
    .card-glow {
        display: none;
    }
    
    /* Reduce blur effects for performance */
    header,
    .nav-box,
    .quantum-card,
    .footer-node,
    .event-category,
    .faq-category {
        backdrop-filter: blur(5px);
    }
    
    /* Optimize for touch devices */
    button, 
    a, 
    input, 
    select, 
    textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover effects on mobile for better performance */
    @media (hover: none) and (pointer: coarse) {
        .quantum-card:hover,
        .robot-card:hover,
        .footer-node:hover,
        .video-card:hover,
        .faq-item:hover {
            transform: none;
        }
        
        .quantum-btn:hover::before {
            left: -100%;
        }
        
        /* Add active states for touch feedback */
        .quantum-btn:active,
        .details-btn:active {
            transform: scale(0.98);
        }
        
        nav ul li a:active {
            background: rgba(0, 255, 136, 0.3);
            transform: scale(0.98);
        }
        
        .faq-question:active {
            background: rgba(0, 255, 136, 0.3);
        }
    }
}

/* ============================================
   LANDSCAPE MODE SUPPORT
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .robot-image {
        height: 150px;
    }
    
    .video-wrapper {
        height: 150px;
    }
    
    .special-event-video .video-wrapper {
        height: 200px;
    }
}

/* ============================================
   iOS SAFARI SPECIFIC FIXES
   ============================================ */

@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
    
    /* Prevent zoom on input focus */
    input, 
    select, 
    textarea {
        font-size: 16px;
    }
}

/* ============================================
   FOCUS STYLES FOR ACCESSIBILITY
   ============================================ */

/* Remove focus outline for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* Restore focus outline for keyboard users */
:focus-visible {
    outline: 2px solid var(--neon-green);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .cosmic-bg,
    .stars,
    .particles,
    .neural-network,
    .scroll-down,
    .back-to-top,
    video,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .quantum-card,
    .robot-card,
    .event-category,
    .faq-category,
    .footer-node {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        background: white !important;
        color: black !important;
    }
    
    a {
        color: #0066cc !important;
        text-decoration: underline !important;
    }
}
/* ============================================
   ENHANCED H3 TITLE DESIGN
   ============================================ */

/* Global H3 Styles */
h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Gradient text effect for all h3 */
h3 {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-green), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Underline animation for h3 */
h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    border-radius: 2px;
    transition: width 0.4s ease;
}

h3:hover::after {
    width: 100%;
}

/* Shadow/Glow effect */
h3 {
    text-shadow: 0 2px 10px rgba(0, 204, 255, 0.2);
    filter: brightness(1.1);
}

/* Specific styling for different sections */

/* About Section H3 */
.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
}

.about-text h3::after {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-green));
}

/* Services Section H3 */
.quantum-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 8px;
}

.quantum-card h3::after {
    width: 40px;
    height: 3px;
    bottom: -5px;
}

.quantum-card:hover h3::after {
    width: 100%;
}

/* Robot Cards H3 */
.robot-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    padding-bottom: 6px;
}

.robot-info h3::after {
    width: 30px;
    height: 2px;
    bottom: -4px;
}

.robot-card:hover .robot-info h3::after {
    width: 100%;
}

/* Event Section H3 */
.event-category-header h3 {
    font-size: 2rem;
    margin: 0;
    padding-bottom: 8px;
}

.event-category-header h3::after {
    display: none; /* Remove underline since we have border-bottom in parent */
}

.competition-region h4.region-title,
.special-event-info h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 0;
    border-left: none;
    background: transparent;
    padding: 0.5rem 0;
}

.competition-region h4.region-title::after,
.special-event-info h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-orange));
    border-radius: 2px;
}

/* FAQ Section H3 */
.faq-category-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    position: relative;
}

.faq-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-purple));
    border-radius: 2px;
}

/* Contact Section H3 */
.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 8px;
}

.contact-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    color: var(--neon-blue);
    position: relative;
    padding-bottom: 5px;
}

.contact-text h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.contact-beam:hover .contact-text h4::after {
    width: 50px;
}

/* Footer H3 */
.footer-node h3 {
    color: var(--neon-green);
    margin-bottom: 25px;
    font-size: 1.5rem;
    padding-bottom: 8px;
}

.footer-node h3::after {
    background: linear-gradient(90deg, var(--neon-green), var(--neon-blue));
    width: 40px;
    height: 3px;
}

.footer-node:hover h3::after {
    width: 100%;
}

/* Modal H3 */
.modal-section h3 {
    color: var(--neon-orange);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 6px;
}

.modal-section h3::after {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-blue));
    width: 40px;
    height: 2px;
}

/* Video Card H4 (treated like h3) */
.video-info h4 {
    font-size: 1.2rem;
    color: var(--neon-blue);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    position: relative;
    padding-bottom: 5px;
}

.video-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.video-card:hover .video-info h4::after {
    width: 60px;
}

/* ============================================
   RESPONSIVE H3 STYLES
   ============================================ */

@media (max-width: 768px) {
    h3 {
        font-size: 1.6rem;
        padding-bottom: 8px;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .quantum-card h3 {
        font-size: 1.4rem;
    }
    
    .robot-info h3 {
        font-size: 1.3rem;
    }
    
    .event-category-header h3 {
        font-size: 1.5rem;
    }
    
    .faq-category-title {
        font-size: 1.4rem;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
    }
    
    .footer-node h3 {
        font-size: 1.3rem;
    }
    
    h3::after {
        width: 40px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    h3 {
        font-size: 1.4rem;
        padding-bottom: 6px;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
    }
    
    .quantum-card h3 {
        font-size: 1.2rem;
    }
    
    .robot-info h3 {
        font-size: 1.1rem;
    }
    
    .event-category-header h3 {
        font-size: 1.3rem;
    }
    
    .faq-category-title {
        font-size: 1.2rem;
    }
    
    .contact-info h3 {
        font-size: 1.4rem;
    }
    
    .footer-node h3 {
        font-size: 1.1rem;
    }
    
    h3::after {
        width: 30px;
        height: 2px;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATION FOR H3 ANIMATIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    h3 {
        animation: none;
        background-position: 0% 50%;
    }
    
    h3::after {
        transition: none;
    }
}

/* ============================================
   DARK MODE CONSIDERATION (optional enhancement)
   ============================================ */

@media (prefers-color-scheme: dark) {
    h3 {
        filter: brightness(1.2);
    }
}

/* ============================================
   PRINT STYLES FOR H3
   ============================================ */

@media print {
    h3 {
        background: none !important;
        -webkit-text-fill-color: #000 !important;
        color: #000 !important;
        text-shadow: none !important;
        filter: none !important;
        animation: none !important;
    }
    
    h3::after {
        background: #000 !important;
    }
}
/* Style for non-clickable quick links */
.footer-links span {
    color: #b8c2cc;
    cursor: default;
    display: block;
    padding: 4px 0;
}

/* Style for actual clickable links */
.footer-links a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* In contact section */
.contact-text a {
    color: #4fc3f7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #ffffff;
    text-decoration: underline;
}
/* Contact beam links styling */
.contact-beam-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.contact-beam-link:hover {
    transform: translateX(10px);
}

.contact-beam-link:hover .contact-beam {
    background: rgba(0, 120, 255, 0.15);
    border-left: 3px solid var(--primary);
}

.contact-beam-link .contact-beam {
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-beam-link .contact-beam p {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.contact-beam-link:hover .contact-beam p {
    color: var(--primary);
}

/* For the non-clickable working hours */
#contact-beam-4 {
    margin-bottom: 20px;
}


/* ============================================
   LANGUAGE SWITCHER STYLES
   ============================================ */

.language-switcher {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .language-switcher {
        bottom: 80px;
        right: 15px;
    }
}

/* Language Toggle Button */
.language-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6600, #FFCC00);
    border: none;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 20px rgba(255, 102, 0, 0.4),
        0 0 30px rgba(255, 204, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 10001;
    min-width: 44px;
    min-height: 44px;
}

.language-toggle:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 30px rgba(255, 102, 0, 0.6),
        0 0 40px rgba(255, 204, 0, 0.4);
    background: linear-gradient(135deg, #FFCC00, #FF6600);
}

.language-toggle i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.language-toggle:hover i {
    transform: rotate(15deg);
}

.current-language {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(16, 16, 32, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(255, 102, 0, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 102, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
    z-index: 10000;
    animation: dropdownFade 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-dropdown.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Options */
.language-option {
    background: transparent;
    border: none;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    min-height: 44px;
}

.language-option:hover {
    background: rgba(255, 102, 0, 0.2);
    color: #FFCC00;
    transform: translateX(-5px);
}

.language-option.active {
    background: rgba(255, 102, 0, 0.3);
    color: #FFCC00;
    border-left: 3px solid #FFCC00;
}

.language-flag {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.language-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
}

.language-code {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FF6600;
    background: rgba(255, 102, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
}

/* Google Translate Fixes */
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-family: inherit !important;
}

.goog-te-gadget-simple {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Fix for translated content */
[style*="position: absolute; top: -100000px"] {
    display: none !important;
}

/* Hide Google Translate attribution */
.goog-logo-link {
    display: none !important;
}

.goog-te-gadget span {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .language-switcher {
        bottom: 70px;
        right: 10px;
    }
    
    .language-toggle {
        width: 50px;
        height: 50px;
    }
    
    .language-dropdown {
        bottom: 60px;
        min-width: 140px;
    }
    
    .language-flag {
        font-size: 1.3rem;
    }
    
    .language-name {
        font-size: 0.8rem;
    }
}




/* ============================================
   LANGUAGE SWITCHER STYLES - COMPLETE MANUAL TRANSLATION
   ============================================ */

/* ============================================
   GOOGLE TRANSLATE LANGUAGE SWITCHER
   ============================================ */
/* ============================================
   GOOGLE TRANSLATE FLOATING BUTTON
   ============================================ */

.language-switcher {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
    .language-switcher {
        bottom: 80px;
        right: 15px;
    }
}

.language-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a03e7, #c826e9);
    border: none;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 5px 20px rgba(255, 102, 0, 0.4),
        0 0 30px rgba(255, 204, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 10001;
    min-width: 44px;
    min-height: 44px;
}

.language-toggle:hover {
    transform: scale(1.1);
    box-shadow: 
        0 8px 30px rgba(255, 102, 0, 0.6),
        0 0 40px rgba(255, 204, 0, 0.4);
    background: linear-gradient(135deg, #FFCC00, #FF6600);
}

.language-toggle i {
    font-size: 1.2rem;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.language-toggle:hover i {
    transform: rotate(15deg);
}

.current-language {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.language-dropdown {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: rgba(16, 16, 32, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(255, 102, 0, 0.3);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 102, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 8px;
    min-width: 160px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-dropdown.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.language-option {
    background: transparent;
    border: none;
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    min-height: 44px;
}

.language-option:hover {
    background: rgba(255, 102, 0, 0.2);
    color: #FFCC00;
    transform: translateX(-5px);
}

.language-option.active {
    background: rgba(255, 102, 0, 0.3);
    color: #FFCC00;
    border-left: 3px solid #FFCC00;
}

.language-flag {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.language-name {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
}

.language-code {
    font-size: 0.8rem;
    font-weight: 700;
    color: #FF6600;
    background: rgba(255, 102, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    letter-spacing: 1px;
}

/* Google Translate Fixes - IMPORTANT */
.goog-te-banner-frame {
    display: none !important;
}

.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-te-gadget {
    font-size: 0 !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.goog-te-gadget-simple .goog-te-menu-value {
    display: none !important;
}

.goog-te-combo {
    position: absolute !important;
    top: -1000px !important;
    left: -1000px !important;
}

/* RTL Support for Arabic */
body.translated-ar {
    direction: rtl;
    text-align: right;
}

body.translated-ar .language-switcher {
    left: 20px;
    right: auto;
}

body.translated-ar .language-dropdown {
    right: auto;
    left: 0;
}

body.translated-ar .language-option:hover {
    transform: translateX(5px);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .language-switcher {
        bottom: 70px;
        right: 10px;
    }
    
    body.translated-ar .language-switcher {
        left: 10px;
    }
    
    .language-toggle {
        width: 50px;
        height: 50px;
    }
    
    .language-dropdown {
        bottom: 60px;
        min-width: 140px;
    }
    
    .language-flag {
        font-size: 1.3rem;
    }
    
    .language-name {
        font-size: 0.8rem;
    }
}
/* Add to your stylekids.css */
.language-switcher.notranslate,
.language-switcher.notranslate * {
    translate: no !important;
}

.current-language {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

/* Google Translate specific fixes */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

/* Prevent translation of specific elements */
.notranslate {
    translate: no !important;
}