/* assets/css/style.css
   BIMPro.in — Light Theme + Modern Graphics
   Works with index.html structure used in this project
*/

:root{
  --bg: #f6f8fc;
  --surface: rgba(255,255,255,.82);
  --surface-strong: #ffffff;
  --text: #0b1220;
  --muted: rgba(11,18,32,.68);
  --line: rgba(11,18,32,.10);
  --line-strong: rgba(11,18,32,.16);

  /* Brand gradient (modern grafix) */
  --g1: #8b5cf6;  /* violet */
  --g2: #06b6d4;  /* cyan */
  --g3: #22c55e;  /* green */

  --shadow: 0 14px 40px rgba(11,18,32,.10);
  --shadow-soft: 0 10px 26px rgba(11,18,32,.08);

  --radius: 18px;
  --radius-lg: 22px;

  --container: 1140px;

  --btn: rgba(11,18,32,.88);
  --btnText: #fff;

  --focus: rgba(6,182,212,.32);
}

*{ box-sizing:border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1100px 520px at 8% -10%, rgba(139,92,246,.20), transparent 55%),
    radial-gradient(900px 540px at 92% 8%, rgba(6,182,212,.18), transparent 55%),
    radial-gradient(900px 540px at 50% 120%, rgba(34,197,94,.12), transparent 60%),
    var(--bg);
  color: rgba(11,18,32,.88);
}

/* Links */
a{ color: rgba(11,18,32,.86); text-decoration: none; }
a:hover{ text-decoration: underline; }

/* Container */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Section spacing */
section{ padding: 52px 0; }
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.section-head p{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
  max-width: 86ch;
}

/* Navbar */
.nav{
  position: sticky;
  top:0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(246,248,252,.74);
  border-bottom: 1px solid var(--line);
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 240px;
}
.brand-logo{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  padding: 6px;
  object-fit: contain;
  box-shadow: var(--shadow-soft);
}
.brand-text span{
  display:block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 750;
}

/* Desktop menu */
.menu{
  display:flex;
  gap: 16px;
  align-items:center;
  flex-wrap: wrap;
}
.menu a{
  font-size: 13px;
  font-weight: 850;
  color: rgba(11,18,32,.72);
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration: none;
}
.menu a:hover{
  text-decoration: none;
  background: rgba(255,255,255,.80);
  border: 1px solid var(--line);
  padding: 9px 9px;
}

/* CTA + Buttons */
.cta{
  display:flex;
  align-items:center;
  gap: 10px;
}
.btn{
  appearance:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  color: rgba(11,18,32,.85);
  font-weight: 900;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none;
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  text-decoration:none;
  border-color: var(--line-strong);
}
.btn:active{ transform: translateY(0); }

.btn.primary{
  color: var(--btnText);
  border: 0;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 16px 34px rgba(139,92,246,.18), 0 14px 28px rgba(6,182,212,.12);
}
.btn.primary:hover{
  box-shadow: 0 20px 44px rgba(139,92,246,.22), 0 18px 32px rgba(6,182,212,.16);
}

/* Hamburger */
.hamburger{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  cursor: pointer;
  display:none;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.hamburger span,
.hamburger span::before,
.hamburger span::after{
  display:block;
  position:absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: rgba(11,18,32,.78);
  border-radius: 2px;
  content:"";
}
.hamburger span{ top: 20px; }
.hamburger span::before{ top: -7px; }
.hamburger span::after{ top: 7px; }

/* Mobile menu */
.mobile{
  display:none;
  padding: 10px 0 14px;
  border-top: 1px solid var(--line);
}
.mobile a{
  display:block;
  padding: 12px 12px;
  font-weight: 900;
  font-size: 13px;
  border-radius: 14px;
  color: rgba(11,18,32,.78);
}
.mobile a:hover{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  padding: 11px 11px;
  text-decoration:none;
}

/* Hero */
.hero{ padding: 38px 0 18px; }
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: stretch;
}
.hero-card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.hero-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(420px 220px at 18% 10%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(380px 240px at 92% 12%, rgba(6,182,212,.16), transparent 60%),
    radial-gradient(460px 260px at 55% 110%, rgba(34,197,94,.12), transparent 65%);
  pointer-events:none;
}
.hero-content{
  position: relative;
  padding: 22px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 950;
  font-size: 12px;
  color: rgba(11,18,32,.72);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 999px;
}
.badge .dot{
  width: 9px; height: 9px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 0 0 6px rgba(6,182,212,.12);
}
.hero p{
  margin: 10px 0 0;
  color: rgba(11,18,32,.74);
  font-weight: 750;
  line-height: 1.7;
  max-width: 80ch;
}
.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* Metrics */
.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.metric{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.80);
  border-radius: 16px;
  padding: 12px;
}
.metric strong{
  display:block;
  font-weight: 950;
  color: rgba(11,18,32,.84);
  font-size: 13px;
}
.metric span{
  display:block;
  margin-top: 2px;
  font-weight: 800;
  color: var(--muted);
  font-size: 12px;
}

