@charset "UTF-8";

/* =======================================================
   GLOBAL VARIABLES & RESET
======================================================== */
:root {
  --primary-orange: #ff5f10;
  --primary_orange: #ff5f10;
  --primary_orange_dark: #cc4c0c;
  --secondary-green: #2e7d32;
  --secondary_green: #0c5728;
  --text-dark: #222;
  --text_dark: #14141f;
  --text-light: #fff;
  --text_light: #ffffff;
  --hover-bg: #f5f5f5;
  --hover_bg: #f2f2f2;
  --text_muted: #555555;
  --border_color: #e0e0e0;
  --footer_bg: #0d0d16;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  color: var(--text_dark);
  background-color: #f8f9fa;
  margin: 0;
  padding: 40px 20px;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

.blog-logo-img {
  width: 100% !important;
  height: 80px !important;
  object-fit: contain !important;
}

article,
aside,
.back-link {
  max-width: 800px;
  margin: 0 auto;
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary_green);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 24px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.back-link:hover {
  color: var(--primary_orange);
  transform: translateX(-5px);
}

/* =======================================================
   HEADER UI
======================================================== */
.blog-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(20, 20, 31, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  box-sizing: border-box;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-logo-img {
  height: 55px;
  width: auto;
  display: block;
}

.header-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary_orange);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 18px;
  border: 1.5px solid var(--primary_orange);
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: transparent;
}

.header-back-btn:hover {
  background-color: var(--primary_orange);
  color: var(--text_light);
  box-shadow: 0 4px 10px rgba(255, 95, 16, 0.2);
}

.blog-header-nav {
  display: flex;
  align-items: center;
}

.blog-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.blog-nav-link {
  text-decoration: none;
  color: var(--text_dark);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.blog-nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary_orange);
  transition: width 0.3s ease;
}

.blog-nav-link:hover {
  color: var(--primary_orange);
}
.blog-nav-link:hover::after {
  width: 100%;
}

.nav-call-item {
  margin-left: 10px;
}

.header-call-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background-color: var(--secondary_green);
  color: var(--text_light);
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.header-call-btn:hover {
  background-color: #09421e;
  box-shadow: 0 4px 12px rgba(12, 87, 40, 0.3);
  transform: translateY(-1px);
}

.call-icon i {
  font-size: 18px;
}

.call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.call-title {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.9;
}

.call-number {
  font-size: 15px;
  font-weight: 700;
}

.blog-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary_orange);
  font-size: 26px;
  cursor: pointer;
  padding: 5px;
}

/* =======================================================
   MAIN BLOG CONTENT
======================================================== */
.blog-main-container {
  margin-top: 120px;
  padding: 0 20px 60px 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

article {
  background: #ffffff;
  padding: 50px 60px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
  article {
    padding: 30px 20px;
  }
}

article h1 {
  font-size: 2.6rem;
  color: var(--text_dark);
  margin-top: 0;
  margin-bottom: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  article h1 {
    font-size: 2rem;
  }
}

.meta-info {
  font-size: 0.95rem;
  color: var(--secondary_green);
  font-weight: 600;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border_color);
  margin-bottom: 30px;
}

.featured-image,
.content-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 40px;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  max-height: 500px;
}

article h2 {
  font-size: 2rem;
  color: var(--secondary_green);
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

article h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary_orange);
  border-radius: 2px;
}

article h3 {
  font-size: 1.4rem;
  color: var(--text_dark);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 700;
}

article p {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.8;
  margin-bottom: 24px;
}

article strong {
  color: var(--text_dark);
}

article ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

article ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
}

article ul li::before {
  content: "■";
  color: var(--primary_orange);
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.2rem;
}

article a {
  color: var(--primary_orange);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

article a:hover {
  color: #d14605;
  text-decoration: underline;
}

/* =======================================================
   SOCIAL SHARE BUTTONS
======================================================== */
.social-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border_color);
}

.social-share strong {
  font-size: 1.1rem;
  margin-right: 10px;
  color: var(--text_dark);
}

