/* Blog Page Styles */
.page-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/image/blog-hero.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 100px 5%;
  text-align: center;
  width: 100%;
  overflow-x: hidden;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Blog Layout */
.blog-content {
  padding: 60px 0;
  width: 100%;
  overflow-x: hidden;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* Featured Post */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.featured-image {
  position: relative;
  overflow: hidden;
}

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

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

.post-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6600;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.featured-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-content h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

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

.post-meta i {
  color: #ff6600;
}

.featured-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #ff6600;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 12px;
}

/* Posts Filter */
.posts-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f8f9fa;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: #ff6600;
  color: white;
}

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  padding: 5px 15px;
  transition: border-color 0.3s;
}

.search-box:focus-within {
  border-color: #ff6600;
}

.search-box input {
  border: none;
  padding: 8px;
  outline: none;
  width: 200px;
}

.search-box button {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  transition: color 0.3s;
}

.search-box button:hover {
  color: #ff6600;
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.post-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.4;
}

.post-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-stats {
  display: flex;
  gap: 15px;
  color: #999;
  font-size: 0.9rem;
}

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

.post-stats i {
  color: #ff6600;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.pagination-btn {
  background: #f8f9fa;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn:hover:not(.disabled) {
  background: #ff6600;
  color: white;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 10px;
}

.page-number {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.page-number:hover, .page-number.active {
  background: #ff6600;
  color: white;
}

/* Sidebar */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  color: #333;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #ff6600;
  border-radius: 2px;
}

.sidebar-widget p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.subscribe-btn {
  background: #ff6600;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background: #e55a00;
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-tag {
  background: #f0f7ff;
  color: #0066cc;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}

.topic-tag:hover {
  background: #0066cc;
  color: white;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post {
  display: flex;
  gap: 15px;
  align-items: center;
}

.recent-post img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.recent-post h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #333;
  line-height: 1.4;
}

.post-date {
  font-size: 0.8rem;
  color: #666;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: #ff6600;
  color: white;
  transform: translateY(-3px);
}

/* Newsletter Section */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
  color: white;
  text-align: center;
  width: 100%;
  overflow-x: hidden;
}

.newsletter-content h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.newsletter-content p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

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

.newsletter-form-side input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

.newsletter-form-side button {
  background: #333;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form-side button:hover {
  background: #000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .featured-post {
    grid-template-columns: 1fr;
  }
  
  .featured-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .posts-filter {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-buttons {
    justify-content: center;
  }
  
  .search-box {
    width: 100%;
  }
  
  .search-box input {
    width: 100%;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 60px 5%;
  }
  
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .recent-post {
    flex-direction: column;
    text-align: center;
  }
}

.newsletter-form-side{
  flex-wrap: wrap;
  flex-direction: column;
}

        /* Customer Experience Section Styles */
        .customer-experience-section {
            padding: 60px 0;
            background: #f8f9fa;
            width: 100%;
            overflow-x: hidden;
            border-radius: 12px;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            font-size: 2.2rem;
            color: #333;
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-header h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: #ff6600;
            border-radius: 2px;
        }
        
        .section-header p {
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .experience-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .share-experience-form {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .form-control:focus {
            border-color: #ff6600;
            outline: none;
        }
        
        textarea.form-control {
            min-height: 120px;
            resize: vertical;
        }
        
        .rating-input {
            display: flex;
            gap: 5px;
            margin-bottom: 10px;
            flex-direction: row-reverse;
            justify-content: flex-end;
        }
        
        .rating-input input {
            display: none;
        }
        
        .rating-input label {
            cursor: pointer;
            font-size: 24px;
            color: #ddd;
            transition: color 0.2s;
        }
        
        /* Fixed star rating logic */
        .rating-input input:checked ~ label,
        .rating-input:not(:has(input:checked)) label:hover,
        .rating-input:not(:has(input:checked)) label:hover ~ label {
            color: #ffcc00;
        }
        
        .rating-input input:checked + label,
        .rating-input input:checked ~ label {
            color: #ffcc00;
        }
        
        .rating-input:hover input:checked ~ label {
            color: #ddd;
        }
        
        .rating-input:hover label:hover,
        .rating-input:hover label:hover ~ label {
            color: #ffcc00;
        }
        
        .submit-btn {
            background: #ff6600;
            color: white;
            border: none;
            padding: 15px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background: #e55a00;
        }
        
        .customer-reviews {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .review-card {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            animation: fadeIn 0.5s ease-in-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }
        
        .review-author {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            background: #ff6600;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 20px;
        }
        
        .author-info h4 {
            margin-bottom: 5px;
            color: #333;
        }
        
        .review-date {
            color: #999;
            font-size: 0.9rem;
        }
        
        .review-rating {
            color: #ffcc00;
            font-size: 1.1rem;
        }
        
        .review-content h3 {
            color: #333;
            margin-bottom: 10px;
            font-size: 1.2rem;
        }
        
        .review-content p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        
        .review-image {
            width: 100%;
            border-radius: 8px;
            margin-bottom: 15px;
            max-height: 200px;
            object-fit: cover;
        }
        
        .review-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eee;
            padding-top: 15px;
            margin-top: 15px;
        }
        
        .review-location {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
            font-size: 0.9rem;
        }
        
        .review-actions {
            display: flex;
            gap: 15px;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: #999;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.9rem;
            transition: color 0.3s;
        }
        
        .action-btn:hover {
            color: #ff6600;
        }
        
        .success-message {
            display: none;
            background: #4CAF50;
            color: white;
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
            text-align: center;
        }
        
        .no-reviews {
            text-align: center;
            padding: 30px;
            color: #666;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }
        
        /* Responsive Design */
        @media (max-width: 1024px) {
            .experience-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }
        }
        
        @media (max-width: 768px) {
            .review-header {
                flex-direction: column;
                gap: 15px;
            }
            
            .review-author {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }
            
            .review-footer {
                flex-direction: column;
                gap: 15px;
                align-items: flex-start;
            }
            
            .review-actions {
                width: 100%;
                justify-content: space-between;
            }
        }

* {
  box-sizing: border-box;
}