/* Greensphere - Main Stylesheet */

/* CSS Variables - Color Palette */
:root {
    --deep-earth-green: #1f4a2e;
    --iron-ore-brown: #5c3b1e;
    --dust-gold: #c49a6c;
    --oxide-red: #a34a28;
    --midnight-teal: #1b3e40;
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --mid-gray: #e0e0e0;
    --text-dark: #2a2a2a;
    --text-medium: #666666;
    --text-light: #999999;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 500;
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

h4 {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 500;
    letter-spacing: 0;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.25rem;
    font-size: clamp(0.938rem, 1.5vw, 1rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
}

.lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.65;
    color: var(--text-dark);
    font-weight: 400;
    opacity: 0.85;
}

a {
    color: var(--oxide-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--deep-earth-green);
}

/* Header and Navigation */
header {
    background-color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-container:hover .logo {
    opacity: 0.7;
}

.logo-text {
    display: none;
}


.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-start;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.938rem;
    letter-spacing: -0.01em;
    padding: 0.5rem 0;
    transition: opacity 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links a.active {
    font-weight: 400;
    opacity: 1;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

.header-contact a {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
}

.header-contact a:hover {
    opacity: 0.6;
}

.header-contact svg,
.header-contact .icon {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-contact {
    display: none;
}

/* Container and Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

section.hero {
    padding: 0;
}

/* Page Hero Banner (for internal pages) */
.page-hero {
    position: relative;
    height: 400px;
    margin-bottom: 4rem;
    padding: 0;
    overflow: hidden;
    background-color: var(--off-white);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--off-white);
    z-index: 1;
}

.page-hero-left {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.page-hero-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 0;
}

.page-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-hero-content {
    max-width: 550px;
}

.page-hero h1 {
    font-size: 1.875rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    font-weight: 400;
    color: var(--text-dark);
}

.page-hero p {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.85;
}

/* Hero Section - 50/50 Split */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 70vh;
    background-color: var(--white);
}

.hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem 4rem 4rem;
    overflow: hidden;
}

.hero-tag {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: inline-block;
    position: relative;
    z-index: 2;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #c49a6c;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4rem 4rem 3rem;
    background-color: var(--white);
}

.hero-content {
    max-width: 600px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.063rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.85;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.938rem;
    font-weight: 400;
    letter-spacing: 0;
    border: 1px solid var(--text-dark);
    border-radius: 4px;
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #1f4a2e;
    border-color: #1f4a2e;
    color: var(--white);
}

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

.btn-primary:hover {
    background-color: #1f4a2e;
    border-color: #1f4a2e;
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background-color: #1f4a2e;
    border-color: #1f4a2e;
    color: var(--white);
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Content Sections */
.content-section {
    background-color: var(--white);
}

.content-section:nth-child(even) {
    background-color: var(--off-white);
}

.content-section.dark {
    background-color: var(--deep-earth-green);
    color: var(--white);
}

.content-section.dark h2,
.content-section.dark h3,
.content-section.dark h4 {
    color: var(--white);
}

.content-section.dark p {
    color: rgba(255, 255, 255, 0.9);
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-dark);
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2.5rem;
    margin-top: 3rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card {
    background-color: var(--white);
    padding: 0;
    border-radius: 0;
    border: 1px solid var(--light-gray);
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out forwards;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

.card:nth-child(5) {
    animation-delay: 0.5s;
}

.card:nth-child(6) {
    animation-delay: 0.6s;
}

.card:hover {
    border-color: rgba(31, 74, 46, 0.25);
    box-shadow: 0 4px 12px rgba(31, 74, 46, 0.08);
    transform: translateY(-2px);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    background-color: var(--off-white);
}

.card-content {
    padding: 2rem 1.5rem;
}

.card:not(:has(.card-image)) {
    padding: 2rem 1.5rem;
}

.card h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.card p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.938rem;
}

.card p:last-child {
    margin-bottom: 0;
}

.card-link {
    display: inline-block;
    margin-top: 0.875rem;
    color: var(--text-dark);
    font-size: 0.938rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--oxide-red);
}

.card-link::after {
    content: ' →';
}

.card-icon {
    display: none;
}

/* Visual Cards with Images */
.card-visual {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    transition: transform 0.3s ease;
}

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

.card-visual-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.3s ease;
}

.card-visual:hover .card-visual-bg {
    transform: scale(1.05);
}

.card-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31, 74, 46, 0.3) 0%, rgba(31, 74, 46, 0.85) 100%);
    z-index: 2;
}

.card-visual-content {
    position: relative;
    z-index: 3;
    padding: 2.5rem 2rem;
    color: var(--white);
}

