/* Global Styles */
:root {
    --primary-blue: #0a192f;
    --secondary-blue: #112240;
    --accent-blue: #64ffda;
    --text-primary: #e6f1ff;
    --text-secondary: #8892b0;
    --gradient-start: #0a192f;
    --gradient-mid: #112240;
    --gradient-end: #0a2a5a;
    --text-color: #ffffff;
    --bg-color: #0a0a0a;
    --line-color: #e0e0e0;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--primary-blue);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.nav-wrapper {
    width: 100%;
    position: relative;
    overflow: visible;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    position: fixed;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
    margin-left: auto;
}

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

.nav-links a:hover {
    color: var(--accent-blue);
}

.tech-main {
    padding-top: 6rem;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 0;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    font-family: 'Roboto Serif', serif;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5),
                 0 0 20px rgba(100, 255, 218, 0.3),
                 0 0 30px rgba(100, 255, 218, 0.2);
    color: var(--text-primary);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

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

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-element {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.element-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

.element-line {
    position: absolute;
    width: 2px;
    height: 200px;
    background: var(--accent-blue);
    opacity: 0.3;
    transform-origin: center;
    animation: lightning 1.5s ease-in-out infinite;
}

.element-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    position: absolute;
    opacity: 0.5;
    animation: dotPulse 2s ease-in-out infinite;
}

.dot:nth-child(1) {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.2s;
}

.dot:nth-child(2) {
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    animation-delay: 0.4s;
}

.dot:nth-child(3) {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.6s;
}

.hero-cta {
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

.cta-button {
    position: relative;
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
}

.button-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.button-line {
    display: none;
}

.cta-button:hover .button-line {
    transform: scaleX(1);
}

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

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

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

@keyframes lightning {
    0% {
        transform: scaleY(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        transform: scaleY(1) rotate(45deg);
        opacity: 1;
    }
    40% {
        transform: scaleY(0.5) rotate(90deg);
        opacity: 0.5;
    }
    60% {
        transform: scaleY(1.2) rotate(135deg);
        opacity: 0.8;
    }
    80% {
        transform: scaleY(0.3) rotate(180deg);
        opacity: 0.3;
    }
    100% {
        transform: scaleY(0) rotate(225deg);
        opacity: 0;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

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

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

    .nav-links {
        display: none;
    }
}

.tech-footer {
    background: rgba(10, 10, 10, 0.9);
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.footer-section h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Global Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(0, 242, 255, 0.1) 0%,
        rgba(255, 0, 255, 0.1) 50%,
        transparent 100%);
    z-index: -1;
    animation: gradientPulse 15s ease infinite;
}

@keyframes gradientPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Section Backgrounds */
.page {
    position: relative;
    overflow: hidden;
}

.page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(0, 242, 255, 0.05) 0%,
        rgba(255, 0, 255, 0.05) 50%,
        transparent 100%);
    z-index: -1;
}

/* About Section */
.cyber-about {
    padding: 12rem 2rem;
    position: relative;
    overflow: hidden;
    scroll-margin-top: -50px;
}

.about-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.about-text {
    flex: 1;
    padding: 4rem;
    background: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.about-text p {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
    padding: 3rem;
    background: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.stat-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
}

.stat-item h3 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.stat-item p {
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Services Section */
.cyber-services {
    padding: 12rem 2rem;
    position: relative;
    overflow: visible;
}

.services-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 6rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: start;
}

.service-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

.service-card img {
    width: 80px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.3));
    object-fit: contain;
}

.service-card h3 {
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.service-card p {
    color: var(--text-primary);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(17, 34, 64, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 255, 0.1);
}

.service-features img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.3));
    transition: transform 0.3s ease;
}

.service-features img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.5));
}

/* Contact Section */
.cyber-contact {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    overflow: visible;
    z-index: 2;
}

.contact-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.contact-form input,
.contact-form textarea {
    background: rgba(17, 34, 64, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: var(--accent-blue);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.cyber-button {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: buttonGlow 2s infinite;
}

@keyframes buttonGlow {
    100% {
        transform: translateX(100%);
    }
}

/* Card and Container Styles */
.stat-item, .service-card {
    background: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover, .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
}

/* Form Styles */
.contact-form input,
.contact-form textarea {
    background: rgba(17, 34, 64, 0.5);
    border: 1px solid rgba(0, 242, 255, 0.1);
    color: var(--text-color);
    backdrop-filter: blur(5px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.neural-node {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-blue),
        transparent);
    transform-origin: left;
    animation: connectionFlow 6s infinite; /* Slowed down from 3s to 6s */
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes connectionFlow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 0.5;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.5));
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95) 0%, rgba(17, 34, 64, 0.95) 100%);
}

.hero-content {
    width: 100%;
    max-width: 1800px;
    padding: 2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
    height: 80vh;
}

.grid-cell {
    position: relative;
    overflow: hidden;
    background: rgba(17, 34, 64, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
}

.grid-cell:hover {
    background: rgba(17, 34, 64, 0.3);
    border-color: rgba(100, 255, 218, 0.3);
}

.main-title {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-text {
    font-size: 10rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
    animation: titleReveal 1s ease forwards 0.5s;
}

.title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-blue), transparent);
    opacity: 0.1;
    transform: scaleX(0);
    transform-origin: left;
    animation: overlayReveal 1.5s ease forwards 1s;
}

.tagline {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tagline-container {
    display: flex;
    gap: 2rem;
}

.tagline-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.8s ease forwards;
}

.tagline-text:nth-child(1) { animation-delay: 0.8s; }
.tagline-text:nth-child(2) { animation-delay: 1s; }
.tagline-text:nth-child(3) { animation-delay: 1.2s; }

.stats {
    grid-column: 1 / 5;
    grid-row: 3 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.8s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 1.4s; }
.stat-item:nth-child(2) { animation-delay: 1.6s; }
.stat-item:nth-child(3) { animation-delay: 1.8s; }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.cta {
    grid-column: 5 / 9;
    grid-row: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-container {
    width: 100%;
    padding: 2rem;
}

.cta-button {
    display: inline-flex;
    flex-direction: column;
    gap: 0.5rem;
    text-decoration: none;
    position: relative;
    padding: 1rem 0;
}

.button-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 2s;
}

.button-line {
    width: 100%;
    height: 1px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineReveal 1s ease forwards 2.2s;
}

