.intro-container {
    padding: 60px 20px 40px;
}

.intro-title {
    color: #01733b;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.intro-subtitle {
    color: #545454;
    font-size: 22px;
    font-style: italic;
    margin: 0 0 40px 0;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin: 0 0 20px 0;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 36px;
    }

    .intro-subtitle {
        font-size: 18px;
    }

    .intro-content p {
        font-size: 16px;
    }
}

/* CSS for section section:Facilities */
.facilities-container {
    padding: 0 20px 80px;
}

.accordion-item {
    margin-bottom: 20px;
}

.accordion-header {
    background-color: #4fb382;
    border-radius: 20px;
    padding: 0 40px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.accordion-item.expanded .accordion-header {
    border-radius: 20px 20px 0 0;
}

.accordion-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.accordion-icon {
    width: 23px;
    height: auto;
}

.accordion-content {
    border: 2px solid #4fb382;
    border-top: none;
    border-radius: 0 0 20px 20px;
    padding: 50px 40px;
    background-color: #ffffff;
}

.content-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
}

.content-text {
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    margin: 0 0 60px 0;
}

/* Diagram Styles */
.diagram-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.diagram-inner {
    position: relative;
    width: 600px;
    height: 600px;
    transform-origin: center top;
}

.diagram-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.diagram-center {
    position: absolute;
    top: 273px;
    left: 286px;
    width: 287px;
    height: 271px;
}

.diagram-text {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    color: #000000;
}

.text-1 {
    left: 266px;
    top: 123px;
    width: 228px;
    height: 96px;
}

.text-2 {
    left: 585px;
    top: 370px;
    width: 231px;
    height: 96px;
}

.text-3 {
    left: 319px;
    top: 631px;
    width: 266px;
    height: 96px;
}

.text-4 {
    left: 15px;
    top: 401px;
    width: 266px;
    height: 104px;
}

.text-sub {
    left: 114px;
    top: 514px;
    width: 125px;
    height: 60px;
    color: #818181;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
}

.text-center {
    left: 316px;
    top: 329px;
    width: 221px;
    height: 144px;
}

/* Equipment Styles */
.equipment-title {
    color: #01733b;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.equipment-grid {
    display: flex;
    gap: 150px;
}

.equipment-col h4 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
}

.equipment-col ul {
    list-style-type: disc;
    padding-left: 24px;
    margin: 0;
}

.equipment-col li {
    font-size: 18px;
    line-height: 2;
    color: #545454;
}

@media (max-width: 1024px) {
    .diagram-inner {
        transform: scale(0.8);
        margin-bottom: -165px;
    }

    .equipment-grid {
        gap: 80px;
    }
}

@media (max-width: 768px) {
    .accordion-header {
        padding: 0 20px;
        height: auto;
        min-height: 80px;
    }

    .accordion-header h2 {
        font-size: 20px;
    }

    .accordion-content {
        padding: 30px 20px;
    }

    .diagram-inner {
        transform: scale(0.6);
        margin-bottom: -331px;
    }

    .equipment-grid {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .diagram-inner {
        transform: scale(0.8);
        margin-bottom: -496px;
    }
}

@media (max-width: 400px) {
    .diagram-inner {
        transform: scale(0.35);
        margin-bottom: -538px;
    }
}

/* Base state for the content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); /* Fast opening */
    opacity: 0;
}

/* Expanded state */
.accordion-item.expanded .accordion-content {
    max-height: 2000px; /* Large enough to fit content */
    opacity: 1;
    transition: max-height 0.8s ease-in-out, opacity 0.5s ease;
}

/* Rotate icon when expanded */
.accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-item.collapsed .accordion-icon {
    transform: rotate(180deg); /* Adjust based on your SVG direction */
}

.accordion-item.collapsed .accordion-content {
    display: none;
}

/* Ensure the expanded state shows the content */
.accordion-item.expanded .accordion-content {
    display: block;
}

/* ==========================================================================
   Mobile & Tablet Responsive Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
    .diagram-inner {
        transform: scale(0.8);
        margin-bottom: -120px; /* Reduced to balance space */
    }

    .equipment-grid {
        gap: 40px; /* Tightened from 80px */
    }
}

@media (max-width: 768px) {
    /* --- 1. Intro Section --- */
    .intro-container {
        padding: 30px 15px 20px; /* Cut top/bottom padding in half */
    }

    .intro-title {
        font-size: 28px; /* Scaled down slightly from 36px */
        margin-bottom: 10px;
    }

    .intro-subtitle {
        font-size: 16px;
        margin-bottom: 20px; /* Cut from 40px */
    }

    .intro-content p {
        font-size: 15px;
        margin-bottom: 15px;
    }

    /* --- 2. Facilities & Accordion --- */
    .facilities-container {
        padding: 0 15px 40px; /* Reduced bottom padding from 80px */
    }

    .accordion-item {
        margin-bottom: 15px;
    }

    .accordion-header {
        padding: 15px 20px; /* Swapped out explicit heights for natural padding */
        height: auto;
        min-height: 70px;
    }

    .accordion-header h2 {
        font-size: 20px;
    }

    .accordion-content {
        padding: 25px 20px; /* Compressed internal spacing from 50px/40px */
    }

    .content-subtitle {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .content-text {
        font-size: 15px;
        margin-bottom: 30px; /* Cut in half from 60px */
    }

    /* --- 3. Diagram & Equipment --- */
    .diagram-wrapper {
        margin-bottom: 20px; /* Tightened gap below diagram container */
    }

    .diagram-inner {
        transform: scale(0.6);
        margin-bottom: -240px; /* Balanced out the scale offset */
    }

    .equipment-title {
        font-size: 22px;
        margin-bottom: 20px; /* Brought closer to its grid list */
    }

    .equipment-grid {
        flex-direction: column;
        gap: 25px; /* Tighter gap between stacked list rows */
    }

    .equipment-col h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .equipment-col li {
        font-size: 15px;
        line-height: 1.8; /* Slightly tighter text line spacing for mobile view */
    }
}

@media (max-width: 576px) {
    .diagram-inner {
        transform: scale(1); /* Bumped up layout fractionally to prevent text compression */
        margin-bottom: -330px;
    }
}

@media (max-width: 400px) {
    .diagram-inner {
        transform: scale(0.65);
        margin-bottom: -390px; /* Reduced negative margin to eliminate huge bottom void */
    }
}
