/* ==========================================================================
   TechMech Cranes - Premium SEO Landing Page Stylesheet
   Strictly complies with Client-Approved Content & SEO H-Tag Hierarchy
   ========================================================================== */

:root {
  --tm-primary: #054086;
  --tm-primary-dark: #0a2540;
  --tm-primary-light: #0d5bbd;
  --tm-accent: #ffae13;
  --tm-accent-hover: #e59a0b;
  --tm-text-main: #334155;
  --tm-text-heading: #0a2540;
  --tm-text-muted: #64748b;
  --tm-bg-light: #f8fafc;
  --tm-bg-card: #ffffff;
  --tm-border: #e2e8f0;
  --tm-border-light: #f1f5f9;
  --tm-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --tm-shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --tm-radius: 8px;
  --tm-radius-sm: 6px;
  --tm-radius-lg: 12px;
}

/* Base SEO Page Wrapper */
.seo-page-section {
  padding: 35px 0 65px 0;
  background-color: #fbfcfe;
  color: var(--tm-text-main);
  font-family: 'Open Sans', 'Lato', sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
}

.seo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

/* ==========================================================================
   Top Showcase Card (Hero Area)
   ========================================================================== */
.seo-hero-card {
  background: #ffffff;
  border-radius: var(--tm-radius-lg);
  box-shadow: var(--tm-shadow-md);
  border: 1px solid var(--tm-border);
  padding: 30px;
  margin-bottom: 35px;
}

.seo-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef5fc;
  color: var(--tm-primary);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1px solid #d0e4f7;
}

.seo-badge-tag i {
  color: var(--tm-accent);
}

.seo-main-title {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--tm-text-heading);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.seo-hero-intro p {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3f4d63;
  margin-bottom: 14px;
}

.seo-hero-intro p:last-child {
  margin-bottom: 20px;
}

.seo-hero-intro a {
  color: var(--tm-primary);
  font-weight: 600;
  text-decoration: underline;
}

.seo-hero-intro a:hover {
  color: var(--tm-accent-hover);
}

/* Main Image Wrapper */
.seo-image-wrapper {
  position: relative;
  border-radius: var(--tm-radius);
  overflow: hidden;
  box-shadow: var(--tm-shadow-sm);
  background: #f1f5f9;
  border: 1px solid var(--tm-border);
  margin-bottom: 15px;
}

.seo-image-wrapper img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.seo-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Top Hero CTA Buttons */
.seo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.seo-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tm-primary);
  color: #ffffff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: var(--tm-radius-sm);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(5, 64, 134, 0.2);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.seo-btn-primary:hover {
  background: var(--tm-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 64, 134, 0.3);
  color: #ffffff !important;
}

.seo-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--tm-primary) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--tm-radius-sm);
  border: 1.5px solid var(--tm-primary);
  text-decoration: none !important;
  transition: all 0.2s ease;
  cursor: pointer;
}

.seo-btn-secondary:hover {
  background: var(--tm-primary);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   Client-Approved H-Tag Hierarchy & Typography
   ========================================================================== */
.seo-content-block h2 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--tm-text-heading);
  line-height: 1.35;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eef2f6;
  position: relative;
}

.seo-content-block h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--tm-accent);
}

.seo-content-block h3 {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  font-size: 17.5px;
  font-weight: 600;
  color: var(--tm-primary);
  line-height: 1.4;
  margin-top: 22px;
  margin-bottom: 10px;
}

.seo-content-block p {
  color: #3f4d63;
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.seo-content-block p a {
  color: var(--tm-primary);
  font-weight: 600;
  text-decoration: underline;
}

.seo-content-block p a:hover {
  color: var(--tm-accent-hover);
}

/* ==========================================================================
   Interactive Content Blocks (Capabilities & Sub-sections)
   ========================================================================== */
.seo-capability-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  padding: 22px;
  margin-bottom: 16px;
  border-left: 4px solid var(--tm-primary);
  box-shadow: var(--tm-shadow-sm);
  transition: all 0.25s ease;
}