.visual {
    grid-column: 9 / 13;
    grid-row: 3 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes overlayReveal {
    to {
        transform: scaleX(1);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes lineReveal {
    to {
        transform: scaleX(1);
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        padding-left: 0;
    }

    .hero-subtitle::before {
        display: none;
    }

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

    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-heading h1 {
        font-size: 3.5rem;
    }

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

    .catchphrase-text {
        font-size: 2rem;
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

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

    .about-content {
        flex-direction: column;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

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

    .about-container,
    .services-container {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .main-heading h1 {
        font-size: 2.5rem;
    }

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

    .catchphrase-text {
        font-size: 1.5rem;
        padding: 0.8rem 1.5rem;
    }

    .about-text h2,
    .services-title h2 {
        font-size: 2.5rem;
    }

    .about-text p,
    .service-card p {
        font-size: 1rem;
    }

    .stat-item h3 {
        font-size: 1.5rem;
    }

    .stat-item p {
        font-size: 1rem;
    }
}

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

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.footer-section {
    flex: 0 1 auto;
    min-width: 200px;
    text-align: center;
}

.footer-section .contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.footer-section .email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.footer-section .email-link:hover {
    color: #00ff00;
}

.footer-section .email-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .footer-section .email-link {
        font-size: 0.9rem;
    }
}

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

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

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

.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

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

.social-links a {
    color: var(--text-primary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-blue);
}

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

/* Animations */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}

.holographic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(100, 255, 218, 0.1) 0%,
        rgba(29, 78, 216, 0.1) 50%,
        transparent 100%);
    animation: pulse 8s ease-in-out infinite;
}

.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.main-content {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
}

.holographic-card {
    position: relative;
    width: 90%;
    max-width: 1200px;
    min-height: 80vh;
    background: rgba(10, 25, 47, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(100, 255, 218, 0.1);
    animation: float 6s ease-in-out infinite;
}

.holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(100, 255, 218, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: shine 8s linear infinite;
}

.card-content {
    position: relative;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    z-index: 1;
}

.holographic-title {
    font-size: 8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--holographic-glow);
    animation: titleGlow 4s ease-in-out infinite;
}

.holographic-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-blue),
        transparent);
    box-shadow: 0 0 20px var(--holographic-glow);
}

.holographic-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.text-line {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.8s ease forwards;
}

.text-line:nth-child(1) { animation-delay: 0.5s; }
.text-line:nth-child(2) { animation-delay: 0.8s; }
.text-line:nth-child(3) { animation-delay: 1.1s; }

.holographic-stats {
    display: flex;
    gap: 4rem;
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.stat:nth-child(1) { animation-delay: 1.4s; }
.stat:nth-child(2) { animation-delay: 1.6s; }
.stat:nth-child(3) { animation-delay: 1.8s; }

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-shadow: 0 0 20px var(--holographic-glow);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.holographic-cta {
    margin-top: 4rem;
}

.holographic-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--accent-blue);
    padding: 1rem 2rem;
    cursor: pointer;
    overflow: hidden;
}

.button-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent,
        var(--accent-blue),
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.holographic-button:hover .button-glow {
    opacity: 0.2;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes shine {
    to { transform: rotate(45deg) translateX(100%); }
}

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

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 30px var(--holographic-glow); }
    50% { text-shadow: 0 0 50px var(--holographic-glow); }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes lineReveal {
    to {
        transform: scaleX(1);
    }
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes overlayReveal {
    to {
        transform: scaleX(1);
    }
}

.dynamic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1rem;
    height: 100vh;
    padding: 2rem;
    position: relative;
}

.grid-item {
    position: relative;
    overflow: hidden;
    background: rgba(17, 34, 64, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: all 0.3s ease;
}

.grid-item:hover {
    background: rgba(17, 34, 64, 0.3);
    border-color: rgba(100, 255, 218, 0.3);
    transform: scale(1.02);
}

.title-item {
    grid-column: 1 / 13;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dynamic-title {
    font-size: 12rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--holographic-glow);
    animation: titleGlow 4s ease-in-out infinite;
}

.title-underline {
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), transparent);
    box-shadow: 0 0 20px var(--holographic-glow);
    transform: scaleX(0);
    transform-origin: left;
    animation: lineReveal 1.5s ease forwards 0.5s;
}

.text-item {
    grid-column: 1 / 7;
    grid-row: 3 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.dynamic-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 0.8s ease forwards;
}

.dynamic-text:nth-child(1) { animation-delay: 0.8s; }
.dynamic-text:nth-child(2) { animation-delay: 1s; }
.dynamic-text:nth-child(3) { animation-delay: 1.2s; }

.feature-item {
    grid-column: 7 / 13;
    grid-row: 3 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.feature:nth-child(1) { animation-delay: 1.4s; }
.feature:nth-child(2) { animation-delay: 1.6s; }
.feature:nth-child(3) { animation-delay: 1.8s; }

.feature-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-blue);
    text-shadow: 0 0 20px var(--holographic-glow);
}

.feature-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.cta-item {
    grid-column: 1 / 13;
    grid-row: 5 / 7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dynamic-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--accent-blue);
    padding: 2rem 4rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 2s;
}

.dynamic-button:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.2);
    transform: scale(1.05);
}

.button-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 1;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent,
        var(--accent-blue),
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dynamic-button:hover .button-glow {
    opacity: 0.2;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 30px var(--holographic-glow); }
    50% { text-shadow: 0 0 50px var(--holographic-glow); }
}

@keyframes lineReveal {
    to {
        transform: scaleX(1);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--gradient-start) 0%,
        var(--gradient-mid) 50%,
        var(--gradient-end) 100%);
    z-index: -2;
    margin: 0;
    padding: 0;
}

.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: -1;
    animation: glitch 0.3s infinite;
    margin: 0;
    padding: 0;
}

.cyber-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.cyber-container {
    width: 100%;
    max-width: 1400px;
    padding: 4rem;
    position: relative;
}

.cyber-header {
    margin-bottom: 4rem;
    position: relative;
}

.cyber-title {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.title-part {
    font-size: 8rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: relative;
    animation: glitchText 2s infinite;
}

.title-part:nth-child(1) { animation-delay: 0.1s; }
.title-part:nth-child(2) { animation-delay: 0.2s; }
.title-part:nth-child(3) { animation-delay: 0.3s; }

.cyber-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-blue),
        transparent);
    position: relative;
    overflow: hidden;
}

.cyber-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-blue),
        transparent);
    animation: scanLine 2s linear infinite;
}

.cyber-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.cyber-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cyber-cell {
    background: rgba(17, 34, 64, 0.2);
    border: 1px solid rgba(100, 255, 218, 0.1);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-cell:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
}

.cyber-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent,
        rgba(100, 255, 218, 0.1),
        transparent);
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

.cell-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cell-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.cell-text {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.cyber-cta {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.cyber-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--accent-blue);
    padding: 1.5rem 3rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cyber-button:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

.button-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent,
        var(--accent-blue),
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-button:hover .button-glow {
    opacity: 0.2;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitchText {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.tensor-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--gradient-start) 0%,
        var(--gradient-mid) 50%,
        var(--gradient-end) 100%);
    z-index: -2;
    overflow: hidden;
}

