/* Base Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --border-color: #ddd;
  --shadow: 0 2px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
  --radius: 4px;
  --container-width: 1200px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #fff;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--primary-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Custom List Styles */
.custom-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

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

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

/* Header Styles */
header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

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

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

.logo h1 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

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

nav ul li {
  margin-left: 25px;
}

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

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

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

nav ul li a.active {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 120px 0;
  text-align: center;
  margin-bottom: 60px;
}

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

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Featured Section */
.featured {
  padding: 60px 0;
}

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

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

.featured-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.featured-item h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.featured-item p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

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

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

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

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

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

.post-content {
  padding: 20px;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
}

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

/* Services Section */
.services {
  padding: 60px 0;
}

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

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

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.service-icon {
  background-color: var(--light-color);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
}

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

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

.testimonial {
  background-color: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
}

.client-info {
  display: flex;
  align-items: center;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.client-info h4 {
  margin-bottom: 5px;
}

.client-info p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer Styles */
footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 60px 0 20px;
}

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

.footer-logo img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.footer-logo h3,
.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links ul li a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact p svg {
  margin-right: 10px;
  color: var(--secondary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

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

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

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

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--secondary-color);
}

/* Page Header */
.page-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/2.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 80px 0;
  margin-bottom: 60px;
}

.page-header h1 {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Blog Page Styles */
.blog-content {
  padding: 0 0 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

.post-image {
  height: 100%;
  min-height: 300px;
}

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

.blog-post .post-content {
  padding: 30px;
}

.blog-post h2 {
  margin-bottom: 10px;
}

.blog-post .post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.blog-post .btn {
  margin-top: 15px;
}

/* Subscribe Section */
.subscribe {
  padding: 60px 0;
  background-color: var(--light-color);
}

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

.subscribe-form {
  display: flex;
  margin-top: 30px;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 1rem;
}

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

/* Gallery Page Styles */
.gallery-filter {
  margin-bottom: 40px;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-btn {
  padding: 8px 20px;
  background-color: #fff;
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color);
  color: #fff;
}

.gallery-grid {
  padding: 0 0 60px;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h3 {
  color: #fff;
  margin-bottom: 5px;
}

.gallery-overlay p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

.team-section {
  padding: 60px 0;
  background-color: var(--light-color);
}

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

.team-member {
  background-color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

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

.team-member h3 {
  margin: 20px 0 5px;
}

.team-member p {
  padding: 0 20px;
  margin-bottom: 15px;
  color: var(--text-light);
}

.team-member p:first-of-type {
  font-weight: 600;
  color: var(--secondary-color);
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding-bottom: 20px;
}

.member-social a {
  color: var(--text-light);
  transition: var(--transition);
}

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

.values-section {
  padding: 60px 0;
}

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

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

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.value-icon {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.achievements {
  padding: 60px 0;
  background-color: var(--light-color);
}

.achievement-list {
  max-width: 800px;
  margin: 0 auto;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  background-color: #fff;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.achievement-icon {
  color: var(--secondary-color);
  margin-right: 20px;
  flex-shrink: 0;
}

.achievement-content h3 {
  margin-bottom: 10px;
}

.achievement-content p {
  margin-bottom: 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 40px;
  height: fit-content;
}

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

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

.info-icon {
  color: var(--secondary-color);
  margin-right: 15px;
  flex-shrink: 0;
}

.info-item h3 {
  margin-bottom: 5px;
}

.social-contact {
  margin-top: 40px;
}

.contact-form-container {
  background-color: #fff;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

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

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

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

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

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

.submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 15px;
}

.map-section {
  padding: 0 0 60px;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 450px;
}

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

.post-header {
  text-align: center;
  margin-bottom: 40px;
}

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

.post-featured-image {
  margin-bottom: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.post-content h2,
.post-content h3 {
  margin-top: 2rem;
}

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

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

.post-image-side {
  float: right;
  width: 350px;
  margin: 0 0 20px 20px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

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

.post-tags {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.post-tags a {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--light-color);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
}

.post-tags a:hover {
  background-color: var(--secondary-color);
  color: #fff;
}

.post-author-bio {
  margin-top: 60px;
  background-color: var(--light-color);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  align-items: center;
}

.post-author-bio img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 25px;
}

.author-details h3 {
  margin-bottom: 5px;
}

.author-details p:first-of-type {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.author-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.author-social a {
  color: var(--text-light);
}

.author-social a:hover {
  color: var(--secondary-color);
}

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

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

.post-nav-prev {
  text-align: left;
}

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

.post-navigation span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 5px;
}

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

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

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

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

.related-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

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

.related-post h3 {
  padding: 15px 15px 5px;
  font-size: 1.1rem;
}

.related-post .post-meta {
  padding: 0 15px 15px;
  font-size: 0.85rem;
}

/* Call to Action Sections */
.call-to-action {
  padding: 60px 0;
  background-color: var(--secondary-color);
  color: #fff;
  text-align: center;
}

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

.call-to-action h2 {
  color: #fff;
  margin-bottom: 20px;
}

.call-to-action p {
  margin-bottom: 30px;
}

.call-to-action .btn {
  background-color: #fff;
  color: var(--secondary-color);
}

.call-to-action .btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow: auto;
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 40px;
  width: 80%;
  max-width: 500px;
  border-radius: var(--radius);
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-light);
}

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

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

.close-btn {
  margin-top: 20px;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
}

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

.cookie-content p {
  margin-bottom: 20px;
}

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

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

.cookie-settings,
.cookie-decline {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
}

.cookie-settings:hover,
.cookie-decline:hover {
  background-color: var(--light-color);
  color: var(--secondary-color);
}

/* Button Hover Light Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn:hover::after {
  transform: translateX(0);
  opacity: 0;
}

/* Responsive Styles */
@media (max-width: 1100px) {
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .post-image {
    height: 400px;
  }
}

@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .post-image-side {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 10px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .subscribe-form {
    flex-direction: column;
  }
  
  .subscribe-form input {
    border-radius: var(--radius);
    margin-bottom: 10px;
  }
  
  .subscribe-form button {
    border-radius: var(--radius);
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .post-author-bio img {
    margin: 0 0 20px 0;
  }
  
  .author-social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .post-nav-prev,
  .post-nav-next {
    max-width: 100%;
    text-align: center;
  }
}
