/* 
  Harmony Links - Main Stylesheet
  A modern, elegant design for a professional makeup artist website
*/

/* Base Styles & Typography */
:root {
  --primary-color: #e0a89c;
  --primary-dark: #c8917e;
  --secondary-color: #4a4a4a;
  --accent-color: #f5d6cd;
  --light-color: #f9f4f2;
  --dark-color: #333333;
  --text-color: #4a4a4a;
  --light-text: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196f3;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px = 1rem */
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 2rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: 30px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
}

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

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

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

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

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

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

/* Header & Navigation */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.5rem 0;
}

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

.logo img {
  max-height: 6rem;
}

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

nav ul li {
  margin: 0 1.5rem;
}

nav ul li a {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.8rem 0;
  position: relative;
}

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

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

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

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

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--light-color);
  padding: 12rem 0;
  position: relative;
  overflow: hidden;
  background-image: url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 4.8rem;
  color: var(--light-text);
  margin-bottom: 2rem;
}

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

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

.page-header h1 {
  color: var(--light-text);
  margin-bottom: 1rem;
}

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

/* Features Section */
.features {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

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

.feature-card {
  padding: 3rem;
  border-radius: 10px;
  background-color: var(--light-color);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

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

.feature-card .icon svg {
  width: 50px;
  height: 50px;
}

.feature-card h3 {
  margin-bottom: 1.5rem;
}

/* Timeline Section */
.timeline {
  padding: 8rem 0;
  background-color: var(--light-color);
}

.timeline h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-container::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: #fff;
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  top: 15px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.timeline-content::after {
  content: '';
  position: absolute;
  border-width: 10px;
  border-style: solid;
  top: 15px;
}

.timeline-item:nth-child(odd) .timeline-content::after {
  border-color: transparent transparent transparent white;
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-content::after {
  border-color: transparent white transparent transparent;
  left: -20px;
}

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

/* Testimonials Section */
.testimonials {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

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

.testimonial {
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  background-color: var(--light-color);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 2rem;
}

.testimonial-content p::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  left: 0;
  top: -2rem;
  color: var(--primary-color);
  opacity: 0.3;
}

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

.client img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1.5rem;
  object-fit: cover;
}

.client-info h4 {
  margin-bottom: 0.5rem;
}

.client-info p {
  margin-bottom: 0;
  color: var(--secondary-color);
}

/* CTA Section */
.cta {
  padding: 8rem 0;
  background-color: var(--primary-color);
  text-align: center;
  color: var(--light-text);
}

.cta h2 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

.cta .btn-secondary {
  background-color: var(--light-text);
  color: var(--primary-color);
}

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

/* Latest Posts Section */
.latest-posts {
  padding: 8rem 0;
  background-color: var(--light-color);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.post-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.post-preview {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-preview:hover {
  transform: translateY(-10px);
}

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

.post-preview h3 {
  padding: 2rem 2rem 0;
  font-size: 2rem;
}

.post-preview .date {
  color: var(--secondary-color);
  font-size: 1.4rem;
  padding: 0 2rem;
  margin-bottom: 1rem;
}

.post-preview p {
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.post-preview .read-more {
  display: block;
  padding: 0 2rem 2rem;
  color: var(--primary-color);
  font-weight: 500;
}

.view-all {
  text-align: center;
  margin-top: 4rem;
}

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

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

.footer-logo img {
  max-height: 6rem;
  margin-bottom: 2rem;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--light-text);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

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

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

.footer-links ul li a {
  color: #cccccc;
}

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

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

.footer-contact svg {
  margin-right: 1rem;
}

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

.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: var(--light-text);
  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;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.copyright {
  margin-bottom: 1rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: #cccccc;
  font-size: 1.4rem;
}

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

.company-info {
  font-size: 1.4rem;
  opacity: 0.8;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  color: var(--light-text);
  padding: 2rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.cookie-policy {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.cookie-policy a {
  color: var(--primary-color);
  text-decoration: underline;
}

.btn-accept, .btn-customize, .btn-decline {
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-accept {
  background-color: var(--primary-color);
  color: var(--light-text);
}

.btn-customize {
  background-color: transparent;
  border: 1px solid var(--light-text);
  color: var(--light-text);
}

.btn-decline {
  background-color: transparent;
  color: var(--light-text);
}

.btn-accept:hover, .btn-customize:hover, .btn-decline:hover {
  opacity: 0.9;
}

/* Blog Page Styles */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

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

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

.post-content {
  padding: 3rem;
}

.post-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.post-meta .date, .post-meta .category {
  color: var(--secondary-color);
}

.post-meta .category {
  background-color: var(--accent-color);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  color: var(--primary-dark);
}

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

.blog-post h2 a {
  color: var(--dark-color);
}

.blog-post h2 a:hover {
  color: var(--primary-color);
}

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

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

.blog-post .read-more:hover::after {
  margin-left: 1rem;
}

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

.newsletter-form input {
  flex: 1;
  padding: 1.2rem 2rem;
  border: none;
  border-radius: 30px 0 0 30px;
  font-size: 1.6rem;
}

.newsletter-form button {
  border-radius: 0 30px 30px 0;
}

/* Services Page Styles */
.service-intro {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

.service-section {
  padding: 8rem 0;
}

.service-section.alt-bg {
  background-color: var(--light-color);
}

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

.service-content.reverse {
  direction: rtl;
}

.service-content.reverse .service-details {
  direction: ltr;
}

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

.service-features {
  margin: 3rem 0;
}

.feature {
  display: flex;
  margin-bottom: 2rem;
}

.feature .icon {
  color: var(--primary-color);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature-text h4 {
  margin-bottom: 0.5rem;
}

.pricing-info {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 3rem;
}

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

.pricing-info ul {
  margin-bottom: 1.5rem;
}

.pricing-info .note {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 0;
}

.faq-section {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin-bottom: 0;
}

.toggle-icon {
  font-size: 2.4rem;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 0 2rem;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Page Styles */
.contact-section {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

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

.info-item {
  display: flex;
  margin-bottom: 3rem;
}

.info-item .icon {
  color: var(--primary-color);
  margin-right: 2rem;
  flex-shrink: 0;
}

.details h3 {
  margin-bottom: 0.5rem;
}

.social-connect {
  margin-top: 4rem;
}

.contact-form-container {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: 10px;
}

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

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

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

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

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

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

.checkbox-group input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

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

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

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

.location-map {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 4rem;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 2rem;
  top: 2rem;
  font-size: 2.8rem;
  font-weight: bold;
  cursor: pointer;
}

.thank-you-message svg {
  color: var(--success-color);
  width: 60px;
  height: 60px;
  margin-bottom: 2rem;
}

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

.close-btn {
  margin-top: 2rem;
}

/* About Us Page Styles */
.about-intro {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

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

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

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

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

.value-card {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

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

.team-section {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

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

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

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

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

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

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

.team-member .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0 2rem 2rem;
}

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

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

.achievements-section {
  padding: 8rem 0;
  background-color: var(--light-color);
}

.achievements-section h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.achievements-content {
  max-width: 1000px;
  margin: 0 auto;
}

.achievement-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

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

.stat-number {
  font-size: 4.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stat-label {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.achievement-text h3 {
  margin-bottom: 2rem;
}

.brands-section {
  padding: 8rem 0;
  background-color: #ffffff;
}

.brands-section h2 {
  text-align: center;
  margin-bottom: 5rem;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 4rem;
  align-items: center;
}

.brand-logo img {
  max-width: 100%;
  max-height: 80px;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.brand-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Blog Post Page Styles */
.blog-post-container {
  padding: 8rem 0;
  background-color: #ffffff;
}

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

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

.post-header .post-meta .author {
  color: var(--secondary-color);
}

.post-featured-image {
  margin-bottom: 4rem;
  border-radius: 10px;
  overflow: hidden;
}

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

.post-content h2 {
  margin-top: 4rem;
}

.post-content h3 {
  margin-top: 3rem;
}

.post-content ul, .post-content ol {
  margin-bottom: 3rem;
}

.post-conclusion {
  margin-top: 4rem;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 10px;
}

.post-author {
  display: flex;
  align-items: center;
  margin: 5rem 0;
  padding: 3rem;
  background-color: var(--light-color);
  border-radius: 10px;
}

.author-image {
  flex-shrink: 0;
  margin-right: 3rem;
}

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

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

.author-bio h4 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

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

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

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

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

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

.related-post h4 {
  padding: 1.5rem 1.5rem 0.5rem;
  margin-bottom: 0;
}

.related-post .date {
  padding: 0 1.5rem 1.5rem;
  color: var(--secondary-color);
  font-size: 1.4rem;
}

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

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

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

.nav-label {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.post-title {
  font-weight: 500;
}

.back-to-blog {
  align-self: center;
}

.back-to-blog a {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--light-color);
  border-radius: 30px;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 55%;
  }
  
  .achievement-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 52%;
  }
  
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 2rem;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 1rem 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
    position: absolute;
    top: 2.5rem;
    right: 2rem;
  }
  
  nav {
    display: none;
  }
  
  nav.active {
    display: block;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .post-image img {
    height: 250px;
  }
  
  .service-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-content.reverse {
    direction: ltr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-container::before {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-dot {
    left: 21px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after {
    left: -20px;
    border-color: transparent white transparent transparent;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .feature-cards, .testimonial-slider, .post-preview-container {
    grid-template-columns: 1fr;
  }
  
  .achievement-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
    margin-top: 1rem;
  }
  
  .post-navigation {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 30px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 30px;
  }
}
