/* style.css */
:root {
  /* Colors */
  --primary: #0F172A;
  --accent: #e10d13;
  --accent-hover: #b90b10;
  --secondary: #111827;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-main: #111827;
  --text-muted: #4B5563;
  --border-color: #E2E8F0;

  /* Typography */
  --font-family: 'Inter', sans-serif;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: 300px;
  display: block;
}

/* Container */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Base Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9375rem;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 0.25rem 0.75rem rgba(225, 13, 19, 0.3);
}

.btn-rounded {
  border-radius: 3.125rem;
}

.card {
  background: var(--bg-white);
  border-radius: 15px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.section-padding {
  padding: 4rem 0;
}

/* Media Actions Buttons (Premium Redesign) */
.media-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 4rem;
}

.media-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 0.875rem 2rem;
  background: var(--accent);
  color: white !important;
  border: 2px solid var(--accent);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 100px;
  text-decoration: none;
  line-height: 1;
}

.media-btn:hover {
  background: #ffffff;
  color: var(--accent) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(225, 13, 19, 0.2);
}

.media-btn svg {
  transition: transform 0.3s ease;
}

.media-btn:hover svg {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .media-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    padding: 0 1.5rem;
  }

  .media-btn {
    justify-content: center;
  }
}

/* Navbar */
.navbar {
  display: block;
  background: var(--bg-white);
  border-bottom: 0.0625rem solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: var(--accent);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.top-bar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
}

.top-bar-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.top-bar-link:hover {
  opacity: 0.8;
}

.navbar-container {
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .top-bar-left {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .top-bar-container {
    justify-content: center;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000000 !important;
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition);
}

.mobile-toggle:hover {
  color: var(--accent);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  width: max-content;
  min-width: 13.75rem;
  box-shadow: 0 0.625rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1);
  z-index: 1001;
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  border: 0.0625rem solid var(--border-color);
}

.dropdown-content::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 0;
  width: 100%;
  height: 1rem;
}

.dropdown-content a {
  color: var(--text-muted) !important;
  padding: 0.4rem 1rem !important;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--bg-light);
  color: var(--accent) !important;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-two-columns a .dropdown-icon {
  display: none;
}

.dropdown-two-columns a img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.5rem;
  display: inline-block;
}

