:root {
  --primary: #2563eb;
  --secondary: #071428;
  --dark: #030712;
  --light: #f8fafc;
  --white: #ffffff;
  --accent: #38bdf8;
  --surface: rgba(15, 23, 42, 0.82);
  --line: rgba(148, 163, 184, 0.22);
  --text: #eff6ff;
  --muted: #dbe4ff;
}

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

html {
  scroll-behavior:smooth;
}

body {
  font-family:'Inter',sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, #38bdf824, transparent 22%),
    linear-gradient(135deg, #07111f 0%, #10253c 45%, #030712 100%);
  overflow-x:hidden;
}

nav {
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 8%;
  backdrop-filter:blur(12px);
  background:rgba(7,17,31,0.82);
  border-bottom:1px solid rgba(148,163,184,0.12);
}


.logo-img {
  height:60px;
  width:auto;
  max-width:100%;
}

@media (max-width: 768px) {
  .logo-img {
    height:30px;
  }
  .logo span {
    font-size:0.9rem;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height:25px;
  }
  .logo span {
    display:none; /* hide text on very small screens */
  }
}

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

.nav-links a {
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  transition:transform 0.2s ease, color 0.2s ease;
}

.nav-links a:hover{
	transform:translateY(-2px);
  color:#9ec5ff;
}

.hero {
  min-height:100vh;
  background:
    linear-gradient(135deg, rgba(7,17,31,.88), rgba(4, 41, 121, 0.72)),
    url("herosection.jpg") center/cover no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding:40px;
}

.hero-content {
  max-width:900px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.badge {
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  margin-bottom:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.82rem;
  font-weight:700;
}

.hero h1 {
  font-size:clamp(2.8rem, 6vw, 4.8rem);
  line-height:1.05;
  margin-bottom:20px;
}

.hero p {
  font-size:1.08rem;
  color:var(--muted);
  margin-bottom:35px;
  line-height:1.75;
}

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

.btn-primary,
.btn-secondary {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary {
  background:linear-gradient(135deg, var(--primary), #60a5fa);
  color:#fff;
  box-shadow:0 14px 30px rgba(37,99,235,.35);
}

.btn-primary:hover, .btn-secondary:hover {
  transform:translateY(-3px);
}

.btn-secondary {
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:white;
}

.stats-section {
  background: linear-gradient(180deg, rgba(7,17,31,.98), rgba(15,23,42,.98));
  color: white;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(148,163,184,.14);
  box-shadow: 0 20px 45px rgba(15,23,42,.35);
}

.stat h2 {
  color: #bfdbfe;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.stat p {
  color: var(--muted);
  font-size: 1rem;
}

section {
	padding:100px 8%;
}

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

.section-title span {
  color: var(--accent);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-title h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
}

.about-content p {
	margin-bottom:20px;
	font-size:20px;
}

.about-products-bg {
  position: relative;
  background:
    linear-gradient(rgba(7,17,31,.88), rgba(37,99,235,.72)),
    url("aboutbg.jpg") center/cover no-repeat;
  padding: 80px 20px;
  color: white;
}

/* Optional overlay for better text contrast */
.about-products-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7,20,40,.7); /* dark overlay */
}
.about-products-bg > * {
  position: relative; /* keep content above overlay */
}

#about, #products {
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: justify;
  margin-bottom:90px;
}

.about-image {
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  background: linear-gradient(rgba(0,0,0,0.35),rgba(0, 0, 0, 0.35)),
              url("soymeibuilding.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  height: 400px;
}

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

.product-category {
  background: var(--surface);
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 45px rgba(15,23,42,.35);
  transition:transform 0.2s ease, color 0.2s ease;
}

.product-category:hover{
	transform:translateY(-8px);
}

.product-category h3{
    color:#bfdbfe;
    margin-bottom:20px;
    font-size:1.2rem;
}

.product-category ul{
    list-style:none;
}

.product-category li{
    padding:10px 0;
    border-bottom:1px solid #e5e7eb;
}

.product-category li:last-child{
    border-bottom:none;
}

.products-btn {
margin-top:25px;
display:flex;
  justify-content:center;
  gap:15px;
  flex-wrap:wrap;
}

#brands {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(7,17,31,.82), rgba(7,17,31,.88)),
    url('background.png') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


#brands > * {
  position: relative;
  z-index: 1;
}

.brand-image {
  text-align: center;
  margin-top: 20px;
}

.brand-image img {
  max-width: 1000px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.18);
  box-shadow: 0 20px 45px rgba(15,23,42,.35);
}

