body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

nav {
    background: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: .5rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #F7931A;
    transition: color 0.3s;
}

main {
    margin-top: 2rem; /* Space below header */
    margin-bottom: 2rem; /* Space above footer (optional) */
}

.logo {
    padding: 0.1rem; /* Optional: Add padding for consistency with nav layout */
}

.site-logo {
    height: 50px;
    width: auto;
    max-height: 50px;
    max-width: 100%;
    object-fit: contain;
}

#home {
    text-align: center;
    padding: 4rem 2rem;
    background: #f4f4f4;
}

#home h1 {
    font-size: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #F7931A; /* Bitcoin orange for consistency */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none; /* Ensure no border conflicts */
    cursor: pointer;
}

.btn:hover {
    background: #D67B00; /* Darker orange on hover */
    transition: background 0.3s;
}

#ventures {
    padding: 2rem;
    text-align: center;
}

.venture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fixed three columns */
    gap: 1rem; /* Reduced gap for tighter spacing */
    margin-top: 2rem;
}

@media (max-width: 767px) {
    .venture-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 1rem;
    }
}

.venture {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
    margin: 0;
}

.venture-icon {
    display: block;
    margin: 0 auto 10px;
    width: 100px;
    height: auto;
    max-width: 100%;
}

.venture-link {
    text-decoration: none;
    color: #333;
    display: block;
}

.venture-link:visited {
    color: #333;
}

.venture-link:hover {
    color: #F7931A;
    background: #f0f0f0;
    transition: color 0.3s, background 0.3s;
}

.venture-link:active {
    color: #F7931A;
}

/* Contact Page Styles */
header {
    text-align: center;
    padding: 2rem;
    background: #333; /* Dark background for consistency */
    color: white;
	margin-top: 1rem;
}

header h1 {
    font-size: 2.5rem; /* Match #home h1 size */
    margin-bottom: 1rem;
}

.contact-info, .contact-form {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    background: #333; /* Dark background for consistency */
    color: white;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.contact-info h2, .contact-form h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: white;
    text-decoration: none;
}

.contact-info a:hover {
    color: #F7931A; /* Bitcoin orange for interactivity */
    transition: color 0.3s;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: bold;
}

.contact-form input, .contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #333;
}

.contact-form textarea {
    height: 100px;
}

.contact-form .btn {
    background: #F7931A; /* Bitcoin orange for consistency */
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: fit-content;
    margin: 0 auto;
}

.contact-form .btn:hover {
    background: #D67B00; /* Darker orange on hover */
    transition: background 0.3s;
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    header {
        margin-top: 0.5rem; /* Smaller gap on mobile */
        padding: 1.5rem; /* Reduce padding on mobile */
    }

    main {
        margin-top: 1rem; /* Smaller gap on mobile */
        margin-bottom: 1rem;
    }

    footer {
        margin-top: 1rem; /* Smaller gap on mobile */
        padding: 0.8rem; /* Reduce padding on mobile */
	}
	.contact-info, .contact-form {
        padding: 1.5rem;
    }

    .contact-form input, .contact-form textarea {
        width: 100%;
    }

    .contact-form .btn {
        width: 100%;
    }
}

.about-section {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    background: #333;
    color: white;
    border-radius: 5px;
}

.about-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-section p {
    line-height: 1.6; /* Ensures readability */
    margin-bottom: 1rem;
}

.about-section h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
    color: #F7931A; /* Bitcoin orange for emphasis */
}

/* Map Section (if uncommented in contacts.html) */
.map {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.map iframe {
    border-radius: 5px;
    width: 100%;
    height: 300px;
    border: 0;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: white;
	margin-top: 2rem;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #F7931A;
    transition: color 0.3s;
}



/* Priced in Bitcoin Page Styles (Existing, ensure included) */
.chart-section {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    background: #333; /* Dark background */
    color: white;
    border-radius: 5px;
    text-align: center;
}

.chart-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #F7931A; /* Bitcoin orange */
}

.chart-container {
    margin: 0 auto;
    background: #333; /* Match dark theme */
    border-radius: 5px;
    overflow: hidden;
}

.chart-container svg {
    background: #333; /* Ensure SVG background matches */
}

.chart-section p {
    line-height: 1.6;
    margin-top: 1rem;
}

.controls {
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.icon-selectors {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.good-icon {
    width: 50px;
    height: auto;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: transform 0.3s, border 0.3s;
}

.good-icon:hover {
    transform: scale(1.1); /* Slight zoom on hover for playfulness */
    border: 2px solid #F7931A; /* Bitcoin orange border on hover */
}

#custom-price, #update-chart {
    margin-top: 0.5rem;
}

#custom-price {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    color: #333;
}

#update-chart {
    background: #F7931A;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#update-chart:hover {
    background: #D67B00; /* Darker orange on hover */
    transition: background 0.3s;
}

/* Responsive Chart and Controls */
@media (max-width: 768px) {
    .chart-container {
        width: 100%;
        height: auto;
    }

    .chart-container svg {
        width: 100%;
        height: auto;
    }

    .controls, .icon-selectors {
        flex-direction: column;
        align-items: center;
    }

    .good-icon {
        width: 40px; /* Smaller icons on mobile */
    }

    #custom-price, #update-chart {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Wildfire Mitigation Page Styles */
#wildfire-hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #F7931A, #27ae60); /* Orange to green gradient for fire and nature */
    color: white;
}

