:root {
    /* Scheme 1: Deep Emerald & Gold */
    --primary-color: #043927; /* Deep Emerald */
    --secondary-color: #157a53; /* Lighter Emerald/Success */
    --accent-color: #D4AF37; /* Metallic Gold */
    --accent-light: #f4eeb1; /* Light Gold */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-muted: #6c757d;
    --font-primary: 'Open Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Footer Styles */
.footer-custom {
    background-color: #043927 !important;
    color: white !important;
    font-family: 'Open Sans', sans-serif !important;
}

.footer-custom .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-custom a.text-white-50:hover {
    color: var(--accent-color) !important;
}

.hover-gold:hover {
    color: var(--accent-color) !important;
}

.hover-white:hover {
    color: white !important;
}

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

.map-container {
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    border: 1px solid #6c757d;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    z-index: 999;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #043927;
}

.back-to-top:hover {
    background-color: #f4eeb1;
    border-color: #f4eeb1;
    color: #043927;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(4, 57, 39, 0.95) !important;
    backdrop-filter: blur(10px);
}


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

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

.btn-gold {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    font-weight: 700;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent-color);
}

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

a:hover {
    color: var(--accent-color);
}

/* Navbar & Logo */
.logo-img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

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

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background-color: var(--primary-color) !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.navbar-scrolled .logo-img {
    height: 45px;
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    /* Updated Gradient: Deep Emerald Overlay */
    background: linear-gradient(rgba(4, 57, 39, 0.85), rgba(4, 57, 39, 0.7)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: -76px; /* Pull up behind navbar */
    padding-top: 76px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Specific Typography for Hero Text as requested */
.hero-line-1 {
    font-weight: 700; /* Bold for first line */
    display: block;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.hero-line-2 {
    font-weight: 400; /* Regular for second line */
    display: block;
    font-size: 3rem;
    color: var(--accent-color); /* Gold for contrast */
    margin-bottom: 0.2rem;
}

.hero-line-3 {
    font-family: 'Cinzel', serif;
    font-weight: 700; /* Regular for third line */
    display: block;
    font-size: 4rem;
    color: #ffffff;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-line-1 { font-size: 1.8rem; }
    .hero-line-2 { font-size: 2rem; }
    .hero-line-3 { font-size: 2.5rem; }
    
    .hero-content p {
        font-size: 1rem;
    }
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all var(--transition-speed);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--accent-color);
.btn-primary-custom:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(4, 57, 39, 0.4);
}

/* Article Content Styles (Fix for Flat Content) */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    overflow-wrap: break-word; /* Prevent long words breaking layout */
}

/* Handle both p and div as paragraphs */
.article-content p, 
.article-content div {
    margin-bottom: 1.5rem !important;
    display: block !important;
}

/* Ensure Lists are Visible */
.article-content ul, 
.article-content ol {
    margin-bottom: 1.5rem !important;
    padding-left: 2.5rem !important;
    list-style-position: outside !important;
}

.article-content ul { 
    list-style-type: disc !important; 
}

.article-content ol { 
    list-style-type: decimal !important; 
}

.article-content li {
    margin-bottom: 0.5rem !important;
    display: list-item !important; /* Force display list-item */
}

/* Nested lists */
.article-content ul ul, 
.article-content ol ol, 
.article-content ul ol, 
.article-content ol ul {
    margin-bottom: 0 !important;
}

/* Headings */
.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5, 
.article-content h6 {
    margin-top: 2.5rem !important;
    margin-bottom: 1rem !important;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

/* Images */
.article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: block; /* Avoid inline-block spacing issues */
}

/* Blockquotes */
.article-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
    background: #f9f9f9;
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Tables */
.article-content table {
    width: 100% !important;
    margin-bottom: 1.5rem !important;
    border-collapse: collapse !important;
    border: 1px solid #dee2e6;
}

.article-content table td, 
.article-content table th {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.article-content table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Text Formatting */
.article-content b, 
.article-content strong {
    font-weight: 700 !important;
}

.article-content i, 
.article-content em {
    font-style: italic !important;
}

.article-content u {
    text-decoration: underline !important;
}

.article-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--primary-color);
}

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

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
    background-color: white;
    border-bottom: 3px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    border-bottom: 3px solid var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(212, 175, 55, 0.1); /* Light Gold */
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all var(--transition-speed);
    border: 1px solid var(--accent-color);
}

.card:hover .feature-icon {
    background-color: var(--primary-color);
    color: var(--accent-color);
    transform: rotateY(180deg);
}

/* Section Styling */
section {
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Footer */
footer {
    background-color: #022c1e; /* Even darker emerald */
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    border-top: 4px solid var(--accent-color);
}

footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255,255,255,0.6);
}

footer a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Utility */
.bg-light-pattern {
    background-color: #f8f9fa;
    background-image: radial-gradient(#dee2e6 1px, transparent 1px);
    background-size: 20px 20px;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in {
    animation: fadeIn 1.5s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}