.tensor-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.tensor-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tensor-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tensor-container {
    width: 100%;
    max-width: 1400px;
    padding: 4rem;
    position: relative;
}

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

.tensor-title {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tensor-letter {
    font-size: 8rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    position: relative;
    animation: tensorFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(100, 255, 218, 0.5);
}

.tensor-letter:nth-child(1) { animation-delay: 0.1s; }
.tensor-letter:nth-child(2) { animation-delay: 0.2s; }
.tensor-letter:nth-child(3) { animation-delay: 0.3s; }
.tensor-letter:nth-child(4) { animation-delay: 0.4s; }
.tensor-letter:nth-child(5) { animation-delay: 0.5s; }
.tensor-letter:nth-child(6) { animation-delay: 0.6s; }
.tensor-letter:nth-child(7) { animation-delay: 0.7s; }
.tensor-letter:nth-child(8) { animation-delay: 0.8s; }
.tensor-letter:nth-child(9) { animation-delay: 0.9s; }

.tensor-subtitle {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.tensor-word {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    position: relative;
    animation: tensorPulse 2s ease-in-out infinite;
}

.tensor-word:nth-child(1) { animation-delay: 0.2s; }
.tensor-word:nth-child(2) { animation-delay: 0.4s; }
.tensor-word:nth-child(3) { animation-delay: 0.6s; }

.tensor-shapes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border: 2px solid rgba(100, 255, 218, 0.3);
    animation: tensorRotate 10s linear infinite;
}

.cube {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sphere {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    border-radius: 50%;
    animation-delay: -3s;
}

.torus {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 40%;
    border-radius: 50%;
    animation-delay: -6s;
}

.tensor-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--accent-blue);
    padding: 1.5rem 3rem;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
}

.tensor-button:hover {
    background: rgba(100, 255, 218, 0.1);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

.button-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 1;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        transparent,
        var(--accent-blue),
        transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tensor-button:hover .button-glow {
    opacity: 0.2;
}

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

@keyframes tensorFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes tensorPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes tensorRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

.cyber-about {
    padding: 12rem 2rem;
    position: relative;
    overflow: hidden;
    scroll-margin-top: -50px;
}

.cyber-services {
    padding: 12rem 2rem;
    position: relative;
    overflow: visible;
}

.cyber-contact {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    overflow: visible;
    z-index: 2;
}

.about-container,
.services-container,
.contact-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 6rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    align-items: start;
}

.contact-content {
    max-width: 800px;
    margin: 2rem auto;
}

.cyber-footer {
    position: relative;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    padding: 4rem 0 2rem;
    z-index: 1;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 4rem;
}

.footer-section {
    flex: 0 1 auto;
    min-width: 200px;
    text-align: center;
}

.footer-section h4 {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

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

.footer-section a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    color: var(--accent-blue);
}

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

.footer-bottom p {
    color: var(--text-primary);
    font-size: 0.9rem;
    opacity: 0.7;
}

.lightning-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.neural-node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--accent-blue),
        0 0 40px var(--accent-blue);
    animation: nodePulse 6s infinite; /* Slowed down from 4s to 6s */
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 
            0 0 20px var(--accent-blue),
            0 0 40px var(--accent-blue);
    }
    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 
            0 0 30px var(--accent-blue),
            0 0 60px var(--accent-blue);
    }
}

.neural-connection {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        var(--accent-blue),
        transparent);
    transform-origin: left;
    animation: connectionFlow 3s infinite;
}

.neural-wave {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: waveExpand 4s infinite;
    opacity: 0;
    transform-style: preserve-3d;
}

.neural-3d {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate3D 10s infinite linear; /* Slowed down from 8s to 10s */
}

.neural-3d-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-blue);
    opacity: 0.3;
    background: rgba(100, 255, 218, 0.1);
}

.neural-3d-face:nth-child(1) { transform: rotateY(0deg) translateZ(50px); }
.neural-3d-face:nth-child(2) { transform: rotateY(90deg) translateZ(50px); }
.neural-3d-face:nth-child(3) { transform: rotateY(180deg) translateZ(50px); }
.neural-3d-face:nth-child(4) { transform: rotateY(270deg) translateZ(50px); }
.neural-3d-face:nth-child(5) { transform: rotateX(90deg) translateZ(50px); }
.neural-3d-face:nth-child(6) { transform: rotateX(-90deg) translateZ(50px); }

.neural-curve {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--accent-blue);
    border-radius: 50%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: curveRotate 6s infinite;
}

.neural-reaction {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: reactionPulse 8s infinite; /* Slowed down from 2s to 8s */
    box-shadow: 
        0 0 20px var(--accent-blue),
        0 0 40px var(--accent-blue);
}

@keyframes reactionPulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.5) translate(20px, -20px);
        opacity: 1;
    }
    50% {
        transform: scale(1) translate(0, 0);
        opacity: 0.8;
    }
    75% {
        transform: scale(1.5) translate(-20px, 20px);
        opacity: 1;
    }
}

@keyframes connectionFlow {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    50% {
        transform: scaleX(1);
        opacity: 0.5;
    }
    100% {
        transform: scaleX(0);
        opacity: 0;
    }
}

@keyframes waveExpand {
    0% {
        transform: scale(0.5) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: scale(2.5) rotate(360deg);
        opacity: 0;
    }
}

