/* =========================================================
   ISHIKA ENGINEERING — Site Stylesheet
   Palette drawn from brand logo: teal droplet mark + ink black
   Signature motif: "hazard-corner" tag (site safety-tape stripe)
   and circular weld/flange stamp badges for stats — grounded in
   the company's real safety-first, piping & fabrication identity.
   ========================================================= */

:root{
  /* --- Brand colors (sampled from logo) --- */
  --teal:        #00A9BC;
  --teal-dark:   #007786;
  --teal-deep:   #063C44;   /* near-black teal, used for dark sections */
  --ink:         #0B0E14;   /* logo wordmark black */
  --steel:       #4A5A68;
  --steel-light: #7C8B99;
  --safety:      #F5B301;   /* safety yellow, from PPE/hazard content */
  --safety-dark: #C98C00;

  --bg:          #F6F8F9;
  --bg-alt:      #EEF3F4;
  --white:       #FFFFFF;
  --border:      #E1E7EA;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'IBM Plex Mono', monospace;

  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(11,14,20,.08);
  --shadow-md: 0 8px 24px rgba(11,14,20,.10);
  --shadow-lg: 0 20px 48px rgba(11,14,20,.16);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
  text-transform: uppercase;
}

.mono{ font-family: var(--font-mono); }

a{ color: var(--teal-dark); text-decoration: none; }
a:hover{ color: var(--teal); }

.eyebrow{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
}
.eyebrow::before{
  content: "";
  width: 28px; height: 2px;
  background: var(--safety);
  display: inline-block;
}

.section{ padding: 5.5rem 0; }
.section-tight{ padding: 3.25rem 0; }
@media (max-width: 767.98px){
  .section{ padding: 3.25rem 0; }
  .section-tight{ padding: 2.25rem 0; }
}

