/*
* HeartWell - Blood Flow Support & Heart Health
* Main Stylesheet
* 2023
*/

/* --------------------------
    Base Styles
--------------------------- */
:root {
  --primary-color: #e74c3c;
  --primary-dark: #c0392b;
  --secondary-color: #3498db;
  --secondary-dark: #2980b9;
  --text-color: #333;
  --text-light: #666;
  --text-dark: #111;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #f1f1f1;
  --accent-color: #2ecc71;
  --accent-dark: #27ae60;
  --border-color: #ddd;
  --border-radius: 6px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  --transition: all 0.3s ease;
  --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;
  --font-size-base: 16px;
  --container-width: 1200px;
}

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

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  overflow-x: hidden;
}

body.font-decreased {
  font-size: 14px;
}

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

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;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

section {
  padding: 4rem 0;
}

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

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

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

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

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

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* --------------------------
    Header & Navigation
--------------------------- */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

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

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

nav ul li a {
  color: var(--text-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  padding: 0.5rem;
  display: block;
  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);
}

.font-size-control {
  display: flex;
  align-items: center;
}

#decrease-font {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.875rem;
  padding: 0.5rem;
  transition: var(--transition);
}

#decrease-font svg {
  margin-right: 0.5rem;
}

#decrease-font:hover {
  color: var(--primary-color);
}

/* --------------------------
    Hero Section
--------------------------- */
.hero {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 80px);
  max-height: 700px;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

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

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

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

/* --------------------------
    Features Section
--------------------------- */
.features {
  background-color: var(--bg-color);
}

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

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

.feature-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

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

.feature-icon {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--primary-color);
}

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

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

/* --------------------------
    Expert Interview Section
--------------------------- */
.expert-interview {
  background-color: var(--bg-light);
}

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

.interview-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem;
}

.expert-image {
  flex: 0 0 300px;
}