/* Hero visual + slider container */
.hero-visual{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display:flex;
  flex-direction: column;
}
.visual-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.86);
}
.pills{ display:flex; gap: 6px; }
.pill{
  width: 10px; height: 10px;
  border-radius: 99px;
  background: rgba(11,18,32,.16);
}
.visual-body{
  padding: 12px;
  height: 100%;
}

/* Slider */
.hero-slider{
  position: relative;
  height: 360px; /* keep size stable */
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 240px at 25% 10%, rgba(139,92,246,.18), transparent 60%),
    radial-gradient(420px 240px at 85% 10%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(540px 320px at 50% 110%, rgba(34,197,94,.10), transparent 70%),
    rgba(255,255,255,.65);
  box-shadow: var(--shadow-soft);
}
.hero-slider .slides{
  position:absolute;
  inset:0;
}
.hero-slider .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .55s ease;
}
.hero-slider .slide.active{
  opacity: 1;
  transform: scale(1);
}

/* Slider nav */
.hero-slider .nav{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display:grid;
  place-items:center;
  font-size: 18px;
  font-weight: 950;
  color: rgba(11,18,32,.78);
  user-select:none;
}
.hero-slider .nav:hover{ box-shadow: var(--shadow); }
.hero-slider .nav.prev{ left: 12px; }
.hero-slider .nav.next{ right: 12px; }

/* Slider dots */
.hero-slider .dots{
  position:absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display:flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-soft);
}
.hero-slider .dots .dot{
  width: 10px; height: 10px;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  background: rgba(11,18,32,.22);
}
.hero-slider .dots .dot.active{
  background: linear-gradient(135deg, var(--g1), var(--g2));
}

/* Chips / keywords */
.trust{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: rgba(11,18,32,.72);
  box-shadow: var(--shadow-soft);
}

/* Cards & grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 12px;
}
.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 12px;
}

.card{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  position: relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(260px 160px at 12% 8%, rgba(139,92,246,.10), transparent 62%),
    radial-gradient(280px 170px at 90% 10%, rgba(6,182,212,.10), transparent 62%);
  pointer-events:none;
  opacity: .9;
}
.card > *{ position: relative; }

.card h3{
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: -.2px;
  color: rgba(11,18,32,.84);
  font-weight: 950;
}
.card p{
  margin: 0;
  color: rgba(11,18,32,.74);
  font-weight: 750;
  line-height: 1.7;
  font-size: 13px;
}

/* UL list used in case studies */
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(11,18,32,.74);
  font-weight: 750;
  line-height: 1.7;
  font-size: 13px;
}
.list li{ margin: 6px 0; }

/* Form */
.form{ margin-top: 10px; display:grid; gap: 10px; }
.input{
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  border-radius: 14px;
  padding: 12px 12px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(11,18,32,.82);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
textarea.input{ min-height: 140px; resize: vertical; }
.input:focus{
  border-color: rgba(6,182,212,.45);
  box-shadow: 0 0 0 5px var(--focus);
}
select.input{ appearance: none; }

/* Contact layout */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 12px;
}

/* Group logos row */
.group-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.logo-link{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  border-radius: 16px;
  padding: 10px 12px;
  text-decoration:none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.logo-link:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
  text-decoration:none;
}
.logo-link img{
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  padding: 6px;
}
.logo-link span{
  font-weight: 950;
  color: rgba(11,18,32,.82);
  display:block;
  line-height: 1.15;
}
.logo-link small{
  display:block;
  margin-top: 2px;
  font-weight: 850;
  color: var(--muted);
  font-size: 11px;
}

/* Footer */
footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.62);
  padding: 24px 0;
}
.footer-grid{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-logos{
  display:flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.footer-logos img{
  height: 34px;
  width: auto;
  padding: 6px 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  object-fit: contain;
}
.footer-logos img.bimpro{ height: 36px; }
.footer-logos img.sub{ height: 34px; }

.mini-links{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.mini-links a{
  font-weight: 900;
  color: rgba(11,18,32,.72);
  padding: 10px 10px;
  border-radius: 12px;
  text-decoration:none;
}
.mini-links a:hover{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  padding: 9px 9px;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-slider{ height: 340px; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .menu{ display:none; }
  .hamburger{ display:inline-block; }
  .brand{ min-width: auto; }
}
@media (max-width: 520px){
  .hero-content{ padding: 16px; }
  .hero-metrics{ grid-template-columns: 1fr; }
  section{ padding: 44px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .btn, .hero-slider .slide{ transition: none !important; }
}

/* Selection */
::selection{
  background: rgba(6,182,212,.22);
}
