/* Global Styles */
:root {
  --primary: #2E7D32;
  --secondary: #1565C0;
  --accent: #FF8F00;
  --bg-light: #F5F7FA;
  --bg-dark: #263238;
  --text-primary: #212121;
  --text-secondary: #546E7A;
  --text-light: #FFFFFF;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-color: #E0E0E0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: none;
}

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

.modal-title {
  color: var(--text-light);
}

.btn {
  transition: var(--transition);
  font-weight: 700;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: #246428;
  border-color: #246428;
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #0D47A1;
  border-color: #0D47A1;
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--primary);
  color: white;
}

.container {
  padding: 2rem 1rem;
}

/* Header Styles */
.navbar {
  box-shadow: var(--shadow);
  background-color: white;
}

.navbar-brand img {
  height: 40px;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

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

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0;
  margin-bottom: 3rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Features Section */
.features {
  padding: 4rem 0;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  margin-bottom: 2rem;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* About Section */
.about {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  padding: 4rem 0;
}

.service-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  margin-bottom: 2rem;
  transition: var(--transition);
}

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

.service-card img {
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
  margin-bottom: 2rem;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-position {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Blog Section */
.blog {
  padding: 4rem 0;
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition);
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.blog-excerpt {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
}

.contact-form {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.contact-info {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  height: 100%;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-right: 1rem;
}

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

.form-control {
  border-radius: var(--border-radius);
  padding: 0.75rem;
  border: 1px solid var(--border-color);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #B0BEC5;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-social {
  list-style: none;
  padding: 0;
  display: flex;
}

.footer-social li {
  margin-right: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--primary);
}

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

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #B0BEC5;
}

/* FAQ Page */
.faq-section {
  padding: 4rem 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.accordion-header {
  background-color: white;
}

.accordion-button {
  font-weight: 600;
  padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--primary);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary);
}

/* Blog Page */
.blog-post {
  padding: 4rem 0;
}

.blog-post-header {
  margin-bottom: 2rem;
}

.blog-post-date {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-post-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.blog-post-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.blog-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content ul, .blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-post-content li {
  margin-bottom: 0.5rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-settings-modal .modal-content {
  border-radius: var(--border-radius);
}

.cookie-settings-modal .modal-header {
  background-color: var(--primary);
  color: white;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.cookie-settings-modal .modal-footer {
  justify-content: space-between;
}

.cookie-settings-modal .modal-body h5 {
  margin-top: 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-category-title {
  font-weight: 700;
  margin-bottom: 0;
}

.cookie-category-description {
  margin-bottom: 0;
}

/* intl-tel-input customization */
.iti {
  width: 100%;
}

/* Page Banners */
.page-banner {
  background-color: var(--bg-dark);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.page-banner h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Three.js Canvas */
.canvas-container {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

#threeCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Philosophy Page */
.philosophy-section {
  padding: 4rem 0;
}

.philosophy-item {
  display: flex;
  margin-bottom: 3rem;
}

.philosophy-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-right: 1.5rem;
}

.philosophy-content h3 {
  margin-bottom: 1rem;
}

/* Thanks Page */
.thanks-section {
  padding: 6rem 0;
  text-align: center;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (min-width: 576px) {
  .container {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .about-content h2,
  .page-banner h1,
  .blog-post-title,
  .thanks-title {
    font-size: 3rem;
  }
  
  .feature-card,
  .service-card,
  .testimonial-card,
  .blog-card {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .about-content h2,
  .page-banner h1,
  .blog-post-title,
  .thanks-title {
    font-size: 3.5rem;
  }
  
  .contact-form {
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .about-content h2,
  .page-banner h1,
  .blog-post-title,
  .thanks-title {
    font-size: 4rem;
  }
}