.expert-image img {
  border-radius: var(--border-radius);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.interview-text {
  flex: 1;
}

.interview-text h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.interviewer {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.expert-answer {
  margin-bottom: 1.5rem;
}

.interview-text .btn {
  margin-top: 1rem;
}

/* --------------------------
    Latest Posts Section
--------------------------- */
.latest-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.post-card {
  background-color: var(--bg-light);
  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 20px 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: 1.5rem;
}

.post-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

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

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

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

.read-more {
  font-weight: 600;
  color: var(--primary-color);
}

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

/* --------------------------
    Newsletter Section
--------------------------- */
.newsletter {
  background-color: var(--primary-color);
  color: white;
}

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

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

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

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.newsletter-form button {
  background-color: var(--text-dark);
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

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

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

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

.footer-logo p {
  color: var(--text-light);
  font-size: 0.875rem;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

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

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

.footer-links ul li a {
  color: var(--text-light);
  font-size: 0.875rem;
  transition: var(--transition);
}

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

.footer-contact p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: var(--primary-color);
}

.footer-social {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--text-light);
  color: white;
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

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

/* --------------------------
    Cookie Banner
--------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-color);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

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

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

.cookie-content p {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

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

.cookie-link {
  font-size: 0.875rem;
  margin-left: 0.5rem;
}

/* --------------------------
    Page Header
--------------------------- */
.page-header {
  background-color: var(--bg-light);
  text-align: center;
  padding: 3rem 0;
}

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

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

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

.blog-post {
  margin-bottom: 3rem;
  display: flex;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.blog-post .post-image {
  flex: 0 0 300px;
  height: auto;
}

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

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

.post-date, .post-category {
  display: flex;
  align-items: center;
}

.post-meta svg {
  margin-right: 0.25rem;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.search-form {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.search-form input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  font-size: 0.875rem;
  font-family: var(--font-primary);
}

.search-form button {
  background-color: var(--bg-dark);
  border: none;
  padding: 0 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-form button:hover {
  background-color: var(--primary-color);
  color: white;
}

.categories-widget ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.categories-widget ul li {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.categories-widget ul li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.categories-widget ul li a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.categories-widget ul li a:hover {
  color: var(--primary-color);
}

.popular-posts-widget .popular-post {
  display: flex;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.popular-posts-widget .popular-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-posts-widget .popular-post img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-right: 1rem;
}

.popular-posts-widget h4 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.popular-posts-widget span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.subscribe-widget p {
  margin-bottom: 1rem;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
}

.subscribe-form input {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-family: var(--font-primary);
}

.subscribe-form button {
  width: 100%;
}

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

.post-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.post-header .post-meta {
  justify-content: center;
}

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

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

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

.post-intro {
  font-size: 1.2rem;
  color: var(--text-dark);
  line-height: 1.8;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.post-content h2 {
  color: var(--text-dark);
  margin-top: 3rem;
}

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

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

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

.post-image-content {
  margin: 2.5rem 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

.post-callout {
  background-color: var(--bg-light);
  border-left: 4px solid var(--secondary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-callout h3 {
  margin-top: 0;
  color: var(--secondary-dark);
}

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

.post-callout.warning {
  border-left-color: var(--primary-color);
}

.post-callout.warning h3 {
  color: var(--primary-dark);
}

.post-tags {
  margin: 3rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.post-tags span {
  font-weight: 600;
  margin-right: 1rem;
  color: var(--text-dark);
}

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

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

.post-share {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.post-share span {
  font-weight: 600;
  margin-right: 1rem;
  color: var(--text-dark);
}

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

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

.post-author-bio {
  display: flex;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 3rem 0;
}

.post-author-bio img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 2rem;
}

.author-details h3 {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.author-details h4 {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

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

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

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

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

.related-post {
  background-color: var(--bg-light);
  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 20px rgba(0, 0, 0, 0.1);
}

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

.related-post h3 {
  font-size: 1.1rem;
  margin: 1rem;
}

.related-post p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0 1rem 1rem;
}

/* --------------------------
    About Page Styles
--------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

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

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

.mission-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  align-items: center;
}

.mission-content h2 {
  margin-top: 0;
}

.mission-statement {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.mission-statement h3 {
  margin-top: 0;
  color: var(--primary-color);
}

.mission-statement p {
  margin-bottom: 0;
}

.values-list h3 {
  margin-bottom: 1.5rem;
}

.values-list ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.values-list li {
  display: flex;
  margin-bottom: 1.5rem;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--primary-color);
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.value-text h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

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

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

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

.team-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

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

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

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

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

.team-member h3 {
  margin: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
}

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

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

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

.team-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--text-light);
  margin: 0 0.5rem;
  transition: var(--transition);
}

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

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

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

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

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

.cta-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cta-form input {
  flex: 1;
  padding: 1rem;
  border: none;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.cta-form button {
  background-color: var(--text-dark);
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cta-form button:hover {
  background-color: var(--accent-color);
}

/* --------------------------
    Contact Page Styles
--------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(231, 76, 60, 0.1);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

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

.info-card p:last-child {
  margin-bottom: 0;
}

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

.contact-form-container h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-form-container p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

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

.form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

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

.contact-form textarea {
  resize: vertical;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-light);
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
  background-color: var(--bg-dark);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form button {
  grid-column: 1 / -1;
  margin-top: 1rem;
}

.map-section {
  margin-top: 4rem;
}

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

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

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

.modal.visible {
  display: flex;
}

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

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

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

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

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

.thank-you-message h2 {
  color: var(--accent-color);
  margin-top: 0;
}

.close-thank-you {
  margin-top: 1.5rem;
}

/* --------------------------
    Responsive Styles
--------------------------- */
@media (max-width: 1200px) {
  :root {
    --container-width: 960px;
  }
}

@media (max-width: 992px) {
  :root {
    --container-width: 720px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0;
    min-height: auto;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .interview-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .expert-image {
    margin-bottom: 2rem;
  }

  .about-layout,
  .mission-layout {
    grid-template-columns: 1fr;
  }

  .about-content,
  .mission-content {
    order: 1;
  }

  .about-image,
  .mission-image {
    order: 0;
    margin-bottom: 2rem;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    display: none;
  }

  .blog-post {
    flex-direction: column;
  }

  .blog-post .post-image {
    flex: none;
    height: 200px;
  }

  .post-author-bio {
    flex-direction: column;
    text-align: center;
  }

  .post-author-bio img {
    margin: 0 auto 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --container-width: 540px;
    --font-size-base: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  header .container {
    flex-direction: column;
  }

  .logo {
    margin-bottom: 1rem;
  }

  nav ul {
    justify-content: center;
  }

  nav ul li {
    margin: 0 0.75rem;
  }

  .font-size-control {
    margin-top: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-logo img {
    margin: 0 auto 1rem;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  :root {
    --container-width: 100%;
    --font-size-base: 14px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  nav ul li {
    margin: 0 0.5rem;
  }

  nav ul li a {
    font-size: 0.8rem;
    padding: 0.25rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .feature-grid,
  .post-grid,
  .related-posts-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .post-tags, .post-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-tags span, .post-share span {
    margin-bottom: 0.75rem;
  }

  .modal-content {
    padding: 1.5rem;
  }
}
