/* General Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 400;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 15px;
  }
}

/* Header */
header {
  background-color: #1f2d3d;
  color: white;
  padding: 2px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  min-height: 40px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 20px;
  min-height: 36px;
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  width: 50px !important;
  height: auto !important;
  max-height: 28px !important;
  transition: transform 0.3s ease;
  object-fit: contain;
}

header .logo img:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  gap: 15px;
  align-items: center;
}

nav ul li {
  margin: 0;
  line-height: 1;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2px;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  line-height: 1.4;
  display: inline-block;
}

nav ul li a:hover {
  color: #e18a07;
  background-color: rgba(225, 138, 7, 0.1);
}

/* Hero */
.hero {
  background-color: #e18a07;
  color: white;
  text-align: center;
  padding: 120px 40px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  max-width: 900px;
}

.hero h1 {
  margin: 0 0 25px 0;
  font-weight: 700;
  font-size: 3.5em;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero p {
  font-size: 22px;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #1f2d3d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background-color: #000;
}

/* Advertisement Section */
.advertisement {
  padding: 80px 40px;
  background-color: #ffffff;
}

/* Star Sections - Products and Services */
.star-section {
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-star {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-star {
  background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
}

.star-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin: 0 auto;
}

.star-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 40px 50px;
  border-radius: 50%;
  width: 280px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12),
              0 5px 20px rgba(225, 138, 7, 0.15);
  border: 3px solid rgba(225, 138, 7, 0.2);
  transition: all 0.4s ease;
}

.star-center:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
              0 8px 30px rgba(225, 138, 7, 0.2);
  border-color: rgba(225, 138, 7, 0.4);
}

.star-heading {
  font-size: 2.2em;
  font-weight: 800;
  color: #1f2d3d;
  margin: 0 0 15px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.star-subtitle {
  font-size: 14px;
  color: #34495e;
  margin: 0 0 20px 0;
  font-weight: 500;
}

.star-view-all {
  display: inline-block;
  color: #e18a07;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 6px;
}

.star-view-all:hover {
  color: #ff9900;
  background-color: rgba(225, 138, 7, 0.1);
  transform: translateX(3px);
}

.star-items {
  position: relative;
  width: 100%;
  height: 100%;
}

.star-item {
  position: absolute;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08),
              0 3px 10px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(225, 138, 7, 0.15);
  border-top: 4px solid #e18a07;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-align: center;
  width: 160px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  will-change: transform, opacity;
}

.star-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(225, 138, 7, 0.05) 0%, rgba(225, 138, 7, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
  border-radius: 16px;
}

.star-item:hover::before {
  opacity: 1;
}

.star-item:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12),
              0 6px 20px rgba(225, 138, 7, 0.2),
              0 0 0 1px rgba(225, 138, 7, 0.25);
  border-top-color: #ff9900;
  border-color: rgba(225, 138, 7, 0.4);
  z-index: 20;
}

.star-icon {
  font-size: 1.8em;
  font-weight: 800;
  color: #e18a07;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(225, 138, 7, 0.2);
  transition: all 0.4s ease;
}

.star-item:hover .star-icon {
  color: #ff9900;
  transform: scale(1.2);
  text-shadow: 0 4px 8px rgba(225, 138, 7, 0.3);
}

.star-label {
  color: #1f2d3d;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.star-item:hover .star-label {
  color: #2c3e50;
}

/* Star Positioning - 8 Items (Products) */
.star-item-1 {
  top: 0;
  left: 50%;
  animation: starFadeIn 0.6s ease 0.1s forwards;
}

.star-item-2 {
  top: 15%;
  right: 15%;
  animation: starFadeIn 0.6s ease 0.2s forwards;
}

.star-item-3 {
  top: 50%;
  right: 0;
  animation: starFadeIn 0.6s ease 0.3s forwards;
}

.star-item-4 {
  bottom: 15%;
  right: 15%;
  animation: starFadeIn 0.6s ease 0.4s forwards;
}

.star-item-5 {
  bottom: 0;
  left: 50%;
  animation: starFadeIn 0.6s ease 0.5s forwards;
}

.star-item-6 {
  bottom: 15%;
  left: 15%;
  animation: starFadeIn 0.6s ease 0.6s forwards;
}

.star-item-7 {
  top: 50%;
  left: 0;
  animation: starFadeIn 0.6s ease 0.7s forwards;
}

.star-item-8 {
  top: 15%;
  left: 15%;
  animation: starFadeIn 0.6s ease 0.8s forwards;
}

