:root {
    /* Premium Nature Palette */
    --primary-color: #1a4d2e; /* Deep Forest Green */
    --primary-dark: #123522;
    --primary-light: #4f775d;
    --accent-color: #ff9f1c; /* Golden Sunset */
    --secondary-color: #e8f5e9; /* Light Mint */
    
    --text-dark: #1c1c1c;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;
    
    --bg-light: #fdfdfd;
    --bg-dark: #0f1c15;
    
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    
    --radius-md: 12px;
    --radius-lg: 24px;
}

body {
    font-family: var(--body-font);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Navigation --- */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #2c3e50 !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

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

/* Custom Dropdown Arrow */
.dropdown-toggle::after {
    display: inline-block;
    vertical-align: middle;
    content: "\f282"; /* Bootstrap Icons chevron-down */
    font-family: 'bootstrap-icons';
    border: none;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* --- Buttons --- */
.btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 77, 46, 0.3);
}

.btn-outline-light {
    border-width: 2px;
}

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

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(14, 37, 26, 0.85), rgba(26, 77, 46, 0.7)), url('https://images.unsplash.com/photo-1518173946687-a4c8892bbd9f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 95vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: -86px; /* Pull up behind navbar */
    padding-top: 86px;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

/* --- Sections --- */
.section-padding {
    padding: 100px 0;
}

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

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

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

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

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Cards --- */
.card {
    border: none;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 2rem;
}

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

.scale-on-hover:hover {
    transform: scale(1.02);
}

/* --- Footer --- */
footer {
    background-color: var(--bg-dark);
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    padding-top: 80px;
}

footer h5, footer h6 {
    color: white;
    letter-spacing: 1px;
}

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

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

footer .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 50px 0 0 50px;
    padding-left: 20px;
}

footer .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.2);
    color: white;
    box-shadow: none;
}

footer .btn-primary {
    border-radius: 0 50px 50px 0;
}

/* --- Utilities & Animations --- */
.text-accent {
    color: var(--accent-color);
}

.badge-custom {
    background-color: rgba(26, 77, 46, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(26, 77, 46, 0.2);
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 80vh;
        padding-top: 120px;
        clip-path: none;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 76px; /* Prevent navbar overlap */
}

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

/* Navbar */
.navbar {
    background-color: white !important;
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.25rem; /* Adjusted for better fit */
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: #4a5568 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #144414;
    border-color: #144414;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(15, 43, 29, 0.7), rgba(15, 43, 29, 0.7)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 0; /* Removing top padding since body has it, but hero might need to go under or handle it */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section Styling */
.section-padding {
    padding: 80px 0;
}

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

.section-title h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-section {
        min-height: 60vh; /* Reduce height on mobile */
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem; /* Smaller heading */
    }

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

    .section-padding {
        padding: 50px 0; /* Reduce padding between sections */
    }

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

    .section-title p {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 10px;
    }

    .navbar-toggler {
        border: none;
        padding: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }

    /* Adjust cards if needed */
    .card-img-top {
        height: 200px;
    }
}
