:root {
    --primary-color: #ff0030;
    --secondary-color: #000;
    --text-color: #fff;
    --accent-color: #ff0030;
    --bg-color: #0a0a0a;
    --card-bg: rgba(20, 20, 20, 0.8);
    --overlay-color: rgba(0, 0, 0, 0.7);
    --transition: all 0.3s ease;
    --glow-shadow: 0 0 10px rgba(255, 0, 48, 0.7), 0 0 20px rgba(255, 0, 48, 0.5), 0 0 30px rgba(255, 0, 48, 0.3);
    --border-color: rgba(255, 0, 48, 0.3);
}

.light-theme {
    --primary-color: #ff0030;
    --secondary-color: #fff;
    --text-color: #333;
    --accent-color: #ff0030;
    --bg-color: #f5f5f5;
    --card-bg: rgba(255, 255, 255, 0.9);
    --overlay-color: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 0, 48, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-color);
}

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

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

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    position: relative;
}

.section-line::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 100%;
    background: var(--text-color);
    left: 0;
    top: 0;
    animation: line-animation 2s infinite;
}

@keyframes line-animation {
    0% {
        left: 0;
        width: 0;
    }
    50% {
        left: 0;
        width: 100%;
    }
    100% {
        left: 100%;
        width: 0;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.5);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 0, 48, 0.8);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.5);
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.custom-cursor::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
}

.custom-cursor.active {
    width: 50px;
    height: 50px;
    border-color: var(--primary-color);
    background: rgba(255, 0, 48, 0.1);
}

.custom-cursor.active::after {
    width: 4px;
    height: 4px;
}

.custom-cursor.magnetic {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-cursor.text-hover {
    width: 100px;
    height: 30px;
    border-radius: 15px;
    mix-blend-mode: normal;
    background: rgba(255, 0, 48, 0.1);
    border: 1px solid var(--primary-color);
}

.custom-cursor.btn-hover {
    width: 80px;
    height: 80px;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 0, 48, 0.1);
    mix-blend-mode: normal;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: logo-pulse 2s infinite;
}

.logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 0, 48, 0.7));
}

.logo-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 0, 48, 0.2);
    filter: blur(10px);
    animation: shadow-pulse 2s infinite;
}

@keyframes logo-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

@keyframes shadow-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.3;
    }
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary-color);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.rotating-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 0, 48, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
    animation: rotate-logo 10s linear infinite;
    border: 2px solid var(--border-color);
}

.rotating-logo::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: rotate(-45deg);
    top: -25%;
    left: -100%;
    animation: shine 3s infinite;
}

.rotating-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 0, 48, 0.7));
}

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

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.rotating-logo span {
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
}

.nav-link {
    margin: 0 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 30px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-container.active .nav-links {
        right: 0;
    }
    
    .nav-link {
        margin: 15px 0;
        font-size: 18px;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background: var(--primary-color);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background: var(--primary-color);
    }
    
    body.menu-open {
        overflow: hidden;
    }
}

.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    padding: 0 20px;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%"><rect width="100%" height="100%" fill="none" stroke="%23ff0030" stroke-width="4" stroke-dasharray="10,10" stroke-dashoffset="0" stroke-linecap="square"/></svg>');
    opacity: 0.1;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    position: relative;
}

.glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    position: relative;
    color: var(--text-color);
    letter-spacing: 10px;
    margin-bottom: -10px;
    animation: glitch 5s infinite;
}

.portal-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 7vw, 5rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    background: linear-gradient(to right, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 48, 0.5);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    color: var(--primary-color);
    z-index: -1;
    animation: glitch-animation 3s infinite;
}

.content {
    transform-origin: center center;
    will-change: transform, opacity;
}

#gallery {
    will-change: transform;
}

.glitch::after {
    color: cyan;
    z-index: -2;
    animation: glitch-animation-2 3s infinite;
}

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

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

.typewriter {
    font-size: 1.4rem;
    margin-bottom: 60px;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    width: 0;
    animation: typing 3s steps(40, end) forwards, blink 1s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-color);
    }
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheel 1.5s infinite;
}

@keyframes wheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

.arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -5px;
    animation: arrows 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrows {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-10px, -10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(10px, 10px);
    }
}

.hero-footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 48, 0.4);
}

.social-icon i {
    font-size: 18px;
}

.hero-character {
    position: absolute;
    height: 100%;
    z-index: 2;
    bottom: 0;
    display: flex;
    align-items: flex-end;
}

