/* ============================================
   GrowthX - Digital Marketing Agency
   Main Stylesheet
   ============================================ */

/* ============================================
   1. CSS VARIABLES (Easy Customization)
   ============================================ */
:root {
  /* Primary Colors - Orange/Red Gradient for Marketing */
  --primary-color: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary-color: #ff4757;
  --accent-color: #ff8c42;

  /* Gradient */
  --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff4757 100%);
  --gradient-secondary: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);

  /* Text Colors */
  --text-dark: #1a1a2e;
  --text-light: #6c757d;
  --text-white: #ffffff;
  --text-muted: #8892a0;

  /* Background Colors */
  --bg-dark: #1a1a2e;
  --bg-darker: #0f0f1a;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;

  /* Border & Shadow */
  --border-color: #e9ecef;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-family: 'Montserrat', sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.7;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   2. BASE STYLES & RESET
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Fix for mobile viewport height changes */
  height: -webkit-fill-available;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

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

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

/* ============================================
   3. UTILITY CLASSES
   ============================================ */

/* Gradient Text */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient Button */
.btn-gradient {
  background: var(--gradient-primary);
  color: var(--text-white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
  color: var(--text-white);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
}

.btn-outline-light:hover {
  background: var(--text-white);
  color: var(--text-dark);
  border-color: var(--text-white);
}

/* Section Padding */
.section-padding {
  padding: 100px 0;
}

/* Section Header */
.section-header {
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-description {
  font-size: 18px;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Background Variants */
.bg-dark {
  background: var(--bg-dark) !important;
}

.bg-dark .section-title,
.bg-dark .section-description {
  color: var(--text-white);
}

.bg-dark .section-description {
  color: var(--text-muted);
}

.bg-light {
  background: var(--bg-light) !important;
}

/* ============================================
   4. PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 107, 53, 0.2);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 74px;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.header a,
.header button,
.navbar a,
.navbar button {
  cursor: pointer !important;
}

.navbar {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  width: 100%;
  position: relative;
  z-index: 100;
}

.navbar-brand {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-white);
}

.navbar-nav {
  gap: 10px;
  position: relative;
  z-index: 100;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 10px 20px !important;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white) !important;
  background: rgba(255, 255, 255, 0.1);
}

.nav-link:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Toggle */
.navbar-toggler {
  border: none;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler:active {
  background: rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* ============================================
   6. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  background: var(--gradient-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.hero-shape.shape-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-color);
  top: -200px;
  right: -100px;
}

.hero-shape.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary-color);
  bottom: -150px;
  left: -100px;
}

.hero-shape.shape-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.15);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 20px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 20px 25px;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
  color: var(--text-white);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.stat-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 5px;
}

/* Hero Image */
.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

.floating-card {
  position: absolute;
  background: var(--bg-white);
  padding: 15px 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: 24px;
  color: var(--primary-color);
}

.floating-card span {
  font-weight: 700;
  color: var(--text-dark);
}

.floating-card.card-1 {
  top: 20%;
  left: -15px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 1.5s;
}

/* ============================================
   7. SERVICES SECTION
   ============================================ */
.services {
  background: var(--bg-white);
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: var(--transition-normal);
}

