.social-icons a {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.custom-radius {
    border-radius: 10px !important;
}

.custom-btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 139, 38, 0.3);
}

.custom-btn:hover {
    background-color: #006e1d;
    color: #fff;
    box-shadow: 0 6px 14px rgba(0, 139, 38, 0.4);
}

.accent-left {
    border-left: 5px solid transparent;
    border-image: linear-gradient(to bottom, #28a745, #a8e063);
    border-image-slice: 1;
    padding-left: 20px;
}

.img-hover-zoom {
    transition: transform 0.4s ease;
    overflow: hidden;
    border-radius: 10px;
}

.img-hover-zoom:hover {
    transform: scale(1.03);
}

.section-header {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.bg-overlay {
    background-color: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.contact-form label {
    color: #000 !important;
}

.contact-form .form-control {
    color: #000 !important;
    background-color: #fff !important;
    border: 1px solid #000 !important;
    /* Proper border */
    box-shadow: none !important;
    /* Optional: remove Bootstrap focus shadows */
}

.timeline-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* Stretch content vertically */
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    gap: 1rem;
    height: 100%;
}

.timeline-img {
    width: 150px;
    height: 100%;
    object-fit: cover;
    /* ensures image fills the left side vertically */
    border-radius: 10px;
    flex-shrink: 0;
}

.timeline-item {
    height: 100%;
}

.timeline-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timeline-text h5 {
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.timeline-text p {
    flex-grow: 1;
    margin-bottom: 0.5rem;
}

.timeline-text a {
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    color: #000;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 767px) {
    .timeline-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .timeline-img {
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: contain;
        margin-bottom: 1rem;
    }

    .timeline-text {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .our-team-img {
        height: 250px !important;
        /* Adjust height for smaller screens */
    }
}

.read-more-link {
    position: relative;
    color: #000;
    /* Default color */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more-link:hover,
.read-more-link:focus,
.read-more-link:active {
    color: #008b26 !important;
    /* Your brand green */
    text-decoration: none;
    /* Prevent underline */
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.img-frame {
    border: 4px solid #e0e0e0;
    border-radius: 16px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Make the frame full height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Optional: style officers list with some spacing */
.lh-lg li {
    margin-bottom: 0.5rem;
}

.download-link {
    color: #212529;
    /* default dark */
    text-decoration: none;
    transition: color 0.3s ease;
}

.download-link:hover {
    color: #28a745;
    /* green on hover */
}

.download-link i {
    margin-right: 10px;
    font-size: 1.8rem;
    vertical-align: middle;
}

.list-group-item {
    border: none;
    padding-left: 0;
    padding-right: 0;
}

#dateFieldWorkPermit {
    background-color: transparent !important;
}

.btn:focus,
.btn-check:focus+.btn {
    box-shadow: none !important;
    outline: none !important;
    color: #f9f8f7;
}

#userDropdown::after {
    display: none !important;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.featured-card {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    /* lighter shadow */
    border: none;
    transition: transform 0.2s ease-in-out;
}

.featured-img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.card-title,
.card-text {
    font-size: 0.95rem;
}

.function-room-info {
    white-space: pre-line;
    line-height: 1.2;
}

#pano {
    width: 100%;
    height: 500px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.pano-viewer {
    width: 100%;
    height: 650px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.pano-viewer {
    width: 100%;
    height: 650px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

/* Tablet */
@media (max-width: 768px) {
    .pano-viewer {
        height: 400px;
    }
}

/* Small screens */
@media (max-width: 576px) {
    .pano-viewer {
        height: 300px;
    }
}



.gallery-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.open-gallery-modal:hover .gallery-img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.active-thumb {
    border: 2px solid #e91e63 !important;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.text-justify {
    text-align: justify !important;
}

#submitBtnContactUs:disabled {
    background-color: #0d6efd !important;
    /* same as .btn-primary */
    color: #fff !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-rows: 1fr;
}

/* Center the 4th and 5th cards on desktop */
.service-grid .spacer {
    grid-column: 1 / 2;
}

/* Manually place 4th and 5th */
.service-grid> :nth-child(4) {
    grid-column: 2;
}

.service-grid> :nth-child(5) {
    grid-column: 3;
}

@media (max-width: 992px) {

    /* Revert to normal flow on smaller screens */
    .service-grid> :nth-child(4),
    .service-grid> :nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
        /* 1 column layout for mobile */
    }
}

.card.services {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-body {
    flex-grow: 1;
}

.services-body {
    position: relative;
    z-index: 1;
    padding: 1.5rem;
    height: 220px;
    /* or your preferred height */
    overflow: hidden;
}

.services-body .background-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9rem;
    /* adjust size as needed */
    opacity: 0.07;
    /* faint watermark effect */
    z-index: 0;
    pointer-events: none;
    color: #000;
    /* neutral gray or brand color works too */
}

.services-body p {
    position: relative;
    z-index: 1;
}

.card.services {
    height: 100%;
    /* ensures it stretches within the grid */
    display: flex;
    flex-direction: column;
}

.card-body.services-body {
    height: 220px;
    /* set your desired fixed height */
    overflow: auto;
    /* adds scroll if content overflows */
}