/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Variables */
:root {
    --primary-color: #D4AF37; /* Gold/Amber color */
    --secondary-color: #2e3951; /* Dark blue/black */
    --light-color: #f8f9fc;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
    --gray-color: #858796;
    --body-font: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
}

/* General Styles */
body {
    font-family: var(--body-font);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #fff;
}

html {
    scroll-padding-top: 90px; /* For fixed navbar */
}

:target::before { /* For older browsers */
    content: "";
    display: block;
    height: 90px;
    margin-top: -90px;
    visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--secondary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #c09c20;
    text-decoration: none;
}

/* Utility Classes */
.section-header {
    margin-bottom: 50px;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary, .bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.btn-primary:hover {
    background-color: #c09c20;
    border-color: #c09c20;
}

.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background-color: rgba(46, 57, 81, 0.95);
}

.navbar.scrolled {
    padding: 8px 0;
    background-color: rgba(46, 57, 81, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
}

.navbar-dark {
    background-color: var(--secondary-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-brand, .nav-link {
    color: var(--light-color) !important;
}

/* Logo styling */
.navbar-logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
    background-color: white;
    padding: 2px;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 57, 81, 0.85), rgba(46, 57, 81, 0.85)), url('../img/gallery-new-bg.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: #fff;
    position: relative;
    background-color: var(--secondary-color);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-image {
    transform: scale(1);
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(78, 115, 223, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(78, 115, 223, 0);
    }
    
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(78, 115, 223, 0);
    }
}

.pulse-button {
    position: relative;
    box-shadow: 0 0 0 0 rgba(78, 115, 223, 0.7);
    animation: pulse 2s infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Components */
.offering-card, .facility-item, .rule-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.offering-card:hover, .facility-item:hover, .rule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Icons */
.icon-circle, .rule-icon, .contact-icon {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    font-size: 2rem;
}

.rule-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.5rem;
    margin-right: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.offering-card:hover .icon-circle {
    transform: scale(1.1);
}

/* Facilities Section */
.facilities-slider {
    margin-bottom: 50px;
}

.carousel-inner {
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item img {
    height: 700px;
    object-fit: cover;
    padding: 10px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 15px;
}

.facility-item {
    background-color: #fff;
    padding: 25px;
}

.facility-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Location & Maps */
.map-container {
    overflow: hidden;
    height: 100%;
}

.location-features {
    list-style: none;
    padding-left: 0;
}

.location-features li {
    margin-bottom: 10px;
}

.location-info {
    background-color: #fff;
    height: 100%;
}

/* Rules Section */
.rule-card {
    display: flex;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}

.rule-content {
    flex: 1;
}

.rule-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.rule-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.rule-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rule-section:last-child {
    border-bottom: none;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(78, 115, 223, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Footer */
.footer, .footer-dark {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 50px 0;
}

.footer a, .footer-dark a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer a:hover, .footer-dark a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-newsletter .input-group {
    border-radius: 30px;
    overflow: hidden;
}

.footer-newsletter .form-control {
    border-radius: 30px 0 0 30px;
    border: none;
}

.footer-newsletter .btn {
    border-radius: 0 30px 30px 0;
    padding: 10px 15px;
}

.footer-dark .item.text {
    margin-bottom: 36px;
}

.footer-dark .item.social {
    text-align: center;
    margin-top: 20px;
}

.footer-dark .item.social a {
    font-size: 20px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
    margin: 0 8px;
    color: #fff;
}

.footer-dark .item.social a:hover {
    background-color: var(--primary-color);
}

.footer-dark .copyright {
    text-align: center;
    padding-top: 24px;
    opacity: 0.7;
    font-size: 13px;
    margin-bottom: 0;
}

/* Modals */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
}

.modal-header.bg-primary {
    color: var(--secondary-color) !important;
}

/* Page Elements */
.feature-list {
    margin: 20px 0;
}

.feature-list li {
    margin-bottom: 15px;
}

.page-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 100px 0 50px;
    margin-bottom: 30px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    line-height: 40px;
    z-index: 99;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Navigation Elements */
.icon-wrapper {
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

/* Payment Cards */
.payment-card {
    cursor: pointer;
    /* border-left: 4px solid transparent; */
}

.payment-card.pending {
    border-left-color: #F9B515;
}

.payment-card.approved {
    border-left-color: #81C784;
}

.payment-card.disapproved {
    border-left-color: #E57373;
}

/* Bootstrap Icon Utilities */
.bs-icon {
    --bs-icon-size: .75rem;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    font-size: var(--bs-icon-size);
    width: calc(var(--bs-icon-size) * 2);
    height: calc(var(--bs-icon-size) * 2);
    color: var(--bs-primary);
}

.bs-icon.bs-icon-rounded {
    border-radius: .5rem;
}

.bs-icon.bs-icon-primary {
    color: var(--secondary-color);
    background: var(--primary-color);
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}
.facebook-container{
    padding:20px 10px;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Search */
.search-highlight {
    background-color: rgba(212, 175, 55, 0.3);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar {
        background-color: rgba(46, 57, 81, 0.98);
    }
    
    .carousel-item img {
        height: 550px;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 30px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .carousel-item img {
        height: 450px;
    }
    
    .facility-item, .rule-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: none;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .btn-capture-image {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    h1.display-4 {
        font-size: 2.5rem;
    }
    
    h2.display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .navbar-logo {
        height: 35px;
    }
}

/* Improve image container for better mobile viewing */
#previewImage {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 0.25rem;
}

/* Make the camera button more visible on mobile */
#btn-capture-image {
    font-weight: 500;
}
