/* Base Styles and Variables */
:root {
  --primary-color: #6415ff;
  --primary-dark: #5011cc;
  --secondary-color: #f6f8fd;
  --accent-color: #00d4ff;
  --text-color: #1a202c;
  --text-light: #4a5568;
  --text-lighter: #718096;
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --gray-300: #e2e8f0;
  --gray-400: #cbd5e0;
  --gray-500: #a0aec0;
  --success: #48bb78;
  --error: #e53e3e;
  --warning: #f6ad55;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 0.375rem;
  --border-radius-lg: 0.5rem;
  --max-width: 1200px;
  --transition: all 0.3s ease;
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.3;
  font-weight: 700;
  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;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.btn:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

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

/* Header and Navigation */
header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 100;
  padding: 1rem 0;
}

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

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

.logo img {
  height: 50px;
  width: auto;
}

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: 1rem;
  padding: 0.5rem 0;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 2px;
  right: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
  left: 0;
  background: var(--primary-color);
}

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

nav ul li a.active:after {
  width: 100%;
  left: 0;
}

/* Hero Section */
.hero {
  background-color: var(--secondary-color);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero h1 span {
  display: block;
  font-size: 1.25rem;
  color: var(--text-lighter);
  font-weight: 500;
  margin-top: 0.5rem;
}

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

.hero-image {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  max-width: 600px;
}

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

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

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

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

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

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

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

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

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

/* Recent Posts Section */
.recent-posts {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

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

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

.post-content h3 a:hover {
  color: var(--primary-color);
}

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

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  position: relative;
}

.read-more:after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

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

/* Subscription Section */
.subscription {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: var(--white);
}

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

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

.subscription p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.subscription input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.subscription button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--accent-color);
  color: var(--text-color);
}

.subscription button:hover {
  background-color: #00bfe3;
}

.subscriber-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.subscriber-count span {
  font-weight: 700;
}

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

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-column p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

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

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

.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(--white);
  transition: var(--transition);
}

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

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

address {
  font-style: normal;
  color: var(--gray-400);
}

address p {
  margin-bottom: 0.5rem;
}

address a {
  color: var(--gray-400);
}

address a:hover {
  color: var(--white);
}

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

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

.page-header h1 span {
  display: block;
  font-size: 1.25rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  font-weight: 500;
}

.page-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.blog {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  gap: 3rem;
}

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

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

.blog-post .post-image {
  height: 100%;
}

.blog-post .post-content {
  padding: 2rem;
}

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

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

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

.subscription-banner {
  margin-top: 4rem;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
}

.subscription-banner .subscription-content {
  text-align: center;
}

.subscription-banner h2 {
  color: var(--text-color);
}

.subscription-banner p {
  color: var(--text-light);
}

.subscription-banner .form-group {
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

.subscription-banner input {
  border: 1px solid var(--gray-300);
}

.subscription-banner button {
  background-color: var(--primary-color);
  color: var(--white);
}

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

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

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

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

.post-header h1 span {
  display: block;
  font-size: 1.25rem;
  color: var(--text-lighter);
  margin-top: 0.5rem;
  font-weight: 500;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  color: var(--text-lighter);
  font-size: 1rem;
}

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

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

.post-body {
  max-width: 800px;
  margin: 0 auto;
}

.post-intro {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.post-body h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

.post-tags {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-300);
}

.post-tags span {
  font-weight: 600;
  margin-right: 1rem;
}

.post-tags a {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.post-author-bio {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 4rem 0;
  padding: 2rem;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-lg);
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.post-comments {
  margin-top: 4rem;
}

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

.comment-form {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
}

.comment-form h4 {
  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.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(100, 21, 255, 0.1);
}

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

.about-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.values {
  padding: 5rem 0;
}

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

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

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

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

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

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

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

.testimonials {
  padding: 5rem 0;
  background-color: var(--secondary-color);
}

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

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

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

.testimonial-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 2rem;
}

.testimonial-content p::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  left: -1rem;
  top: -1.5rem;
}

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

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

.testimonial-author h4 {
  margin-bottom: 0.25rem;
}

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

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

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

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

.cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.cta .btn {
  background-color: var(--white);
  color: var(--primary-color);
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.cta .btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

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

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

.info-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

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

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

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

.social-connect h3 {
  margin-bottom: 1.5rem;
}

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

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

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-container label {
  margin-bottom: 0;
  font-weight: 400;
}

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

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

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

.faq {
  padding: 5rem 0;
}

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

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

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

.faq-question h3 {
  margin-bottom: 1rem;
  position: relative;
  padding-right: 2rem;
}

.faq-question h3:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

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

.modal-content {
  position: relative;
  background-color: var(--white);
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

.thank-you-message p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.close-btn {
  display: inline-block;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  padding: 1.5rem;
  display: block;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.cookie-more-info {
  font-size: 0.875rem;
  color: var(--text-lighter);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    width: 35%;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero-image {
    position: static;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    transform: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post .post-image {
    height: 200px;
  }
  
  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .features, .recent-posts, .blog, .about-intro, .team, .values, .testimonials, .contact, .map-section, .faq {
    padding: 3rem 0;
  }
  
  .subscription-banner {
    padding: 2rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .modal-content {
    margin: 20% auto;
    padding: 1.5rem;
  }
}
