/* 
Theme Name: Tekton Construction
Description: Custom theme for Tekton Construction
Version: 1.0
Author: Your Name
*/

/* ---------- Table of Contents ----------
1. CSS Reset & Base Styles
2. Typography
3. Layout & Grid
4. Header
5. Navigation
6. Hero Section
7. Main Content
8. Forms
9. Buttons
10. Cards & Boxes
11. Footer
12. Utilities
13. Animations
14. Privacy Policy
------------------------------------ */

/* ---------- 1. CSS Reset & Base Styles ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* Sets 1rem = 10px (10px/16px = 62.5%) */
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: #0B5F38; /* Primary brand green */
    transition: color 0.3s ease;
}

a:hover {
    color: #084a2c; /* Darker shade of primary green */
}

/* ---------- 2. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.6rem;
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
    color: #0B5F38; /* Primary brand green */
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: #937863; /* Brand brown */
}

.section-header p {
    max-width: 60rem;
    margin: 0 auto;
    color: #666;
}

/* ---------- 3. Layout & Grid ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.page-header {
    background-color: #f5f5f5;
    padding: 4rem 0;
    text-align: center;
}

/* Two column layout */
.two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.two-columns > * {
    flex: 1 1 calc(50% - 2rem);
    min-width: 300px;
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

/* ---------- 4. Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
    margin-right: auto;	
}

.logo img {
    max-height: 6rem;
}

/* ---------- 5. Navigation ---------- */
/*
.main-navigation {
    flex: 1 1 auto;
    margin: 0 2rem;
}
*/

.main-navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}


.main-navigation ul {
    display: flex;
    gap: 3rem;
}

.main-navigation a {
    color: #333;
    font-weight: 600;
    padding: 1rem;
    display: block;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0B5F38; /* Primary brand green */
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.current-menu-item a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3rem;
    height: 2.4rem;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0B5F38; /* Primary brand green */
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:first-child {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:last-child {
    bottom: 0;
}

.nav-cta {
    flex: 0 0 auto;
    margin-left: auto;
}

.nav-quote-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(11, 95, 56, 0.2);
    transition: all 0.3s ease;
}

.nav-quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(11, 95, 56, 0.3);
}

/* ---------- 6. Hero Section ---------- */
.hero {
    background-color: #f9f9f9;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    position: relative;
    padding: 12rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 95, 56, 0.8); /* Primary brand green with opacity */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* ---------- 7. Main Content ---------- */
/* About teaser section */
.about-teaser {
    background-color: #f5f5f5;
}

.about-teaser .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.about-content, .about-image {
    flex: 1 1 calc(50% - 2rem);
    min-width: 300px;
}

.about-content h2 {
    color: #0B5F38; /* Primary brand green */
}

