.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    max-height: 850px;
    overflow: hidden;
}

body:not(.home) .hero-section {
    height: 60vh;
    min-height: 400px;
    max-height: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hero-slider-bg {
    overflow: hidden;
}

.hero-slide-item {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    /* position & transition controlled entirely by JS */
}

/* Removed .hero-slide-item.active and .hero-slide-item.prev left rules */
/* JS controls all slide positioning via inline styles */

/* Removed old opacity slider styles */



.hero-section .hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 5;
}

body:not(.home) .hero-section .hero-text-overlay {
    top: 50%;
}

.hero-section .hero-text-content {
    max-width: 550px;
}

.hero-section .hero-title {
    color: #095540;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.hero-bottom-actions {
    position: absolute;
    z-index: 5;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
    height: 95px;
    border: 2px solid #ffffff;
    border-radius: 45px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.action-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    gap: 12px;
}

.action-btn:not(.active) {
    background-color: transparent;
}

.action-btn:not(.active):hover {
    background-color: #CFE38B;
}

.action-btn.active {
    background-color: #CFE38B;
}

.action-btn.active:hover {
    background-color: #bad36c;
}

.action-text {
    color: #095540;
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-primary);
}

.action-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.action-center .action-icon {
    transform: scale(1.3);
}

@media screen and (max-width: 1024px) {
    .hero-bottom-actions {
        width: 95%;
        height: 80px;
        bottom: 30px;
        border-radius: 40px;
    }

    .action-text {
        font-size: 18px;
    }

    .action-icon {
        height: 22px;
    }

    .hero-section .hero-title {
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
        max-height: 450px;
    }

    .hero-section.department-hero {
        height: 65vh;
        min-height: 450px;
        max-height: 600px;
    }

    .hero-bottom-actions {
        position: absolute;
        transform: translateX(-50%);
        left: 50%;
        bottom: 15px;
        width: 95%;
        max-width: none;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        height: auto;
        border: none;
        border-radius: 0;
        background-color: transparent;
        backdrop-filter: none;
        box-shadow: none;
        overflow: visible;
    }

    .action-btn {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        height: 50px;
        background-color: rgba(255, 255, 255, 0.95) !important;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 2px solid #ffffff;
        gap: 8px;
        padding: 0 10px;
    }

    .action-btn.active {
        background-color: #CFE38B !important;
    }

    .action-center {
        grid-column: 1 / -1;
        order: -1;
    }

    .action-text {
        font-size: 13px;
        line-height: 1.2;
        text-align: center;
    }

    .action-icon {
        height: 20px;
    }

    .hero-section .hero-text-overlay {
        top: 40%;
    }

    .hero-section .hero-text-content {
        max-width: 100%;
        text-align: center;
        transform: none;
    }

    .hero-section .hero-title {
        font-size: 28px;
    }
}

.packages-section {
    padding: 45px 0;
    background-color: #ffffff;
}

.container {
    width: 100%;
    margin: 0 auto;
}

@media screen and (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    color: #095540;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 0.8px;
    margin-bottom: 15px;
}

.section-desc {
    color: #333;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

.packages-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.packages-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 20px 10px;
    margin: -20px -10px;
    -ms-overflow-style: none;
}

.packages-grid::-webkit-scrollbar {
    display: none;
}

.package-card {
    flex: 0 0 calc(25% - 22.5px);
    background-color: #f7f9f7;
    border-radius: 20px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.package-img img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
}

.package-line {
    height: 3px;
    background-color: #CFE38B;
    width: 100%;
}