.service-icon i {
  font-size: 32px;
  color: var(--text-white);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.service-description {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  gap: 12px;
}

/* ============================================
   8. PORTFOLIO / CASE STUDIES SECTION
   ============================================ */
.portfolio {
  background: var(--bg-dark);
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.portfolio-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 107, 53, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-link {
  width: 50px;
  height: 50px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 20px;
  transform: scale(0);
  transition: var(--transition-normal);
}

.portfolio-card:hover .portfolio-link {
  transform: scale(1);
}

.portfolio-content {
  padding: 25px;
}

.portfolio-category {
  display: inline-block;
  background: rgba(255, 107, 53, 0.2);
  color: var(--primary-color);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.portfolio-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.portfolio-result {
  color: var(--text-muted);
  font-size: 14px;
}

.portfolio-result i {
  color: var(--primary-color);
  margin-right: 8px;
}

/* ============================================
   9. PROCESS SECTION
   ============================================ */
.process {
  background: var(--bg-white);
}

.process-card {
  text-align: center;
  padding: 30px 20px;
  position: relative;
}

.process-number {
  font-size: 72px;
  font-weight: 900;
  color: rgba(255, 107, 53, 0.1);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

.process-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto 25px;
  position: relative;
  z-index: 1;
}

.process-icon i {
  font-size: 36px;
  color: var(--text-white);
}

.process-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.process-description {
  font-size: 15px;
  color: var(--text-light);
}

/* ============================================
   10. TEAM SECTION
   ============================================ */
.team {
  background: var(--bg-light);
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  text-align: center;
  transition: var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

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

.team-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-social {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  transition: var(--transition-normal);
}

.team-card:hover .team-social {
  bottom: 0;
}

.team-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: var(--transition-normal);
}

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

.team-info {
  padding: 25px;
}

.team-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.team-role {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

/* ============================================
   11. TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  background: var(--bg-white);
}

.testimonials-slider {
  padding-bottom: 60px;
}

.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  margin: 10px;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--box-shadow);
  border-color: transparent;
}

.testimonial-rating {
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 18px;
  margin-right: 3px;
}

.testimonial-text {
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.author-info h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.author-info span {
  font-size: 14px;
  color: var(--text-light);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--border-color);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--gradient-primary);
}

/* ============================================
   12. BLOG SECTION
   ============================================ */
.blog-preview {
  background: var(--bg-dark);
}

.blog-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.blog-meta span {
  font-size: 13px;
  color: var(--text-muted);
}

.blog-meta i {
  margin-right: 6px;
  color: var(--primary-color);
}

.blog-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--text-white);
}

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

.blog-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.blog-link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-link:hover {
  gap: 12px;
}

/* ============================================
   13. CONTACT SECTION
   ============================================ */
.contact {
  background: var(--bg-white);
}

.contact-info {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

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

.contact-icon i {
  font-size: 22px;
  color: var(--text-white);
}

.contact-text h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-text p {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   14. FOOTER
   ============================================ */
.footer {
  background: var(--bg-darker);
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-widget p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo .logo-text {
  font-size: 28px;
}

.footer-description {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  transition: var(--transition-normal);
}

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

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 25px;
}

.footer-links li {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

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

/* Newsletter Form */
.newsletter-form {
  margin-top: 20px;
}

.newsletter-form .input-group {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  overflow: hidden;
}

.newsletter-form .form-control {
  background: transparent;
  border: none;
  color: var(--text-white);
  padding: 15px 20px;
}

.newsletter-form .form-control::placeholder {
  color: var(--text-muted);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
}

.newsletter-form .btn {
  border-radius: 50px;
  padding: 15px 25px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
}

.copyright {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  font-size: 14px;
  color: var(--text-muted);
}

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

/* ============================================
   15. BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed !important;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 9999;
  box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  color: var(--text-white);
}

/* ============================================
   16. PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  position: relative;
  background: var(--gradient-dark);
  padding: 180px 0 100px;
  overflow: hidden;
}

.page-header .hero-title {
  font-size: 48px;
}

.page-header .hero-description {
  max-width: 600px;
}

/* ============================================
   17. FEATURES PAGE STYLES
   ============================================ */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 10px 0;
  font-size: 16px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-list li i {
  font-size: 18px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition-normal);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
}

.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-card .feature-icon i {
  font-size: 28px;
  color: var(--text-white);
}

.feature-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   18. PRICING PAGE STYLES
   ============================================ */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-light);
  padding: 10px 25px;
  border-radius: 50px;
}

.billing-label {
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.billing-label.active {
  color: var(--text-dark);
}

.save-badge {
  background: var(--gradient-primary);
  color: var(--text-white);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  margin-left: 5px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border-color);
  border-radius: 26px;
  transition: var(--transition-normal);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--bg-white);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--gradient-primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-normal);
  position: relative;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: var(--box-shadow-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
}

.pricing-price .currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--text-light);
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  text-align: left;
}

.pricing-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-dark);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  font-size: 14px;
}

.pricing-features li .fa-check {
  color: #28a745;
}

.pricing-features li .fa-times {
  color: var(--text-muted);
}

.pricing-features li.disabled {
  color: var(--text-muted);
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition-normal);
}

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

/* Comparison Table */
.comparison-table {
  width: 100%;
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: var(--bg-dark);
  color: var(--text-white);
  font-weight: 600;
}

.comparison-table th:first-child {
  text-align: left;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table th.featured,
.comparison-table td.featured {
  background: rgba(255, 107, 53, 0.1);
}

.comparison-table th.featured {
  background: var(--primary-color);
}

/* Accordion Styles */
.accordion-item {
  background: var(--bg-white);
  border: 1px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  padding: 20px 25px;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 107, 53, 0.05);
  color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6b35'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 20px 25px;
  color: var(--text-light);
}

