/* 
* Main Stylesheet for Ris-s-apelsinom Energy Portal
* Author: Ris-s-apelsinom
* Version: 1.0
*/

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

:root {
  /* Color Palette */
  --primary: #2E8B57; /* Green */
  --primary-dark: #1e5d3a;
  --primary-light: #57b983;
  --secondary: #1E5C9B; /* Blue */
  --secondary-dark: #134070;
  --secondary-light: #4081c8;
  --accent: #f39c12; /* Orange */
  --accent-dark: #c27e0e;
  --accent-light: #f7b44e;
  --dark: #333333;
  --medium: #777777;
  --light: #f8f9fa;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-heading: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* Dimensions */
  --header-height: 80px;
  --container-width: 1200px;
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-dark);
}

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

ul {
  list-style: none;
}

button, .btn {
  cursor: pointer;
  font-family: var(--font-primary);
  transition: var(--transition);
  border: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient);
  border-radius: 3px;
}

.section-header p {
  color: var(--medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

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

.btn-tertiary:hover {
  background: var(--light);
  border-color: var(--dark);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
}

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

.logo a {
  display: block;
}

nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
}

.nav-menu li a {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient);
  transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.mobile-menu-button {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
}

.mobile-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

/* Main Content Sections */
main {
  margin-top: var(--header-height);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--dark);
  color: var(--white);
  padding: 6rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

.service-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

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

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

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

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--gradient);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-icon {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-title {
  font-size: 1rem;
  opacity: 0.8;
}

/* Blog Preview Section */
.blog-preview {
  padding: 5rem 0;
  background-color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

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

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

.blog-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-date {
  color: var(--medium);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

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

.blog-card p {
  margin-bottom: 1.5rem;
  color: var(--medium);
}

.read-more {
  font-weight: 500;
  color: var(--primary);
}

.read-more:hover {
  color: var(--primary-dark);
}

.blog-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: var(--light);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-item {
  display: none;
}

.testimonial-item.active {
  display: block;
}

.testimonial-content {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.quote-icon {
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--dark);
}

.author-position {
  color: var(--medium);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.prev-testimonial,
.next-testimonial {
  background: transparent;
  border: none;
  color: var(--medium);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-testimonial:hover,
.next-testimonial:hover {
  color: var(--primary);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin: 0 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--medium);
  opacity: 0.5;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  opacity: 1;
  background-color: var(--primary);
}

/* Newsletter Section */
.newsletter {
  padding: 5rem 0;
  background: var(--gradient);
  color: var(--white);
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.newsletter-form {
  width: 100%;
}

.form-group {
  display: flex;
  margin-bottom: 1rem;
}

.form-group input {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.form-group button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  text-align: left;
}

.form-consent input {
  margin-top: 0.2rem;
}

.form-consent a {
  color: var(--white);
  text-decoration: underline;
}

.form-consent a:hover {
  opacity: 0.8;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-column ul li {
  margin-bottom: 0.7rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--white);
}

.footer-contact h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.footer-contact address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact address p {
  margin-bottom: 0.7rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact address p svg {
  margin-top: 0.3rem;
}

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

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

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

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

.cookie-settings-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  text-decoration: underline;
  font-size: 0.9rem;
}

.cookie-settings-button:hover {
  color: var(--white);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  transform: translateY(20px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
}

/* Blog Page Specific Styles */
.blog-page {
  padding: 5rem 0;
}

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}

.blog-page .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-page .blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-page .blog-content p {
  flex: 1;
}

/* Article Page Specific Styles */
.article {
  padding: 5rem 0;
}

.article-header {
  margin-bottom: 3rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--medium);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.article-date, .article-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.article-text h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.article-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-cta {
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 3rem;
  text-align: center;
}

/* Contact Page Specific Styles */
.contact-page {
  padding: 5rem 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  color: var(--primary);
  min-width: 24px;
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-top: 2rem;
  height: 300px;
}

.contact-map svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form-container h3 {
  margin-bottom: 1.5rem;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

.contact-form button {
  width: 100%;
}

/* Thank You Page Specific Styles */
.thank-you {
  padding: 8rem 0;
  text-align: center;
}

.thank-you-icon {
  color: var(--primary);
  margin-bottom: 2rem;
}

.thank-you h1 {
  margin-bottom: 1.5rem;
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Legal Pages Specific Styles */
.legal-page {
  padding: 5rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 2rem;
  list-style-type: disc;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

/* Services Page Specific Styles */
.services-page {
  padding: 5rem 0;
}

.service-detailed {
  padding: 4rem 0;
  border-bottom: 1px solid #eee;
}

.service-detailed:last-child {
  border-bottom: none;
}

.service-detailed-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detailed-image {
  order: 1;
}

.service-detailed:nth-child(odd) .service-detailed-image {
  order: 0;
}

.service-detailed-image svg {
  width: 100%;
  border-radius: var(--border-radius);
}

.service-detailed-text h2 {
  margin-bottom: 1.5rem;
}

.service-detailed-text p {
  margin-bottom: 1.5rem;
}

.service-features {
  margin-top: 2rem;
}

.service-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-feature-icon {
  color: var(--primary);
  min-width: 24px;
}

/* About Page Specific Styles */
.about-page {
  padding: 5rem 0;
}

.about-hero {
  margin-bottom: 4rem;
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-hero-text h1 {
  margin-bottom: 1.5rem;
}

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

.about-hero-image svg {
  width: 100%;
  border-radius: var(--border-radius);
}

.about-values {
  padding: 4rem 0;
  background-color: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.about-team {
  padding: 4rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

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

.team-member-image {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
}

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

.team-member-position {
  color: var(--medium);
  margin-bottom: 1rem;
}

/* Cookie Consent and Modal Styles */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 1000;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  display: none;
}

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

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-content h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.cookie-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--white);
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-settings-options {
  margin: 2rem 0;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cookie-option p {
  font-size: 0.9rem;
  color: var(--medium);
  margin-left: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  :root {
    --container-width: 90%;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content,
  .contact-wrapper,
  .service-detailed-content,
  .about-hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detailed-image,
  .service-detailed:nth-child(odd) .service-detailed-image {
    order: 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    height: auto;
    padding: 1rem 0;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-menu li a {
    display: block;
    padding: 1rem;
  }
  
  .mobile-menu-button {
    display: flex;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .form-group input,
  .form-group button {
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  .form-group input {
    margin-bottom: 1rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .services-grid,
  .blog-grid,
  .blog-page-grid,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-options {
    flex-direction: column;
  }
  
  .cookie-options button {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}

/* Services Page Styles */
.services-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/services-hero.svg') no-repeat center center/cover;
  color: var(--light);
  padding: 6rem 0;
  text-align: center;
}

.services-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.services-hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.service-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.service-section:nth-child(even) {
  background-color: var(--light-bg);
}

.service-section:last-child {
  border-bottom: none;
}

.service-section .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-header {
  text-align: center;
  margin-bottom: 2rem;
}

.service-header h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-header p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.feature-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-cta {
  text-align: center;
  margin-top: 3rem;
}

.service-cta .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* About Page Styles */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about-hero.svg') no-repeat center center/cover;
  color: var(--light);
  padding: 6rem 0;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-story {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
  width: 100%;
  display: block;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-mission {
  background-color: var(--light-bg);
  padding: 5rem 0;
  text-align: center;
}

.about-mission .container {
  max-width: 900px;
}

.about-mission h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-team {
  padding: 5rem 0;
  text-align: center;
}

.about-team h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.about-team p {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.member-info {
  padding: 1.5rem;
}

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.member-position {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.member-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.member-social a {
  color: var(--text-secondary);
  transition: color 0.3s;
}

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

.about-achievements {
  background-color: var(--light-bg);
  padding: 5rem 0;
  text-align: center;
}

.about-achievements h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 3rem;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.achievement-item {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.achievement-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.achievement-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.about-partners {
  padding: 5rem 0;
  text-align: center;
}

.about-partners h2 {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.about-partners p {
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.partner-logo {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  filter: grayscale(1);
  opacity: 0.7;
}

.partner-logo:hover {
  transform: scale(1.05);
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
}

/* Thank You Page Styles */
.thank-you-section {
  padding: 5rem 0;
  background-color: var(--light-bg);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background-color: white;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  color: var(--primary);
}

.thank-you-content h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.next-steps {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.next-steps h2 {
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

.next-steps-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.next-step-card {
  padding: 2rem;
  background-color: var(--light-bg);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.next-step-card svg {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.next-step-card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.next-step-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.next-step-card .btn {
  display: inline-block;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-values {
    grid-template-columns: 1fr;
  }
  
  .thank-you-content {
    padding: 2rem;
  }
  
  .next-steps-options {
    grid-template-columns: 1fr;
  }
}
