/* Oil Refining Page Specific Styles */

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Refining Hero */
.refining-hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.refining-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 50px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.hero-stat {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 180px;
    transition: all 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    display: inline;
}

.stat-symbol {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 0 5px;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-top: 10px;
}

/* Refining Overview */
.refining-overview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.overview-text h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
}

.overview-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.refining-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.feature h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.3rem;
}

.feature p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.overview-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    height: 400px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.image-overlay i {
    color: var(--accent-color);
}

/* Process Section */
.process-section {
    padding: 100px 0;
}

.process-diagram {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.process-diagram::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    opacity: 0.3;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.step-content {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover .step-content {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.step-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.step-metrics span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.step-metrics i {
    color: var(--accent-color);
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.product-icon i {
    font-size: 2.5rem;
    color: white;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.product-specs span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-specs i {
    color: var(--accent-color);
}

/* Technology Section */
.technology-section {
    padding: 100px 0;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tech-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.tech-image {
    height: 200px;
    overflow: hidden;
}

.tech-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-card:hover .tech-image img {
    transform: scale(1.1);
}

.tech-content {
    padding: 25px;
}

.tech-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.tech-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.spec {
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.spec-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* Quality Section */
.quality-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.quality-text h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2rem;
}

.quality-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.quality-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    grid-column: span 1;
}

.stat-card:nth-child(3) {
    grid-column: span 2;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-symbol {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Environment Section */
.environment-section {
    padding: 100px 0;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.env-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--accent-color);
}

.env-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.env-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.env-icon i {
    font-size: 2.5rem;
    color: white;
}

.env-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.env-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
}

.env-metrics {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.env-metrics span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.env-metrics i {
    color: #4CAF50;
}

/* Capacity Section */
.capacity-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.capacity-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.capacity-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.capacity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.capacity-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.capacity-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

.capacity-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.capacity-unit {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

.capacity-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.capacity-description {
    text-align: center;
    max-width: 800px;
    margin: 60px auto 0;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Refining CTA */
.refining-cta-section {
    position: relative;
    padding: 120px 0;
    color: white;
    overflow: hidden;
}

.refining-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.refining-cta-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 30px;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.benefit span {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-actions h3 {
    color: white;
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.cta-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.cta-buttons-group .btn {
      width: 100%;
    justify-content: center;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}



.cta-buttons-group .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-buttons-group .btn-outline:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-item i {
    font-size: 2rem;
    color: var(--accent-color);
    min-width: 40px;
    text-align: center;
}

.contact-item h5 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .process-diagram,
    .products-grid,
    .technology-grid,
    .capacity-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .refining-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .quality-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-stat {
        width: 100%;
        max-width: 300px;
    }
    
    .process-diagram::before {
        display: none;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .refining-hero h1 {
        font-size: 2.5rem;
    }
    
    .refining-hero p {
        font-size: 1.1rem;
    }
    
    .process-diagram,
    .products-grid,
    .technology-grid,
    .capacity-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-text h2 {
        font-size: 2.2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .quality-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .refining-hero {
        height: 70vh;
    }
    
    .refining-hero h1 {
        font-size: 2rem;
    }
    
    .capacity-value {
        font-size: 2.5rem;
    }
    
    .cta-actions {
        padding: 30px 20px;
    }
    
    .hero-stat {
        min-width: auto;
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .step-content {
        padding: 25px 20px;
    }
}