#wildfire-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#wildfire-hero .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #F7931A;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

#wildfire-hero .btn:hover {
    background: #f0f0f0; /* Light gray hover for contrast */
}

#services {
    padding: 2rem;
    background: #f4f4f4; /* Light background for contrast with dark sections */
    text-align: center;
}

.services-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1200px; /* Limit width for better readability */
    margin: 0 auto; /* Center the layout */
}

.services-image {
    flex: 1;
    max-width: 50%;
}

.services-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for pop */
}

.services-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-height: calc(100vh - 200px); /* Allow scrolling within viewport, adjust as needed */
    overflow-y: auto; /* Enable vertical scrolling if content exceeds height */
}

.service {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: left;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s; /* Playful hover effect */
}

.service:hover {
    transform: translateY(-5px); /* Slight lift on hover for playfulness */
    box-shadow: 0 6px 12px rgba(247, 147, 26, 0.2); /* Bitcoin orange shadow */
}

.service h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F7931A; /* Bitcoin orange for headings */
}

.service-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px; /* Match service card radius */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    #wildfire-hero {
        padding: 2rem 1rem; /* Reduce padding on mobile */
    }

    .services-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .services-image {
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .services-grid {
        max-height: none; /* Remove height limit on mobile for full scroll */
        overflow-y: visible; /* Disable scrolling on mobile, let page scroll */
    }

    .service {
        padding: 1rem;
    }
}


/* AI and ML Page Styles */
#ai-hero {
    padding: 4rem 2rem;
    background: linear-gradient(to right, #4a90e2, #8e44ad); /* Blue to purple gradient for tech */
    color: white;
}

.hero-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    max-width: 50%;
    padding: 1rem; /* Optional: Add padding for breathing room */
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for pop */
    transition: transform 0.3s; /* Add playful hover effect */
}

.hero-image img:hover {
    transform: scale(1.05); /* Slight zoom on hover for playfulness */
}

.hero-content {
    flex: 1;
    text-align: center;
    padding: 1rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle shadow for emphasis */
}

.hero-content .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #4a90e2; /* Matches blue from gradient */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s; /* Add transform for hover */
}

.hero-content .btn:hover {
    background: #f0f0f0; /* Light gray on hover */
    transform: translateY(-2px); /* Slight lift for playfulness */
}

/* Services Section (Ensure existing styles are included) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    background: #f4f4f4; /* Light background for contrast */
}

@media (max-width: 768px) {
    #ai-hero {
        padding: 2rem 1rem; /* Reduce padding on mobile */
    }

    .hero-layout {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-image {
        max-width: 100%;
        margin-bottom: 1rem;
        padding: 0; /* Remove padding on mobile for tighter layout */
    }

    .hero-content {
        padding: 0;
    }
}

/* Ensure service styles are consistent */
.service {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-5px); /* Lift effect */
    box-shadow: 0 6px 12px rgba(138, 43, 226, 0.2); /* Purple shadow matching gradient */
}

.service h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4a90e2; /* Blue accent */
}

.service-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

/* Data and Analytics Page Styles */
#data-hero {
    padding: 4rem 2rem;
    background: linear-gradient(to right, #005f73, #0a9396); /* Blue to teal gradient */
    color: white;
}

.hero-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content {
    flex: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #005f73;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-content .btn:hover {
    background: #f0f0f0;
}

#services {
    padding: 2rem;
    background: #f4f4f4;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-image {
        max-width: 100%;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 95, 115, 0.2); /* Teal shadow */
}

.service h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #005f73; /* Blue accent */
}

.service-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}

#technologies {
    padding: 2rem;
    background: #fff;
    text-align: center;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tech-logo {
    width: 100px;
    height: auto;
    transition: transform 0.3s;
}

.tech-logo:hover {
    transform: scale(1.1);
}

/* Bitcoin Page Styles */
#bitcoin-hero {
    padding: 4rem 2rem;
    background: linear-gradient(to right, #F7931A, #333); /* Orange to gold gradient */
    color: white;
}

.hero-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content {
    flex: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #F7931A;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-content .btn:hover {
    background: #f0f0f0;
}

#services {
    padding: 2rem;
    background: #f4f4f4;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-image {
        max-width: 100%;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(247, 147, 26, 0.2); /* Bitcoin orange shadow */
}

.service h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F7931A; /* Bitcoin orange accent */
}

.service-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}


/* Product Development Page Styles */
#product-hero {
    padding: 4rem 2rem;
    background: linear-gradient(to right, #F7931A, #FFD700); /* Orange to gold gradient */
    color: white;
}

.hero-layout {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    max-width: 50%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content {
    flex: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #F7931A;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-content .btn:hover {
    background: #f0f0f0;
}

#services {
    padding: 2rem;
    background: #f4f4f4;
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-image {
        max-width: 100%;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(247, 147, 26, 0.2); /* Bitcoin orange shadow */
}

.service h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #F7931A; /* Bitcoin orange accent */
}

.service-icon {
    width: 50px;
    height: auto;
    margin-bottom: 10px;
}