/* ============================================
   19. ABOUT PAGE STYLES
   ============================================ */
.about-stat {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.about-stat .stat-number {
  font-size: 36px;
  font-weight: 800;
  display: block;
  margin-bottom: 5px;
}

.about-stat .stat-label {
  font-size: 14px;
  color: var(--text-light);
}

.mission-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-card .mission-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.mission-card .mission-icon i {
  font-size: 28px;
  color: var(--text-white);
}

.mission-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 15px;
}

.mission-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.value-card .value-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card .value-icon i {
  font-size: 24px;
  color: var(--text-white);
}

.value-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

.award-card {
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-normal);
}

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

.award-card i {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.award-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

/* ============================================
   20. CONTACT PAGE STYLES
   ============================================ */
.contact-social .social-links {
  display: flex;
  gap: 12px;
}

.contact-social .social-link {
  width: 45px;
  height: 45px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: var(--transition-normal);
}

.contact-social .social-link:hover {
  background: var(--gradient-primary);
  color: var(--text-white);
}

.map-wrapper {
  border-radius: 0;
  overflow: hidden;
}

.map-wrapper iframe {
  display: block;
  filter: grayscale(100%);
  transition: var(--transition-normal);
}

.map-wrapper:hover iframe {
  filter: grayscale(0%);
}

/* ============================================
   21. CTA SECTION
   ============================================ */
.cta-section {
  background: var(--bg-white);
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  padding: 50px;
}

.cta-box h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.cta-box p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.cta-box .btn-gradient {
  background: var(--bg-white);
  color: var(--primary-color);
}

.cta-box .btn-gradient:hover {
  background: var(--bg-dark);
  color: var(--text-white);
}

.bg-dark .cta-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-dark .cta-box .btn-gradient {
  background: var(--gradient-primary);
  color: var(--text-white);
}

/* ============================================
   22. RESPONSIVE STYLES
   ============================================ */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 48px;
  }

  .section-title {
    font-size: 36px;
  }

  .hero-stats {
    gap: 30px;
  }

  .stat-number {
    font-size: 30px;
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-image {
    margin-top: 50px;
  }

  .floating-card.card-1 {
    left: 10px;
  }

  .floating-card.card-2 {
    right: 10px;
  }

  .navbar-collapse {
    background: rgba(26, 26, 46, 0.98);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .navbar > .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .navbar-toggler {
    position: relative;
    z-index: 100;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .navbar-nav {
    gap: 5px;
  }

  .nav-link {
    padding: 12px 15px !important;
  }

  .navbar-collapse .btn-gradient {
    margin-top: 15px;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .process-card {
    margin-bottom: 30px;
  }

  .contact-form-wrapper {
    padding: 30px;
  }
}

/* Small Devices (Landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(26, 26, 46, 0.98);
  }

  .header.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  /* Fix orange shapes on mobile - visible but subtle */
  .hero-shape {
    opacity: 0.25;
    filter: blur(60px);
    animation: none !important;
  }

  .hero-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
  }

  .hero-shape.shape-2 {
    width: 250px;
    height: 250px;
    bottom: -80px;
    left: -80px;
  }

  .hero-shape.shape-3 {
    width: 150px;
    height: 150px;
  }

  /* Disable floating animations on mobile */
  .floating-card {
    animation: none !important;
    display: none;
  }

  .section-padding {
    padding: 60px 0;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 10;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
  }

  .hero-buttons .btn.ms-3 {
    margin-left: 0 !important;
    margin-top: 0;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .stat-item {
    flex: 0 0 calc(50% - 10px);
  }

  .stat-number {
    font-size: 28px;
  }

  .floating-card {
    display: none;
  }

  .service-card {
    padding: 30px 20px;
  }

  .process-number {
    font-size: 56px;
  }

  .team-image img {
    height: 250px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin: 0 auto;
  }

  .footer-top {
    padding: 60px 0 30px;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
    margin-top: 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .logo-text {
    font-size: 24px;
  }

  .btn-gradient,
  .btn-outline-light {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 15px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 12px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
  }

  .service-icon i {
    font-size: 28px;
  }

  .process-icon {
    width: 80px;
    height: 80px;
  }

  .process-icon i {
    font-size: 30px;
  }

  .contact-form-wrapper {
    padding: 25px 20px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }

  /* Page Header Responsive */
  .page-header {
    padding: 140px 0 60px;
  }

  .page-header .hero-title {
    font-size: 28px;
  }

  /* Pricing Responsive */
  .pricing-card.featured {
    transform: scale(1);
    margin-top: 20px;
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .pricing-price .amount {
    font-size: 36px;
  }

  .billing-toggle {
    flex-wrap: wrap;
    justify-content: center;
  }

  .comparison-table {
    font-size: 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
  }

  /* About Responsive */
  .about-stat .stat-number {
    font-size: 28px;
  }

  .mission-card {
    padding: 25px;
  }

  /* CTA Responsive */
  .cta-box {
    padding: 30px 20px;
    text-align: center;
  }

  .cta-box h2 {
    font-size: 24px;
  }

  .cta-box p {
    font-size: 16px;
  }
}

/* ============================================
   23. BLOG POST SINGLE PAGE STYLES
   ============================================ */

/* Post Meta Header */
.post-meta-header {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.post-meta-header span {
  color: var(--text-muted);
  font-size: 14px;
}

.post-meta-header i {
  color: var(--primary-color);
  margin-right: 5px;
}

/* Blog Post Content Container */
.blog-post-content {
  background: var(--bg-white);
}

/* Featured Image */
.post-featured-image {
  margin-bottom: 40px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-slow);
}

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

/* Author Box (Top of Article) */
.post-author-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 30px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.post-author-box .author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.post-author-box .author-info h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 3px 0;
}

.post-author-box .author-info span {
  font-size: 14px;
  color: var(--text-light);
}

.post-share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-share span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.post-share a {
  width: 38px;
  height: 38px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 14px;
  transition: var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

/* Post Body - Article Content */
.post-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-dark);
}

.post-body p {
  margin-bottom: 24px;
}

.post-body p.lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.8;
  border-left: 4px solid var(--primary-color);
  padding-left: 25px;
  margin-bottom: 35px;
}

.post-body h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 45px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.post-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.post-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 35px 0 18px;
}

