/* 
Theme: QuietHarbor - Professional Styling Blog
Version: 1.0
*/

/* Base Styles & Variables */
:root {
  --primary-color: #b8806d;
  --primary-dark: #a26e5c;
  --primary-light: #d9b3a3;
  --secondary-color: #2c3e50;
  --accent-color: #e5c3b5;
  --text-color: #333333;
  --text-light: #666666;
  --text-xlight: #999999;
  --bg-color: #ffffff;
  --bg-light: #f9f7f6;
  --bg-dark: #e9e5e3;
  --border-color: #e0e0e0;
  --border-dark: #cccccc;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --transition-fast: 0.2s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-size-increase: 1;
}

/* Font size increase utility */
.font-size-increased {
  --font-size-increase: 1.2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: calc(16px * var(--font-size-increase));
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

h1 {
  font-size: calc(2.5rem * var(--font-size-increase));
}

h2 {
  font-size: calc(2rem * var(--font-size-increase));
}

h3 {
  font-size: calc(1.5rem * var(--font-size-increase));
}

h4 {
  font-size: calc(1.25rem * var(--font-size-increase));
}

h5 {
  font-size: calc(1.125rem * var(--font-size-increase));
}

h6 {
  font-size: calc(1rem * var(--font-size-increase));
}

p {
  margin-bottom: 1.5rem;
  font-size: calc(1rem * var(--font-size-increase));
}

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

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

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

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

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: calc(1rem * var(--font-size-increase));
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

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

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

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

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

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

.mt-0 {
  margin-top: 0;
}

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

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

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

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

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

.lead {
  font-size: calc(1.125rem * var(--font-size-increase));
  font-weight: 300;
  line-height: 1.7;
}

.section-intro {
  font-size: calc(1.125rem * var(--font-size-increase));
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  text-align: center;
  line-height: 1.5;
  font-size: calc(1rem * var(--font-size-increase));
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: calc(0.875rem * var(--font-size-increase));
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: calc(1.125rem * var(--font-size-increase));
}

.btn-full {
  display: block;
  width: 100%;
}

/* Header & Navigation */
header {
  background-color: var(--bg-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--secondary-color);
  font-family: var(--font-heading);
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.75rem;
  border-radius: var(--border-radius-sm);
}

.logo span {
  font-size: calc(1.5rem * var(--font-size-increase));
  font-weight: 700;
}

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

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

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: calc(1rem * var(--font-size-increase));
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition-fast);
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

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

.nav-controls button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: 0.75rem;
  color: var(--text-color);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-controls button:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: var(--bg-light);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  font-size: calc(3rem * var(--font-size-increase));
}

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

/* Page Header */
.page-header {
  background-color: var(--bg-light);
  padding: 3rem 0;
  text-align: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  font-size: calc(1.125rem * var(--font-size-increase));
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Posts Section */
.featured-posts {
  padding: 5rem 0;
}

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

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

.post-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

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

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

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: calc(1.25rem * var(--font-size-increase));
  margin-bottom: 0.75rem;
}

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

.read-more {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(3px);
}

.view-all {
  text-align: center;
}

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

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

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

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

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

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

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.services-cta {
  text-align: center;
}

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

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

.testimonial-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonial-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  color: var(--text-color);
}

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

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

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

.testimonial-author h4 {
  margin-bottom: 0.25rem;
  font-size: calc(1rem * var(--font-size-increase));
}

.testimonial-author p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: calc(0.875rem * var(--font-size-increase));
}

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

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

@media (min-width: 768px) {
  .blog-card {
    flex-direction: row;
    height: 250px;
  }
}

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

.blog-image {
  flex: 0 0 100%;
  max-height: 250px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-image {
    flex: 0 0 40%;
    max-height: none;
  }
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-text {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.blog-text h2 {
  font-size: calc(1.5rem * var(--font-size-increase));
  margin-bottom: 0.75rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  font-size: calc(0.875rem * var(--font-size-increase));
  color: var(--text-xlight);
}

.blog-meta span {
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
}

.blog-meta span:last-child {
  margin-right: 0;
}

.blog-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

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

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

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

.newsletter-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

@media (min-width: 576px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: calc(1rem * var(--font-size-increase));
}

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

/* Footer Styles */
footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 5rem 0 2rem;
}

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

.footer-about img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
  border-radius: var(--border-radius-sm);
}

.footer-about h3 {
  color: white;
  margin-bottom: 1rem;
}

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

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

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

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

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

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

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

.footer-contact address p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact address p svg {
  margin-right: 0.75rem;
}

.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);
  border-radius: 50%;
  color: white;
  transition: background-color var(--transition-fast);
}

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

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Blog Post Styles */
.blog-post {
  padding: 5rem 0;
}

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

.post-header h1 {
  font-size: calc(2.5rem * var(--font-size-increase));
  margin-bottom: 1rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-xlight);
  font-size: calc(0.875rem * var(--font-size-increase));
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-content {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: calc(1.75rem * var(--font-size-increase));
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: calc(1.375rem * var(--font-size-increase));
}

