:root {
    --primary: #1B3A57;
    --secondary: #2C5282;
    --accent: #3182CE;
    --brand-accent: #E53E3E;
    --light-bg: #FFFFFF;
    --text: #1A202C;
    --light-text: #4A5568;
    --max-width: 1200px;
    --bright-blue: #4299E1;
    --bright-orange: #FF6B35;
    --success-green: #38A169;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.6;
    position: relative;
    background: white !important;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.2)), url('../images/ant-rozetsky-SLIFI67jv5k-unsplash.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.gear-system {
    position: relative;
    width: 300px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.gear {
    position: absolute;
    color: var(--accent);
    filter: drop-shadow(0 8px 16px rgba(193,68,14,0.4));
}

.gear-1 {
    font-size: 6rem;
    left: 20px;
    top: 30px;
    animation: rotate 6s linear infinite;
}

.gear-2 {
    font-size: 3rem;
    left: 95px;
    top: 45px;
    animation: rotate-reverse 3s linear infinite;
}

.gear-3 {
    font-size: 4rem;
    left: 155px;
    top: 35px;
    animation: rotate 4s linear infinite;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white !important;
    z-index: -2;
}







.hero {
    color: #fff;
    padding: 0;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: auto;
    color: rgba(255,255,255,0.9);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.section {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 2rem;
    background: white;
    min-height: 80vh;
    align-items: start;
    position: relative;
    overflow: hidden;
}



.split-panel {
    position: relative;
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
    text-align: center;
}

.split-panel:nth-child(2) {
    animation-delay: 0.2s;
}

.card-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}





.panel-content {
    position: relative;
    z-index: 2;
}

.split-panel:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}



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

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

.panel-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #800020;
    position: relative;
}

.panel-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-weight: 400;
}



@media (max-width: 768px) {
    body {
        background: #f8f9fa;
    }
    
    body::before {
        display: none;
    }
    
    .hero {
        background: var(--primary);
        color: white;
        padding: 4rem 1rem 2rem;
    }
    
    .hero h2 {
        font-size: 2rem;
        text-shadow: none;
    }
    
    .hero p {
        font-size: 1rem;
        color: rgba(255,255,255,0.9);
    }
    
    .split-container {
        flex-direction: column;
        min-height: auto;
    }
    

    
    .split-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1rem;
    }
    
    .card-image {
        width: 150px;
        height: 150px;
    }
    
    .panel-content h3 {
        font-size: 1.5rem;
        color: var(--primary);
        text-shadow: none;
    }
    
    .panel-content p {
        color: var(--text);
        font-size: 0.9rem;
        opacity: 1;
    }
    

    
    .gear-system {
        width: 200px;
        height: 100px;
        transform: scale(0.8);
    }
    
    .gear-1 {
        font-size: 3.5rem;
        left: 10px;
        top: 18px;
        animation: rotate 6s linear infinite;
    }
    
    .gear-2 {
        font-size: 1.8rem;
        left: 60px;
        top: 28px;
        animation: rotate-reverse 3s linear infinite;
    }
    
    .gear-3 {
        font-size: 2.3rem;
        left: 95px;
        top: 22px;
        animation: rotate 4s linear infinite;
    }
}