.package-content {
    padding: 18px 0 20px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-content h3,
.package-content h4 {
    color: #095540;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 38px;
    padding-left: 30px;
    padding-right: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 5px;
    flex-grow: 1;
    padding-left: 30px;
    padding-right: 41px;
}

.package-arrow {
    align-self: center;
    margin-top: 15px;
    padding-left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.package-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    background-color: #095540;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 0 10px;
    border-radius: 35px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.package-book-btn:hover {
    background-color: #CFE38B;
    color: #095540;
}

.dept-arrow:hover .arrow-icon {
    transform: translateX(6px);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    color: #095540;
    font-size: 26px;
    z-index: 999 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    transition: all 0.3s ease;
}


.prev-btn {
    left: -32px;
}

.next-btn {
    right: -32px;
}

.packages-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 50px;
    border-radius: 35px;
    font-weight: 600 !important;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    padding: 0 32px;
    white-space: nowrap;
}

.btn-primary {
    background-color: #095540;
    color: #CFE38B;
}

.btn-primary:hover {
    background-color: #0c6e52;
}

.btn-secondary {
    background-color: #CFE38B;
    color: #095540;
}

.btn-secondary:hover {
    background-color: #bad36c;
}

@media screen and (max-width: 1024px) {
    .packages-grid {
        flex-wrap: nowrap;
    }

    .package-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .packages-grid {
        gap: 15px;
        margin-bottom: 25px;
    }

    .package-card {
        flex: 0 0 100%;
        margin-bottom: 0;
    }

    .slider-btn {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .slider-btn img {
        height: 16px;
        width: auto;
    }

    .prev-btn {
        left: -5px;
    }

    .next-btn {
        right: -5px;
    }

    .packages-actions {
        flex-direction: column;
        align-items: center;
        margin-top: 20px !important;
        gap: 12px;
    }

    .btn {
        width: 200px;
        max-width: 100%;
        text-align: center;
        height: 50px;
        font-size: 20px;
    }
}

.team-section {
    padding: 45px 0;
    background-color: #f4f5f4;
}

.team-slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.team-grid {
    display: flex;
    gap: 22px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 25px 10px;
    margin: -25px -10px;
}

.team-grid::-webkit-scrollbar {
    display: none;
}

.team-section .section-desc {
    max-width: 1200px;
}

.team-card {
    flex: 0 0 calc(25% - 22.5px);
    position: relative;
    border-radius: 20px;
    background-color: #e6eaea;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.team-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.team-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-info h4 {
    color: #095540;
    font-size: 16px !important;
    font-weight: 800;
    margin-bottom: 5px;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-info p {
    color: #8b9993;
    font-size: 15px !important;
    font-weight: 400;
    margin: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 1024px) {
    .team-grid {
        flex-wrap: nowrap;
    }

    .team-card {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .team-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .team-card {
        flex: 0 0 calc(85% - 15px);
        margin-bottom: 0;
    }

    .team-img {
        height: 420px;
    }

    .team-info {
        padding: 15px;
        height: 130px;
    }

    .team-info h4 {
        font-size: 16px !important;
    }

    .team-info p {
        font-size: 15px !important;
    }
}

.departments-section {
    padding: 45px 0;
    background-color: #ffffff;
}

.departments-section .section-desc {
    max-width: 1200px;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 25px 10px;
    margin: -25px -10px;
}

.dept-card {
    background-color: #f7f9f7;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 85, 64, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateY(105%);
    transition: transform 0.4s ease;
    z-index: 1;
}

.dept-card:hover::before {
    transform: translateY(0);
}

.dept-img {
    position: relative;
    z-index: 0;
}

.dept-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.dept-card:hover .dept-img img {
    transform: scale(1.1);
}

.dept-line {
    height: 4px;
    background-color: #CFE38B;
    width: 100%;
}

.dept-content {
    padding: 22px 0 20px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}



.dept-content h3,
.dept-content h4 {
    color: #095540;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.4s ease, transform 0.4s ease;
    padding-left: 30px;
    padding-right: 50px;
}

.dept-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 5px;
    flex-grow: 1;
    transition: color 0.4s ease, transform 0.4s ease;
    padding-left: 30px;
    padding-right: 41px;
}

.dept-card:hover .dept-content h3,
.dept-card:hover .dept-content h4,
.dept-card:hover .dept-content p {
    color: #ffffff;
    transform: translateY(-10px);
}

.dept-arrow {
    text-decoration: none;
    align-self: flex-start;
    margin-top: 0;
    padding-left: 33px;
}

.dept-card:hover .dept-arrow .arrow-icon {
    transform: rotate(90deg);
    filter: brightness(0) invert(1);
}

@media screen and (max-width: 1024px) {
    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr;
    }
}

.stats-section {
    padding: 45px 0;
    background-color: #f2f4f2;
}

.stats-section .container {
    max-width: 1250px;
    padding: 0 32px;
    margin: 0 auto;
}

.stats-grid {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    flex: 1;
    padding: 0 40px;
    border-left: 1px solid #d2dcd8;
    display: grid;
    grid-template-rows: 90px auto;
}

.stat-item:first-child {
    border-left: none;
    padding-left: 0;
}

.stat-item:last-child {
    padding-right: 0;
}

.stat-number {
    color: #095540;
    font-size: 70px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
    align-self: end;
    font-variant-numeric: lining-nums;
}

.stat-desc {
    color: #728c82;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
    max-width: 280px;
    margin-top: 5px;
}

@media screen and (max-width: 1024px) {
    .stats-grid {
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 0 0 50%;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .stat-item:first-child,
    .stat-item:nth-child(3) {
        padding-left: 0;
        border-left: none;
    }

    .stat-item:nth-child(2),
    .stat-item:nth-child(4) {
        padding-right: 0;
    }

    .stat-item:nth-child(4) {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 768px) {
    .stats-grid {
        flex-direction: column;
    }

    .stat-item {
        flex: 1;
        padding: 0;
        border-left: none;
        border-bottom: 1px solid #d2dcd8;
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .stat-item:nth-child(2),
    .stat-item:nth-child(4),
    .stat-item:nth-child(3) {
        padding-right: 0;
        padding-left: 0;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .stat-desc {
        max-width: 100%;
    }
}

.why-choose-section {
    padding: 45px 0;
    background-color: #ffffff;
}

.why-choose-content {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 60px;
}

.why-image {
    flex: 0 0 45%;
    text-align: center;
}

.why-image img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    margin-top: 50px;
}

.why-features {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 30px;
}

.feature-item h4 {
    color: #095540;
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-item p {
    color: #82928b;
    font-size: 16px;
    line-height: 1.6;
}

@media screen and (max-width: 1024px) {
    .why-choose-content {
        flex-direction: column;
        gap: 60px;
    }

    .why-image {
        flex: 1;
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .why-features {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

.knowledge-section,
.news-section {
    padding: 45px 0;
    background-color: #f2f4f2;
}



.knowledge-slider-wrapper {
    position: relative;
    padding: 0 10px;
    margin-top: 30px;
}

.knowledge-grid {
    display: flex;
    gap: 45px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 25px 10px;
    margin: -25px -10px;
}

.knowledge-grid::-webkit-scrollbar {
    display: none;
}

.knowledge-card {
    flex: 0 0 calc(33.333% - 30px);
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}


.knowledge-img {
    overflow: hidden;
    height: 250px;
    border-bottom: 5px solid #CFE38B;
}

.knowledge-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.knowledge-card:hover .knowledge-img img {
    transform: scale(1.05);
}

.knowledge-title {
    padding: 18px 50px 10px 30px;
    color: #095540;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0;
}

.knowledge-desc {
    font-size: 14px;
    color: #7b7b7b;
    line-height: 1.6;
    padding: 0 41px 4px 30px;
    margin-bottom: 0;
    flex-grow: 1;
}

.knowledge-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding: 0 18px 20px 33px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #8c8c8c;
}

.news-date i {
    font-size: 16px;
    color: #a8a8a8;
}

.knowledge-arrow {
    text-decoration: none;
    align-self: flex-start;
    display: flex;
    align-items: center;
}

.knowledge-arrow::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 10;
}

.knowledge-arrow img.arrow-icon {
    transition: transform 0.3s ease;
}

.knowledge-card:hover .knowledge-arrow img.arrow-icon {
    transform: translateX(8px);
}

.knowledge-slider-wrapper .slider-btn {
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.knowledge-slider-wrapper .prev-btn {
    left: -30px;
}

.knowledge-slider-wrapper .next-btn {
    right: -30px;
}

/* Filters */
.section-filters {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 0px;
    align-items: center;
    justify-content: flex-start;
    padding: 5px 10px;

    /* Allow horizontal scroll on mobile */
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar for a cleaner look */
    scrollbar-width: none;
    /* Firefox */
    position: relative;
}

.section-filters::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.filter-slider-bg {
    position: absolute;
    top: 5px;
    left: 0;
    height: calc(100% - 10px);
    background-color: #CFE38B;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    pointer-events: none;
}

.knowledge-section .section-header,
.news-section .section-header {
    margin-bottom: 0px;
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 8px 35px;
    font-size: 15px;
    font-weight: 600;
    color: #8c8c8c;
    border-radius: 30px;
    cursor: pointer;
    transition: color 0.3s ease, font-weight 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.filter-btn:hover {
    color: #095540;
}

.filter-btn.active {
    color: #095540;
}

@media screen and (max-width: 1024px) {
    .knowledge-grid {
        gap: 30px;
    }

    .knowledge-card {
        flex: 0 0 calc(50% - 15px);
    }

    .knowledge-slider-wrapper {
        padding: 0 40px;
    }

    .knowledge-slider-wrapper .prev-btn {
        left: -10px;
    }

    .knowledge-slider-wrapper .next-btn {
        right: -10px;
    }
}


/* Extracted from department.css */
.department-hero .hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 1;
}

.department-hero .hero-text-content {
    max-width: 550px;
    transform: translateY(-80px);
}

.department-hero .hero-title {
    color: #095540;
    font-size: 54px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 25px;
}

.department-hero .hero-desc {
    color: #444;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px;
    font-weight: 500;
}

.department-hero .hero-btn {
    display: inline-block;
    background-color: #095540;
    color: #fff;
    padding: 14px 34px;
    border-radius: 99px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: background .3s ease;
}

.department-hero .hero-btn:hover {
    background-color: #0c7356;
}

@media screen and (max-width: 768px) {
    .department-hero .hero-bg img {
        min-height: 450px;
        object-fit: cover;
    }

    .department-hero .hero-text-content {
        max-width: 100%;
        text-align: center;
        transform: none;
        padding: 0 15px;
    }

    .department-hero .hero-title {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .department-hero .hero-desc {
        font-size: 14px;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .department-hero .hero-desc br {
        display: none;
    }
}

.department-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.department-overview {
    padding: 80px 0;
}

.department-overview__layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 54px;
    align-items: start;
}

.department-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.department-menu a {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 2px;
    background: #f8f8f4;
    color: #35544d;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .3s ease;
}

.department-menu a:hover {
    background: #CFE38B;
    color: #0b5b49;
}

.department-menu a.is-active {
    background: #CFE38B;
    color: #0b5b49;
}

.department-content {
    width: 100%;
}

.department-content h2 {
    margin: 0 0 18px;
    color: #0b5b49;
    font-size: 25px;
    line-height: 1.3;
}

.department-content h3,
.department-content h4 {
    margin: 34px 0 18px;
    color: #0b5b49;
    font-size: 22px;
    line-height: 1.3;
}

.department-content p {
    margin: 0 0 16px;
    color: #5f6d69;
    font-size: 16px;
    line-height: 1.75;
}

.department-functions,
.department-desc {
    margin: 0 0 16px;
    color: #82928B;
    font-size: 16px;
    line-height: 1.75;
}

.department-functions *,
.department-desc * {
    color: #82928B !important;
}

.department-functions,
.department-functions * {
    font-size: 16px !important;
}

.department-content__image {
    width: 100%;
    aspect-ratio: 1.72 / 1;
    margin: 0 0 24px;
    object-fit: cover;
    background: linear-gradient(135deg, #e0e0e0 0%, #d4d4d4 52%, #e8e8e8 100%);
    border-radius: 10px;
}

.department-process {
    display: flex;
    gap: 40px;
    width: 100%;
    margin-top: 20px;
}

.department-process__column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.department-process__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.department-process__item span {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    margin-top: 2px;
}

.department-process__item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
    color: #333;
}

@media screen and (max-width: 1024px) {

    .department-overview {
        padding: 40px 0 60px;
    }

    .department-overview__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .department-menu {
        display: none !important;
    }

    .department-content {
        width: 100%;
    }

    .department-content > h3:first-child,
    .department-content > *:first-child {
        margin-top: 0;
    }

}

@media screen and (max-width: 768px) {

    .department-overview {
        padding: 30px 0 50px;
    }

    .department-overview__layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .department-menu {
        display: none !important;
    }

    .department-content {
        width: 100%;
    }

}

@media screen and (max-width: 576px) {

    .department-container {
        width: min(100% - 28px);
    }

    .department-overview {
        padding: 24px 0 40px;
    }

    .department-process {
        flex-direction: column;
        gap: 20px;
    }

    @media screen and (max-width: 768px) {
        .knowledge-grid {
            gap: 15px;
        }

        .knowledge-card {
            flex: 0 0 100%;
        }

        .knowledge-slider-wrapper {
            padding: 0 25px;
        }

        .knowledge-img {
            height: 180px;
        }

        .knowledge-title {
            padding-top: 20px;
            font-size: 18px;
            margin-bottom: 20px;
        }

        .knowledge-slider-wrapper .slider-btn {
            display: flex;
            width: 44px;
            height: 44px;
            top: 200px;
        }

        .knowledge-slider-wrapper .slider-btn img {
            height: 16px;
            width: auto;
        }

        .knowledge-slider-wrapper .prev-btn {
            left: -5px;
        }

        .knowledge-slider-wrapper .next-btn {
            right: -5px;
        }

        .arrow-icon {
            width: 11px;
            height: 21px;
        }


    }
}

/* NEWS CARD STYLES */
/* NEWS PAGE CUSTOM STYLES */

.news-card {
    display: flex;
    flex-direction: column;
    background-color: #f7f9f8;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.news-img {
    width: 100%;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
}

/* Green bottom border for image */
.news-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #CFE38B;
}

.news-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    color: #095540;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.4;
}

.news-desc {
    color: #72827a;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 25px;
    flex-grow: 1;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-arrow img {
    width: 20px;
    /* Adjust size based on your icon */
    height: auto;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #a3b1a8;
    font-size: 13px;
    font-weight: 500;
}

.news-date i {
    font-size: 14px;
}

/* NEWS SECTION STRUCTURE */
.news-slider-wrapper {
    position: relative;
    padding: 0 45px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px;
    padding: 25px 10px;
    margin: -25px -10px;
}

.news-slider-wrapper .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.news-slider-wrapper .slider-btn img {
    width: 24px;
    height: auto;
}

.news-slider-wrapper .prev-btn {
    left: -10px;
}

.news-slider-wrapper .next-btn {
    right: -10px;
}

@media screen and (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-slider-wrapper {
        padding: 0 20px;
    }

    .news-slider-wrapper .slider-btn {
        display: flex;
        width: 44px;
        height: 44px;
        top: 300px;
    }

    .news-slider-wrapper .slider-btn img {
        height: 16px;
        width: auto;
    }

    .news-slider-wrapper .prev-btn {
        left: -5px;
    }

    .news-slider-wrapper .next-btn {
        right: -5px;
    }
}

/* Unified Mobile Padding for all sections */
@media screen and (max-width: 768px) {

    .about-section,
    .services-section,
    .packages-section,
    .specialist-section,
    .why-section,
    .knowledge-section,
    .news-section,
    .contact-section,
    .booking-form,
    .nutrition-form {
        padding: 40px 0 !important;
    }

    /* Tối ưu không gian (padding) cho các box lớn ra */
    .container {
        padding: 0 !important;
    }

    .knowledge-slider-wrapper,
    .news-slider-wrapper,
    .package-slider-wrapper {
        padding: 0px !important;
    }

    /* Đồng nhất font chữ cố định trên mobile tránh quá to */
    .section-title {
        font-size: 26px !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
    }

    .knowledge-section .section-title,
    .news-section .section-title {
        text-align: left !important;
    }

    /* Fix filter buttons and gaps on mobile */
    .section-filters {
        gap: 8px !important;
        padding-left: 0 !important;
        margin-top: 10px !important;
    }

    .filter-btn {
        padding: 6px 20px !important;
        font-size: 14px !important;
    }

    .section-desc {
        font-size: 14px !important;
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
    }

    .hero-desc {
        font-size: 15px !important;
        margin-bottom: 20px !important;
    }

    /* Giảm gap giữa các card để tiết kiệm không gian */
    .knowledge-grid,
    .news-grid {
        gap: 15px !important;
    }
}