.seo-capability-card:hover {
  box-shadow: var(--tm-shadow-md);
  border-left-color: var(--tm-accent);
  transform: translateX(3px);
}

.seo-capability-card h3 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  color: var(--tm-text-heading);
}

.seo-capability-card p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Customized Solutions Table
   ========================================================================== */
.seo-table-wrap {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  overflow: hidden;
  box-shadow: var(--tm-shadow-sm);
  margin: 22px 0 25px 0;
}

.seo-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14.5px;
}

.seo-spec-table thead th {
  background: var(--tm-primary);
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 18px;
  border: none;
}

.seo-spec-table tbody tr {
  border-bottom: 1px solid var(--tm-border-light);
  transition: background 0.15s ease;
}

.seo-spec-table tbody tr:last-child {
  border-bottom: none;
}

.seo-spec-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.seo-spec-table tbody tr:hover {
  background: #f0f7ff;
}

.seo-spec-table td {
  padding: 14px 18px;
  vertical-align: middle;
  color: var(--tm-text-main);
  border: none;
}

.seo-spec-table td:first-child {
  font-weight: 700;
  color: var(--tm-text-heading);
  width: 30%;
}

/* ==========================================================================
   Styled Lists (Preserving Verbatim Client Content)
   ========================================================================== */
.seo-grid-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 25px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.seo-grid-list li {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-sm);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--tm-text-main);
  transition: all 0.2s ease;
}

.seo-grid-list li:hover {
  border-color: var(--tm-primary-light);
  background: #f8fafc;
  transform: translateX(3px);
}

.seo-grid-list li::before {
  content: '\f00c';
  font-family: 'FontAwesome';
  color: #10b981;
  font-size: 13px;
  flex-shrink: 0;
}

/* Card-style Lists for Selection Checklist and Quotation */
.seo-card-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 25px 0;
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  box-shadow: var(--tm-shadow-sm);
  overflow: hidden;
}

.seo-card-list li {
  padding: 12px 18px;
  border-bottom: 1px solid var(--tm-border-light);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--tm-text-main);
  transition: background 0.15s ease;
}

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

.seo-card-list li:hover {
  background: #f8fafc;
}

.seo-card-list li::before {
  content: '\f058';
  font-family: 'FontAwesome';
  color: var(--tm-primary);
  font-size: 14px;
  flex-shrink: 0;
}

/* Process Steps Grid */
.seo-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0 30px 0;
}

.seo-process-box {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  padding: 20px;
  position: relative;
  box-shadow: var(--tm-shadow-sm);
  transition: all 0.25s ease;
}

.seo-process-box:hover {
  border-color: var(--tm-primary);
  box-shadow: var(--tm-shadow-md);
  transform: translateY(-3px);
}

.seo-process-box .step-badge {
  display: inline-block;
  background: #eef5fc;
  color: var(--tm-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.seo-process-box h3 {
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: var(--tm-text-heading) !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.seo-process-box p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tm-text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */
.seo-faq-card {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  padding: 28px;
  margin: 35px 0 15px 0;
  box-shadow: var(--tm-shadow-sm);
}

.seo-faq-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--tm-text-heading);
  margin-top: 0;
  margin-bottom: 22px;
  text-align: center;
}

.seo-faq-item {
  margin-bottom: 10px;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.seo-faq-item:hover {
  border-color: #cbd5e1;
}

.seo-faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  background: #ffffff;
  color: var(--tm-text-heading) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.seo-faq-trigger:hover {
  background: #f8fafc;
  color: var(--tm-primary) !important;
}

.seo-faq-trigger.active {
  background: #f0f7ff;
  color: var(--tm-primary) !important;
  border-bottom: 1px solid var(--tm-border-light);
}

.seo-faq-trigger .faq-icon {
  width: 24px;
  height: 24px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tm-primary);
  font-size: 11px;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.2s ease;
}

.seo-faq-trigger.active .faq-icon {
  background: var(--tm-primary);
  color: #ffffff;
  transform: rotate(180deg);
}

.seo-faq-body {
  background: #ffffff;
  padding: 18px 20px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #475569;
}

.seo-faq-body p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Sticky Sidebar & Widgets
   ========================================================================== */
.seo-sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 90px;
  margin-bottom: 35px;
}