client-grid {
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
	gap:25px;
}

.card {
	background: rgba(255,255,255,.1);
	padding:30px;
	border-radius:20px;
	text-align:center;
	font-weight:700;
	box-shadow:0 10px 30px rgb(0,0,0,.08);
}

.card:hover {
	transform:translateY(-8px);
}

.client-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  padding: 6px 0;
}

.client-carousel:hover .client-carousel-track {
  animation-play-state: paused;
}

.client-carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: scroll 32s linear infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
}

.client-carousel-track img {
  height: 260px;
  width: auto;
  flex-shrink: 0;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(7,17,31,0.35);
  border: 1px solid rgba(148,163,184,0.18);
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.client-carousel-track img:hover {
  transform: translateY(-3px) scale(1.02);
  filter: saturate(1.12) contrast(1.05);
}

.client-carousel::before,
.client-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.client-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(7,17,31,0.95) 0%, rgba(7,17,31,0) 100%);
}

.client-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(7,17,31,0.95) 0%, rgba(7,17,31,0) 100%);
}

        @keyframes scroll {
            0% { transform: translate3d(0, 0, 0); }
            100% { transform: translate3d(-50%, 0, 0); }
        }

#industries {
  margin-top: 0;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(7,17,31,.82), rgba(7,17,31,.88)),
    url('background.png') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
}


#industries > * {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1150px;
  margin: 0 auto;
}

.industry-card {
  position: relative;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0b1727;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-8px);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,31,0.25), rgba(7,17,31,0.72));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.overlay h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #fff;
}

/* Example background images */
.commercial { background-image: url('commercial.jpg'); }
.residential { background-image: url('residential.jpg'); }
.industrial { background-image: url('industrial.jpg'); }
.infrastructure { background-image: url('infrastructure.jpg'); }

.industry-card:hover{
	transform:translateY(-8px);
}

#clients {
  margin: 0 auto;
  background:
    linear-gradient(rgba(7,17,31,.82), rgba(7,17,31,.88)),
    url('background.png') center/cover no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.cta {
  background: linear-gradient(180deg, rgba(7,17,31,.98), rgba(15,23,42,.98));
  color:white;
  text-align:center;
}

.cta h2 {
	font-size:3rem;
	margin-bottom:20px;
}

.cta p {
	margin-bottom:30px;
}

#contact {
  background: rgba(15,23,42,.98);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-map {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.16);
  min-height: 420px;
  background: #fff;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-box {
  padding: 30px;
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(15,23,42,.35);
  border: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
}

.contact-box h3 {
  margin-bottom: 24px;
  font-size: 2rem;
}

.contact-box p {
  margin-bottom: 7px;
  line-height: 1.8;
}

.contact-box a {
  display: inline-block;
  margin-top: 18px;
}

footer {
  background:#020617;
  color:#dbeafe;
  text-align:center;
  padding:14px 12px;
  border-top:1px solid rgba(148,163,184,.16);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(2, 6, 23, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-loader-content {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(148, 163, 184, 0.22);
  border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}

.page-loader-text {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.88rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr; /* stack content vertically */
    gap: 30px; /* reduce spacing */
    text-align: justify; /* keep text justified */
  }

  .about-content p {
    font-size: 1rem; /* slightly smaller text for readability */
    line-height: 1.6; /* improve spacing on mobile */
  }

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

  .contact-box,
  .contact-map {
    min-height: auto;
  }
.brand-image img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: none;
  }
}

@media (max-width: 912px), (max-width: 1080px) {
.brand-image img {
    max-width: 100%;
    border-radius: 6px;
    box-shadow: none;
}
}

@media (max-width: 480px) {
  .about-grid {
    gap: 20px;
    padding: 0 10px; /* add side padding for breathing room */
  }

  .about-content p {
    font-size: 0.95rem;
  }

  /* Hide logo text on very small screens */
  .logo {
    display: none;
  }
  
  .nav-links {
    margin:0 auto;
  }
}

@media (max-width:370px) {
  .nav-links {
  gap: 15px;
  margin: 0 auto;
  }
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
  max-width: 800px;
}

.filter-bar input,
.filter-bar select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  flex: 1;
}


