:root{
  --primary:#d71920;
  --primary-dark:#b81218;
  --blue:#063763;
  --blue-dark:#021d36;
  --dark:#081526;
  --dark-2:#0f1d30;
  --light:#f8fafc;
  --white:#ffffff;
  --text:#1e293b;
  --muted:#64748b;
  --shadow:0 20px 45px rgba(0,0,0,0.15);
  --radius:22px;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:white;
  line-height:1.6;
}

img{
  width:100%;
  display:block;
}

a{
  text-decoration:none;
}

.container{
  width:90%;
  max-width:1280px;
  margin:auto;
}

.section{
  padding:100px 0;
}

.section-label{
  color:var(--primary);
  font-size:13px;
  font-weight:900;
  letter-spacing:3px;
  margin-bottom:12px;
  text-transform:uppercase;
}

.section-heading{
  margin-bottom:50px;
}

.section-heading.center{
  text-align:center;
}

.section-heading h2{
  font-size:42px;
  margin-bottom:14px;
  color:var(--blue);
}

.section-heading p{
  max-width:760px;
  margin:auto;
  color:var(--muted);
}

h1,h2,h3,h4{
  line-height:1.2;
}

p{
  color:var(--muted);
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 24px rgba(0,0,0,0.08);
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo-wrap img{
  width:72px;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1;
}

.logo-text span{
  font-size:30px;
  font-weight:900;
  letter-spacing:1px;
  background:linear-gradient(90deg,#063763 0%,#063763 70%,#d71920 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.logo-text small{
  color:var(--primary);
  font-size:13px;
  letter-spacing:5px;
  margin-top:6px;
  font-weight:900;
}

.nav{
  display:flex;
  gap:26px;
}

.nav a{
  color:var(--blue);
  font-weight:800;
  transition:0.3s;
}

.nav a:hover{
  color:var(--primary);
}

.menu-toggle{
  display:none;
  background:transparent;
  border:none;
  font-size:30px;
  color:var(--blue);
  cursor:pointer;
}

/* HERO */

.hero{
  min-height:100vh;
  background:
  linear-gradient(110deg,rgba(2,29,54,0.88),rgba(2,29,54,0.55),rgba(215,25,32,0.25)),
  url("Images/hero-roofing.jpg") center/cover no-repeat;
  display:flex;
  align-items:center;
  padding-top:100px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.3fr 0.7fr;
  gap:40px;
  align-items:center;
}

.hero-tag{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  background:rgba(215,25,32,0.25);
  border:1px solid rgba(255,255,255,0.25);
  color:white;
  margin-bottom:22px;
  font-weight:900;
}

.hero h1{
  font-size:68px;
  max-width:900px;
  margin-bottom:18px;
  color:white;
}

.hero-text{
  max-width:760px;
  color:rgba(255,255,255,0.92);
  font-size:20px;
  margin-bottom:32px;
}

.hero-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:40px;
}

.btn{
  display:inline-block;
  padding:14px 24px;
  border-radius:999px;
  font-weight:900;
  transition:0.3s ease;
  border:none;
  cursor:pointer;
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),#ff3b41);
  color:white;
  box-shadow:var(--shadow);
}

.btn-primary:hover{
  transform:translateY(-3px);
}

.btn-secondary{
  background:rgba(255,255,255,0.12);
  color:white;
  border:1px solid rgba(255,255,255,0.25);
}

.btn-secondary:hover{
  background:rgba(255,255,255,0.2);
}

.hero-stats{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.stat-card{
  min-width:180px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.15);
  backdrop-filter:blur(8px);
  border-radius:18px;
  padding:24px;
}

.stat-card h3{
  font-size:36px;
  color:white;
}

.stat-card p{
  color:rgba(255,255,255,0.82);
}

.hero-panel{
  background:rgba(255,255,255,0.94);
  border-radius:28px;
  padding:32px;
  box-shadow:var(--shadow);
  animation:floatCard 4s ease-in-out infinite;
}

.hero-panel h3{
  color:var(--blue);
  font-size:30px;
  margin-bottom:10px;
}

.hero-panel p{
  margin-bottom:20px;
}

.hero-panel ul{
  list-style:none;
  display:grid;
  gap:12px;
  margin-bottom:24px;
}

