:root{
    --blue:#1d5d99;
    --dark:#0b2f4f;
    --orange:#f7931e;
    --white:#ffffff;
    --light:#f5f5f5;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:#333;
    line-height:1.6;
    overflow-x:hidden;
}

a{
    text-decoration:none;
}

/* TOP BAR */

.top-bar{
    background:#1d5d99;
    color:#fff;
    padding:10px 8%;
    font-size:14px;
}

.top-bar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.top-right a{
    color:#fff;
    margin-left:20px;
}

/* HEADER */

.main-header{
    background:#fff;
    padding:25px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:42px;
    font-weight:800;
    color:#10253d;
}

.logo span{
    color:#f7931e;
}

.header-contact{
    display:flex;
    align-items:center;
    gap:40px;
}

.contact-box h4{
    font-size:14px;
    color:#777;
    margin-bottom:4px;
}

.contact-box p{
    font-weight:bold;
}

.quote-btn{
    background:#f7931e;
    color:white;
    padding:14px 28px;
    font-weight:bold;
}

/* ======================
   NAVBAR
====================== */

.navbar {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 20px;
  position: relative;
  z-index: 1000;
}

.navbar a {
  color: #0b2f4f;
  font-weight: 700;
  font-size: 15px;
}

.dropdown {
  position: relative;
}

/* Default black */

.navbar a,
.drop-btn {
  color: #0b2f4f;
  font-weight: 700;
  transition: 0.3s;
}

/* Hover par orange */

.navbar a:hover,
.dropdown:hover .drop-btn {
  color: #f7931e;
}

/* ======================
   MEGA MENU
====================== */

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  width: 800px;

  background: #fff;

  display: none;

  grid-template-columns: 1fr 1fr;

  gap: 40px;

  padding: 35px 40px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  z-index: 999;
}

.dropdown:hover .mega-menu {
  display: grid;
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-column a{
    position: relative;
    padding-left: 22px;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.menu-column a::before{
    content: "›";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #f7931e;
    font-size: 22px;
    font-weight: bold;
}


.menu-column a:hover{
    color: #f7931e;
    padding-left: 27px;
    transition: .3s;
}


/* HERO */

.services-hero {
  height: 320px;

  background:
    linear-gradient(rgba(11, 47, 79, 0.75), rgba(11, 47, 79, 0.75)),
    url("construction.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

.services-hero h1 {
  color: white;
  font-size: 70px;
  font-weight: 800;
}

/* SERVICES SECTION */

.services-page {
  max-width: 1400px;
  margin: auto;
  padding: 90px 8%;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);

  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card img {
  height: 220px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 10px;
  color: var(--dark);
  font-size: 22px;
}

.service-card p {
  padding: 0 20px;
  color: #666;
  min-height: 80px;
}

.service-card a {
  display: inline-block;
  margin: 20px;
  color: var(--orange);
  font-weight: bold;
}

/* FOOTER */

.footer {
  background: #eef2f6;
  padding: 70px 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  display: inline-block;
  font-size: 45px;
  margin-bottom: 20px;
}

.footer h3 {
  color: var(--blue);
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 10px;
}

.footer p {
  margin-bottom: 12px;
}

.footer a {
  color: #333;
}

.footer a:hover {
  color: var(--orange);
}

/* COPYRIGHT */

.copyright {
  background: #355a94;
  color: white;
  text-align: center;
  padding: 18px;
  font-size: 14px;
}

/* ======================
   BROCHURE BTN
====================== */

.brochure-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);

  background: #f58220;
  color: #fff;

  text-decoration: none;
  font-size: 18px;
  font-weight: 600;

  padding: 18px 15px;

  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);

  border-radius: 8px 0 0 8px;
  z-index: 999;

  transition: 0.3s ease;
}

.brochure-btn:hover {
  background: #d96a0a;
  padding-right: 22px;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .services-page {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .header-contact {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-hero h1 {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .services-page {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .logo {
    font-size: 40px;
  }

  .services-hero {
    height: 240px;
  }

  .services-hero h1 {
    font-size: 38px;
  }

  .footer {
    padding: 50px 5%;
  }
}

@media (max-width: 576px) {
  .top-bar {
    padding: 8px 5%;
  }

  .main-header {
    padding: 20px 5%;
  }

  .services-page {
    padding: 60px 5%;
  }
}
