/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: white;
    background-color: #000;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: #000000;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 80px;
}

/* Tech Grid Background */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 123, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 123, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.15;
    animation: techGridMove 20s linear infinite;
}

@keyframes techGridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Tech Particles */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.tech-particles::before,
.tech-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(0, 123, 255, 0.4);
    border-radius: 50%;
    animation: floatParticles 15s linear infinite;
}

.tech-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: -5s;
}

.tech-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: -10s;
}

@keyframes floatParticles {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Logo Container */
.logo-container {
    position: relative;
    display: inline-block;
}

.nav-logo img {
    height: 70px;
    width: 70px;
    border-radius: 15px;
    border: 3px solid transparent;
    background: #000000 padding-box,
                linear-gradient(45deg, #007bff, #00d4ff, #007bff) border-box;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    padding: 8px;
    object-fit: contain;
    box-shadow: 
        0 0 20px rgba(0, 123, 255, 0.4),
        0 0 40px rgba(0, 123, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(0, 123, 255, 0.4),
            0 0 40px rgba(0, 123, 255, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(0, 123, 255, 0.6),
            0 0 60px rgba(0, 123, 255, 0.4),
            inset 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.nav-logo img:hover {
    transform: scale(1.1) rotate(5deg);
    border-width: 4px;
    box-shadow: 
        0 0 40px rgba(0, 123, 255, 0.8),
        0 0 80px rgba(0, 123, 255, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
}

/* Logo Glow Effect */
.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 123, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: glowPulse 2s ease-in-out infinite alternate;
}

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

/* Circuit Lines */
.logo-circuit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    height: 2px;
    animation: circuitFlow 3s linear infinite;
}

.circuit-line-1 {
    top: 20%;
    left: -20px;
    width: 40px;
    animation-delay: 0s;
}

.circuit-line-2 {
    bottom: 20%;
    right: -20px;
    width: 40px;
    animation-delay: 1.5s;
}

@keyframes circuitFlow {
    0% { opacity: 0; transform: translateX(-10px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(10px); }
}

.circuit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #007bff;
    border-radius: 50%;
    animation: dotBlink 2s ease-in-out infinite;
}

.circuit-dot-1 {
    top: 10%;
    left: -10px;
    animation-delay: 0.5s;
}

.circuit-dot-2 {
    bottom: 10%;
    right: -10px;
    animation-delay: 2s;
}

@keyframes dotBlink {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.nav-icon {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.nav-text {
    position: relative;
    z-index: 2;
}

.nav-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.nav-link:hover {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link:hover .nav-hover-effect {
    left: 100%;
}

.nav-link:hover .nav-icon {
    transform: scale(1.2) rotate(360deg);
    color: #007bff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000 0%, #111 50%, #000 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #007bff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 2rem;
    color: #ccc;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-logo {
    margin: 2rem 0;
}

.hero-logo img {
    height: 80px;
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.1);
}

.cta-button {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
}

.cta-button:hover {
    background: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #000;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: #111;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.1);
    border-color: #007bff;
}

.service-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: white;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.about .section-header h2 {
    color: white;
}

.about .section-header p {
    color: #ccc;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    color: white;
}

.about-text h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.about-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #ccc;
}

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

.stat {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-graphic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s ease;
}

.about-graphic:hover {
    transform: scale(1.05) rotate(5deg);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact .section-header h2 {
    color: white;
}

.contact .section-header p {
    color: #ccc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info {
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.contact-icon {
    font-size: 1.5rem;
    color: #007bff;
    width: 30px;
}

.contact-details h3 {
    color: white;
    margin-bottom: 5px;
}

.contact-details p {
    color: #ccc;
    margin: 0;
}

.contact-logo img {
    height: 200px;
    transition: transform 0.3s ease;
}

.contact-logo img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #007bff;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    gap: 8px;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

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

.whatsapp-btn span {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .whatsapp-btn span {
        display: none;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 15px 60px;
    }
    
    .services, .about, .contact {
        padding: 60px 0;
    }
}
