/*
 * counsellingmitra.com - Core Stylesheet
 * Custom styles for NEET, AYUSH, & JoSAA 2026 Counseling Blog
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0D6EFD;
  --primary-rgb: 13, 110, 253;
  --secondary: #0A58CA;
  --secondary-rgb: 10, 88, 202;
  --accent: #FFC107;
  --accent-rgb: 255, 193, 7;
  --background: #F8F9FA;
  --card-bg: #FFFFFF;
  --text-dark: #212529;
  --text-muted: #6C757D;
  --border-color: #E9ECEF;
  --success: #198754;
  --danger: #DC3545;
  --info: #0DCAF0;
  --warning: #FFC107;
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --border-radius-sm: 6px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-height: 70px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #1A202C;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Section Layout */
.section {
  padding: 80px 0;
}
.section-bg-white {
  background-color: var(--card-bg);
}
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 15px;
  color: #1E293B;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.75rem 1.75rem;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.95rem;
}
.btn-primary {
  background-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}
.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: #212529;
  color: #fff;
}
.btn-secondary:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* Header & Navigation */
.header {
  height: var(--header-height);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
}
.header.scrolled {
  height: 60px;
  box-shadow: var(--shadow);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  color: var(--primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  color: #334155;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Search Box in Nav */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.search-container {
  position: relative;
}
.mobile-drawer-search {
  display: none;
}
.search-input {
  padding: 8px 15px;
  padding-right: 35px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 200px;
  transition: var(--transition);
}
.search-input:focus {
  border-color: var(--primary);
  width: 250px;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
.search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}
.search-btn:hover {
  color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.08) 0%, rgba(10, 88, 202, 0.03) 100%);
  padding: 140px 0 90px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background-color: rgba(13, 110, 253, 0.04);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-tag {
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #0F172A;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 1.25rem;
  color: #475569;
  margin-bottom: 35px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Blog Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-color);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 110, 253, 0.15);
}
.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background-color: #e9ecef;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.card:hover .card-img-wrap img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-badge.ayush {
  background-color: #198754;
}
.card-badge.josaa {
  background-color: #FD7E14;
}
.card-badge.state {
  background-color: #6F42C1;
}
.card-badge.news {
  background-color: #DC3545;
}
.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-meta {
  display: flex;
  gap: 15px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.card-title a {
  color: #1E293B;
}
.card-title a:hover {
  color: var(--primary);
}
.card-text {
  color: #475569;
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.card-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.read-more i {
  transition: var(--transition);
}
.card:hover .read-more i {
  transform: translateX(4px);
}

/* JoSAA Intro */
.section-intro-text {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 40px auto;
  font-size: 1.1rem;
  color: #475569;
}

/* Timeline Layout for News */
.news-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.news-badge-live {
  background-color: var(--danger);
  color: #fff;
  padding: 2px 6px;
  font-size: 0.7rem;
  border-radius: 3px;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* State Counseling and Resources Grid */
.state-grid, .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.state-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.state-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
}
.state-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(13, 110, 253, 0.2);
}
.state-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.state-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.resource-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.resource-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.5rem;
  transition: var(--transition);
}
.resource-card:hover .resource-icon {
  background-color: var(--primary);
  color: #fff;
}
.resource-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.resource-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* FAQ Accordion Styles - Premium UI/UX */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.015);
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.05);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(13, 110, 253, 0.08);
}
.faq-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  background-color: #ffffff;
}
.faq-item.active .faq-header {
  background: linear-gradient(to right, rgba(13, 110, 253, 0.03), transparent);
}
.faq-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #1e293b;
  transition: var(--transition);
}
.faq-item:hover .faq-header h3 {
  color: var(--primary);
}
.faq-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-icon-box {
  background-color: var(--primary);
  color: #fff;
  transform: rotate(135deg);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #FAFBFD;
}
.faq-content {
  padding: 0 28px 24px 28px;
  color: #475569;
  font-size: 0.95rem;
  border-top: 1px solid #F1F5F9;
  padding-top: 20px;
  line-height: 1.7;
}

/* About SEO Content */
.about-seo-wrap {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}
.about-seo-content h3 {
  margin-top: 25px;
  font-size: 1.4rem;
}
.about-seo-content p {
  margin-bottom: 15px;
  color: #4A5568;
}

/* Footer Styles */
.footer {
  background-color: #0F172A;
  color: #E2E8F0;
  padding: 80px 0 30px 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo span {
  color: var(--primary);
}
.footer-text {
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 350px;
}
.footer-socials {
  display: flex;
  gap: 15px;
}
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #1E293B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}
.social-icon:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.social-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}
.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #94A3B8;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #64748B;
}
.footer-legal-links {
  display: flex;
  gap: 20px;
}
.footer-legal-links a {
  color: #64748B;
}
.footer-legal-links a:hover {
  color: #fff;
}

