/* Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1a365d;
  --primary-orange: #e19947;
  --secondary-orange: #f6a623;
  --text-dark: #373237;
  --text-gray: #666666;
  --white: #ffffff;
  --bg-light: #fbfbfa;
  --footer-bg: #1a2744;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ==================== HEADER ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-list {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
}

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

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-blue);
  padding-left: 10px;
}

/* ==================== HERO SECTION ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: 82px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  padding: 2rem 4rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-orange {
  background: var(--primary-orange);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(225, 153, 71, 0.3);
}

.btn-orange:hover {
  background: #d08a3a;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 153, 71, 0.4);
}

.btn-blue {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.btn-blue:hover {
  background: #142a4d;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

/* ==================== DIVISION RENTAL SECTION ==================== */
.division-rental {
  padding: 5rem 2rem;
  background: var(--white);
}

.division-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 0.25rem;
}

.division-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.division-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.division-item:hover {
  transform: translateX(5px);
}

.division-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.division-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.division-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin-bottom: 0.5rem;
}

.division-text p {
  font-size: 0.9rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.division-text ul {
  margin-top: 0.5rem;
}

.division-text ul li {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 0.3rem;
  padding-left: 1rem;
  position: relative;
}

.division-text ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-orange);
}

.division-right img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.division-right img:hover {
  transform: scale(1.02);
}

/* ==================== SERVICES BANNER ==================== */
.services-banner {
  width: 100%;
  overflow: hidden;
}

.services-banner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ==================== SERVICES OFFERED - EXACT ORIGINAL ==================== */
.services-offered {
  padding: 4rem 2rem;
  background: var(--white);
  text-align: center;
}

.services-offered-header {
  margin-bottom: 2rem;
}

.services-title-main {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-blue);
  line-height: 1;
  margin-bottom: 0;
}

.services-title-orange {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-orange);
  line-height: 1;
  margin-top: 0;
}

.services-main-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.services-icons-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.service-icon-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.service-icon-item:hover {
  transform: translateY(-5px);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.service-icon-item:hover .service-icon-wrapper img {
  transform: scale(1.1);
}

.service-icon-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ==================== ENGINEERING SECTION ==================== */
.engineering {
  padding: 4rem 2rem 5rem;
  background: var(--white);
}

.engineering-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 3rem;
}

.engineering-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.engineering-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.engineering-item:hover {
  background: var(--bg-light);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.engineering-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.engineering-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.engineering-item:hover .engineering-icon img {
  transform: scale(1.1);
}

.engineering-item h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.engineering-item p {
  font-size: 0.85rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--footer-bg);
  padding: 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: 3rem;
  align-items: center;
}

.footer-logo img {
  height: 50px;
  width: auto;
  transition: opacity 0.3s ease;
}

.footer-logo img:hover {
  opacity: 0.8;
}

.footer-contact h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-contact a {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: underline;
  margin-bottom: 0.3rem;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-location p {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.6;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

/* ==================== ANIMATIONS ==================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

/* Staggered animation delays */
.division-item:nth-child(1) { transition-delay: 0.1s; }
.division-item:nth-child(2) { transition-delay: 0.2s; }
.division-item:nth-child(3) { transition-delay: 0.3s; }

.service-icon-item:nth-child(1) { transition-delay: 0.1s; }
.service-icon-item:nth-child(2) { transition-delay: 0.15s; }
.service-icon-item:nth-child(3) { transition-delay: 0.2s; }
.service-icon-item:nth-child(4) { transition-delay: 0.25s; }
.service-icon-item:nth-child(5) { transition-delay: 0.3s; }

.engineering-item:nth-child(1) { transition-delay: 0.1s; }
.engineering-item:nth-child(2) { transition-delay: 0.15s; }
.engineering-item:nth-child(3) { transition-delay: 0.2s; }
.engineering-item:nth-child(4) { transition-delay: 0.25s; }

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
  .services-icons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .engineering-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    margin-top: 82px;
    min-height: 80vh;
  }

  .hero-content {
    padding: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .division-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .division-right {
    order: -1;
  }

  .services-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .services-title-main,
  .services-title-orange {
    font-size: 2rem;
  }

  .services-main-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .engineering-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-social a {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 1rem;
  }

  .logo img {
    height: 40px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-icons-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .services-title-main,
  .services-title-orange {
    font-size: 1.8rem;
  }
}