/* Machinery dropdown specific: two items in one row on desktop/laptop */
@media (min-width: 992px) {
  .dropdown-two-columns {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 0.75rem 0.5rem;
    min-width: 12rem;
    left: 50%;
    margin-left: -6rem;
  }

  .dropdown:hover .dropdown-two-columns {
    display: grid !important;
    animation: fadeIn 0.2s ease-in-out;
  }

  .dropdown-two-columns a {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.5rem !important;
    border-radius: 8px;
    gap: 0.25rem;
    text-align: center;
  }

  .dropdown-two-columns a .dropdown-icon {
    display: inline-block;
    font-size: 2.25rem;
    color: var(--accent);
    margin-right: 0;
    margin-bottom: 0.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .dropdown-two-columns a:hover .dropdown-icon {
    transform: scale(1.12);
    color: var(--accent-hover);
  }

  .dropdown-two-columns a img {
    width: 3rem;
    height: 3rem;
    margin-right: 0;
    margin-bottom: 0;
    display: block;
    transition: transform 0.2s ease;
  }

  .dropdown-two-columns a:hover img {
    transform: scale(1.12);
  }
}


.nav-link i {
  transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i,
.dropdown.active .nav-link i {
  transform: rotate(180deg);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(0.3125rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) and (min-width: 992px) {
  .nav-links {
    gap: 1.25rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }

  .navbar-container {
    padding: 0 1.5rem;
  }

  .navbar .btn-rounded {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 991px) {
  .navbar-container {
    height: 4.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .mobile-toggle {
    display: block;
    z-index: 1000;
  }

  .dropdown-content {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding-left: 1.5rem;
    animation: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .navbar .btn-rounded {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .navbar .btn-rounded {
    display: none;
    /* Hide Quote button on very small screens to save space, or move it to menu */
  }

  .nav-links {
    width: 100%;
  }
}

/* Video Hero Section */
.hero-video-section {
  position: relative;
  height: calc(100vh - 5rem);
  min-height: 37.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 0;
}

.hero-video-content {
  position: relative;
  z-index: 1;
  max-width: 56.25rem;
  text-align: left;
  color: var(--bg-white);
}

.hero-eyebrow {
  display: block;
  font-size: clamp(0.875rem, 1.2vw, 1.125rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  margin-bottom: 0.5rem;
}

.hero-video-content h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  color: var(--bg-white);
  line-height: 1.1;
  margin-bottom: 3rem;
  font-weight: 700;
  letter-spacing: -0.09375rem;
}

/* Intro Section */
.intro-section {
  background-color: var(--bg-white);
  border-bottom: 0.0625rem solid var(--border-color);
}

/* Advanced User-Friendly History Timeline */
.history-timeline-section {
  padding: 6rem 0;
  background-color: var(--bg-white);
}

.timeline-container-v5 {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line-v5 {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  /* Red line */
  transform: translateX(-50%);
}

.timeline-item-v5 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 3rem;
  /* Reduced gap */
  position: relative;
  /* Anchor for the dot */
}

.timeline-item-v5:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-card-v5 {
  width: 42%;
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.03);
  /* Reduced shadow */
  border: 1px solid var(--accent);
  /* Red border */
  position: relative;
  transition: all 0.3s ease;
}

.timeline-image-v5 {
  width: 42%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.timeline-image-v5 img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.timeline-dot-v5 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  /* Slightly larger circle */
  height: 1.5rem;
  background: var(--bg-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot-v5::after {
  content: '';
  width: 0.625rem;
  /* Inner dot */
  height: 0.625rem;
  background: var(--accent);
  border-radius: 50%;
}

.timeline-year-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #fef2f2;
  color: var(--accent);
  border-radius: 15px;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.timeline-card-v5 h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.timeline-card-v5 p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .timeline-line-v5 {
    left: 2rem;
  }

  .timeline-item-v5 {
    flex-direction: column !important;
    align-items: flex-start;
    margin-bottom: 4rem;
  }

  .timeline-card-v5,
  .timeline-image-v5 {
    width: calc(100% - 4rem);
    margin-left: 4rem;
  }

  .timeline-image-v5 {
    margin-top: 1.5rem;
  }

  .timeline-dot-v5 {
    left: 2rem;
    top: 2rem;
  }
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.intro-heading {
  font-size: 2.1875rem;
  color: var(--primary);
  line-height: 1.2;
}

.intro-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-heading {
    font-size: 1.75rem;
  }
}

/* Product Section */
.product-section {
  background-color: var(--bg-white);
}

.product-section-header {
  text-align: center;
  margin-bottom: 1rem;
}

.product-section-title {
  font-size: 2.1875rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-white);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 0.0625rem solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 0.625rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.product-image-container {
  width: 100%;
  height: 11.25rem;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-info {
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
  color: #000000;
  line-height: 1.3;
  min-height: 2.5rem;
}

.product-all-btn-container {
  text-align: center;
  margin-top: 2rem;
}

/* Explore Section */
.explore-section {
  background-color: var(--bg-light);
  overflow: hidden;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.explore-image-wrapper {
  position: relative;
  height: 30rem;
}

.explore-image-large {
  width: 85%;
  height: 22rem;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.explore-image-small {
  position: absolute;
  bottom: 2rem;
  right: 5%;
  width: 50%;
  height: 14rem;
  object-fit: cover;
  border-radius: 15px;
  border: 0.5rem solid var(--bg-white);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.experience-badge {
  position: absolute;
  top: 2rem;
  right: 10%;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 1.25rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0.5rem 1.5rem rgba(225, 13, 19, 0.3);
  z-index: 5;
}

.experience-badge .number {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.explore-content {
  position: relative;
  padding-left: 2.5rem;
}

.explore-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.25rem;
  background-color: var(--accent);
}

.explore-title {
  font-size: 2.1875rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  line-height: 1.1;
}

.explore-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
  .explore-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .explore-image-wrapper {
    height: 25rem;
  }

  .explore-content {
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .explore-content::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 3rem;
    height: 0.25rem;
  }

  .explore-title {
    font-size: 1.75rem;
  }
}

/* Global Network Section */
.global-network-section {
  background-color: var(--bg-light);
  text-align: center;
}

.global-network-header {
  max-width: 75rem;
  margin: 0 auto 3rem;
}

.global-network-title {
  font-size: 2.1875rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.global-network-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.global-network-map-container {
  width: 100%;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.15);
}

.global-network-map {
  width: 100%;
  height: 37.5rem;
  object-fit: cover;
}

@media (max-width: 768px) {
  .global-network-map {
    height: 10rem;
  }

  .global-network-title {
    font-size: 1.75rem;
  }
}

/* Offer Section */
.offer-section {
  background-color: var(--bg-white);
  text-align: center;
}

.offer-header {
  margin-bottom: 4rem;
}

.offer-title {
  font-size: 2.1875rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.offer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 0.25rem;
  background-color: var(--accent);
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-title {
    font-size: 1.75rem;
  }
}

.offer-card {
  background: var(--bg-white);
  padding: 1.5rem 1.5rem;
  border-radius: 15px;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0.0625rem solid var(--border-color);
}

.offer-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.offer-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--accent);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(225, 13, 19, 0.3);
}

.offer-icon-wrapper svg {
  width: 1.75rem;
  height: 1.75rem;
}

.offer-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  line-height: 1.2;
  text-align: center;
}

.offer-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* Why Choose Section */
.why-choose-section {
  background-color: var(--bg-light);
  text-align: center;
}

.why-choose-header {
  max-width: 68.75rem;
  margin: 0 auto 4rem;
}

.why-choose-title {
  font-size: 2.1875rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.why-choose-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .why-choose-title {
    font-size: 1.75rem;
  }
}

.why-card {
  background: var(--bg-white);
  padding: 1.5rem 1rem;
  border-radius: 15px;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0.0625rem solid var(--border-color);
}

.why-card:hover {
  transform: translateY(-0.3125rem);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}

.why-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--bg-white);
  color: var(--accent);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  border: 0.0625rem solid var(--border-color);
}

.why-icon-box svg {
  width: 1.75rem;
  height: 1.75rem;
}

.why-card-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
  line-height: 1.2;
  text-align: center;
}

.why-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 991px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-header-side {
    text-align: center;
  }
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-header-side {
  text-align: left;
}

.faq-title {
  font-size: 2rem;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.faq-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item {
  border-bottom: 0.0625rem solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.faq-item:hover {
  background-color: #f8fafc;
}

.faq-item.active {
  background-color: #f8fafc;
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  font-weight: 800;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  margin-top: 0.75rem;
  padding-bottom: 0.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(0deg);
  /* We change text instead of rotating + to x usually, but I'll stick to text change in JS */
}


/* About Kotec Section */
.about-kotec-section {
  background-color: var(--bg-white);
}

.about-kotec-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .about-kotec-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-kotec-content {
    padding-left: 0;
    padding-top: 1.5rem;
    order: 2;
  }

  .about-kotec-content::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 3rem;
    height: 0.25rem;
  }

  .about-kotec-image-wrapper {
    order: 1;
  }

  .about-kotec-title {
    font-size: 1.75rem;
  }
}

.about-kotec-content {
  position: relative;
  padding-left: 2.5rem;
}

.about-kotec-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.25rem;
  background-color: var(--accent);
}

.about-kotec-title {
  font-size: 2.1875rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  line-height: 1.1;
}

.about-kotec-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.about-kotec-image-wrapper {
  position: relative;
}

.about-kotec-image {
  width: 100%;
  height: 25rem;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
}

.years-badge {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background-color: var(--accent);
  color: var(--bg-white);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 0.5rem 2rem rgba(225, 13, 19, 0.4);
  z-index: 5;
}

.years-badge .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.years-badge .text {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* New Footer Styles */
.footer-v2 {
  background-color: var(--primary);
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 0.0625rem, transparent 0.0625rem);
  background-size: 2rem 2rem;
  padding: 6rem 0 3rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

.footer-top-grid,
.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 5rem;
  margin-bottom: 5rem;
}

@media (max-width: 991px) {

  .footer-top-grid,
  .footer-bottom-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: left;
  }

  .footer-heading-v2::after {
    left: 0;
    transform: none;
  }

  .footer-links-v2 {
    align-items: flex-start;
  }

  .contact-info-item {
    justify-content: flex-start;
  }

  .footer-top-grid {
    margin-bottom: 3rem;
  }

  .footer-copyright-box {
    text-align: left;
  }
}

.footer-logo-box {
  margin-bottom: 1.5rem;
  background: white;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 15px;
}

.footer-logo-box img {
  height: 3rem;
  width: auto;
}

.footer-subsidiary-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.footer-social-section {
  margin-top: 1rem;
}

.footer-heading-v2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  color: #ffffff;
}

.footer-heading-v2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 0.25rem;
  background-color: var(--accent);
}

