/* Global Styles */
:root {
  --primary-color: #4e7a9c;
  --primary-dark: #3a5d7c;
  --primary-light: #6998b8;
  --secondary-color: #f0ad4e;
  --secondary-dark: #d89940;
  --secondary-light: #f7c57c;
  --accent-color: #5bc0de;
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #1a1a1a;
  --background-color: #ffffff;
  --background-light: #f9f9f9;
  --background-dark: #e6e6e6;
  --success-color: #5cb85c;
  --error-color: #d9534f;
  --border-color: #dddddd;
  --border-radius: 4px;
  --box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-main: 'Open Sans', Arial, sans-serif;
  --font-heading: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--background-color);
}

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 4rem 0;
}

.btn, button {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
}

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

.secondary-button {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  display: inline-block;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Header */
header {
  background-color: white;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
}

.logo-container {
  display: flex;
  align-items: center;
}

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

header h1 {
  font-size: 1.5rem;
  margin: 0;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.ask-button {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  background-color: #f8f9fa;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
}

/* Services Section */
.services {
  padding: 4rem 5%;
  background-color: white;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-card {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

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

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

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

/* About Preview Section */
.about-preview {
  display: flex;
  align-items: center;
  padding: 4rem 5%;
  background-color: var(--background-light);
}

.about-image {
  flex: 1;
  padding-right: 2rem;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-content {
  flex: 1;
}

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

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

/* Recent Posts Section */
.recent-posts {
  padding: 4rem 5%;
  background-color: white;
}

.recent-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.post-card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

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

.posts-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 5%;
  background-color: var(--background-light);
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 3rem;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  padding: 2rem;
}

.testimonial-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.3;
}

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

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  padding: 4rem 5%;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

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

.cta-content h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-content .cta-button {
  background-color: white;
  color: var(--primary-color);
}

.cta-content .cta-button:hover {
  background-color: var(--background-light);
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 4rem 5% 2rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo .logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.footer-logo h3 {
  color: white;
  font-size: 1.2rem;
  text-align: center;
}

.footer-links h4, .footer-contact h4, .footer-social h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

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

.footer-links ul li a {
  color: #ccc;
  transition: var(--transition);
}

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

.footer-contact p {
  margin-bottom: 0.8rem;
  color: #ccc;
}

.footer-contact p i {
  margin-right: 0.5rem;
  color: var(--primary-light);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

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

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

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

.footer-bottom p {
  margin: 0;
  color: #ccc;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #ccc;
  transition: var(--transition);
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 1rem;
  z-index: 9999;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  flex-grow: 1;
}

.cookie-content a {
  color: var(--accent-color);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.cookie-button.accept {
  background-color: var(--success-color);
  color: white;
}

.cookie-button.customize, .cookie-button.reject {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-button:hover {
  opacity: 0.9;
}

/* Blog Page */
.page-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

.banner-content h1 {
  color: white;
  margin-bottom: 1rem;
}

.banner-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

.blog-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 4rem 5%;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-date, .post-category {
  display: flex;
  align-items: center;
}

.post-date::before {
  content: '\f073';
  font-family: 'Font Awesome 5 Free';
  margin-right: 0.3rem;
}

.post-category::before {
  content: '\f07b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 0.3rem;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.category-list {
  list-style: none;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.8rem;
}

.category-list li a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.category-list li a::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

.category-list li a:hover {
  color: var(--primary-color);
}

.popular-posts {
  list-style: none;
  margin: 0;
}

.popular-posts li {
  margin-bottom: 1rem;
}

.popular-posts li a {
  display: flex;
  gap: 1rem;
  color: var(--text-color);
}

.popular-posts li a img {
  width: 80px;
  height: 60px;
  object-fit: cover;
}

.popular-posts li a div {
  flex-grow: 1;
}

.popular-posts li a h4 {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  transition: var(--transition);
}

.popular-posts li a span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.popular-posts li a:hover h4 {
  color: var(--primary-color);
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.subscribe-form input {
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.subscribe-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.subscribe-form button:hover {
  background-color: var(--primary-dark);
}

/* Single Post Page */
.single-post {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 4rem 5%;
}

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

.post-header h1 {
  margin-bottom: 1rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

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

.author-name {
  font-weight: 600;
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-featured-image {
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.post-body {
  margin-bottom: 2rem;
}

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

.post-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
}

.post-body p {
  margin-bottom: 1rem;
}

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.post-tags span {
  font-weight: 600;
}

.post-tags a {
  background-color: var(--background-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-light);
  color: white;
}

.post-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.post-share span {
  font-weight: 600;
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--background-light);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

.share-icon:hover {
  background-color: var(--primary-color);
  color: white;
}

.related-posts {
  margin-bottom: 2rem;
}

.related-posts h3 {
  margin-bottom: 1.5rem;
}

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

.related-post {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.related-post:hover {
  transform: translateY(-5px);
}

.related-post a {
  color: var(--text-color);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post h4 {
  padding: 1rem;
  font-size: 1rem;
  margin: 0;
}

.post-comments {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.post-comments h3 {
  margin-bottom: 1.5rem;
}

.no-comments {
  color: var(--text-light);
  font-style: italic;
}

.comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.comment-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-content {
  flex-grow: 1;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 600;
}

.comment-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.comment-form h3 {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.author-bio {
  text-align: center;
}

.author-bio img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.author-bio h4 {
  margin-bottom: 0.5rem;
}

.author-bio p {
  margin-bottom: 1rem;
}

.author-bio .social-icons {
  justify-content: center;
}

/* About Page */
.about-intro {
  padding: 4rem 5%;
}

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

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

.values-list {
  margin-left: 1.2rem;
}

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

.team-section {
  background-color: var(--background-light);
  padding: 4rem 5%;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

.team-member {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

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

.team-member p:nth-of-type(1) {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--background-light);
  color: var(--text-color);
  border-radius: 50%;
  transition: var(--transition);
}

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

.credentials-section {
  padding: 4rem 5%;
}

.credentials-section .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.credentials-list {
  margin-left: 1.2rem;
}

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

.services-overview {
  background-color: var(--background-light);
  padding: 4rem 5%;
}

.services-overview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.service-item {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

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

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

.testimonials-section {
  padding: 4rem 5%;
}

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

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  padding: 2rem;
}

.testimonial-content {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.3;
}

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

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Contact Page */
.contact-info-section {
  padding: 4rem 5%;
}

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

.info-card {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
}

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

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

.info-card p, .info-card a {
  color: var(--text-color);
}

.info-card a:hover {
  color: var(--primary-color);
}

.contact-form-section {
  background-color: var(--background-light);
  padding: 4rem 5%;
}

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

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

.form-container h2 {
  margin-bottom: 1rem;
}

.form-container p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

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

.checkbox-group input {
  margin-top: 0.3rem;
}

.checkbox-group label {
  margin: 0;
  font-weight: normal;
}

.submit-button {
  grid-column: span 2;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: var(--primary-dark);
}

.map-container {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.map-container h2 {
  margin-bottom: 1.5rem;
}

.map {
  height: 300px;
  background-color: var(--background-light);
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.directions h3 {
  margin-bottom: 1rem;
}

.directions p {
  margin-bottom: 0.8rem;
}

.faq-section {
  padding: 4rem 5%;
}

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

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

.faq-item {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.emergency-section {
  background-color: #fdf1f1;
  padding: 4rem 5%;
  text-align: center;
}

.emergency-section h2 {
  color: var(--error-color);
  margin-bottom: 1.5rem;
}

.emergency-section p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.emergency-list {
  list-style: none;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: left;
}

.emergency-list li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.emergency-list li::before {
  content: '\f095';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--error-color);
}

.newsletter-section {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

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

.newsletter-content h2 {
  color: white;
  margin-bottom: 1rem;
}

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

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 1.5rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-dark);
}

.privacy-note {
  font-size: 0.8rem;
  margin-top: 1rem;
  opacity: 0.8;
}

.privacy-note a {
  color: white;
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
}

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

.thank-you-message {
  text-align: center;
}

.thank-you-message i {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.thank-you-message h2 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

.thank-you-message button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
}

.thank-you-message button:hover {
  background-color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero, .about-preview {
    flex-direction: column;
  }

  .hero-content, .about-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .blog-container, .single-post {
    grid-template-columns: 1fr;
  }

  .blog-post {
    grid-template-columns: 1fr;
  }

  .about-intro .container, .credentials-section .container, .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 0;
    margin-bottom: 1rem;
  }

  .hamburger {
    display: block;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .post-share {
    flex-wrap: wrap;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group.full-width {
    grid-column: span 1;
  }

  .submit-button {
    grid-column: span 1;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }

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