/* ===== Complex Technical Services - Modern Styles ===== */
:root {
  --primary: #0a2540;
  --primary-light: #123456;
  --accent: #00b4d8;
  --accent-dark: #0096c7;
  --accent-soft: #90e0ef;
  --text: #1a1a2e;
  --text-light: #4a5568;
  --bg: #f8fafc;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 10px 40px rgba(10, 37, 64, 0.12);
  --radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 37, 64, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  font-weight: 800;
}

.logo span {
  color: var(--accent-soft);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(0, 180, 216, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
  color: white;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* fallback colour while image loads */
  background-color: #0a2540;
}

/* .slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.88) 0%, rgba(13,59,102,0.78) 45%, rgba(10,37,64,0.85) 100%);
  z-index: 1;
} */
 .slide-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 37, 64, 0.70) 0%,
    rgba(10, 37, 64, 0.40) 55%,
    rgba(10, 37, 64, 0.22) 100%
  );
  z-index: 1;
}

.slide-bg::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 65%);
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding-top: 40px;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,180,216,0.2);
  color: var(--accent-soft);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(0,180,216,0.35);
  letter-spacing: 0.5px;
}

.slide h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.slide h1 span {
  color: var(--accent);
}

.slide p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.7;
}

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

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active,
.slider-dot:hover {
  background: var(--accent);
  transform: scale(1.2);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0;
  z-index: 11;
  transition: width 0.05s linear;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,180,216,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(0,180,216,0.1);
  transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-header .label {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--primary);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* ===== FEATURES / HIGHLIGHTS ===== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--gray-100);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-soft);
  background: white;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
}

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

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== ABOUT PREVIEW ===== */
.about-preview {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

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

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300b4d8' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-image-content {
  text-align: center;
  color: white;
  z-index: 1;
  padding: 30px;
}

.about-image-content .big-num {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.about-image-content p {
  margin-top: 8px;
  opacity: 0.9;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  gap: 30px;
  margin-top: 28px;
  flex-wrap: wrap;
}

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

.stat-item span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== SERVICES CARDS ===== */
.services-section {
  background: white;
}

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

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

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

.service-card-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 28px;
  color: white;
}

.service-card-header .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-card-header h3 {
  font-size: 1.25rem;
}

.service-card-body {
  padding: 24px 28px 28px;
}

.service-card-body ul {
  margin-bottom: 20px;
}

.service-card-body li {
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-card-body li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3b66 100%);
  color: white;
  text-align: center;
  padding: 70px 0;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 14px;
}

.cta p {
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-form {
  background: white;
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.15);
}

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

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

/* ===== FOOTER ===== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: white;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0a2540 0%, #123456 100%);
  color: white;
  padding: 130px 0 70px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  opacity: 0.85;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== ABOUT PAGE ===== */
.about-full {
  background: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  color: var(--primary);
  margin: 30px 0 14px;
  font-size: 1.5rem;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background: var(--bg);
  padding: 28px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--gray-200);
}

.value-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

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

.value-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== SERVICES PAGE EXTRA ===== */
.supplies-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.supplies-table th,
.supplies-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

.supplies-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.supplies-table tr:last-child td {
  border-bottom: none;
}

.supplies-table tr:hover td {
  background: var(--gray-100);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-image {
    height: 280px;
  }
}

/* ===== TESTIMONIALS / TRUST ===== */
.trust-bar {
  background: white;
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
  font-weight: 800;
}

.trust-item span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== TESTIMONIALS SLIDER ===== */
.testimonials {
  background: var(--bg);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  background: white;
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.testimonial-card .quote {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-card .role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.testimonial-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonial-nav button.active {
  background: var(--accent);
  transform: scale(1.25);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-slider {
    height: auto;
    min-height: 520px;
    max-height: none;
    padding-bottom: 80px;
  }

  .slide {
    padding: 120px 0 60px;
    align-items: flex-start;
  }

  .slider-controls {
    bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .testimonial-card {
    padding: 28px 20px;
  }
}


//Mobile View-slider
/* ===== MOBILE SLIDER FIX – clear text ===== */
@media (max-width: 768px) {
  .hero-slider {
    background: #0a2540;
  }

  .slide {
    background: #0a2540;
  }

  .slide-bg {
    background-color: #0a2540 !important;
  }

  .slide-bg::before {
    background: linear-gradient(
      180deg,
      rgba(10, 37, 64, 0.85) 0%,
      rgba(10, 37, 64, 0.70) 50%,
      rgba(10, 37, 64, 0.80) 100%
    ) !important;
  }

  .slide h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  }

  .slide h1 span {
    color: #00b4d8 !important;
  }

  .slide p {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
  }

  .hero-badge {
    color: #90e0ef !important;
    background: rgba(0, 180, 216, 0.25) !important;
  }

  .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
  }
}
