/* ==========================================================
   GConnect India — Industrial Automation & Electrical Solutions
   ========================================================== */

:root {
  --navy: #0a1a33;
  --navy-2: #102a52;
  --blue: #1662d6;
  --blue-light: #e8f0fd;
  --orange: #f7931e;
  --orange-dark: #e07b00;
  --text: #4a5568;
  --heading: #0a1a33;
  --muted: #8592a6;
  --bg-soft: #f5f8fc;
  --border: #e3e9f2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 51, .08);
  --shadow-lg: 0 20px 50px rgba(10, 26, 51, .14);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--heading); font-weight: 700; line-height: 1.25; }
a { text-decoration: none; transition: .3s; }
img { max-width: 100%; }

.section { padding: 90px 0; }
.bg-soft { background: var(--bg-soft); }
.text-orange { color: var(--orange) !important; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50px; padding: 12px 28px; transition: .3s; }
.btn-brand { background: var(--orange); color: #fff; border: 2px solid var(--orange); }
.btn-brand:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(247, 147, 30, .35); }
.btn-outline-light-brand { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-outline-light-brand:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Section title ---------- */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 12px;
}
.section-tag::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.section-head { max-width: 680px; margin: 0 auto 55px; text-align: center; }
.section-head .section-tag::after { content: ""; width: 28px; height: 2px; background: var(--orange); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c5d0e0; font-size: 14px; padding: 9px 0; }
.topbar a { color: #c5d0e0; }
.topbar a:hover { color: var(--orange); }
.topbar i { color: var(--orange); margin-right: 6px; }
.topbar .social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); margin-left: 6px; }
.topbar .social a i { color: #fff; margin: 0; font-size: 13px; }
.topbar .social a:hover { background: var(--orange); }

/* ---------- Navbar ---------- */
.navbar-main { background: #fff; padding: 14px 0; box-shadow: 0 2px 20px rgba(10,26,51,.06); transition: .3s; z-index: 1030; }
.navbar-main.scrolled { padding: 8px 0; box-shadow: 0 6px 25px rgba(10,26,51,.12); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  position: relative; overflow: hidden;
}
.brand-mark::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 20px; height: 20px; background: var(--orange); border-radius: 50%; }
.brand-text { line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 21px; color: var(--navy); display: block; letter-spacing: -.3px; }
.brand-text strong span { color: var(--orange); }
.brand-text small { font-size: 10.5px; color: var(--muted); letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; }
.navbar-main .nav-link { font-family: var(--font-head); font-weight: 500; color: var(--heading); padding: 8px 16px !important; position: relative; }
.navbar-main .nav-link::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px; background: var(--orange); transform: scaleX(0); transition: .3s; }
.navbar-main .nav-link:hover, .navbar-main .nav-link.active { color: var(--orange); }
.navbar-main .nav-link.active::after, .navbar-main .nav-link:hover::after { transform: scaleX(1); }
.navbar-toggler { border: none; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { font-size: 30px; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(22, 98, 214, .55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(247, 147, 30, .18), transparent 40%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 110px 0 130px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero .container { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 7px 16px; border-radius: 50px; font-size: 14px; margin-bottom: 24px; backdrop-filter: blur(6px); }
.hero-badge .dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 22px; }
.hero h1 .hl { color: var(--orange); position: relative; }
.hero p.lead { color: #c9d5e8; font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-points li { color: #dbe4f3; font-size: 15px; }
.hero-points i { color: var(--orange); margin-right: 6px; }

/* Hero visual — control panel illustration */
.hero-visual { position: relative; max-width: 470px; margin-left: auto; }
.panel-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 26px; backdrop-filter: blur(10px); box-shadow: 0 30px 60px rgba(0,0,0,.3); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.panel-head span { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.panel-head .leds i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-left: 5px; }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.panel-tile { background: rgba(255,255,255,.06); border-radius: 14px; padding: 16px 8px; text-align: center; border: 1px solid rgba(255,255,255,.08); transition: .3s; }
.panel-tile:hover { background: rgba(247,147,30,.18); transform: translateY(-3px); }
.panel-tile i { font-size: 26px; color: var(--orange); display: block; margin-bottom: 6px; }
.panel-tile small { font-size: 12.5px; color: #dbe4f3; font-weight: 600; }
.panel-bar { margin-top: 20px; background: rgba(255,255,255,.06); border-radius: 12px; padding: 14px 16px; }
.panel-bar .row-l { display: flex; justify-content: space-between; font-size: 13px; color: #c9d5e8; margin-bottom: 6px; }
.panel-bar .track { height: 7px; background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.panel-bar .track:last-child { margin-bottom: 0; }
.panel-bar .fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--orange), #ffc46b); animation: grow 2s ease forwards; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.float-chip { position: absolute; z-index: 3; background: #fff; color: var(--navy); border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; animation: floaty 4s ease-in-out infinite; }
.float-chip i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 18px; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.chip-1 { top: -22px; left: -40px; }
.chip-1 i { background: #22c55e; }
.chip-2 { bottom: -26px; right: -20px; animation-delay: 1.5s; }
.chip-2 i { background: var(--blue); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Feature strip ---------- */
.feature-strip { margin-top: -65px; position: relative; z-index: 5; }
.feature-box { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: flex-start; height: 100%; border-bottom: 3px solid transparent; transition: .3s; }
.feature-box:hover { border-bottom-color: var(--orange); transform: translateY(-5px); }
.feature-box .ic { flex: 0 0 54px; height: 54px; border-radius: 12px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-size: 24px; transition: .3s; }
.feature-box:hover .ic { background: var(--orange); color: #fff; }
.feature-box h5 { font-size: 17px; margin-bottom: 6px; }
.feature-box p { font-size: 14.5px; margin: 0; }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 0 30px 30px 0; }
.about-main {
  border-radius: 20px; min-height: 420px; padding: 36px 36px 100px; color: #fff;
  background:
    linear-gradient(160deg, rgba(10,26,51,.2), rgba(10,26,51,.95)),
    repeating-linear-gradient(45deg, var(--navy-2) 0 14px, var(--navy) 14px 28px);
  display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden;
}
.about-main .big-ic { position: absolute; top: 30px; right: 30px; font-size: 120px; color: rgba(255,255,255,.08); line-height: 1; }
.about-main h4 { color: #fff; font-size: 24px; }
.about-main p { color: #c9d5e8; margin: 0; }
.about-exp { position: absolute; right: 0; bottom: 0; background: var(--orange); color: #fff; border-radius: 18px; padding: 24px 26px; box-shadow: 0 15px 35px rgba(247,147,30,.4); text-align: center; }
.about-exp strong { font-family: var(--font-head); font-size: 38px; display: block; line-height: 1; }
.about-exp span { font-size: 13px; font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li { padding: 7px 0 7px 34px; position: relative; color: var(--heading); font-weight: 500; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; background: var(--blue-light); color: var(--blue); border-radius: 50%; display: grid; place-items: center; font-size: 15px; }

/* ---------- Product cards ---------- */
.product-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 26px; height: 100%; position: relative; overflow: hidden; transition: .35s; }
.product-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--orange)); transform: scaleX(0); transform-origin: left; transition: .4s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { transform: scaleX(1); }
.product-card .ic { width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(135deg, var(--blue-light), #fff); border: 1px solid var(--border); display: grid; place-items: center; font-size: 28px; color: var(--blue); margin-bottom: 22px; transition: .35s; }
.product-card:hover .ic { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.product-card h4 { font-size: 19px; margin-bottom: 10px; }
.product-card p { font-size: 15px; margin-bottom: 16px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-card .tags span { font-size: 12px; background: var(--bg-soft); color: var(--navy-2); padding: 4px 10px; border-radius: 20px; font-weight: 500; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--orange); }
.card-link i { transition: .3s; }
.card-link:hover { color: var(--orange-dark); }
.card-link:hover i { margin-left: 5px; }

/* ---------- Services ---------- */
.service-card { background: #fff; border-radius: var(--radius); padding: 34px 28px; height: 100%; box-shadow: var(--shadow); position: relative; transition: .35s; overflow: hidden; }
.service-card .num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 46px; font-weight: 800; color: var(--bg-soft); line-height: 1; transition: .35s; }
.service-card .ic { width: 60px; height: 60px; border-radius: 50%; background: rgba(247,147,30,.12); color: var(--orange); display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; position: relative; z-index: 1; transition: .35s; }
.service-card h4 { font-size: 19px; position: relative; z-index: 1; transition: .35s; }
.service-card p { font-size: 15px; margin: 0; position: relative; z-index: 1; transition: .35s; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--navy-2)); opacity: 0; transition: .35s; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover::after { opacity: 1; }
.service-card:hover h4 { color: #fff; }
.service-card:hover p { color: #c9d5e8; }
.service-card:hover .ic { background: var(--orange); color: #fff; }
.service-card:hover .num { color: rgba(255,255,255,.07); }
.service-card .num { position: absolute; z-index: 1; }

/* ---------- Stats / counters ---------- */
.stats { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); right: -120px; top: -150px; }
.stat-item { text-align: center; }
.stat-item i { font-size: 34px; color: var(--orange); }
.stat-item strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 8px 0 2px; }
.stat-item span { color: #c9d5e8; font-size: 15px; }

/* ---------- Why choose ---------- */
.why-item { display: flex; gap: 18px; margin-bottom: 28px; }
.why-item .ic { flex: 0 0 56px; height: 56px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); color: var(--orange); display: grid; place-items: center; font-size: 24px; }
.why-item h5 { font-size: 18px; margin-bottom: 4px; }
.why-item p { margin: 0; font-size: 15px; }
.why-panel { background: var(--navy); border-radius: 20px; padding: 44px 38px; color: #c9d5e8; position: relative; overflow: hidden; }
.why-panel::after { content: "\F4C9"; font-family: "bootstrap-icons"; position: absolute; right: -20px; bottom: -40px; font-size: 200px; color: rgba(255,255,255,.04); }
.why-panel h3 { color: #fff; }
.why-panel .contact-line { display: flex; align-items: center; gap: 14px; margin-top: 18px; color: #fff; }
.why-panel .contact-line i { width: 46px; height: 46px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 19px; }
.why-panel .contact-line small { display: block; color: #9fb0c9; font-size: 13px; }
.why-panel .contact-line a { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 18px; }

/* ---------- Industries ---------- */
.industry { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 14px; text-align: center; height: 100%; transition: .3s; }
.industry i { font-size: 34px; color: var(--blue); display: block; margin-bottom: 10px; transition: .3s; }
.industry h6 { margin: 0; font-size: 15px; font-weight: 600; }
.industry:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-4px); }
.industry:hover i { color: var(--orange); }

/* ---------- Process ---------- */
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-step .circle { width: 86px; height: 86px; margin: 0 auto 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 32px; color: var(--blue); position: relative; z-index: 2; transition: .3s; }
.process-step .circle b { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 13px; display: grid; place-items: center; font-family: var(--font-head); }
.process-step:hover .circle { background: var(--blue); color: #fff; }
.process-step h5 { font-size: 18px; }
.process-step p { font-size: 15px; }
@media (min-width: 992px) {
  .process-step:not(:last-child)::after { content: ""; position: absolute; top: 43px; left: calc(50% + 50px); width: calc(100% - 100px); border-top: 2px dashed #c6d3e6; }
}

/* ---------- Projects ---------- */
.project-card { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 280px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.project-card .bg { position: absolute; inset: 0; transition: .6s; }
.project-card:hover .bg { transform: scale(1.08); }
.project-card .bg i { position: absolute; top: 28px; right: 28px; font-size: 90px; color: rgba(255,255,255,.12); }
.pc-1 .bg { background: linear-gradient(135deg, #1662d6, #0a1a33); }
.pc-2 .bg { background: linear-gradient(135deg, #f7931e, #b4520a); }
.pc-3 .bg { background: linear-gradient(135deg, #0f766e, #0a1a33); }
.pc-4 .bg { background: linear-gradient(135deg, #4338ca, #102a52); }
.pc-5 .bg { background: linear-gradient(135deg, #102a52, #1662d6); }
.pc-6 .bg { background: linear-gradient(135deg, #be123c, #0a1a33); }
.project-card .info { position: relative; z-index: 2; padding: 26px; width: 100%; background: linear-gradient(to top, rgba(0,0,0,.5), transparent); }
.project-card .info span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 20px; font-weight: 600; }
.project-card .info h4 { color: #fff; font-size: 20px; margin: 12px 0 6px; }
.project-card .info p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.85); }
.filter-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btns button { border: 1px solid var(--border); background: #fff; color: var(--heading); border-radius: 50px; padding: 8px 22px; font-family: var(--font-head); font-weight: 500; font-size: 14px; transition: .3s; }
.filter-btns button.active, .filter-btns button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--orange) 0%, #ff7a00 100%); border-radius: 24px; padding: 54px 50px; color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.1); right: -80px; top: -120px; }
.cta::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.08); left: 30%; bottom: -110px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { color: rgba(255,255,255,.92); margin: 0; }
.cta .btn-light { color: var(--navy); }
.cta .btn-light:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  color: #fff; padding: 90px 0 80px; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(22,98,214,.5), transparent 45%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
}
.page-header::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.page-header .container { position: relative; }
.page-header h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.page-header p { color: #c9d5e8; max-width: 620px; margin: 10px auto 18px; }
.page-header .breadcrumb { justify-content: center; margin: 0; }
.page-header .breadcrumb a { color: var(--orange); }
.page-header .breadcrumb-item.active { color: #c9d5e8; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #6f84a6; }

/* ---------- Mission / values ---------- */
.mv-card { background: #fff; border-radius: var(--radius); padding: 36px 30px; height: 100%; box-shadow: var(--shadow); border-top: 4px solid var(--blue); }
.mv-card.alt { border-top-color: var(--orange); }
.mv-card i { font-size: 38px; color: var(--blue); }
.mv-card.alt i { color: var(--orange); }
.mv-card h4 { margin: 16px 0 10px; }

/* ---------- Product detail rows ---------- */
.prod-detail { background: #fff; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 30px; }
.prod-detail .visual { background: linear-gradient(135deg, var(--blue), var(--navy)); min-height: 100%; display: grid; place-items: center; padding: 40px; color: #fff; text-align: center; }
.prod-detail .visual i { font-size: 80px; color: var(--orange); display: block; }
.prod-detail .visual h3 { color: #fff; margin-top: 10px; font-size: 26px; }
.prod-detail .content { padding: 40px 38px; }
.prod-detail .content h3 { font-size: 24px; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.feature-list li { font-size: 15px; padding-left: 24px; position: relative; color: var(--heading); }
.feature-list li::before { content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--orange); font-size: 14px; top: 2px; }
.mini-prod { background: #fff; border-radius: var(--radius); padding: 26px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow); height: 100%; transition: .3s; }
.mini-prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mini-prod .ic { flex: 0 0 56px; height: 56px; border-radius: 14px; background: rgba(247,147,30,.12); color: var(--orange); display: grid; place-items: center; font-size: 25px; }
.mini-prod h5 { font-size: 17px; margin-bottom: 4px; }
.mini-prod p { margin: 0; font-size: 14.5px; }

/* ---------- Contact ---------- */
.contact-info-card { background: #fff; border-radius: var(--radius); padding: 30px 26px; text-align: center; box-shadow: var(--shadow); height: 100%; transition: .3s; }
.contact-info-card:hover { transform: translateY(-5px); }
.contact-info-card .ic { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; display: grid; place-items: center; font-size: 26px; }
.contact-info-card h5 { font-size: 18px; }
.contact-info-card p, .contact-info-card a { margin: 0; color: var(--text); word-break: break-word; }
.contact-info-card a:hover { color: var(--orange); }
.form-wrap { background: #fff; border-radius: 20px; padding: 42px 38px; box-shadow: var(--shadow-lg); }
.form-control, .form-select { border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px; background: var(--bg-soft); font-size: 15px; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(22,98,214,.12); background: #fff; }
.form-label { font-weight: 600; color: var(--heading); font-size: 14px; }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); height: 56%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.accordion-item { border: 1px solid var(--border); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--heading); padding: 18px 22px; }
.accordion-button:not(.collapsed) { background: var(--blue-light); color: var(--blue); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #9fb0c9; padding: 80px 0 0; font-size: 15px; }
.footer h5 { color: #fff; font-size: 18px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--orange); }
.footer .brand-text strong { color: #fff; }
.footer .brand-text small { color: #9fb0c9; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #9fb0c9; }
.footer ul a:hover { color: var(--orange); padding-left: 4px; }
.footer .f-contact li { display: flex; gap: 12px; }
.footer .f-contact i { color: var(--orange); font-size: 17px; margin-top: 2px; }
.footer .f-contact a { color: #9fb0c9; }
.footer .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; margin-right: 8px; }
.footer .social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 22px 0; font-size: 14px; }
.footer-bottom a { color: var(--orange); }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px; box-shadow: 0 10px 25px rgba(37,211,102,.45); z-index: 999; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse 2s infinite; z-index: -1; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.back-top { position: fixed; right: 30px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: .3s; z-index: 999; border: none; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--orange); }

/* Mobile bottom call bar */
.mobile-cta { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 991.98px) {
  .section { padding: 70px 0; }
  .navbar-collapse { background: #fff; margin-top: 12px; border-top: 1px solid var(--border); padding: 10px 0 16px; }
  .navbar-main .nav-link { padding: 12px 4px !important; border-bottom: 1px solid var(--border); }
  .navbar-main .nav-link::after { display: none; }
  .hero { padding: 80px 0 120px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-points { justify-content: center; }
  .hero .btn-group-hero { justify-content: center; }
  .hero-visual { margin: 60px auto 0; }
  .about-visual { margin-bottom: 40px; }
  .why-panel { margin-top: 20px; }
  .cta { text-align: center; padding: 44px 30px; }
}

@media (max-width: 767.98px) {
  body { font-size: 15px; padding-bottom: 62px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .brand-mark { width: 40px; height: 40px; font-size: 19px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 9px; }
  .hero { padding: 60px 0 110px; }
  .hero p.lead { font-size: 1.02rem; }
  .hero .btn { width: 100%; }
  .chip-1 { left: -6px; top: -26px; }
  .chip-2 { right: -6px; }
  .panel-card { padding: 20px; }
  .panel-tile { padding: 14px 4px; }
  .about-main { min-height: 340px; padding: 26px 26px 90px; }
  .about-visual { padding: 0 14px 30px 0; }
  .about-exp { padding: 18px 20px; }
  .about-exp strong { font-size: 30px; }
  .feature-list { grid-template-columns: 1fr; }
  .prod-detail .content { padding: 30px 24px; }
  .prod-detail .visual { padding: 30px; }
  .prod-detail .visual i { font-size: 60px; }
  .form-wrap { padding: 30px 22px; }
  .why-panel { padding: 34px 26px; }
  .footer { padding-top: 60px; }
  .page-header { padding: 70px 0 60px; }

  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: #fff; box-shadow: 0 -4px 20px rgba(10,26,51,.12); }
  .mobile-cta a { flex: 1; text-align: center; padding: 12px 6px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); display: flex; align-items: center; justify-content: center; gap: 6px; }
  .mobile-cta a + a { border-left: 1px solid var(--border); }
  .mobile-cta a.primary { background: var(--orange); color: #fff; }
  .mobile-cta a i { font-size: 18px; }
  .wa-float { bottom: 78px; right: 16px; width: 52px; height: 52px; font-size: 26px; }
  .back-top { bottom: 142px; right: 21px; }
}

@media (max-width: 575.98px) {
  .contact-info-card { padding: 22px 12px; }
  .contact-info-card .ic { width: 52px; height: 52px; font-size: 21px; }
  .contact-info-card h5 { font-size: 15px; }
  .contact-info-card a, .contact-info-card p { font-size: 13px; }
}

/* ---------- Logo ---------- */
.navbar-main .logo { height: 54px; width: auto; display: block; transition: .3s; }
.navbar-main.scrolled .logo { height: 46px; }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 14px; }
.footer-logo img { height: 50px; width: auto; display: block; }
@media (max-width: 767.98px) {
  .navbar-main .logo, .navbar-main.scrolled .logo { height: 42px; }
}

/* ---------- Photo cards ---------- */
.about-main.has-photo { background-size: cover; background-position: center; }
a.project-card { display: block; min-height: 0; aspect-ratio: 4 / 4.4; color: #fff; }
a.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .6s; }
a.project-card:hover img { transform: scale(1.06); }
a.project-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 24px 22px; background: linear-gradient(to top, rgba(10,26,51,.95), rgba(10,26,51,.6) 55%, transparent); }
a.project-card .info span { background: var(--orange); }
a.project-card .zoom { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: .3s; z-index: 2; }
a.project-card:hover .zoom { opacity: 1; transform: none; }
.project-more { height: 100%; min-height: 300px; border-radius: var(--radius); border: 2px dashed #c6d3e6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: var(--bg-soft); }
.project-more i { font-size: 48px; color: var(--orange); }
.project-more h4 { margin: 14px 0 6px; }
.service-banner { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.service-banner img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.modal-backdrop.show { opacity: .85; }

.btn-whatsapp { background: #25d366; color: #fff; border: 2px solid #25d366; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }


/* Enquiry popup container */
#enquiryPopup {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
    top: auto !important;
    z-index: 100000 !important;
    width: 390px !important;
    max-width: calc(100vw - 30px) !important;
    max-height: min(600px, calc(100vh - 48px)) !important;
    display: flex;
    flex-direction: column;
    background: #fff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 35px rgba(0,0,0,.22) !important;
    overflow: hidden !important;
    font-family: Inter, Arial, sans-serif !important;
    color: #263548 !important;
    text-align: left !important;
}

#enquiryPopup[hidden] {
    display: none !important;
}

/* Popup header */
#enquiryPopup .enquiry-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0;
    padding: 16px !important;
    background: #102744 !important;
    color: #fff !important;
}

#enquiryPopup .enquiry-header-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.13);
    border-radius: 50%;
    font-size: 21px;
}

#enquiryPopup .enquiry-header-text {
    flex: 1;
    min-width: 0;
}

#enquiryPopup .enquiry-header-text strong {
    display: block;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1.4;
}

#enquiryPopup .enquiry-header-text small {
    display: block;
    margin-top: 4px;
    color: #dce7f3 !important;
    font-size: 12px !important;
}

#enquiryPopup .online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    background: #36cc80;
    border-radius: 50%;
}

#enquiryPopup .enquiry-close {
    width: 32px !important;
    height: 32px !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 23px !important;
    line-height: 1 !important;
    cursor: pointer;
}

/* Scrollable content */
#enquiryPopup .enquiry-body {
    width: 100%;
    box-sizing: border-box;
    padding: 16px !important;
    overflow-y: auto !important;
    min-height: 0;
    max-height: calc(100vh - 150px);
    background: #fff !important;
}

/* Welcome message */
#enquiryPopup .enquiry-welcome {
    padding: 12px !important;
    margin: 0 0 14px !important;
    background: #f2f6fa !important;
    border: 1px solid #e7edf4;
    border-radius: 9px;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

#enquiryPopup .enquiry-welcome strong {
    display: block;
    margin-bottom: 5px;
    color: #173b59 !important;
    font-size: 13px !important;
}

#enquiryPopup .enquiry-welcome p {
    margin: 0 !important;
    color: #596779 !important;
    font-size: 12px !important;
}

/* Two-column form */
#enquiryPopup .enquiry-fields {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 11px 12px !important;
}

#enquiryPopup .enquiry-fields > div {
    min-width: 0;
}

#enquiryPopup .enquiry-fields .enquiry-full {
    grid-column: 1 / -1 !important;
}

#enquiryPopup .enquiry-fields label {
    display: block !important;
    margin: 0 0 5px !important;
    color: #374151 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* Input fields */
#enquiryPopup .form-control,
#enquiryPopup .form-select {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 39px !important;
    height: auto !important;
    box-sizing: border-box !important;
    padding: 9px 10px !important;
    margin: 0 !important;
    background-color: #f7f9fc !important;
    color: #263548 !important;
    border: 1px solid #dce4ee !important;
    border-radius: 7px !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
}

#enquiryPopup textarea.form-control {
    min-height: 70px !important;
    resize: vertical;
}

#enquiryPopup .form-control:focus,
#enquiryPopup .form-select:focus {
    background: #fff !important;
    border-color: #ed762c !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(237,118,44,.12) !important;
}

/* Action buttons */
#enquiryPopup .enquiry-submit,
#enquiryPopup .enquiry-whatsapp {
    display: flex !important;
    width: 100% !important;
    min-height: 41px !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    margin: 11px 0 0 !important;
    border: none !important;
    border-radius: 7px !important;
    color: #fff !important;
    font-family: Inter, Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

#enquiryPopup .enquiry-submit {
    background: #ed762c !important;
}

#enquiryPopup .enquiry-submit:hover {
    background: #d95f19 !important;
}

#enquiryPopup .enquiry-whatsapp {
    margin-top: 8px !important;
    background: #198754 !important;
}

#enquiryPopup .enquiry-whatsapp:hover {
    background: #146c43 !important;
}

/* Hide the spam-prevention field */
#enquiryPopup .enquiry-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Mobile screens */
@media (max-width: 480px) {
    #enquiryPopup {
        right: 10px !important;
        bottom: 10px !important;
        width: calc(100vw - 20px) !important;
        max-width: none !important;
        max-height: calc(100vh - 20px) !important;
    }

    #enquiryPopup .enquiry-body {
        max-height: calc(100vh - 100px);
    }
}
