/* Facilities & Infrastructure - Alternating Image-Text Layout */
/* Primary Color: #26c976 (Green) */
/* Secondary Color: #FFD700 (Yellow) */

.spk-facilities-section {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.spk-facilities-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.facilities-hero {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
}

.hero-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #26c976, #1fb566);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    margin-bottom: 30px;
    box-shadow: 0 15px 50px rgba(38, 201, 118, 0.3);
}

.facilities-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #333333;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Facility Section */
.facility-section {
    margin-bottom: 120px;
}

/* Section Title Wrapper */
.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 60px;
    position: relative;
}

.section-number {
    font-size: 5rem;
    font-weight: 900;
    color: #26c976;
    opacity: 0.15;
    line-height: 1;
}

.section-number.yellow {
    color: #FFD700;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333333;
    margin: 0;
}

.title-line {
    flex: 1;
    height: 4px;
    background: linear-gradient(90deg, #26c976, transparent);
    border-radius: 2px;
}

.title-line.yellow {
    background: linear-gradient(90deg, #FFD700, transparent);
}

/* Facility Row - Alternating Layout */
.facility-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.facility-row.reverse {
    direction: rtl;
}

.facility-row.reverse>* {
    direction: ltr;
}

/* Facility Content */
.facility-content {
    padding: 40px;
}

.content-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #26c976, #1fb566);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(38, 201, 118, 0.3);
    transition: all 0.4s ease;
}

.content-badge.yellow {
    background: linear-gradient(135deg, #FFD700, #FFC700);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.content-badge:hover {
    transform: rotate(10deg) scale(1.1);
}

.facility-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.facility-content>p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    font-size: 16px;
    color: #555555;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-list li i {
    color: #26c976;
    font-size: 18px;
    flex-shrink: 0;
}

/* Facility Image */
.facility-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

.image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(38, 201, 118, 0.7), rgba(31, 181, 102, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-overlay.yellow {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.7), rgba(255, 199, 0, 0.5));
}

.image-wrapper:hover .image-overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .facility-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .facility-row.reverse {
        direction: ltr;
    }

    .facility-content {
        padding: 30px 20px;
    }

    .image-wrapper img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .spk-facilities-section {
        padding: 60px 0;
    }

    .facilities-hero {
        margin-bottom: 70px;
    }

    .hero-badge {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .facilities-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .facility-section {
        margin-bottom: 80px;
    }

    .section-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 40px;
    }

    .section-number {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .title-line {
        width: 100%;
        height: 3px;
    }

    .facility-row {
        margin-bottom: 60px;
    }

    .content-badge {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }

    .facility-content h3 {
        font-size: 1.6rem;
    }

    .facility-content>p {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 15px;
    }

    .image-wrapper img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .facilities-hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .facility-content {
        padding: 20px 10px;
    }

    .content-badge {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .facility-content h3 {
        font-size: 1.4rem;
    }

    .image-wrapper img {
        height: 250px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
}