/* --- Global Reset & Core Colors --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #1b5e20; /* Dark forest green from your logo */
    --light-green: #4caf50;   /* Bright leaf green accent */
    --dark-grey: #2e3d30;     /* Earthy charcoal background variant */
    --light-grey: #f4f6f4;    /* Subtle off-white background */
    --text-color: #333333;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header / Navigation --- */
header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px; /* Clean scaling for your corporate identity logo */
    width: auto;
    display: block;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    margin-left: 25px;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--light-green);
}

/* --- Hero & Form Section --- */
.hero-section {
    background: linear-gradient(135deg, rgba(27,94,32,0.04) 0%, rgba(76,175,80,0.08) 100%), 
                url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
    padding: 80px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.badge {
    background-color: rgba(76, 175, 80, 0.15);
    color: var(--primary-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--dark-grey);
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

/* --- Interactive UI Buttons --- */
.btn-primary, .btn-secondary, .btn-submit {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--light-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-green) !important;
    color: var(--primary-green) !important;
    padding: 10px 24px;
}

.btn-secondary:hover {
    background-color: var(--primary-green);
    color: var(--white) !important;
}

/* --- Lead Generation Form UI/UX --- */
.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(27, 94, 32, 0.1);
}

.form-container h3 {
    font-size: 1.5rem;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.form-container p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 20px;
}

.input-group {
    margin-bottom: 18px;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark-grey);
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--light-green);
}

.btn-submit {
    width: 100%;
    background-color: var(--light-green);
    color: var(--white);
    font-size: 1rem;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: var(--primary-green);
}

.success-message {
    display: none;
    margin-top: 15px;
    padding: 12px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* --- 7-Video Section Grid --- */
.video-section {
    background-color: var(--light-grey);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.video-player-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 30px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .video-player-wrapper {
        grid-template-columns: 1fr;
    }
}

.main-video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    background-color: #000;
}

@media (max-width: 600px) {
    .main-video-container iframe {
        height: 250px;
    }
}

.main-video-container h4 {
    margin-top: 15px;
    font-size: 1.3rem;
    color: var(--primary-green);
}

/* Sidebar Thumbnails */
.thumbnail-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom Scrollbar for video sidebar */
.thumbnail-grid::-webkit-scrollbar {
    width: 6px;
}
.thumbnail-grid::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.thumb {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: var(--light-grey);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.thumb:hover, .thumb.active {
    background: rgba(76, 175, 80, 0.1);
    border-left-color: var(--light-green);
}

.thumb-overlay {
    width: 50px;
    height: 40px;
    background: #444;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.8rem;
}

.thumb.active .thumb-overlay {
    background: var(--primary-green);
}

.thumb p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-grey);
}

/* Styling for the small preview video container */
.thumb-video-box {
    width: 80px;
    height: 50px;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

/* Force the thumbnail iframe to be unclickable so the parent div registers clicks */
.thumb-video-box iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none; /* Crucial: Allows clicks to pass through to the parent container */
}

/* --- Footer --- */
footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-content p {
    margin: 5px 0;
}