/* Operation & Maintenance Page Specific Styles */

body {
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.2)), url('../images/operation-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}





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



.hero-title {
    font-size: 3.2rem;
    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: 2rem;
    max-width: var(--max-width);
    margin: auto;
}

.intro-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 4rem;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

.intro-card p {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.7;
}

.objectives-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.objective-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: slideInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.objective-card:nth-child(1) { animation-delay: 0.1s; }
.objective-card:nth-child(2) { animation-delay: 0.2s; }
.objective-card:nth-child(3) { animation-delay: 0.3s; }
.objective-card:nth-child(4) { animation-delay: 0.4s; }

.objective-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, maroon, #8B0000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.objective-icon i {
    color: white;
}

.objective-card h4 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.objective-card p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

.services-section {
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out;
    background: white;
}

.services-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-item {
    background: white;
    border: 1px solid #e5e5e5;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.service-item i {
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.service-item:hover i {
    animation: rotate 1s linear infinite;
    color: maroon !important;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.service-item:hover::before {
    width: 80%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, rgba(27, 58, 87, 0.1), rgba(193, 68, 14, 0.1));
}

.service-item h5 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-item p {
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.benefits-section {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 4rem;
    animation: fadeInUp 1s ease-out;
}

.benefits-section h3 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.benefit-tag {
    background: linear-gradient(135deg, maroon, #8B0000);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.benefit-tag::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.benefit-tag:hover::before {
    animation: shimmer 1s ease-in-out;
    opacity: 1;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.benefit-tag:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 20px rgba(128,0,0,0.4);
    background: linear-gradient(135deg, #8B0000, maroon);
}

@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);
    }
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        background: #1B3A57;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .content-section {
        padding: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem;
    }
    
    .benefit-tag {
        height: 60px !important;
        font-size: 0.8rem !important;
        padding: 1rem !important;
    }
}