.social-share a {
  padding: 10px 20px;
  border-radius: 30px;
  color: var(--text_light) !important;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-share a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-linkedin { background-color: #0077b5; }
.btn-twitter { background-color: #14141f; }
.btn-whatsapp { background-color: #25d366; }

/* =======================================================
   RELATED BLOGS (THUMBNAIL DESIGN - STRICT 3 COLUMNS)
======================================================== */
.related-blogs {
  background-color: transparent !important;
  padding: 0 !important;
  margin-top: 70px !important;
  border-left: none !important;
  box-shadow: none !important;
}

.related-blogs h2 {
  font-size: 1.8rem;
  color: var(--text_dark);
  margin-top: 0;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
}

.related-blogs h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--primary_orange);
  border-radius: 2px;
}

/* Bulletproof Grid Layout */
#related-blogs-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* Exactly 3 columns */
  gap: 20px !important;
}

.related-blog-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border_color);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 0 !important; /* Resets old margin */
}

.related-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.related-blog-link {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 0 !important;
  background: none !important;
}

.related-blog-link:hover {
  background: none !important;
  border-left: none !important;
  transform: none !important;
}

.related-blog-thumb {
  width: 100%;
  height: 150px;
  overflow: hidden;
  position: relative;
}

.related-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-blog-card:hover .related-blog-thumb img {
  transform: scale(1.08);
}

.related-blog-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.related-blog-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary_green);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.related-blog-content h4 {
  margin: 0 0 12px 0;
  font-size: 1.05rem;
  color: var(--text_dark);
  line-height: 1.4;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-read-more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary_orange);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.related-blog-card:hover .related-read-more {
  gap: 10px;
}

.empty-related {
  font-style: italic;
  color: var(--text_muted);
  grid-column: 1 / -1;
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
  #related-blogs-list {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on tablet */
    gap: 20px !important;
  }
}

@media (max-width: 540px) {
  #related-blogs-list {
    grid-template-columns: 1fr !important; /* 1 column on mobile */
  }
  
  .related-blog-thumb {
    height: 180px;
  }
}

/* =======================================================
   MOBILE NAV ADJUSTMENTS
======================================================== */
@media (max-width: 992px) {
  .blog-header {
    padding: 0 20px;
    height: auto;
    min-height: 70px;
    flex-wrap: wrap;
  }

  .header-left {
    gap: 15px;
  }

  .header-back-btn span {
    display: none;
  }

  .header-back-btn {
    padding: 8px 12px;
  }

  .blog-menu-toggle {
    display: block;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .blog-header-nav {
    display: none;
    width: 100%;
    background-color: var(--text_light);
    padding-bottom: 20px;
    border-top: 1px solid var(--hover_bg);
  }

  .blog-header-nav.show {
    display: flex;
    flex-direction: column;
  }

  .blog-nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .blog-nav-links li {
    width: 100%;
    text-align: center;
  }

  .blog-nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--hover_bg);
  }

  .blog-nav-link::after {
    display: none;
  }

  .nav-call-item {
    margin-left: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
  }
}

/* =======================================================
   CUSTOMER SUPPORT & FOOTER
======================================================== */
.customer-support-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.customer-support-section .support-background-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-image: url("/img/contact-banner.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.customer-support-section .support-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(12, 87, 40, 0.6), rgba(19, 53, 123, 0.6));
  z-index: 2;
}

.customer-support-section .support-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  padding: 20px;
  color: var(--text_light);
}

.customer-support-section .top-heading-white {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff !important;
  text-transform: uppercase !important;
  position: relative;
}

.customer-support-section .top-heading-white::before,
.customer-support-section .top-heading-white::after {
  content: "";
  flex: 1;
  height: 2px;
  max-width: 6%;
  background-color: var(--primary_orange);
  margin: 0 15px;
}

.customer-support-section .heading-white h1 {
  color: #fff;
  font-size: 40px;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.customer-support-section .sub-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text_light);
}