.hero-panel li{
  background:#f3f7fb;
  padding:12px 14px;
  border-radius:14px;
  color:var(--blue);
  font-weight:800;
}

.hero-panel li::before{
  content:"✓";
  color:var(--primary);
  margin-right:8px;
}

.panel-btn{
  display:block;
  text-align:center;
  background:var(--blue);
  color:white;
  padding:14px;
  border-radius:999px;
  font-weight:900;
}

@keyframes floatCard{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-12px);}
}

/* TRUST */

.trust-strip{
  background:var(--blue);
  padding:18px 0;
}

.trust-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  color:white;
  text-align:center;
  font-weight:900;
}

/* ABOUT */

.about-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:50px;
  align-items:center;
}

.about-image img{
  border-radius:var(--radius);
  height:520px;
  object-fit:cover;
  box-shadow:var(--shadow);
}

.about-content h2{
  font-size:42px;
  margin-bottom:18px;
  color:var(--blue);
}

.about-content p{
  margin-bottom:18px;
}

.about-points{
  display:grid;
  gap:14px;
  margin:24px 0;
}

.about-points div{
  background:#f7fafc;
  border-left:5px solid var(--primary);
  border-radius:14px;
  padding:16px;
}

.about-points strong{
  display:block;
  color:var(--blue);
}

.about-points span{
  color:var(--muted);
}

/* SERVICES */

