/* Base Styles */
:root {
  --primary-color: #4a6fb3;
  --primary-dark: #375591;
  --primary-light: #7392c7;
  --secondary-color: #f4a261;
  --secondary-dark: #e76f51;
  --secondary-light: #f8c49d;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --white: #ffffff;
  --off-white: #f9f9f9;
  --light-gray: #f2f2f2;
  --gray: #e0e0e0;
  --dark-gray: #aaaaaa;
  --border-color: #e5e5e5;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 6px;
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 1.5rem;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
}

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

.text-left {
  text-align: left;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  line-height: 1.5;
}

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

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

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

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

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

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

.btn-large {
  padding: 14px 28px;
  font-size: 1.125rem;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

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

.logo img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
}

.logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  margin: 0;
}

nav ul li {
  margin-left: 30px;
  list-style-type: none;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  position: relative;
  padding-bottom: 5px;
}

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

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-btn span {
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  background-image: linear-gradient(rgba(74, 111, 179, 0.9), rgba(74, 111, 179, 0.9)), url('images/7.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

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

.hero .btn:hover {
  background-color: var(--light-gray);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

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

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

.feature-item {
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
}

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

.feature-item .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
}

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

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

/* Recent Posts Section */
.recent-posts {
  padding: 80px 0;
  background-color: var(--light-gray);
}

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

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

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

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

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

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

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

.post-content {
  padding: 20px;
}

.post-date {
  color: var(--text-lighter);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.post-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

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

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 8px;
}

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

/* Newsletter Section */
.newsletter {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0 20px;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background-color: #2c3e50;
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: auto;
}

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

.footer-info p {
  margin-bottom: 1rem;
}

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

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  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-light);
  transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links ul {
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
  list-style-type: none;
}

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

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

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

.footer-contact svg {
  margin-right: 10px;
  flex-shrink: 0;
}

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

.copyright p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--dark-gray);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-links a {
  color: var(--dark-gray);
  font-size: 0.875rem;
}

.legal-links a:hover {
  color: var(--white);
}

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

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

