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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

/* VIDEO BACKGROUND */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 20, 40, 0.75) 50%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Glassmorphism Navbar */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    padding: 0.8rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

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

.custom-logo {
    position: relative;
    width: 45px;
    height: 45px;
}

.custom-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.5));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span:first-child {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-text span:last-child {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
}

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

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    transition: width 0.3s;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #00d4ff;
}

.glass-btn {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.4);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    color: #00d4ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.glass-btn:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(123, 47, 247, 0.2));
    transform: translateX(5px);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #00d4ff;
}

/* Mobile Navigation - Keep original navbar behavior */
@media (max-width: 968px) {
    .nav-links, .glass-btn {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 20, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        gap: 1rem;
        border-radius: 0 0 30px 30px;
        z-index: 999;
    }
}

.hero {
    min-height: 100vh;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 2rem;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(0, 212, 255, 0.15);
}

.animated-block-title {
    display: flex;
    gap: 0px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.block-letter {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: blockGlow 3s ease-in-out infinite;
    position: relative;
}

@keyframes blockGlow {
    0%, 100% { text-shadow: 0 0 0px rgba(0, 212, 255, 0); }
    50% { text-shadow: 0 0 20px rgba(0, 212, 255, 0.5); }
}

.animated-block-subtitle {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.block-letter-small {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(0,212,255,0.6));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.block-letter-small:nth-child(1) { animation-delay: 0.1s; }
.block-letter-small:nth-child(2) { animation-delay: 0.2s; }
.block-letter-small:nth-child(3) { animation-delay: 0.3s; }
.block-letter-small:nth-child(4) { animation-delay: 0.4s; }
.block-letter-small:nth-child(5) { animation-delay: 0.5s; }
.block-letter-small:nth-child(6) { animation-delay: 0.6s; }
.block-letter-small:nth-child(7) { animation-delay: 0.7s; }
.block-letter-small:nth-child(8) { animation-delay: 0.8s; }
.block-letter-small:nth-child(9) { animation-delay: 0.9s; }
.block-letter-small:nth-child(10) { animation-delay: 1.0s; }
.block-letter-small:nth-child(11) { animation-delay: 1.1s; }
.block-letter-small:nth-child(12) { animation-delay: 1.2s; }

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

.typing-wrapper {
    margin: 2rem 0;
}

.glass-tag {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 40px;
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.glass-tag i {
    color: #00d4ff;
    font-size: 1rem;
}

.typing-container {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

#typed-text {
    display: inline-block;
}

.typed-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #00d4ff;
}

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

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 1.5rem 0;
    max-width: 500px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-description .highlight {
    color: #00d4ff;
    font-weight: 600;
}

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

.primary-glow-btn {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border: none;
    padding: 1rem 2rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.primary-glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.secondary-glass-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.4);
    padding: 1rem 2rem;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.secondary-glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

.floating-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-card-glass {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    flex: 1;
    min-width: 100px;
}

.stat-card-glass:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(0, 0, 0, 0.6);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #00d4ff;
}

.stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.hero-right {
    position: relative;
}

.semiconductor-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chip-3d {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.02));
    border-radius: 30px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateChip 20s linear infinite;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

@keyframes rotateChip {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

.chip-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
}

.transistor {
    background: rgba(0, 212, 255, 0.4);
    border-radius: 5px;
    animation: pulseTransistor 2s ease-in-out infinite;
}

.transistor:nth-child(1) { animation-delay: 0s; }
.transistor:nth-child(2) { animation-delay: 0.5s; }
.transistor:nth-child(3) { animation-delay: 1s; }
.transistor:nth-child(4) { animation-delay: 1.5s; }

@keyframes pulseTransistor {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); background: #00d4ff; }
}

.electron-orbits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.orbit:nth-child(1) { width: 200px; height: 200px; margin-top: -100px; margin-left: -100px; }
.orbit:nth-child(2) { width: 280px; height: 280px; margin-top: -140px; margin-left: -140px; animation-duration: 15s; }
.orbit:nth-child(3) { width: 360px; height: 360px; margin-top: -180px; margin-left: -180px; animation-duration: 20s; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, #00d4ff, transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { height: 0px; opacity: 0; }
    50% { height: 50px; opacity: 1; }
    100% { height: 0px; opacity: 0; }
}

