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

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e1f5fe 100%);
  color: #1e293b;
  line-height: 1.6;
}

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

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


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

/* Header */
.header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.header-content {
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.logo-text {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
}

.header-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}

/* Main Content */
.main {
  padding: 3rem 0;
}



/* Details Panel */
.details {
  flex: 1;
  background: white;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.details-empty {
  text-align: center;
  color: #9ca3af;
  padding: 3rem 1rem;
}

.details-icon {
  font-size: 6rem;
}

.details-empty h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #6b7280;
}

.details-content .badge {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.details-content h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.details-content .subtitle {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.details-image {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.details-description .details-description-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.details-description p {
  color: #374151;
  line-height: 1.7;
}

.details-description-text h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.details-description-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.details-description-text p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.7rem;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
  margin-bottom: 20px;
}

.table-container th,
.table-container td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th,
td {
  padding: 12px 20px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #ccc;
  background: #fafafa;
}

th {
  background: #f2f2f2;
  font-weight: bold;
}

/* Welcome Section */
.welcome-section {
  background: white;
  padding: 4rem 0;
}

.welcome-card {
  background: #3eb17a;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.welcome-content {
  display: flex;
  align-items: center;
  padding: 3rem;
  gap: 3rem;
}

.welcome-text {
  color: white;
}

.welcome-text h1 {
  color: white;
  margin-bottom: 1rem;
}

.welcome-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.welcome-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 1rem;
}

.welcome-text p {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.welcome-btn {
  background: #f97316;
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 1rem;
}

.welcome-btn:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

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

.welcome-placeholder {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  backdrop-filter: blur(10px);
}

/* Common Forms */
.common-forms {
  padding: 4rem 0;
  background: #f2f6f4;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

/* Why Choose Us */
.why-choose-us {
  padding: 4rem 0;
  background: white;
}

.why-card {
  max-width: 800px;
  margin: 0 auto;
  background: #f8fafc;
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
}

.why-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.feature-icon {
  width: 24px;
  height: 24px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item p {
  color: #374151;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background: #f8fafc;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #1e293b;
  transition: background 0.2s;
}

.faq-question:hover {
  background: #f8fafc;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f8fafc;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 1rem 1.5rem 1.5rem;
  color: #374151;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 3rem 0;
}

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

.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #64748b;
  max-width: 400px;
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  margin: 0 4px;
  transition: color 0.2s;
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-2px);
}


/* Contact Page Css  */

.contact-section {
  max-width: 1200px;
  margin: auto;
  padding: 75px 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 1px solid #ddd;
}

.contact-form {
  flex: 1 1 58%;
  border-right: 1px solid #ccc;
  padding-right: 40px;
}

.contact-info {
  flex: 1 1 38%;
  padding-left: 20px;
}

.contact-info .contact_title {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

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

.form-control {
  width: 100% !important;
  padding: 12px !important;
  font-size: 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
}

.form-control:focus {
  border-color: #6f856b !important;
  outline: none !important;
  box-shadow: none !important;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

label {
  margin-bottom: 5px;
}

.form-row .form-group {
  flex: 1;
}

.btn-submit {
  background-color: #2B68E9;
  color: #fff;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
  font-size: 17px;
}

.contact-info .contact_subtitle {
  margin-bottom: 2rem;
  color: #555;
  font-size: 1.1rem;
}

.contact_icon {
  padding: 10px 0;
}

.contact_icon p i {
  margin-bottom: 1rem;
}

.contact-info i {
  margin-right: 1rem;
  color: #444;
  font-size: 18px;
}

.social-icons a {
  margin-right: 15px;
  color: #000;
  font-size: 20px;
}

/* Terms of use Page Css  */
.page-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.terms_title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 40px;
}

.terms_subtitle {
  font-size: 20px;
  margin-top: 30px;
  font-weight: 600;
}

.terms_desc {
  font-size: 16px;
  margin: 10px 0;
}

.terms_data {
  padding-left: 20px;
}

/* Sitemap CSS  */
.sitemap-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.sitemap-section {
  margin-bottom: 40px;
}

.sitemap-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1e293b;
  padding-bottom: 10px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 20px;
}

.sitemap-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-height: none;
  overflow: visible;
  position: relative;
}

.sitemap-column {
  break-inside: avoid;
  margin-bottom: 20px;
  min-height: 200px;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 1;
}

.sitemap-letter-title {
  font-size: 20px;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 15px;
}

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

.sitemap-list li {
  margin-bottom: 10px;
}

.sitemap-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
  font-size: 15px;
}

.sitemap-list a:hover {
  color: #1d4ed8;
  transform: translateX(4px);
}

.sitemap-list a i {
  color: #9ca3af;
  font-size: 16px;
  transition: color 0.2s ease;
}

