/* 

-------------- TYPOGRAPHY ---------------

FONT SIZES
0.8rem / 0.9rem / 1rem / 1.953rem / 2.441rem / 3.052rem / 3.815rem

FONT WEIGHTS
300 / 400 / 500 / 600 / 700 / 800

LINE HEIGHTS
1.2 / 1.5

LETTER SPACING
0 / -2px / -3px

FONT FAMILY
Fira Sans, sans-serif

-------------- COLORS ---------------

PRIMARY COLORS
Base: #0084D1 (blue)
Tint: #00BCFF   (azure)
Lighter tint: #B8E6FE
Shade: #1E5AA8 (darker blue
Darker shade: #024A70

SECONDARY COLORS
Base: #BB4D00 (amberish orange)
Tint: #FE9A00 (orange)
Lighter tint: #FEF3C6 (light orange)
Shade: #7B3306 (milk chocolate)
Darker shade: #461901 (chocolate brown)



GREY COLORS
Base: #292524 (dark grey)
Tint: #57534D (stone grey)
Lighter tint: #D6D3D1 (light grey)
Shade: #1C1917 (darker grey)
Darker shade: #0C0A09 (darkest grey)

-------------- BORDER RADIUS ---------------



*/


/* ------------------ GLOBAL STYLES ------------------ */
:root {
    --nwbc-primary: #0084D1;
    --nwbc-primary-light: #33A0DD;
    --nwbc-primary-dark: #0069A7;

    --nwbc-secondary: #F59E0B;
    --nwbc-secondary-light: #F8B84A;
    --nwbc-secondary-dark: #D97706;

    --nwbc-dark: #292524;
    --nwbc-dark-soft: #3B3634;
    --nwbc-light: #ffffff;
    --nwbc-muted: #E7E5E4;

    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding:o;
    box-sizing: border-box;
}

/* body inheritence is many used to add text styles while universal is used to remove default */
html {
    scroll-behavior: smooth;
} 
body {
    color:#292524;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
    position: relative;
    background-color: #f5f5f5; /* fallback colour */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)),
        url("images/Tower.jpg") center/cover no-repeat;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}
h1, h2, h3,h4 {
    font-weight: 600;
    color: #1C1917;
    letter-spacing: -3px;
    line-height: 1.2;
}

h1{
  font-size: 3.815rem;
}

h2{
    font-size: 3.052rem;
}
.features-main-heading {
    text-align: left;
    text-decoration: underline #1E5AA8 ;
}

h3{
    font-size: 2.441rem;
    font-weight: 400;
}

h4{
    font-size: 1.953rem;
}

p{
    text-align: justify;
    font-size: 1rem;
}

a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #57534D;
}

small{
    font-size: 0.8rem;
}

ul {
    list-style: none;
}

/* ------------------ COMPONENTS ------------------ */
/* Base button */
.btn,
.btn:link,
.btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.4rem;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Hover effect for all buttons */
.btn:hover {
    transform: translateY(-2px);
}

/* Active effect */
.btn:active {
    transform: translateY(0);
    transition: all 0.12s ease;
}

/* Focus */
.btn:focus,
.btn:focus-visible {
    outline: 2px solid rgba(0, 132, 209, 0.25);
    outline-offset: 3px;
}


/* =========================
   PRIMARY
   ========================= */
.btn-primary:link,
.btn-primary:visited {
    color: var(--nwbc-light);
    background: linear-gradient(135deg, var(--nwbc-primary), var(--nwbc-primary-dark));
    border: 1px solid var(--nwbc-primary);
}

.btn-primary:hover {
    color: var(--nwbc-light);
    background: linear-gradient(135deg, var(--nwbc-primary-light), var(--nwbc-primary));
    border-color: var(--nwbc-primary-light);
    box-shadow: 0 8px 20px rgba(0, 132, 209, 0.22);
}

.btn-primary:active {
    background: var(--nwbc-primary-dark);
    border-color: var(--nwbc-primary-dark);
}


/* =========================
   PRIMARY OUTLINE
   ========================= */
.btn-primary-outline:link,
.btn-primary-outline:visited {
    color: var(--nwbc-primary);
    background-color: transparent;
    border: 1.5px solid var(--nwbc-primary);
    box-shadow: none;
}

.btn-primary-outline:hover {
    color: var(--nwbc-light);
    background-color: var(--nwbc-primary);
    border-color: var(--nwbc-primary);
    box-shadow: 0 8px 20px rgba(0, 132, 209, 0.18);
}

.btn-primary-outline:active {
    background-color: var(--nwbc-primary-dark);
    border-color: var(--nwbc-primary-dark);
    color: var(--nwbc-light);
}


/* =========================
   SECONDARY
   ========================= */
.btn-secondary:link,
.btn-secondary:visited {
    color: var(--nwbc-light);
    background: linear-gradient(135deg, var(--nwbc-secondary), var(--nwbc-secondary-dark));
    border: 1px solid var(--nwbc-secondary);
}

.btn-secondary:hover {
    color: var(--nwbc-light);
    background: linear-gradient(135deg, var(--nwbc-secondary-light), var(--nwbc-secondary));
    border-color: var(--nwbc-secondary-light);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.24);
}

