/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== VARIABLES ========== */
:root {
  --navy: #0a1a3a;
  --navy-light: #0f2550;
  --orange: #f47920;
  --orange-dark: #d96a1a;
  --blue: #007BFF;
  --blue-light: #00a8ff;
  --white: #ffffff;
  --gray-light: #f5f7fa;
  --gray: #e8ecf1;
  --text-dark: #1a1a2e;
  --text-muted: #4b5563;
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.logo-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.65rem;
  color: var(--orange);
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

nav { display: flex; align-items: center; gap: 8px; }

nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s;
}

nav a:hover, nav a:focus, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10,26,58,0.92) 0%, rgba(0,80,180,0.85) 100%),
              url('asset/cabletray1.jpeg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 120px 5% 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244,121,32,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(244,121,32,0.2);
  border: 1px solid rgba(244,121,32,0.4);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.hero h1 .highlight {
  color: var(--orange);
}

.hero .tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244,121,32,0.4);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(244,121,32,0.5);
}

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

/* Hero stats strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}

.hero-stat p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.section-label {
  display: inline-block;
  background: rgba(244,121,32,0.1);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 50px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

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

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-images {
  position: relative;
  height: 450px;
}

.about-img-main {
  width: 75%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
}

.about-img-secondary {
  width: 55%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  border: 4px solid var(--white);
}

.about-accent {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 120px;
  height: 120px;
  background: var(--orange);
  border-radius: 16px;
  opacity: 0.15;
  z-index: 1;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-content h2 span { color: var(--orange); }

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

.about-clients {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--gray);
}

.about-clients .clients-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-tag {
  background: var(--gray-light);
  border: 1px solid var(--gray);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

/* ========== SERVICES ========== */
.services-section {
  background: var(--gray-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border-color: rgba(244,121,32,0.2);
}

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

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card ul {
  list-style: none;
  text-align: left;
  padding: 0;
}

.service-card ul li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* ========== PROJECTS / EXPERIENCE ========== */
.projects-section {
  background: var(--navy);
  color: var(--white);
}

.projects-section .section-label {
  background: rgba(244,121,32,0.2);
}

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

.projects-section .section-header p {
  color: rgba(255,255,255,0.75);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.project-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(244,121,32,0.3);
  transform: translateY(-4px);
}

.project-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.project-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--white);
}

.project-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}

/* ========== WHY CHOOSE US ========== */
.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  text-align: center;
  padding: 32px 16px;
  border-radius: 16px;
  transition: all 0.3s;
  background: var(--gray-light);
  border: 1px solid var(--gray);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  border-color: var(--orange);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
}

.why-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ========== GALLERY ========== */
.gallery-section-wrap {
  background: var(--gray-light);
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 8px 24px;
  border-radius: 50px;
  border: 1px solid var(--gray);
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-tab:hover, .gallery-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  content-visibility: auto;
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,26,58,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0a2a5e 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244,121,32,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(244,121,32,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item a {
  color: rgba(255,255,255,0.9);
  text-underline-offset: 2px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.contact-role {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}

/* ========== FOOTER ========== */
footer {
  background: #061229;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 24px 5%;
  font-size: 0.85rem;
}

footer a {
  color: var(--orange);
  text-decoration: none;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right 0.3s;
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  nav.active { right: 0; }

  nav a {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero .tagline { font-size: 1rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat .stat-number { font-size: 1.5rem; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { height: 350px; }

  .services-grid { grid-template-columns: 1fr; max-width: 400px; }
  .projects-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .section-header h2 { font-size: 1.8rem; }
  .cta-content h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  header { padding: 0 4%; }
  .hero { padding: 100px 4% 60px; }
  .hero h1 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .contact-details { flex-direction: column; align-items: center; }
}
