body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    background-image: url('img/rock rough.png');
    background-blend-mode: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.about-page {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    position: relative;
    background-image: url('img/rock smooth.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.about-page .about-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1000px;
    width: 100%;
}

.about-page .video-container {
    position: relative;
    transform: translateX(0%) translateY(0%);
    width: auto;
    max-width: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.about-page .video-container:hover {
    box-shadow: none;
    border-color: transparent;
    transform: translateX(0%) translateY(0%);
}

.about-video {
    width: 70%;
    height: 70%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin: 0 auto;
}

.about-page .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid rgba(12, 192, 223, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(12, 192, 223, 0.4);
}

.about-page .play-button:hover {
    background: rgba(12, 192, 223, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(12, 192, 223, 0.6);
}

.about-page .play-icon {
    font-size: 18px;
    color: white;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .about-video {
        max-width: 95%;
        max-height: 70%;
    }
}

/* About Carbon Section */
.about-carbon-section {
    padding: 80px 2rem;
    background: linear-gradient(45deg, #0b0b0b 0%, #242424 50%, #0e0d0d 100%);
    color: white;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.carbon-atom-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.carbon-atom {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nucleus {
    width: 20px;
    height: 20px;
    background: #0cc0df;
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 15px #0cc0df, 0 0 30px #0cc0df;
    animation: pulse 2s ease-in-out infinite;
}

.electron-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.orbit-1 {
    width: 60px;
    height: 60px;
    animation: rotate 4s linear infinite;
}

.orbit-2 {
    width: 80px;
    height: 80px;
    animation: rotate 6s linear infinite reverse;
    transform: rotate(60deg);
}

.orbit-3 {
    width: 100px;
    height: 100px;
    animation: rotate 8s linear infinite;
    transform: rotate(120deg);
}

.electron {
    width: 6px;
    height: 6px;
    background: #0cc0df;
    border-radius: 50%;
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 8px #0cc0df;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px #0cc0df, 0 0 30px #0cc0df;
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 20px #0cc0df, 0 0 40px #0cc0df, 0 0 60px #0cc0df;
    }
}

.carbon-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.carbon-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carbon-glow {
    color: #0cc0df;
    text-shadow:
        0 0 5px #0cc0df,
        0 0 10px #0cc0df,
        0 0 15px #0cc0df,
        0 0 20px #0cc0df;
    font-weight: 700;
}

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

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

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(12, 192, 223, 0.2);
    border-color: rgba(12, 192, 223, 0.3);
}

.stat-item h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0cc0df;
}

.stat-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.company-description {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

/* Technologies Section */
.technologies-section {
    padding: 40px 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

.tech-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.tech-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    letter-spacing: 0.1em;
    text-shadow:
        0 0 5px #ffffff,
        0 0 10px #ffffff,
        0 0 15px #ffffff;
}

.floating-tech-container {
    position: relative;
    height: 250px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.floating-tech-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(to right,
        rgba(255, 71, 56, 0.8) 0%,
        rgba(255, 71, 56, 1) 50%,
        rgba(255, 71, 56, 0.8) 100%
    );
    border-radius: 2px;
    filter: drop-shadow(0 0 5px rgba(255, 71, 56, 1))
            drop-shadow(0 0 10px rgba(255, 71, 56, 1))
            drop-shadow(0 0 15px rgba(255, 71, 56, 1))
            drop-shadow(0 0 20px rgba(255, 71, 56, 0.8))
            drop-shadow(0 0 25px rgba(255, 71, 56, 0.6));
    animation: glowPulse 10s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 3px rgba(255, 71, 56, 0.8))
                drop-shadow(0 0 6px rgba(255, 71, 56, 0.6))
                drop-shadow(0 0 10px rgba(255, 71, 56, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(255, 71, 56, 0.9))
                drop-shadow(0 0 12px rgba(255, 71, 56, 0.8))
                drop-shadow(0 0 18px rgba(255, 71, 56, 0.7))
                drop-shadow(0 0 24px rgba(255, 71, 56, 0.6))
                drop-shadow(0 0 30px rgba(255, 71, 56, 0.5));
    }
}

.tech-circle {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    transition: all 0.4s ease;
    cursor: pointer;
    animation: float 6s ease-in-out infinite;
    padding: 12px;
    box-sizing: border-box;
    line-height: 1.2;
    gap: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.tech-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 6px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-icon svg {
    width: 100%;
    height: 100%;
    color: inherit;
}

.tech-circle:hover .tech-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Different animation delays for floating effect */
.tech-circle:nth-child(1) { animation-delay: 0s; }
.tech-circle:nth-child(2) { animation-delay: 1s; }
.tech-circle:nth-child(3) { animation-delay: 2s; }
.tech-circle:nth-child(4) { animation-delay: 3s; }
.tech-circle:nth-child(5) { animation-delay: 4s; }

/* All circles neutral */
.tech-circle[data-category="development"],
.tech-circle[data-category="systems"],
.tech-circle[data-category="applications"],
.tech-circle[data-category="databases"],
.tech-circle[data-category="automation"] {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.tech-circle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-width: 2px;
    animation-play-state: paused;
}

.tech-circle[data-category="development"]:hover,
.tech-circle[data-category="systems"]:hover,
.tech-circle[data-category="applications"]:hover,
.tech-circle[data-category="databases"]:hover,
.tech-circle[data-category="automation"]:hover {
    border-color: rgba(255, 71, 56, 0.8);
    box-shadow: 0 0 10px rgba(255, 71, 56, 0.8),
                0 0 20px rgba(255, 71, 56, 0.6),
                0 0 30px rgba(255, 71, 56, 0.4);
    color: #ff4738;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

/* Footer */
.about-footer {
    background: linear-gradient(45deg, #0b0b0b 0%, #242424 50%, #0e0d0d 100%);
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: 0 !important;
}

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

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

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

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

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

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

.footer-section ul li a:hover {
    color: #0cc0df;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carbon-atom {
        width: 80px;
        height: 80px;
    }

    .nucleus {
        width: 14px;
        height: 14px;
    }

    .orbit-1 {
        width: 40px;
        height: 40px;
    }

    .orbit-2 {
        width: 55px;
        height: 55px;
    }

    .orbit-3 {
        width: 70px;
        height: 70px;
    }

    .electron {
        width: 4px;
        height: 4px;
        top: -2px;
    }

    .tech-content h2 {
        font-size: 1.8rem;
    }

    .carbon-intro p,
    .company-description {
        font-size: 1rem;
    }

    .company-stats {
        grid-template-columns: 1fr;
    }

    .floating-tech-container {
        height: auto;
        min-height: 200px;
    }

    .tech-circle {
        width: 130px;
        height: 130px;
        font-size: 0.65rem;
        gap: 4px;
    }

    .about-video {
        width: 85%;
        height: 85%;
    }

    .tech-icon {
        width: 20px;
        height: 20px;
        margin-bottom: 4px;
    }

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