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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-white);
    position: relative;
}

/* Tech-inspired background pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Variables */
:root {
    --primary-color: #00d4ff;
    --primary-dark: #0099cc;
    --secondary-color: #ff6b35;
    --accent-color: #7c3aed;
    --panda-black: #1a1a1a;
    --panda-white: #ffffff;
    --tech-cyan: #00ffff;
    --text-dark: #0f0f0f;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-light: 0 2px 4px rgba(0, 212, 255, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 212, 255, 0.15);
    --shadow-large: 0 20px 40px rgba(0, 212, 255, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ffd700 100%);
    --gradient-tech: linear-gradient(90deg, #00ffff 0%, #00d4ff 50%, #7c3aed 100%);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 16px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    border-color: var(--tech-cyan);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.btn-secondary:hover {
    color: white;
    border-color: var(--tech-cyan);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-full {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
    animation: logo-float 2s ease-in-out infinite alternate;
    transition: var(--transition);
}

.nav-logo:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
}

@keyframes logo-float {
    0% { 
        transform: translateY(0); 
        filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.3));
    }
    100% { 
        transform: translateY(-2px); 
        filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.6));
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(0, 212, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.03) 50%, transparent 70%),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4ff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='2'/%3E%3Cpath d='M20 20h40v40H20z' stroke='%2300d4ff' stroke-width='0.5' fill='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    animation: float-pattern 20s ease-in-out infinite;
}

@keyframes float-pattern {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(10px) translateY(-10px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title .company-name {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    position: relative;
}

.hero-title .company-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: text-glow 3s ease-in-out infinite alternate;
}

@keyframes text-glow {
    0% { opacity: 0; }
    100% { opacity: 0.3; }
}

.hero-title .tagline {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    animation: slide-in-up 0.8s ease-out 0.5s both;
}

@keyframes slide-in-up {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.tech-accent {
    display: inline-block;
    animation: flash-bolt 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

@keyframes flash-bolt {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
    }
    50% { 
        transform: scale(1.2); 
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.9));
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin: 24px 0 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: var(--shadow-large);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.about-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--bg-white);
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-tech);
    transform: scaleX(0);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-12px) rotateY(5deg);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 2.5rem;
    position: relative;
    animation: icon-float 3s ease-in-out infinite;
    box-shadow: var(--shadow-medium);
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-tech);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.about-card:hover .card-icon::before {
    opacity: 1;
    animation: spin-glow 2s linear infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes spin-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.mission-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.mission-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}





/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-center {
    display: flex;
    justify-content: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px;
    border-radius: 16px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item i {
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 4px;
    filter: drop-shadow(0 0 4px rgba(0, 212, 255, 0.3));
}

.contact-item h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
}



/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logo:hover .footer-logo-image {
    opacity: 1;
    transform: scale(1.02);
}



.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 16px;
}

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

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    animation: pulse-float 2s ease-in-out infinite;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow), 0 0 30px rgba(0, 212, 255, 0.4);
    border-color: var(--tech-cyan);
}

@keyframes pulse-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
    }

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

    .nav-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title .company-name {
        font-size: 2.5rem;
    }

    .hero-title .tagline {
        font-size: 1.5rem;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mission-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }



    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        gap: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-title .company-name {
        font-size: 2rem;
    }

    .hero-title .tagline {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .about-card {
        padding: 30px 15px;
    }



    .nav-container {
        padding: 0 15px;
    }

    .nav-logo span {
        font-size: 1.25rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        max-width: none;
    }
}