/* Star Positioning - 6 Items (Services) */
.services-star .star-item-1 {
  top: 0;
  left: 50%;
  animation: starFadeIn 0.6s ease 0.1s forwards;
}

.services-star .star-item-2 {
  top: 25%;
  right: 10%;
  animation: starFadeIn 0.6s ease 0.2s forwards;
}

.services-star .star-item-3 {
  bottom: 15%;
  right: 15%;
  animation: starFadeIn 0.6s ease 0.3s forwards;
}

.services-star .star-item-4 {
  bottom: 0;
  left: 50%;
  animation: starFadeIn 0.6s ease 0.4s forwards;
}

.services-star .star-item-5 {
  bottom: 15%;
  left: 15%;
  animation: starFadeIn 0.6s ease 0.5s forwards;
}

.services-star .star-item-6 {
  top: 25%;
  left: 10%;
  animation: starFadeIn 0.6s ease 0.6s forwards;
}

@keyframes starFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Products Star Items - Final transforms after animation */
.star-item-1.animate-in {
  transform: translate(-50%, 0) scale(1);
}

.star-item-2.animate-in {
  transform: translate(0, 0) scale(1);
}

.star-item-3.animate-in {
  transform: translate(0, -50%) scale(1);
}

.star-item-4.animate-in {
  transform: translate(0, 0) scale(1);
}

.star-item-5.animate-in {
  transform: translate(-50%, 0) scale(1);
}

.star-item-6.animate-in {
  transform: translate(0, 0) scale(1);
}

.star-item-7.animate-in {
  transform: translate(0, -50%) scale(1);
}

.star-item-8.animate-in {
  transform: translate(0, 0) scale(1);
}

/* Services Star Items - Final transforms after animation */
.services-star .star-item-1.animate-in {
  transform: translate(-50%, 0) scale(1);
}

.services-star .star-item-2.animate-in,
.services-star .star-item-3.animate-in,
.services-star .star-item-4.animate-in,
.services-star .star-item-5.animate-in,
.services-star .star-item-6.animate-in {
  transform: translate(0, 0) scale(1);
}

.chart-header {
  text-align: center;
  margin-bottom: 60px;
}

.chart-header h2 {
  font-size: 3em;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.chart-intro {
  font-size: 18px;
  color: #34495e;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.8;
}

.chart-view-all {
  display: inline-block;
  color: #e18a07;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 6px;
}

.chart-view-all:hover {
  color: #ff9900;
  background-color: rgba(225, 138, 7, 0.1);
  transform: translateX(5px);
}

/* Chart Container */
.chart-container {
  max-width: 1400px;
  margin: 0 auto;
}

.chart-category {
  margin-bottom: 60px;
}

.chart-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2em;
  font-weight: 700;
  color: #1f2d3d;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 15px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e18a07, transparent);
  border-radius: 2px;
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.chart-item {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 35px 25px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08),
              0 3px 10px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(225, 138, 7, 0.15);
  border-top: 5px solid #e18a07;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.chart-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(225, 138, 7, 0.05) 0%, rgba(225, 138, 7, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.chart-item:hover::before {
  opacity: 1;
}

.chart-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12),
              0 6px 20px rgba(225, 138, 7, 0.2),
              0 0 0 1px rgba(225, 138, 7, 0.25);
  border-top-color: #ff9900;
  border-color: rgba(225, 138, 7, 0.4);
}

.chart-icon {
  font-size: 2.5em;
  font-weight: 800;
  color: #e18a07;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(225, 138, 7, 0.2);
  transition: all 0.4s ease;
}

.chart-item:hover .chart-icon {
  color: #ff9900;
  transform: scale(1.15);
  text-shadow: 0 4px 8px rgba(225, 138, 7, 0.3);
}

.chart-label {
  color: #1f2d3d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.chart-item:hover .chart-label {
  color: #2c3e50;
}

/* Services Chart */
.chart-grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.chart-item-service {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08),
              0 4px 12px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(225, 138, 7, 0.15);
  border-top: 6px solid #e18a07;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.chart-item-service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(225, 138, 7, 0.05) 0%, rgba(225, 138, 7, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.chart-item-service:hover::before {
  opacity: 1;
}

.chart-item-service:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12),
              0 8px 24px rgba(225, 138, 7, 0.2),
              0 0 0 1px rgba(225, 138, 7, 0.25);
  border-top-color: #ff9900;
  border-color: rgba(225, 138, 7, 0.4);
}