/* Service Cards */
.service-card {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0B5F38; /* Primary brand green */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3, .service-card p {
    padding: 0 2rem;
}

.service-card h3 {
    margin-top: 2rem;
    color: #0B5F38; /* Primary brand green */
}

.service-card .read-more {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 1rem 2rem 2rem;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    background-color: #f9f9f9;
}

.testimonial {
    background-color: #fff;
    padding: 3rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 2rem 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 6rem;
    color: #BDACA0; /* Light brand brown */
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial p {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial cite {
    display: block;
    font-weight: 600;
    font-style: normal;
    color: #937863; /* Brand brown */
}

/* CTA Section */
.cta-section {
    background-color: #0B5F38; /* Primary brand green */
    color: #fff;
    text-align: center;
    padding: 6rem 0;
}

.cta-section h2, .cta-section p {
    color: #fff;
}

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

.cta-section p {
    margin-bottom: 3rem;
}

/* ---------- 8. Forms ---------- */
	/* Contact Page Form Layout */
	.contact-section .contact-wrapper {
		display: flex;
		flex-wrap: wrap;
		gap: 4rem;
	}

	.contact-info, .contact-form {
		flex: 1 1 calc(50% - 2rem);
		min-width: 300px;
	}

	.contact-info h2, .contact-form h2 {
		color: #0B5F38; /* Primary brand green */
		margin-bottom: 2rem;
	}

	.contact-info h3 {
		font-size: 2rem;
		margin: 2.5rem 0 1.5rem;
		color: #937863; /* Brand brown */
	}

	.office-hours ul {
		list-style: none;
	}

	.office-hours li {
		margin-bottom: 1rem;
	}

	/* General Form Styling */
	.form-group {
		margin-bottom: 2rem;
	}

	.form-group label {
		display: block;
		margin-bottom: 0.8rem;
		font-weight: 600;
		color: #333;
	}

	.form-group .required {
		color: #e53935;
	}

	.form-group input,
	.form-group select,
	.form-group textarea {
		width: 100%;
		padding: 1.2rem;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-family: inherit;
		font-size: 1.6rem;
		transition: border-color 0.3s ease;
		color: #333;
		background-color: #fff;
	}

	.form-group input:focus,
	.form-group select:focus,
	.form-group textarea:focus {
		outline: none;
		border-color: #0B5F38; /* Primary brand green */
		box-shadow: 0 0 0 2px rgba(11, 95, 56, 0.1);
	}

	.checkbox-group {
		display: flex;
		align-items: flex-start;
	}

	.checkbox-group input {
		width: auto;
		margin-right: 1rem;
		margin-top: 0.3rem;
	}

	.checkbox-group label {
		margin-bottom: 0;
		font-size: 1.4rem;
		font-weight: normal;
	}

	.full-width {
		width: 100%;
	}

	/* Footer Contact Form Specific Styling */
	#contactForm {
		font-family: 'Open Sans', Arial, sans-serif;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-gap: 2rem;
	}

	#contactForm .form-group.full-width {
		grid-column: span 2;
	}

	#contactForm .form-group.checkbox-group {
		grid-column: span 2;
	}

	#contactForm .form-group:last-of-type {
		grid-column: span 2;
	}

	#contactForm select {
		appearance: none;
		background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
		background-repeat: no-repeat;
		background-position: right 1rem center;
		background-size: 1.6rem;
		padding-right: 4rem;
	}

	#contactForm button[type="submit"] {
		background-color: #0B5F38; /* Primary brand green */
		color: #fff;
		font-family: inherit;
		font-weight: 600;
		font-size: 1.6rem;
		padding: 1.2rem 2.4rem;
		border: none;
		border-radius: 4px;
		cursor: pointer;
		transition: background-color 0.3s ease;
		width: 100%;
	}

	#contactForm button[type="submit"]:hover {
		background-color: #084a2c; /* Darker green */
	}

	/* Error state styling */
	#contactForm input.error,
	#contactForm select.error,
	#contactForm textarea.error {
		border-color: #e53935;
	}

	.error-message {
		color: #e53935;
		font-size: 1.4rem;
		margin-top: 0.5rem;
	}

	/* Success message styling */
	.success-message {
		background-color: #e8f5e9;
		border-left: 4px solid #0B5F38;
		padding: 3rem;
		border-radius: 6px;
		margin-bottom: 2rem;
		text-align: center;
	}

	.success-message h3 {
		color: #0B5F38;
		margin-bottom: 1.5rem;
		font-size: 2.2rem;
	}

	.success-message p {
		color: #333;
		font-size: 1.6rem;
		margin-bottom: 0;
	}
	
	.form-error-message {
		background-color: #ffebee;
		border-left: 4px solid #e53935;
		padding: 2rem;
		border-radius: 6px;
		margin-bottom: 2rem;
	}

	.form-error-message p {
		color: #333;
		margin-bottom: 0;
	}

	.form-error-message a {
		color: #e53935;
		font-weight: 600;
	}

	.form-error-message a:hover {
		text-decoration: underline;
	}	

	/* Fix for contact form in dark footer */
	.contact-form-container {
		background-color: #fff;
		padding: 3rem;
		border-radius: 8px;
		box-shadow: 0 3px 15px rgba(0,0,0,0.1);
	}

	.site-footer #contactForm label {
		color: #333; /* Ensure labels are dark on light background */
	}

	/* Ensure the placeholder text is visible */
	#contactForm ::placeholder {
		color: #999;
		opacity: 1;
	}