.post-body h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 15px;
}

.post-body ul,
.post-body ol {
  margin: 25px 0;
  padding-left: 0;
  list-style: none;
}

.post-body ul li,
.post-body ol li {
  position: relative;
  padding: 12px 0 12px 35px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.post-body ul li:last-child,
.post-body ol li:last-child {
  border-bottom: none;
}

.post-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-body ul li::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 18px;
  color: var(--text-white);
  font-size: 11px;
  font-weight: bold;
}

.post-body ol {
  counter-reset: list-counter;
}

.post-body ol li {
  counter-increment: list-counter;
}

.post-body ol li::before {
  content: counter(list-counter);
  position: absolute;
  left: 0;
  top: 12px;
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-body ul li strong,
.post-body ol li strong {
  color: var(--text-dark);
}

/* Blockquote */
.post-body blockquote {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 71, 87, 0.08) 100%);
  border-left: 5px solid var(--primary-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 35px 40px;
  margin: 40px 0;
  position: relative;
}

.post-body blockquote::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.3;
  line-height: 1;
}

.post-body blockquote p {
  font-size: 20px;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.post-body blockquote cite {
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
}

/* Post Tags */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
}

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

.post-tags .tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-normal);
}

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

/* Author Bio Box */
.author-bio-box {
  display: flex;
  gap: 25px;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  padding: 35px;
  margin: 40px 0;
}

.author-bio-box > img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  flex-shrink: 0;
}

.author-bio-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}

.author-bio-content > span {
  display: inline-block;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.author-bio-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.author-social {
  display: flex;
  gap: 10px;
}

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

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

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.post-nav-link {
  display: block;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 25px;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.post-nav-link:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.post-nav-link span {
  display: block;
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.post-nav-link h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.4;
}

.post-nav-link.next {
  text-align: right;
}

/* ============================================
   24. COMMENTS SECTION
   ============================================ */
.comments-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.comments-section > h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
}

/* Single Comment */
.comment {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border-color);
}

.comment:last-of-type {
  border-bottom: none;
}

.comment > img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.comment-header h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.comment-header span {
  font-size: 13px;
  color: var(--text-muted);
}

.author-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: var(--text-white);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.comment-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.reply-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
}

.reply-link:hover {
  color: var(--primary-dark);
}

/* Reply Comment (Nested) */
.comment.reply {
  margin-left: 80px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 20px;
  border-bottom: none;
  margin-top: 15px;
}

/* Comment Form */
.comment-form {
  margin-top: 40px;
  padding: 35px;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
}