.chart-icon-service {
  font-size: 3em;
  font-weight: 800;
  color: #e18a07;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(225, 138, 7, 0.2);
  transition: all 0.4s ease;
}

.chart-item-service:hover .chart-icon-service {
  color: #ff9900;
  transform: scale(1.15);
  text-shadow: 0 4px 8px rgba(225, 138, 7, 0.3);
}

.chart-label-service {
  color: #1f2d3d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.chart-item-service:hover .chart-label-service {
  color: #2c3e50;
}

/* Services Section on Index Page */
.services-section {
  padding: 100px 40px;
  background-color: #f5f7fa;
  text-align: center;
}

.services-section h2 {
  font-size: 3em;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.services-intro {
  font-size: 18px;
  color: #34495e;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.services-cta {
  margin-top: 40px;
}

.btn-services {
  display: inline-block;
  padding: 18px 50px;
  background-color: #1f2d3d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.btn-services:hover {
  background-color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 45, 61, 0.3);
}

.btn-services:active {
  transform: translateY(0);
}

.ad-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.ad-container video {
  width: 100%;
  max-width: 1400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  display: block;
  margin: 0 auto;
}

/* About */
.about {
  padding: 60px 20px;
  background-color: #f5f7fa;
}

.about h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* Services */
.services {
  padding: 60px 20px;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 250px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  text-align: center;
}

/* Products Page Styles - Similar to Services */
.products-intro-section {
  padding: 70px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  text-align: center;
  position: relative;
}

.products-intro-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e18a07, transparent);
  border-radius: 2px;
}

.products-main {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 25%, #f5f7fa 50%, #ffffff 75%, #f8f9fa 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: gradientShift 15s ease infinite;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 55px 45px;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
              0 8px 24px rgba(0, 0, 0, 0.04),
              0 0 0 1px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(225, 138, 7, 0.12);
  border-top: 5px solid #e18a07;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(225, 138, 7, 0.03) 0%, rgba(225, 138, 7, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover::after {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12),
              0 12px 36px rgba(225, 138, 7, 0.15),
              0 0 0 1px rgba(225, 138, 7, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border-top-color: #ff9900;
  border-color: rgba(225, 138, 7, 0.35);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}


.product-card h2 {
  color: #1f2d3d;
  font-size: 1.95em;
  font-weight: 800;
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: -0.6px;
  line-height: 1.3;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(225, 138, 7, 0.1);
}

.product-card:hover h2 {
  color: #e18a07;
  transform: translateY(-2px);
  text-shadow: 0 2px 8px rgba(225, 138, 7, 0.15);
  border-bottom-color: rgba(225, 138, 7, 0.3);
}

.product-card p {
  color: #34495e;
  font-size: 16.5px;
  line-height: 1.95;
  margin-bottom: 35px;
  text-align: left;
  font-weight: 400;
  transition: color 0.3s ease;
  letter-spacing: 0.2px;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  z-index: 2;
}

.product-card:hover p {
  color: #2c3e50;
  font-weight: 400;
}

.product-category-section {
  margin-bottom: 0;
  padding: 80px 0;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.product-category-section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.geotechnical-section {
  background-color: #ffffff;
  padding: 100px 0;
}

.structural-section {
  background-color: #f5f7fa;
  padding: 100px 0;
}

.product-category-section .container {
  max-width: 1400px;
}

.category-heading {
  font-size: 2.5em;
  font-weight: 800;
  color: #1f2d3d;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.8px;
  position: relative;
  padding-bottom: 25px;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.category-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, transparent, #e18a07, transparent);
  border-radius: 3px;
}

.product-features-wrapper {
  margin-top: 32px;
  position: relative;
  z-index: 2;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 25px;
}

.product-features li {
  color: #555;
  font-size: 15.5px;
  padding: 13px 0;
  padding-left: 35px;
  position: relative;
  line-height: 1.75;
  transition: all 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.15px;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  will-change: transform, opacity;
  opacity: 1;
  transform: translateX(0);
}

.product-features li:hover {
  color: #1f2d3d;
  transform: translateX(5px);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  color: #e18a07;
  font-weight: bold;
  font-size: 14px;
  background: rgba(225, 138, 7, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  line-height: 28px;
  text-align: center;
}

.product-card:hover .product-features li:before {
  background: rgba(225, 138, 7, 0.2);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 8px rgba(225, 138, 7, 0.3);
}

.product-features li:hover:before {
  background: #e18a07;
  color: white;
  box-shadow: 0 3px 10px rgba(225, 138, 7, 0.4);
}

.product-cta {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 2px solid rgba(225, 138, 7, 0.1);
  text-align: center;
  position: relative;
  z-index: 2;
}

.product-card:hover .product-cta {
  border-top-color: rgba(225, 138, 7, 0.2);
}

.btn-quote {
  display: inline-block;
  padding: 14px 40px;
  background-color: #e18a07;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #e18a07;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  opacity: 1;
  transform: translateY(0);
  will-change: transform, opacity;
}

.btn-quote:hover {
  background-color: #ff9900;
  border-color: #ff9900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 138, 7, 0.4);
  color: white;
}

.btn-quote:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(225, 138, 7, 0.3);
}

/* Services Page Styles */
.hero-subtitle {
  font-size: 18px;
  margin-top: 15px;
  opacity: 0.9;
  font-weight: 300;
}

.services-intro-section {
  padding: 70px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  text-align: center;
  position: relative;
}

.services-intro-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e18a07, transparent);
  border-radius: 2px;
}

