: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);
    background: white !important;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

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

.highlight {
    animation: highlight 3s ease-in-out;
    border: 4px solid #c1440e;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(193, 68, 14, 0.15), rgba(27, 58, 87, 0.1));
    transform: scale(1.02);
}

@keyframes highlight {
    0% { 
        box-shadow: 0 0 0 0 rgba(193, 68, 14, 0.8), 0 0 30px rgba(193, 68, 14, 0.6);
        border-color: #c1440e;
    }
    25% { 
        box-shadow: 0 0 0 15px rgba(193, 68, 14, 0.4), 0 0 50px rgba(193, 68, 14, 0.8);
        border-color: #e55a2b;
    }
    50% { 
        box-shadow: 0 0 0 30px rgba(193, 68, 14, 0), 0 0 60px rgba(193, 68, 14, 0.9);
        border-color: #c1440e;
    }
    75% { 
        box-shadow: 0 0 0 15px rgba(193, 68, 14, 0.3), 0 0 40px rgba(193, 68, 14, 0.7);
        border-color: #e55a2b;
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(193, 68, 14, 0), 0 0 20px rgba(193, 68, 14, 0.4);
        border-color: #c1440e;
    }
}

.hero-section {
    padding: 8rem 2rem 3rem;
    max-width: var(--max-width);
    margin: auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.content-section {
    padding: 5rem 2rem;
    max-width: var(--max-width);
    margin: auto;
}

.engineering-types {
    margin-bottom: 6rem;
}

.tab-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    overflow: hidden;
}

.tab-nav {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tab-button {
    flex: 1;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-content {
    padding: 3rem;
    min-height: 400px;
    position: relative;
}

.tab-panel {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    position: absolute;
    top: 3rem;
    left: 3rem;
    right: 3rem;
    pointer-events: none;
}

.tab-panel.active {
    opacity: 1;
    transform: translateY(0);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: auto;
}

.panel-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.panel-title {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.panel-description {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.features-list {
    margin-top: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    color: var(--text);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    border-radius: 12px 0 0 12px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.scope-section {
    margin-bottom: 4rem;
}

.scope-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

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

.scope-card:nth-child(odd) {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.scope-card:nth-child(even) {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
}

.scope-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.scope-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
}

.scope-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    color: #fff;
    transition: all 0.3s ease;
}

.scope-card:hover .scope-icon {
    transform: scale(1.1);
    color: var(--primary) !important;
}

.scope-card h4 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scope-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.scope-card:hover h4 {
    color: var(--primary) !important;
}

.scope-card:hover p {
    color: #333 !important;
}

.detailed-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
}

.detailed-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detailed-section p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.system-tag {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.system-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    body {
        background: #f8f9fa;
    }
    
    body::before {
        display: none;
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--primary);
    }
    
    .scope-title {
        color: var(--primary);
        text-shadow: none;
    }
    
    .tab-container {
        background: white;
        border: 1px solid #e5e5e5;
    }
    
    .tab-nav {
        background: #f8f9fa;
    }
    
    .detailed-section {
        background: white;
        border: 1px solid #e5e5e5;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .scope-grid {
        grid-template-columns: 1fr;
    }
}