.social-icons-v2 {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.social-icon-link:hover {
  color: var(--accent);
  transform: translateY(-0.125rem);
}

.social-icon-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-links-v2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-links-v2 a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: var(--transition);
}

.footer-links-v2 a:hover {
  color: var(--accent);
  transform: translateX(0.25rem);
}

.footer-bottom-grid {
  padding-top: 5rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.policy-links a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.footer-copyright-box {
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 0.0625rem solid var(--accent);
  text-align: center;
}

.copyright-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact Page V2 Styles */
.contact-section-v2 {
  background-color: var(--bg-light);
  padding: 4rem 0;
}

.contact-grid-v2 {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr 1.6fr;
  gap: 1rem;
  /* Reduced gap */
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .contact-grid-v2 {
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .contact-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-grid-v2 {
    grid-template-columns: 1fr;
  }
}

.contact-card-v2 {
  background: var(--bg-white);
  padding: 1.5rem 1rem;
  /* Reduced padding */
  border-radius: 15px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.04);
  /* Even lighter shadow */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 0.0625rem solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  /* Equal height */
  justify-content: flex-start;
}

.contact-card-v2:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  /* Subtle hover shadow */
  border-color: var(--accent);
}

.contact-card-icon-v2 {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(225, 13, 19, 0.05);
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-card-icon-v2 svg {
  width: 2.5rem;
  height: 2.5rem;
}

.contact-card-title-v2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.contact-card-text-v2 {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: break-word;
}

.social-icons-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: auto;
  /* Push to bottom if content is short */
  padding-top: 1rem;
}

