/* style.css */

/*--------------------------------------------------------------
# CSS Variables
--------------------------------------------------------------*/
:root {
  /* Fonts */
  --font-family-headings: 'Oswald', sans-serif;
  --font-family-body: 'Nunito', sans-serif;

  /* Eco-Minimalist Split-Complementary Palette */
  --primary-color: #5E8C61;      /* Calm Green - Main interactive elements, highlights */
  --primary-darker-color: #4A6E4C; /* Darker shade of primary for hover/active states */
  --secondary-color: #A1B56A;    /* Lighter, yellowish Green - Backgrounds, secondary info */
  --accent-color: #D77A61;       /* Earthy Terracotta/Orange - CTAs, important accents */
  --accent-darker-color: #B35F49; /* Darker shade of accent for hover/active states */

  /* Neutral & Text Colors */
  --text-color-dark: #313930;    /* Dark, slightly desaturated green-gray for body text on light backgrounds */
  --text-color-headings-dark: #2A332A; /* Even darker for headings on light backgrounds */
  --text-color-light: #FFFFFF;   /* For text on dark backgrounds */
  --text-muted-color: #79837B;   /* Muted text color, harmonious with green palette */

  /* Background Colors */
  --bg-light-color: #F8F9FA;      /* Default light gray from Bootstrap or a custom off-white */
  --bg-light-eco-color: #EFF2EB;  /* Very light, slightly greenish white for eco sections */
  --bg-dark-color: #2F3B2F;       /* Dark, desaturated green for footer and dark sections */
  --bg-hero-overlay: rgba(0, 0, 0, 0.5);

  /* Borders & Shadows */
  --border-color: #D8DCD6;       /* Light Gray-Green for borders, subtle separators */
  --card-shadow: 0 4px 12px rgba(42, 51, 42, 0.08);
  --card-hover-shadow: 0 6px 16px rgba(42, 51, 42, 0.12);
  --input-border-color: #CED4DA; /* Standard input border */
  --input-focus-border-color: var(--primary-darker-color);
  --input-focus-box-shadow: 0 0 0 0.25rem rgba(94, 140, 97, 0.25);


  /* Transitions & Animations */
  --transition-speed-fast: 0.2s;
  --transition-speed-normal: 0.3s;
  --transition-easing: cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth easing */

  /* Spacing (can use Bootstrap's spacing utilities mostly) */
  --section-padding-y: 5rem; /* Default section padding */
  --header-height: 70px; /* Approximate header height for offsets */

  /* UI Components */
  --button-border-radius: 8px;
  --card-border-radius: 12px;
  --input-border-radius: 6px;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-family-body);
  color: var(--text-color-dark);
  background-color: var(--bg-light-color);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-headings);
  color: var(--text-color-headings-dark);
  font-weight: 500;
  margin-bottom: 0.75em;
  line-height: 1.3;
}
.section-title {
    color: var(--text-color-headings-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* Subtle shadow for depth */
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed-fast) ease-in-out;
}

a:hover {
  color: var(--primary-darker-color);
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Global Button Styles
--------------------------------------------------------------*/
.btn {
  font-family: var(--font-family-headings);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--button-border-radius);
  transition: all var(--transition-speed-normal) var(--transition-easing);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 2px solid transparent;
}

.btn-primary.eco-button,
.eco-button {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-light-color);
}

.btn-primary.eco-button:hover,
.eco-button:hover {
  background-color: var(--primary-darker-color);
  border-color: var(--primary-darker-color);
  color: var(--text-light-color);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


.btn-outline-primary.eco-button-outline,
.eco-button-outline {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background-color: transparent;
}

.btn-outline-primary.eco-button-outline:hover,
.eco-button-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(var(--primary-color), 0.3);
}

/* Accent Button for special CTAs */
.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light-color);
}
.btn-accent:hover {
  background-color: var(--accent-darker-color);
  border-color: var(--accent-darker-color);
  color: var(--text-light-color);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.navbar-brand img {
  max-height: 40px;
}

.bg-light-eco {
  background-color: var(--bg-light-eco-color) !important;
}

header.sticky-top {
  z-index: 1030; /* Ensure header is above other content */
}

.navbar-light .navbar-nav .nav-link {
  font-family: var(--font-family-headings);
  color: var(--text-color-dark);
  padding: 0.8rem 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-speed-fast) ease;
}

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

