@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Roboto:wght@400;500&display=swap');

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

body{
  font-family:'Roboto', sans-serif;
  background: linear-gradient(135deg,#f8fafc,#e2e8f0,#dbeafe);
  color:#1f2937;
  line-height:1.6;
}

/* alternating sections */
section:nth-child(even){
  background:#f8fafc;
}

section:nth-child(odd){
  background:white;
}

/* NAVBAR */
.navbar{
  position:sticky;
  top:0;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 50px;
  box-shadow:0 4px 20px rgba(0,0,0,.08);
  z-index:1000;
}

.logo{
  font-family:'Montserrat', sans-serif;
  font-weight:800;
  color:#1d3557;
  font-size:22px;
}

.nav-links a{
  text-decoration:none;
  margin-left:20px;
  color:#333;
  font-weight:600;
  transition:.3s;
}

.nav-links a:hover{
  color:#d62828;
}

/* HERO */
.hero{
  background:
    linear-gradient(
      rgba(10,25,47,.75),
      rgba(10,25,47,.75)
    ),
    url("images/inspection.jpg");

  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  height:90vh;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
}

.hero-overlay{
  max-width:900px;
  padding:20px;
}

.hero-overlay h1{
  font-family:'Montserrat', sans-serif;
  font-size:58px;
  font-weight:800;
  margin-bottom:20px;
}

.hero-overlay p{
  margin:20px 0;
  font-size:22px;
  color:#f1f5f9;
}

/* BUTTONS */
.btn{
  background:#d62828;
  color:white;
  padding:14px 28px;
  text-decoration:none;
  border-radius:8px;
  display:inline-block;
  margin:10px;
  font-family:'Montserrat', sans-serif;
  font-weight:700;
  transition:.3s;
  box-shadow:0 8px 20px rgba(214,40,40,.25);
}

.btn:hover{
  transform:translateY(-3px);
  background:#b71c1c;
}

.secondary-btn{
  background:#1d3557;
}

.secondary-btn:hover{
  background:#16304d;
}

/* language button */
.lang-btn{
  background:#d62828;
  color:white;
  border:none;
  padding:10px 18px;
  border-radius:8px;
  cursor:pointer;
  margin-left:15px;
  font-weight:bold;
}

/* sections */
section{
  padding:80px 20px;
}

.container{
  max-width:1100px;
  margin:auto;
}

.container h2{
  font-family:'Montserrat', sans-serif;
  font-size:38px;
  text-align:center;
  margin-bottom:30px;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
  margin-top:30px;
}

/* PROFESSIONAL CARDS */
.card{
  background:white;
  padding:30px;
  border-radius:20px;
  box-shadow:0 10px 35px rgba(0,0,0,0.08);
  text-align:center;
  transition:.3s ease;
  border:1px solid #e5e7eb;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:15px;
  margin-bottom:15px;
}

/* TRUST BAR */
.trust-bar{
  background:linear-gradient(90deg,#1d3557,#2563eb);
  color:white;
  display:flex;
  justify-content:center;
  gap:30px;
  padding:25px;
  flex-wrap:wrap;
  font-weight:600;
}

/* STORM BOX */
.storm-alert-box{
  background:white;
  padding:35px;
  margin-top:30px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* FORM */
form{
  max-width:700px;
  margin:auto;
  background:white;
  padding:40px;
  border-radius:20px;
  box-shadow:0 12px 35px rgba(0,0,0,.1);
}

form h2{
  text-align:center;
  margin-bottom:20px;
}

input,
select,
textarea{
  width:100%;
  padding:14px;
  margin:12px 0;
  border-radius:10px;
  border:1px solid #d1d5db;
  font-size:16px;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:#2563eb;
}

/* submit button */
form button{
  width:100%;
  background:#d62828;
  color:white;
  padding:16px;
  border:none;
  border-radius:10px;
  font-size:18px;
  font-weight:bold;
  cursor:pointer;
  margin-top:15px;
}

form button:hover{
  background:#b71c1c;
}

/* floating text button */
.chat-button{
  position:fixed;
  bottom:20px;
  right:20px;
  background:#25D366;
  color:white;
  padding:15px 22px;
  border-radius:50px;
  text-decoration:none;
  font-weight:bold;
  box-shadow:0 8px 20px rgba(0,0,0,.2);
}

/* footer */
footer{
  background:#0f172a;
  color:white;
  text-align:center;
  padding:50px 20px;
}

/* MOBILE */
@media(max-width:768px){

  .navbar{
    flex-direction:column;
    text-align:center;
    padding:20px;
  }

  .nav-links{
    margin-top:15px;
  }

  .hero-overlay h1{
    font-size:34px;
  }

  .hero-overlay p{
    font-size:18px;
  }

  .btn{
    display:block;
    margin:12px auto;
    width:90%;
  }

  form{
    padding:25px;
  }
}