@keyframes rotate3D {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes curveRotate {
    0% {
        transform: rotate(0deg) scale(1);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    25% {
        transform: rotate(90deg) scale(1.2);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    50% {
        transform: rotate(180deg) scale(1);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    75% {
        transform: rotate(270deg) scale(1.2);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
    100% {
        transform: rotate(360deg) scale(1);
        clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    }
}

/* Position the elements */
.neural-node:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.neural-node:nth-child(2) { top: 40%; left: 60%; animation-delay: 0.2s; }
.neural-node:nth-child(3) { top: 60%; left: 30%; animation-delay: 0.4s; }
.neural-node:nth-child(4) { top: 80%; left: 70%; animation-delay: 0.6s; }

.neural-connection:nth-child(5) { top: 20%; left: 20%; width: 200px; transform: rotate(45deg); animation-delay: 0.1s; }
.neural-connection:nth-child(6) { top: 40%; left: 30%; width: 150px; transform: rotate(-30deg); animation-delay: 0.3s; }
.neural-connection:nth-child(7) { top: 60%; left: 50%; width: 180px; transform: rotate(60deg); animation-delay: 0.5s; }

.neural-wave:nth-child(8) { top: 30%; left: 40%; animation-delay: 0s; }
.neural-wave:nth-child(9) { top: 50%; left: 20%; animation-delay: 1s; }
.neural-wave:nth-child(10) { top: 70%; left: 60%; animation-delay: 2s; }

.neural-3d:nth-child(11) { top: 25%; left: 75%; animation-delay: 0s; }
.neural-3d:nth-child(12) { top: 55%; left: 25%; animation-delay: 2s; }
.neural-3d:nth-child(13) { top: 85%; left: 65%; animation-delay: 4s; }

.neural-curve:nth-child(14) { top: 35%; left: 45%; animation-delay: 0s; }
.neural-curve:nth-child(15) { top: 65%; left: 15%; animation-delay: 2s; }
.neural-curve:nth-child(16) { top: 45%; left: 85%; animation-delay: 4s; }

.neural-reaction:nth-child(17) { top: 25%; left: 35%; animation-delay: 0s; }
.neural-reaction:nth-child(18) { top: 45%; left: 55%; animation-delay: 2s; }
.neural-reaction:nth-child(19) { top: 65%; left: 25%; animation-delay: 4s; }
.neural-reaction:nth-child(20) { top: 85%; left: 75%; animation-delay: 6s; }

/* Add new 3D geometric elements */
.neural-pyramid {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: rotate3D 12s infinite linear;
}

.neural-pyramid-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-blue);
    opacity: 0.3;
    background: rgba(100, 255, 218, 0.1);
}

.neural-pyramid-face:nth-child(1) { transform: rotateY(0deg) translateZ(50px); }
.neural-pyramid-face:nth-child(2) { transform: rotateY(120deg) translateZ(50px); }
.neural-pyramid-face:nth-child(3) { transform: rotateY(240deg) translateZ(50px); }
.neural-pyramid-face:nth-child(4) { transform: rotateX(60deg) translateZ(50px); }

.neural-octahedron {
    position: absolute;
    width: 80px;
    height: 80px;
    transform-style: preserve-3d;
    animation: rotate3D 15s infinite linear;
}

.neural-octahedron-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-blue);
    opacity: 0.3;
    background: rgba(100, 255, 218, 0.1);
}

.neural-octahedron-face:nth-child(1) { transform: rotateY(0deg) translateZ(40px); }
.neural-octahedron-face:nth-child(2) { transform: rotateY(90deg) translateZ(40px); }
.neural-octahedron-face:nth-child(3) { transform: rotateY(180deg) translateZ(40px); }
.neural-octahedron-face:nth-child(4) { transform: rotateY(270deg) translateZ(40px); }
.neural-octahedron-face:nth-child(5) { transform: rotateX(90deg) translateZ(40px); }
.neural-octahedron-face:nth-child(6) { transform: rotateX(-90deg) translateZ(40px); }

.neural-torus {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    animation: rotate3D 18s infinite linear;
    opacity: 0.3;
}

/* Position the new 3D elements */
.neural-pyramid:nth-child(21) { top: 15%; left: 25%; animation-delay: 0s; }
.neural-pyramid:nth-child(22) { top: 75%; left: 85%; animation-delay: 3s; }

.neural-octahedron:nth-child(23) { top: 35%; left: 65%; animation-delay: 1s; }
.neural-octahedron:nth-child(24) { top: 85%; left: 15%; animation-delay: 4s; }

.neural-torus:nth-child(25) { top: 25%; left: 85%; animation-delay: 2s; }
.neural-torus:nth-child(26) { top: 65%; left: 35%; animation-delay: 5s; }

.about-tagline {
    text-align: left;
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-top: -16.5rem;
    margin-left: 50px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
    position: relative;
    white-space: nowrap;
    font-family: 'Roboto Serif', serif;
}

.section-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: 0 0 10px rgba(100, 255, 218, 0.3);
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* New 3D Background Elements */
.background-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.background-cube,
.background-icosahedron,
.background-dodecahedron {
    position: absolute;
    transform-style: preserve-3d;
    animation: scrollRotate 20s infinite linear;
}

.background-cube {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.background-icosahedron {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

.background-dodecahedron {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 40%;
    animation-delay: -10s;
}

.cube-face,
.icosahedron-face,
.dodecahedron-face {
    position: absolute;
    border: 1px solid rgba(100, 255, 218, 0.2);
    background: rgba(100, 255, 218, 0.05);
    backdrop-filter: blur(5px);
}

/* Cube faces */
.cube-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
.cube-face:nth-child(2) { transform: rotateY(90deg) translateZ(100px); }
.cube-face:nth-child(3) { transform: rotateY(180deg) translateZ(100px); }
.cube-face:nth-child(4) { transform: rotateY(270deg) translateZ(100px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(100px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(100px); }

/* Icosahedron faces */
.icosahedron-face {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.icosahedron-face:nth-child(1) { transform: rotateY(0deg) translateZ(75px); }
.icosahedron-face:nth-child(2) { transform: rotateY(72deg) translateZ(75px); }
.icosahedron-face:nth-child(3) { transform: rotateY(144deg) translateZ(75px); }
.icosahedron-face:nth-child(4) { transform: rotateY(216deg) translateZ(75px); }
.icosahedron-face:nth-child(5) { transform: rotateY(288deg) translateZ(75px); }
.icosahedron-face:nth-child(6) { transform: rotateX(180deg) rotateY(0deg) translateZ(75px); }
.icosahedron-face:nth-child(7) { transform: rotateX(180deg) rotateY(72deg) translateZ(75px); }
.icosahedron-face:nth-child(8) { transform: rotateX(180deg) rotateY(144deg) translateZ(75px); }
.icosahedron-face:nth-child(9) { transform: rotateX(180deg) rotateY(216deg) translateZ(75px); }
.icosahedron-face:nth-child(10) { transform: rotateX(180deg) rotateY(288deg) translateZ(75px); }

/* Dodecahedron faces */
.dodecahedron-face {
    width: 100%;
    height: 100%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.dodecahedron-face:nth-child(1) { transform: rotateY(0deg) translateZ(90px); }
.dodecahedron-face:nth-child(2) { transform: rotateY(72deg) translateZ(90px); }
.dodecahedron-face:nth-child(3) { transform: rotateY(144deg) translateZ(90px); }
.dodecahedron-face:nth-child(4) { transform: rotateY(216deg) translateZ(90px); }
.dodecahedron-face:nth-child(5) { transform: rotateY(288deg) translateZ(90px); }
.dodecahedron-face:nth-child(6) { transform: rotateX(180deg) rotateY(0deg) translateZ(90px); }
.dodecahedron-face:nth-child(7) { transform: rotateX(180deg) rotateY(72deg) translateZ(90px); }
.dodecahedron-face:nth-child(8) { transform: rotateX(180deg) rotateY(144deg) translateZ(90px); }
.dodecahedron-face:nth-child(9) { transform: rotateX(180deg) rotateY(216deg) translateZ(90px); }
.dodecahedron-face:nth-child(10) { transform: rotateX(180deg) rotateY(288deg) translateZ(90px); }

@keyframes scrollRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

/* Add scroll-based movement */
@media (prefers-reduced-motion: no-preference) {
    .background-3d {
        animation: scrollMove 20s infinite linear;
    }
}

@keyframes scrollMove {
    0% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-50px) rotateX(180deg) rotateY(180deg);
    }
    100% {
        transform: translateY(0) rotateX(360deg) rotateY(360deg);
    }
}

/* Remove the complex background animations */
.background-3d,
.background-cube,
.background-icosahedron,
.background-dodecahedron,
.cube-face,
.icosahedron-face,
.dodecahedron-face {
    display: none;
}

/* Add simple 3D elements for each section */
.cyber-about::before,
.cyber-services::before,
.cyber-contact::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    background: rgba(100, 255, 218, 0.05);
    backdrop-filter: blur(5px);
    transform-style: preserve-3d;
    animation: simpleRotate 20s infinite linear;
}

.cyber-about::before {
    top: 20%;
    right: 10%;
    transform: rotateX(45deg) rotateY(45deg);
}

.cyber-services::before {
    top: 40%;
    left: 10%;
    transform: rotateX(-45deg) rotateY(-45deg);
}

.cyber-contact::before {
    bottom: 20%;
    right: 10%;
    transform: rotateX(30deg) rotateY(30deg);
}

@keyframes simpleRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* Add complex 3D elements for each section */
.cyber-about::before,
.cyber-services::before,
.cyber-contact::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    background: rgba(100, 255, 218, 0.05);
    backdrop-filter: blur(5px);
    transform-style: preserve-3d;
    animation: complexRotate 20s infinite linear;
    box-shadow: 
        0 0 20px rgba(100, 255, 218, 0.1),
        0 0 40px rgba(100, 255, 218, 0.05);
}

.cyber-about::before {
    top: 20%;
    right: 10%;
    transform: rotateX(45deg) rotateY(45deg) rotateZ(15deg);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.cyber-services::before {
    top: 40%;
    left: 10%;
    transform: rotateX(-45deg) rotateY(-45deg) rotateZ(-15deg);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.cyber-contact::before {
    bottom: 20%;
    right: 10%;
    transform: rotateX(30deg) rotateY(30deg) rotateZ(30deg);
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

@keyframes complexRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        box-shadow: 
            0 0 20px rgba(100, 255, 218, 0.1),
            0 0 40px rgba(100, 255, 218, 0.05);
    }
    25% {
        transform: rotateX(90deg) rotateY(45deg) rotateZ(45deg) scale(1.1);
        box-shadow: 
            0 0 30px rgba(100, 255, 218, 0.2),
            0 0 60px rgba(100, 255, 218, 0.1);
    }
    50% {
        transform: rotateX(180deg) rotateY(90deg) rotateZ(90deg) scale(1);
        box-shadow: 
            0 0 20px rgba(100, 255, 218, 0.1),
            0 0 40px rgba(100, 255, 218, 0.05);
    }
    75% {
        transform: rotateX(270deg) rotateY(135deg) rotateZ(135deg) scale(1.1);
        box-shadow: 
            0 0 30px rgba(100, 255, 218, 0.2),
            0 0 60px rgba(100, 255, 218, 0.1);
    }
    100% {
        transform: rotateX(360deg) rotateY(180deg) rotateZ(180deg) scale(1);
        box-shadow: 
            0 0 20px rgba(100, 255, 218, 0.1),
            0 0 40px rgba(100, 255, 218, 0.05);
    }
}

/* Add hover effects */
.cyber-about::before:hover,
.cyber-services::before:hover,
.cyber-contact::before:hover {
    animation-play-state: paused;
    transform: scale(1.2);
    box-shadow: 
        0 0 40px rgba(100, 255, 218, 0.3),
        0 0 80px rgba(100, 255, 218, 0.2);
}

/* Remove previous 3D elements */
.cyber-about::before,
.cyber-services::before,
.cyber-contact::before {
    display: none;
}

/* About Section 3D Elements */
.about-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 1;
}

.about-pyramid {
    position: absolute;
    width: 150px;
    height: 150px;
    transform-style: preserve-3d;
    animation: pyramidRotate 15s infinite linear;
    top: 250%;
    right: 10%;
    z-index: 1;
    opacity: 1;
}

.about-pyramid-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-blue);
    opacity: 0.3;
    background: rgba(100, 255, 218, 0.1);
}

.about-pyramid-face:nth-child(1) { transform: rotateY(0deg) translateZ(75px); }
.about-pyramid-face:nth-child(2) { transform: rotateY(120deg) translateZ(75px); }
.about-pyramid-face:nth-child(3) { transform: rotateY(240deg) translateZ(75px); }
.about-pyramid-face:nth-child(4) { transform: rotateX(60deg) translateZ(75px); }

/* Services Section 3D Elements */
.services-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    z-index: 1;
    min-height: 100vh;
    overflow: visible;
}