.customer-support-section .btn-c,
.footer-section .btn-c {
  background-color: var(--primary_orange);
  color: var(--text_light);
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.customer-support-section .btn-c:hover,
.footer-section .btn-c:hover {
  background-color: var(--text_light);
  color: var(--primary_orange);
}

.customer-support-section .btn-c p,
.footer-section .btn-c p {
  margin: 0;
}

.footer-section {
  background-color: var(--footer_bg);
  color: var(--text_light);
}

.footer-section .footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
  padding: 90px 20px 70px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section .newsletter {
  flex: 1 350px;
  padding-right: 220px;
}

.footer-section .newsletter .footer-logo-container {
  margin-bottom: 25px;
}

.footer-section .newsletter .footer-logo-container .footer-logo {
  max-width: 80px;
  height: auto;
  background-color: #ffffff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.footer-section .newsletter h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-section .newsletter h3 {
  font-size: 16px;
  color: var(--text_light);
  margin-bottom: 28px;
  font-weight: normal;
}

.footer-section .form-container {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 15px;
}

.footer-section .form-container .input-group {
  position: relative;
  width: 100%;
}

.footer-section .form-container .input-group.full-width {
  grid-column: span 2;
}

.footer-section .form-container .input-group input,
.footer-section .form-container .input-group .footer-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text_light);
  font-size: 16px;
  padding: 10px 5px;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.footer-section .form-container .input-group input:focus,
.footer-section .form-container .input-group .footer-textarea:focus {
  border-bottom-color: var(--primary_orange);
}

.footer-section .form-container .input-group input.inputError,
.footer-section .form-container .input-group.has-error input,
.footer-section .form-container .input-group.has-error .footer-textarea {
  border-bottom-color: #dc3545;
}

.footer-section .form-container .input-group .error-msg {
  display: none;
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

.footer-section .form-container .input-group.has-error .error-msg {
  display: block;
}

.footer-section .form-container .input-group .footer-textarea {
  resize: none;
}

.footer-section .form-container .input-group label {
  position: absolute;
  top: 10px;
  left: 5px;
  color: #ccc;
  font-size: 15px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.footer-section .form-container .input-group input:focus ~ label,
.footer-section .form-container .input-group input:not(:placeholder-shown) ~ label,
.footer-section .form-container .input-group .footer-textarea:focus ~ label,
.footer-section .form-container .input-group .footer-textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-20px);
  font-size: 12px;
  color: var(--primary_orange);
}

.footer-section .form-container .status-message {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-section .form-container .status-message.success {
  color: #25d366;
}

.footer-section .form-container .status-message.error {
  color: #dc3545;
}

.footer-section .footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.footer-section .footer-links .link-column h2 {
  font-size: 20px;
  margin-bottom: 18px;
}

.footer-section .footer-links .link-column .navlinks {
  display: flex;
  align-items: center;
  color: var(--text_light);
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 6px;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.footer-section .footer-links .link-column .navlinks i {
  margin-right: 6px;
  color: var(--text_light);
  transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.footer-section .footer-links .link-column .navlinks:hover {
  color: var(--primary_orange);
  letter-spacing: 2px;
}

.footer-section .footer-links .link-column .navlinks:hover i {
  color: var(--primary_orange);
  letter-spacing: -2px;
}

.footer-section .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-content: center;
  justify-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section .footer-bottom .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary_orange);
  border: 2px solid var(--primary_orange);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin: 0 4px;
  transition: 0.3s;
  text-decoration: none;
}

.footer-section .footer-bottom .social-icons a:hover {
  background-color: white;
  color: var(--primary_orange);
  border: 2px solid var(--primary_orange);
}

.footer-section .footer-bottom p {
  color: var(--text_light);
  font-size: 16px;
  margin: 0;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary_orange);
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 999;
}

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

.scroll-to-top:hover {
  background-color: var(--primary_orange_dark);
}

@media (max-width: 1024px) {
  .customer-support-section .heading-white h1 {
    font-size: 30px;
  }
  .customer-support-section .sub-text {
    font-size: 16px;
    margin-top: 30px;
  }
  .footer-section .footer-content {
    grid-template-columns: 1fr;
    padding: 60px 20px 50px;
    gap: 40px;
  }
  .footer-section .newsletter {
    padding-right: 0;
    width: 100%;
  }
  .footer-section .footer-links {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 25px;
  }
  .footer-section .footer-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .footer-section .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer-section .footer-content {
    padding: 40px 15px 40px;
    gap: 30px;
  }
  .footer-section .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-section .footer-bottom {
    margin-top: 20px;
    padding: 15px 10px;
  }
}