/* ---------- 9. Buttons ---------- */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #0B5F38; /* Primary brand green */
    color: #fff;
}

.btn-primary:hover {
    background-color: #084a2c; /* Darker shade of primary green */
    color: #fff;
}

.btn-secondary {
    background-color: #937863; /* Brand brown */
    color: #fff;
}

.btn-secondary:hover {
    background-color: #7a6352; /* Darker shade of brand brown */
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #0B5F38; /* Primary brand green */
    color: #0B5F38; /* Primary brand green */
}

.btn-outline:hover {
    background-color: #0B5F38; /* Primary brand green */
    color: #fff;
}

/* ---------- 10. Cards & Boxes ---------- */
/* FAQ Items */
.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    cursor: pointer;
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 1rem;
    position: relative;
    padding-right: 3rem;
}

.faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 2.4rem;
    transition: transform 0.3s ease;
}

.faq-item.active h3::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ---------- 11. Footer ---------- */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 6rem 0 2rem;
}

.site-footer a {
    color: #BDACA0; 
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #fff; 
    text-decoration: underline;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.widget {
    flex: 1 1 30rem;
}

.widget h3 {
    color: #fff;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 2px;
    background-color: #937863; /* Brand brown */
}

.contact-info address p {
    margin-bottom: 1rem;
}

.quick-links ul li {
    margin-bottom: 1rem;
}

.quick-links a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(189, 172, 160, 0.2); /* Very subtle light brown separator */
}

.quick-links a:hover {
    padding-left: 0.5rem; /* Slight indent on hover */
}

.quick-links li:last-child a {
    border-bottom: none;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #0B5F38; /* Primary brand green */
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}


/* ---------- 12. Utilities ---------- */
.text-center {
    text-align: center;
}

.text-green {
    color: #0B5F38; /* Primary brand green */
}

.text-brown {
    color: #937863; /* Brand brown */
}

.bg-light {
    background-color: #f5f5f5;
}

.bg-green {
    background-color: #0B5F38; /* Primary brand green */
    color: #fff;
}

.bg-brown {
    background-color: #937863; /* Brand brown */
    color: #fff;
}

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

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

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

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

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

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

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

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

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

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


/* ---------- 14. Privacy Policy---------- */
.privacy-policy-content {
    padding: 6rem 0;
}

.policy-section {
    margin-bottom: 4rem;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 2rem;
    font-size: 2.6rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.policy-section p {
    margin-bottom: 1.6rem;
    line-height: 1.7;
}

.policy-section ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
    list-style-type: disc;
}

.policy-section li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.policy-section strong {
    font-weight: 600;
    color: #333;
}

/* ---------- Additional Styles for Case Studies ---------- */
.case-study-filter {
    padding: 2rem 0 4rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 1rem 2rem;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    border-color: #0B5F38; /* Primary brand green */
    color: #0B5F38; /* Primary brand green */
    background-color: rgba(11, 95, 56, 0.1);
}

.case-studies-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.case-study-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    padding: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.case-study-images {
    flex: 1 1 400px;
}

.case-study-content {
    flex: 2 1 600px;
}

.case-study-content h2 {
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 2rem;
    font-size: 2.8rem;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 4px;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-weight: 600;
    color: #666;
    font-size: 1.4rem;
}

.detail-value {
    font-size: 1.8rem;
    color: #0B5F38; /* Primary brand green */
    font-weight: 700;
}