.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: calc(1.125rem * var(--font-size-increase));
}

.post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

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

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

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: calc(0.875rem * var(--font-size-increase));
}

.post-tags span {
  margin-right: 1rem;
  color: var(--text-light);
}

.post-tags a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--transition-fast);
}

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

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  font-size: calc(0.875rem * var(--font-size-increase));
}

.post-share span {
  margin-right: 1rem;
  color: var(--text-light);
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 0.75rem;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--text-color);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.prev-post, .next-post {
  max-width: 45%;
}

.prev-post a, .next-post a {
  display: flex;
  flex-direction: column;
}

.prev-post a span:first-child, .next-post a span:first-child {
  font-size: calc(0.875rem * var(--font-size-increase));
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.prev-post a span:last-child, .next-post a span:last-child {
  font-weight: 500;
  color: var(--secondary-color);
}

.next-post {
  text-align: right;
}

.next-post a span:last-child::after {
  content: ' →';
}

.prev-post a span:last-child::before {
  content: '← ';
}

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

.related-posts h3 {
  margin-bottom: 2rem;
  text-align: center;
}

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

.related-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-med);
}

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

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

.related-card h4 {
  padding: 1rem 1rem 0.5rem;
  font-size: calc(1rem * var(--font-size-increase));
}

.related-card a {
  display: block;
  padding: 0 1rem 1rem;
  font-weight: 500;
}

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem;
  display: none;
}

.cookie-notice.visible {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    gap: 2rem;
  }
}

.cookie-content p {
  margin-bottom: 1rem;
  font-size: calc(0.875rem * var(--font-size-increase));
}

@media (min-width: 768px) {
  .cookie-content p {
    margin-bottom: 0;
    max-width: 60%;
  }
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.cookie-link {
  font-size: calc(0.875rem * var(--font-size-increase));
  margin-left: 1rem;
}

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

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

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 3fr 2fr;
  }
}

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

.about-content h2:first-child {
  margin-top: 0;
}

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

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

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

.about-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

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

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

.team-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

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

.team-member {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-med);
}

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

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

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

.team-member p {
  margin: 0 1.5rem 1.5rem;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

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

.values-section {
  padding: 5rem 0;
}

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

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

.value-card {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

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

.value-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.about-testimonials {
  background-color: var(--bg-light);
}

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

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

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

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-section .btn {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.cta-section .btn:hover {
  background-color: transparent;
  color: white;
}

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

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

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.contact-info > p {
  margin-bottom: 2.5rem;
}

.info-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 576px) {
  .info-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-icon {
  margin-right: 1rem;
  color: var(--primary-color);
}

.info-content h3 {
  margin-bottom: 0.5rem;
  font-size: calc(1.125rem * var(--font-size-increase));
}

.info-content p {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.connect-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-form-container {
  background-color: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-md);
}

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

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  font-size: calc(1rem * var(--font-size-increase));
  background-color: var(--bg-color);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.checkbox-group input {
  width: auto;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: calc(0.875rem * var(--font-size-increase));
}

.map-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.map-container img {
  width: 100%;
  height: auto;
}

.map-info {
  text-align: center;
}

.map-info p {
  margin-bottom: 1.5rem;
}

.faq-section {
  padding: 5rem 0;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-size: calc(1.25rem * var(--font-size-increase));
}

.faq-item p {
  color: var(--text-light);
  margin-bottom: 0;
}

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

.modal.visible {
  display: flex;
}

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-xlight);
}

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

.thank-you-message svg {
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

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

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

.close-btn {
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 991px) {
  h1 {
    font-size: calc(2.25rem * var(--font-size-increase));
  }
  
  h2 {
    font-size: calc(1.75rem * var(--font-size-increase));
  }
  
  .hero-content h1 {
    font-size: calc(2.5rem * var(--font-size-increase));
  }
  
  .post-header h1 {
    font-size: calc(2rem * var(--font-size-increase));
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }
  
  header .container {
    flex-direction: column;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .logo {
    margin-bottom: 0.75rem;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .nav-controls {
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .hero-content h1 {
    font-size: calc(2rem * var(--font-size-increase));
  }
  
  .hero-content p {
    font-size: calc(1.125rem * var(--font-size-increase));
  }
  
  .post-header h1 {
    font-size: calc(1.75rem * var(--font-size-increase));
  }
  
  .blog-text h2 {
    font-size: calc(1.25rem * var(--font-size-increase));
  }
  
  .post-content h2 {
    font-size: calc(1.5rem * var(--font-size-increase));
  }
  
  .post-content h3 {
    font-size: calc(1.25rem * var(--font-size-increase));
  }
}

@media (max-width: 575px) {
  .hero {
    padding: 3rem 0;
  }
  
  .hero-content h1 {
    font-size: calc(1.75rem * var(--font-size-increase));
  }
  
  .featured-posts, .services, .testimonials, .blog-content, .about-intro, .team-section, .values-section, .contact-section, .map-section, .faq-section {
    padding: 3rem 0;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
  }
  
  .next-post {
    text-align: left;
  }
}
