/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #CC2229;
  --red-dark: #A01B21;
  --black: #1a1a1a;
  --grey-dark: #4A4A4A;
  --grey: #6B6B6B;
  --grey-light: #E8E8E8;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--grey-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
  height: var(--header-height);
  transition: background 0.3s;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 50px; width: auto; }
.logo-text { color: var(--white); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.5px; }
.logo-text span { color: var(--red); }

.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--red);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.85) 0%, rgba(26,26,26,0.5) 50%, rgba(204,34,41,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: var(--header-height);
}

.hero-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--red); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 550px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(204,34,41,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-grey {
  background: var(--off-white);
}

.section-red {
  background: var(--red);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-dark .section-header h2 { color: var(--white); }
.section-red .section-header h2 { color: var(--white); }

.section-header h2 span { color: var(--red); }
.section-red .section-header h2 span { color: var(--white); text-decoration: underline; }

.section-header p {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p { color: rgba(255,255,255,0.7); }
.section-red .section-header p { color: rgba(255,255,255,0.9); }

.red-bar {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-red .red-bar { background: var(--white); }

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--grey-light);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(204,34,41,0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.6;
}

/* ===== TELECOM SERVICE DETAIL CARDS ===== */
.telecom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.telecom-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--grey-light);
  transition: all 0.3s;
}

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

.telecom-card-header {
  background: var(--black);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.telecom-card-header .icon {
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.telecom-card-header h3 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.telecom-card-body {
  padding: 24px 30px;
}

.telecom-card-body p {
  color: var(--grey-dark);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.telecom-card-body ul {
  list-style: none;
}

.telecom-card-body ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--grey);
}

.telecom-card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
  padding: 60px 0;
}

.stat h3 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}

.section-dark .stat h3 { color: var(--red); }

.stat p {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 3rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ===== FORMS ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--grey-light);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.3s;
  background: var(--white);
  color: var(--black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show { display: block; }
.form-success h3 { color: var(--red); font-size: 1.5rem; margin-bottom: 12px; }

/* ===== PAGE HERO (interior pages) ===== */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.9) 0%, rgba(26,26,26,0.7) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero h1 span { color: var(--red); }

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--red);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.cta-banner .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.cta-banner .btn-outline:hover {
  background: var(--white);
  color: var(--red);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-dark .two-col-text h2 { color: var(--white); }

.two-col-text h2 span { color: var(--red); }

.two-col-text p {
  color: var(--grey);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.section-dark .two-col-text p { color: rgba(255,255,255,0.7); }

.two-col-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ===== CRANE FLEET ===== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.fleet-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  border: 2px solid var(--grey-light);
  transition: all 0.3s;
}

.fleet-card:hover {
  border-color: var(--red);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.fleet-card .tonnage {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 4px;
}

.fleet-card .unit { font-size: 1.2rem; color: var(--grey); font-weight: 600; margin-bottom: 16px; }
.fleet-card h3 { font-size: 1.3rem; color: var(--black); margin-bottom: 12px; }
.fleet-card p { color: var(--grey); font-size: 0.95rem; }

/* ===== EMPLOYEE PAGE ===== */
.employee-card {
  background: var(--white);
  border-radius: 16px;
  padding: 50px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.employee-card .icon-large {
  width: 80px;
  height: 80px;
  background: rgba(204,34,41,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.employee-card h3 { font-size: 1.5rem; color: var(--black); margin-bottom: 12px; }
.employee-card p { color: var(--grey); margin-bottom: 24px; }

/* ===== CAREERS ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 30px;
}

.value-card .icon {
  width: 60px;
  height: 60px;
  background: rgba(204,34,41,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

.section-dark .value-card .icon { background: rgba(204,34,41,0.3); }

.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.section-dark .value-card h3 { color: var(--white); }
.value-card p { font-size: 0.9rem; color: var(--grey); }
.section-dark .value-card p { color: rgba(255,255,255,0.7); }

/* ===== CONTACT INFO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-card .icon {
  width: 50px;
  height: 50px;
  background: rgba(204,34,41,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card h4 { font-size: 1rem; color: var(--black); margin-bottom: 4px; }
.contact-info-card p { font-size: 0.9rem; color: var(--grey); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  border-top: 3px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img { height: 45px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; line-height: 1.6; }
.footer-brand .tagline { color: var(--red); font-weight: 700; font-size: 0.85rem; margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; }

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul li { margin-bottom: 8px; }
.footer ul a { font-size: 0.9rem; transition: color 0.3s; }
.footer ul a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(26,26,26,0.98);
    padding: 20px;
    gap: 4px;
    border-bottom: 3px solid var(--red);
  }
  .nav-links.open a {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .nav-toggle { display: flex; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: 1; }
  .telecom-grid { grid-template-columns: 1fr; }

  .hero { min-height: 500px; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 70px 0; }
  .form-wrapper { padding: 30px 20px; }
}

@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-btns { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
