/* Page Hero */
.page-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero .hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
}

/* Sidebar Menu */
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.sidebar-line {
    width: 100%;
    height: 2px;
    background-color: #ddd;
    position: relative;
    margin-bottom: 1.5rem;
}

.sidebar-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

.sidebar-menu ul li {
    margin-bottom: 0px;
   
}

.sidebar-menu ul li a {
    display: block;
    padding: 1rem 0;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar-menu ul li a:hover,
.sidebar-menu ul li a.active {
    color: var(--primary-green);
    padding-left: 0.5rem;
    font-weight: 600;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.video-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    padding-left: 4px; /* Optical center for play icon */
}

.video-wrapper .play-btn:hover {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--accent-gold);
}

/* Content Text */
.content-text p {
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-grid {
    width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Dark Green Footer Style */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-card-body {
    background-color: #1a3c34 !important; /* Dark green similar to screenshot */
    color: #fff; /* Ensure text is visible */
}

.gallery-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

.gallery-date {
    font-size: 0.75rem;
    opacity: 0.9;
    color: #eee;
}

/* Video Item */
.video-item .play-icon {
    position: absolute;
    top: 40%; /* Adjusted for image height portion */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #005F35;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding-left: 4px;
    z-index: 2;
}

.video-item:hover .play-icon {
    background-color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    color: #b89d38;
}

/* Gallery Pagination */
.gallery-pagination {
    margin-top: 2rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #005F35;
    color: #fff;
    border-color: #005F35;
}

.pagination-count {
    font-weight: 500;
    color: #666;
}

/* Update Sidebar Active Color */
.sidebar-menu ul li a:hover,
.sidebar-menu ul li a.active {
    color: #005F35;
    font-weight: 700;
}

/* Contact Page Styles */
.contact-info-wrapper {
    padding-right: 2rem;
}

[dir="rtl"] .contact-info-wrapper {
    padding-right: 0;
    padding-left: 2rem;
}

.text-green {
    color: #005F35;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: #005F35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

[dir="rtl"] .icon-box {
    margin-right: 0;
    margin-left: 1.5rem;
}

.contact-details h5 {
    color: #005F35;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-details p, 
.contact-details a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #b89d38;
}

.contact-form-wrapper {
    border-top: 5px solid #005F35;
}

.contact-form-wrapper .form-control {
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
}

.contact-form-wrapper .form-control:focus {
    border-color: #005F35;
    box-shadow: 0 0 0 0.2rem rgba(0, 95, 53, 0.1);
}

.map-section iframe {
    width: 100%;
    height: 450px;
    display: block;
}
