
/* FORM CARD */
.hero-form {
    background: rgba(10, 45, 85, 0.95);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

/* FORM INPUTS */
.hero-form input,
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px !important;
    border: none;
    margin-bottom: 15px;   
}

.nice-select {
  border-radius: 10px !important;
  padding:12px !important;

}

/* TEXTAREA */
.hero-form textarea {
    height: 120px;
    resize: none;
    margin-top:10px;
}

  :root{
    --navy:#082c4b;
    --navy-2:#0e3f6a;
    --navy-3:#155090;
    --navy-soft:#e9f0f8;
    --navy-tint:#f4f8fc;
    --red:#c6020c;
    --red-2:#e51720;
    --red-soft:#fdecec;
    --ink:#0a1f33;
    --muted:#5b6b7c;
    --line:rgba(8,44,75,.10);
    --shadow-sm:0 6px 20px rgba(8,44,75,.08);
    --shadow-md:0 18px 40px rgba(8,44,75,.12);
    --shadow-lg:0 30px 70px rgba(8,44,75,.18);
  }


  .eyebrow{
    display:inline-flex;align-items:center;gap:.5rem;
    padding:.4rem 1rem;border-radius:999px;
    background:var(--red-soft);color:var(--red);
    text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:700;
  }
  .eyebrow.on-dark{
      background:rgba(255,255,255,.10);
      color:#ffd9db;
      backdrop-filter:blur(8px)}

  /* HERO */
  .hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(7, 30, 61, 0.92) 0%,
      rgba(11, 53, 98, 0.85) 40%,
      rgba(21, 101, 184, 0.75) 100%
    );
    z-index: 1;
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #fff;
    margin-bottom: 24px;
  }
  .hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
  }
  
 
  @keyframes pulse{
    0%{box-shadow:0 0 0 0 rgba(255,90,98,.7)}
    70%{box-shadow:0 0 0 14px rgba(255,90,98,0)}
    100%{box-shadow:0 0 0 0 rgba(255,90,98,0)}
  }
  .hero-stats{
    display:flex;justify-content:center;gap:2.5rem;flex-wrap:wrap;
    margin-top:2.5rem;padding-top:2rem;border-top:1px solid rgba(255,255,255,.18);
  }
  .hero-stats .item{color:rgba(255,255,255,.85);display:flex;align-items:center;gap:.65rem;font-weight:600;font-size:.95rem}
  .hero-stats .item i{color:#ff5a62}

  /* Section bases */
  .section{padding:6rem 0;position:relative}
  .section--alt{background:var(--navy-tint)}
  .section--dark{background:linear-gradient(160deg,var(--navy) 0%,#04203b 100%);color:#fff}
  .section--dark h2,.section--dark h4{color:#fff}
  /*.section--dark p{color:rgba(255,255,255,.78)}*/

  /* About / stats */
  .stat-card{
    background:#fff;
    border-radius:22px;
    padding:2rem 1.4rem;
    text-align:center;
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    transition:transform .4s ease,
    box-shadow .4s ease;
  }
  .stat-card:hover{
      transform:translateY(-8px);
      box-shadow:var(--shadow-md)
      
  }
  .stat-card .num{
      color:var(--red);
      font-weight:700;
      font-size:2.6rem;
      line-height:1
      
  }
  .stat-card .label{
      margin-top:.35rem;
      color:var(--navy);
      font-weight:600}

  .about-img{
    border-radius:24px;overflow:hidden;box-shadow:var(--shadow-lg);position:relative;
  }
  .about-img img{
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      transition:
      transform .8s ease
      
  }
  .about-img:hover img{
      transform:scale(1.05)
      
  }
  .about-img::after{
    content:"";
    position:absolute;
    inset:auto -30px -30px auto;
    width:160px;
    height:160px;
    border-radius:50%;
    background:radial-gradient(circle,var(--red) 0%,transparent 70%);
    opacity:.35;pointer-events:none;
  }

  /* Service cards */
   .svc-card{
    background:#fff;
    border-radius:20px;
    padding: 1.25rem;
    height:100%;
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    transition:transform .4s ease, box-shadow .4s ease, border-color .4s ease;
    position:relative;
    overflow:hidden;
  }
  .svc-card::before{
    content:"";
    position:absolute;
    inset:auto -40px -40px auto;
    width:140px;
    height:140px;
    border-radius:50%;
    background:var(--navy-soft);
    opacity:0;
    transition:
    opacity .4s ease;
  }
  .svc-card:hover{
      transform:
      translateY(-10px);
      box-shadow:var(--shadow-md);
      border-color:rgba(198,2,12,.25)
      
  }
  .svc-card:hover::before{opacity:1}
  .svc-icon{
    width:64px;
    height:64px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--navy) 0%,var(--navy-3) 100%);
    color:#fff;font-size:1.4rem;
    box-shadow:0 12px 24px rgba(8,44,75,.25);
    margin-bottom:1.2rem;
    position:relative;
    z-index:1;
  }
  .svc-card:hover .svc-icon{
      background:linear-gradient(135deg,var(--red) 0%,var(--red-2) 100%);
      box-shadow:0 12px 24px rgba(198,2,12,.35)
      
  }
  .svc-card h5{
      position:relative;
      z-index:1;
      margin: 0;
      font-size: 1.1rem;
      color: var(--navy);
  }
  .svc-icon-sm {
    width:36px;
    height:36px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--navy) 0%,var(--navy-3) 100%);
    color:#fff;
    font-size:1rem;
    position:relative;
    z-index:1;
  }
  .svc-card:hover .svc-icon-sm {
      background:linear-gradient(135deg,var(--red) 0%,var(--red-2) 100%);
  }
  .svc-card p{
      position:relative;
      z-index:1;
      margin:0
      
  }

 

  /* Types list */
  .type-card{
    background:#fff;
    border-radius:18px;
    padding:1.6rem;
    height:100%;
    border-left:4px solid var(--red);
    box-shadow:var(--shadow-sm);
    transition:transform .35s ease, box-shadow .35s ease;
    display:flex;
    gap:1.1rem;
    align-items:flex-start;
  }
  .type-card:hover{
      transform:translateX(6px) translateY(-4px);
      box-shadow:var(--shadow-md)
      
  }
  .type-card .t-icon{
    width:50px;
    height:50px;
    border-radius:12px;
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--navy-soft);color:var(--navy);font-size:1.2rem;
  }
  .type-card h4{
      margin-bottom:.35rem
      
  }
  .type-card p{
      margin:0
      
  }

  /* Why choose */
  .why-item{
    background:#fff;
    border-radius:16px;
    padding:1.4rem 1.5rem;
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    display:flex;
    gap:1rem;
    align-items:flex-start;
    height:100%;
    transition:transform .35s ease, box-shadow .35s ease;
  }
  .why-item:hover{
      transform:translateY(-6px);
      box-shadow:var(--shadow-md)
      
  }
  .why-item .w-icon{
    width:44px;
    height:44px;
    border-radius:50%;
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--red);
    color:#fff;
  }
  .why-item h4{
      margin-bottom:15px;
      
  }
 
  /* Inspection list */
  .insp-card{
    background:#fff;
    border-radius:24px;
    padding:3rem;
    box-shadow:var(--shadow-md);
    border:1px solid var(--line);
  }
  .insp-list li {
    list-style: none;
    padding: 7px 0;

    display: flex;
    align-items: center;   /* ðŸ”¥ fixes vertical alignment */
    gap: 10px;             /* spacing between icon & text */
}
  
  .insp-list {
    list-style: none;
    padding-left: 0;
}
  .insp-list li:last-child{
      border-bottom:0
      
  }

  /* Areas */
  .area-chip{
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    padding:.7rem 1.2rem;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--line);
    color:var(--navy);
    font-weight:600;
    box-shadow:var(--shadow-sm);
    transition:transform .35s ease, background .35s ease, color .35s ease;
  }
  .area-chip i{
      color:var(--red)
      
  }
  .area-chip:hover{
      background:var(--navy);
      color:#fff;
      transform:translateY(-3px)
      
  }
  .area-chip:hover i{
      color:#fff
      
  }

  /* FAQ */
  .accordion-item{
    border:1px solid var(--line)!important;
    border-radius:16px!important;
    overflow:hidden;
    margin-bottom:1rem;
    box-shadow:var(--shadow-sm);
  }
  .accordion-button{
    background:#fff;
    color:var(--navy);
    font-weight:500;
    padding:1.25rem 1.4rem;
  }
  .accordion-button:not(.collapsed){
      background:var(--navy);
      color:#fff;
      box-shadow:none
      
  }
  .accordion-button:focus{
      box-shadow:none;
      border-color:transparent
      
  }
  .accordion-button::after{
      filter:none
      
  }
  .accordion-button:not(.collapsed)::after{
      filter:invert(1) brightness(2)
      
  }
  .accordion-body{
      padding:1.2rem 1.4rem;
      background:var(--navy-tint);
      color:var(--ink)}

  /* Contact */
  .contact-card{
    background:#fff;
    border-radius:20px;
    padding:2rem;
    height:100%;
    border:1px solid var(--line);
    box-shadow:var(--shadow-sm);
    text-align:center;
    transition:transform .35s ease, box-shadow .35s ease;
    border: 1px solid #082c4b;
  }
  .contact-card:hover{
      transform:translateY(-6px);
      box-shadow:var(--shadow-md)
      
  }
  .contact-card .c-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    margin:0 auto 1rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--red),var(--red-2));
    color:#fff;font-size:1.4rem;
  }
  .contact-card a{
     display: inline-block;   /* ðŸ”¥ required */
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--navy);
    font-weight: 700;
      
  }

  /* Final CTA */
  .final-cta{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    padding:4rem 2rem;
    color:#fff;
    background:
      linear-gradient(120deg, rgba(8,44,75,.94) 0%, rgba(8,44,75,.78) 100%),
      url('https://images.unsplash.com/photo-1518780664697-55e3ad937233?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat;
    box-shadow:var(--shadow-lg);
  }
  .final-cta::before{
    content:"";
    position:absolute;
    inset:0;
  }
  .final-cta > *{position:relative;z-index:1}
  .final-cta h2{color:#fff}


  @media (max-width:768px){
    .section{padding:4rem 0}
    .insp-card{padding:1.6rem}
    .final-cta{padding:2.5rem 1.2rem}
    .hero-stats{gap:1.2rem}
  }
  
  
  
/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 120px 0;
}

.hero-form {
    background: rgba(10, 45, 85, 0.95);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

/* BACKGROUND */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* OVERLAY */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 60, 0.7);
}

