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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo img {
    height: 150px;
    width: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00d2ff;
}

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

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-content h1 span {
    color: #00d2ff;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #ccc;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #00d2ff;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #fff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

section {
    padding: 100px 0;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid #333;
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #555;
}

.timeline-item.highlight::before {
    background: #00d2ff;
    box-shadow: 0 0 10px #00d2ff;
}

.timeline-item h3 {
    color: #00d2ff;
    margin-bottom: 10px;
}

.timeline-item p {
    color: #aaa;
}

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

.service-card {
    background: #111;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #00d2ff;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: #aaa;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
}

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

.reference-card {
    background: linear-gradient(145deg, #111111, #0a0a0a);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reference-card:hover {
    transform: translateY(-5px);
    border-color: #00d2ff;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.1);
}

.ref-year {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
}

.reference-card h3 {
    position: relative;
    z-index: 1;
    color: #00d2ff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.ref-role {
    position: relative;
    z-index: 1;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.ref-desc {
    position: relative;
    z-index: 1;
    color: #aaa;
}

.ref-desc strong {
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    background: #111;
    border: 1px solid #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.7) grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1) grayscale(0%);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: brightness(0.8) grayscale(20%);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover img,
.gallery-item:hover video {
    filter: brightness(1) grayscale(0%);
}

.gallery-item video::-webkit-media-controls {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.gallery-item:hover video::-webkit-media-controls {
    opacity: 1;
}



.error-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    background-image: radial-gradient(circle at center, #151515 0%, #050505 100%);
}

.error-code {
    font-size: 10rem;
    font-weight: 900;
    color: #00d2ff;
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 5px;
}

.error-page h2 {
    font-size: 2.5rem;
    margin-top: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.error-page p {
    color: #aaa;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }
    .error-page h2 {
        font-size: 1.8rem;
    }
    .error-page p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

html {
    scroll-behavior: smooth;
}

footer {
    background: #050505;
    padding: 80px 0 40px 0;
    border-top: 1px solid #1a1a1a;
}

footer h2 {
    margin-bottom: 10px;
}

.contact-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    background: #151515;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

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

.btn-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-message {
    max-width: 600px;
    margin: 0 auto 25px auto;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid #00d2ff;
    color: #00d2ff;
}

.form-message.error {
    background: rgba(255, 75, 75, 0.1);
    border: 1px solid #ff4b4b;
    color: #ff4b4b;
}

footer .email {
    font-size: 1.2rem;
    color: #00d2ff;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

footer .copyright {
    color: #555;
    font-size: 0.9rem;
    text-align: center;
}

.form-group {
    position: relative;
}

.char-counter {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
    pointer-events: none;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(4px);
    transition: color 0.3s ease;
}

.form-group-textarea {
    position: relative;
}

.form-group textarea {
    padding-bottom: 40px;
}

.message-counter-badge {
    position: absolute;
    right: 12px;
    bottom: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 5px 8px;
    border-radius: 8px;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.counter-green {
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: #4ade80;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.1);
}

.counter-orange {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15);
}

.counter-red {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25);
}

.btn-submit {
    position: relative;
    transition: background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.btn-submit.loading {
    color: transparent !important;
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: button-loading-spinner 0.6s linear infinite;
}

@keyframes button-loading-spinner {
    to {
        transform: rotate(360deg);
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.preloader-logo {
    height: 120px;
    width: auto;
    animation: preloader-pulse 1.5s ease-in-out infinite alternate;
}

@keyframes preloader-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
        filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.2));
    }
    100% {
        transform: scale(1.05);
        opacity: 1;
        filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.6));
    }
}

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

.preloader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00d2ff;
    box-shadow: 0 0 10px #00d2ff;
    animation: preloader-loading 1.2s infinite linear;
}

@keyframes preloader-loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.maintenance-body {
background-color: #0a0a0a;
background-image: radial-gradient(circle at center, #151515 0%, #050505 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Montserrat', sans-serif;
color: #ffffff;
margin: 0;
}

.maintenance-container {
width: 100%;
max-width: 500px;
padding: 20px;
}

.maintenance-card {
background: linear-gradient(145deg, #111111, #080808);
border: 1px solid #1a1a1a;
border-radius: 12px;
padding: 50px 30px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
text-align: center;
}

.maintenance-logo img {
height: 90px;
width: auto;
margin-bottom: 25px;
filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.2));
}

.maintenance-card h1 {
font-size: 2rem;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 1px;
}

.maintenance-subtitle {
color: #999;
font-size: 1rem;
line-height: 1.6;
margin-bottom: 30px;
}

.maintenance-status {
display: inline-flex;
align-items: center;
gap: 10px;
background: rgba(0, 210, 255, 0.08);
border: 1px solid rgba(0, 210, 255, 0.25);
color: #00d2ff;
padding: 8px 16px;
border-radius: 30px;
font-size: 0.9rem;
font-weight: 700;
margin-bottom: 35px;
}

.pulse-dot {
width: 10px;
height: 10px;
background-color: #00d2ff;
border-radius: 50%;
box-shadow: 0 0 10px #00d2ff;
animation: pulse-animation 1.5s infinite ease-in-out;
}

@keyframes pulse-animation {
0% { transform: scale(0.95); opacity: 0.5; }
50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px #00d2ff; }
100% { transform: scale(0.95); opacity: 0.5; }
}

.maintenance-contact {
border-top: 1px solid #1a1a1a;
padding-top: 25px;
}

.maintenance-contact p {
color: #666;
font-size: 0.85rem;
margin-bottom: 8px;
}

.maintenance-email {
color: #00d2ff;
font-weight: 700;
text-decoration: none;
font-size: 1.1rem;
transition: color 0.3s ease;
}

.maintenance-email:hover {
color: #ffffff;
text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}
