:root {
    --primary: #008753;
    --accent: #FCD116;
    --secondary: #1E40AF;
    --text: #111827;
    --light-bg: #F9FAFB;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.hero {
    background-image: url('../images/bg-img.png');
    background-color: #000; /* Fallback color */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

/* Add the overlay separately */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4); /* Your overlay */
    z-index: 1;
}

/* Make sure content stays on top */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #006b42;
    border-color: #006b42;
    transform: translateY(-2px);
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    color: var(--primary);
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.about-image {
    width: 100%;
    height: 750px; /* Fixed height that works well for most content */
    object-fit: cover; /* Crops image to fill container while maintaining aspect ratio */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    object-position: center; /* Centers the important part of the image */
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-image {
        height: 350px;
    }
}

/* Responsive adjustments */
@media (max-width: 912px) {
    .about-image {
        height: 850px;
        margin-bottom: 1.5rem;
    }
}

/*@media (max-width: 576px) {
    .about-image {
        height: 250px;
    }
}*/

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.bg-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer {
    background-color: var(--text);
    color: white;
    padding: 30px 0 30px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent);
    color: var(--text);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}