.navbar-toggler {
  border-color: rgba(0,0,0,0.1);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(94, 140, 97, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  min-height: 85vh; /* Responsive height */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section .container {
    position: relative; /* For parallax content if needed */
    z-index: 2;
}

.hero-section h1, .hero-section p {
  color: var(--text-light-color); /* STROGO: Text in hero section must be WHITE */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}
.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size */
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Sections General Styling
--------------------------------------------------------------*/
section {
  padding: var(--section-padding-y) 0;
  overflow: hidden; /* For animations */
}

.section-title {
  margin-bottom: 3rem; /* More space for section titles */
  font-weight: 700;
  letter-spacing: 1px;
}

/* Parallax Background Placeholder (JS will handle actual parallax) */
.parallax-bg {
  /* background-attachment: fixed; -- Can be used for simple parallax if no JS */
}

/*--------------------------------------------------------------
# Card Styles (General)
--------------------------------------------------------------*/
.card {
  border: 1px solid var(--border-color);
  border-radius: var(--card-border-radius);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-speed-normal) var(--transition-easing), box-shadow var(--transition-speed-normal) var(--transition-easing);
  background-color: #fff; /* Ensure cards have a background */
  display: flex; /* STROGO */
  flex-direction: column; /* STROGO */
  /* align-items: center;  STROGO - this centers the card-image and card-body blocks, which is good. */
  height: 100%; /* For equal height cards in rows */
  text-align: left; /* Default text align for card content */
}

.card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--card-hover-shadow);
}

.card .card-image { /* STROGO */
  width: 100%;
  overflow: hidden;
  border-top-left-radius: var(--card-border-radius);
  border-top-right-radius: var(--card-border-radius);
  /* Fixed height for image containers in most cards */
  /* This will be overridden by specific card types if needed */
  max-height: 250px; /* Example, adjust per card type */
  display: flex; /* To center image if it's smaller than container */
  align-items: center;
  justify-content: center;
}

.card .card-image img {
  width: 100%;
  height: 100%; /* Fill the card-image container */
  object-fit: cover; /* STROGO */
  transition: transform var(--transition-speed-normal) var(--transition-easing);
}

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

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Allows card body to fill remaining space */
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color-headings-dark);
  margin-bottom: 0.75rem;
}

.card-text, .card-subtitle, .nunito-font_small {
  color: var(--text-color-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}
.nunito-font_small {
    font-size: 0.85rem;
}

/* Specific Card types */
/* Info Card (Insights) */
.info-card .card-image {
    max-height: 300px;
}

/* Workshop Card */
.workshop-card .card-image {
    max-height: 200px;
}
.workshop-card .card-body {
    text-align: center;
}
.workshop-card .btn {
    margin-top: auto; /* Push button to bottom */
}


/* Project Card */
.project-card .card-image {
    max-height: 280px;
}

/* Team Card */
.team-card {
    text-align: center; /* STROGO */
}
.team-card .card-image { /* Override general card-image behavior for team profile pics */
    max-width: 150px; /* For rounded-circle */
    max-height: 150px;
    margin: 1rem auto 0; /* STROGO */
    border-radius: 50% !important; /* Ensure it's a circle */
    border: 4px solid var(--bg-light-eco-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.team-card .card-image img {
    border-radius: 50%;
}
.team-card .card-title {
    font-size: 1.25rem;
    margin-top: 1rem;
}
.team-card .card-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
}

/* Accolade Card (Why Choose Us) */
.accolade-card {
    text-align: center;
}
.accolade-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: inline-block;
    padding: 15px;
    background-color: var(--bg-light-eco-color);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    line-height: 40px; /* Adjust for icon centering */
}
.accolade-card h4 {
    font-size: 1.3rem;
}

/* Success Story Card */
.success-story-card {
    overflow: hidden; /* For rounded images inside */
    background-color: var(--bg-light-eco-color);
}
.success-story-card .card-image {
    max-height: none; /* Let image define height or set fixed */
    border-radius: 0;
}
.success-story-card .card-image img {
    border-top-left-radius: var(--card-border-radius);
    border-bottom-left-radius: var(--card-border-radius);
    object-fit: cover;
    height: 100%;
}
@media (max-width: 767px) {
    .success-story-card .row > div[class^="col-md-"] {
        text-align: center;
    }
    .success-story-card .card-image img {
        border-radius: var(--card-border-radius) var(--card-border-radius) 0 0;
        max-height: 250px;
        width: auto;
        margin: 0 auto;
    }
}

/* Resource Card (External Links) */
.resource-card {
    background-color: var(--bg-light-eco-color);
}
.resource-card .card-title a {
    color: var(--text-color-headings-dark);
    font-size: 1.1rem;
}
.resource-card .card-title a:hover {
    color: var(--primary-color);
}


/*--------------------------------------------------------------
# Workshops Section
--------------------------------------------------------------*/
/* Styles already covered by .workshop-card */

/*--------------------------------------------------------------
# Vision Section
--------------------------------------------------------------*/
#vision img {
    border-radius: var(--card-border-radius);
}

/*--------------------------------------------------------------
# Projects Section
--------------------------------------------------------------*/
/* Styles already covered by .project-card */

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
/* Styles already covered by .team-card */

/*--------------------------------------------------------------
# Accolades Section
--------------------------------------------------------------*/
/* Styles already covered by .accolade-card */

