@charset "UTF-8";

.service-content-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Image Styling with Thick Blue Rounded Border */
.service-img-box {
    flex: 0 0 500px;
    /* Adjust based on image ratio */
}

.service-img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    border: 10px solid #00bfff;
    /* Bright blue thick border */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
}

.service-img {
    width: 100%;
    height: auto;
    border: 10px solid #00bfff;
    border-radius: 20px;
    display: block;
}

.service-text-box {
    flex: 1;
}

.service-text-title {
    font-size: 24px;
    font-weight: 700;
    color: #0099ff;
    /* Blue title */
    margin-bottom: 20px;
    line-height: 1.4;
}

.service-text-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

/* Specific Brown/Red Button for Service Page */
.btn-service {
    display: inline-block;
    padding: 12px 30px;
    background-color: #cc6655;
    /* Reddish brown color from image */
    color: #fff;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    min-width: 250px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-service:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        gap: 30px;
    }

    .service-img-box {
        flex: auto;
        width: 100%;
    }

    .service-img-placeholder {
        height: 200px;
        border-width: 6px;
    }

    .service-img {
        border-width: 6px;
    }

    .service-text-title {
        font-size: 20px;
    }

    .service-text-desc {
        font-size: 15px;
    }


    .btn-service {
        width: 100%;
    }
}


.service-schedule-frame {
    border: 15px solid #ccc;
    background: #fff;
    padding: 60px 40px;
    position: relative;
    /* Similar to online school frame */
}

/* Reusing corner triangles concept or redefining if distinct? 
   Let's define them here specifically for service page to avoid dependency on online_school.css
*/
.corner-triangle {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 10;
}

.corner-triangle.yellow {
    background-color: #ffcc00;
}