/* CONTENT ABOVE BG */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* TITLE */
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color:white;
}

.hero-title span {
    color: #ff0000;
    border: 2px solid #ff0000;
    padding: 3px 10px;
    border-radius: 8px;
}

/* TEXT */
.hero-text {
    margin: 20px 0 30px;
    color: #ddd;
}

  .custom-table thead {
  background-color: #082c4b;
}

.custom-table thead th {
  background-color: #082c4b;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

    .why-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  background: #f1f1f1;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
}

.tab-btn.active {
  background: #c6020c;
  color: #fff;
}

.tab-content {
  display: none;
  max-width: 900px;
  margin: auto;
}

.tab-content.active {
  display: block;
}

.insp-list {
  list-style: none;
  padding: 0;
}

.insp-list li {
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.formation-card img {
    display: block;
    width: 100%;
    object-fit: cover;
    
}
    .formation-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e6e9ee;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Left Gradient Accent Line */
.formation-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background: #c6020c;
    border-radius: 20px 0 0 20px;
}

/* Hover Effect */
.formation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.1);
    border-color: #0ea5a4;
}

/* Icon Styling */
.formation-icon {
    width: 66px;
    height: 66px;
    background: linear-gradient(135deg, #eaf3f9, #d6e7f5);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0ea5a4;
    transition: all 0.4s ease;
}

/* Icon Hover */
.formation-card:hover .formation-icon {
   background: linear-gradient(135deg, #0d4a7a, #082c4b);
    color: #ffffff;
    transform: scale(1.08);
}

/* Title */
.formation-title {
    /*font-size: 26px;*/
    /*font-weight: 700;*/
}


/* Feature Box Styling */
.feature-box {
    overflow: scroll;
    height: 300px;
    background: #f9fafb;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
    transition: 0.3s ease;
}

.feature-box:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-color: #0ea5a4;
}

.feature-box ul {
    list-style: none;
    padding-left: 0;
}

.feature-box ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    /*font-size: 14px;*/
    color:black;
}


