/* =============== GLOBAL STYLES =============== */
:root {
  --primary-color: #F46231;
  --secondary-color: #e55a2b;
  --accent-color: #ff7a4a;
  --success-color: #059669;
  --warning-color: #d97706;
  --danger-color: #dc2626;
  --text-dark: #0f172a;
  --text-light: #475569;
  --text-muted: #64748b;
  --bg-light: #fef7f5;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --border-color: #fecaca;
  --shadow-sm: 0 1px 2px 0 rgba(244, 98, 49, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(244, 98, 49, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(244, 98, 49, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(244, 98, 49, 0.1);
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============== TYPOGRAPHY =============== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* =============== NAVIGATION =============== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 1000;
  display: flex;
  align-items: center;
  min-height: 70px;
}

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

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
}

.brand-signature {
  font-family: 'Dancing Script', cursive, 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(244, 98, 49, 0.1);
  transition: var(--transition);
}

.brand-signature:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.navbar-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
  background-color: rgba(244, 98, 49, 0.1);
}

/* =============== SOCIAL ICONS IN HEADER =============== */
.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  min-width: 0; /* Allow flex items to shrink */
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.social-icon i {
  font-size: 1.2rem;
}



/* =============== HERO SECTION =============== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fef2f2 100%);
  overflow: hidden;
  padding-top: 80px; /* Add padding to account for fixed header */
}

.min-vh-80 {
  min-height: 80vh !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  max-width: 100%;
  word-wrap: break-word;
  hyphens: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.6em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(244, 98, 49, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 74, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(229, 90, 43, 0.05) 0%, transparent 50%);
  z-index: 1;
}

/* =============== BUTTON STYLES =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

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

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

/* =============== ABOUT SECTION =============== */
.about-section {
  padding: 6rem 0;
  background: var(--bg-white);
}

