
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.service_item.reveal {
    transition-delay: calc(var(--reveal-index, 0) * 0.06s);
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }
}

.slideshow{
position: relative;
width: 100%;
max-width: 1895px;
height: 60vw;
max-height: 900px;
margin: 0 auto;
overflow: hidden;
border: 4px solid #fff;
border-radius: 8px;
}
.slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide.active{
    opacity: 1;
}
.slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.caption {
      position: absolute;
      top: 25%;
      left: 0;
      width: 50%;
      height: 50%;
      text-align: center;
      color: #fff;
      font-size: 20px;
      background: rgba(0,0,0,0.5);
      padding: 30px;
       display: flex;
       flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .controls {
      position: absolute;
      bottom: 10px;
      width: 100%;
      display: flex;
      justify-content: space-between;
      padding: 0 20px;
    }
    .btn {
      background: rgba(255,255,255,0.7);
      border: none;
      padding: 10px 20px;
      cursor: pointer;
      font-weight: bold;
      border-radius: 4px;
    }
    .btn:hover {
      background: rgba(255,255,255,1);
    }
.caption > img{
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 10px;
}
.caption > h1{
    font-size: 30px;
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    font-size: 38px;
    color: #000000;
    background: #ffffff;
    display: block;
    padding: 10px;
    border-radius: 10px;
}
.caption > p{
    font-size: 18px;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
    font-size: 20px;
    color: #000000;
    background: #ffffff;
    display: block;
    padding: 10px;
    border-radius: 10px;
    text-align: justify;
    line-height: 2.5;
    padding: 20px;
}
@media (max-width: 768px) {
    .slideshow {
        height: 100vw; /* Maintain aspect ratio */
        max-height: none;
        border-width: 2px;
    }
    .caption {
        top: 10%;
        left: 5%;
        width: 90%;
        height: 80%;
        padding: 10px;
    }
    .caption > img {
        width: 60px;
        height: 60px;
        margin-top: 5%;
    }
    .caption > h1 {
        font-size: 22px;
        padding: 8px;
    }
    .caption > p {
        font-size: 14px;
        line-height: 1.6;
        padding: 10px;
    }
    .controls {
        bottom: 6px;
        padding: 0 10px;
    }
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .caption > h1 {
        font-size: 18px;
    }
    .caption > p {
        font-size: 12.5px;
        line-height: 1.5;
        padding: 8px;
    }
    .caption > img {
        width: 48px;
        height: 48px;
    }
    .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.about {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.about h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}
.about h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #ab00e8;
    margin: 12px auto 0;
    border-radius: 2px;
}
.about_set {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about_set > div {
    flex: 1;
}
.about_set img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.about_set p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
    margin-bottom: 20px;
}
.about_set a {
    display: inline-block;
    background-color: #ab00e8;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 5px;
    text-transform: capitalize;
    transition: background-color 0.3s ease;
}
.about_set a:hover {
    background-color: #3e867b;
}

@media (max-width: 768px) {
    .about {
        margin: 40px auto;
    }
    .about h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .about_set {
        flex-direction: column;
        gap: 25px;
    }
    .about_set img {
        max-height: 280px;
    }
    .about_set p {
        font-size: 14.5px;
        line-height: 1.7;
    }
}

.service {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}
.service h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}
.service h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: #ab00e8;
    margin: 12px auto 0;
    border-radius: 2px;
}
.service_set {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.service_item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service_item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.service_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.4s ease;
}
.service_item:hover img {
    transform: scale(1.08);
}
.service_item h3,
.service_item a {
    position: absolute;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, 15px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none;
}
.service_item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.service_item:hover::before {
    opacity: 1;
}
.service_item h3 {
    top: 50%;
    width: 85%;
    transform: translate(-50%, calc(-50% + 15px));
    font-size: 18px;
    color: #fff;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
}
.service_item:hover h3 {
    opacity: 1;
    transform: translate(-50%, -50%);
}
.service_item a {
    bottom: 20px;
    display: inline-block;
    background-color: #ab00e8;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 5px;
    text-transform: capitalize;
    font-size: 14px;
    z-index: 1;
}
.service_item:hover a {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}
.service_item a:hover {
    background-color: #3e867b;
}

@media (max-width: 992px) {
    .service_set {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service {
        margin: 40px auto;
    }
    .service h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .service_set {
        gap: 20px;
    }
    .service_item h3 {
        font-size: 16px;
        min-height: unset;
    }
}

@media (max-width: 480px) {
    .service_set {
        grid-template-columns: 1fr;
    }
}

/* Facilities */
.facilites {
    --f-accent-1: #ab00e8;
    --f-accent-2: #3e867b;
    --f-accent-3: #d6862b;
    --f-accent-4: #2b6fd6;
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 20px;
    position: relative;
}
.facilites h3 {
    text-align: center;
    font-size: 32px;
    letter-spacing: 2px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}
.facilites h3::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--f-accent-1);
    margin: 12px auto 0;
    border-radius: 2px;
}
.facilites::before {
    content: '';
    position: absolute;
    top: 130px;
    bottom: 40px;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #e0d4ea 10%, #e0d4ea 90%, transparent);
    transform: translateX(-50%);
}
.facilites > div {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}
.facilites > div:nth-child(even) {
    flex-direction: row-reverse;
}

.facilites > div > img {
    flex: 0 0 42%;
    width: 42%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.facilites > div:hover > img {
    transform: scale(1.04);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.facilites > div > div {
    flex: 1;
    background: #fff;
    padding: 28px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--f-accent-1);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.facilites > div:nth-child(even) > div {
    border-left: none;
    border-right: 4px solid var(--f-accent-2);
}
.facilites > div:nth-child(3) > div { border-left-color: var(--f-accent-3); }
.facilites > div:nth-child(4) > div { border-right-color: var(--f-accent-4); }
.facilites > div:hover > div {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}
.facilites > div > div > h4 {
    font-size: 21px;
    color: #222;
    margin-bottom: 10px;
}
.facilites > div > div > p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 16px;
}
.facilites > div > div > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--f-accent-1);
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.25s ease, color 0.25s ease;
}
.facilites > div > div > a::after {
    content: '\2192';
    transition: transform 0.25s ease;
}
.facilites > div > div > a:hover {
    gap: 10px;
    color: var(--f-accent-2);
}
.facilites > div:nth-child(2) > div > a { color: var(--f-accent-2); }
.facilites > div:nth-child(2) > div > a:hover { color: var(--f-accent-1); }
.facilites > div:nth-child(3) > div > a { color: var(--f-accent-3); }
.facilites > div:nth-child(4) > div > a { color: var(--f-accent-4); }

@media (max-width: 768px) {
    .facilites {
        margin: 50px auto;
    }
    .facilites h3 {
        font-size: 26px;
        margin-bottom: 35px;
    }
    .facilites::before {
        left: 24px;
    }
    .facilites > div,
    .facilites > div:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding-left: 50px;
        margin-bottom: 36px;
    }
    .facilites > div::before {
        left: 24px;
        top: 24px;
    }
    .facilites > div > img,
    .facilites > div > div {
        width: 100%;
        flex: none;
    }
    .facilites > div > img {
        aspect-ratio: 16 / 9;
    }
    .facilites > div > div,
    .facilites > div:nth-child(even) > div {
        border-left: 4px solid var(--f-accent-1);
        border-right: none;
    }
    .facilites > div:nth-child(2) > div { border-left-color: var(--f-accent-2); }
    .facilites > div:nth-child(3) > div { border-left-color: var(--f-accent-3); }
    .facilites > div:nth-child(4) > div { border-left-color: var(--f-accent-4); }
}