.social-circle-v2 {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #F3F4F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4B5563;
  transition: var(--transition);
}

.social-circle-v2:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1rem rgba(225, 13, 19, 0.2);
}

.social-circle-v2 svg {
  width: 1.25rem;
  height: 1.25rem;
}

.address-card-v2 {
  width: 100%;
}

/* Contact Form V2 Styles */
.contact-form-section {
  background-color: var(--bg-white);
  padding: 4rem 0;
}

.form-header-v2 {
  text-align: center;
  max-width: 45rem;
  margin: 0 auto 4rem;
}

.form-eyebrow-v2 {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 1rem;
}

.form-title-v2 {
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1.2;
}

.contact-form-container {
  max-width: 55rem;
  margin: 0 auto;
}

.contact-form-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 768px) {
  .contact-form-v2 {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .form-checkbox-group {
    grid-column: span 1;
  }

  .form-submit-container {
    grid-column: span 1;
  }
}

.form-group-v2 {
  display: flex;
  flex-direction: column;
}

.form-label-v2 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-input-v2 {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: var(--bg-white);
  border: 0.0625rem solid #D1D5DB;
  border-radius: 15px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--primary);
  transition: var(--transition);
}

.form-input-v2:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 0.25rem rgba(225, 13, 19, 0.05);
}

.form-input-v2::placeholder {
  color: #9CA3AF;
}

textarea.form-input-v2 {
  min-height: 10rem;
  resize: vertical;
}

/* Custom Select Styling */
.form-select-v2 {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e10d13'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.5rem center;
  background-size: 1.25rem;
  padding-right: 3.5rem;
  border: 0.0625rem solid var(--accent) !important;
  /* Red border as seen in screenshot */
}