/* Apple-like Scroll Animations */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.product-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.category-heading.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-feature-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

.services-main {
  position: relative;
}

.service-card {
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.service-features li {
  will-change: transform, opacity;
}

.animate-feature-in {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Smooth transitions for parallax */
.hero {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Enhanced scroll behavior */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .product-card,
  .category-heading,
  .product-category-section,
  .product-features li,
  .btn-quote {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.intro-text {
  max-width: 900px;
  margin: 0 auto;
  font-size: 19px;
  line-height: 2;
  color: #2c3e50;
  font-weight: 400;
  letter-spacing: 0.3px;
  text-align: justify;
  text-justify: inter-word;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.section-heading {
  text-align: center;
  font-size: 2.8em;
  font-weight: 800;
  color: #1f2d3d;
  margin-bottom: 60px;
  letter-spacing: -0.8px;
  line-height: 1.2;
  text-transform: none;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-features-wrapper {
  margin-top: 30px;
}

.features-heading {
  font-size: 14px;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.services-main {
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 25%, #f5f7fa 50%, #ffffff 75%, #f8f9fa 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: gradientShift 15s ease infinite;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.services-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(225, 138, 7, 0.3), transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12),
              0 5px 15px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(225, 138, 7, 0.15);
  border-top: 6px solid #e18a07;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(225, 138, 7, 0.05), transparent);
  transition: left 0.6s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2),
              0 10px 30px rgba(225, 138, 7, 0.3),
              0 0 0 1px rgba(225, 138, 7, 0.1);
  border-top-color: #ff9900;
  border-color: rgba(225, 138, 7, 0.3);
}

.service-icon {
  font-size: 4.5em;
  text-align: center;
  margin-bottom: 30px;
  display: inline-block;
  width: 100%;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.service-card:hover .service-icon {
  transform: scale(1.2) rotate(10deg) translateY(-5px);
  filter: drop-shadow(0 10px 20px rgba(225, 138, 7, 0.4));
}

.service-card h2 {
  color: #1f2d3d;
  font-size: 1.95em;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: center;
  letter-spacing: -0.6px;
  line-height: 1.25;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-card:hover h2 {
  color: #e18a07;
  transform: scale(1.05);
  text-shadow: 0 2px 6px rgba(225, 138, 7, 0.2);
}

.service-card p {
  color: #34495e;
  font-size: 16.5px;
  line-height: 1.95;
  margin-bottom: 32px;
  text-align: left;
  font-weight: 400;
  transition: color 0.3s ease;
  letter-spacing: 0.2px;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-card:hover p {
  color: #2c3e50;
  font-weight: 400;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 25px;
}

.service-features li {
  color: #555;
  font-size: 15.5px;
  padding: 13px 0;
  padding-left: 35px;
  position: relative;
  line-height: 1.75;
  transition: all 0.3s ease;
  font-weight: 400;
  letter-spacing: 0.15px;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-features li:hover {
  color: #1f2d3d;
  transform: translateX(5px);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.service-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  color: #e18a07;
  font-weight: bold;
  font-size: 14px;
  background: rgba(225, 138, 7, 0.1);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  line-height: 28px;
  text-align: center;
}

.service-card:hover .service-features li:before {
  background: rgba(225, 138, 7, 0.2);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 2px 8px rgba(225, 138, 7, 0.3);
}

.service-features li:hover:before {
  background: #e18a07;
  color: white;
  box-shadow: 0 3px 10px rgba(225, 138, 7, 0.4);
}

/* Call to Action Section */
.cta-section {
  padding: 100px 40px;
  background: linear-gradient(135deg, #1f2d3d 0%, #2c3e50 100%);
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 18px 45px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: #e18a07;
  color: white;
  border: 2px solid #e18a07;
}

.btn-primary:hover {
  background-color: #ff9900;
  border-color: #ff9900;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 138, 7, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #1f2d3d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

header .logo a {
  display: inline-block;
  text-decoration: none;
}

/* Contact */
.contact {
  background-color: #f5f7fa;
  padding: 100px 40px;
}

.contact h2 {
  text-align: center;
  font-size: 3em;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.contact form {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact input, .contact textarea {
  padding: 18px 25px;
  margin-bottom: 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.contact input:focus, .contact textarea:focus {
  outline: none;
  border-color: #1f2d3d;
  box-shadow: 0 0 0 4px rgba(31, 45, 61, 0.1);
}

.contact button {
  padding: 18px 40px;
  border: none;
  background-color: #1f2d3d;
  color: white;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact button:hover {
  background-color: #2c3e50;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 45, 61, 0.3);
}

/* Footer */
footer {
  background-color: #1f2d3d;
  color: white;
  text-align: center;
  padding: 40px 40px;
}

footer p {
  margin: 10px 0;
  font-size: 14px;
}

footer a {
  color: #e18a07;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ff9900;
}

/* About Page Styles */
.about-company {
  padding: 80px 20px;
  background-color: #f5f7fa;
  min-height: 50px;
}

.about-company h1 {
  text-align: center;
  margin-bottom: 50px;
  color: #1f2d3d;
  font-size: 2.8em;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.company-info {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.info-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  max-width: 400px;
}

.info-card h3 {
  color: #1f2d3d;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.info-card ul {
  list-style-type: disc;
  margin-left: 20px;
}

.info-card li {
  margin-bottom: 8px;
  color: #555;
}

.company-profile {
  padding: 80px 20px;
  background-color: #ffffff;
}

.company-profile h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #1f2d3d;
  font-size: 2.4em;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.profile-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

.profile-text {
  flex: 1 1 400px;
  font-size: 17px;
  line-height: 1.8;
  max-width: 100%;
}

.profile-text p {
  margin-bottom: 25px;
  color: #34495e;
  font-weight: 400;
  text-align: justify;
}

.profile-text h3 {
  color: #1f2d3d;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.profile-text h3:first-child {
  margin-top: 0;
}

.profile-text ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-top: 10px;
}

.profile-text li {
  margin-bottom: 8px;
  color: #555;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  flex: 1 1 300px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: #f5f7fa;
  border-radius: 10px;
  border: 2px solid #e18a07;
}

.stat-item h4 {
  font-size: 2.5em;
  color: #e18a07;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.stat-item p {
  color: #1f2d3d;
  margin: 0;
  font-weight: bold;
}

.end-users {
  padding: 80px 20px;
  background-color: #f5f7fa;
}

.end-users h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #1f2d3d;
  font-size: 2.4em;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.user-category {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-left: 5px solid #e18a07;
}

.user-category h3 {
  color: #1f2d3d;
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: -0.1px;
}

.user-category p {
  color: #34495e;
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 15px;
  font-weight: 400;
}

.user-category ul {
  list-style-type: disc;
  margin-left: 20px;
}

.user-category li {
  margin-bottom: 8px;
  color: #34495e;
  font-size: 14px;
  font-weight: 400;
}

/* Desktop-specific styles */
@media (min-width: 1025px) {
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  header {
    padding: 2px 0;
    min-height: 38px;
  }
  
  header .container {
    padding: 2px 40px;
    min-height: 34px;
  }
  
  header .logo img {
    width: 55px !important;
    max-height: 30px !important;
  }
  
  nav ul li a {
    font-size: 13px;
    padding: 4px 10px;
  }
  
  .hero {
    padding: 120px 40px;
  }
  
  .contact {
    padding: 100px 40px;
  }
  
  /* About Page Desktop Styles */
  .about-company {
    padding: 100px 40px;
  }
  
  .company-profile {
    padding: 100px 40px;
  }
  
  .company-profile .container {
    max-width: 1200px;
  }
  
  .profile-content {
    max-width: 1000px;
    margin: 0 auto;
    display: block;
  }
  
  .profile-text {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    flex: none;
  }
  
  .profile-text p {
    text-align: left;
    font-size: 18px;
    line-height: 1.9;
  }
  
  /* Products Page Desktop Styles */
  .products-main {
    padding: 120px 40px;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
  
  .product-card {
    padding: 65px 55px;
    border-radius: 28px;
  }
  
  .product-card h2 {
    font-size: 2.2em;
  }
  
  .product-card p {
    font-size: 18px;
    line-height: 2;
  }
  
  .product-features li {
    font-size: 16px;
    padding: 14px 0;
    padding-left: 40px;
  }
  
  .products-intro-section {
    padding: 80px 40px;
  }
  
  .geotechnical-section {
    padding: 120px 0;
  }
  
  .structural-section {
    padding: 120px 0;
  }
  
  .category-heading {
    font-size: 3em;
    margin-bottom: 70px;
  }
  
  .btn-quote {
    padding: 16px 45px;
    font-size: 17px;
  }
  
  /* Services Page Desktop Styles */
  .services-main {
    padding: 120px 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
  }
  
  .service-card {
    padding: 60px 50px;
  }
  
  .service-card h2 {
    font-size: 2.2em;
  }
  
  .service-card p {
    font-size: 18px;
    line-height: 2;
  }
  
  .service-icon {
    font-size: 4.5em;
    margin-bottom: 30px;
  }
  
  .service-features li {
    font-size: 16px;
    padding: 14px 0;
    padding-left: 40px;
  }
  
  .services-intro-section {
    padding: 80px 40px;
  }
  
  .intro-text {
    font-size: 20px;
  }
  
  .section-heading {
    font-size: 3em;
  }
  
  .cta-section {
    padding: 120px 40px;
  }
  
  .cta-section h2 {
    font-size: 3em;
  }
  
  .cta-section p {
    font-size: 20px;
  }
  
  /* Star Sections Desktop */
  .star-section {
    padding: 120px 40px;
    min-height: 700px;
  }
  
  .star-container {
    max-width: 900px;
    height: 700px;
  }
  
  .star-center {
    width: 320px;
    height: 320px;
    padding: 50px 60px;
  }
  
  .star-heading {
    font-size: 2.5em;
  }
  
  .star-subtitle {
    font-size: 15px;
  }
  
  .star-item {
    width: 180px;
    min-height: 160px;
    padding: 30px 25px;
  }
  
  .star-icon {
    font-size: 2em;
  }
  
  .star-label {
    font-size: 13px;
  }
  
  /* Services Section on Index Page Desktop */
  .services-section {
    padding: 120px 40px;
  }
  
  .services-section h2 {
    font-size: 3.5em;
  }
  
  .services-intro {
    font-size: 20px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    width: 95%;
  }
  
  .hero h1 {
    font-size: 2.5em;
  }
  
  .hero p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* Header */
  header {
    padding: 2px 0 !important;
    min-height: 44px !important;
  }
  
  header .container {
    flex-direction: column !important;
    gap: 6px !important;
    padding: 2px 15px !important;
    min-height: 40px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  header .logo img {
    width: 50px !important;
    max-height: 28px !important;
  }
  
  nav ul {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  nav ul li {
    margin-left: 0 !important;
  }
  
  nav ul li a {
    font-size: 12px !important;
    padding: 4px 8px !important;
    white-space: nowrap;
  }
  
  /* Hero */
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2.2em;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  /* Advertisement */
  .advertisement {
    padding: 20px 10px;
  }
  
  .ad-container {
    margin: 0;
    padding: 0;
  }
  
  .ad-container video {
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  /* Star Sections Tablet */
  .star-section {
    padding: 70px 20px;
    min-height: 550px;
  }
  
  .star-container {
    max-width: 700px;
    height: 550px;
  }
  
  .star-center {
    width: 260px;
    height: 260px;
    padding: 35px 45px;
  }
  
  .star-heading {
    font-size: 2em;
  }
  
  .star-item {
    width: 150px;
    min-height: 130px;
    padding: 25px 20px;
  }
  
  .star-icon {
    font-size: 1.7em;
  }
  
  .star-label {
    font-size: 12px;
  }
  
  /* Services Section */
  .services-section {
    padding: 60px 20px;
  }
  
  .services-section h2 {
    font-size: 2.2em;
  }
  
  .services-intro {
    font-size: 16px;
  }
  
  /* Contact Form */
  .contact {
    padding: 40px 20px;
  }
  
  .contact form {
    max-width: 100%;
  }
  
  .contact input,
  .contact textarea {
    padding: 12px;
    font-size: 16px;
  }
  
  /* Phone number dropdown */
  .contact form div[style*="display: flex"] {
    flex-direction: column;
    gap: 10px;
  }
  
  .contact form select {
    width: 100% !important;
    flex: none !important;
  }
  
  /* About Page */
  .about-company h1 {
    font-size: 2em;
  }
  
  .company-profile h2,
  .end-users h2 {
    font-size: 1.8em;
  }
  
  .profile-content {
    flex-direction: column;
  }
  
  .profile-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .users-grid {
    grid-template-columns: 1fr;
  }
  
  .info-card,
  .user-category {
    padding: 20px;
  }
  
  /* Products Page */
  .products-intro-section {
    padding: 40px 20px;
  }
  
  .products-main {
    padding: 40px 20px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-card {
    padding: 35px 25px;
    border-radius: 20px;
  }
  
  .product-card h2 {
    font-size: 1.5em;
  }
  
  .geotechnical-section {
    padding: 70px 0;
  }
  
  .structural-section {
    padding: 70px 0;
  }
  
  .category-heading {
    font-size: 2em;
    margin-bottom: 50px;
  }
  
  .btn-quote {
    padding: 14px 35px;
    font-size: 15px;
  }
  
  /* Services Page */
  .services-intro-section {
    padding: 40px 20px;
  }
  
  .intro-text {
    font-size: 16px;
  }
  
  .section-heading {
    font-size: 2em;
  }
  
  .services-main {
    padding: 40px 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-card {
    padding: 30px 20px;
  }
  
  .service-card h2 {
    font-size: 1.5em;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 2em;
  }
  
  .cta-section p {
    font-size: 16px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  /* Prevent horizontal overflow */
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
  }
  
  * {
    max-width: 100%;
  }
  
  /* Header */
  header {
    padding: 2px 0 !important;
    min-height: 42px !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  header .container {
    min-height: 38px !important;
    padding: 2px 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  header .logo {
    width: auto !important;
  }
  
  header .logo img {
    width: 45px !important;
    max-height: 26px !important;
    max-width: 100% !important;
  }
  
  nav {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  nav ul {
    gap: 8px !important;
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  nav ul li {
    margin: 0 !important;
    flex-shrink: 0;
  }
  
  nav ul li a {
    font-size: 10px !important;
    padding: 3px 6px !important;
    white-space: nowrap;
    display: inline-block;
  }
  
  /* Hero */
  .hero {
    padding: 50px 15px !important;
    min-height: auto !important;
  }
  
  .hero h1 {
    font-size: 1.6em !important;
    line-height: 1.2;
    margin-bottom: 15px !important;
  }
  
  .hero p {
    font-size: 13px !important;
    margin-bottom: 20px !important;
  }
  
  .hero-subtitle {
    font-size: 12px !important;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  /* Advertisement */
  .advertisement {
    padding: 20px 5px !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .ad-container {
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .ad-container video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 5px !important;
    display: block !important;
    box-sizing: border-box !important;
  }
  
  /* Images */
  img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  /* Star Sections Mobile */
  .star-section {
    padding: 40px 10px !important;
    min-height: auto !important;
    overflow: visible;
  }
  
  .star-container {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 400px;
    padding: 20px 0;
    position: relative;
  }
  
  .star-center {
    width: 180px !important;
    height: 180px !important;
    padding: 20px 25px !important;
    position: relative !important;
    margin: 0 auto 40px !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
  }
  
  .star-center:hover {
    transform: scale(1.05) !important;
  }
  
  .star-heading {
    font-size: 1.3em !important;
    margin-bottom: 8px !important;
    line-height: 1.2;
  }
  
  .star-subtitle {
    font-size: 11px !important;
    margin-bottom: 12px !important;
  }
  
  .star-view-all {
    font-size: 11px !important;
    padding: 6px 12px !important;
  }
  
  .star-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    position: relative !important;
    height: auto !important;
  }
  
  .star-item {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 110px !important;
    padding: 18px 15px !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
  }
  
  .star-item.animate-in {
    transform: none !important;
  }
  
  .star-item:hover {
    transform: scale(1.05) !important;
  }
  
  .star-icon {
    font-size: 1.4em !important;
    margin-bottom: 8px !important;
  }
  
  .star-label {
    font-size: 10px !important;
    line-height: 1.3;
  }
  
  /* Services Section */
  .services-section {
    padding: 40px 15px;
  }
  
  .services-section h2 {
    font-size: 1.8em;
  }
  
  .services-intro {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  .btn-services {
    padding: 15px 35px;
    font-size: 16px;
  }
  
  /* Contact */
  .contact {
    padding: 30px 15px !important;
  }
  
  .contact h2 {
    font-size: 1.5em !important;
    margin-bottom: 30px !important;
  }
  
  .contact form {
    max-width: 100% !important;
    gap: 15px !important;
  }
  
  .contact input,
  .contact textarea {
    padding: 12px 15px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .contact button {
    padding: 14px 25px !important;
    font-size: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Phone number dropdown mobile */
  .contact form div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .contact form select {
    width: 100% !important;
    flex: none !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
  }
  
  .contact form input[type="tel"] {
    width: 100% !important;
    flex: none !important;
  }
  
  /* Footer */
  footer {
    padding: 20px 15px !important;
  }
  
  footer p {
    font-size: 11px !important;
    line-height: 1.6 !important;
    margin: 8px 0 !important;
    word-wrap: break-word;
  }
  
  footer a {
    font-size: 11px !important;
    display: inline-block;
    margin: 0 2px;
  }
  
  /* About Page */
  .about-company {
    padding: 40px 15px !important;
  }
  
  .about-company h1 {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .company-profile {
    padding: 40px 15px !important;
  }
  
  .company-profile h2 {
    font-size: 1.6em !important;
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .profile-text {
    font-size: 14px !important;
    line-height: 1.7 !important;
    padding: 0 5px !important;
  }
  
  .profile-text p {
    margin-bottom: 20px !important;
  }
  
  .profile-stats {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
    margin-top: 30px !important;
  }
  
  .stat-item {
    padding: 15px !important;
  }
  
  .stat-item h4 {
    font-size: 1.8em !important;
  }
  
  .stat-item p {
    font-size: 13px !important;
  }
  
  .end-users {
    padding: 40px 15px !important;
  }
  
  .end-users h2 {
    font-size: 1.6em !important;
    margin-bottom: 30px !important;
    padding: 0 10px !important;
  }
  
  .users-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .user-category {
    padding: 20px 15px !important;
  }
  
  .user-category h3 {
    font-size: 1.2em !important;
  }
  
  .user-category p {
    font-size: 13px !important;
  }
  
  .user-category li {
    font-size: 12px !important;
  }
  
  /* Services Page */
  .services-main {
    padding: 30px 15px;
  }
  
  .services-grid {
    gap: 25px;
  }
  
  .service-card {
    padding: 25px 15px;
  }
  
  .service-card h2 {
    font-size: 1.3em;
  }
  
  .service-icon {
    font-size: 2.5em;
  }
  
  .service-card p {
    font-size: 14px;
  }
  
  .service-features li {
    font-size: 13px;
    padding: 8px 0;
    padding-left: 25px;
  }
  
  /* Products Page */
  .products-intro-section {
    padding: 30px 15px !important;
  }
  
  .products-main {
    padding: 30px 10px !important;
  }
  
  .products-grid {
    gap: 20px !important;
    grid-template-columns: 1fr !important;
    padding: 0 5px !important;
  }
  
  .product-card {
    padding: 25px 15px !important;
    border-radius: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .product-card h2 {
    font-size: 1.2em !important;
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
  }
  
  .product-card p {
    font-size: 13px !important;
    margin-bottom: 20px !important;
    line-height: 1.6 !important;
  }
  
  .product-features-wrapper {
    margin-top: 20px !important;
    padding-top: 20px !important;
  }
  
  .product-features {
    padding-top: 15px !important;
  }
  
  .product-features li {
    font-size: 12px !important;
    padding: 10px 0 !important;
    padding-left: 30px !important;
    line-height: 1.5 !important;
  }
  
  .product-cta {
    margin-top: 25px !important;
    padding-top: 20px !important;
  }
  
  .geotechnical-section {
    padding: 40px 0 !important;
  }
  
  .structural-section {
    padding: 40px 0 !important;
  }
  
  .category-heading {
    font-size: 1.6em !important;
    margin-bottom: 30px !important;
    padding: 0 15px !important;
  }
  
  .btn-quote {
    padding: 12px 25px !important;
    font-size: 13px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .services-intro-section {
    padding: 30px 15px;
  }
  
  .intro-text {
    font-size: 14px;
  }
  
  .section-heading {
    font-size: 1.5em;
  }
  
  .cta-section {
    padding: 40px 15px;
  }
  
  .cta-section h2 {
    font-size: 1.5em;
  }
  
  .cta-section p {
    font-size: 14px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 15px 30px;
    font-size: 16px;
  }
}