.btn-secondary:active {
    background: var(--nwbc-secondary-dark);
    border-color: var(--nwbc-secondary-dark);
}


/* =========================
   SECONDARY OUTLINE
   ========================= */
.btn-secondary-outline:link,
.btn-secondary-outline:visited {
    color: var(--nwbc-secondary-dark);
    background-color: transparent;
    border: 1.5px solid var(--nwbc-secondary);
    box-shadow: none;
}

.btn-secondary-outline:hover {
    color: var(--nwbc-light);
    background-color: var(--nwbc-secondary);
    border-color: var(--nwbc-secondary);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.18);
}

.btn-secondary-outline:active {
    background-color: var(--nwbc-secondary-dark);
    border-color: var(--nwbc-secondary-dark);
    color: var(--nwbc-light);
}

.icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-md {
    width: 100px;
    height: auto;
    display: block;
    transition: var(--transition);
}
.logo-md:hover {
    transform: scale(1.03);
}

.logo-sm {
    width: 80px;
    height: auto;
    display: block;
    transition: var(--transition);
}
.logo-sm:hover {
    transform: scale(1.03);
}
/* ------------------ SECTIONS ------------------ */

/* -------- NAV SECTION -------- */
/* -------- POLISHED NAV -------- */
.site-nav {
    width: 100%;
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 5%;
    background: rgba(41, 37, 36, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-md {
    width: 88px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.logo-md:hover {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--nwbc-light);
    font-size: 0.96rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    transition: var(--transition);
    position: relative;
}

.nav-menu li a:not(.btn-secondary):hover {
    color: var(--nwbc-primary-light);
    background-color: rgba(0, 132, 209, 0.1);
}

.nav-menu li a:not(.btn-secondary)::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 10px;
    width: 0;
    height: 2px;
    background: var(--nwbc-primary);
    border-radius: 999px;
    transition: var(--transition);
}

.nav-menu li a:not(.btn-secondary):hover::after {
    width: calc(100% - 36px);
}

.nav-cta-item {
    margin-left: 0.35rem;
}

.nav-cta {
    white-space: nowrap;
}

/* hamburger button */
.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 0;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle:focus-visible {
    outline: 2px solid rgba(0, 132, 209, 0.35);
    outline-offset: 3px;
}

.nav-toggle-line {
    width: 22px;
    height: 2px;
    background-color: #fff;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* tablet */
@media (max-width: 980px) {
    .site-nav {
        padding: 0.9rem 4%;
    }

    .nav-menu a {
        padding: 0.75rem 0.85rem;
        font-size: 0.92rem;
    }

    .logo-md {
        width: 78px;
    }
}

/* mobile */
@media (max-width: 820px) {
    .site-nav {
        min-height: 78px;
        padding: 0.85rem 5%;
        position: sticky;
    }

    .logo-md {
        width: 68px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 1rem 5% 1.2rem;
        background: rgba(28, 25, 23, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity 0.28s ease,
            transform 0.28s ease,
            visibility 0.28s ease;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 14px;
        padding: 0.95rem 1rem;
        font-size: 1rem;
    }

    .nav-menu li a:not(.btn-secondary)::after {
        display: none;
    }

    .nav-cta-item {
        margin-left: 0;
        margin-top: 0.35rem;
    }

    .nav-cta {
        justify-content: center !important;
    }

    .site-nav.nav-open .nav-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav.nav-open .nav-toggle-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-nav.nav-open .nav-toggle-line:nth-child(2) {
        opacity: 0;
    }

    .site-nav.nav-open .nav-toggle-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}
/* -------- HERO SECTION -------- */
.hero-section {
  min-height: 100vh;
  background:
  linear-gradient(
    90deg,
    rgba(7, 27, 45, 0.88) 0%,
    rgba(12, 48, 73, 0.65) 40%,
    rgba(0, 0, 0, 0.30) 100%
  ),
  url("images/HERO background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
  padding: 10px 2% 60px 2%;
}

.hero-content {
  max-width: 1900px;
  margin: 0 auto;
  padding-bottom: 30px;
  display: grid;
  grid-template-columns: 350px 1fr;
  align-items: center;
  gap: 60px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.058);
  border: 1.5px solid rgba(34, 34, 34, 0.);
  border-radius: 18px;
  padding: 24px 18px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  text-align: center;
  backdrop-filter: blur(3px);
}

.hero-card img {
  width: 100%;
  max-width: 330px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.hero-about {
    margin:50px 20px 0px;
}

.hero-about p {
  color: #f5f5f5;
}

.hero-text {
  min-height: 200px;
}

/* =========================
   LOGO TITLE THINGIE
   ========================= */
.hero-title{
  display: inline-block;
  text-align: center;
  margin: 0;
  font-family: Impact, "Arial Black", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 29px;

  /* colour + “outlined” look */
  color: #d8d8d8;
  -webkit-text-stroke: 3px #111; /* outline */
  paint-order: stroke fill;      /* helps some browsers */
  text-shadow:
    0 3px 0 rgba(0,0,0,.55),      /* drop depth */
    0 8px 18px rgba(0,0,0,.35);   /* soft shadow */
}

    /* line 2: “& Civil Works” + the horizontal lines left/right */
.hero-title .line-casing{
  display: inline-flex;
  align-items: center;
  gap: 14px;

  /* make this line “pop” like the image */
  color: #d8d8d8;
  -webkit-text-stroke: 3px #111;
  text-shadow:
    0 3px 0 rgba(0,0,0,.55),
    0 8px 18px rgba(0,0,0,.35);
}

/* the decorative lines */
.hero-title .line-casing::before,
.hero-title .line-casing::after{
  content:"";
  width: 67px;
  height: 6px;
  background: #1e6fa8;      /* blue bar */
  border: 2px solid #111;   /* dark edge like the sample */
  border-radius: 3px;
  box-shadow: 0 2px 0 rgba(0,0,0,.45);
}

    /* tagline line */
.hero-title .tagline{
  display: inline-block;
  margin-top: 10px;
  font-size: 22px;         /* smaller than main title */
  letter-spacing: .03em;
  color: #1e6fa8;           /* blue text */
  -webkit-text-stroke: 2px #0b0b0b;
  text-shadow:
    0 2px 0 rgba(0,0,0,.55),
    0 6px 14px rgba(0,0,0,.35);
}

@media (max-width: 900px) {
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-card {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 22px;
    -webkit-text-stroke: 1.5px #111;
  }

  .hero-title .tagline {
    font-size: 17px;
  }

  .hero-title .line-casing::before,
  .hero-title .line-casing::after {
    width: 42px;
    height: 5px;
  }
}

/* -------- FEATURES SECTION -------- */

.service-section { 
    padding: 80px 8% 18px;
}

.service-section h2 {
    margin-bottom: 35px;
    color: #292524;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    width: 350px;
    min-height: 420px;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: end;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.service-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.service-overlay {
    width: 100%;
    padding: 24px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.78),
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.12)
    );
    color: white;
    text-align: left;
}

.service-overlay h3 {
    margin-bottom: 14px;
    font-size: 1.5rem;
}

.service-overlay ul {
    margin: 0;
    padding-left: 20px;
}

.service-overlay li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Background images */
.welding-card {
    background-image: url("https://images.unsplash.com/photo-1698664683348-f9f35b809821?w=1200&auto=format&fit=crop&q=80");
}

.building-card {
    background-image: url("https://plus.unsplash.com/premium_photo-1681691912442-68c4179c530c?q=80&w=1200&auto=format&fit=crop");
}

.civil-card {
    background-image: url("https://images.unsplash.com/photo-1593436878048-92622a77d315?q=80&w=1200&auto=format&fit=crop");
}
/* -------- CTA SECTION -------- */
.projects-section {
    padding: 80px 8%;
    background-color: #f5f7fa;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-label {
    color: #0084D1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 2.2rem;
    color: #292524;
    margin-bottom: 12px;
}

.section-intro {
    color: #57534e;
    font-size: 1rem;
    line-height: 1.6;
}

.project-card {
    background-color: #ffffff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-details {
    margin-bottom: 25px;
}

.project-details p {
    margin: 8px 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #292524;
}

.project-details strong {
    color: #000;
    display: inline-block;
    min-width: 150px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-gallery img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 8px 8px 0 #4b5563;
    transition: transform 0.3s ease;
}

.project-gallery img:hover {
    transform: scale(1.02);
}


/* Tablet */
@media (max-width: 900px) {
    .project-gallery {
        grid-template-columns: 1fr 1fr;
    }

    .project-gallery img {
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .projects-section {
        padding: 60px 5%;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .project-card {
        padding: 20px;
    }

    .project-details strong {
        min-width: unset;
        display: block;
        margin-bottom: 2px;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .project-gallery img {
        height: 220px;
    }
}

/* -------- COMPANY PROFILE DOWNLOAD SECTION -------- */

.company-profile {
    padding: 80px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.company-profile .btn {
    font-size: 1.05rem;
    padding: 1rem 2rem;
    border-radius: 999px;
}

.profile-cta {
    background: white;
    padding: 50px 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
}

.profile-cta h2 {
    margin-bottom: 10px;
}

.profile-cta p {
    margin-bottom: 25px;
    color: #57534D;
}

.company-profile .btn:hover {
    transform: translateY(-3px) scale(1.02);
}

/* -------- FOOTER SECTION -------- */

.site-footer {
    background-color: #024A70;
    color: white;
    padding: 50px 20px;
    border-top: 2px solid var(--nwbc-dark);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    flex-wrap: wrap;
}

/* LOGO */
.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand .logo-sm {
    width: 110px;
}

/* CONTACT */
.footer-contact {
    text-align: left;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: white;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* SOCIAL */
.footer-socials {
    list-style: none;
    display: flex;
    gap: 14px;
    padding: 0;
}

.social-icons {
    width: 24px;
    height: 24px;
}

/* ---------------- MOBILE ---------------- */

@media (max-width: 700px) {

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
        margin-top: 5px;
    }
}