.card-visual h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.card-visual p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats Section */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--oxide-red);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: -0.01em;
    opacity: 0.85;
}

/* Use Cases Grid - 3 top, 2 bottom centered */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.use-cases-grid .use-case-card:nth-child(1),
.use-cases-grid .use-case-card:nth-child(2),
.use-cases-grid .use-case-card:nth-child(3) {
    grid-column: span 2;
}

.use-cases-grid .use-case-card:nth-child(4) {
    grid-column: 2 / span 2;
    /* Start at column 2 */
}

.use-cases-grid .use-case-card:nth-child(5) {
    grid-column: 4 / span 2;
    /* Start at column 4 */
}

@media (max-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .use-cases-grid .use-case-card:nth-child(1),
    .use-cases-grid .use-case-card:nth-child(2),
    .use-cases-grid .use-case-card:nth-child(3),
    .use-cases-grid .use-case-card:nth-child(4) {
        grid-column: span 1;
    }

    .use-cases-grid .use-case-card:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .use-cases-grid .use-case-card:nth-child(1),
    .use-cases-grid .use-case-card:nth-child(2),
    .use-cases-grid .use-case-card:nth-child(3),
    .use-cases-grid .use-case-card:nth-child(4),
    .use-cases-grid .use-case-card:nth-child(5) {
        grid-column: span 1;
    }

    .use-case-card {
        min-height: 350px;
    }

    .case-modal-content {
        width: 100%;
        max-width: 100%;
    }

    .case-modal-body {
        padding: 2rem 1.5rem;
    }
}

/* Use Case Cards */
.use-case-card {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: transform 0.3s ease, min-height 0.4s ease;
}

.use-case-card:hover {
    transform: translateY(-4px);
}


.use-case-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s ease;
}

.use-case-card:hover .use-case-card-bg {
    transform: scale(1.05);
}

.use-case-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(31, 74, 46, 0.4) 0%, rgba(31, 74, 46, 0.9) 100%);
    z-index: 2;
    transition: background 0.3s ease;
}

.use-case-card-preview {
    position: relative;
    z-index: 3;
    padding: 2.5rem 2rem;
    color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.use-case-badge {
    font-family: 'Poppins', sans-serif;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    align-self: flex-start;
    /* Prevent full width in flex container */
}

.use-case-card h3 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    line-height: 1.3;
}

.use-case-card-preview p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.use-case-card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    transition: gap 0.2s ease;
    margin-top: auto;
    /* Push to bottom */
}

.use-case-card:hover .use-case-card-cta {
    gap: 0.75rem;
}

.use-case-card-cta svg {
    transition: transform 0.3s ease;
}

.use-case-card-details {
    display: none;
    /* Hidden on card, shown in modal */
}

/* Case Study Modal */
.case-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.case-modal.active {
    opacity: 1;
    pointer-events: all;
}

.case-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.case-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    max-width: 90%;
    height: 100%;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
}

.case-modal.active .case-modal-content {
    transform: translateX(0);
}

.case-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--light-gray);
    color: var(--deep-earth-green);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-modal-close:hover {
    background: var(--deep-earth-green);
    color: var(--white);
    border-color: var(--deep-earth-green);
}

.case-modal-body {
    padding: 3rem 2.5rem;
}

.case-modal-body .use-case-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--deep-earth-green);
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.case-modal-body h2 {
    color: var(--deep-earth-green);
    margin-bottom: 1.5rem;
}

.case-modal-body .use-case-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0;
    border-bottom: none;
    flex-wrap: wrap;
}