.form-checkbox-group {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-checkbox-v2 {
  width: 1.25rem;
  height: 1.25rem;
  border: 0.125rem solid var(--border-color);
  border-radius: 0.25rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-checkbox-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-submit-container {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn-submit-v2 {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Inner Hero / Breadcrumb Section */
.inner-hero {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--bg-white);
  overflow: hidden;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 100%);
  z-index: 1;
}

.inner-hero .container {
  position: relative;
  z-index: 2;
}

.inner-hero-content {
  display: flex;
  flex-direction: column;
  /* Stack Title and Breadcrumb */
  align-items: flex-start;
  /* Align to the left */
  gap: 0.75rem;
}

.inner-hero-title {
  font-size: 3rem;
  color: var(--bg-white);
  margin: 0;
  font-weight: 800;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0;
  background: transparent;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: var(--bg-white);
}

.breadcrumb-nav .separator {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-nav .current {
  color: var(--bg-white);
  font-weight: 600;
}

@media (max-width: 768px) {
  .inner-hero {
    padding: 3rem 0;
  }

  .inner-hero-content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .inner-hero-title {
    font-size: 2rem;
  }
}

/* Common Utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.rounded-lg {
  border-radius: 15px;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.section-title-v2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.about-text-v2 p {
  line-height: 1.8;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.about-text-v2 strong {
  color: var(--text-dark);
}

/* Feature Cards (Why Work with Us) */
.features-section-v2 {
  background-color: #f9fafb;
}

.features-grid-v2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  /* Reduced gap between cards */
}

.feature-card-v2 {
  background: var(--bg-white);
  padding: 1rem 1rem;
  /* Reduced padding */
  border-radius: 15px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 0.0625rem solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.feature-card-v2:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.feature-icon-v2 {
  width: 2.5rem;
  /* Reduced icon size */
  height: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-title-v2 {
  font-size: 1rem;
  /* Reduced title size */
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.feature-text-v2 {
  font-size: 0.875rem;
  /* Reduced text size */
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1200px) {
  .features-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .features-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* Creative Vision & Mission Design */
.creative-vision-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.giant-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  font-weight: 900;
  color: rgba(226, 232, 240, 0.3);
  z-index: -1;
  pointer-events: none;
  white-space: nowrap;
}

.vision-grid-creative {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8rem;
  align-items: center;
}

.creative-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.creative-title span {
  display: block;
  color: var(--accent);
}

.mission-path {
  position: relative;
  padding-left: 4rem;
  border-left: 1px solid #e2e8f0;
}

.mission-step-v3 {
  position: relative;
  margin-bottom: 4rem;
}

.mission-step-v3:last-child {
  margin-bottom: 0;
}

.mission-dot {
  position: absolute;
  left: -4.3125rem;
  top: 0.5rem;
  width: 0.625rem;
  height: 0.625rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0.5rem rgba(225, 13, 19, 0.1);
}

.mission-step-v3 h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.mission-step-v3 p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .vision-grid-creative {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .creative-title {
    font-size: 3rem;
  }
}

/* Media Cards (News & Blog) */
.media-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.media-card-v2 {
  background: var(--bg-white);
  border: 1px solid var(--accent);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.media-card-v2:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.media-card-img-v2 {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.media-card-img-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card-v2:hover .media-card-img-v2 img {
  transform: scale(1.05);
}

.media-card-content-v2 {
  padding: 1.25rem 1.5rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.media-card-date-v2 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  margin-bottom: 0.75rem;
}

.media-card-title-v2 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.media-card-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  width: fit-content;
  transition: background 0.3s ease;
  margin-top: auto;
}

.media-card-btn-v2:hover {
  background: #c10b13;
}

.media-card-btn-v2 span.arrow {
  transition: transform 0.3s ease;
}

.media-card-btn-v2:hover span.arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .media-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* Detail Page Styles */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  margin-top: 3rem;
}

.detail-main {
  background: white;
}

.detail-img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.detail-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-title {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #0f172a;
  font-weight: 800;
}

.detail-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #334155;
}

.detail-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  color: #0f172a;
  font-weight: 700;
}

.detail-content p {
  margin-bottom: 1.25rem;
}

.detail-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.detail-content li {
  margin-bottom: 0.75rem;
}

/* Sidebar Styles */
.sidebar-section {
  margin-bottom: 3rem;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.recent-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.recent-post-item:hover {
  transform: translateX(5px);
}

.recent-post-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 15px;
}

.recent-post-info h4 {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
  color: #1e293b;
}

.recent-post-info span {
  font-size: 0.8rem;
  color: #64748b;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-item {
  padding: 0.5rem 1rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 2rem;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tag-item:hover {
  background: var(--accent);
  color: white;
}

/* Related Posts */
.related-posts {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid #e2e8f0;
}

.related-title {
  font-size: 1.75rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 2rem;
  }
}

/* --- Global Machinery Cards (Compact Redesign) --- */
:root {
  --machinery-card-bg: #ebeef2;
  /* Deeper grey for better visibility */
  --machinery-text-main: #0f172a;
  --machinery-text-light: #64748b;
  --machinery-accent-red: #e10d13;
}

.machinery-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.machinery-card {
  background: var(--machinery-card-bg);
  width: 100%;
  max-width: 340px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  /* Slightly darker border */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 480px) {
  .machinery-card {
    max-width: 100%;
  }
}

.machinery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--machinery-accent-red);
}

.machinery-card-img {
  padding: 1.5rem 1rem 0.5rem 1rem;
  background: var(--machinery-card-bg);
  /* Match the card background */
  aspect-ratio: 4/3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.machinery-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.05));
  background: #ffffff;
  box-sizing: border-box;
  padding: 0.5rem;
}