.seo-widget {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--tm-shadow-sm);
  transition: all 0.25s ease;
}

.seo-widget:hover {
  box-shadow: var(--tm-shadow-md);
}

.seo-widget h3.othp_head,
.seo-widget-title {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--tm-text-heading);
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
  text-align: left;
}

.seo-widget h3.othp_head::after,
.seo-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--tm-accent);
}

/* Widget: Quick Quote CTA Card */
.seo-widget-cta {
  background: linear-gradient(135deg, var(--tm-primary) 0%, var(--tm-primary-dark) 100%);
  color: #ffffff;
  border: none;
}

.seo-widget-cta .seo-widget-title {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.seo-widget-cta p {
  color: #e2e8f0;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.seo-cta-btn {
  display: block;
  width: 100%;
  background: var(--tm-accent);
  color: var(--tm-primary-dark) !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
  border-radius: var(--tm-radius-sm);
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(255, 174, 19, 0.35);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  margin-bottom: 12px;
}

.seo-cta-btn:hover {
  background: #ffb82e;
  transform: translateY(-2px);
}

.seo-cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  padding: 9px;
  border-radius: var(--tm-radius-sm);
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.seo-cta-phone:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Category List inside Sidebar */
ul.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.category-list li {
  margin-bottom: 8px;
  border: none;
}

ul.category-list li:last-child {
  margin-bottom: 0;
}

ul.category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: #f8fafc;
  border: 1px solid var(--tm-border);
  border-radius: var(--tm-radius-sm);
  color: var(--tm-text-heading);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin: 0;
}

ul.category-list li a:hover {
  background: var(--tm-primary);
  color: #ffffff;
  border-color: var(--tm-primary);
  padding-left: 18px;
}

ul.category-list li a::after {
  content: '\f105';
  font-family: 'FontAwesome';
  color: var(--tm-accent);
  font-size: 13px;
  transition: transform 0.2s ease;
}

ul.category-list li a:hover::after {
  color: #ffffff;
  transform: translateX(4px);
}

/* Technical Catalog Widget Spacing */
.seo-widget.seo-widget-catalog {
  margin-top: 34px;
  padding-top: 26px;
}

/* Brochure Download Card */
.seo-brochure-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f0f7ff;
  border: 1px dashed #b9d8f8;
  border-radius: var(--tm-radius);
  padding: 14px;
}

.seo-brochure-card .pdf-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ef4444;
  font-size: 22px;
  box-shadow: var(--tm-shadow-sm);
  flex-shrink: 0;
}

.seo-brochure-card .brochure-text h5 {
  margin: 0 0 3px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tm-text-heading);
}

.seo-brochure-card .brochure-text p {
  margin: 0;
  font-size: 12px;
  color: var(--tm-text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .seo-main-title {
    font-size: 26px;
  }
  
  .seo-image-wrapper img {
    height: 300px;
  }
  
  .seo-sidebar-sticky {
    position: static;
    margin-top: 35px;
  }
}

@media (max-width: 767px) {
  .seo-page-section {
    padding: 20px 0 45px 0;
  }
  
  .seo-hero-card {
    padding: 18px;
  }
  
  .seo-main-title {
    font-size: 22px;
    margin-top: 15px;
  }
  
  .seo-image-wrapper img {
    height: 240px;
  }
  
  .seo-content-block h2 {
    font-size: 20px;
    margin-top: 28px;
  }
  
  .seo-hero-actions {
    flex-direction: column;
  }
  
  .seo-btn-primary, .seo-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .seo-spec-table thead th, .seo-spec-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .seo-grid-list {
    grid-template-columns: 1fr;
  }
  
  .seo-process-grid {
    grid-template-columns: 1fr;
  }
}
