: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 SECTION
=================================== */

.service-hero {
  height: 320px;

  background:
    linear-gradient(rgba(11, 47, 79, 0.55), rgba(11, 47, 79, 0.55)),
    url("images/service10.jpg");

  background-size: cover;
  background-position: center;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
}

.hero-content h1 {
  color: #fff;
  font-size: 60px;
  font-weight: 700;
}

/* ===================================
INTRO SECTION
=================================== */

.flooring-intro {
  padding: 100px 0;
}

.intro-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.intro-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

.flooring-list {
  list-style: none;
  margin-bottom: 25px;
}

.flooring-list li {
  margin-bottom: 10px;
  color: #555;
  position: relative;
  padding-left: 25px;
}

.flooring-list li::before {
  content: "✔";
  color: var(--orange);
  position: absolute;
  left: 0;
}

.intro-content p {
  color: #555;
  font-size: 16px;
}

/* ===================================
CTA SECTION
=================================== */

.cta-section {
  background: #3f76ad;
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.cta-content {
  max-width: 900px;
  margin: auto;
}

.cta-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
}

.cta-btn {
  background: var(--orange);
  color: #fff;
  padding: 14px 35px;
  display: inline-block;
  font-weight: 700;
}

/* ===================================
CONTACT SECTION
=================================== */

.contact-section {
  padding: 100px 0;
}

.contact-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-image img {
  width: 100%;
  border-radius: 10px;
}

.contact-form h2 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 25px;
  font-size: 36px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  background: #f3f3f3;
  border: none;
  padding: 16px;
  font-size: 15px;
}

.contact-form textarea {
  height: 180px;
  resize: none;
}

.contact-form button {
  width: 150px;
  background: #4a5e90;
  color: #fff;
  border: none;
  padding: 14px;
  cursor: pointer;
}

/* ===================================
FOOTER
=================================== */

.footer {
  background: #eef2f5;
  margin-top: 50px;
}

.footer-container {
  width: 90%;
  max-width: 1400px;
  margin: auto;

  padding: 70px 0;

  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-col h2 {
  color: #0b2f4f;
  margin-bottom: 20px;
}

.footer-col h2 span {
  color: var(--orange);
}

.footer-col h3 {
  color: var(--blue);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #333;
}

.footer-col ul li a:hover {
  color: var(--orange);
}

.footer-bottom {
  background: #355a94;
  color: #fff;
  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: 992px) {
  .main-header {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .header-contact {
    flex-direction: column;
    gap: 20px;
  }

  .intro-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .mega-menu {
    width: 700px;
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .intro-gallery {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .mega-menu {
    width: 95vw;
    grid-template-columns: 1fr;
  }

  } */










  html,
body{
    width:100%;
    overflow-x:hidden;
}

.flooring-intro,
.contact-section,
.cta-section,
.footer{
    width:100%;
}

.cta-content{
    width:100%;
    max-width:100%;
}

.cta-content h2{
    word-wrap:break-word;
}

@media(max-width:768px){

    .cta-content h2{
        font-size:30px;
        line-height:1.4;
    }

    .cta-content p{
        font-size:15px;
        line-height:1.8;
    }

    .cta-btn{
        display:inline-block;
        width:auto;
    }
}






























/* ===================================
   MOBILE RESPONSIVE FIX
=================================== */

@media (max-width: 992px){

  .header-contact{
    display:none;
  }

  .main-header{
    flex-direction:column;
    text-align:center;
    gap:20px;
  }

  .intro-container,
  .contact-container{
    grid-template-columns:1fr;
    gap:30px;
  }

  .footer-container{
    grid-template-columns:1fr 1fr;
  }

  .hero-content h1{
    font-size:48px;
  }
}

@media (max-width:768px){

  .top-bar{
    display:none;
  }

  .navbar{
    flex-direction:column;
    gap:15px;
    padding:15px;
  }

  .mega-menu{
    position:static;
    width:100%;
    transform:none;
    grid-template-columns:1fr;
    padding:20px;
  }

  .service-hero{
    height:250px;
    padding:20px;
  }

  .hero-content h1{
    font-size:32px;
  }

  .flooring-intro,
  .contact-section,
  .cta-section{
    padding:60px 20px;
  }

  .intro-gallery{
    grid-template-columns:1fr;
  }

  .intro-gallery img{
    height:250px;
  }

  .contact-form button{
    width:100%;
  }

  .footer-container{
    grid-template-columns:1fr;
    text-align:center;
    padding:50px 20px;
  }

  .footer-col ul{
    padding:0;
  }

  .brochure-btn{
    display:none;
  }
}

@media (max-width:480px){

  .logo{
    font-size:28px;
  }

  .hero-content h1{
    font-size:26px;
  }

  .cta-content h2,
  .contact-form h2{
    font-size:24px;
  }

  .intro-content p,
  .footer-col p{
    font-size:14px;
  }

  .footer-bottom{
    font-size:12px;
    line-height:1.8;
    padding:15px 10px;
  }
}
