/*
Theme Name: Sasquatch Blog
Theme URI: https://sasquatch.com
Author: Sasquatch Carpet Cleaning
Author URI: https://sasquatch.com
Description: Custom WordPress theme matching the Angular blog design for Sasquatch Carpet Cleaning
Version: 1.0.0
License: GPL v2 or later
Text Domain: sasquatch-blog
Tags: blog, cleaning, custom-design, bootstrap, responsive
*/

/* Bootstrap and Font Awesome are loaded via functions.php for better performance */

/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Default link styles - use theme colors instead of Bootstrap blue */
a {
  color: #1FC6C7;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #FF662A;
  text-decoration: none;
}

a:focus,
a:active {
  color: #FF662A;
  outline: none;
}

/* Override Bootstrap's default blue colors with theme colors */
.text-primary {
  color: #1FC6C7 !important;
}

.link-primary {
  color: #1FC6C7 !important;
}

.link-primary:hover {
  color: #FF662A !important;
}

.bg-primary {
  background-color: #FF662A !important;
}

.border-primary {
  border-color: #1FC6C7 !important;
}

/* Override Bootstrap alert primary */
.alert-primary {
  background-color: rgba(31, 198, 199, 0.1) !important;
  border-color: #1FC6C7 !important;
  color: #1A1E32 !important;
}

/* Override Bootstrap badge primary */
.badge-primary,
.bg-primary {
  background-color: #FF662A !important;
}

/* Form controls focus state */
.form-control:focus {
  border-color: #1FC6C7 !important;
  box-shadow: 0 0 0 0.2rem rgba(31, 198, 199, 0.25) !important;
}

/* Custom checkbox and radio */
.form-check-input:checked {
  background-color: #1FC6C7 !important;
  border-color: #1FC6C7 !important;
}