.sitemap-list a:hover i {
  color: #1d4ed8;
}

.sitemap-list-static {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sitemap-list-static a {
  background-color: #f8fafc;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.list-group-item a {
  text-decoration: none;
  color: #000;
}

.mbc-2 {
  margin-bottom: 2rem !important;
}

/* 404 Page Css  */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.error-container {
  text-align: center;
  max-width: 1200px;
  padding: 3rem 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: #dc3545;
  margin-bottom: 1rem;
  line-height: 1;
}

.error-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-home {
  background: #007bff;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-home:hover {
  background: #0056b3;
  color: white;
  transform: translateY(-2px);
}

.btn-search {
  background: #28a745;
  color: white;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background: #1e7e34;
  color: white;
  transform: translateY(-2px);
}

.error-icon {
  font-size: 4rem;
  color: #dc3545;
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  display: block;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.blog-image img {
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 15px;
}

.blog-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.blog-subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.tag {
  background-color: #3db17a;
  display: inline-block;
  color: #fff;
  padding: 2px 5px;
  font-weight: bold;
  font-size: 11px;
  border-radius: 4px;
  margin-bottom: 5px;
}

.date {
  font-size: 13px;
  margin-top: 10px;
}

/* Blog meta (date and author) */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #64748b;
  margin-top: 8px;
}

.blog-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.italic {
  font-size: 20px !important;
  font-style: italic;
}



/* Pagination Styles */
.pagination-container {
  margin-top: 3rem;
  text-align: center;
}

.pagination-info {
  margin-bottom: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.pagination {
  gap: 0.25rem;
}

.pagination .page-link {
  color: #3EB27A;
  background-color: white;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination .page-link:hover {
  background-color: #f1f5f9;
  border-color: #3EB27A;
  color: #3EB27A;
}

.pagination .page-item.active .page-link {
  background-color: #3EB27A;
  border-color: #3EB27A;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #9ca3af;
  background-color: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  border-radius: 8px;
}

.pagination .page-item:not(:first-child):not(:last-child) .page-link {
  border-radius: 6px;
}

/* Author Meta Section */
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #666;
}

.blog-meta .date {
  color: #888;
}

.blog-meta .author {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #555;
}

.blog-meta .author i {
  font-size: 0.8rem;
  color: #3EB27A;
}

/* Author Section in Blog Detail */
.author-section {
  margin: 40px 0;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #3EB27A;
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar i {
  font-size: 3rem;
  color: #3EB27A;
}

.author-details {
  flex: 1;
}

.author-name {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
}

.author-title {
  margin: 0 0 10px 0;
  font-size: 1rem;
  color: #3EB27A;
  font-weight: 500;
}

.author-bio {
  margin: 0;
  line-height: 1.6;
  color: #666;
}


/* Enhanced Author Section Styling */
.author-section {
  margin: 50px 0;
  padding: 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 15px;
  border-left: 5px solid #3EB27A;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.author-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(62, 178, 122, 0.1) 0%, rgba(62, 178, 122, 0.05) 100%);
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  position: relative;
  z-index: 2;
}

.author-avatar {
  flex-shrink: 0;
  position: relative;
}

.author-avatar i {
  font-size: 4rem;
  color: #3EB27A;
  background: linear-gradient(135deg, #3EB27A 0%, #2d8f5f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(62, 178, 122, 0.2));
}

.author-avatar::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(62, 178, 122, 0.1) 0%, rgba(62, 178, 122, 0.05) 100%);
  border-radius: 50%;
  z-index: -1;
}

.author-details {
  flex: 1;
}

.author-name {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.author-title {
  margin: 0 0 15px 0;
  font-size: 1.1rem;
  color: #3EB27A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.author-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #3EB27A 0%, #2d8f5f 100%);
  border-radius: 1px;
}

.author-bio {
  margin: 0;
  line-height: 1.7;
  color: #5a6c7d;
  font-size: 1rem;
  font-weight: 400;
}

/* Empty state for no blogs */
.empty-state {
  margin: 40px auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff3cd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.empty-icon i {
  color: #d97706;
  font-size: 28px;
}

.empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.empty-subtitle {
  color: #64748b;
  max-width: 540px;
  margin: 0 auto;
}


/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(139, 92, 246, 0.1);
}

::-webkit-scrollbar-thumb {
  background: #3EB07A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3EB07A;
}

#salesChart{
  height: 350px;
}

/* Responsive Design - Comprehensive Media Queries */

/* 1299px and below - Large tablets and small desktops */
@media (max-width: 1299px) {
  .container {
    max-width: 1140px;
    padding: 0 20px;
  }

  .content-area {
    gap: 1.5rem;
  }

  .welcome-content {
    gap: 2rem;
    padding: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* 992px and below - Tablets */
@media (max-width: 992px) {
  .container {
    max-width: 1140px !important;
    padding: 0 15px;
  }

  .header {
    padding: 0.75rem 0;
  }

  .logo-text {
    font-size: 1.75rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }

  .main {
    padding: 2rem 0;
  }

  .content-area {
    flex-direction: column;
    gap: 1.5rem;
  }

  
  .details {
    padding: 1.5rem;
  }

  .welcome-section {
    padding: 3rem 0;
  }

  .welcome-content {
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
  }

  .welcome-text h2 {
    font-size: 2rem;
  }

  .welcome-placeholder {
    width: 200px;
    height: 200px;
  }

  .common-forms {
    padding: 3rem 0;
  }

  .forms-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .why-card {
    padding: 2rem;
  }

  .why-card h2 {
    font-size: 1.75rem;
  }

  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 3fr));
    margin-top: 25px;
  }

  .pagination-container {
    margin-top: 2rem;
  }

  .footer {
    padding: 2rem 0;
  }

  /* Blog detail responsive */
  .col-md-9, .col-md-3 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .table-container {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .row {
    flex-direction: column;
  }

  .details-content h1 {
    font-size: 1.75rem;
  }

  .author-section {
    margin: 30px 0;
    padding: 20px;
  }

  .author-info {
    flex-direction: row;
    text-align: left;
    gap: 15px;
  }

  .author-avatar i {
    font-size: 3rem;
  }

  .author-name {
    font-size: 1.3rem;
  }
  .author-details{
    margin-left: 20px;
  }

  .table-container {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }

  .table-container table {
    min-width: 600px;
  }
}

/* 768px and below - Small tablets and large phones */
@media (max-width: 768px) {
  .container {
    max-width: 1140px;
    padding: 0 15px;
  }

  .header-content {
    padding: 0 10px;
  }

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

  .header-subtitle {
    font-size: 0.9rem;
    padding: 0 10px;
  }
  .welcome-section {
    padding: 2rem 0;
  }

  .welcome-card {
    margin: 0 10px;
  }

  .welcome-content {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .welcome-text h1 {
    font-size: 1.75rem;
  }

  .welcome-text h2 {
    font-size: 1.5rem;
  }

  .welcome-text h3 {
    font-size: 1.1rem;
  }

  .welcome-text p {
    font-size: 0.9rem;
  }

  .welcome-btn {
    padding: 10px 24px;
    font-size: 0.9rem;
  }

  .common-forms {
    padding: 2rem 0;
  }



  .form-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .why-card {
    padding: 1.5rem;
    margin: 0 10px;
  }

  .why-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .feature-item {
    gap: 0.75rem;
  }

  .feature-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }

  .feature-item p {
    font-size: 0.9rem;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card {
    margin: 0;
  }

  .blog-image img {
    height: 200px;
  }

  .blog-content {
    padding: 1rem;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-subtitle {
    font-size: 0.85rem;
  }

  .blog-meta {
    flex-direction: row;
    gap: 5px;
    font-size: 0.8rem;
    align-items: baseline;
  }
  .blog-meta .date{
    font-size: 12px;
  }

  .pagination-container {
    margin-top: 1.5rem;
    padding: 0 10px;
  }

  .pagination-info {
    font-size: 0.85rem;
  }

  .faq-section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .faq-container {
    gap: 0 !important;
  }

  .faq-item {
    margin-bottom: 0.75rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer-brand {
    margin-bottom: 1.5rem;
  }

  .footer-logo img {
    max-width: 180px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
  }

  .footer-links {
    font-size: 0.8rem;
  }

  .footer-social {
    gap: 0.5rem;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  /* Blog detail specific */
  .details-content h1 {
    font-size: 1.5rem;
  }

  .details-image {
    margin-bottom: 1rem;
  }

  .details-description-text {
    font-size: 0.9rem;
  }

  .details-description-text h2 {
    font-size: 1.2rem;
  }

  .details-description-text h3 {
    font-size: 1.1rem;
  }

  .details-description-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
}

/* 600px and below - Medium phones */
@media (max-width: 600px) {
  .container {
    padding: 0 12px;
  }

  .header {
    padding: 0.5rem 0;
  }

  .logo img {
    max-width: 180px;
  }

  .header-subtitle {
    font-size: 0.85rem;
    padding: 0 5px;
  }

  .main {
    padding: 1.5rem 0;
  }

  .welcome-content {
    padding: 1.5rem;
    gap: 2rem;
    display: block;
  }

  .welcome-text h1 {
    font-size: 1.5rem;
  }

  .welcome-text h2 {
    font-size: 1.3rem;
  }

  .welcome-text p {
    font-size: 0.85rem;
  }

  .welcome-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  .common-forms {
    padding: 1.5rem 0;
  }

  .why-card {
    padding: 1rem;
  }

  .why-card h2 {
    font-size: 1.3rem;
  }

  .blog-image img {
    height: 180px;
  }

  .blog-title {
    font-size: 1rem;
  }

  .blog-subtitle {
    font-size: 0.8rem;
  }

  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .footer {
    padding: 1rem 0;
  }

  .details {
    padding: 1rem;
  }

  .details-content h1 {
    font-size: 1.3rem;
  }

  .author-section {
    padding: 15px;
    margin: 20px 0;
  }
}

/* 480px and below - Small phones */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .header-content {
    padding: 0 5px;
  }

  .logo img {
    max-width: 120px;
  }

  .header-subtitle {
    font-size: 0.8rem;
  }

  .welcome-card {
    margin: 0 5px;
  }

  .welcome-content {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .welcome-text h1 {
    font-size: 1.4rem;
  }

  .welcome-text h2 {
    font-size: 1.2rem;
  }

  .welcome-text p {
    font-size: 0.8rem;
  }

  .welcome-btn {
    padding: 6px 18px;
    font-size: 0.8rem;
  }

  .common-forms {
    padding: 1rem 0;
  }
  .why-card {
    padding: 0.75rem;
    margin: 0 5px;
  }

  .why-card h2 {
    font-size: 1.2rem;
  }

  .feature-item p {
    font-size: 0.8rem;
  }

  .blog-grid {
    gap: 1rem;
    margin: 20px 5px 10px;
    grid-template-columns: 1fr;
  }

  .blog-image img {
    height: auto;
  }

  .blog-content {
    padding: 0.75rem;
  }

  .blog-title {
    font-size: 0.9rem;
  }

  .blog-subtitle {
    font-size: 0.75rem;
  }

  .blog-meta {
    font-size: 0.75rem;
  }

  .pagination-container {
    margin-top: 1rem;
    padding: 0 5px;
  }

  .pagination-info {
    font-size: 0.8rem;
  }

  .faq-section {
    padding: 1.5rem 0;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .faq-question {
    font-size: 0.85rem;
  }

  .footer {
    padding: 0.75rem 0;
  }

  .footer-logo img {
    max-width: 120px;
  }

  .footer-links {
    font-size: 0.75rem;
  }

  .footer-social a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .author-info{
    flex-direction: column;
  }
  .author-details{
    margin-left: 0;
  }

  /* Blog detail specific */
  .details-content h1 {
    font-size: 1.2rem;
  }

  .subtitle {
    font-size: 0.9rem;
  }

  .details-description-text {
    font-size: 0.85rem;
  }

  .details-description-text h2 {
    font-size: 1.1rem;
  }

  .details-description-text h3 {
    font-size: 1rem;
  }

  .details-description-text p {
    font-size: 0.85rem;
  }
}

/* 350px and below - Extra small phones */
@media (max-width: 350px) {
  .container {
    padding: 0 8px;
  }

  .header-subtitle {
    font-size: 0.75rem;
  }

  .welcome-text h1 {
    font-size: 1.3rem;
  }

  .welcome-text h2 {
    font-size: 1.1rem;
  }

  .welcome-text p {
    font-size: 0.75rem;
  }

  .welcome-btn {
    padding: 5px 15px;
    font-size: 0.75rem;
  }

  .why-card {
    padding: 0.5rem;
  }

  .why-card h2 {
    font-size: 1.1rem;
  }

  .blog-image img {
    height: 120px;
  }

  .blog-title {
    font-size: 0.85rem;
  }

  .blog-subtitle {
    font-size: 0.7rem;
  }

  .pagination .page-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  .footer-links {
    font-size: 0.7rem;
  }

  .footer-social a {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .details-content h1 {
    font-size: 1.1rem;
  }

  .details-description-text {
    font-size: 0.8rem;
  }
}

/* 320px and below - Smallest screens */
@media (max-width: 320px) {
  .container {
    padding: 0 5px;
  }

  .header-subtitle {
    font-size: 0.7rem;
  }
  .welcome-text h1 {
    font-size: 1.2rem;
  }

  .welcome-text h2 {
    font-size: 1rem;
  }

  .welcome-text p {
    font-size: 0.7rem;
  }

  .welcome-btn {
    padding: 4px 12px;
    font-size: 0.7rem;
  }

  .why-card {
    padding: 0.5rem;
  }

  .why-card h2 {
    font-size: 1rem;
  }

  .blog-image img {
    height: 100px;
  }

  .blog-title {
    font-size: 0.8rem;
  }

  .blog-subtitle {
    font-size: 0.65rem;
  }

  .pagination .page-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
  }

  .footer-links {
    font-size: 0.65rem;
  }

  .footer-social a {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .details-content h1 {
    font-size: 1rem;
  }

  .details-description-text {
    font-size: 0.75rem;
  }
}