.comment-form h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.comment-form .form-control {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 15px 20px;
  font-size: 15px;
  transition: var(--transition-normal);
}

.comment-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.comment-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ============================================
   25. BLOG SIDEBAR STYLES
   ============================================ */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
}

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

.search-form .form-control {
  border: 1px solid var(--border-color);
  border-right: none;
  padding: 15px 20px;
}

.search-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.search-form .btn {
  padding: 15px 20px;
  border-radius: 0;
}

/* Category List */
.category-list li {
  border-bottom: 1px solid var(--border-color);
}

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

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition-normal);
}

.category-list a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.category-list a span {
  background: var(--bg-light);
  color: var(--text-muted);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.category-list a:hover span {
  background: var(--gradient-primary);
  color: var(--text-white);
}

/* Popular Posts */
.popular-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popular-post {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.popular-post img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  object-fit: cover;
  flex-shrink: 0;
}

.popular-post-content h5 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 8px 0;
  line-height: 1.4;
  transition: var(--transition-normal);
}

.popular-post-content h5 a {
  color: inherit;
}

.popular-post-content h5:hover,
.popular-post-content h5 a:hover {
  color: var(--primary-color);
}

.popular-post-content span {
  font-size: 13px;
  color: var(--text-muted);
}

.popular-post-content span i {
  color: var(--primary-color);
}

/* Newsletter Widget */
.newsletter-widget {
  background: var(--gradient-dark);
  border: none;
}

.newsletter-widget .widget-title {
  color: var(--text-white);
  border-bottom-color: var(--primary-color);
}

.newsletter-widget p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.newsletter-widget .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: 15px 20px;
}

.newsletter-widget .form-control::placeholder {
  color: var(--text-muted);
}

.newsletter-widget .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

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

.tag-cloud .tag {
  display: inline-block;
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-normal);
}

.tag-cloud .tag:hover {
  background: var(--gradient-primary);
  color: var(--text-white);
}

/* Blog Pagination */
.blog-pagination .pagination {
  gap: 8px;
}

.blog-pagination .page-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-weight: 600;
  transition: var(--transition-normal);
}

.blog-pagination .page-link:hover,
.blog-pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: transparent;
  color: var(--text-white);
}

.blog-pagination .page-item.disabled .page-link {
  background: var(--bg-light);
  color: var(--text-muted);
}

/* Blog Card Enhancements for Light Background */
.bg-light .blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
}

.bg-light .blog-card .blog-title a {
  color: var(--text-dark);
}

.bg-light .blog-card .blog-excerpt {
  color: var(--text-light);
}

.bg-light .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-lg);
}

/* ============================================
   26. BLOG RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
    margin-top: 50px;
  }

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

  .post-share {
    margin-left: 0;
    margin-top: 15px;
  }

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

  .author-bio-box > img {
    margin: 0 auto;
  }

  .author-social {
    justify-content: center;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-nav-link.next {
    text-align: left;
  }

  .comment.reply {
    margin-left: 40px;
  }
}

@media (max-width: 767.98px) {
  .post-meta-header {
    gap: 15px;
  }

  .post-body {
    font-size: 16px;
  }

  .post-body p.lead {
    font-size: 18px;
    padding-left: 20px;
  }

  .post-body h2 {
    font-size: 24px;
  }

  .post-body h3 {
    font-size: 20px;
  }

  .post-body blockquote {
    padding: 25px 20px 25px 25px;
  }

  .post-body blockquote::before {
    font-size: 50px;
    left: 10px;
    top: 5px;
  }

  .post-body blockquote p {
    font-size: 17px;
  }

  .author-bio-box {
    padding: 25px;
  }

  .author-bio-box > img {
    width: 100px;
    height: 100px;
  }

  .comment {
    gap: 15px;
  }

  .comment > img {
    width: 50px;
    height: 50px;
  }

  .comment.reply {
    margin-left: 20px;
    padding: 15px;
  }

  .comment-form {
    padding: 25px 20px;
  }

  .sidebar-widget {
    padding: 25px 20px;
  }
}

@media (max-width: 575.98px) {
  .post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
  }

  .post-author-box {
    padding: 20px;
  }

  .post-body ul li,
  .post-body ol li {
    padding-left: 30px;
  }

  .post-tags {
    padding: 20px 0;
  }

  .post-nav-link {
    padding: 20px;
  }

  .post-nav-link h5 {
    font-size: 14px;
  }

  .popular-post img {
    width: 70px;
    height: 70px;
  }

  .blog-pagination .page-link {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}
