: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;
}

.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: #fff;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
    font-weight: 400;
}

.page-container {
    display: flex;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
    min-height: calc(100vh - 200px);
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem 0;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
}

.sidebar nav a {
    padding: 1rem 2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar nav a:hover {
    background: #f8f9fa;
    border-left-color: var(--accent);
}

.main-content {
    flex: 1;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.intro-section {
    margin-bottom: 4rem;
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.intro-section h3 {
    color: var(--primary);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.intro-section p {
    color: var(--text);
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

.honeycomb-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
    position: relative;
}

.hex-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.hex-row.top {
    margin-bottom: -1rem;
}

.hexagon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    animation: slideInUp 1s ease-out;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2), inset 0 2px 8px rgba(255,255,255,0.3);
    transform-style: preserve-3d;
    border: 1px solid rgba(255,255,255,0.4);
    z-index: 1;
}

.hexagon.expanded {
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    transform: scale(1.15) translateZ(30px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 4px 20px rgba(255,255,255,0.2);
    z-index: 100;
    border: 2px solid rgba(255,255,255,0.6);
}

.hexagon:hover:not(.expanded) {
    background: linear-gradient(135deg, rgba(193,68,14,0.3), rgba(27,58,87,0.3));
    transform: scale(1.05) translateZ(10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3), inset 0 2px 12px rgba(255,255,255,0.4);
    z-index: 10;
}

.hex-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 1rem 0.8rem;
}

.hexagon.expanded .hex-content {
    padding: 2rem 1.5rem;
}

.hex-icon {
    width: 30px;
    height: 30px;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transition: all 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    flex-shrink: 0;
}

.hexagon.expanded .hex-icon {
    width: 50px;
    height: 50px;
    color: white;
    margin-bottom: 1rem;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.3));
}

.hex-title {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0;
    transition: all 0.5s ease;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.hexagon.expanded .hex-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hex-text {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.4;
    transition: all 0.5s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 240px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.hexagon.expanded .hex-text {
    color: rgba(255,255,255,0.95);
    opacity: 1;
    max-height: 200px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.expertise-section {
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

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

.expertise-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.expertise-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: slideInUp 1s ease-out;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.expertise-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.95) !important;
    color: #333 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.4);
}

.expertise-card svg {
    width: 50px;
    height: 50px;
    color: white;
    margin-bottom: 1.5rem;
}

.expertise-card h5 {
    color: rgba(255,255,255,0.95);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.expertise-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    transition: all 0.4s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.expertise-card:hover h5 {
    color: var(--primary) !important;
}

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

.expertise-card:hover svg {
    color: var(--primary) !important;
}

@media (min-width: 769px) {
    .service-card {
        display: none;
    }
    
    .process-section {
        display: none;
    }
}

.mobile-back-btn {
    display: none;
}

@media (max-width: 768px) {
    .page-container {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .sidebar {
        width: 100%;
        position: static;
        padding: 1rem 0;
    }
    
    .sidebar nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
    }
    
    .sidebar nav a {
        padding: 0.75rem 1rem;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 0.9rem;
    }
    
    .sidebar nav a:hover {
        border-left: none;
        border-bottom-color: var(--accent);
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .expertise-card {
        padding: 1.5rem 1rem !important;
    }
    
    .expertise-card svg {
        width: 35px !important;
        height: 35px !important;
    }
    
    .expertise-card h5 {
        font-size: 0.95rem !important;
    }
    
    .expertise-card p {
        font-size: 0.8rem !important;
    }
}

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

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

/* Pipeline Flow Animations */
@keyframes pipeGlow {
    0%, 100% { box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
    50% { box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4); }
}

@keyframes flowParticles {
    0% { left: 10%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 90%; opacity: 0; }
}

@keyframes flowParticlesReverse {
    0% { right: 10%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { right: 90%; opacity: 0; }
}

@keyframes connectorFlow {
    0% { left: 0%; }
    100% { left: 85%; }
}

@keyframes connectorFlowReverse {
    0% { right: 0%; }
    100% { right: 85%; }
}

@keyframes endPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}