.about-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-intro {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-description {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-highlights .highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-highlights .highlight-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.about-highlights .highlight-item span {
  color: var(--text-dark);
  font-weight: 500;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 400px;
}

.tech-showcase .tech-item {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.tech-showcase .tech-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tech-showcase .tech-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: block;
}

.tech-showcase .tech-item span {
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* =============== VISION SECTION =============== */
.vision-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fef2f2 100%);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(244, 98, 49, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 74, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(229, 90, 43, 0.03) 0%, transparent 50%);
  z-index: 1;
}

.vision-section .container {
  position: relative;
  z-index: 2;
}

.vision-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.vision-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.vision-card .card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(244, 98, 49, 0.1), rgba(255, 122, 74, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.vision-card h3 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.vision-card p {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

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

.vision-list li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.vision-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}



/* =============== LEADERSHIP SECTION =============== */
.leadership-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.leadership-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.leadership-intro {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.leadership-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.highlight-content h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.highlight-content p {
  color: var(--text-light);
  margin: 0;
}



.leadership-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 400px;
}

.grid-item {
  background: white;
  padding: 2rem 1rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.grid-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.grid-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.grid-item span {
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
}







/* =============== FOOTER =============== */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-subtitle {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.875rem;
}

/* =============== BLOG SECTION =============== */
.blog-section {
  padding: 8rem 0 6rem 0;
  background: white;
  margin-top: 2rem;
}

.blog-section .blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.blog-section .row.g-4 {
  margin-bottom: 0;
}

.blog-section .blog-card {
  margin-bottom: 0;
}

.blog-section .col-lg-4 {
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .blog-section .col-lg-4 {
    margin-bottom: 1.5rem;
  }
}

.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

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

.blog-card .blog-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.blog-card .blog-image .blog-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image .blog-banner {
  transform: scale(1.05);
}

.blog-card .blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-card .blog-date {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-card .blog-category {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card .blog-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.blog-card .blog-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog-card .blog-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  margin-top: auto;
}

.blog-card .blog-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.blog-card .blog-link i {
  font-size: 0.875rem;
}

/* =============== TECHNOLOGIES SECTION =============== */
.technologies-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.tech-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.tech-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.tech-card h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tech-item {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tech-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =============== FOOTER SOCIAL ICONS =============== */
.footer-social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem 0;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  color: white;
}

.footer-social-icon i {
  font-size: 1.3rem;
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 991px) {
  .hero-section {
    padding: 2rem 0 4rem 0;
    min-height: calc(100vh - 80px);
  }
  
  .image-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .about-content h2 {
    text-align: center;
  }
  
  .tech-showcase {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  

  
  .vision-card,
  .service-card,
  .contact-card {
    padding: 2rem;
  }
  
  .timeline-content {
    padding: 1.5rem;
  }
  
  .navbar {
    padding: 0.75rem 0;
    min-height: 60px;
  }
  
  .navbar-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-content: center;
  }
  
  .brand-signature {
    font-size: 1.5rem;
  }
  

  
  /* Mobile social icons adjustments */
  .social-icons {
    margin-top: 1rem;
  justify-content: center;
    width: 100%;
  }
  
  .footer-social-icons {
    margin: 1.5rem 0;
  }
  
  /* Mobile blog adjustments */
  .blog-card .blog-content h3 {
    font-size: 1.125rem;
  }
  
  .blog-section {
    padding: 6rem 0 4rem 0;
  }
}

@media (max-width: 575px) {
  .hero-section {
    padding: 1rem 0 3rem 0;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .social-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* =============== UTILITIES =============== */
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.text-center { text-align: center !important; }
.text-md-end { text-align: right !important; }

@media (max-width: 767px) {
  .text-md-end {
    text-align: center !important;
  }
}

/* =============== BLOG LIST PAGE STYLES =============== */

/* Blog Header Section */
.blog-header-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #fef2f2 100%);
  padding: 120px 0 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(244, 98, 49, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 74, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.blog-header-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.blog-header-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Blog List Section */
.blog-list-section {
  padding: 120px 0 80px 0;
  background: #fff;
}



/* Load More Button */
.load-more-btn {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  transition: var(--transition);
}

.load-more-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.load-more-btn i {
  margin-right: 0.5rem;
}

/* Footer Styles for Blog Page */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-description {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-social-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ccc;
}

.footer-social .social-icons {
  display: flex;
  gap: 1rem;
}

.footer-social .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-social .social-icon:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
  color: #ccc;
}

/* =============== BLOG DETAIL PAGE STYLES =============== */

/* Back Button */
.back-button-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem 0;
  flex-shrink: 0;
  min-width: 0; /* Allow text truncation */
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: var(--transition);
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Social Icons in Blog Header */
.navbar .social-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.navbar .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.navbar .social-icon:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.back-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.back-btn i {
  font-size: 1.1rem;
  transition: var(--transition);
}

.back-btn:hover i {
  transform: translateX(-3px);
}

.back-btn span {
  font-weight: 500;
}

/* Blog Header */
.blog-header {
  padding: 6rem 0 3rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fef2f2 100%);
  position: relative;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}









/* Blog Content - Deprecated, using blog-main-section instead */

.blog-article {
  max-width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.article-content {
  line-height: 1.8;
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 3rem 0 1.5rem 0;
  padding-top: 1rem;
  border-top: 2px solid var(--bg-light);
}

.article-content h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem 0;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 1rem 0;
}

.article-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.benefit-item {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(244, 98, 49, 0.1), rgba(255, 122, 74, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.benefit-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--text-light);
  margin: 0;
  font-size: 1rem;
}

/* Feature Lists */
.feature-list {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
}

.feature-list li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* Best Practices */
.best-practices {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  margin: 2rem 0;
}

.best-practices li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* Blog CTA */
.blog-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin: 3rem 0;
  box-shadow: var(--shadow-lg);
}

.blog-cta h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.blog-cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.blog-cta .btn {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.blog-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-color);
}

/* Related Posts */
.related-posts {
  padding: 4rem 0;
  background: var(--bg-light);
}

.related-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.related-card {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

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

.related-image {
  height: 150px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.related-content {
  padding: 1.5rem;
}

.related-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.related-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.related-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.related-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.related-link::after {
  content: '→';
  font-size: 1.1rem;
}

/* =============== CONTACT PAGE STYLES =============== */

/* Contact Header */
.contact-header {
  padding: 8rem 0 4rem 0;
  background: linear-gradient(135deg, var(--bg-light) 0%, #fef2f2 100%);
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(244, 98, 49, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 122, 74, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.contact-header::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
  transform: translateY(-50%);
}

.contact-header .contact-icon {
  position: absolute;
  top: 50%;
  right: 15%;
  font-size: 4rem;
  color: rgba(244, 98, 49, 0.2);
  z-index: 2;
  transform: translateY(-50%);
}

.contact-header .container {
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.contact-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Content */
.contact-content {
  padding: 4rem 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
  background: white;
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.contact-form-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-form-section p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.contact-form .form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: white;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(244, 98, 49, 0.1);
}

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

.contact-form select.form-control {
  cursor: pointer;
}

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

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.submit-btn i {
  font-size: 1rem;
}

/* Contact Info Section */
.contact-info-section {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.contact-info-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.contact-info-section > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-info-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-info-item .contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item .contact-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.contact-info-item .contact-details p {
  color: var(--text-light);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-info-item .contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.contact-info-item .contact-details a:hover {
  color: var(--secondary-color);
}

.location-note {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
}

.response-time {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

.response-time h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.response-time p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

/* Active Navigation State */
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* =============== RESPONSIVE DESIGN FOR ALL PAGES =============== */

/* Blog List Responsive */
@media (max-width: 991.98px) {
  .blog-header-section {
    padding: 100px 0 60px 0;
  }
  
  .blog-list-section {
    padding: 60px 0;
  }
  
  .blog-card-content {
    padding: 1.25rem;
  }
  
  .blog-card-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .blog-header-section {
    padding: 80px 0 40px 0;
  }
  
  .blog-header-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }
  
  .blog-header-subtitle {
    font-size: 1.1rem;
  }
  
  .blog-list-section {
    padding: 40px 0;
  }
  
  .blog-card-image {
    height: 160px;
  }
  
  .blog-image-placeholder {
    width: 60px;
    height: 60px;
  }
  
  .blog-image-placeholder i {
    font-size: 1.5rem;
  }
  
  .blog-card-content {
    padding: 1rem;
  }
  
  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .footer {
    padding: 40px 0 20px 0;
    margin-top: 60px;
  }
  
  .footer-social .social-icons {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .blog-header-section {
    padding: 70px 0 30px 0;
  }
  
  .blog-list-section {
    padding: 30px 0;
  }
  
  .blog-card-image {
    height: 140px;
  }
  
  .blog-image-placeholder {
    width: 50px;
    height: 50px;
  }
  
  .blog-image-placeholder i {
    font-size: 1.25rem;
  }
  
  .load-more-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Blog Detail Responsive */
@media (max-width: 767px) {
  .blog-header {
    padding: 6rem 0 3rem 0;
  }
  

  
  .back-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .back-button-container {
    padding: 0.4rem 0;
  }
  
  .navbar .social-icon {
    width: 30px;
    height: 30px;
  }
  

  
  .article-content h2 {
    font-size: 1.75rem;
  }
  
  .article-content h3 {
    font-size: 1.4rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-cta {
    padding: 2rem;
  }
  
  .blog-cta h3 {
    font-size: 1.5rem;
  }
  
  .related-posts .row {
    gap: 1.5rem;
  }
}

@media (max-width: 575px) {
  .content-banner-image {
    width: 100%;
    height: 250px;
    background-size: cover;
  }
  
  .article-content {
    font-size: 1rem;
  }
  
  .article-content h2 {
    font-size: 1.5rem;
  }
  
  .article-content h3 {
    font-size: 1.3rem;
  }
  
  .benefits-grid {
    gap: 1rem;
  }
  
  .benefit-item {
    padding: 1.5rem;
  }
  
  .feature-list, .best-practices {
    padding: 1.5rem;
  }
  
  .blog-cta {
    padding: 1.5rem;
  }
  
  .back-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
  
  .back-button-container {
    padding: 0.35rem 0;
  }
  
  .navbar .social-icon {
    width: 28px;
    height: 28px;
  }
}

/* Contact Page Responsive */
@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-header .contact-icon {
    font-size: 3rem;
    right: 5%;
  }
}

@media (max-width: 767px) {
  .contact-header {
    padding: 6rem 0 3rem 0;
  }
  
  .contact-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
  }
  
  .contact-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-content {
    padding: 3rem 0;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 2rem;
  }
  
  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.75rem;
  }
  
  .contact-header .contact-icon {
    font-size: 2.5rem;
    right: 3%;
  }
}

@media (max-width: 575px) {
  .contact-header {
    padding: 5rem 0 2rem 0;
  }
  
  .contact-title {
    font-size: 1.75rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
  }
  
  .contact-content {
    padding: 2rem 0;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 1.5rem;
  }
  
  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 1.5rem;
  }
  
  .contact-form .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
  }
  
  .submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .contact-info-item {
    padding: 1.25rem;
  }
  
  .contact-info-item .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

/* Blog Detail Page Loading States */
.loading-spinner {
  padding: 3rem 0;
}

.loading-spinner .spinner-border {
  width: 3rem;
  height: 3rem;
}

.error-message {
  padding: 3rem 0;
  text-align: center;
}

.error-message h2 {
  color: #dc3545;
  margin-bottom: 1rem;
}

.error-message p {
  color: #6c757d;
  margin-bottom: 2rem;
}

/* Blog Admin Panel Styles */
.blog-admin-panel {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin: 2rem;
  padding: 1.5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.admin-header h3 {
  margin: 0;
  color: #495057;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.post-item {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}

.post-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.post-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #495057;
  flex: 1;
  margin-right: 1rem;
}

.post-actions {
  display: flex;
  gap: 0.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.post-meta .category {
  background: #007bff;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.post-meta .date {
  color: #6c757d;
}

.post-excerpt {
  color: #6c757d;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .blog-admin-panel {
    margin: 1rem;
    padding: 1rem;
  }
  
  .admin-header {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .post-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-actions {
    justify-content: flex-start;
  }
}

/* Blog Header Banner Styles */
.blog-header {
  position: relative;
  padding: 4rem 0 2rem 0;
  color: white;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.1);
  background: #f8f9fa;
  margin-top: 20px;
}

.banner-image {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 350px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  margin: 0 auto;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.banner-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}









.blog-header .container {
  position: relative;
  z-index: 4;
}





/* Blog Title Section (Above Banner) */
.blog-title-section {
  padding: 120px 0 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

.blog-title-main {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #2c3e50;
  line-height: 1.3;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  hyphens: auto;
  min-height: 3.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



.blog-date-main {
  font-size: 1rem;
  color: #868e96;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 20px;
  border-radius: 25px;
  display: inline-block;
  border: 1px solid #dee2e6;
}

/* Content Banner Image */
.content-banner-image {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f8f9fa;
  margin-bottom: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.content-banner-image:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Blog Main Section with Sidebar */
.blog-main-section {
  padding: 60px 0;
  background: #ffffff;
}

.blog-sidebar {
  position: sticky;
  top: 120px;
  padding-left: 30px;
}

.related-posts-sidebar {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 30px;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.related-title-sidebar {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  text-align: center;
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-card-sidebar {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.related-card-sidebar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.related-image-sidebar {
  width: 60px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  overflow: hidden;
  position: relative;
}

.related-image-sidebar i {
  font-size: 1.2rem;
  color: #ffffff;
}

.related-image-sidebar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.related-content-sidebar h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
}

.related-content-sidebar p {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
  line-height: 1.5;
}

.related-link-sidebar {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.related-link-sidebar:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive adjustments for sidebar */
@media (max-width: 991.98px) {
  .blog-sidebar {
    position: static;
    padding-left: 0;
    margin-top: 40px;
  }
  
  .related-posts-sidebar {
    margin: 0 15px;
  }
  
  .content-banner-image {
    width: 100%;
    height: 350px;
    background-size: cover;
  }
}

@media (max-width: 767.98px) {
  .blog-title-section {
    padding: 100px 0 30px 0;
  }
  
  .content-banner-image {
    width: 100%;
    height: 300px;
    background-size: cover;
  }
  
  .blog-main-section {
    padding: 40px 0;
  }
  
  .related-posts-sidebar {
    margin: 0;
    padding: 20px;
  }
}

/* =============== RESPONSIVE NAVIGATION =============== */
@media (max-width: 991.98px) {
  .navbar .container {
    justify-content: space-between;
    gap: 0.5rem;
  }
  
  .navbar-nav {
    position: static;
    transform: none;
    display: none; /* Hide desktop nav on mobile */
  }
  
  .social-icons {
    margin-left: 0;
    gap: 0.75rem;
  }
  
  .social-icon {
    width: 36px;
    height: 36px;
  }
  
  .social-icon i {
    font-size: 1.1rem;
  }
  
  /* Bootstrap navbar responsive */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }
  
  /* Ensure proper Bootstrap collapse behavior */
  .navbar-collapse.show {
    display: block !important;
  }
  
  .navbar-nav {
    display: block !important;
    text-align: center;
    width: 100%;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: rgba(244, 98, 49, 0.1);
    color: var(--primary-color);
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(244, 98, 49, 0.1);
    transition: var(--transition);
    display: block;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
    background: rgba(244, 98, 49, 0.2);
  }
  
  .navbar-toggler:not(.collapsed) {
    background: rgba(244, 98, 49, 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(244, 98, 49, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

@media (max-width: 767.98px) {
  .navbar {
    padding: 0.75rem 0;
    min-height: 60px;
  }
  
  .navbar .container {
    gap: 0.25rem;
  }
  
  .social-icons {
    gap: 0.5rem;
  }
  
  .social-icon {
    width: 32px;
    height: 32px;
  }
  
  .social-icon i {
    font-size: 1rem;
  }
  
  .back-btn {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
  
  .back-btn span {
    display: none; /* Hide text on mobile, show only icon */
  }
  
  .back-btn i {
    font-size: 1rem;
  }
  
  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.75rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.6rem 0.8rem;
    font-size: 0.95rem;
  }
  
  .brand-signature {
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding: 0.5rem 0;
    min-height: 55px;
  }
  
  .navbar .container {
    gap: 0.25rem;
  }
  
  .social-icons {
    gap: 0.4rem;
  }
  
  .social-icon {
    width: 28px;
    height: 28px;
  }
  
  .social-icon i {
    font-size: 0.9rem;
  }
  
  .back-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
  
  .back-btn i {
    font-size: 0.9rem;
  }
  
  .back-button-container {
    padding: 0.25rem 0;
  }
  
  .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
  
  .brand-signature {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    justify-content: space-between;
    align-items: center;
  }
  
  .social-icons {
    gap: 0.3rem;
  }
  
  .social-icon {
    width: 26px;
    height: 26px;
  }
  
  .social-icon i {
    font-size: 0.8rem;
  }
  
  .back-btn {
    padding: 0.3rem 0.6rem;
  }
  
  .back-btn i {
    font-size: 0.85rem;
  }
  
  .brand-signature {
    font-size: 1.2rem;
  }
  
  .navbar-collapse {
    margin-top: 0.4rem;
    padding: 0.4rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.4rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* =============== HYPERLINK STYLES =============== */
.about-intro a,
.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.about-intro a:hover,
.contact-details a:hover {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
}

.about-intro a:focus,
.contact-details a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* External link indicator */
.about-intro a[target="_blank"]::after,
.contact-details a[target="_blank"]::after {
  content: "↗";
  font-size: 0.8em;
  margin-left: 2px;
  opacity: 0.7;
  transition: var(--transition);
}

.about-intro a[target="_blank"]:hover::after,
.contact-details a[target="_blank"]:hover::after {
  opacity: 1;
  transform: translate(1px, -1px);
}
