/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-light: #EBEBEB;
    --text-dark: #2A2A2A;
    --text-light: #555555;
    --accent-green: #007A55;
    --accent-green-hover: #006144;
    --white: #FFFFFF;
    
    --font-sans: 'Nunito', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 20px 40px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.navbar.scrolled {
    background: rgba(235, 235, 235, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark) !important;
}
.nav-link {
    color: var(--text-light) !important;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0 15px;
    transition: 0.3s;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-green) !important;
}
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--accent-green);
    color: var(--white);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: 0.3s;
}
.btn-primary-custom i.icon-circle {
    background: var(--white);
    color: var(--accent-green);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}
.btn-primary-custom:hover {
    background-color: var(--accent-green-hover);
    color: var(--white);
}

.btn-outline-custom {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    background: transparent;
    transition: 0.3s;
}
.btn-outline-custom:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* Hero Section */
.hero-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: 80px; /* navbar offset */
}
.hero-image-col {
    flex: 0 0 45%;
    position: relative;
}
.hero-image-col img {
    width: 100%;
    height: calc(100vh - 80px);
    object-fit: cover;
}
.hero-content-col {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    position: relative;
}

.hero-date {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.hero-date i {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(109, 139, 39, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 2rem;
}

/* Float Card */
@keyframes shake-animation {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-3px) rotate(-2deg); }
    50% { transform: translateY(0) rotate(2deg); }
    75% { transform: translateY(-3px) rotate(-2deg); }
}

.hero-float-card {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 150px;
    display: flex;
    border: 1px solid rgba(255, 255, 255, 0.6);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: default;
    animation: shake-animation 4s infinite ease-in-out;
}
.hero-float-card:hover {
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.hero-float-card .card-grade {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    height: 70px;
}
.hero-float-card .card-grade span {
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
}
.hero-float-card img {
    width: 60%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}
.hero-float-card .location {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.hero-float-card .location i {
    background: var(--accent-green);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* General Sections */
.section-padding {
    padding: 100px 0;
}
.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 600px;
}

/* Clean Cards */
.clean-card {
    background: var(--white);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
    height: auto;
}
.clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.card-img-clean {
    height: 250px;
    object-fit: cover;
}

.profile-img-clean {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

/* Facility Minimal */
.facility-minimal {
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    background: var(--white);
    transition: 0.3s;
    height: 100%;
}
.facility-minimal:hover {
    border-color: var(--accent-green);
}
.facility-minimal i {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 20px;
}
.facility-minimal h4 {
    font-size: 1.25rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

/* Footer Modern */
.modern-footer {
    position: relative;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding-top: 60px;
    padding-bottom: 12vw;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.modern-footer .footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.modern-footer .footer-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    opacity: 0.9;
    filter: blur(8px);
    transform: scale(1.03);
    transform: translateY(125px);
}
.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(235,235,235,1) 0%, rgba(235,235,235,0.7) 40%, rgba(235,235,235,0) 100%);
    z-index: 0;
}
.modern-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(235,235,235,0) 0%, rgba(235,235,235,1) 100%);
    z-index: 0;
    pointer-events: none;
}
.modern-footer .footer-links li {
    margin-bottom: 12px;
}
.modern-footer .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.modern-footer .footer-links a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}
.modern-footer .footer-bottom-text {
    position: absolute;
    bottom: -1vw;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 1;
    pointer-events: none;
}
.modern-footer .footer-bottom-text span {
    font-size: 6vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-serif);
    letter-spacing: -2px;
    line-height: 0.8;
    text-transform: uppercase;
    text-shadow: 0px 5px 20px rgba(0,0,0,0.05);
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-wrapper {
        flex-direction: column;
        padding-top: 60px;
    }
    .hero-image-col {
        flex: 0 0 auto;
        height: 50vh;
    }
    .hero-image-col img {
        height: 100%;
    }
    .hero-content-col {
        flex: 0 0 auto;
        padding: 60px 20px;
    }
    .hero-title {
        font-size: 3rem;
    }
    .hero-float-card {
        position: absolute;
        right: 15px;
        bottom: 15px;
        margin-top: 0;
        z-index: 10;
        width: 110px;
        padding: 10px;
    }
    .hero-float-card .card-grade {
        height: 50px;
        margin-bottom: 5px !important;
    }
    .hero-float-card .card-grade span {
        font-size: .8rem;
    }
    .hero-float-card .location {
        font-size: 0.65rem;
    }
    .hero-float-card .location i {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    .navbar {
        padding: 15px 15px;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 15px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
    .navbar-brand img {
        height: 35px !important;
    }
}

@media (max-width: 575px) {
    .navbar {
        padding: 10px 10px;
    }
    .navbar-brand {
        font-size: .9rem;
        white-space: normal;
        max-width: 75%;
        line-height: 1.2;
    }
    .navbar-brand img {
        height: 30px !important;
    }
}

/* Facility Custom Cards */
/* New Facility Card Styling (Clean Modern Theme) */
.facility-custom-card {
    background-color: #EAF3EF;
    border: 1px solid rgba(0, 122, 85, 0.08);
    border-radius: 26px;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.facility-custom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 122, 85, 0.12);
}
.facility-img-wrap {
    position: relative;
    height: 210px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: #DDEBE5;
}
.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.facility-custom-card:hover .facility-img-wrap img {
    transform: scale(1.06);
}
.facility-floating-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    animation: floatBadge 3.5s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.9);
}
.facility-floating-badge img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}
@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }
    50% {
        transform: translateY(-6px) rotate(4deg);
        box-shadow: 0 12px 22px rgba(0, 122, 85, 0.2);
    }
}
.facility-content {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 22px;
    margin-top: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.facility-content h4 {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-family: var(--font-sans);
}
.facility-content p {
    color: #555555;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0;
}


/* Gallery Item Hover & Modal Styles */
.gallery-item-wrap {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}
.gallery-item-wrap .gallery-img {
    transition: transform 0.4s ease;
}
.gallery-item-wrap:hover .gallery-img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 122, 85, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}
.gallery-item-wrap:hover .gallery-overlay {
    opacity: 1;
}

/* Pagination Custom Styles */
.pagination-custom .page-link {
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.1);
    margin: 0 4px;
    border-radius: 8px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
}
.pagination-custom .page-link:hover {
    background-color: var(--accent-green);
    color: var(--white);
    border-color: var(--accent-green);
}
.pagination-custom .page-item.active .page-link {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--white);
}
.pagination-custom .page-item.disabled .page-link {
    opacity: 0.5;
    background-color: transparent;
}

/* News Link Hover */
.news-title-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}
.news-title-link:hover {
    color: var(--accent-green);
}
.clean-card-clickable {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clean-card-clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