.hero-character img {
    height: 90%;
    max-height: 700px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.5));
}

.left-character {
    left: 0;
}

.right-character {
    right: -10%;
}

@media (max-width: 1200px) {
    .hero-character img {
        height: 70%;
    }
    
    .glitch {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .hero-character img {
        height: 60%;
    }
    
    .glitch {
        font-size: 4rem;
    }
    
    .typewriter {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-character {
        display: none;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 20px;
        margin-top: -30px;
    }
    
    .glitch {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .hero-footer {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .glitch {
        font-size: 2.5rem;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }
    
    .typewriter {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .hero-section {
        padding-top: 60px;
        justify-content: flex-start;
        padding-top: 100px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

.about-section {
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.pinimg.com/originals/da/e3/6a/dae36a74337de05e249ce5afcec907c1.gif') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    filter: blur(30px);
    opacity: 0.3;
    z-index: -1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: -30px;
    animation: float 6s ease-in-out infinite reverse;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.highlight {
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
}

.stat-number, .stat {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="%23000000"/><path d="M0 50 L100 50" stroke="%23ff0030" stroke-width="0.5" stroke-dasharray="5,5"/><path d="M50 0 L50 100" stroke="%23ff0030" stroke-width="0.5" stroke-dasharray="5,5"/></svg>');
    opacity: 0.05;
    z-index: 1;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 48, 0.1), transparent);
    z-index: -1;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 0, 48, 0.5);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

.service-icon i {
    font-size: 28px;
}

.service-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 25px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.service-hover {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-hover {
    bottom: 30px;
    opacity: 1;
}

.portfolio-section {
    position: relative;
    padding: 100px 0;
    background: var(--bg-color);
    overflow: hidden;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://wallpapercave.com/wp/wp14583545.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.portfolio-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: var(--transition);
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 80%;
}

.filter-btn.active {
    color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    overflow: hidden;
    border-radius: 8px;
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    z-index: 1;
}

.recruitment-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    margin-top: 30px;
}

.recruitment-info, 
.recruitment-process {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.recruitment-info::before,
.recruitment-process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 204, 255, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
}

.recruitment-info h3,
.recruitment-process h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.requirements-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.step-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0, 204, 255, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.recruitment-cta {
    margin-top: 30px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .recruitment-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fade-in 0.3s ease;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.3);
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.3);
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.lightbox-close:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.lightbox-caption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px;
    text-align: center;
}

.lightbox-caption h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.success-message {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.success-message h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.success-message p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #ff3e3e;
    box-shadow: 0 0 10px rgba(255, 62, 62, 0.3);
}

.portfolio-item .portfolio-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 8px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    z-index: 2;
}

.portfolio-info h3 {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
    filter: brightness(0.7) contrast(1.2);
    object-position: center;
}

.portfolio-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 48, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin: 15px auto 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.portfolio-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.portfolio-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.5);
    animation: pulse-button 1.5s infinite;
}

.portfolio-link:hover::before {
    transform: scale(1.5);
    opacity: 0;
}

@keyframes pulse-button {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 48, 0.8);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 0, 48, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 48, 0);
    }
}

.footer {
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.pinimg.com/originals/65/ff/25/65ff25ffbe3786b2de094f7051bbd873.gif') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.footer-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.footer-logo p {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links-column {
    min-width: 150px;
}

.footer-links-column h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-column ul li a {
    font-size: 0.95rem;
    opacity: 0.7;
    transition: var(--transition);
    display: inline-block;
}

.footer-links-column ul li a:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: rgba(0, 204, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
}

@media screen and (max-width: 768px) {
    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .gallery-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-logo {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-around;
    }
    
    .footer-links-column {
        min-width: 120px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.gallery-tab {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.gallery-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 48, 0.1), transparent);
    z-index: -1;
}

.gallery-tab:hover, 
.gallery-tab.active {
    background: rgba(255, 0, 48, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.5);
    transform: translateY(-3px);
}

.gallery-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-content.active {
    display: block;
    opacity: 1;
    max-height: 800px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-color);
}

.gallery-content::-webkit-scrollbar {
    width: 8px;
}

.gallery-content::-webkit-scrollbar-track {
    background: var(--bg-color);
}

.gallery-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.contact-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://media.licdn.com/dms/image/v2/D4D22AQHyCVxMxBFxJg/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1718973936300?e=2147483647&v=beta&t=0lnfOM4mOQsxwMZ2em8lcCFxSNfG8c8dkd6jcb7lofc') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

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

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 48, 0.1), transparent);
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 0, 48, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.3);
}