/* Header Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
  background-color: #f8f9fa;
  padding: 10px 0;
  font-size: 14px;
}

.contact-info span {
  margin-right: 20px;
  color: #333;
}

.contact-info i {
  color: #1FC6C7;
  margin-right: 5px;
}

.contact-info a {
  color: #333;
  text-decoration: none;
}

.contact-info a:hover {
  color: #1FC6C7;
}

.top-bar .social-links a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  background-color: #1FC6C7;
  color: #fff;
  margin-left: 5px;
  transition: all 0.3s ease;
}

.top-bar .social-links a:hover {
  background-color: #FF662A;
  transform: translateY(-2px);
}

.main-nav {
  padding: 20px 0;
}

.navbar-brand {
  text-decoration: none;
}

.logo-img {
  max-height: 80px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #1A1E32;
  font-weight: 500;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #1FC6C7;
}

.navbar-nav .btn-primary {
  background-color: #FF662A !important;
  border-color: #FF662A !important;
  padding: 8px 20px !important;
  font-weight: 500;
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.navbar-nav .btn-primary:hover {
  background-color: #1FC6C7 !important;
  border-color: #1FC6C7 !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  color: #333;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #1FC6C7;
  padding-left: 25px;
}

.dropdown-header {
  font-weight: 600;
  color: #1A1E32;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1FC6C7 0%, #1A1E32 100%);
  padding: 60px 0 40px;
  color: #fff;
  margin-bottom: 0;
}

.page-header h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-header .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.page-header .breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.page-header .breadcrumb-item.active {
  color: #fff;
}

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, #1FC6C7 0%, #17A2A3 50%, #1A1E32 100%);
  padding: 40px 0 30px;
  color: #fff;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: -20%;
  width: 40%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') no-repeat center;
  background-size: contain;
  opacity: 0.3;
}

.blog-hero h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.blog-hero .lead {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-bottom: 15px;
}

.blog-hero .breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 10px;
}

.blog-hero .breadcrumb-item {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.blog-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.blog-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-hero .breadcrumb-item a:hover {
  color: #fff;
}

.blog-hero .breadcrumb-item.active {
  color: #fff;
}

/* Hero Meta Tags */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.hero-meta .meta-item {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-meta .meta-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-meta .meta-item i {
  margin-right: 8px;
  color: #FFE4D6;
}

/* Hero Stats */
.hero-stats {
  margin-top: 10px;
}

.hero-stats .stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats .stat-item i {
  color: #FFE4D6;
  opacity: 0.9;
}

.hero-stats .stat-item p {
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}

/* Blog Section */
.blog-section {
  padding: 40px 0 60px;
  background: #f8f9fa;
  min-height: auto;
}

/* Section Title */
.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1A1E32;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 16px;
  color: #91939D;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Post Card */
.blog-post {
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 30px;
  border-radius: 10px;
}

/* Ensure card images maintain quality */
.blog-post .card-img-top,
.blog-post img {
  width: 100%;
  height: auto;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

/* Blog Post Read More Button */
.blog-post .btn-primary,
.blog-post .read-more {
  background-color: #FF662A !important;
  border-color: #FF662A !important;
  color: #fff !important;
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-post .btn-primary:hover,
.blog-post .read-more:hover {
  background-color: #1FC6C7 !important;
  border-color: #1FC6C7 !important;
  transform: translateX(5px);
}

.post-image {
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Increased for better quality display */
  max-height: 480px;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.blog-post:hover .post-image img {
  transform: scale(1.08);
}

.post-date {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #1FC6C7;
  color: #fff;
  padding: 8px 12px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(31, 198, 199, 0.3);
}

.post-date .day {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 2px;
}

.post-date .month {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-post .card-body {
  padding: 25px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #91939D;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-meta i {
  color: #1FC6C7;
}

.post-title {
  margin-bottom: 15px;
}

.post-title h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.post-title a {
  color: #1A1E32;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #1FC6C7;
}

.post-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 30px;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-radius: 10px;
  background: #fff;
}

.sidebar-widget .card-body {
  padding: 25px;
  background: #fff;
}

.widget-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A1E32 !important;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #FF662A 0%, #1FC6C7 100%);
  border-image-slice: 1;
}

/* Ensure all widget text is visible */
.sidebar-widget p,
.sidebar-widget li,
.sidebar-widget a,
.sidebar-widget span {
  color: #495057 !important;
}

.sidebar-widget a:hover {
  color: #1FC6C7 !important;
}

/* Search Widget */
.search-form .input-group {
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}

.search-form .form-control {
  border: 1px solid #e0e0e0;
  padding: 10px 15px;
  border-right: none;
}

.search-form .btn-primary {
  background: #FF662A !important;
  border: 1px solid #FF662A !important;
  padding: 10px 20px;
}

.search-form .btn-primary:hover {
  background: #1FC6C7 !important;
  border: 1px solid #1FC6C7 !important;
}

/* Categories Widget */
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  color: #666;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #1FC6C7;
}

.category-list span {
  background: #f0f0f0;
  color: #91939D;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Recent Posts Widget */
.recent-posts .recent-post {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
}

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

.recent-post .post-thumb {
  flex-shrink: 0;
  width: 100px; /* Increased from 70px for better quality */
  height: 100px; /* Increased from 70px for better quality */
  border-radius: 8px;
  overflow: hidden;
}

.recent-post .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.recent-post .post-info h6 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.4;
}

.recent-post .post-info h6 a {
  color: #1A1E32;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post .post-info h6 a:hover {
  color: #1FC6C7;
}

.recent-post .post-date {
  position: static;
  background: transparent;
  color: #91939D;
  font-size: 12px;
  padding: 0;
  box-shadow: none;
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud .tag {
  display: inline-block;
  padding: 5px 12px;
  background: #f0f0f0;
  color: #666;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
  background: #1FC6C7;
  color: #fff;
  transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-form .form-control {
  border: 1px solid #e0e0e0;
  padding: 10px 15px;
  border-radius: 8px;
}

.newsletter-form .btn-primary,
.sidebar-widget .btn-primary {
  background-color: #FF662A !important;
  border-color: #FF662A !important;
  color: #fff !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.newsletter-form .btn-primary:hover,
.sidebar-widget .btn-primary:hover {
  background-color: #1FC6C7 !important;
  border-color: #1FC6C7 !important;
}

/* CTA Widget - Remove card styling */
.cta-widget {
  background: linear-gradient(135deg, #1FC6C7 0%, #17A2A3 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  border-radius: 10px !important;
}

.cta-widget.card {
  background: linear-gradient(135deg, #1FC6C7 0%, #17A2A3 100%) !important;
}

.cta-widget .card-body {
  background: transparent !important;
  color: #fff !important;
}

.cta-widget .card-body h5 {
  color: #fff !important;
  margin-bottom: 15px;
  font-weight: 600;
}

.cta-widget .card-body p {
  color: #fff !important;
  margin-bottom: 20px;
  opacity: 1 !important;
}

/* Pagination */
.pagination {
  margin-top: 40px;
}

.pagination .page-link {
  color: #1A1E32;
  border: 1px solid #e0e0e0;
  padding: 10px 15px;
  margin: 0 3px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: #1FC6C7;
  border-color: #1FC6C7;
  color: #fff;
}

.pagination .page-item.active .page-link {
  background: #1FC6C7;
  border-color: #1FC6C7;
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #91939D;
  background: #f8f9fa;
  border-color: #e0e0e0;
}

/* Single Post Styles */
.blog-detail-section {
  padding: 40px 0 60px;
  background: #fff;
}

.blog-detail .blog-header {
  margin-bottom: 30px;
}

.blog-detail .blog-header img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: 10px;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.blog-detail .post-meta {
  margin-top: 20px;
}

.blog-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* Blog content links should use theme colors */
.blog-content a {
  color: #1FC6C7;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.blog-content a:hover {
  color: #FF662A;
  text-decoration: underline;
}

.blog-content h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1A1E32;
  margin: 30px 0 20px;
}

.blog-content h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1A1E32;
  margin: 25px 0 15px;
}

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

.blog-content ul,
.blog-content ol {
  margin: 20px 0;
  padding-left: 30px;
}

.blog-content ul li,
.blog-content ol li {
  margin-bottom: 10px;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Blog Footer */
.blog-footer {
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.tags {
  margin-bottom: 30px;
}

.share-buttons {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  border: 1px solid rgba(31, 198, 199, 0.2);
}

.share-title {
  font-size: 18px;
  font-weight: 600;
  color: #1A1E32;
  margin-bottom: 20px;
}

.share-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Social Share Button Styles */
.social-share-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid;
  position: relative;
  overflow: hidden;
}

.social-share-btn i {
  margin-right: 6px;
  font-size: 16px;
}

.social-share-btn span {
  display: inline-block;
}

/* Facebook - Theme Teal */
.social-facebook {
  background: #1FC6C7;
  color: #fff;
  border-color: #1FC6C7;
}

.social-facebook:hover {
  background: #17A2A3;
  border-color: #17A2A3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(31, 198, 199, 0.3);
}

/* Twitter - Light Teal */
.social-twitter {
  background: rgba(31, 198, 199, 0.1);
  color: #1FC6C7;
  border-color: #1FC6C7;
}

.social-twitter:hover {
  background: #1FC6C7;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(31, 198, 199, 0.3);
}

/* WhatsApp - Theme Orange */
.social-whatsapp {
  background: #FF662A;
  color: #fff;
  border-color: #FF662A;
}

.social-whatsapp:hover {
  background: #E5521A;
  border-color: #E5521A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 102, 42, 0.3);
}

/* LinkedIn - Dark Blue */
.social-linkedin {
  background: #1A1E32;
  color: #fff;
  border-color: #1A1E32;
}

.social-linkedin:hover {
  background: #0F1119;
  border-color: #0F1119;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 30, 50, 0.3);
}

/* Email - Light Orange */
.social-email {
  background: rgba(255, 102, 42, 0.1);
  color: #FF662A;
  border-color: #FF662A;
}

.social-email:hover {
  background: #FF662A;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 102, 42, 0.3);
}

/* Responsive - Hide text on mobile */
@media (max-width: 576px) {
  .social-share-btn span {
    display: none;
  }
  
  .social-share-btn {
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    justify-content: center;
  }
  
  .social-share-btn i {
    margin-right: 0;
    font-size: 18px;
  }
  
  .share-buttons-group {
    justify-content: center;
  }
}

/* Related Posts */
.related-posts {
  padding: 40px 0;
  border-top: 1px solid #e0e0e0;
}

.related-posts h3 {
  font-size: 28px;
  font-weight: 700;
  color: #1A1E32;
  margin-bottom: 30px;
}

.related-posts .card {
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

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

.related-posts .card-img-top {
  height: 250px; /* Increased for better quality */
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.related-posts .card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1A1E32;
  margin-bottom: 10px;
}

.related-posts .card-text {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, #1FC6C7 0%, #1A1E32 100%);
  color: #fff;
  border-radius: 10px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.cta-box h3 {
  color: #fff;
  margin-bottom: 15px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
}

.cta-box .btn-primary {
  background: #FF662A !important;
  border: 1px solid #FF662A !important;
  color: #fff !important;
}

.cta-box .btn-primary:hover {
  background: #fff !important;
  border: 1px solid #fff !important;
  color: #1FC6C7 !important;
}

/* CTA Box Outline Button (Get Quote) */
.cta-box .btn-outline-primary {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}

.cta-box .btn-outline-primary:hover {
  background: #fff !important;
  border: 2px solid #fff !important;
  color: #FF662A !important;
}

/* Comments Section */
.comments-area {
  margin-top: 50px;
  padding: 0;
  background: transparent;
  border-radius: 10px;
}

.comments-title,
.comment-reply-title {
  font-size: 24px;
  font-weight: 700;
  color: #1A1E32;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.comment-reply-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #1FC6C7;
  border-radius: 2px;
}

/* Comment Form Card */
.comment-respond {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-top: 30px;
  border: 1px solid #e8e8e8;
}

/* Comment Form */
.comment-form {
  margin-top: 20px;
  font-size: 0; /* Remove whitespace between inline-block elements */
}

.comment-form p {
  margin-bottom: 20px;
  font-size: 14px; /* Reset font size */
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: #1A1E32;
  margin-bottom: 8px;
  font-size: 14px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  font-family: inherit;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: #1FC6C7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 198, 199, 0.1);
  background: #fff;
}

.comment-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

/* Form layout - name/email in single row */
.comment-form-author {
  display: inline-block;
  width: 49%;
  margin-right: 2%;
  margin-bottom: 20px;
  vertical-align: top;
}

.comment-form-email {
  display: inline-block;
  width: 49%;
  margin-bottom: 20px;
  vertical-align: top;
}

.comment-form-url {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.comment-form-comment {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .comment-form-author,
  .comment-form-email {
    display: block;
    width: 100%;
    margin-right: 0;
  }
}

/* Placeholder styling */
.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: #a8a8a8;
  font-style: italic;
}

@media (max-width: 768px) {
  .comment-respond {
    padding: 25px 20px;
  }
}

.comment-form .comment-form-cookies-consent {
  margin: 20px 0;
  display: flex;
  align-items: flex-start;
  clear: both;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
  margin-right: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}

.comment-form .comment-form-cookies-consent label {
  font-weight: normal;
  font-size: 14px;
  margin-bottom: 0;
  display: inline;
}

.comment-form .submit {
  background: #FF662A;
  border: none;
  color: #fff;
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.comment-form .submit:hover {
  background: #1FC6C7;
  transform: translateY(-2px);
}

.comment-form .submit:active {
  transform: translateY(0);
}

.comment-notes {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
}

.comment-notes .required {
  color: #FF662A;
  font-weight: 600;
}

.required {
  color: #FF662A;
  font-weight: 700;
}


.comment-list {
  list-style: none;
  padding: 0;
}

.comment {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid #1FC6C7;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.comment-meta {
  font-size: 14px;
  color: #91939D;
}

.comment-content {
  margin-top: 15px;
  color: #333;
}

/* Footer Styles */
.site-footer {
  background-color: #1A1E32;
  color: #ecf0f1;
  margin-top: 0;
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-logo {
  max-width: 280px;
  height: auto;
}

.footer-widget .widget-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.company-desc {
  color: #bdc3c7;
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 10px;
  white-space: nowrap;
}

.footer-widget .row .col-6:first-child .footer-links {
  padding-right: 10px;
}

.footer-widget .row .col-6:last-child .footer-links {
  padding-left: 10px;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

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

.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #ecf0f1;
  font-size: 15px;
}

.contact-list i {
  color: #1FC6C7;
  margin-right: 10px;
  width: 20px;
}

.contact-list a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-list a:hover {
  color: #1FC6C7;
  text-decoration: none;
}

.footer-widget .social-links .social-link {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #1FC6C7;
  color: #fff;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-widget .social-links .social-link:hover {
  background-color: #FF662A;
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: #131621;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.version-info {
  color: #bdc3c7;
}

.copyright-text {
  color: #ecf0f1;
  margin: 0;
  font-size: 14px;
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-bottom-links li {
  display: inline;
}

.footer-bottom-links a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #1FC6C7;
}

/* Developer Credits - Subtle attribution at the very bottom */
.developer-credits {
  background-color: #131621; /* Same as footer-bottom for seamless look */
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03); /* Very subtle separator */
  position: relative; /* Ensure proper stacking context */
  z-index: 1; /* Keep below any fixed positioned elements like back-to-top button */
}

.developer-credits small {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25); /* Very subtle - 25% opacity */
  letter-spacing: 0.3px;
}

.developer-credits a {
  color: rgba(255, 255, 255, 0.3); /* Subtle link color */
  text-decoration: none;
  transition: color 0.3s ease;
}

.developer-credits a:hover {
  color: rgba(255, 255, 255, 0.4); /* Only slightly brighter on hover */
  text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
  .page-header h1 {
    font-size: 32px;
  }
  
  .blog-hero h1 {
    font-size: 36px;
  }
  
  .blog-hero .lead {
    font-size: 18px;
  }
  
  .hero-meta {
    gap: 10px;
  }
  
  .hero-meta .meta-item {
    font-size: 13px;
    padding: 6px 12px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .post-title h3 {
    font-size: 20px;
  }
  
  .top-bar {
    display: none;
  }
  
  .footer-bottom .row > div {
    text-align: center !important;
    margin-bottom: 10px;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  /* Developer credits responsive */
  .developer-credits {
    padding: 8px 0;
  }
  
  .developer-credits small {
    font-size: 10px; /* Slightly smaller on mobile */
  }
}

@media (max-width: 767px) {
  .page-header {
    padding: 40px 0 30px;
  }
  
  .blog-hero {
    padding: 50px 0 40px;
  }
  
  .blog-hero h1 {
    font-size: 28px;
  }
  
  .blog-hero .lead {
    font-size: 16px;
  }
  
  .hero-stats {
    margin-top: 30px;
  }
  
  .hero-meta .meta-item {
    font-size: 12px;
    padding: 5px 10px;
  }
  
  .hero-meta .meta-item i {
    font-size: 14px;
  }
  
  .blog-section {
    padding: 30px 0 40px;
  }
  
  .post-meta {
    font-size: 12px;
  }
  
  .sidebar-widget {
    margin-top: 30px;
  }
  
  .footer-widget {
    text-align: center;
  }
  
  .footer-widget .social-links {
    justify-content: center;
  }
  
  .contact-list li {
    justify-content: center;
  }
}

/* ===========================
   FIX WIDGET TEXT VISIBILITY
   =========================== */

/* General Widget Text Fix */
.widget,
.sidebar .widget,
.sidebar-widget,
#secondary .widget {
  background: #fff !important;
  color: #495057 !important;
}

/* All primary buttons should use theme colors */
.btn-primary {
  background-color: #FF662A !important;
  border-color: #FF662A !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #1FC6C7 !important;
  border-color: #1FC6C7 !important;
  color: #fff !important;
}

/* Outline primary buttons */
.btn-outline-primary {
  background-color: transparent !important;
  border-color: #FF662A !important;
  color: #FF662A !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #FF662A !important;
  border-color: #FF662A !important;
  color: #fff !important;
}

.widget p,
.widget li,
.widget span,
.widget div,
.sidebar .widget p,
.sidebar .widget li,
.sidebar .widget span,
.sidebar-widget p,
.sidebar-widget li,
.sidebar-widget span {
  color: #495057 !important;
}

/* Widget Titles */
.widget h2,
.widget h3,
.widget h4,
.widget h5,
.widget-title,
.sidebar .widget-title {
  color: #1A1E32 !important;
  background: transparent !important;
}

/* Widget Links */
.widget a,
.sidebar .widget a,
.sidebar-widget a {
  color: #333 !important;
  text-decoration: none;
}

.widget a:hover,
.sidebar .widget a:hover,
.sidebar-widget a:hover {
  color: #1FC6C7 !important;
}

/* Categories Widget */
.widget_categories ul li,
.widget_categories ul li a,
.categories-list li,
.categories-list li a {
  color: #495057 !important;
}

.widget_categories .count,
.post-count,
.categories-list .count {
  color: #6c757d !important;
  background: #f8f9fa !important;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Recent Posts Widget */
.widget_recent_entries ul li,
.widget_recent_entries ul li a,
.recent-posts-list li,
.recent-posts-list li a {
  color: #333 !important;
}

.widget_recent_entries .post-date,
.recent-posts-list .date {
  color: #6c757d !important;
  font-size: 13px;
}

/* Tag Cloud Widget */
.widget_tag_cloud a,
.tagcloud a,
.tag-cloud a {
  background: #f8f9fa !important;
  color: #1A1E32 !important;
  border: 1px solid #1FC6C7 !important;
}

.widget_tag_cloud a:hover,
.tagcloud a:hover,
.tag-cloud a:hover {
  background: #1FC6C7 !important;
  border-color: #1FC6C7 !important;
  color: #fff !important;
}

/* Search Widget */
.widget_search input,
.search-form input {
  color: #495057 !important;
  background: #fff !important;
}

.widget_search button,
.search-form button {
  background: #FF662A !important;
  color: #fff !important;
}

/* Archives Widget */
.widget_archive ul li,
.widget_archive ul li a {
  color: #495057 !important;
}

/* Meta Widget */
.widget_meta ul li,
.widget_meta ul li a {
  color: #495057 !important;
}

/* Text Widget */
.widget_text,
.textwidget {
  color: #495057 !important;
}

/* Custom HTML Widget */
.widget_custom_html {
  color: #495057 !important;
}

/* Calendar Widget */
.widget_calendar table {
  color: #495057 !important;
}

.widget_calendar caption {
  color: #1A1E32 !important;
  font-weight: 600;
}

/* Ensure CTA Widget text stays white */
.cta-widget,
.cta-widget p,
.cta-widget h5,
.cta-widget span,
.cta-widget div,
.cta-widget .card-body,
.cta-widget .card-body *,
.sidebar-widget.cta-widget p,
.sidebar-widget.cta-widget h5,
.sidebar-widget.cta-widget span {
  color: #fff !important;
  opacity: 1 !important;
}

/* Specifically target CTA widget content */
.sidebar .cta-widget,
#secondary .cta-widget,
.widget.cta-widget {
  background: linear-gradient(135deg, #1FC6C7 0%, #17A2A3 100%) !important;
}

.sidebar .cta-widget p,
.sidebar .cta-widget h5,
#secondary .cta-widget p,
#secondary .cta-widget h5,
.widget.cta-widget p,
.widget.cta-widget h5 {
  color: #fff !important;
  opacity: 1 !important;
}

/* CTA widget button */
.cta-widget .btn,
.cta-widget button {
  background: #fff !important;
  color: #1FC6C7 !important;
  border: 2px solid #fff !important;
  font-weight: 600;
}

.cta-widget .btn i,
.cta-widget button i {
  color: #1FC6C7 !important;
}

.cta-widget .btn:hover,
.cta-widget button:hover {
  background: transparent !important;
  color: #fff !important;
}

.cta-widget .btn:hover i,
.cta-widget button:hover i {
  color: #fff !important;
}