/* ========================================================
   SINGLE POST LAYOUT & DETAILS
   ======================================================== */
.post-layout {
  padding-top: 120px;
  padding-bottom: 80px;
}
.post-grid {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 40px;
}
.post-grid > * {
  min-width: 0;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs span {
  margin: 0 8px;
}

/* Post Core Content */
.post-header {
  margin-bottom: 30px;
}
.post-category {
  display: inline-block;
  background-color: rgba(13, 110, 253, 0.08);
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 15px;
}
.post-header h1 {
  font-size: 2.5rem;
  color: #0F172A;
  margin-bottom: 15px;
}
.post-meta-strip {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.post-meta-strip span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-featured-image {
  margin-bottom: 35px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
}
.post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Table of Contents */
.table-of-contents {
  background-color: #FAFBFD;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  margin: 30px 0;
}
.toc-title {
  font-size: 1.15rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1E293B;
  font-weight: 600;
}
.toc-list {
  list-style-type: disc;
  padding-left: 20px;
}
.toc-list li {
  margin-bottom: 8px;
}
.toc-list li::marker {
  color: var(--primary);
}
.toc-list a {
  color: #475569;
  font-size: 0.95rem;
}
.toc-list a:hover {
  color: var(--primary);
  text-decoration: underline;
}
.toc-sublist {
  padding-left: 20px;
  margin-top: 5px;
  list-style: circle;
}
.toc-sublist li::marker {
  color: var(--primary);
}

/* Body Text Formatting */
.post-body {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.8;
}
.post-body p {
  margin-bottom: 20px;
}
.post-body h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px 0;
  color: #0F172A;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
}
.post-body h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px 0;
  color: #1E293B;
}
.post-body h4 {
  font-size: 1.2rem;
  margin: 25px 0 12px 0;
  color: #334155;
}
.post-body h5 {
  font-size: 1.05rem;
  margin: 20px 0 10px 0;
  color: #475569;
}
.post-body h6 {
  font-size: 0.95rem;
  margin: 20px 0 10px 0;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.post-body ul {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}
.post-body ul li {
  margin-bottom: 8px;
}
.post-body ul li::marker {
  color: var(--primary);
}
.post-body ol {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}
.post-body ol li {
  margin-bottom: 8px;
}
.post-body ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

/* Info and Alert boxes */
.info-box {
  background-color: #EBF8FF;
  border-left: 4px solid var(--info);
  padding: 20px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin: 30px 0;
  font-size: 0.95rem;
  color: #2B6CB0;
}
.info-box-title {
  font-weight: 700;
  margin-bottom: 5px;
}
.important-notice-box {
  background-color: #FFF5F5;
  border-left: 4px solid var(--danger);
  padding: 20px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin: 30px 0;
  font-size: 0.95rem;
  color: #C53030;
}
.important-notice-title {
  font-weight: 700;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.highlight-box {
  background-color: #FEFCBF;
  border-left: 4px solid var(--warning);
  padding: 20px;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin: 30px 0;
  font-size: 0.95rem;
  color: #744210;
}

/* Responsive Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
}
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.table-responsive th {
  background-color: var(--secondary);
  color: #fff;
  font-weight: 600;
  padding: 12px 16px;
  white-space: nowrap;
}
.table-responsive td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}
.table-responsive tr:last-child td {
  border-bottom: none;
}
.table-responsive tr:nth-child(even) {
  background-color: #FAFBFD;
}

/* Sharing Buttons - Premium Pill Layout */
.share-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.share-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
}
.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.share-btn:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
  color: #fff;
}
.share-whatsapp { background-color: #25D366; }
.share-facebook { background-color: #1877F2; }
.share-x { background-color: #14171A; }
.share-telegram { background-color: #0088cc; }
.share-linkedin { background-color: #0077b5; }

/* Author Box */
.author-box {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  gap: 25px;
  margin: 40px 0;
  align-items: center;
}
.author-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.author-role {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.author-bio {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* Previous/Next Post Nav */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}
.nav-post-link {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.nav-post-link:hover {
  border-color: var(--primary);
  background-color: rgba(13, 110, 253, 0.01);
}
.nav-post-link.next-link {
  text-align: right;
  align-items: flex-end;
}
.nav-post-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-post-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1E293B;
  line-height: 1.4;
}
.nav-post-link:hover .nav-post-title {
  color: var(--primary);
}

/* Related Posts */
.related-posts {
  margin: 50px 0;
}
.related-posts-title {
  font-size: 1.5rem;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* Comments Section */
.comments-section {
  margin-top: 50px;
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
}
.comments-title {
  font-size: 1.4rem;
  margin-bottom: 25px;
}
.comment-form {
  margin-bottom: 40px;
}
.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.comment-form input, .comment-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}
.comment-form input:focus, .comment-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}
.comment-form textarea {
  grid-column: span 2;
  resize: vertical;
}
.comment-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.comment-item {
  display: flex;
  gap: 15px;
}
.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.comment-content {
  flex-grow: 1;
}
.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.comment-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1E293B;
}
.comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.comment-text {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

/* Sidebar Widgets */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.widget {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
}
.widget-title {
  font-size: 1.15rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 8px;
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

/* Adsense Placeholder Widget */
.ads-widget {
  background-color: #FAFBFD;
  border: 1px dashed var(--border-color);
  padding: 30px 15px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
}
.ads-label {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #94A3B8;
  margin-bottom: 10px;
}

/* Social Join Widget - WhatsApp & Telegram Updates */
.join-channels-widget {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  border: none;
}
.join-channels-widget .widget-title {
  border-bottom: none;
  color: #fff;
}
.join-channels-widget .widget-title::after {
  display: none;
}
.join-channels-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.5;
}
.join-channels-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.join-channel-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.join-channel-btn.whatsapp {
  background-color: #25D366;
}
.join-channel-btn.whatsapp:hover {
  background-color: #20ba5a;
  transform: translateX(4px);
  color: #fff;
}
.join-channel-btn.telegram {
  background-color: #0088cc;
}
.join-channel-btn.telegram:hover {
  background-color: #0077b3;
  transform: translateX(4px);
  color: #fff;
}
.join-channel-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Call-to-Action Social Cards - Inline */
.cta-social-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-social-text h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #0f172a;
}
.cta-social-text p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0;
}
.cta-social-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.cta-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cta-social-btn.whatsapp {
  background-color: #25D366;
}
.cta-social-btn.whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  color: #fff;
}
.cta-social-btn.telegram {
  background-color: #0088cc;
}
.cta-social-btn.telegram:hover {
  background-color: #0077b3;
  transform: translateY(-2px);
  color: #fff;
}

/* Footer Join updates card replacing Newsletter */
.footer-join-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-join-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #1e293b;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer-join-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}
.footer-join-btn.whatsapp:hover {
  background-color: #25D366;
}
.footer-join-btn.telegram:hover {
  background-color: #0088cc;
}

/* Recent Posts widget */
.recent-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
}
.recent-list li:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.recent-thumb {
  width: 65px;
  height: 65px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #e9ecef;
  flex-shrink: 0;
}
.recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recent-info h5 {
  font-size: 0.85rem;
  margin-bottom: 4px;
  line-height: 1.4;
  font-weight: 600;
}
.recent-info h5 a {
  color: #1E293B;
}
.recent-info h5 a:hover {
  color: var(--primary);
}
.recent-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Search results dropdown/overlay */
.search-results-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  margin-top: 8px;
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1010;
  display: none;
}
.search-result-item {
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  display: block;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background-color: #F8F9FA;
}
.search-result-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 2px;
}
.search-result-cat {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
}