.contact-details {
    flex: 1;
}

.contact-details h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-details p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 48, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.5);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 204, 255, 0.1), transparent);
    z-index: -1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 15px;
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
}

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

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    pointer-events: none;
    transition: var(--transition);
    font-size: 1rem;
    opacity: 0.7;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    background: var(--card-bg);
    padding: 0 5px;
    color: var(--primary-color);
    opacity: 1;
}

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

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.submit-btn {
    margin-top: 10px;
    width: 100%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.recruitment-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
    overflow: hidden;
}

.recruitment-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://img.freepik.com/premium-vector/game-ui-screen-abstract-digital-technology-ui-ux-futuristic-hud-fui-virtual-interface_122058-1942.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.recruitment-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.recruitment-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.recruitment-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.recruitment-intro .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.recruitment-note {
    background: rgba(255, 0, 48, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.recruitment-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 48, 0.1), transparent);
    z-index: -1;
}

.recruitment-note p {
    font-size: 1rem;
    font-style: italic;
}

.requirements-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.requirement-tab {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 25px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.requirement-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 48, 0.1), transparent);
    z-index: -1;
}

.requirement-tab:hover, 
.requirement-tab.active {
    background: rgba(255, 0, 48, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 48, 0.5);
    transform: translateY(-3px);
}

.requirements-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.requirements-content.active {
    display: block;
    opacity: 1;
}

.requirements-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.requirements-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 48, 0.1), transparent);
    z-index: -1;
}

.requirements-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 0, 48, 0.3);
    padding-bottom: 10px;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.requirements-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
}

.requirements-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 1.1rem;
    margin-top: 4px;
}

.requirements-list li strong {
    color: var(--primary-color);
    margin-right: 5px;
}

.requirements-list li ul {
    margin-top: 10px;
    margin-left: 25px;
}

.requirements-list li ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.requirements-cta {
    text-align: center;
    margin-top: 40px;
}

.requirements-cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
    .requirements-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .requirement-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

.theme-toggle {
    display: flex;
    align-items: center;
    z-index: 1000;
}

.theme-toggle-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}

.theme-label {
    margin-left: 10px;
    font-size: 14px;
    color: var(--text-color);
    display: none;
}

.theme-switch {
    opacity: 0;
    position: absolute;
}

.theme-switch-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 50px;
    height: 25px;
    background: var(--card-bg);
    border-radius: 100px;
    position: relative;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.theme-switch-label i {
    font-size: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0;
    margin: 0 5px;
    color: var(--primary-color);
}

.theme-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: 0.3s;
    background: var(--primary-color);
    box-shadow: 0 0 5px rgba(255, 0, 48, 0.5);
}

.theme-switch:checked + .theme-switch-label .theme-slider {
    transform: translateX(25px);
}

.theme-switch:checked + .theme-switch-label {
    background: var(--card-bg);
}

@media screen and (max-width: 768px) {
    .theme-toggle-menu-item {
        margin: 15px 0;
        width: 100%;
        justify-content: center;
    }
    
    .theme-label {
        display: inline-block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        z-index: 999;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color);
    }
    
    .nav-container.active .nav-links {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 150;
        margin-left: auto;
        margin-right: 20px;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .logo-wrapper {
        margin-left: 0;
        margin-right: 0;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    padding-top: 56.25%;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 48, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
}

.play-button i {
    color: #fff;
    font-size: 24px;
    transition: var(--transition);
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: var(--transition);
}

.video-info h3 {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 5px;
    font-size: 18px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-item:hover .play-button {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.highlight-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    z-index: 3;
}

.video-thumbnail.playing img,
.video-thumbnail.playing .video-overlay,
.video-thumbnail.playing .play-button {
    display: none;
}

.video-thumbnail.playing .highlight-video {
    display: block;
}

.video-thumbnail.fullscreen .highlight-video {
    object-fit: contain;
    background: #000;
}


.members-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
}

/* .members-parallax {
    background-image: url('../images/shadowed.png');
    opacity: 0.05;
    background-size: 300px;
    background-repeat: repeat;
    animation: parallaxBg 20s linear infinite;
} */

.members-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.members-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://wallpapercave.com/wp/wp7729430.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.members-carousel-container {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
    padding: 20px 0;
    width: 100%;
}

.members-carousel {
    display: flex;
    width: fit-content;
    gap: 30px;
    animation: infiniteScroll 30s linear infinite;
    transition: all 0.5s ease;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 7 - 30px * 7));
    }
}

