/* ============================================================
   UNITED BROACH — CORE STYLESHEET
   Extracted from original homepage design.
   Shared across every page on the site. Do not fork per-page.
   ============================================================ */

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

body{
  font-family:'Inter',sans-serif;
  background:#ffffff;
  color:#1b1b1b;
  line-height:1.7;
}

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

a{
  text-decoration:none;
}

.container{
  width:90%;
  max-width:1280px;
  margin:auto;
}

.top-bar{
  background:#d31313;
  color:#fff;
  padding:10px 0;
  font-size:14px;
  font-weight:500;
}

.top-bar-content{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:35px;
  flex-wrap:wrap;
  text-align:center;
}

.top-bar-left,
.top-bar-right{
  display:flex;
  gap:25px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}

.top-bar span,
.top-bar a{
  color:#fff;
}

.top-bar span{
  color:#fff;
}

header{
  position:fixed;
  width:100%;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #ececec;
  box-shadow:0 2px 20px rgba(0,0,0,0.05);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
}

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

.logo img{
  height:72px;
}

.logo h2{
  font-family:'Rajdhani',sans-serif;
  font-size:32px;
  color:#d31313;
  letter-spacing:1px;
}

nav ul{
  display:flex;
  list-style:none;
  gap:26px;
  align-items:center;
}

nav a{
  color:#111;
  font-weight:600;
  transition:0.3s;
  font-size:15px;
}

nav a:hover{
  color:#d31313;
  border-bottom:2px solid #d31313;
  padding-bottom:6px;
}

nav li.active > a{
  color:#d31313;
  border-bottom:2px solid #d31313;
  padding-bottom:6px;
}

/* Dropdown menu */
nav li.has-dropdown{
  position:relative;
}

nav li.has-dropdown > a::after{
  content:'▾';
  font-size:11px;
  margin-left:5px;
}

.dropdown{
  position:absolute;
  top:100%;
  right:0;
  background:#fff;
  min-width:240px;
  box-shadow:0 18px 45px rgba(0,0,0,0.12);
  border:1px solid #ececec;
  border-radius:8px;
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:0.25s;
  list-style:none;
  z-index:1001;
  display:flex;
  flex-direction:column;
  gap:0;
}

nav li.has-dropdown:hover .dropdown{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown li a{
  display:block;
  padding:10px 14px;
  border-radius:5px;
  font-weight:500;
  font-size:14px;
  color:#333;
  text-align:left;
}

.dropdown li a:hover{
  background:#fbeaea;
  color:#d31313;
  border-bottom:none;
  padding-bottom:10px;
}

/* mobile nav toggle */
.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  background:none;
  border:none;
  padding:6px;
}

.nav-toggle span{
  width:28px;
  height:3px;
  background:#111;
  border-radius:2px;
}

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  background:url('../images/hero.jpg') center/cover;
  padding-top:200px;
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(90deg,
  rgba(255,255,255,0.82) 28%,
  rgba(255,255,255,0.45) 55%,
  rgba(255,255,255,0.05) 100%);
}

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

.hero h4{
  color:#d31313;
  font-size:18px;
  letter-spacing:2px;
  margin-bottom:20px;
  text-transform:uppercase;
}

.hero h1{
  font-size:62px;
  line-height:1.1;
  font-family:'Rajdhani',sans-serif;
  margin-bottom:24px;
  color:#111;
}

.hero-subheading{
  font-size:24px;
  font-weight:600;
  color:#444;
  margin-bottom:18px;
  line-height:1.5;
}

.hero p{
  font-size:18px;
  color:#555;
  margin-bottom:35px;
}

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

.btn{
  padding:14px 30px;
  border-radius:4px;
  font-weight:700;
  transition:0.3s;
  display:inline-block;
  border:none;
  cursor:pointer;
  font-size:15px;
  font-family:'Inter',sans-serif;
}

.btn-primary{
  background:#d31313;
  color:#fff;
}

.btn-primary:hover{
  background:#111;
}

.btn-secondary{
  border:2px solid #111;
  color:#111;
  background:transparent;
}

.btn-secondary:hover{
  background:#111;
  color:#fff;
}

section{
  padding:100px 0;
}

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

.section-title h2{
  font-size:52px;
  font-family:'Rajdhani',sans-serif;
  color:#111;
  margin-bottom:10px;
}

.section-title p{
  color:#666;
  max-width:700px;
  margin:auto;
}

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

.about-text h3{
  font-size:42px;
  font-family:'Rajdhani',sans-serif;
  margin-bottom:20px;
}

.about-text p{
  margin-bottom:20px;
  color:#555;
}

.feature-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:30px;
}