.services-section{
  background:linear-gradient(to bottom,#ffffff,#f6f9fc);
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.service-card{
  background:white;
  border-radius:22px;
  padding:30px;
  box-shadow:0 14px 30px rgba(0,0,0,0.06);
  transition:0.3s;
  border:1px solid #edf2f7;
}

.service-card:hover{
  transform:translateY(-8px);
  box-shadow:0 22px 45px rgba(0,0,0,0.12);
}

.service-number{
  font-size:14px;
  font-weight:900;
  color:var(--primary);
  margin-bottom:14px;
}

.service-card h3{
  font-size:24px;
  margin-bottom:12px;
  color:var(--blue);
}

/* PROJECTS */

.projects-section{
  background:var(--dark);
}

.projects-section .section-heading h2,
.projects-section .section-label{
  color:white;
}

.projects-section .section-heading p{
  color:rgba(255,255,255,0.8);
}

.project-slider{
  overflow:hidden;
  position:relative;
  width:100%;
  margin-bottom:50px;
  border-radius:24px;
}

.project-track{
  display:flex;
  width:max-content;
  animation:scrollProjects 45s linear infinite;
  gap:18px;
}

.project-slider:hover .project-track{
  animation-play-state:paused;
}

.slide{
  min-width:320px;
  height:220px;
  border-radius:18px;
  overflow:hidden;
  flex-shrink:0;
  box-shadow:var(--shadow);
}

.slide img{
  height:100%;
  object-fit:cover;
}

@keyframes scrollProjects{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

.project-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.project-card{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 35px rgba(0,0,0,0.2);
}

.project-card img{
  height:260px;
  object-fit:cover;
  transition:0.4s;
}

.project-card:hover img{
  transform:scale(1.06);
}

.project-card-content{
  padding:24px;
}

.project-badge{
  display:inline-block;
  background:rgba(215,25,32,0.1);
  color:var(--primary);
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

.project-card-content h3{
  font-size:26px;
  margin-bottom:12px;
  color:var(--blue);
}

.project-card-content p{
  margin-bottom:18px;
}

.view-btn{
  width:100%;
  padding:14px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg,var(--primary),#ff3b41);
  color:white;
  font-weight:900;
  cursor:pointer;
  transition:0.3s;
}

.view-btn:hover{
  transform:translateY(-2px);
}

/* PROCESS */

.process-section{
  background:#f8fafc;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.process-card{
  background:white;
  padding:26px;
  border-radius:22px;
  box-shadow:0 14px 30px rgba(0,0,0,0.06);
  position:relative;
}

.process-card span{
  display:inline-block;
  color:white;
  background:var(--primary);
  width:44px;
  height:44px;
  border-radius:50%;
  text-align:center;
  line-height:44px;
  font-weight:900;
  margin-bottom:18px;
}

.process-card h3{
  color:var(--blue);
  margin-bottom:10px;
}

/* WHY */

.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

.why-left h2{
  font-size:42px;
  margin-bottom:18px;
  color:var(--blue);
}

.why-item{
  background:white;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 24px rgba(0,0,0,0.05);
  margin-bottom:18px;
}

.why-item h4{
  font-size:22px;
  margin-bottom:8px;
  color:var(--blue);
}

/* CTA */

.cta-section{
  background:linear-gradient(135deg,var(--blue),var(--blue-dark));
  padding:70px 0;
}

.cta-box{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.cta-box h2{
  color:white;
  font-size:40px;
}

.cta-box p{
  color:rgba(255,255,255,0.8);
}

/* CONTACT */

.contact-section{
  background:#f8fafc;
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}

.contact-box,
.contact-form{
  background:white;
  padding:32px;
  border-radius:22px;
  box-shadow:0 14px 28px rgba(0,0,0,0.06);
}

.contact-box h3{
  font-size:30px;
  margin-bottom:14px;
  color:var(--blue);
}

.contact-item{
  margin-top:16px;
  color:var(--text);
}

.contact-item a{
  color:var(--primary);
  font-weight:900;
}

.contact-form{
  display:grid;
  gap:16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  padding:15px 16px;
  border:1px solid #dbe4ee;
  border-radius:14px;
  font-size:15px;
  outline:none;
  font-family:Arial, Helvetica, sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{
  border-color:var(--primary);
}

.contact-form button{
  width:100%;
}

.form-message{
  display:none;
  padding:14px;
  border-radius:14px;
  font-weight:800;
}

.form-message.success{
  display:block;
  background:#e9f9ef;
  color:#137333;
}

.form-message.error{
  display:block;
  background:#fdeaea;
  color:#b81218;
}

/* FOOTER */

.footer{
  background:var(--dark-2);
  color:white;
  padding:24px 0;
}

.footer p{
  color:rgba(255,255,255,0.8);
}

.footer-wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-links a{
  color:rgba(255,255,255,0.76);
}

.footer-links a:hover{
  color:var(--primary);
}

/* MODAL */

.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.8);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:5000;
}

.modal.show{
  display:flex;
}

.modal-inner{
  background:white;
  width:min(1100px,100%);
  max-height:92vh;
  overflow-y:auto;
  border-radius:24px;
  padding:28px;
  position:relative;
}

.close-modal{
  position:absolute;
  top:14px;
  right:16px;
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:#f1f5f9;
  font-size:28px;
  cursor:pointer;
}

.modal-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:30px;
}

.modal-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.modal-gallery img{
  height:210px;
  object-fit:cover;
  border-radius:16px;
}

.modal-type{
  display:inline-block;
  background:rgba(215,25,32,0.1);
  color:var(--primary);
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  margin-bottom:14px;
}

.modal-details h3{
  font-size:34px;
  margin-bottom:14px;
  color:var(--blue);
}

.modal-details p{
  margin-bottom:22px;
}

.modal-info{
  display:grid;
  gap:12px;
  background:#f8fafc;
  border-radius:18px;
  padding:18px;
}

/* SCROLL EFFECT */

.reveal{
  opacity:0;
  transform:translateY(35px);
  transition:0.8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */

@media(max-width:1100px){
  .hero-grid,
  .about-grid,
  .why-grid,
  .contact-grid,
  .modal-grid{
    grid-template-columns:1fr;
  }

  .services-grid,
  .project-cards{
    grid-template-columns:repeat(2,1fr);
  }

  .process-grid,
  .trust-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:54px;
  }
}

@media(max-width:768px){
  .nav{
    display:none;
    position:absolute;
    top:82px;
    right:5%;
    flex-direction:column;
    background:white;
    width:230px;
    padding:20px;
    border-radius:18px;
    box-shadow:var(--shadow);
  }

  .nav.show{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .hero h1{
    font-size:40px;
  }

  .hero-text{
    font-size:18px;
  }

  .services-grid,
  .project-cards,
  .process-grid,
  .trust-grid,
  .modal-gallery{
    grid-template-columns:1fr;
  }

  .section-heading h2,
  .about-content h2,
  .why-left h2,
  .cta-box h2{
    font-size:32px;
  }

  .logo-wrap img{
    width:58px;
  }

  .logo-text span{
    font-size:22px;
  }

  .cta-box{
    flex-direction:column;
    align-items:flex-start;
  }
}