:root {
  --iv-red: #e0201a;
  --iv-red-dark: #a8140f;
  --iv-black: #0f0f10;
  --iv-gray-900: #1a1a1c;
  --iv-gray-600: #555;
  --iv-gray-200: #f2f2f2;
  --iv-white: #ffffff;
  --iv-radius: 10px;
  --iv-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-family: 'Segoe UI', Roboto, 'Hind Siliguri', Arial, sans-serif;
}

body { color: var(--iv-black); background: var(--iv-white); }
a { text-decoration: none; }
img { max-width: 100%; }

/* ---- Buttons ---- */
.btn-iv-primary {
  background: var(--iv-red);
  color: #fff;
  border: 2px solid var(--iv-red);
  border-radius: 6px;
  padding: 10px 26px;
  font-weight: 600;
  transition: .2s;
}
.btn-iv-primary:hover { background: var(--iv-red-dark); border-color: var(--iv-red-dark); color:#fff; }

.btn-iv-outline {
  background: transparent;
  color: var(--iv-black);
  border: 2px solid var(--iv-black);
  border-radius: 6px;
  padding: 9px 24px;
  font-weight: 600;
  transition: .2s;
}
.btn-iv-outline:hover { background: var(--iv-black); color: #fff; }

/* ---- Top bar / navbar ---- */
.iv-topbar { background: var(--iv-black); color: #ddd; font-size: .85rem; padding: 6px 0; }
.iv-topbar a { color: #ddd; margin-left: 14px; }
.iv-navbar { background: #fff; box-shadow: var(--iv-shadow); padding: 10px 0; }
.iv-navbar .navbar-brand strong { color: var(--iv-red); }
.iv-navbar .nav-link { font-weight: 600; color: var(--iv-black) !important; margin: 0 6px; }
.iv-navbar .nav-link:hover, .iv-navbar .nav-link.active { color: var(--iv-red) !important; }
.iv-navbar .dropdown-menu { border-top: 3px solid var(--iv-red); border-radius: 8px; }

/* ---- Hero slider ---- */
.iv-hero { background: linear-gradient(120deg, var(--iv-black) 55%, var(--iv-red) 100%); color:#fff; }
/* Slides: image is a real <img> so every slide is preloaded (no blank flash on click) */
.iv-hero .carousel-item { min-height: 480px; }
.iv-hero .carousel-item.active,
.iv-hero .carousel-item-next,
.iv-hero .carousel-item-prev { display:flex; align-items:center; }
.iv-hero .iv-slide-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; }
.iv-hero .carousel-item > .container { position:relative; z-index:2; }
.iv-hero h1, .iv-hero .iv-hero-title { font-weight: 800; font-size: 2.6rem; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.iv-hero .lead { text-shadow: 0 1px 8px rgba(0,0,0,.35); }
/* Arrows: round buttons */
.iv-hero .carousel-control-prev, .iv-hero .carousel-control-next { width: 70px; opacity: 1; z-index:5; }
.iv-hero .carousel-control-prev-icon, .iv-hero .carousel-control-next-icon {
  width: 44px; height: 44px; background-size: 45%; background-color: rgba(0,0,0,.55);
  border-radius: 50%; transition: background-color .2s, transform .2s;
}
.iv-hero .carousel-control-prev:hover .carousel-control-prev-icon,
.iv-hero .carousel-control-next:hover .carousel-control-next-icon { background-color: var(--iv-red); transform: scale(1.08); }
/* Dots */
.iv-hero .carousel-indicators { z-index:5; margin-bottom: 14px; }
.iv-hero .carousel-indicators [data-bs-target] {
  width: 28px; height: 5px; border: 0; border-radius: 3px; margin: 0 4px;
  background: #fff; opacity: .65; transition: opacity .2s, background-color .2s;
}
.iv-hero .carousel-indicators .active { background: var(--iv-red); opacity: 1; }
@media (max-width: 767px) {
  .iv-hero .carousel-item { min-height: 340px; }
  .iv-hero h1, .iv-hero .iv-hero-title { font-size: 1.7rem; }
  .iv-hero .carousel-control-prev, .iv-hero .carousel-control-next { width: 48px; }
  .iv-hero .carousel-control-prev-icon, .iv-hero .carousel-control-next-icon { width: 34px; height: 34px; }
}

/* ---- Sections ---- */
.iv-section { padding: 70px 0; }
.iv-section-title { text-align:center; margin-bottom: 40px; }
.iv-section-title span { color: var(--iv-red); text-transform: uppercase; font-weight:700; letter-spacing:1px; font-size:.85rem;}
.iv-section-title h2 { font-weight: 800; }
.bg-iv-light { background: var(--iv-gray-200); }

/* ---- Cards ---- */
.iv-card { border: none; border-radius: var(--iv-radius); box-shadow: var(--iv-shadow); overflow:hidden; transition:.25s; height:100%; }
.iv-card:hover { transform: translateY(-6px); }
.iv-card .iv-card-img { height: 190px; object-fit: cover; width:100%; }
.iv-card .card-body { padding: 20px; }
.iv-badge-red { background: var(--iv-red); color:#fff; font-size:.75rem; padding:4px 10px; border-radius:20px; }

.iv-service-icon { width:64px; height:64px; border-radius:50%; background: var(--iv-red); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin-bottom:16px; }

.iv-stat { text-align:center; }
.iv-stat h3, .iv-stat .iv-stat-num { color: var(--iv-red); font-weight:800; font-size:2.4rem; line-height:1.2; margin-bottom:.5rem; }

.iv-testimonial { border-radius: var(--iv-radius); box-shadow: var(--iv-shadow); padding:24px; height:100%; }
.iv-testimonial img { width:56px; height:56px; border-radius:50%; object-fit:cover; }

/* ---- CTA ---- */
.iv-cta { background: var(--iv-red); color:#fff; padding: 60px 0; text-align:center; }
.iv-cta h2 { font-weight:800; }

/* ---- Footer ---- */
.iv-footer { background: var(--iv-black); color:#bbb; padding: 50px 0 20px; }
.iv-footer h5 { color:#fff; font-weight:700; margin-bottom:18px; }
.iv-footer a { color:#bbb; }
.iv-footer a:hover { color: var(--iv-red); }
.iv-footer hr { border-color:#333; }
.iv-social a { display:inline-flex; width:38px; height:38px; border-radius:50%; background:#222; color:#fff; align-items:center; justify-content:center; margin-right:8px; }
.iv-social a:hover { background: var(--iv-red); }

/* ---- Notice bar ---- */
.iv-notice-bar { background: var(--iv-gray-900); color:#fff; padding:8px 0; font-size:.9rem; overflow:hidden; white-space:nowrap; }
.iv-notice-bar .marquee { display:inline-block; padding-left:100%; animation: iv-marquee 25s linear infinite; }
@keyframes iv-marquee { 0% { transform: translateX(0);} 100% { transform: translateX(-100%);} }

/* ---- Admin panel ---- */
.admin-sidebar { background: var(--iv-black); min-height:100vh; color:#ccc; }
.admin-sidebar a { color:#ccc; display:block; padding:10px 18px; border-radius:6px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: var(--iv-red); color:#fff; }
.admin-topbar { background:#fff; box-shadow: var(--iv-shadow); }
.admin-card { border-radius: var(--iv-radius); box-shadow: var(--iv-shadow); border:none; }

@media (max-width: 768px) {
  .iv-hero h1, .iv-hero .iv-hero-title { font-size: 1.8rem; }
  .iv-section { padding: 45px 0; }
}

/* ---- Blog videos ---- */
.iv-video { background: var(--iv-gray-900); border: 1px solid rgba(255,255,255,.08); }
.iv-video:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(224,32,26,.25); }
.iv-video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.iv-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.iv-video:hover .iv-video-thumb img { transform: scale(1.06); }
.iv-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%;
  background: var(--iv-red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.45); transition: transform .2s; }
.iv-play i { margin-left: 4px; }
.iv-video:hover .iv-play { transform: translate(-50%,-50%) scale(1.12); }
.iv-video-body { padding: 14px 16px; }

/* ---- About Us page ---- */
.iv-page-hero { background: linear-gradient(120deg, var(--iv-black) 55%, var(--iv-red) 100%); color:#fff; padding: 64px 0 52px; text-align:center; }
.iv-page-hero h1 { font-weight: 800; font-size: 2.4rem; }
.iv-page-hero p { color: #ddd; }
.iv-page-hero nav, .iv-page-hero nav a { color: #ccc; }
.iv-page-hero nav a:hover { color: #fff; }
.iv-about-img { position: relative; }
.iv-est-badge { position:absolute; right:-10px; bottom:-18px; background: var(--iv-red); color:#fff; border-radius: var(--iv-radius);
  padding: 12px 20px; text-align:center; box-shadow: var(--iv-shadow); line-height:1.1; }
.iv-est-badge small { display:block; text-transform:uppercase; letter-spacing:1px; font-size:.7rem; opacity:.85; }
.iv-est-badge strong { font-size: 1.7rem; font-weight: 800; }
.iv-mv { border-top: 4px solid var(--iv-red); }
.iv-mv h4 { font-weight: 700; }
.iv-message { background: var(--iv-black); color:#ddd; }
.iv-message-photo { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; border: 6px solid var(--iv-red); }
.iv-message-text { font-size: 1.05rem; line-height: 1.8; }
.iv-team-group { text-align:center; font-weight:700; font-size:1.1rem; margin-bottom: 24px; }
.iv-team-group span { display:inline-block; border-bottom: 3px solid var(--iv-red); padding-bottom: 6px; }
.iv-team-card { border-bottom: 3px solid transparent; }
.iv-team-card:hover { border-bottom-color: var(--iv-red); }
.iv-team-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 4px solid var(--iv-gray-200); }
.iv-team-photo.lg { width: 150px; height: 150px; }
.iv-team-role { color: var(--iv-red); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.iv-team-links a { display:inline-flex; width:32px; height:32px; border-radius:50%; background: var(--iv-gray-200); color: var(--iv-black);
  align-items:center; justify-content:center; margin: 0 3px; font-size:.85rem; transition:.2s; }
.iv-team-links a:hover { background: var(--iv-red); color:#fff; }
.iv-why-item { background:#fff; border-radius: 8px; padding: 12px 16px; box-shadow: 0 2px 10px rgba(0,0,0,.05); font-weight: 500; height:100%; }
@media (max-width: 767px) {
  .iv-page-hero { padding: 44px 0 36px; }
  .iv-page-hero h1 { font-size: 1.8rem; }
  .iv-est-badge { right: 10px; }
  .iv-message-photo { width: 170px; height: 170px; }
  .iv-team-photo { width: 96px; height: 96px; }
  .iv-team-card { padding: 1rem !important; }
}

/* Highlighted word inside a section heading (e.g. "at IT Village") keeps the heading size */
.iv-section-title h2 span { font-size: inherit; text-transform: none; letter-spacing: normal; }
/* Keep menu items on one line now that the menu has one more item */
.iv-navbar .nav-link, .iv-navbar .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399px) {
  .iv-navbar .nav-link { margin: 0 1px; padding-left: .45rem !important; padding-right: .45rem !important; font-size: .95rem; }
  .iv-navbar .navbar-brand img { height: 38px !important; }
  .iv-navbar .btn-sm { padding: 6px 10px; font-size: .82rem; }
}
/* Admin sidebar keeps its full width (menu items no longer wrap) */
.admin-sidebar.d-lg-block { flex-shrink: 0; }

/* ---- Client reviews ---- */
.iv-stars { color: #f5a623; letter-spacing: 1px; white-space: nowrap; }
.iv-client-review { position: relative; background: #fff; border-radius: var(--iv-radius); box-shadow: var(--iv-shadow);
  padding: 26px 24px 22px; height: 100%; display: flex; flex-direction: column; border-top: 4px solid var(--iv-red); transition: .25s; }
.iv-client-review:hover { transform: translateY(-5px); }
.iv-client-review.featured { border-top-color: #f5a623; }
.iv-cr-quote { position: absolute; top: 18px; right: 22px; font-size: 2rem; color: var(--iv-gray-200); }
.iv-cr-text { margin: 12px 0 18px; color: #333; line-height: 1.7; }
.iv-cr-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.iv-cr-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--iv-black); color: #fff; font-weight: 700; }
.iv-cr-service { display: inline-block; margin-top: 4px; font-size: .72rem; font-weight: 600; color: var(--iv-red); background: #fdeceb; padding: 2px 8px; border-radius: 20px; }
.iv-rating-inline { font-size: 1.6rem; font-weight: 800; vertical-align: middle; margin-right: 6px; }
.iv-rating-summary { background: var(--iv-gray-200); border-radius: var(--iv-radius); }
.iv-rating-big { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--iv-black); }
/* Star picker (radio buttons, right-to-left so hover fills the stars before it) */
.iv-star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.iv-star-input input { position: absolute; opacity: 0; pointer-events: none; }
.iv-star-input label { font-size: 2rem; color: #d6d6d6; cursor: pointer; transition: color .15s, transform .15s; }
.iv-star-input label:hover, .iv-star-input label:hover ~ label,
.iv-star-input input:checked ~ label { color: #f5a623; }
.iv-star-input label:hover { transform: scale(1.12); }
.iv-star-input input:focus-visible + label { outline: 2px solid var(--iv-red); outline-offset: 2px; border-radius: 4px; }
/* Honeypot field for spam bots (hidden from people) */
.iv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- SEO / conversion components ---- */
.iv-crumb-bar { background: var(--iv-gray-200); padding: 10px 0; font-size: .85rem; }
.iv-crumb-bar .breadcrumb-item a { color: var(--iv-gray-600); }
.iv-crumb-bar .breadcrumb-item.active { color: var(--iv-black); font-weight: 600; }
.iv-h1-sub { color: var(--iv-red); }
.iv-detail-img { max-height: 460px; object-fit: cover; }
.iv-price { font-size: 2rem; font-weight: 800; color: var(--iv-red); line-height: 1.1; }
.iv-price-card { border-top: 4px solid var(--iv-red); }
.iv-check-list { list-style: none; padding-left: 0; }
.iv-check-list li { padding-left: 26px; position: relative; margin-bottom: 6px; }
.iv-check-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: var(--iv-red); }
.iv-cta-inline { background: linear-gradient(120deg, var(--iv-black) 40%, var(--iv-red)); color: #fff; border-radius: var(--iv-radius);
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.iv-quote-box { background: #fff; border-radius: var(--iv-radius); box-shadow: var(--iv-shadow); padding: 22px; border-top: 4px solid var(--iv-red); }
.iv-step { position: relative; background: #fff; border-radius: var(--iv-radius); box-shadow: 0 2px 12px rgba(0,0,0,.06); padding: 18px 14px; text-align: center; height: 100%; }
.iv-step > i { font-size: 1.5rem; color: var(--iv-red); }
.iv-step-n { position: absolute; top: 8px; left: 10px; font-size: .75rem; font-weight: 800; color: #bbb; }
.iv-article-body { font-size: 1.05rem; line-height: 1.85; }
a.iv-card:hover h3, a.iv-card:hover h2 { color: var(--iv-red); }

/* Floating WhatsApp / Call buttons */
.iv-float { position: fixed; right: 18px; bottom: 18px; z-index: 1030; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.iv-float a { display: inline-flex; align-items: center; gap: 8px; height: 54px; min-width: 54px; justify-content: center; border-radius: 30px;
  color: #fff; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.iv-float a:hover { transform: scale(1.06); color: #fff; }
.iv-float-wa { background: #25d366; padding: 0 15px; }
.iv-float-call { background: var(--iv-red); font-size: 1.25rem !important; }
.iv-float-label { font-size: .9rem; font-weight: 700; }
@media (max-width: 767px) { .iv-float-label { display: none; } .iv-float a { height: 50px; min-width: 50px; } }

/* Mobile sticky enrol / quote bar */
.iv-sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1029; background: #fff; box-shadow: 0 -4px 18px rgba(0,0,0,.12);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; }
body:has(.iv-sticky-cta) .iv-float { bottom: 78px; }
body:has(.iv-sticky-cta) .iv-footer { padding-bottom: 80px; }
@media (min-width: 992px) { body:has(.iv-sticky-cta) .iv-float { bottom: 18px; } body:has(.iv-sticky-cta) .iv-footer { padding-bottom: 20px; } }