.feature-item{
  background:#f7f7f7;
  padding:16px;
  border-left:4px solid #d31313;
  font-weight:600;
}

.products{
  background:#f8f8f8;
}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.product-card{
  background:#fff;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #efefef;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:0.4s;
}

.product-card:hover{
  transform:translateY(-10px);
  box-shadow:0 18px 45px rgba(0,0,0,0.12);
}

.product-card img{
  height:260px;
  width:100%;
  object-fit:cover;
}

.product-content{
  padding:25px;
}

.product-content h3{
  font-size:28px;
  font-family:'Rajdhani',sans-serif;
  margin-bottom:12px;
}

.product-content p{
  color:#666;
  margin-bottom:18px;
}

#services{
  position:relative;
  background:
  linear-gradient(
  rgba(255,255,255,0.55),
  rgba(255,255,255,0.62)),
  url('../images/infrastructure-bg.png');

  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}

#services::before{
  content:'';
  position:absolute;
  inset:0;
}

#services .container{
  position:relative;
  z-index:2;
}

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

.infra-card{
  background:#fff;
  padding:35px 25px;
  border:1px solid #eee;
  text-align:center;
  transition:0.3s;
}

.infra-card:hover{
  border-color:#d31313;
  transform:translateY(-5px);
}

.infra-card h4{
  font-size:24px;
  font-family:'Rajdhani',sans-serif;
  margin-top:15px;
}

.industries{
  background:#111;
  color:#fff;
}

.industries .section-title h2,
.industries .section-title p{
  color:#fff;
}

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

.industry-card{
  background:#1c1c1c;
  padding:50px 25px;
  border-top:4px solid #d31313;
  text-align:center;
  transition:0.4s;
}

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

.industry-card h4{
  font-size:30px;
  font-family:'Rajdhani',sans-serif;
  color:#fff;
}

.cta{
  background:linear-gradient(135deg,#d31313,#900909);
  color:#fff;
  text-align:center;
  padding:80px 20px;
}

.cta h2{
  font-size:54px;
  font-family:'Rajdhani',sans-serif;
  margin-bottom:20px;
}

.footer-logo{
  width:220px;
  margin-bottom:20px;
  filter: brightness(0) invert(1);
}

footer{
  background:#0a0a0a;
  color:#fff;
  padding:70px 0 30px;
}

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

.footer-grid h3{
  font-family:'Rajdhani',sans-serif;
  font-size:28px;
  margin-bottom:20px;
}

.footer-grid p,
.footer-grid a{
  color:#cfcfcf;
  margin-bottom:10px;
  display:block;
}

.footer-grid a:hover{
  color:#d31313;
}

.copyright{
  text-align:center;
  border-top:1px solid #222;
  padding-top:20px;
  color:#999;
}

.copyright a{
  color:#999;
}

.whatsapp{
  position:fixed;
  bottom:25px;
  right:25px;
  background:#25D366;
  color:#fff;
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:28px;
  z-index:999;
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

.scroll-top{
  position:fixed;
  bottom:25px;
  left:25px;
  width:55px;
  height:55px;
  background:#d31313;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:28px;
  font-weight:700;
  z-index:999;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  transition:0.3s;
}

.scroll-top:hover{
  background:#111;
  transform:translateY(-5px);
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

section{
  animation:fadeUp 1s ease;
}

@media(max-width:992px){

  .top-bar-content{
    flex-direction:column;
    align-items:center;
  }

  .top-bar-left,
  .top-bar-right{
    gap:10px;
  }

  .hero h1{
    font-size:52px;
  }

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

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

  .nav-toggle{
    display:flex;
  }

  nav ul{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    gap:0;
    background:#fff;
    padding:10px 20px 20px;
    margin-top:0;
    box-shadow:0 15px 30px rgba(0,0,0,0.1);
    max-height:80vh;
    overflow-y:auto;
  }

  nav ul.show{
    display:flex;
  }

  nav li{
    width:100%;
    border-bottom:1px solid #f1f1f1;
  }

  nav a{
    display:block;
    padding:14px 0;
  }

  nav a:hover{
    border-bottom:none;
  }

  .dropdown{
    position:static;
    opacity:1;
    visibility:visible;
    transform:none;
    display:none;
    box-shadow:none;
    border:none;
    padding:0 0 0 14px;
    background:#fafafa;
  }

  nav li.has-dropdown.open .dropdown{
    display:block;
  }
}

@media(max-width:768px){
  .hero h1{
    font-size:42px;
  }

  .section-title h2,
  .cta h2{
    font-size:38px;
  }

  .feature-list{
    grid-template-columns:1fr;
  }

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