.case-modal-body .use-case-meta span {
    color: var(--deep-earth-green);
    background-color: rgba(31, 74, 46, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid rgba(31, 74, 46, 0.2);
}

.case-modal-body h4 {
    color: var(--deep-earth-green);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.case-modal-body p,
.case-modal-body li {
    color: var(--text-color);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--mid-gray);
}

.form-group {
    margin-bottom: 1.75rem;
}

.form-group label {
    font-family: 'Poppins', sans-serif;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--mid-gray);
    border-radius: 3px;
    background-color: var(--white);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--oxide-red);
    box-shadow: 0 0 0 3px rgba(163, 74, 40, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--deep-earth-green);
    padding: 3.5rem 0 2rem;
    color: var(--white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-left p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 400;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-contact {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.813rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.813rem;
}

.footer-bottom {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.813rem;
    font-weight: 400;
    margin: 0;
}

/* Utility Classes */
.bg-off-white {
    background-color: var(--off-white);
}

.bg-dark {
    background-color: var(--text-dark);
}

.text-white {
    color: var(--white);
}

.text-white-muted {
    color: rgba(255, 255, 255, 0.7);
}

.lead-large {
    font-size: 1.125rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.cta-title {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.25rem;
    opacity: 0.9;
}

.section-highlight {
    font-size: 1.125rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.95;
}

.list-standard {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.section-subheading {
    color: var(--dust-gold);
    margin-top: 1.5rem;
}

.info-muted {
    opacity: 0.8;
    font-size: 0.95rem;
}

.btn-full-width {
    width: 100%;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-input {
    width: auto;
    margin: 0;
}

/* Hero Button Overrides */
.hero .btn-primary {
    background-color: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

.hero .btn-primary:hover {
    background-color: #1f4a2e;
    border-color: #1f4a2e;
}

/* CTA Section Button Overrides */
.bg-dark .btn {
    border-color: var(--white);
    color: var(--white);
}

.bg-dark .btn-primary,
.bg-dark .btn.btn-primary {
    background: var(--white);
    color: var(--text-dark);
    border-color: var(--white);
}

.bg-dark .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.bg-dark .btn-group,
.text-center .btn-group {
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 980px) {
    .header-contact {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3rem 2rem 2rem;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-links a {
        width: 100%;
        padding: 1.25rem 0;
        font-size: 0.875rem;
        letter-spacing: 0.12em;
    }

    .nav-links a::after {
        left: 0;
        width: 3px;
        height: 100%;
        bottom: 0;
        top: 0;
    }

    .nav-links a:hover::after,
    .nav-links a.active::after {
        width: 3px;
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-contact {
        display: flex;
        margin-top: 18px;
        padding-top: 0.75rem;
        border-bottom: none;
    }

    .mobile-contact:first-of-type {
        margin-top: auto;
        padding-top: 4rem;
    }

    .mobile-contact a {
        width: 100%;
        font-size: 0.875rem;
        letter-spacing: 0;
        padding: 0.875rem 1.5rem;
        background-color: var(--deep-earth-green);
        color: var(--white);
        border-radius: 0;
        border: 1px solid var(--deep-earth-green);
        text-align: center;
        transition: all 0.2s ease;
        font-weight: 400;
    }

    .mobile-contact a::after {
        display: none;
    }

    .mobile-contact a:hover {
        background-color: #1f4a2e;
        border-color: #1f4a2e;
    }
}

@media (max-width: 1024px) {
    .page-hero {
        height: auto;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
    }

    .page-hero::before {
        display: none;
    }

    .page-hero-left {
        position: relative;
        width: 100%;
        height: auto;
        padding: 0 2rem;
        order: 2;
    }

    .page-hero-content {
        padding: 2.5rem 0;
        max-width: 100%;
    }

    .page-hero-right {
        position: relative;
        width: 100%;
        height: 350px;
        order: 1;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.25rem 0;
    }

    nav {
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .logo {
        height: 36px;
    }

    section {
        padding: 3rem 0;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        min-height: 60vh;
        order: 2;
        padding: 3rem 2rem;
    }

    .hero-right {
        order: 1;
        padding: 3rem 2rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .page-hero-left {
        padding: 0 1.5rem;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .page-hero p {
        font-size: 0.875rem;
    }

    .btn-group {
        justify-content: center;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-right {
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-divider {
        display: none;
    }

    .card {
        padding: 0;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-visual {
        min-height: 350px;
    }

    .card-visual-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo {
        height: 32px;
    }

    .nav-links {
        padding: 2rem 1.5rem;
    }

    .nav-links a {
        font-size: 0.938rem;
    }

    .container {
        padding: 0 1rem;
    }

    .card-content {
        padding: 1.25rem;
    }

    .hero-left,
    .hero-right {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .page-hero-left {
        padding: 0 1.25rem;
    }

    .page-hero-content {
        padding: 2rem 0;
    }

    .page-hero-right {
        height: 300px;
    }

    .page-hero h1 {
        font-size: 1.375rem;
    }

    .page-hero p {
        font-size: 0.813rem;
    }

    .card-visual {
        min-height: 300px;
    }

    .card-visual-content {
        padding: 1.75rem 1.25rem;
    }

    .card-visual h3 {
        font-size: 1.125rem;
    }

    .card-visual p {
        font-size: 0.875rem;
    }
}

/* Feature Section with Image */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.feature-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.feature-content h2 {
    margin-bottom: 1.5rem;
}

.feature-content p {
    margin-bottom: 1.25rem;
}

@media (max-width: 768px) {
    .feature-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-image {
        height: 300px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--oxide-red);
    font-weight: 400;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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