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

:root {
  --primary: #1a3a6c;
  --primary-light: #2a5a9c;
  --accent: #e8a020;
  --accent-hover: #d49018;
  --dark: #0c1a2e;
  --light: #f4f6f9;
  --gray: #5a6a7a;
  --white: #ffffff;
  --red: #c0392b;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background: var(--white);
}

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

ul { list-style: none; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  color: var(--dark);
  letter-spacing: 1px;
}

.logo h1 {
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
}

.logo h1 span {
  color: var(--accent);
  font-size: 0.75rem;
  display: block;
  font-weight: 400;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  gap: 28px;
}

nav a {
  color: #b0bec5;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

nav a:hover,
nav a.active {
  color: var(--white);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: rgba(232, 160, 32, 0.07);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(232, 160, 32, 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(232, 160, 32, 0.3);
}

.hero-content h2 {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h2 .highlight {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: #a0b8cc;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-graphic {
  width: 380px;
  height: 380px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 35px;
  align-items: center;
}

.hero-graphic .service-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 12px;
  text-align: center;
  transition: all var(--transition);
}

.hero-graphic .service-box:hover {
  background: rgba(232, 160, 32, 0.12);
  border-color: rgba(232, 160, 32, 0.3);
}

.hero-graphic .service-box .icon {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.hero-graphic .service-box span {
  font-size: 0.72rem;
  color: #a0b8cc;
  font-weight: 500;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--dark);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

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

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

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}

.service-card ul {
  margin-top: 12px;
}

.service-card ul li {
  color: var(--gray);
  font-size: 0.88rem;
  padding: 3px 0 3px 22px;
  position: relative;
}

.service-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--primary);
  padding: 55px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.6rem;
  color: var(--accent);
  font-weight: 800;
}

.stat-item p {
  color: #a0b8cc;
  margin-top: 5px;
  font-size: 0.95rem;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.about-image {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  background: rgba(232, 160, 32, 0.12);
  border-radius: 50%;
}

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

.value-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  background: var(--light);
  transition: all var(--transition);
}

.value-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.value-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 25px 15px;
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.team-card .count {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.team-card h4 {
  font-size: 0.88rem;
  color: var(--primary);
  margin-top: 5px;
}

/* ===== EQUIPMENT ===== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.equip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--light);
  padding: 16px 20px;
  border-radius: 10px;
  transition: all var(--transition);
}

.equip-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.equip-item .icon {
  font-size: 1.3rem;
}

.equip-item span {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 500;
}

.equip-item .qty {
  margin-left: auto;
  background: var(--accent);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* ===== PROJECTS TABLE ===== */
.projects-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.projects-table thead {
  background: var(--primary);
  color: var(--white);
}

.projects-table th {
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
}

.projects-table td {
  padding: 13px 16px;
  font-size: 0.85rem;
  color: var(--gray);
  border-bottom: 1px solid #edf0f4;
}

.projects-table tbody tr:hover {
  background: var(--light);
}

.projects-table .status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-ongoing {
  background: #e3f2fd;
  color: #1565c0;
}

.status-completed {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-process {
  background: #fff3e0;
  color: #e65100;
}

/* ===== CLIENTS ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.client-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
}

.client-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.contact-info > p {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.info-item .icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: rgba(26, 58, 108, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-item h4 {
  font-size: 0.92rem;
  color: var(--primary);
  margin-bottom: 3px;
}

.info-item span,
.info-item p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-form {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d9e0;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--light);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.success-message {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-top: 15px;
  font-weight: 500;
}

.success-message.show {
  display: block;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: #a0b8cc;
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, var(--dark), var(--primary), var(--primary-light));
  color: var(--white);
  padding: 80px 0 55px;
  text-align: center;
}

.page-banner h2 {
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.page-banner p {
  color: #a0b8cc;
  font-size: 1.05rem;
}

.breadcrumb {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #7a8ea0;
}

.breadcrumb a {
  color: var(--accent);
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: #7a8ea0;
  padding: 55px 0 20px;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col a {
  display: block;
  color: #7a8ea0;
  font-size: 0.88rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== SAFETY ===== */
.safety-banner {
  background: var(--light);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.safety-banner .icon {
  font-size: 3rem;
  min-width: 80px;
  text-align: center;
}

.safety-banner h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.safety-banner p {
  color: var(--gray);
  font-size: 0.92rem;
}

.safety-banner .motto {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
  margin-top: 8px;
}

/* ===== MAP ===== */
.map-section {
  background: var(--light);
  padding: 60px 0;
}

.map-placeholder {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content p { margin: 0 auto 30px; }
  .btn-group { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px;
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  nav.active { display: block; }
  nav ul { flex-direction: column; gap: 15px; }

  .hero-content h2 { font-size: 2rem; }
  .hero-graphic { width: 280px; height: 280px; padding: 20px; }
  .section-header h2 { font-size: 1.7rem; }
  .page-banner h2 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .projects-table { font-size: 0.8rem; }
  .projects-table th, .projects-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
  .hero-graphic { width: 240px; height: 240px; }
  .hero-content h2 { font-size: 1.7rem; }
  .contact-form { padding: 25px; }
}