.project-description h3 {
    color: #937863; /* Brand brown */
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

.project-description ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.project-description ul li {
    margin-bottom: 0.8rem;
}

.client-testimonial {
    margin-top: 3rem;
    border-left: 4px solid #BDACA0; /* Light brand brown */
    padding-left: 2rem;
}

.client-testimonial blockquote {
    font-style: italic;
}

.client-testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: #937863; /* Brand brown */
}

.before-after {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

.before-image, .after-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.before-label, .after-label {
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Single case study image */
.single-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* ---------- Additional Styles for About Page ---------- */
.company-story {
    padding: 8rem 0;
}

.company-story .container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.story-content, .story-image {
    flex: 1 1 calc(50% - 2rem);
    min-width: 300px;
}

.story-content h2 {
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 2.5rem;
}

.story-content p {
    margin-bottom: 2rem;
}

.story-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.value-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: rgba(11, 95, 56, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #0B5F38; /* Primary brand green */
}

.value-item h3 {
    margin-bottom: 1.5rem;
    color: #0B5F38; /* Primary brand green */
}

.founders-profiles {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    margin-top: 4rem;
}

.founder-profile {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.founder-profile.reverse {
    flex-direction: row-reverse;
}

.founder-image {
    flex: 1 1 300px;
}

.founder-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.founder-info {
    flex: 2 1 500px;
}

.founder-info h3 {
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 0.5rem;
    font-size: 2.8rem;
}

.founder-title {
    color: #937863; /* Brand brown */
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.founder-bio p {
    margin-bottom: 1.6rem;
}

.founder-credentials {
    list-style: disc;
    margin: 2rem 0 0 2rem;
}

.founder-credentials li {
    margin-bottom: 0.8rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.member-image::before {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.team-member p {
    color: #937863; /* Brand brown */
    font-weight: 600;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.certification-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.certification-item img {
    height: 8rem;
    margin: 0 auto 2rem;
}

.certification-item h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0B5F38; /* Primary brand green */
}

/* Grants Section */
.grants-section {
    background-color: #f9f9f9;
}

.grants-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.grants-info, .grants-image {
    flex: 1 1 calc(50% - 2rem);
    min-width: 300px;
}

.grants-info h3 {
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 2rem;
}

.grants-list {
    list-style: disc;
    margin: 2rem 0 2rem 2rem;
}

.grants-list li {
    margin-bottom: 1rem;
}

.grants-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.process-step {
    flex: 1 1 200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: #0B5F38; /* Primary brand green */
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.process-step h3 {
    margin-bottom: 1rem;
    color: #0B5F38; /* Primary brand green */
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.benefit-item {
    text-align: center;
    padding: 3rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    background-color: rgba(11, 95, 56, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #0B5F38; /* Primary brand green */
}

.benefit-item h3 {
    margin-bottom: 1.5rem;
    color: #0B5F38; /* Primary brand green */
}

/* Case Study Teaser */
.case-study-teaser {
    padding: 8rem 0;
}

.case-study-teaser .container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.case-study-content, .case-study-image {
    flex: 1 1 calc(50% - 2rem);
    min-width: 300px;
}

.case-study-content h2 {
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 2rem;
}

.results-list {
    list-style: disc;
    margin: 2rem 0 2rem 2rem;
}

.results-list li {
    margin-bottom: 1rem;
    font-weight: 600;
}

.case-study-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer with Contact Form */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form-container {
    flex: 2 1 600px;
    background-color: #fff;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.footer-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-info .widget {
    background-color: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 8px;
}

.certifications ul {
    list-style: disc;
    margin-left: 2rem;
}

.certifications ul li {
    margin-bottom: 1rem;
    color: #ddd;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Hero Style that matches the homepage */
.page-header.hero-style {
    background-color: #0B5F38; /* Primary brand green */
    padding: 12rem 0;
    text-align: center;
    position: relative;
    color: #fff;
}

.page-header.hero-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Light overlay */
}

.page-header.hero-style .container {
    position: relative;
    z-index: 1;
}

.page-header.hero-style h1 {
    color: #fff;
    font-size: 5rem;
    margin-bottom: 2rem;
}

.page-header.hero-style p {
    color: #fff;
    font-size: 2rem;
    max-width: 80rem;
    margin: 0 auto;
}

/* New Founders Grid Layout */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.founder-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #0B5F38; /* Primary brand green */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.founder-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.founder-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.founder-content h3 {
    color: #0B5F38; /* Primary brand green */
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: #937863; /* Brand brown */
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.founder-bio {
    margin-bottom: 2rem;
}

.founder-quote {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 4px solid #BDACA0; /* Light brand brown */
    font-style: italic;
}

.founder-quote p {
    margin-bottom: 0;
}

.founder-credentials {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.founder-credentials h4 {
    font-size: 1.8rem;
    color: #0B5F38; /* Primary brand green */
    margin-bottom: 1.5rem;
}

.founder-credentials ul {
    list-style: disc;
    margin-left: 2rem;
    margin-bottom: 2.5rem;
}

.founder-credentials li {
    margin-bottom: 0.8rem;
}

.founder-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    font-weight: 600;
    padding: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 1rem;
    font-size: 1.8rem;
}

.social-link.linkedin {
    background-color: #f3f6f8;
    color: #0077b5;
}

.social-link.linkedin:hover {
    background-color: #0077b5;
    color: white;
}

.social-link.email {
    background-color: #f9f9f9;
    color: #0B5F38; /* Primary brand green */
}

.social-link.email:hover {
    background-color: #0B5F38; /* Primary brand green */
    color: white;
}

@media (max-width: 992px) {
    html {
        font-size: 60%;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .hero {
        padding: 10rem 0;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
	
    .main-navigation {
        position: static;
        transform: none;
        flex: 1;
        margin: 0 2rem;
        text-align: right;
    }

    .main-navigation ul {
        justify-content: flex-end;
        gap: 2rem;
    }	
    
    .nav-quote-btn {
        padding: 0.7rem 1.2rem;
        font-size: 1.4rem;
    }	
}

@media (max-width: 768px) {
    html {
        font-size: 57.5%;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 2rem;
        text-align: left;
        transform: none;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        margin-bottom: 1rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .footer-widgets {
        gap: 4rem;
    }
    
    .widget {
        flex: 1 1 100%;
    }
	
    .page-header.hero-style {
        padding: 8rem 0;
    }
    
    .page-header.hero-style h1 {
        font-size: 3.5rem;
    }
    
    .page-header.hero-style p {
        font-size: 1.8rem;
    }
    
    .founder-image {
        height: 300px;
    }	
	
    .nav-cta {
        display: none; /* Hide on mobile when menu collapses */
    }
    
    /* Add floating CTA button on mobile */
    .mobile-cta {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        z-index: 99;
    }
    
    .mobile-cta .nav-quote-btn {
        border-radius: 50px;
        padding: 1rem 2rem;
        box-shadow: 0 4px 15px rgba(11, 95, 56, 0.3);
    }	
	
    .privacy-policy-content {
        padding: 4rem 0;
    }
    
    .policy-section {
        margin-bottom: 3rem;
    }
    
    .policy-section h2 {
        font-size: 2.2rem;
    }
	
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .hero {
        padding: 8rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .btn {
        display: block;
        width: 100%;
    }
	
    .page-header.hero-style {
        padding: 6rem 0;
    }
    
    .page-header.hero-style h1 {
        font-size: 3rem;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
	
    #contactForm {
        grid-template-columns: 1fr;
    }
    
    #contactForm .form-group.full-width {
        grid-column: span 1;
    }
    
    #contactForm .form-group.checkbox-group {
        grid-column: span 1;
    }
    
    #contactForm .form-group:last-of-type {
        grid-column: span 1;
    }	
}
