:root {
    --primary: #001f3f; /* Navy blue for depth */
    --accent: #ffd700; /* Gold for luxury and energy */
    --text: #ffffff; /* Clean white text */
    --text-dark: #001f3f; /* Dark for contrast */
    --bg-light: #002b5c; /* Deeper blue background */
    --bg-lighter: #003366; /* Slightly lighter blue */
    --glass: rgba(255, 255, 255, 0.15); /* Subtle glass effect */
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    background-color: var(--primary);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, .section-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    text-align: center;
    margin-bottom: 0.5em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover { color: #fff; }

.sticky-header {
    background: linear-gradient(to bottom, rgba(0,31,63,0.95), transparent);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    transition: all 0.3s;
}

.sticky-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 28px;
    color: #fff;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav li { margin: 0 15px; }

nav a {
    position: relative;
    padding: 10px 15px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s;
    transform: translateX(-50%);
}

nav a:hover::after, nav a.active::after { width: 100%; }

nav a:hover, nav a.active {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--accent);
    font-size: 28px;
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
}

.hero-content {
    z-index: 1;
    padding: 50px;
    background: rgba(0,31,63,0.6);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    max-width: 900px;
}

.hero-content h2 { font-size: 4.5em; margin-bottom: 20px; }

.hero-content p { font-size: 1.6em; margin-bottom: 40px; }

.cta-button {
    background: var(--accent);
    border: none;
    padding: 18px 40px;
    color: var(--text-dark);
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--accent);
}

.section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-light);
}

.section:nth-child(even) { background: var(--bg-lighter); }

.fade-in-section { opacity: 0; transition: opacity 1s ease, transform 1s ease; }
.fade-in-section.visible { opacity: 1; transform: translateY(0); }
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.fade-left.visible, .fade-right.visible { transform: translateX(0); }

/* Who We Are */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-block p {
    font-size: 1.2em;
    margin-bottom: 25px;
    line-height: 1.8;
}

.image-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: all 0.4s;
}

/* What We Do */
.parallax-bg {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.accordion-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.accordion-header {
    background: linear-gradient(to right, var(--accent), #ccac00);
    color: var(--text-dark);
    padding: 25px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.6em;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: linear-gradient(to right, #ccac00, var(--accent));
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background: var(--bg-lighter);
    transition: max-height 0.6s ease, padding 0.6s ease;
}

.accordion-content.open {
    max-height: 800px;
    padding: 30px 25px;
}

.accordion-content p {
    font-size: 1.2em;
}

.accordion-content img {
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
}

/* How We Work */
.dynamic-bg {
    position: relative;
    background: url('img/8.jpg') center/cover;
}

#cursor-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--accent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 60px 0;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    background: var(--bg-lighter);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    position: relative;
}

.timeline-content h3 {
    font-size: 1.8em;
    text-align: left;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -30px;
    border-left-color: var(--bg-lighter);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -30px;
    border-right-color: var(--bg-lighter);
}

/* Mission */
.mission-section {
    background: linear-gradient(to bottom, var(--bg-light), var(--bg-lighter));
    text-align: center;
    padding: 140px 0;
}

.mission-highlight {
    font-size: 2.8em;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent);
    margin: 50px auto;
    max-width: 1100px;
    text-shadow: 0 0 20px rgba(255,215,0,0.5);
    animation: glow 4s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(255,215,0,0.5); }
    to { text-shadow: 0 0 40px rgba(255,215,0,0.8); }
}

.mission-text {
    font-size: 1.5em;
    max-width: 900px;
    margin: 60px auto;
    line-height: 2;
    letter-spacing: 1px;
}

.mission-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;
}

.value-item {
    font-size: 1.4em;
    color: var(--text);
    position: relative;
}

.value-item i {
    font-size: 2.5em;
    color: var(--accent);
    display: block;
    margin-bottom: 15px;
}

.value-item span {
    position: relative;
}

.value-item span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s;
}

.value-item:hover span::after {
    width: 100%;
}

/* Who We Serve — Simplified to elegant text list */
.serve-section {
    background: var(--bg-lighter);
    text-align: center;
    padding: 120px 0;
}

.serve-section .intro-text {
    font-size: 1.5em;
    max-width: 800px;
    margin: 30px auto 60px;
    line-height: 1.8;
}

.serve-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    font-size: 1.3em;
    line-height: 2.2;
}

.serve-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    text-align: left;
}

.serve-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5em;
}

.serve-list li strong {
    color: var(--accent);
}

/* Why Choose Us — Simplified to elegant text list */
.why-section {
    background: var(--bg-light);
    text-align: center;
    padding: 120px 0;
}

.why-section .intro-text {
    font-size: 1.5em;
    max-width: 800px;
    margin: 30px auto 60px;
    line-height: 1.8;
}

.why-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
    font-size: 1.3em;
    line-height: 2.2;
}

.why-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
    text-align: left;
}

.why-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5em;
}

.why-list li strong {
    color: var(--accent);
}

/* Contact */
.contact-section {
    background: linear-gradient(135deg, var(--accent), #ccac00);
    color: var(--text-dark);
    padding: 140px 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--text-dark);
    font-size: 3.5em;
}

.contact-intro {
    font-size: 1.5em;
    max-width: 800px;
    margin: 30px auto 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    padding: 50px 30px;
    border-radius: 25px;
    transition: all 0.4s;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-card i {
    font-size: 4em;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.contact-card h3 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-card a {
    font-size: 1.6em;
    color: var(--text-dark);
    font-weight: bold;
}

.contact-card:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.contact-cta {
    background: var(--text-dark);
    color: var(--accent);
}

/* Footer */
footer {
    background: #000c1a;
    padding: 60px 0 30px;
    color: var(--text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    font-size: 2.5em;
    color: var(--accent);
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav a {
    color: var(--text);
    font-size: 1.2em;
    display: block;
    margin: 15px 0;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-contacts {
    list-style: none;
    padding: 0;
}

.footer-contacts a {
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2em;
    margin: 20px 0;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: var(--accent);
}

.footer-contacts i {
    color: var(--accent);
    font-size: 1.4em;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #003366;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.8em;
    cursor: pointer;
    display: none;
    box-shadow: 0 5px 15px rgba(255,215,0,0.4);
    transition: all 0.3s;
}

#back-to-top.visible {
    display: block;
}

/* Hover анимации */
.hover-lift, .section-image { transition: all 0.4s ease; }
.hover-lift:hover, .section-image:hover { transform: translateY(-15px); box-shadow: 0 20px 40px rgba(255,215,0,0.3); }
.hover-rotate { transition: all 0.4s ease; }
.hover-rotate:hover { transform: rotate(5deg) scale(1.05); box-shadow: 0 15px 35px rgba(255,215,0,0.4); }
.hover-glow { transition: all 0.4s ease; }
.hover-glow:hover { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,215,0,0.6); }

/* Адаптив */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 3em; }
    .hero-content p { font-size: 1.3em; }

    .grid-layout { grid-template-columns: 1fr; }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0,31,63,0.98);
        padding: 30px 0;
        backdrop-filter: blur(10px);
    }

    nav ul.active { display: flex; }

    nav li { margin: 15px 0; text-align: center; }

    .menu-toggle { display: block; }

    .timeline::before { left: 30px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 80px; }
    .timeline-item:nth-child(even) { left: 0 !important; }
    .timeline-content::before { left: 16px !important; border-right-color: var(--bg-lighter) !important; border-left-color: transparent !important; }

    .mission-highlight { font-size: 2em; }
    .mission-values { gap: 30px; flex-direction: column; align-items: center; }
    .value-item { font-size: 1.2em; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}