.machinery-card-img img.img-cropped-tight {
  padding: 2rem;
}

.machinery-card-body {
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  width: 100%;
  margin-top: auto;
}

.machinery-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: white;
  color: var(--machinery-text-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #d1d5db;
  margin-bottom: 0.75rem;
}

.machinery-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--machinery-text-main);
  margin-bottom: 1.25rem;
  line-height: 1.3;
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-machinery {
  background: var(--machinery-accent-red);
  color: white !important;
  text-decoration: none;
  padding: 0.65rem 1.75rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.3s;
  margin-top: auto;
}

.btn-machinery:hover {
  background: #b10a0f;
  color: white !important;
}

.machinery-card .outline-btn {
  background: transparent !important;
  color: #e10d13 !important;
  border: 2px solid #e10d13 !important;
  width: 65% !important;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .machinery-card .outline-btn {
    width: 80% !important;
  }
}

@media (max-width: 480px) {
  .machinery-card .outline-btn {
    width: 100% !important;
  }

  .btn-machinery {
    width: 100%;
    text-align: center;
  }
}

/* Footer Section for Machinery Pages */
.machinery-footer {
  text-align: center;
  margin-top: 4rem;
  padding-bottom: 2rem;
}

.machinery-footer p {
  font-size: 0.95rem;
  color: var(--machinery-text-light);
  margin-bottom: 1.5rem;
}

.btn-discover-more {
  display: inline-block;
  background: var(--machinery-accent-red);
  color: white !important;
  padding: 0.85rem 2.5rem;
  border-radius: 35px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-discover-more:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(225, 13, 19, 0.2);
  color: white !important;
}


/* --- Global Product Detail Pages --- */
.product-detail-v3 {
  padding: 2rem 0;
}

.specs-list {
  list-style: none;
  padding: 0;
}

.specs-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
  color: #475569;
}

.specs-list li strong {
  color: #0f172a;
  display: inline-block;
  width: 150px;
}

.product-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #fef2f2;
  color: #e10d13;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
}

.rounded-15 {
  border-radius: 15px;
}

/* Blog Detail Table Styles */
.detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9375rem;
}

