/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #07b1d0f3;
  --secondary: #07b1d0;
  --accent: #07b1d0;
  --light: #f0f9f4;
  --dark: #0b2a25;
  --text: #333;
  --text-light: #666;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: #f8fafc;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Top Bar Styles */
.topbar {
  background: var(--secondary);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-left {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-right i {
  font-size: 0.8rem;
  opacity: 0.9;
}

.phone {
  margin-right: 10px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

.logo-image {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  vertical-align: middle;
  margin: 0 5px;
}

.logo-text {
  color: var(--dark);
  font-weight: 700;
}

.main-nav ul {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  align-items:center;
}

.main-nav li {
  margin-left: 15px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.main-nav a:hover {
  color: var(--secondary);
}

.main-nav a.active {
  color: var(--secondary);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.btn-outline:hover {
  background: var(--text);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(42, 178, 123, 0.2);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><path d="M500 50c-150 0-150 50-300 50s-150-50-300-50 150-50 300-50 150 50 300 50z"/></svg>');
  background-size: cover;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.blog-meta-item i {
  color: var(--light);
}

.blog-category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Blog Content Section */
.blog-content {
  padding: 80px 0;
  background: var(--white);
}

.blog-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.blog-main {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.blog-article {
  padding: 40px;
}

.blog-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.7;
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
}

.blog-section {
  margin-bottom: 40px;
}

.blog-section h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.blog-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.blog-section p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

.blog-section ul,
.blog-section ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.blog-section li {
  margin-bottom: 10px;
  color: var(--text-light);
}

.tip-box {
  background: var(--light);
  border-left: 4px solid var(--secondary);
  padding: 20px;
  margin: 25px 0;
  border-radius: 0 8px 8px 0;
}

.tip-box h3 {
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-box h3 i {
  color: var(--secondary);
}

.quote-box {
  background: var(--light);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
  position: relative;
}

.quote-box::before,
.quote-box::after {
  content: '"';
  position: absolute;
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.3;
}

.quote-box::before {
  top: 10px;
  left: 20px;
}

.quote-box::after {
  bottom: 10px;
  right: 20px;
}

.quote-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 15px;
}

.quote-author {
  color: var(--text-light);
  font-weight: 600;
}

/* Nutrition Table */
.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  box-shadow: var(--shadow);
  border-radius: 10px;
  overflow: hidden;
}

.nutrition-table th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.nutrition-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eee;
}

.nutrition-table tr:nth-child(even) {
  background: var(--light);
}

.nutrition-table tr:last-child td {
  border-bottom: none;
}

/* Food Groups */
.food-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.food-group {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.food-group:hover {
  transform: translateY(-5px);
}

.food-group-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: var(--secondary);
}

.food-group h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.food-group p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Blog Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post {
  display: flex;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.recent-post-content h4 {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.recent-post-content h4 a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.recent-post-content h4 a:hover {
  color: var(--secondary);
}

.recent-post-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.categories-list {
  list-style: none;
}

.categories-list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.categories-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-list a {
  color: var(--text);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  transition: var(--transition);
}

.categories-list a:hover {
  color: var(--secondary);
}

.categories-list span {
  background: var(--light);
  color: var(--secondary);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: var(--light);
  color: var(--text);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: var(--transition);
}

.tag:hover {
  background: var(--secondary);
  color: white;
}

.blog-cta {
  padding: 70px 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}


.blog-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/What Is a Plant-Based Diet_ Benefits and Foods to Eat.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.blog-cta h2 {
  color: var(--dark);
  font-size: 2.4rem;
  margin-bottom: 15px;
  position: relative;
  /* text-shadow: 4px 4px 8px rgb(255, 255, 255); */
  z-index: 2;
}

.blog-cta p {
  font-size: 1.2rem;
  color: var(--dark);
  /* text-shadow: 2px 2px 4px rgb(0, 0, 0); */
  max-width: 700px;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
}

.btn-primary {
  background: white;
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  font-size: 1rem;
}

.btn-primary:hover {
  background: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer with Logo */
.site-footer {
  background: var(--secondary);
  color: var(--text);
  padding: 30px 0 10px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 10px;
}

.footer-col h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 25px;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}
.footer-col i {
  color: var(--dark);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--dark);
}

.footer-col p {
  margin-bottom: 20px;
  color: var(--text);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-image {
  height: 80px;
  width: auto;
  margin-right: 10px;
  color: var(--text);
}

.footer-logo-text {
  color: var(--text);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.9rem;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--text);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--text);
  color: var(--secondary);
  transform: translateY(-3px);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .blog-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .food-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 177, 208, 0.95);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
    backdrop-filter: blur(10px);
  }

  .main-nav.active ul {
    display: flex;
  }

  .main-nav a.active {
    color: var(--text);
  }

  .main-nav a:hover {
    color: var(--white);
  }

  .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--secondary);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
  }

  .btn-outline:hover {
    background: var(--text);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 178, 123, 0.2);
  }

  .main-nav li {
    margin: 10px 0;
  }

  .blog-hero {
    padding: 80px 0 40px;
  }

  .blog-article {
    padding: 25px;
  }

  .blog-meta {
    flex-direction: column;
    gap: 10px;
  }

  .food-groups {
    grid-template-columns: 1fr;
  }

  .nutrition-table {
    display: block;
    overflow-x: auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .blog-hero h1 {
    font-size: 2rem;
  }

  .blog-image {
    height: 250px;
  }

  .blog-section h2 {
    font-size: 1.5rem;
  }

  .scroll-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}