.cookie-content p {
  margin: 0 20px 10px 0;
  flex: 1 1 100%;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-cookie {
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-cookie.customize {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.btn-cookie.reject {
  background-color: var(--gray);
  color: var(--text-color);
}

.btn-cookie:hover {
  filter: brightness(0.9);
}

.cookie-policy-link {
  font-size: 0.875rem;
  text-decoration: underline;
  margin-left: auto;
}

/* Page Number */
.page-number {
  text-align: center;
  padding: 10px 0;
  background-color: var(--light-gray);
  color: var(--text-light);
  font-size: 0.875rem;
  border-top: 1px solid var(--border-color);
}

/* Blog Page Styles */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
  background-image: linear-gradient(rgba(74, 111, 179, 0.9), rgba(74, 111, 179, 0.9)), url('images/7.jpg');
  background-size: cover;
  background-position: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

.blog-content {
  padding: 60px 0;
}

.blog-filters {
  margin-bottom: 40px;
}

.search-box {
  display: flex;
  max-width: 500px;
  margin-bottom: 20px;
}

.search-box input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-box button {
  width: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.categories {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.categories span {
  font-weight: 600;
  color: var(--text-color);
}

.categories a {
  padding: 6px 15px;
  border-radius: 20px;
  background-color: var(--light-gray);
  color: var(--text-light);
  font-size: 0.875rem;
  transition: var(--transition);
}

.categories a:hover,
.categories a.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.blog-posts {
  margin-bottom: 40px;
}

.blog-post {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}

.blog-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-post .post-image {
  width: 300px;
  height: 200px;
  margin-right: 30px;
  flex-shrink: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.blog-post .post-content {
  flex: 1;
  padding: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: var(--text-lighter);
}

.post-category {
  padding: 2px 10px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.75rem;
}

.blog-post h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--text-color);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination a:hover,
.pagination span.current {
  background-color: var(--primary-color);
  color: var(--white);
}

.pagination .next {
  width: auto;
  padding: 0 15px;
  border-radius: 20px;
}

/* About Page Styles */
.about-us {
  padding: 60px 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  width: 400px;
  flex-shrink: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.values {
  margin-bottom: 60px;
}

.values h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.value-item {
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  background-color: var(--white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.value-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
}

.team-section {
  margin-bottom: 60px;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

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

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

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--primary-light);
}

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

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

.team-member p:nth-child(3) {
  font-weight: 600;
  color: var(--primary-color);
}

.team-member .social-links {
  justify-content: center;
  margin-top: 1rem;
}

.team-member .social-links a {
  width: 32px;
  height: 32px;
  background-color: var(--light-gray);
  color: var(--text-color);
}

.cta-section {
  padding: 40px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--border-radius);
  text-align: center;
}

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

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

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

.cta-section .btn:hover {
  background-color: var(--light-gray);
}

/* Contact Page Styles */
.contact-content {
  padding: 60px 0;
}

.contact-info-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h2 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  margin-right: 20px;
  flex-shrink: 0;
}

.info-text h3 {
  margin-bottom: 0.5rem;
}

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

.contact-hours {
  font-size: 0.875rem;
  color: var(--text-lighter);
}

.info-text .social-links {
  margin-top: 0.5rem;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.contact-form-container h2 {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 111, 179, 0.2);
}

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

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

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

.submit-btn {
  width: 100%;
}

.tooltip {
  position: absolute;
  right: 10px;
  top: 40px;
  cursor: pointer;
  color: var(--text-lighter);
}

.tooltip:hover {
  color: var(--primary-color);
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  right: 0;
  background-color: var(--text-color);
  color: var(--white);
  padding: 5px 10px;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  width: 200px;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
  pointer-events: none;
}

.tooltip:hover::after {
  visibility: visible;
  opacity: 1;
  bottom: 130%;
}

.map-section {
  margin-bottom: 60px;
}

.map-section h2 {
  margin-bottom: 30px;
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.map-overlay p {
  max-width: 500px;
  margin-bottom: 20px;
}

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

.map-btn:hover {
  background-color: var(--light-gray);
  color: var(--text-color);
}

.faq-section {
  margin-bottom: 60px;
}

.faq-section h2 {
  margin-bottom: 30px;
}

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

.faq-question {
  padding: 20px;
  background-color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.faq-toggle {
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--light-gray);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 1000px;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  position: relative;
  transform: translateY(-50px);
  transition: var(--transition);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-lighter);
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--error-color);
}

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

.thank-you-content svg {
  color: var(--success-color);
  margin-bottom: 20px;
}

.thank-you-content h2 {
  margin-bottom: 15px;
}

.thank-you-content p {
  margin-bottom: 30px;
}

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

/* Blog Post Single Page */
.blog-post-single {
  padding: 60px 0;
}

.post-header {
  margin-bottom: 30px;
}

.post-header .post-meta {
  margin-bottom: 15px;
}

.post-header h1 {
  margin-bottom: 15px;
}

.post-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.post-featured-image {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 40px;
}

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

.post-content {
  margin-bottom: 40px;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-content ul, 
.post-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-image-small {
  margin: 30px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-image-small img {
  width: 100%;
}

.image-caption {
  padding: 10px 15px;
  background-color: var(--light-gray);
  color: var(--text-light);
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 0;
}

.post-callout {
  background-color: var(--light-gray);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-callout h4 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.post-callout p {
  margin-bottom: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.post-tags span {
  font-weight: 600;
  margin-right: 15px;
}

.post-tags a {
  display: inline-block;
  padding: 5px 10px;
  background-color: var(--light-gray);
  color: var(--text-light);
  border-radius: 3px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.post-share {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.post-share span {
  font-weight: 600;
  margin-right: 15px;
}

.post-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.share-facebook {
  background-color: #3b5998;
  color: var(--white);
}

.share-twitter {
  background-color: #1da1f2;
  color: var(--white);
}

.share-linkedin {
  background-color: #0077b5;
  color: var(--white);
}

.share-email {
  background-color: #ea4335;
  color: var(--white);
}

.post-share a:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.post-navigation-prev,
.post-navigation-next {
  width: 48%;
}

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

.post-navigation a {
  display: block;
  padding: 20px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.nav-label {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-lighter);
  margin-bottom: 5px;
}

.post-navigation-prev .nav-label svg {
  margin-right: 5px;
}

.post-navigation-next .nav-label svg {
  margin-left: 5px;
}

.nav-title {
  font-weight: 600;
  font-size: 1.125rem;
}

.related-posts {
  margin-bottom: 60px;
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 30px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

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

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

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

.related-post h3 {
  padding: 15px;
  font-size: 1rem;
  margin-bottom: 0;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-post .post-image {
    width: 250px;
    height: 170px;
  }
}

@media screen and (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    padding: 80px 20px 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 90;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 20px;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 100;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .blog-post {
    flex-direction: column;
  }
  
  .blog-post .post-image {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
    margin-top: 10px;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    margin-right: auto;
  }
  
  .cookie-policy-link {
    margin-left: 0;
    margin-top: 10px;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .post-navigation-prev,
  .post-navigation-next {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .features-grid,
  .posts-grid,
  .values-grid,
  .team-grid,
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    width: 100%;
    border-radius: var(--border-radius);
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .post-featured-image {
    height: 250px;
  }
}