.services-octahedron {
    position: absolute;
    width: 120px;
    height: 120px;
    transform-style: preserve-3d;
    animation: octahedronRotate 12s infinite linear;
    top: 40%;
    left: 5%;
}

.services-octahedron-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(100, 255, 218, 0.2);
    background: rgba(100, 255, 218, 0.05);
    backdrop-filter: blur(5px);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.services-octahedron-face:nth-child(1) { transform: rotateY(0deg) translateZ(60px); }
.services-octahedron-face:nth-child(2) { transform: rotateY(90deg) translateZ(60px); }
.services-octahedron-face:nth-child(3) { transform: rotateY(180deg) translateZ(60px); }
.services-octahedron-face:nth-child(4) { transform: rotateY(270deg) translateZ(60px); }
.services-octahedron-face:nth-child(5) { transform: rotateX(90deg) translateZ(60px); }
.services-octahedron-face:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }

/* Contact Section 3D Elements */
.contact-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.contact-torus {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    animation: torusRotate 20s infinite linear;
    top: 60%;
    right: 5%;
    border: 2px solid var(--accent-blue);
}

.contact-torus::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    transform: rotateX(60deg);
    animation: torusPulse 4s infinite alternate;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
}

/* Animations */
@keyframes pyramidRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes octahedronRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
    }
    50% {
        transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg) scale(1.2);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg) scale(1);
    }
}

@keyframes torusRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes torusPulse {
    0% {
        transform: rotateX(60deg) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(60deg) scale(1.5);
        opacity: 0.8;
    }
}

/* Add hover effects */
.about-pyramid:hover,
.services-octahedron:hover,
.contact-torus:hover {
    animation-play-state: paused;
    transform: scale(1.2);
    box-shadow: 
        0 0 40px rgba(100, 255, 218, 0.3),
        0 0 80px rgba(100, 255, 218, 0.2);
}

/* 3D Elements */
.about-3d,
.services-3d,
.contact-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0; /* Changed from 1 to 0 to move behind content */
}

