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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: --text-dark;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Page Background Animation */
.page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: transparent;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Animated Grid Lines */
.page-background .grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

.page-background .grid-lines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 50px 50px;
    animation: gridMove 25s linear infinite reverse;
    opacity: 0.5;
}

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

/* Animated Tech Circles */
.page-background .animated-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tech-circle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: circleFloat 20s infinite ease-in-out;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.tech-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: centerPulse 2s infinite ease-in-out;
}

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

.circle-1 { width: 40px; height: 40px; left: 10%; top: 20%; animation-duration: 15s; animation-delay: 0s; }
.circle-2 { width: 180px; height: 180px; left: 25%; top: 60%; animation-duration: 18s; animation-delay: 2s; }
.circle-3 { width: 30px; height: 30px; left: 45%; top: 15%; animation-duration: 12s; animation-delay: 1s; }
.circle-4 { width: 150px; height: 150px; left: 60%; top: 70%; animation-duration: 16s; animation-delay: 3s; }
.circle-5 { width: 55px; height: 55px; left: 80%; top: 30%; animation-duration: 14s; animation-delay: 1.5s; }
.circle-6 { width: 200px; height: 200px; left: 15%; top: 75%; animation-duration: 17s; animation-delay: 2.5s; }
.circle-7 { width: 70px; height: 70px; left: 70%; top: 10%; animation-duration: 19s; animation-delay: 0.5s; }
.circle-8 { width: 25px; height: 25px; left: 35%; top: 45%; animation-duration: 13s; animation-delay: 2s; }
.circle-9 { width: 140px; height: 140px; left: 55%; top: 50%; animation-duration: 15s; animation-delay: 1s; }
.circle-10 { width: 90px; height: 90px; left: 85%; top: 65%; animation-duration: 16s; animation-delay: 2.5s; }

@keyframes circleFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.3);
        opacity: 0.3;
    }
    25% {
        transform: translate(30px, -40px) rotate(90deg) scale(1.5);
        opacity: 0.7;
    }
    50% {
        transform: translate(-20px, 30px) rotate(180deg) scale(0.4);
        opacity: 0.5;
    }
    75% {
        transform: translate(40px, 20px) rotate(270deg) scale(1.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(0.3);
        opacity: 0.3;
    }
}

/* Rotating Hexagons */
.page-background .rotating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hexagon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: hexRotate 25s infinite linear;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.hex-1 { left: 20%; top: 25%; animation-duration: 20s; }
.hex-2 { left: 50%; top: 60%; animation-duration: 25s; animation-direction: reverse; }
.hex-3 { left: 75%; top: 35%; animation-duration: 30s; }
.hex-4 { left: 30%; top: 80%; animation-duration: 22s; animation-direction: reverse; }

@keyframes hexRotate {
    0% {
        transform: rotate(0deg) translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: rotate(180deg) translate(50px, -30px) scale(1.2);
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg) translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

/* Glowing Orbs */
.page-background .glowing-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    filter: blur(15px);
    animation: orbPulse 8s infinite ease-in-out;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
}

.orb-1 { width: 150px; height: 150px; left: 15%; top: 40%; animation-duration: 6s; animation-delay: 0s; }
.orb-2 { width: 120px; height: 120px; left: 65%; top: 20%; animation-duration: 7s; animation-delay: 2s; }
.orb-3 { width: 100px; height: 100px; left: 40%; top: 70%; animation-duration: 8s; animation-delay: 1s; }
.orb-4 { width: 130px; height: 130px; left: 80%; top: 55%; animation-duration: 6.5s; animation-delay: 3s; }

@keyframes orbPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(30px, -40px) scale(1.3);
        opacity: 0.8;
    }
}

/* Circuit Lines */
.page-background .circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.circuit-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.circuit-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawCircuit 8s ease-in-out infinite;
}

.circuit-path:nth-child(2) {
    animation-delay: 1s;
}

.circuit-path:nth-child(3) {
    animation-delay: 2s;
}

.circuit-path:nth-child(4) {
    animation-delay: 0.5s;
}

.circuit-path:nth-child(5) {
    animation-delay: 1.5s;
}

.circuit-path:nth-child(6) {
    animation-delay: 2.5s;
}

.circuit-path:nth-child(7) {
    animation-delay: 3s;
}

@keyframes drawCircuit {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }
}

/* Tech Overlay */
.page-background .tech-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.btn-hero {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.hero .section-title,
.about .section-title {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.solutions .section-title,
.contact .section-title {
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.solution-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.solution-card ul {
    list-style: none;
    margin-top: 1rem;
}

.solution-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.solution-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: transparent;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(1px);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    margin-top: 3rem;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-img {
        height: 35px;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

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

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

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

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

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 30px;
    }

    .hero {
        padding: 4rem 0;
    }

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

    .solutions,
    .about,
    .contact {
        padding: 4rem 0;
    }
}