/*--------------------------------------------------------------
# Success Stories Section (Carousel)
--------------------------------------------------------------*/
#successStoriesCarousel .carousel-indicators button {
  background-color: var(--primary-color);
  opacity: 0.5;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}
#successStoriesCarousel .carousel-indicators button.active {
  opacity: 1;
}
#successStoriesCarousel .carousel-control-prev-icon,
#successStoriesCarousel .carousel-control-next-icon {
  background-color: var(--primary-darker-color);
  border-radius: 50%;
  padding: 15px; /* Increase padding to make controls larger */
  width: 30px; /* Adjust size */
  height: 30px; /* Adjust size */
  background-size: 60%; /* Adjust icon size within */
}

/*--------------------------------------------------------------
# Clientele Section
--------------------------------------------------------------*/
#clientele .list-group-item {
    background-color: transparent;
    border: none;
    padding-left: 0;
    font-size: 1.1rem;
}
#clientele .list-group-item i {
    color: var(--primary-color);
    width: 25px; /* Ensure icons align */
}

/*--------------------------------------------------------------
# Sustainability Section
--------------------------------------------------------------*/
#sustainability img {
    border-radius: var(--card-border-radius);
}

/*--------------------------------------------------------------
# External Resources Section
--------------------------------------------------------------*/
/* Styles covered by .resource-card */

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-form {
    background-color: var(--text-light-color); /* White background for form */
    border-radius: var(--card-border-radius);
}
.modern-input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color-dark);
  background-color: var(--bg-light-eco-color);
  background-clip: padding-box;
  border: 1px solid var(--input-border-color);
  appearance: none;
  border-radius: var(--input-border-radius);
  transition: border-color var(--transition-speed-fast) ease-in-out, box-shadow var(--transition-speed-fast) ease-in-out;
}
.modern-input:focus {
  color: var(--text-color-dark);
  background-color: var(--text-light-color);
  border-color: var(--input-focus-border-color);
  outline: 0;
  box-shadow: var(--input-focus-box-shadow);
}
.form-label {
    font-family: var(--font-family-headings);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
footer {
  background-color: var(--bg-dark-color);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

footer h5 {
  color: var(--text-light-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer .footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed-fast) ease-in-out;
  display: inline-block;
  padding: 0.25rem 0;
}

footer .footer-link:hover {
  color: var(--text-light-color);
  text-decoration: none; /* Remove underline for footer links on hover */
}

footer ul {
  padding-left: 0;
}

footer .nunito-font_small {
    color: rgba(255, 255, 255, 0.7);
}
footer hr {
    border-top-color: rgba(255,255,255,0.1);
}

/* Footer Social Links (Text-based) */
footer .list-unstyled li a[target="_blank"] { /* For social media links */
    font-weight: 500; /* Make them slightly bolder */
}


/*--------------------------------------------------------------
# Page Specific Styles
--------------------------------------------------------------*/
/* Success Page */
body.success-page { /* Add class 'success-page' to body in success.html */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.success-page main {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.success-message-container {
    max-width: 600px;
}
.success-message-container img {
    /* Animation for success icon can be added here or via JS */
}

/* Privacy & Terms Pages */
body.privacy-page main.container,
body.terms-page main.container { /* Add class to body in privacy/terms.html */
  padding-top: calc(var(--header-height) + 2rem); /* 100px or based on header */
  padding-bottom: 2rem;
}
.page-content h1 { /* Main title on static pages */
    margin-bottom: 2rem;
}
.page-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}
.page-content p, .page-content li {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}


/* About Page Specifics */
body.about-page .page-content .feature-icon-small i {
    font-size: 2rem;
    padding: 10px;
    width: 60px;
    height: 60px;
    line-height: 40px;
}
body.about-page #team-detailed .team-card .card-image {
    max-width: 180px;
    max-height: 180px;
}


/*--------------------------------------------------------------
# Animations & Effects (Placeholders for JS interaction)
--------------------------------------------------------------*/
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--transition-easing), transform 0.6s var(--transition-easing);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.oswald-font {
  font-family: var(--font-family-headings) !important;
}
.nunito-font {
  font-family: var(--font-family-body) !important;
}
.nunito-font_small { /* Already defined in card text */ }

.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

.shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important; }


/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 70vh;
  }
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-padding-y: 3rem;
  }
  .hero-section {
    min-height: 60vh;
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  footer .col-md-4, footer .col-md-2, footer .col-md-3 {
    text-align: center;
    margin-bottom: 2rem;
  }
  footer .list-unstyled {
    padding-left: 0;
  }
}

/* Cookie Consent Basic Styles */
#cookieConsentPopup {
    font-family: var(--font-family-body);
}
#cookieConsentPopup a {
    color: #8ecae6; /* A light blue that stands out on dark bg */
    text-decoration: underline;
}
#cookieConsentPopup button {
    font-family: var(--font-family-headings);
    background-color: var(--primary-color);
}
#cookieConsentPopup button:hover {
    background-color: var(--primary-darker-color);
}