.about-pyramid,
.services-octahedron,
.contact-torus {
    position: absolute;
    transform-style: preserve-3d;
    perspective: 1000px;
    pointer-events: none; /* Changed from auto to none */
    opacity: 0.5; /* Added opacity to make them more subtle */
}

.about-pyramid {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation: pyramidRotate 15s infinite linear;
    z-index: 1;
    opacity: 1;
    position: absolute;
}

.about-pyramid-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    background: rgba(100, 255, 218, 0.05); /* Reduced opacity */
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2); /* Reduced shadow */
}

.services-octahedron {
    width: 120px;
    height: 120px;
    top: 40%;
    left: 5%;
    animation: octahedronRotate 12s infinite linear;
}

.services-octahedron-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    background: rgba(100, 255, 218, 0.05); /* Reduced opacity */
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2); /* Reduced shadow */
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.contact-torus {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 5%;
    animation: torusRotate 20s infinite linear;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2); /* Reduced shadow */
}

.contact-torus::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    transform: rotateX(60deg);
    animation: torusPulse 4s infinite alternate;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2); /* Reduced shadow */
}

/* Remove hover effects since they're in the background */
.about-pyramid:hover,
.services-octahedron:hover,
.contact-torus:hover {
    animation-play-state: running;
    transform: none;
    box-shadow: none;
}

.about-pyramid {
    display: none;
}

.about-3d {
    display: none;
}

.services-octahedron {
    display: none;
}

.services-3d {
    display: none;
}

.cyber-contact {
    display: none;
}

.contact-3d {
    display: none;
}

.contact-torus {
    display: none;
}

@media (max-width: 1200px) {
    .nav-logo {
        margin-left: -200px;
    }
    
    .nav-logo-img {
        height: 45px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        margin-left: -100px;
    }
    
    .nav-logo-img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        margin-left: 0;
    }
    
    .nav-logo-img {
        height: 35px;
    }
}

@media (max-width: 1400px) {
    .nav-logo {
        margin-left: -200px;
    }
    
    .nav-logo-img {
        height: 45px;
    }
}

@media (max-width: 1200px) {
    .nav-logo {
        margin-left: -150px;
    }
    
    .nav-logo-img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    .nav-logo {
        margin-left: -50px;
    }
    
    .nav-logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        margin-left: 0;
        justify-content: flex-start;
    }
    
    .nav-logo-img {
        height: 30px;
    }
}

@media (max-width: 1920px) {
    .nav-logo {
        margin-left: -100px;
    }
}

@media (min-width: 1921px) {
    .nav-logo {
        position: fixed;
        left: -120vw;  /* Changed from -90vw to -120vw for larger monitors */
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width: 2560px) {
    .nav-logo {
        left: -150vw;  /* Even further left for 4K/ultrawide monitors */
    }
}

@media (min-width: 1921px) and (min-height: 1080px) {
    .nav-logo {
        left: -2000px;  /* Only affects full screen on larger monitors */
    }
}

@media (max-width: 1920px) {
    .nav-logo {
        left: calc(50% - 700px);
    }
    .nav-logo-img {
        height: 50px;
    }
}

@media (max-width: 1600px) {
    .nav-logo {
        left: calc(50% - 600px);
    }
}

@media (max-width: 1400px) {
    .nav-logo {
        left: calc(50% - 500px);
    }
    .nav-logo-img {
        height: 45px;
    }
}

@media (max-width: 1200px) {
    .nav-logo {
        left: calc(50% - 400px);
    }
    .nav-logo-img {
        height: 40px;
    }
}

@media (max-width: 991px) {
    .nav-logo {
        left: calc(50% - 300px);
    }
    .nav-logo-img {
        height: 35px;
    }
}

@media (max-width: 767px) {
    .nav-logo {
        left: calc(50% - 200px);
    }
    .nav-logo-img {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        left: 20px;
    }
    .nav-logo-img {
        height: 25px;
    }
}

.footer-section .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-section .contact-info {
    margin-top: 1rem;
}

.footer-section .email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .email-link:hover {
    color: #00ff00;
}

.footer-section .email-icon {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .footer-section .email-link {
        font-size: 0.9rem;
    }
}

/* Add new transition section */
.transition-section {
    position: relative;
    height: 400px;
    overflow: visible;
    perspective: 1000px;
    z-index: 2;
    margin: 4rem 0;
    padding: 2rem 0;
}

.transition-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    z-index: 2;
}

.transition-element {
    position: absolute;
    transform-style: preserve-3d;
    animation: cyberRotate 15s infinite linear;
    z-index: 3;
}

.transition-element:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.transition-element:nth-child(2) {
    width: 160px;
    height: 160px;
    top: 60%;
    right: 20%;
    animation-delay: -5s;
}

.transition-element:nth-child(3) {
    width: 240px;
    height: 240px;
    bottom: 20%;
    left: 40%;
    animation-delay: -10s;
}

.transition-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-blue);
    background: rgba(100, 255, 218, 0.05);
    backdrop-filter: blur(5px);
    z-index: 3;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
}

/* Cyber-style shapes */
.transition-element:nth-child(1) .transition-face {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.transition-element:nth-child(2) .transition-face {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.transition-element:nth-child(3) .transition-face {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Position faces in 3D space */
.transition-element:nth-child(1) .transition-face:nth-child(1) { transform: rotateY(0deg) translateZ(100px); }
.transition-element:nth-child(1) .transition-face:nth-child(2) { transform: rotateY(60deg) translateZ(100px); }
.transition-element:nth-child(1) .transition-face:nth-child(3) { transform: rotateY(120deg) translateZ(100px); }
.transition-element:nth-child(1) .transition-face:nth-child(4) { transform: rotateY(180deg) translateZ(100px); }
.transition-element:nth-child(1) .transition-face:nth-child(5) { transform: rotateY(240deg) translateZ(100px); }
.transition-element:nth-child(1) .transition-face:nth-child(6) { transform: rotateY(300deg) translateZ(100px); }

.transition-element:nth-child(2) .transition-face:nth-child(1) { transform: rotateY(0deg) translateZ(80px); }
.transition-element:nth-child(2) .transition-face:nth-child(2) { transform: rotateY(72deg) translateZ(80px); }
.transition-element:nth-child(2) .transition-face:nth-child(3) { transform: rotateY(144deg) translateZ(80px); }
.transition-element:nth-child(2) .transition-face:nth-child(4) { transform: rotateY(216deg) translateZ(80px); }
.transition-element:nth-child(2) .transition-face:nth-child(5) { transform: rotateY(288deg) translateZ(80px); }

.transition-element:nth-child(3) .transition-face:nth-child(1) { transform: rotateY(0deg) translateZ(120px); }
.transition-element:nth-child(3) .transition-face:nth-child(2) { transform: rotateY(60deg) translateZ(120px); }
.transition-element:nth-child(3) .transition-face:nth-child(3) { transform: rotateY(120deg) translateZ(120px); }
.transition-element:nth-child(3) .transition-face:nth-child(4) { transform: rotateY(180deg) translateZ(120px); }
.transition-element:nth-child(3) .transition-face:nth-child(5) { transform: rotateY(240deg) translateZ(120px); }
.transition-element:nth-child(3) .transition-face:nth-child(6) { transform: rotateY(300deg) translateZ(120px); }

@keyframes cyberRotate {
    0% {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
    25% {
        transform: rotateX(90deg) rotateY(45deg) rotateZ(45deg) scale(1.1);
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    }
    50% {
        transform: rotateX(180deg) rotateY(90deg) rotateZ(90deg) scale(1);
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
    75% {
        transform: rotateX(270deg) rotateY(135deg) rotateZ(135deg) scale(1.1);
        box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
    }
    100% {
        transform: rotateX(360deg) rotateY(180deg) rotateZ(180deg) scale(1);
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
}

/* Add cyber glow effect */
.transition-element::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, 
        rgba(100, 255, 218, 0.2) 0%,
        transparent 70%);
    animation: cyberGlow 4s infinite alternate;
    z-index: 4;
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.3);
}

@keyframes cyberGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
        box-shadow: 0 0 20px rgba(100, 255, 218, 0.2);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.2);
        box-shadow: 0 0 40px rgba(100, 255, 218, 0.4);
    }
}