.services, .semiconductor-flow-section, .about, .contact {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-badge {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: #00d4ff;
    text-transform: uppercase;
    background: rgba(0, 212, 255, 0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    display: inline-block;
}
.section-title-glass {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
}
.gradient-text {
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.service-glass-card {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(10, 10, 20, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-glass-card.featured {
    border-color: rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.05));
}

.card-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: #00d4ff;
    position: relative;
    z-index: 1;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

.service-glass-card h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #fff; }
.service-glass-card p { color: rgba(255, 255, 255, 0.7); line-height: 1.6; margin-bottom: 1.5rem; }

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-stack span {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    color: #00d4ff;
}

.card-hover-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7);
    transition: width 0.3s;
}
.service-glass-card:hover .card-hover-line { width: 100%; }

.flow-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}
.flow-step {
    flex: 1;
    min-width: 200px;
    position: relative;
}
.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(123, 47, 247, 0.3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.step-content {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}
.step-content:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
}
.step-content i { font-size: 2rem; color: #00d4ff; margin-bottom: 1rem; }
.step-content h4 { margin-bottom: 0.5rem; color: #fff; }
.step-content p { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
.step-connector {
    position: absolute;
    top: 40%;
    right: -20px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, transparent);
}
.flow-step:last-child .step-connector { display: none; }

/* ============================================
   ABOUT SECTION - UPDATED (No circles, full width)
   ============================================ */
.about {
    position: relative;
    z-index: 10;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-container-full {
    max-width: 1000px;
    margin: 0 auto;
}

.about-content-full {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 3px solid rgba(0, 212, 255, 0.15);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
}

.about-content-full h2 {
    font-size: 2.5rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.3;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-content-full p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-second-p {
    margin-top: 0;
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.2rem;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 50px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: rgba(0, 212, 255, 0.15);
    transform: translateY(-3px);
}

.feature-item i {
    color: #00d4ff;
    font-size: 1rem;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.about-stats-glass {
    display: none;
}

/* Contact Section */
.contact-glass-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.glass-form {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    transition: all 0.3s;
}

.input-group textarea { padding-top: 1rem; }
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.submit-glass-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7);
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.submit-glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.contact-info-glass {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item-glass {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s;
}

.info-item-glass:hover {
    transform: translateX(5px);
    background: rgba(0, 212, 255, 0.1);
}

.info-item-glass i { font-size: 1.5rem; color: #00d4ff; }
.info-item-glass h4 { font-size: 0.9rem; margin-bottom: 0.2rem; color: #fff; }
.info-item-glass p { 
    font-size: 0.8rem; 
    color: rgba(255, 255, 255, 0.6); 
}

/* Footer */
.glass-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    padding: 3rem 2rem 1.5rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .custom-logo { width: 35px; height: 35px; }
.footer-brand p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.footer-links a:hover { color: #00d4ff; }

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: #00d4ff;
    color: #0a0a0a;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Tablet Responsive */
@media (max-width: 968px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .floating-stats { justify-content: center; }
    .typing-wrapper { display: flex; justify-content: center; }
    .animated-block-title, .animated-block-subtitle { justify-content: center; }
    .block-letter { font-size: 3rem; }
    .block-letter-small { font-size: 1rem; }
    .contact-glass-container { grid-template-columns: 1fr; }
    .flow-container { flex-direction: column; }
    .step-connector { display: none; }
    .section-title-glass { font-size: 1.8rem; }
    .hero-left { padding: 1.5rem; }
    .about-content-full { padding: 2rem 1.5rem; }
    .about-content-full h2 { font-size: 1.8rem; }
    .feature-list { flex-direction: column; gap: 0.8rem; }
    .feature-item { justify-content: center; }
}

/* Mobile Responsive - FOOTER LINKS IN ONE LINE */
@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
    .block-letter { font-size: 2rem; }
    .block-letter-small { font-size: 0.8rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .glass-btn { white-space: normal; text-align: center; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-brand { justify-content: center; }
    
    /* FOOTER LINKS - HORIZONTAL LINE */
    .footer-links {
        display: flex;
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
    
    .footer-links a {
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .block-letter { font-size: 1.5rem; gap: 3px; }
    .stat-card-glass { min-width: 80px; padding: 0.8rem; }
    .stat-number { font-size: 1.5rem; }
    
    .footer-links {
        gap: 0.8rem;
    }
    
    .footer-links a {
        font-size: 0.7rem;
    }
}

/* ============================================
   FIREBASE AUTH BUTTON STYLES
   ============================================ */
#signInBtn {
    background: linear-gradient(135deg, #4285f4, #34a853);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

#signInBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(66,133,244,0.4);
}

#userProfile {
    display: none;
    align-items: center;
    gap: 12px;
    background: rgba(0,212,255,0.1);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(0,212,255,0.3);
}

#userAvatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #00d4ff;
}

#userName {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

#signOutBtn {
    background: rgba(255,68,68,0.2);
    border: 1px solid #ff4444;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    color: #ff4444;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s;
}

#signOutBtn:hover {
    background: rgba(255,68,68,0.4);
}

/* ============================================
   LOGIN MODAL POPUP STYLES
   ============================================ */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.login-modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    z-index: 10001;
}

.modal-card {
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    border-radius: 24px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 2rem;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.modal-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

.modal-logo i {
    font-size: 1.5rem;
    color: #00d4ff;
}

.modal-logo span {
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    text-align: center;
}

.modal-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 47, 247, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.modal-icon i {
    font-size: 2rem;
    color: #00d4ff;
}

.modal-body h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #00d4ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-body p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.modal-google-btn {
    width: 100%;
    background: linear-gradient(135deg, #4285f4, #34a853);
    border: none;
    padding: 0.9rem;
    border-radius: 50px;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.modal-google-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(66, 133, 244, 0.4);
}

.modal-divider {
    position: relative;
    margin: 1rem 0;
}

.modal-divider span {
    background: #1a1a2e;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.modal-guest-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.9rem;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-guest-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-footer p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.modal-footer a {
    color: #00d4ff;
    text-decoration: none;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACT LINK STYLES - Email & Phone
   ============================================ */
.contact-link {
    color: #00d4ff !important;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.contact-link:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.info-item-glass a {
    display: inline-block;
    padding: 4px 0;
}

.info-item-glass a[href^="tel"] {
    font-family: monospace;
    letter-spacing: 0.5px;
}

.info-item-glass a[href^="mailto"] {
    word-break: break-all;
}

/* ============================================
   MOBILE FIX - Logo, User Profile, Menu in ONE LINE
   ============================================ */
@media (max-width: 968px) {
    /* Make nav-content use flex row with no wrap */
    .nav-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    /* Logo area - keep on left */
    .logo-area {
        flex-shrink: 0;
    }
    
    /* Make logo smaller on mobile */
    .custom-logo {
        width: 30px;
        height: 30px;
    }
    
    .logo-text span:first-child {
        font-size: 0.8rem;
    }
    
    .logo-text span:last-child {
        font-size: 0.55rem;
    }
    
    /* User Profile - in middle, horizontal */
    #userProfile {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 6px;
        padding: 0.2rem 0.6rem;
        background: rgba(0, 212, 255, 0.1);
        border-radius: 40px;
        flex-shrink: 1;
        min-width: 0;
        margin: 0;
        order: 1;
    }
    
    /* Smaller avatar */
    #userAvatar {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }
    
    /* Truncate long names */
    #userName {
        font-size: 0.7rem;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
    }
    
    /* Smaller sign out button */
    #signOutBtn {
        padding: 0.2rem 0.5rem;
        font-size: 0.6rem;
        flex-shrink: 0;
    }
    
    /* Hamburger menu on right */
    .mobile-toggle {
        display: block;
        flex-shrink: 0;
        font-size: 1.2rem;
        order: 2;
    }
    
    /* Hide Get in Touch button on mobile */
    .glass-btn {
        display: none;
    }
    
    /* Navigation links - hidden until click, full width below */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 20, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem;
        gap: 1rem;
        border-radius: 0 0 30px 30px;
        z-index: 999;
        order: 3;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem;
        display: block;
    }
}

/* For very small screens (iPhone SE) */
@media (max-width: 480px) {
    .custom-logo {
        width: 25px;
        height: 25px;
    }
    
    .logo-text span:first-child {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }
    
    .logo-text span:last-child {
        font-size: 0.5rem;
    }
    
    #userName {
        max-width: 80px;
        font-size: 0.65rem;
    }
    
    #userAvatar {
        width: 22px;
        height: 22px;
    }
    
    #signOutBtn {
        padding: 0.15rem 0.4rem;
        font-size: 0.55rem;
    }
}