.image-section1 img{
    border-radius:15px;
}

/*Inspection/*/
.card-premium {
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1rem !important;
  background: #ffffff;
  height: 100%;
}

.card-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0d6efd, #dc3545);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
}

.card-premium:hover::before {
  opacity: 1;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.85rem !important;
  transition: all 0.3s ease;
}

.card-premium:hover .icon-wrap {
  background: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(13, 110, 253, 0.2);
}

.icon-wrap i {
  font-size: 20px;
}

.card-premium > div:not(.icon-wrap) {
  
  line-height: 1.3;
  color: #333;
}

/*About*/
.about-img-premium {
  padding: 10px;
}
.point-premium-card {
  transition: all 0.3s ease;
  line-height: 1.6;
  color: #555;
 
}
.point-premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}


/*Why Metal roofing is the #1 choice*/
  /* CARD FIX */
.benefit {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.15); /* subtle visible border */
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.3s ease;
}

/* HOVER EFFECT (optional but premium) */
.benefit:hover {
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-5px);
}

/* ICON FIX */
.b-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
  color: #ffffff;
  margin-bottom: 15px;
}

/* ICON HOVER */
.benefit:hover .b-icon {
  background: #c6020c; /* your accent red */
  border-color: #c6020c;
}

/* HEADING FIX */
.benefit h4 {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}

/* TEXT FIX */
.benefit p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  line-height: 1.6;
}