/* Ensure proper stacking context */
.cyber-about,
.cyber-services {
    position: relative;
    z-index: 1;
}

.about-container,
.services-container {
    position: relative;
    z-index: 2;
}

/* Section Transition */
.section-transition {
    position: relative;
    height: 200px;
    overflow: hidden;
    z-index: 1;
}

.transition-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(13, 17, 23, 0) 0%,
        rgba(13, 17, 23, 0.2) 25%,
        rgba(13, 17, 23, 0.4) 50%,
        rgba(13, 17, 23, 0.6) 75%,
        rgba(13, 17, 23, 0.8) 100%
    );
    z-index: 1;
}

/* Ensure proper stacking context */
.cyber-about,
.cyber-services {
    position: relative;
    z-index: 2;
}

.about-container,
.services-container {
    position: relative;
    z-index: 3;
}

/* Floating geometric shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border: 1px solid rgba(100, 255, 218, 0.1);
    animation: floatShape 15s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 15%;
    transform: rotate(30deg);
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 35px;
    height: 35px;
    bottom: 30%;
    left: 20%;
    transform: rotate(60deg);
    animation-delay: -10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Add to existing section transitions */
.section-transition {
    position: relative;
    height: 200px;
    overflow: visible;
}

.cyber-about, .cyber-services, .cyber-contact {
    position: relative;
    overflow: visible;
}

/* 3D Floating geometric shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    perspective: 1000px;
}

.floating-shape {
    position: absolute;
    transform-style: preserve-3d;
    animation: floatShape 15s infinite ease-in-out;
}

/* Cube */
.floating-shape.cube {
    width: 40px;
    height: 40px;
    transform: rotateX(45deg) rotateY(45deg);
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(100, 255, 218, 0.1);
    background: rgba(100, 255, 218, 0.05);
}

.cube-face:nth-child(1) { transform: translateZ(20px); }
.cube-face:nth-child(2) { transform: rotateY(180deg) translateZ(20px); }
.cube-face:nth-child(3) { transform: rotateY(90deg) translateZ(20px); }
.cube-face:nth-child(4) { transform: rotateY(-90deg) translateZ(20px); }
.cube-face:nth-child(5) { transform: rotateX(90deg) translateZ(20px); }
.cube-face:nth-child(6) { transform: rotateX(-90deg) translateZ(20px); }

/* Pyramid */
.floating-shape.pyramid {
    width: 50px;
    height: 50px;
    transform: rotateX(30deg) rotateY(30deg);
}

.pyramid-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(100, 255, 218, 0.1);
    background: rgba(100, 255, 218, 0.05);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

/* Octahedron */
.floating-shape.octahedron {
    width: 45px;
    height: 45px;
    transform: rotateX(45deg) rotateY(45deg);
}

.octahedron-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(100, 255, 218, 0.1);
    background: rgba(100, 255, 218, 0.05);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Position and animate shapes */
.floating-shape:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    top: 40%;
    right: 15%;
    animation-delay: -2s;
}

.floating-shape:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.floating-shape:nth-child(4) {
    top: 60%;
    right: 25%;
    animation-delay: -6s;
}

.floating-shape:nth-child(5) {
    bottom: 40%;
    left: 35%;
    animation-delay: -8s;
}

.floating-shape:nth-child(6) {
    top: 30%;
    right: 40%;
    animation-delay: -10s;
}

.floating-shape:nth-child(7) {
    bottom: 20%;
    left: 45%;
    animation-delay: -12s;
}

.floating-shape:nth-child(8) {
    top: 50%;
    right: 30%;
    animation-delay: -14s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-30px) rotateX(180deg) rotateY(180deg);
    }
}

/* Add to existing section transitions */
.section-transition {
    position: relative;
    height: 300px;
    overflow: visible;
}

.cyber-about, .cyber-services, .cyber-contact {
    position: relative;
    overflow: visible;
}

/* Add more 3D shapes to About Us section */
.about-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    perspective: 1000px;
}

.about-shape {
    position: absolute;
    transform-style: preserve-3d;
    animation: floatShape 15s infinite ease-in-out;
}

.about-shape.cube {
    width: 60px;
    height: 60px;
    transform: rotateX(45deg) rotateY(45deg);
}

.about-shape.pyramid {
    width: 70px;
    height: 70px;
    transform: rotateX(30deg) rotateY(30deg);
}

.about-shape.octahedron {
    width: 80px;
    height: 80px;
    transform: rotateX(45deg) rotateY(45deg);
}

/* Position shapes in About section */
.about-shape:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.about-shape:nth-child(2) {
    top: 40%;
    right: 20%;
    animation-delay: -3s;
}

.about-shape:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-delay: -6s;
}

.about-shape:nth-child(4) {
    top: 60%;
    right: 30%;
    animation-delay: -9s;
}

.about-shape:nth-child(5) {
    bottom: 40%;
    left: 40%;
    animation-delay: -12s;
}

/* Add more 3D shapes to Services section */
.services-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
    perspective: 1000px;
}

.services-shape {
    position: absolute;
    transform-style: preserve-3d;
    animation: floatShape 15s infinite ease-in-out;
}

.services-shape.cube {
    width: 200px;
    height: 200px;
    transform: translateZ(100px);
}

.services-shape.pyramid {
    width: 240px;
    height: 240px;
    transform: translateZ(120px);
}

.services-shape.octahedron {
    width: 280px;
    height: 280px;
    transform: translateZ(140px);
}