.members-carousel:hover {
    animation-play-state: paused;
}

.member-card {
    flex: 0 0 280px;
    background: linear-gradient(to bottom, var(--bg-color), #363636);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    transform: translateZ(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .member-card {
        flex: 0 0 240px;
    }
    
    @keyframes infiniteScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-240px * 7 - 30px * 7));
        }
    }
}

@media (max-width: 480px) {
    .member-card {
        flex: 0 0 200px;
    }
    
    @keyframes infiniteScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 7 - 30px * 7));
        }
    }
}

.member-avatar {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.member-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    z-index: 1;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.member-card:hover .member-avatar img {
    transform: scale(1.1);
}

.member-info {
    padding: 20px;
    position: relative;
}

.member-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.member-info p {
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.member-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.member-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    opacity: 0.8;
}

/* Parallax Backgrounds */
/* .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
} */

/* .about-parallax {
    background-image: url('../images/shadowed.png');
    background-size: 200px;
    background-repeat: repeat;
    opacity: 0.03;
    transform: translateZ(-10px) scale(2);
} */

/* .gallery-parallax {
    background: radial-gradient(circle at center, rgba(255, 0, 48, 0.1) 0%, transparent 70%);
    opacity: 0.5;
    transform: translateZ(-5px) scale(1.5);
} */

/* .members-parallax {
    background-image: url('../images/shadowed.png');
    opacity: 0.05;
    background-size: 300px;
    background-repeat: repeat;
    animation: parallaxBg 20s linear infinite;
} */

/* .recruitment-parallax {
    background: linear-gradient(135deg, rgba(255, 0, 48, 0.05) 0%, transparent 70%);
    transform: translateZ(-8px) scale(1.8);
} */

/* .contact-parallax {
    background-image: radial-gradient(circle at 20% 80%, rgba(255, 0, 48, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 0, 48, 0.1) 0%, transparent 50%);
    transform: translateZ(-6px) scale(1.6);
} */

/* Animated Background Pattern */
/* .animated-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 48, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 48, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: 0;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 30px 30px;
    }
}

@keyframes parallaxBg {
    0% { background-position: 0 0; }
    100% { background-position: 100% 100%; }
}
 */

/* Maps Section */
.maps-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f0f);
}

.maps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://thumbs.dreamstime.com/b/pixel-art-sunset-landscape-red-sky-mountains-blossoms-serene-pixel-art-landscape-depicts-fiery-sunset-over-rolling-355933893.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.maps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.map-content {
    margin-top: 50px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.map-content .card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
}

.map-content .card-body {
    padding: 0;
    position: relative;
    height: 500px;
}

#map {
    height: 100%;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

#map iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.region-info {
    position: absolute;
    padding: 15px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    pointer-events: none;
    min-width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(10px);
}

#luzon-info {
    top: 15%;
    left: 35%;
}

#visayas-info {
    top: 40%;
    left: 45%;
}

#mindanao-info {
    top: 60%;
    left: 40%;
}

.region-info.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.info-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.info-content h3 span {
    font-size: 0.9rem;
    color: #fff;
}

.info-content p {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.offshore-info {
    flex: 1;
    min-width: 300px;
    background: rgba(30, 30, 30, 0.6);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: fit-content;
}

.offshore-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.offshore-flags {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.flag-item img {
    width: 40px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.flag-item p {
    margin: 0;
    font-size: 1rem;
}

.flag-item span {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
}

/* Map hover areas */
.map-hover-area {
    position: absolute;
    background: transparent;
    border: 2px solid transparent;
    z-index: 5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-hover-area:hover .region-info {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) translateY(0);
}

#luzon-area {
    top: 15%;
    left: 35%;
    width: 20%;
    height: 25%;
    border-radius: 50% 50% 50% 50%;
}

#visayas-area {
    top: 40%;
    left: 45%;
    width: 20%;
    height: 15%;
    border-radius: 50% 50% 50% 50%;
}

#mindanao-area {
    top: 60%;
    left: 40%;
    width: 20%;
    height: 20%;
    border-radius: 50% 50% 50% 50%;
}

.region-info {
    position: absolute;
    padding: 15px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
    pointer-events: none;
    min-width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(10px);
}

.info-content {
    text-align: center;
}

@media (max-width: 992px) {
    .map-content {
        flex-direction: column;
    }
    
    .offshore-info {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .offshore-flags {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .flag-item {
        width: calc(33.33% - 20px);
        min-width: 200px;
    }
}