.detail-content th,
.detail-content td {
  padding: 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.detail-content th {
  background-color: var(--bg-light);
  color: var(--primary);
  font-weight: 700;
}

.detail-content tr:nth-child(even) {
  background-color: #fcfcfc;
}

@media (max-width: 768px) {
  .detail-content table {
    display: block;
    overflow-x: auto;
  }
}

/* ==========================================================================
   FLOATING SIDEBAR & MODAL
   ========================================================================== */

/* Sidebar Container */
.floating-sidebar {
  position: fixed;
  right: 0;
  top: 30%;
  z-index: 1000000;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

/* Sidebar Item */
.sidebar-item {
  pointer-events: auto;
  width: 38px;
  height: 38px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #FFFFFF !important;
  text-decoration: none;
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border-radius: 19px 0 0 19px;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.sidebar-item:hover {
  width: 140px;
  background: #FFFFFF;
  color: var(--accent) !important;
}

.sidebar-label {
  opacity: 0;
  margin-right: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
  padding-left: 12px;
}

.sidebar-item:hover .sidebar-label {
  opacity: 1;
}

.sidebar-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 10px;
}

/* Modal Container */
.sidebar-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.sidebar-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.open-quote-modal {
  cursor: pointer !important;
}

.modal-content {
  background: #FFFFFF;
  width: 560px;
  max-width: 95%;
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.sidebar-modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  z-index: 10;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-header {
  margin-bottom: 1.25rem;
}

.modal-header h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Modal Form */
.modal-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.span-2 {
  grid-column: span 2;
}

.form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-group-checkbox input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  cursor: pointer;
}

.form-group-checkbox label {
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-group label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--primary);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e10d13'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1rem;
  padding-right: 3rem;
  cursor: pointer;
  border: 0.0625rem solid var(--accent) !important;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(225, 13, 19, 0.1);
}

.btn-full {
  width: 100%;
  padding: 0.8rem;
  justify-content: center;
  margin-top: 0.25rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-sidebar {
    position: fixed;
    right: 0;
    top: 30%;
    bottom: auto;
    left: auto;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    border-radius: 0;
    transform: none;
    animation: none;
  }

  .sidebar-item {
    border-bottom: none;
    border-right: none;
    width: 55px;
    height: 44px;
    border-radius: 22px 0 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar-item svg {
    margin-right: 0;
  }

  .sidebar-label {
    display: none;
  }

  .top-bar {
    display: none;
  }

  .modal-content {
    padding: 1.5rem;
  }
}

/* --- Machinery Detail Page Styles --- */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .media-item {
    height: auto !important;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .media-item {
    min-height: 200px;
  }
}

.media-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .media-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .media-btn {
    width: 100% !important;
    justify-content: center;
    padding: 0.875rem 1.5rem !important;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .section-title-center {
    font-size: 2rem !important;
    margin-bottom: 2rem !important;
  }

  .spec-table-container {
    overflow-x: auto;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0;
  }

  .spec-table {
    min-width: 600px;
  }
}

.inner-hero-content {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .inner-hero-content {
    padding: 3rem 0;
    text-align: center;
  }

  .inner-hero-title {
    font-size: 2rem !important;
  }

  .breadcrumb-nav {
    justify-content: center !important;
  }
}

/* History Timeline Mobile */
@media (max-width: 768px) {
  .timeline-container-v5 {
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline-line-v5 {
    left: 20px;
  }

  .timeline-item-v5 {
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-bottom: 3rem;
  }

  .timeline-dot-v5 {
    left: 20px !important;
    margin-left: -5px;
  }

  .timeline-card-v5,
  .timeline-image-v5 {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .timeline-image-v5 {
    margin-top: 1.5rem !important;
  }

  .timeline-card-v5 h3 {
    font-size: 1.25rem;
  }
}

/* Org Grid Mobile */
@media (max-width: 991px) {
  .org-grid-refined {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }

  .team-logo-placeholder {
    font-size: 4rem !important;
  }
}

/* Creative Vision Mobile */
@media (max-width: 991px) {
  .vision-grid-creative {
    grid-template-columns: 1fr !important;
    gap: 4rem;
  }

  .giant-bg-text {
    font-size: 15vw !important;
    top: 5% !important;
  }

  .creative-title {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .vision-grid-creative img {
    transform: none !important;
  }

  .vision-grid-creative div[style*="rotate"] {
    transform: none !important;
  }

  .vision-grid-creative div[style*="absolute"] {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    margin-top: 1rem;
    max-width: 100% !important;
    transform: none !important;
  }
}

/* Career Features Mobile */
@media (max-width: 768px) {
  .features-grid-v2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
}

/* Legal Content Mobile */
@media (max-width: 768px) {
  .legal-content h2 {
    font-size: 1.25rem !important;
    display: block !important;
    border-bottom: 1px solid var(--accent) !important;
  }

  .contact-box {
    padding: 1.5rem !important;
  }
}

/* Common Text Adjustments */
@media (max-width: 768px) {
  .giant-bg-text {
    display: none;
    /* Hide on small screens to avoid clutter */
  }

  section {
    padding: 3rem 0 !important;
  }

  .section-padding {
    padding: 3rem 0 !important;
  }
}

/* Floating WhatsApp Chat Button */
.whatsapp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: #25d366;
  color: #FFFFFF !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 99999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: #FFFFFF !important;
}

/* Adjust floating buttons positioning on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
}

/* Category Card Redesign for Machinery */
.category-card {
  display: block;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 350px;
  background: var(--dark-blue);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none !important;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.2);
}

.category-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.category-card:hover .category-image {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 40, 0.95) 15%, rgba(10, 17, 40, 0.4) 60%, rgba(10, 17, 40, 0.1) 100%);
  z-index: 1;
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 2;
  text-align: left;
}

.category-content h3 {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.category-btn {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.category-card:hover .category-btn {
  gap: 0.75rem;
}

/* Overrides for product detailed pages image and video on mobile viewports */
@media (max-width: 991px) {
  .product-media-section .media-grid .media-item {
    height: 280px !important;
  }
}

@media (max-width: 768px) {
  .product-media-section .media-grid .media-item {
    height: 230px !important;
  }
}

@media (max-width: 576px) {
  .product-media-section .media-grid .media-item {
    height: 200px !important;
  }
}

@media (max-width: 400px) {
  .product-media-section .media-grid .media-item {
    height: 180px !important;
  }
}

.product-media-section .media-grid .media-item iframe {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border: none !important;
}

/* Overrides to make paragraph text smaller and left-aligned on mobile viewports */
@media (max-width: 768px) {
  .intro-content {
    text-align: left !important;
  }
  .intro-content p {
    font-size: 0.95rem !important;
    text-align: left !important;
    line-height: 1.6 !important;
  }
  .info-card p {
    font-size: 0.9375rem !important;
    text-align: left !important;
    line-height: 1.6 !important;
  }
  .info-card h2 {
    font-size: 1.35rem !important;
    text-align: left !important;
  }
}

/* --- New UI Fixes --- */

/* Mobile Video Height Fix */
@media (max-width: 768px) {
  iframe {
    max-width: 100% !important;
  }
  .product-media-section .media-grid .media-item iframe,
  .media-item iframe {
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}

/* Mobile View Paragraph Text Small & Left Side */
@media (max-width: 768px) {
  p {
    text-align: left !important;
    font-size: 14px !important;
  }
}

/* Mobile View Footer Left Side */
@media (max-width: 768px) {
  .footer-v2, .footer-v2 h4, .footer-v2 p, .footer-links-col h4, .footer-contact-col h4, .contact-text {
    text-align: left !important;
  }
  .social-icons-v2, .footer-bottom-grid {
    justify-content: flex-start !important;
  }
}

/* Form layout updates: Two input fields in one row, reduce height, remove scroller */
.contact-form-v2, .modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group-v2, .form-group {
  margin-bottom: 0 !important;
}
.form-group-full, .span-2, .form-checkbox-group, .form-group-checkbox, .form-submit-container, .modal-form button[type="submit"] {
  grid-column: span 2;
}
.modal-content {
  overflow-y: hidden !important;
}
@media (max-width: 576px) {
  .contact-form-v2, .modal-form {
    grid-template-columns: 1fr;
  }
  .form-group-full, .span-2, .form-checkbox-group, .form-group-checkbox, .form-submit-container, .modal-form button[type="submit"] {
    grid-column: span 1;
  }
}

/* --- Blog Detailed Page Styling --- */
.blog-rich-content {
  font-family: 'Inter', sans-serif;
  color: #334155;
  line-height: 1.8;
  padding: 1rem 0;
}
.blog-rich-content img.featured-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.blog-rich-content h2 {
  font-size: 1.75rem;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  border-left: 4px solid #2563eb;
  padding-left: 1rem;
}
.blog-rich-content h3 {
  font-size: 1.35rem;
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.blog-rich-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}
.blog-rich-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}
.blog-rich-content li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}
.blog-rich-content strong {
  color: #0f172a;
}

/* --- Mobile Responsiveness for Blogs --- */
@media (max-width: 768px) {
  .blog-rich-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }
  .blog-rich-content h3 {
    font-size: 1.15rem;
  }
  .blog-rich-content p, .blog-rich-content li {
    font-size: 0.95rem;
  }
  .inner-hero-title {
    font-size: 1.7rem !important;
  }
}