.corner-triangle.top-left {
    top: -25px;
    left: -25px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.corner-triangle.bottom-right {
    bottom: -25px;
    right: -25px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.schedule-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.schedule-title.yellow-text {
    color: #ffb000;
}

.schedule-subtitle {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 0.1em;
}

.schedule-subtitle.yellow-text {
    color: #ffcc00;
}

.schedule-columns {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.schedule-col {
    flex: 1;
    max-width: 500px;
}

.col-header {
    background-color: #ccc;
    /* Default */
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    position: relative;
}

.col-header.header-red {
    background-color: #cc6655;
    /* Reddish */
}

.col-header.header-blue {
    background-color: #26acd9;
    /* Blueish */
}

.col-header span {
    font-size: 20px;
    font-weight: 700;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Icon image itself should be handled */
}

.icon-placeholder {
    width: 100%;
    height: auto;
}


/* Timeline List */
.timeline-list {
    position: relative;
    padding-left: 0;
}

/* Central line? 
   The design shows a vertical line running down the items? 
   Wait, design has "Time" left, "Marker" line center, "Content" right.
   Let's maintain the line via the markers or a continuous line.
   Actually, image shows a blue line for blue side, red line for red side going vertically.
*/
.timeline-list {
    border-left: 2px solid #ddd;
    margin-left: 60px;
    /* Space for time */
    padding-left: 30px;
    /* Space between line and content */
}

.timeline-list.list-red {
    border-left-color: #cc6655;
}

.timeline-list.list-blue {
    border-left-color: #00bfff;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item .time {
    position: absolute;
    left: -90px;
    /* Adjust based on margin/padding */
    top: 0;
    width: 50px;
    text-align: right;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    line-height: 1.2;
}

.timeline-item .marker {
    position: absolute;
    left: -38px;
    /* On the line */
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #ccc;
}

.list-red .timeline-item .marker {
    border-color: #cc6655;
    background-color: #cc6655;
    /* Solid dot? Or outline? Image looks solid color dot */
}

.list-blue .timeline-item .marker {
    border-color: #00bfff;
    background-color: #00bfff;
}

.content-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.list-red .content-title {
    color: #cc6655;
}

.list-blue .content-title {
    color: #16b1e5;
}


.content-desc {
    font-size: 17px;
    line-height: 1.5;
    color: #333;
}


/* Mobile Responsive for Schedule */
@media (max-width: 768px) {
    .service-schedule-frame {
        padding: 40px 20px;
        border-width: 10px;
    }

    .corner-triangle.top-left {
        top: -15px;
        left: -15px;
        width: 40px;
        height: 40px;
    }

    .corner-triangle.bottom-right {
        bottom: -15px;
        right: -15px;
        width: 40px;
        height: 40px;
    }

    .schedule-columns {
        flex-direction: column;
        gap: 50px;
    }

    .col-header {
        margin-bottom: 30px;
    }

    .timeline-list {
        margin-left: 50px;
        padding-left: 20px;
    }

    .timeline-item .time {
        font-size: 16px;
    }

    .timeline-item .marker {
        left: -29px;
        width: 14px;
        height: 14px;
    }

    .schedule-title {
        font-size: 24px;
    }

    .schedule-subtitle {
        font-size: 16px;
    }
}


/* Blue Theme Overrides */
.corner-triangle.blue {
    background-color: #00bfff;
}

.schedule-title.blue-text {
    color: #00bfff;
}

.schedule-subtitle.blue-text {
    color: #00bfff;
    margin-bottom: 10px;
    /* Reduced margin for decorative line text below */
}

.event-desc-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.event-main-desc {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Colorful Pattern Decoration */
/* Colorful Pattern Decoration */
.deco-line {
    display: none;
}

.deco-pattern {
    display: flex;
    gap: 5px;
}

.deco-pattern span {
    display: block;
    width: 12px;
    height: 12px;
}

/* Define colors for the pattern squares */
.pattern-yellow {
    background-color: #ffcc00;
}

.pattern-blue {
    background-color: #00bfff;
}

.pattern-pink {
    background-color: #ff6699;
}

.event-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.event-item {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.event-img-box {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.event-img-placeholder.circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-width: 8px;
    border-style: solid;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.event-img-placeholder.circle.blue-border {
    border-color: #00bfff;
}

/* Just use a generic class or inline style from HTML? HTML used .circle only */
.event-img-placeholder.circle {
    border: 8px solid #00bfff;
    /* Default to blue based on design */
}

.event-img.circle {
    width: 250px;
    border-radius: 50%;
    border: 8px solid #00bfff;
    object-fit: cover;
}

.event-img.circle.orange-border {
    border-color: #ff9933;
}

.event-img.circle.pink-border {
    border-color: #ff99cc;
}

.event-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.event-title.blue-text {
    color: #00bfff;
}

.event-desc {
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
    width: 100%;
}


/* Mobile Responsive for Event Section */
@media (max-width: 768px) {
    .event-grid {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .event-img-placeholder.circle {
        width: 200px;
        height: 200px;
    }

    .event-img.circle {
        width: 200px;
    }

    .event-main-desc {
        font-size: 15px;
    }

    .deco-line {
        width: 40px;
    }

    .deco-pattern {
        display: none;
    }
}


/* Green Theme Overrides */
.corner-triangle.green {
    background-color: #66cc33;
}

.schedule-title.green-text {
    color: #66cc33;
}

.schedule-subtitle.green-text {
    color: #66cc33;
    margin-bottom: 10px;
}

/* Transfer Grid */
.transfer-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.transfer-img-box {
    flex: 1;
    max-width: 500px;
}

.transfer-img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    /* Grey placeholder as per request/image */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #999;
}

.transfer-note {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.transfer-img {
    width: 100%;
    height: auto;
    display: block;
}


/* Mobile Responsive for Transfer Section */
@media (max-width: 768px) {
    .transfer-grid {
        flex-direction: column;
        gap: 20px;
    }

    .transfer-img-placeholder {
        height: 200px;
    }
}


/* Orange Theme Overrides */
.corner-triangle.orange {
    background-color: #ff9933;
    /* Typical orange from palette */
}

.schedule-title.orange-text {
    color: #ff9933;
}

.schedule-subtitle.orange-text {
    color: #ff9933;
    margin-bottom: 50px;
    /* More space since no deco line row */
}

/* Event Grid Column Modifiers */
.event-grid.col-4 {
    gap: 20px;
}

.event-grid.col-4 .event-item {
    max-width: 200px;
    /* Smaller items for 4 col */
}

.event-grid.col-4 .event-img-placeholder.circle {
    width: 180px;
    height: 180px;
}

.event-title.text-md {
    font-size: 18px;
    /* Slightly smaller title */
}

.event-title.orange-text {
    color: #ff9933;
}

.event-img-placeholder.circle.orange-border {
    border-color: #ff9933;
}

/* Safety Management Section */
.service-safety-section {
    padding-bottom: 100px;
}

/* Pink Theme Overrides */
.corner-triangle.pink {
    background-color: #ff99cc;
    /* Pink from palette */
}

.schedule-title.pink-text {
    color: #ff99cc;
}

.schedule-subtitle.pink-text {
    color: #ff99cc;
    margin-bottom: 10px;
}

.event-title.pink-text {
    color: #ff99cc;
}

.event-img-placeholder.circle.pink-border {
    border-color: #ff99cc;
}

.event-desc.text-center {
    text-align: center;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .event-grid.col-4 {
        flex-direction: row;
        /* Override column direction */
        flex-wrap: wrap;
        /* Allow wrapping */
        gap: 30px;
        justify-content: center;
    }

    .event-grid.col-4 .event-item {
        flex: 0 0 45%;
        /* 2 cols on mobile */
        max-width: 45%;
    }

    .event-grid.col-4 .event-img-placeholder.circle {
        width: 100%;
        height: auto;
        border-width: 6px;
    }

    .event-title.text-md {
        font-size: 16px;
    }
}