/* ==========================================================
   Arihant Computer House – stylesheet
   Colours: blue buttons, black text, orange accents, white bg
   ========================================================== */
:root {
  --blue: #1b4fc4;
  --blue-light: #3a7bec;
  --blue-soft: #eef3fc;
  --orange: #f27a1a;
  --orange-light: #f99b3d;
  --ink: #12151c;
  --text: #1c2029;
  --muted: #646b7a;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --border: #e3e8f0;
  --whatsapp: #25b863;
  --radius: 16px;
  --shadow-card: 0 1px 2px rgba(20, 30, 50, .06), 0 8px 24px -12px rgba(20, 40, 90, .18);
  --shadow-blue: 0 18px 40px -18px rgba(27, 79, 196, .55);
  --gradient-blue: linear-gradient(135deg, var(--blue), var(--blue-light));
  --gradient-orange: linear-gradient(135deg, var(--orange), var(--orange-light));
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -0.02em; margin: 0; line-height: 1.15; color: var(--text); }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 80px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.icon { width: 18px; height: 18px; flex-shrink: 0; }
.icon-lg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; font-weight: 700; font-size: 14px; border: 0; white-space: nowrap; transition: transform .2s, filter .2s, background .2s; }
.btn-blue { background: var(--gradient-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-glass { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-lg { height: 44px; }
.btn-xl { height: 50px; padding: 0 26px; font-size: 16px; }
.btn-icon { width: 40px; padding: 0; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.navbar.scrolled { border-color: var(--border); box-shadow: var(--shadow-card); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: none; gap: 4px; }
.nav-links a { display: block; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; color: #3b4150; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--blue-soft); color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-call { display: none; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 8px; color: var(--text); }
.menu-toggle:hover { background: var(--blue-soft); }
.menu-toggle .when-open, .navbar.menu-open .menu-toggle .when-closed { display: none; }
.navbar.menu-open .menu-toggle .when-open { display: inline; }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: #fff; }
.navbar.menu-open .mobile-menu { display: block; }
.mobile-menu ul { padding-top: 12px; padding-bottom: 16px; }
.mobile-menu a:not(.btn) { display: block; padding: 12px; border-radius: 8px; font-weight: 600; }
.mobile-menu a:not(.btn):hover { background: var(--blue-soft); color: var(--blue); }
.mobile-menu li:last-child { padding-top: 8px; }
@media (min-width: 640px) { .nav-inner { height: 80px; } .nav-logo img { height: 56px; } .nav-call { display: inline-flex; } }
@media (min-width: 768px) { .nav-links { display: flex; } .menu-toggle, .mobile-menu, .navbar.menu-open .mobile-menu { display: none; } }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 560px; overflow: hidden; background: var(--ink); }
@media (min-width: 640px) { .hero { height: 620px; } }
@media (min-width: 1024px) { .hero { height: 680px; } }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 6s ease; }
.slide.active > img { transform: scale(1.05); }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,24,.88) 0%, rgba(12,22,48,.6) 50%, rgba(12,22,48,.1) 100%); }
.slide-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.slide-content > * { max-width: 680px; }
.slide.active .slide-content > * { animation: slideUp .7s cubic-bezier(.2,.7,.2,1) both; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .12s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .24s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .36s; }
.eyebrow-pill { align-self: flex-start; background: var(--orange); color: #fff; padding: 6px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.slide-content h1 { color: #fff; margin-top: 20px; font-size: 36px; font-weight: 800; }
.slide-content p { margin-top: 20px; font-size: 16px; color: rgba(255,255,255,.85); max-width: 560px; }
.hero-buttons { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .slide-content h1 { font-size: 48px; } .slide-content p { font-size: 18px; } .hero-buttons { flex-direction: row; } }
@media (min-width: 1024px) { .slide-content h1 { font-size: 60px; } }
.slider-controls { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.dots { display: flex; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.5); transition: all .3s; }
.dot.active { width: 40px; background: var(--orange); }
.arrows { display: flex; gap: 8px; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 112px 0; } }
.eyebrow { display: inline-block; color: var(--orange); font-size: 14px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section h2 { margin-top: 12px; font-size: 30px; font-weight: 800; }
@media (min-width: 640px) { .section h2 { font-size: 38px; } }
.section-head { max-width: 680px; margin: 0 auto; text-align: center; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- About ---------- */
.about { overflow: hidden; }
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.about-media { position: relative; }
.about-media > img { position: relative; z-index: 1; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-blue); }
.deco { position: absolute; border-radius: var(--radius); }
.deco-orange { width: 128px; height: 128px; left: -16px; top: -16px; background: var(--gradient-orange); }
.deco-blue { width: 160px; height: 160px; right: -16px; bottom: -16px; background: var(--gradient-blue); }
.about-badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; background: var(--ink); color: #fff; padding: 16px 20px; border-radius: 12px; }
.about-badge strong { display: block; font-family: var(--font-head); font-size: 30px; color: var(--orange); line-height: 1.1; }
.about-badge span { font-size: 14px; color: rgba(255,255,255,.8); }
.lead { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.feature-grid { margin-top: 32px; display: grid; gap: 16px; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.feature h3 { font-size: 16px; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; }
.feature p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.feature-icon { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }

/* ---------- Products ---------- */
.products { background: var(--bg-soft); }
.product-grid { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform .3s, box-shadow .3s, border-color .3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-blue); border-color: rgba(27,79,196,.4); }
.product-img { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 20px; border-top: 1px solid var(--border); }
.product-body h3 { font-size: 18px; font-weight: 700; }
.product-body p { flex: 1; margin: 8px 0 20px; font-size: 14px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { margin-top: 56px; display: grid; gap: 24px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-card); }
.contact-item .feature-icon { width: 48px; height: 48px; border-radius: 12px; }
.contact-item .label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.contact-item p { margin-top: 4px; font-size: 18px; font-weight: 600; }
.contact-item a:hover { color: var(--blue); }
.map-card { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border-radius: var(--radius); background: var(--ink); color: #fff; box-shadow: var(--shadow-blue); }
.map-card h3 { color: #fff; margin-top: 24px; font-size: 24px; font-weight: 800; }
.map-card p { margin-top: 12px; color: rgba(255,255,255,.75); }
.map-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--gradient-orange); color: #fff; }
.map-icon .icon { width: 24px; height: 24px; }
.map-buttons { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-brand { font-family: var(--font-head); font-size: 18px; font-weight: 800; }
.footer-brand span { color: var(--orange); }
.footer-tag { font-size: 14px; color: rgba(255,255,255,.7); }
.footer-copy { font-size: 14px; color: rgba(255,255,255,.6); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.4); animation: waPulse 2.2s infinite; transition: transform .2s; }
.wa-float:hover { transform: scale(1.1); }
.wa-float .icon { width: 28px; height: 28px; }
@media (min-width: 640px) { .wa-float { right: 32px; bottom: 32px; width: 64px; height: 64px; } .wa-float .icon { width: 32px; height: 32px; } }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,184,99,.6); } 70% { box-shadow: 0 0 0 16px rgba(37,184,99,0); } 100% { box-shadow: 0 0 0 0 rgba(37,184,99,0); } }