.section-title{
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}
.section-lead{
  color: var(--steel);
  font-size: 1.06rem;
  max-width: 640px;
}
.bg-alt{ background: var(--bg-alt); }
.bg-white{ background: var(--white); }
.bg-deep{ background: var(--teal-deep); color: #E8F3F4; }
.bg-deep h1, .bg-deep h2, .bg-deep h3{ color: #fff; }
.bg-deep .section-lead{ color: #B9D3D6; }

.btn{
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .85rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .2s ease;
}
.btn-brand{
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.btn-brand:hover{
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-brand{
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline-brand:hover{
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}
.btn-outline-dark-brand{
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline-dark-brand:hover{
  background: var(--ink);
  color: #fff;
}
.btn-safety{
  background: var(--safety);
  border-color: var(--safety);
  color: var(--ink);
}
.btn-safety:hover{
  background: var(--safety-dark);
  border-color: var(--safety-dark);
  color: var(--ink);
}

/* =========================================================
   TOP UTILITY BAR
   ========================================================= */
.topbar{
  background: var(--ink);
  color: #C9D3D8;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .03em;
  padding: .45rem 0;
}
.topbar a{ color: #C9D3D8; }
.topbar a:hover{ color: var(--safety); }
.topbar .divider{ opacity: .35; margin: 0 .7rem; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar-ishika{
  background: #fff;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
}
.navbar-ishika .navbar-brand img{
  height: 66px;
  width: auto;
  display: block;
}
.navbar-ishika .nav-link{
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .55rem 1rem !important;
  position: relative;
}
.navbar-ishika .nav-link:hover,
.navbar-ishika .nav-link.active{
  color: var(--teal-dark);
}
.navbar-ishika .nav-link.active::after{
  content:"";
  position:absolute;
  left: 1rem; right:1rem; bottom: .15rem;
  height: 2px;
  background: var(--safety);
}
.nav-cta{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--ink);
  color:#fff !important;
  padding: .65rem 1.25rem;
  border-radius: var(--radius);
  margin-left: .5rem;
}
.nav-cta:hover{ background: var(--teal-dark); }

/* =========================================================
   HERO / CAROUSEL
   ========================================================= */
.hero-carousel{ position: relative; }
.hero-carousel .carousel-item{
  height: 88vh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.hero-carousel .carousel-item img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-carousel .carousel-item::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,15,18,.55) 0%, rgba(6,15,18,.35) 40%, rgba(6,15,18,.86) 100%);
}
.hero-caption{
  position:absolute; z-index:2; left:0; right:0; bottom: 0;
  padding-bottom: 6.5rem;
  color:#fff;
}
.hero-tag{
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--safety);
  display:flex; align-items:center; gap:.6rem;
  margin-bottom: 1rem;
}
.hero-tag::before{ content:""; width:34px; height:2px; background:var(--safety); }
.hero-caption h1{
  color:#fff;
  font-size: clamp(2.1rem, 5vw, 3.85rem);
  line-height: 1.08;
  max-width: 780px;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hero-caption p{
  color: #DCE9EB;
  max-width: 580px;
  font-size: 1.08rem;
  margin-top: 1rem;
}
.hero-carousel .carousel-indicators{ margin-bottom: 2.2rem; }
.hero-carousel .carousel-indicators [data-bs-target]{
  width: 34px; height: 3px; border-radius: 0;
  background-color: rgba(255,255,255,.45);
  border:0;
}
.hero-carousel .carousel-indicators .active{ background-color: var(--safety); }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next{ width: 5%; opacity:.7; }

/* Stat strip under hero */
.stat-strip{
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 3;
}
.stat-item{
  padding: 1.9rem 1rem;
  text-align:center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child{ border-right:0; }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--teal-dark);
  line-height:1;
}
.stat-label{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: .5rem;
}

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header{
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 7.5rem 0 4rem;
  color:#fff;
}
.page-header::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(120deg, rgba(6,25,29,.92) 0%, rgba(6,25,29,.72) 60%, rgba(0,169,188,.55) 100%);
}
.page-header .container{ position:relative; z-index:2; }
.page-header h1{ color:#fff; font-size: clamp(2rem,4vw,3rem); margin-bottom:.6rem; }
.breadcrumb-ish{
  font-family: var(--font-mono);
  font-size:.78rem;
  letter-spacing:.08em;
  text-transform: uppercase;
  color:#BFE3E7;
}
.breadcrumb-ish a{ color:#BFE3E7; }
.breadcrumb-ish a:hover{ color:var(--safety); }
.breadcrumb-ish .sep{ margin: 0 .5rem; opacity:.6; }

/* =========================================================
   SIGNATURE: HAZARD-CORNER TAG
   ========================================================= */
.hazard-tag{
  position:relative;
  overflow:hidden;
}
.hazard-tag::before{
  content:"";
  position:absolute;
  top:0; left:0;
  width: 46px; height: 46px;
  background:
    repeating-linear-gradient(45deg,
      var(--safety) 0 8px,
      var(--ink) 8px 16px);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* =========================================================
   STAMP BADGE (weld / flange certification motif)
   ========================================================= */
.stamp{
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 2px dashed var(--teal);
  display:flex; align-items:center; justify-content:center;
  flex-direction:column;
  font-family: var(--font-mono);
  color: var(--teal-dark);
  flex-shrink:0;
}
.stamp strong{ font-size:1.5rem; line-height:1; font-family: var(--font-display); }
.stamp span{ font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; margin-top:.15rem; }

/* =========================================================
   SERVICE CARDS
   ========================================================= */
.service-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem 1.75rem 1.9rem;
  height:100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}
.service-num{
  font-family: var(--font-mono);
  font-size:.76rem;
  color: var(--steel-light);
  letter-spacing:.08em;
}
.service-card h3{
  font-size: 1.12rem;
  margin: .6rem 0 .8rem;
  letter-spacing: 0;
}
.service-card p{
  color: var(--steel);
  font-size: .94rem;
  margin-bottom: 0;
}
.service-icon{
  width: 54px; height:54px;
  border-radius: 50%;
  background: var(--bg-alt);
  display:flex; align-items:center; justify-content:center;
  color: var(--teal-dark);
  margin-bottom: 1.1rem;
}
.service-icon svg{ width:26px; height:26px; }

/* Image + text feature rows */
.feature-media{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow-md);
}
.feature-media img{ width:100%; height:100%; object-fit:cover; display:block; }
.feature-media-frame{ position:relative; }
.feature-media-frame::before{
  content:"";
  position:absolute;
  top:-14px; left:-14px;
  width: 60%; height: 60%;
  border: 3px solid var(--safety);
  z-index:-1;
  border-radius: var(--radius);
}

.check-list{ list-style:none; padding:0; margin:0; }
.check-list li{
  display:flex; gap:.75rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--border);
  color: var(--ink);
}
.check-list li:last-child{ border-bottom:0; }
.check-list li::before{
  content:"";
  flex-shrink:0;
  width: 20px; height:20px;
  margin-top:.15rem;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =========================================================
   SAFETY BAND
   ========================================================= */
.safety-band{
  background: var(--ink);
  color:#EDEFF1;
  position:relative;
}
.safety-strip-top{
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--safety) 0 14px, var(--ink) 14px 28px);
}
.safety-band h2{ color:#fff; }
.safety-band .section-lead{ color:#B7C1C8; }
.ppe-pill{
  display:inline-flex; align-items:center; gap:.55rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  padding: .55rem 1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: #E5EAEC;
  margin: .3rem .4rem .3rem 0;
}
.ppe-pill .dot{ width:7px; height:7px; border-radius:50%; background: var(--safety); }

/* =========================================================
   TESTIMONIAL / CLIENT BAND
   ========================================================= */
.industries-band{
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
}
.industry-chip{
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  padding: .5rem 0;
}
.industry-chip strong{ color: var(--ink); display:block; font-family: var(--font-display); font-size:1rem; text-transform:none; letter-spacing:0; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  background: linear-gradient(115deg, var(--teal-deep) 0%, var(--teal-dark) 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.cta-band::after{
  content:"";
  position:absolute; right:-60px; top:-60px;
  width:260px; height:260px;
  border: 40px solid rgba(255,255,255,.06);
  border-radius:50%;
}
.cta-band h2{ color:#fff; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-filters{
  display:flex; flex-wrap:wrap; gap:.6rem;
  margin-bottom: 2.2rem;
}
.gallery-filters button{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  background:#fff;
  border: 1px solid var(--border);
  color: var(--steel);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  transition: all .2s ease;
}
.gallery-filters button.active,
.gallery-filters button:hover{
  background: var(--ink);
  border-color: var(--ink);
  color:#fff;
}
.gallery-item{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gallery-item img{
  width:100%; height: 290px; object-fit:cover;
  display:block;
  transition: transform .5s ease;
}
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-item .gallery-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,15,18,0) 45%, rgba(6,15,18,.85) 100%);
  display:flex; align-items:flex-end;
  padding: 1.1rem 1.2rem;
  opacity: 0; transition: opacity .3s ease;
}
.gallery-item:hover .gallery-overlay{ opacity:1; }
.gallery-overlay span{
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color:#fff;
}
.gallery-item.hide{ display:none; }

/* Lightbox */
.lightbox-modal .modal-content{
  background: transparent;
  border:0;
}
.lightbox-modal .modal-body{ padding:0; text-align:center; }
.lightbox-modal img{ max-width:100%; max-height:82vh; border-radius: var(--radius); }
.lightbox-modal .btn-close{ filter: invert(1); opacity:1; }

/* =========================================================
   CONTACT / ENQUIRY
   ========================================================= */
.contact-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  height:100%;
}
.contact-card .icon{
  width:48px; height:48px;
  border-radius:50%;
  background: var(--bg-alt);
  color: var(--teal-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 1rem;
}
.contact-card h3{ font-size:1.02rem; margin-bottom:.4rem; }
.contact-card p{ color:var(--steel); margin-bottom:0; font-size:.94rem; }
.contact-card a{ color: var(--ink); font-weight:600; }

.form-card{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow-sm);
}
.form-label{
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom:.4rem;
}
.form-control, .form-select{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: .7rem .9rem;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus{
  border-color: var(--teal);
  box-shadow: 0 0 0 .2rem rgba(0,169,188,.15);
}
.map-frame{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--border);
  filter: grayscale(.15);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: #B9C2C8;
  padding-top: 4rem;
}
.site-footer h5{
  color:#fff;
  font-size: .92rem;
  letter-spacing: .08em;
  margin-bottom: 1.2rem;
}
.site-footer .footer-logo{ height: 62px; margin-bottom:1rem; background:#fff; padding:.5rem .7rem; border-radius:4px; }
.site-footer p{ color:#93A0A7; font-size:.92rem; }
.site-footer a{ color:#B9C2C8; }
.site-footer a:hover{ color: var(--safety); }
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin-bottom:.6rem; font-size:.92rem; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding: 1.3rem 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing:.04em;
  color: #7C8890;
}
.social-row a{
  width:36px; height:36px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.16);
  display:inline-flex; align-items:center; justify-content:center;
  margin-right:.5rem;
}
.social-row a:hover{ background: var(--teal); border-color: var(--teal); color:#fff; }

/* =========================================================
   WHATSAPP FLOAT
   ========================================================= */
.whatsapp-float{
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float svg{ width:32px; height:32px; fill:#fff; }
.whatsapp-float:hover{ background:#1DA851; }
@keyframes wa-pulse{
  0%{ box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.55); }
  70%{ box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 16px rgba(37,211,102,0); }
  100%{ box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,0); }
}
@media (max-width: 575.98px){
  .whatsapp-float{ right:16px; bottom:16px; width:54px; height:54px; }
  .whatsapp-float svg{ width:28px; height:28px; }
}

/* =========================================================
   MISC / UTIL
   ========================================================= */
/* Reveal-on-scroll: safe by default (fully visible). JS opts elements into the
   hidden starting state only once it has confirmed it is running, so a page
   with JS disabled (or a crawler / non-standard renderer) always shows full content. */
.reveal{ opacity:1; }
.reveal.will-animate{ opacity:0; transform: translateY(24px); }
.reveal.in{ animation: revealIn .7s ease forwards; }
@keyframes revealIn{
  from{ opacity:0; transform: translateY(24px); }
  to{ opacity:1; transform:none; }
}
@media (prefers-reduced-motion: reduce){
  .reveal.will-animate{ opacity:1; transform:none; }
  .reveal.in{ animation:none; }
}

.back-to-top{
  position: fixed; right:24px; bottom:96px; z-index:1040;
  width:44px; height:44px; border-radius:50%;
  background:#fff; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-sm);
  opacity:0; pointer-events:none; transition: all .3s ease;
}
.back-to-top.show{ opacity:1; pointer-events:auto; }

::selection{ background: var(--teal); color:#fff; }

.divider-plate{
  display:flex; align-items:center; gap:1rem;
  color: var(--steel-light);
  font-family: var(--font-mono);
  font-size:.72rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin: 2.5rem 0;
}
.divider-plate::before, .divider-plate::after{
  content:""; flex:1; height:1px; background: var(--border);
}
