:root {
    --primary-dark: #1a3c34;
    --primary-leaf: #2d6a4f;
    --accent-gold: #d4a373;
    --bg-light: #f3f4f1;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Badges */
.badge-pill-custom {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    background-color: rgb(192 143 30 / 94%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.text-white .badge-pill-custom {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Navbar */
.navbar {
    background-color: transparent;
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: var(--primary-dark);
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 1.5rem;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, rgba(31, 71, 46, 0.6), rgba(66, 51, 36, 0.6)), url('assets/markhor-hero.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.logo-white-bg {
    background-color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    /* optional – slightly rounded corners */
}

.hero-content h1 {

    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.btn-primary-custom {
    background-color: var(--primary-leaf);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-custom {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--primary-dark);
}

/* Section Styling */
section {
    padding: 100px 0;
}

.section-bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-custom img {
    height: 450px;
    object-fit: cover;
}

.card-custom .card-body {
    padding: 2rem;
}

.card-custom .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-custom .card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Founder Section */
.founder-quote {
    background-color: #f3f4f1;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    border-left: 5px solid var(--primary-leaf);
}

.founder-quote i {
    font-size: 2rem;
    color: var(--primary-leaf);
    opacity: 0.2;
}

.founder-img {
    border-radius: 20px;
    width: 75%;
}

/* Social Boxes Section */
.social-section {
    background-color: var(--primary-dark);
    color: white;
}

.social-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: white;
    display: block;
}

.social-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: var(--accent-gold);
}

.social-box i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.info-box {
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.form-control {
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-leaf);
}

/* Footer */
footer {
    background-color: #0d1b17;
    color: white;
    padding: 80px 0 30px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-link:hover {
    color: white;
}

@media (max-width: 991px) {
    .navbar {
        padding: 1rem 0;
        background-color: var(--primary-dark);
        position: fixed;
    }

    .navbar-collapse {
        background-color: var(--primary-dark);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .card-custom img {
        height: 280px;
    }

    .founder-img {
        width: 100%;
        margin-bottom: 2rem;
    }

    #about .col-lg-6 {
        text-align: center;
    }

    .founder-quote {
        text-align: left;
    }

    .social-box {
        padding: 1.5rem;
    }

    .social-box i {
        font-size: 1.5rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    footer {
        padding: 50px 0 20px;
    }

    footer .text-center,
    footer .col-lg-4,
    footer .col-lg-2 {
        text-align: center !important;
    }

    footer .d-flex {
        justify-content: center !important;
    }
}

@media (max-width: 575px) {
    .hero-section {
        height: 100vh;
        min-height: 550px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    .hero-content .mt-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-content .btn-primary-custom,
    .hero-content .btn-outline-custom {
        width: 100%;
        max-width: 250px;
        margin: 0;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 40px 0;
    }

    .card-custom img {
        height: 220px;
    }

    .card-custom {
        border-radius: 12px;
        margin-left: -12px;
        margin-right: -12px;
    }

    .card-custom img {
        border-radius: 0;
        width: 100%;
    }

    .card-custom .card-body {
        padding: 1.2rem;
    }

    .card-custom .card-title {
        font-size: 1.1rem;
    }

    .card-custom .card-text {
        font-size: 0.85rem;
    }

    .founder-quote {
        padding: 1.5rem;
    }

    .social-box {
        padding: 1.2rem;
    }

    .social-box h5 {
        font-size: 1rem;
    }

    .social-box p {
        font-size: 0.8rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 10px 24px;
        font-size: 0.9rem;
    }

    footer {
        padding: 40px 0 16px;
    }

    footer h4 {
        font-size: 1.1rem;
    }

    footer p,
    .footer-link {
        font-size: 0.85rem;
    }

    #scrollTopBtn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    .blog-card-img {
        height: 160px;
    }

    .blog-card-title {
        font-size: 1rem;
    }

    .blog-card-excerpt {
        font-size: 0.82rem;
    }
}

/* Scroll to Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: var(--primary-leaf);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Lightbox/Modal Enhancements for Gallery */
.modal-content.gallery-modal-content {
    background-color: transparent;
    border: none;
}

.gallery-modal-img {
    border-radius: 15px;
    max-height: 85vh;
    object-fit: contain;
}

.btn-close-white-custom {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Blog Hero */
.blog-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, rgba(31, 71, 46, 0.6), rgba(66, 51, 36, 0.6)), url('assets/markhor-hero.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

/* Blog Filter Buttons */
.blog-filter-btn {
    background: none;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-filter-btn:hover {
    border-color: var(--primary-leaf);
    color: var(--primary-leaf);
}

.blog-filter-btn.active {
    background-color: var(--primary-leaf);
    border-color: var(--primary-leaf);
    color: white;
}

/* Blog Listing */
.blog-listing {
    padding: 60px 0 100px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.08);
}

.blog-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-leaf);
    color: white;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-leaf);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.blog-read-more:hover {
    color: var(--primary-dark);
    gap: 4px;
}

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

.blog-read-more:hover i {
    transform: translateX(4px);
}

/* Blog items filter transition */
.blog-item {
    transition: opacity 0.3s ease;
}

/* Blog Section on Homepage */
.blog-section-home .blog-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.blog-section-home .blog-card-img {
    height: 200px;
}

@media (max-width: 991px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-card-img {
        height: 180px;
    }

    .blog-section-home .blog-card-img {
        height: 180px;
    }
}