.services-shape.icosahedron {
    width: 320px;
    height: 320px;
    transform: translateZ(160px);
}

.services-shape.dodecahedron {
    width: 360px;
    height: 360px;
    transform: translateZ(180px);
}

.services-shape:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.services-shape:nth-child(2) { left: 30%; top: 40%; animation-delay: 2s; }
.services-shape:nth-child(3) { left: 50%; top: 20%; animation-delay: 4s; }
.services-shape:nth-child(4) { left: 70%; top: 40%; animation-delay: 6s; }
.services-shape:nth-child(5) { left: 90%; top: 20%; animation-delay: 8s; }
.services-shape:nth-child(6) { left: 20%; top: 60%; animation-delay: 10s; }
.services-shape:nth-child(7) { left: 40%; top: 80%; animation-delay: 12s; }
.services-shape:nth-child(8) { left: 60%; top: 60%; animation-delay: 14s; }
.services-shape:nth-child(9) { left: 80%; top: 80%; animation-delay: 16s; }
.services-shape:nth-child(10) { left: 20%; top: 40%; animation-delay: 18s; }

.cube-face, .pyramid-face, .octahedron-face, .icosahedron-face, .dodecahedron-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(29, 78, 216, 0.2);
    border: 3px solid rgba(29, 78, 216, 0.8);
    backdrop-filter: blur(2px);
    box-shadow: 0 0 30px rgba(29, 78, 216, 0.4);
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    25% {
        transform: translateY(-40px) rotateX(15deg) rotateY(15deg);
    }
    50% {
        transform: translateY(0) rotateX(0) rotateY(30deg);
    }
    75% {
        transform: translateY(40px) rotateX(-15deg) rotateY(15deg);
    }
}

.cyber-services {
    position: relative;
    overflow: visible;
    z-index: 2;
    min-height: 100vh;
    padding: 4rem 0;
}

.services-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-3d, .services-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(29, 78, 216, 0.6);
    box-shadow: 0 0 20px rgba(29, 78, 216, 0.3);
    animation: pulseRing 4s infinite ease-out;
    opacity: 0;
    z-index: 2;
}

.pulse-ring:nth-child(1) {
    width: 300px;
    height: 300px;
    left: 20%;
    top: 30%;
    animation-delay: 0s;
}

.pulse-ring:nth-child(2) {
    width: 400px;
    height: 400px;
    right: 25%;
    top: 40%;
    animation-delay: 1s;
}

.pulse-ring:nth-child(3) {
    width: 350px;
    height: 350px;
    left: 35%;
    bottom: 30%;
    animation-delay: 2s;
}

.pulse-ring:nth-child(4) {
    width: 350px;
    height: 350px;
    right: 15%;
    bottom: 25%;
    animation-delay: 3s;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.bottom-shape {
    position: absolute;
    bottom: 50px;
    animation: rotateShape 20s infinite linear;
    z-index: 2;
    opacity: 0.8;
}

.bottom-shape.cube {
    left: 15%;
    width: 200px;
    height: 200px;
    transform: translateZ(100px);
}

.bottom-shape.pyramid {
    left: 45%;
    width: 240px;
    height: 240px;
    transform: translateZ(120px);
}

.bottom-shape.octahedron {
    right: 15%;
    width: 280px;
    height: 280px;
    transform: translateZ(140px);
}

.bottom-shape .cube-face,
.bottom-shape .pyramid-face,
.bottom-shape .octahedron-face {
    border: 2px solid var(--accent-blue);
    background: rgba(100, 255, 218, 0.2);
    opacity: 0.8;
}

@keyframes rotateShape {
    0% {
        transform: translateZ(var(--depth)) rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: translateZ(var(--depth)) rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

.bottom-shape.cube { --depth: 60px; }
.bottom-shape.pyramid { --depth: 70px; }
.bottom-shape.octahedron { --depth: 80px; }

@media (max-width: 600px) {
  body {
    font-size: 0.95rem;
    padding: 0;
  }
  .main-nav, .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1rem;
  }
  .nav-logo {
    margin-bottom: 0.5rem;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .hero-container, .about-container, .services-container, .contact-container, .footer-container {
    padding: 0 0.5rem;
    max-width: 100%;
  }
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .about-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .about-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .about-tagline {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-left: 0;
    text-align: left;
    white-space: normal;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-card {
    padding: 1rem;
    min-width: 0;
  }
  .service-card img {
    width: 60px;
    height: auto;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .services-3d, .about-3d, .contact-3d {
    display: none;
  }
  .contact-form {
    padding: 1rem;
    max-width: 100%;
  }
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0.5rem;
  }
  .footer-section {
    width: 100%;
    margin-bottom: 1rem;
  }
  .footer-bottom {
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .nav-logo {
    margin: 0 auto 0 auto !important;
    display: block !important;
    text-align: center !important;
    float: none !important;
  }
}

@media (max-width: 600px) {
  .cyber-about {
    padding: 4rem 0.5rem 2rem 0.5rem;
  }
  .about-container {
    padding: 0 0.5rem;
    max-width: 100%;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  .about-text {
    padding: 1.2rem;
    font-size: 1rem;
    border-radius: 12px;
    max-width: 100%;
    margin: 0 auto;
  }
  .about-text h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }
  .about-text p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
    padding: 0;
  }
  .stat-item {
    padding: 1.2rem;
    border-radius: 12px;
  }
  .stat-item h3 {
    font-size: 1.2rem;
  }
  .stat-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .about-tagline {
    font-size: 1.7rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: 1.5rem;
    text-align: center;
    left: 0;
    right: 0;
    position: relative;
    display: block;
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .footer-section .email-link {
    justify-content: center;
    text-align: center;
    display: flex;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .services-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .service-card {
    order: 0;
  }
  .service-card.cloud-solutions { order: 1; }
  .service-card.saas-development { order: 2; }
  .service-card.ai-ml { order: 3; }
  .service-card.collaborative { order: 4; }
}

@media (max-width: 600px) {
  .main-nav {
    height: 80px;
    min-height: 80px;
    padding: 0.5rem 0;
  }
  .nav-logo-img {
    height: 36px;
    max-height: 36px;
    width: auto;
  }
}

@media (max-width: 600px) {
  .hero-visual {
    display: flex !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    opacity: 0.10 !important;
    pointer-events: none;
    filter: none !important;
  }
  .visual-element,
  .element-circle,
  .element-line,
  .element-dots,
  .dot {
    animation-duration: 40s !important;
    will-change: transform, opacity;
    filter: none !important;
    opacity: 0.3 !important;
  }
  /* Show only the first dot and first line for best performance */
  .element-dots .dot:nth-child(n+2) {
    display: none !important;
  }
  .element-line:nth-child(n+2) {
    display: none !important;
  }
}

@media (max-width: 600px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw !important;
    position: relative;
  }
}