/* ========================================================
   RESPONSIVENESS MEDIA QUERIES
   ======================================================== */
@media (max-width: 991px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    gap: 25px;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    z-index: 999;
  }
  .nav-links.active {
    left: 0;
  }
  .header.scrolled .nav-links {
    top: 60px;
    height: calc(100vh - 60px);
  }
  .nav-actions .search-container {
    display: none;
  }
  .mobile-drawer-search {
    display: block;
    width: 100%;
    margin-top: 10px;
  }
  .mobile-drawer-search .search-input {
    width: 100% !important;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero {
    padding: 120px 0 60px 0;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Dual column layout for grids on mobile */
  .blog-grid, .related-grid, .news-layout {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .blog-grid .card, .related-grid .card, .news-layout .card {
    border-radius: 8px;
  }
  .blog-grid .card-body, .related-grid .card-body, .news-layout .card-body {
    padding: 12px;
  }
  .blog-grid .card-meta, .related-grid .card-meta, .news-layout .card-meta {
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 0.65rem;
    margin-bottom: 6px;
  }
  .blog-grid .card-title, .related-grid .card-title, .news-layout .card-title {
    font-size: 0.95rem !important;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  .blog-grid .card-text, .related-grid .card-text, .news-layout .card-text {
    display: none !important;
  }
  .blog-grid .card-footer, .related-grid .card-footer, .news-layout .card-footer {
    padding-top: 8px;
    margin-top: auto;
  }
  .blog-grid .read-more, .related-grid .read-more, .news-layout .read-more {
    font-size: 0.75rem;
  }
  .blog-grid .card-badge, .related-grid .card-badge, .news-layout .card-badge {
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    padding: 2px 6px;
  }

  .post-header h1 {
    font-size: 1.8rem;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .nav-post-link.next-link {
    text-align: left;
    align-items: flex-start;
  }
  
  .comment-form-grid {
    grid-template-columns: 1fr;
  }
  .comment-form textarea {
    grid-column: span 1;
  }
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .author-img {
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .faq-header {
    padding: 15px 20px;
  }
  .faq-content {
    padding: 0 20px 20px 20px;
  }
}

/* ========================================================
   UPGRADES: FLOATING WIDGET, PREMIUM FAQ & SVG SHARE PILLS
   ======================================================== */

/* 1. FAQ UI/UX Upgrades (Overrides) */
.faq-item {
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease, border-left-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(13, 110, 253, 0.2);
  border-left-color: rgba(13, 110, 253, 0.4);
  transform: translateY(-2px);
}
.faq-item.active {
  border-color: var(--primary);
  border-left-color: var(--primary);
  box-shadow: 0 12px 30px rgba(13, 110, 253, 0.08);
}
.faq-header {
  transition: background-color 0.3s ease;
}
.faq-item.active .faq-header {
  background: linear-gradient(to right, rgba(13, 110, 253, 0.04), transparent);
}
.faq-icon-box {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.faq-item.active .faq-icon-box {
  background-color: var(--primary);
  color: #ffffff;
  transform: none; /* Override old plus rotate */
}
.faq-chevron {
  transition: transform 0.3s ease;
  stroke: currentColor;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

/* 2. Share Buttons Upgrade */
.share-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}
.share-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #1E293B;
}
.share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  border: none;
}
.share-btn svg {
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}
.share-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.share-whatsapp { background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%); }
.share-facebook { background: linear-gradient(135deg, #1877F2 0%, #166fe5 100%); }
.share-x { background: linear-gradient(135deg, #14171A 0%, #000000 100%); }
.share-telegram { background: linear-gradient(135deg, #0088CC 0%, #0077b5 100%); }
.share-linkedin { background: linear-gradient(135deg, #0077B5 0%, #005987 100%); }

/* 3. Floating Social Updates Widget */
.floating-social-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--font-body);
}

.widget-close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 1002;
  transition: var(--transition);
}

.widget-close-btn:hover {
  background-color: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.widget-fab {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
}

.widget-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 110, 253, 0.35);
}

.fab-icon {
  animation: float-wiggle 3s ease-in-out infinite;
}

@keyframes float-wiggle {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(-10deg); }
  40% { transform: rotate(10deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background: rgba(13, 110, 253, 0.4);
  z-index: -1;
  animation: fab-pulsing 2s infinite;
}

@keyframes fab-pulsing {
  0% { transform: scale(0.95); opacity: 0.5; }
  70% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.fab-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  background-color: var(--danger);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.widget-card {
  position: absolute;
  bottom: 65px;
  right: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 999;
}

.floating-social-widget.expanded .widget-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-social-widget.expanded .widget-fab {
  opacity: 0.8;
  box-shadow: var(--shadow-sm);
}

.floating-social-widget.dismissed {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  transition: all 0.4s ease-in-out;
}

.widget-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #0F172A;
}

.widget-card-desc {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 16px;
}

.widget-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.widget-action-btn.whatsapp {
  background-color: #25D366;
}

.widget-action-btn.whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
}

.widget-action-btn.telegram {
  background-color: #0088cc;
}

.widget-action-btn.telegram:hover {
  background-color: #0077b3;
  transform: translateY(-2px);
}

/* Responsive adjustments for Widget (Sticky Bottom Panel on Mobile) */
@media (max-width: 575px) {
  .floating-social-widget {
    left: 15px;
    right: 15px;
    bottom: 15px;
    align-items: center;
  }
  .widget-fab {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.2);
  }
  .widget-card {
    position: fixed;
    bottom: 80px;
    left: 15px;
    right: 15px;
    width: auto;
    border-radius: 16px;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.1);
  }
  .widget-close-btn {
    top: -8px;
    right: 5px;
  }
}

/* ========================================================
   CONTACT PAGE UPGRADE STYLES
   ======================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  margin-top: 30px;
}
.contact-info-block, .contact-form-block {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #334155;
  font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  background-color: #FAFBFD;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.contact-reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.reason-card {
  background-color: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  gap: 15px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.reason-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.reason-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1E293B;
}
.reason-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info-block, .contact-form-block {
    padding: 30px 20px;
  }
}


