/* ==========================================================================
   BG SYSTEM SERVICES PVT. LTD. - SERVICE DETAIL STYLESHEET
   Self-contained with embedded responsive media queries.
   ========================================================================== */

/* ==========================================================================
   BG SYSTEM SERVICES PVT. LTD. - COMPLETE STATIC DESIGN SYSTEM
   Theme: Premium Corporate Dark-Navy (#040E2A, #071B4B) & Electric Blue (#1263FF)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css');

:root {
  /* Brand Navy Palette */
  --navy-950: #040e2a;
  --navy-900: #071b4b;
  --navy-850: #0a2566;
  --navy-800: #0c2a6b;
  --navy-700: #103585;
  --navy-600: #1545a8;

  /* Brand Blue Palette */
  --blue-600: #1263ff;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --blue-200: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;

  /* Neutrals & Slate */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  /* Accents */
  --emerald-500: #10b981;
  --emerald-50: #ecfdf5;
  --amber-500: #f59e0b;
  --amber-50: #fffbeb;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(7, 27, 75, 0.08);
  --shadow-lg: 0 10px 25px rgba(7, 27, 75, 0.1);
  --shadow-xl: 0 20px 40px rgba(7, 27, 75, 0.14);
  --shadow-blue: 0 8px 24px rgba(18, 99, 255, 0.35);

  /* Layout */
  --max-w: 1320px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  color: var(--slate-600);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.section-slate {
  background-color: var(--slate-50);
}

.section-navy {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-navy .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.section-navy .section-subtitle {
  color: var(--blue-100);
  opacity: 0.85;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-blue {
  background-color: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
}

.badge-navy {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--blue-200);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Gradients */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-600) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-blue {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
}

.bg-gradient-navy {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, var(--navy-800) 100%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(18, 99, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(18, 99, 255, 0.5);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--slate-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--blue-600);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--slate-300);
}

.btn-outline-navy:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background-color: var(--blue-50);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* Grid Utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}


/* Additional Layout & Badge Utilities */
.section-alt {
  background-color: var(--slate-50);
}
.section-dark {
  background-color: var(--navy-950);
  color: var(--white);
}
.badge-blue-dark {
  background-color: rgba(18, 99, 255, 0.15);
  color: var(--blue-400);
  border: 1px solid rgba(18, 99, 255, 0.3);
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}


/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(4, 14, 42, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header .top-bar {
  background-color: rgba(2, 8, 26, 0.75);
  color: var(--blue-100);
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  max-height: 50px;
  overflow: hidden;
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.9;
  font-size: 0.8rem;
  color: var(--blue-100);
}

.top-bar-item:hover {
  color: var(--white);
  opacity: 1;
}

.top-bar-sep {
  opacity: 0.35;
  color: var(--blue-100);
}

/* Scrolled Site Header */
.site-header.scrolled {
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(7, 27, 75, 0.08);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.site-header.scrolled .top-bar {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  pointer-events: none;
}

.site-header.scrolled .nav-link {
  color: var(--slate-700);
}

.site-header.scrolled .nav-link:hover {
  color: var(--blue-600);
  background-color: var(--slate-100);
}

.site-header.scrolled .nav-link.active {
  color: var(--blue-600);
  background-color: var(--blue-50);
}

/* Header Inner & Logo */
.header-main {
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* BRAND LOGO WRAPPER - Perfect Alignment & Zero Jump */
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  box-sizing: border-box;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

.brand-logo-wrap:hover {
  transform: translateY(-1px);
}

.brand-logo {
  height: 54px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
 

}

/* When header is scrolled to white, logo badge keeps identical padding & height */
/* .site-header.scrolled .brand-logo-wrap {
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.08);
  padding: 6px 14px;
  height: 44px;
} */

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-100);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link.active {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--white);
  transition: var(--transition-fast);
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.site-header.scrolled .hamburger-btn {
  color: var(--navy-900);
  background: var(--slate-100);
  border-color: var(--slate-200);
}

/* Mobile Nav Drawer */
.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(4, 14, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--white);
  z-index: 1001;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-close-btn,
.close-btn {
  background: var(--slate-100);
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--slate-700);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.mobile-close-btn:hover,
.close-btn:hover {
  background-color: var(--slate-200);
  color: var(--navy-900);
}

.mobile-nav-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-800);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--blue-50);
  color: var(--blue-600);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid var(--slate-200);
}


/* ==========================================================================
   PAGE HEROES (Inner pages & Main Homepage Hero)
   ========================================================================== */

/* Inner Page Hero */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white);
  padding: 8.5rem 0 5rem 0;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.2) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  max-width: 52rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--blue-200);
  margin-bottom: 1.25rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--blue-100);
  line-height: 1.65;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}



.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--blue-100);
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.card:hover .card-icon {
  background-color: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
  transform: scale(1.05);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.card:hover .card-title {
  color: var(--blue-600);
}

.card-desc {
  font-size: 0.925rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.tag {
  background-color: var(--slate-50);
  color: var(--slate-700);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  transition: var(--transition-fast);
}

.card:hover .tag,
.portfolio-card:hover .tag {
  border-color: var(--blue-200);
  background-color: var(--blue-50);
  color: var(--blue-700);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-top: auto;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.card-link:hover {
  color: var(--blue-500);
  gap: 0.75rem;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}


/* Feature Box (Why Choose Us & Pillars) */
.feature-box {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-300);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}


/* ==========================================================================
   FORMS (Contact, Career, Service Inquiry)
   ========================================================================== */

.form-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--slate-800);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(18, 99, 255, 0.12);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  background-color: var(--emerald-50);
  border: 1px solid var(--emerald-500);
  color: #065f46;
  font-size: 0.925rem;
  margin-top: 1rem;
  font-weight: 500;
}

.form-feedback.show {
  display: block;
}


/* ==========================================================================
   ACCORDIONS (FAQs) - Open Arrow & Cancel State
   ========================================================================== */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion-item {
  background-color: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.accordion-item.active {
  border-color: var(--blue-400);
  box-shadow: 0 4px 14px rgba(18, 99, 255, 0.08);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  background-color: var(--white);
  transition: all 0.2s ease;
  gap: 1rem;
}

.accordion-header:hover {
  color: var(--blue-600);
  background-color: var(--slate-50);
}

.accordion-item.active .accordion-header {
  color: var(--blue-600);
  border-bottom: 1px solid var(--slate-100);
}

/* Arrow & Cancel Toggle Icon */
.accordion-icon,
.accordion-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--slate-100);
  color: var(--slate-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--slate-200);
  position: relative;
}

.accordion-header:hover .accordion-icon,
.accordion-header:hover .accordion-arrow {
  background-color: var(--blue-50);
  color: var(--blue-600);
  border-color: var(--blue-200);
}

/* Arrow Open / Cancel Icons inside */
.accordion-icon .icon-open,
.accordion-arrow .icon-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.accordion-icon .icon-cancel,
.accordion-arrow .icon-cancel {
  display: none;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

/* When Active (Open) -> Switch to CANCEL state */
.accordion-item.active .accordion-icon,
.accordion-item.active .accordion-arrow {
  background-color: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15);
}

.accordion-item.active .accordion-icon .icon-open,
.accordion-item.active .accordion-arrow .icon-open {
  display: none;
}

.accordion-item.active .accordion-icon .icon-cancel,
.accordion-item.active .accordion-arrow .icon-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Accordion Content Collapse & Expand */
.accordion-content,
.accordion-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.3s ease;
  background-color: var(--white);
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content,
.accordion-item.active .accordion-body {
  max-height: 400px;
  opacity: 1;
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
}

.accordion-content p,
.accordion-body p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}


/* ==========================================================================
   OTHER SERVICES SIDEBAR WIDGET
   ========================================================================== */

.sidebar-services-widget {
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.sidebar-service-links,
.other-services-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-service-links li,
.other-services-list li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.sidebar-service-links a,
.other-services-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-700);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  background-color: transparent;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

/* User requirement: hover karne par text color black */
.sidebar-service-links a:hover,
.other-services-list a:hover {
  color: #000000 !important;
  font-weight: 600;
  background-color: #ffffff;
  border-color: var(--slate-300);
  padding-left: 1.1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Bottom Bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom div {
  color: var(--slate-500);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--slate-500);
  text-decoration: none;
  font-size: 0.825rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--slate-300);
}



/* Service Layout Grid (Desktop) */
@media (min-width: 992px) {
  .service-layout {
    grid-template-columns: 2.2fr 1fr !important;
  }
}


/* ==========================================================================
   CTA BANNER & CALLOUT
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-850) 100%);
  color: #ffffff !important;
  padding: 4.5rem 2rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-xl);
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(4, 14, 42, 0.2);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.25) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto;
}

.cta-banner h2,
.cta-banner .cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 2;
}

.cta-banner p,
.cta-banner .cta-lead {
  font-size: 1.125rem;
  color: #ffffff !important;
  opacity: 0.95;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.cta-banner .btn,
.cta-banner .btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-500) 100%);
  box-shadow: 0 4px 18px rgba(18, 99, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-banner .btn:hover,
.cta-banner .btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 8px 24px rgba(18, 99, 255, 0.6);
  transform: translateY(-2px);
  color: #ffffff !important;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-400);
  padding: 5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Grid Layout for Footer Columns - Uniform across .footer-top & .footer-grid */
.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.25fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  padding: 6px 14px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  height: auto;
  min-height: 54px;
  box-sizing: border-box;
}

.footer-logo {
  height: 54px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.footer-desc,
.footer-brand p {
  font-size: 0.875rem;
  color: var(--slate-400) !important;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--slate-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--blue-600);
  color: var(--white);
}

.footer-contact-items,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
  color: var(--slate-400);
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-contact-items {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-item,
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.55;
  color: var(--slate-400);
  list-style: none !important;
}

.footer-contact-item span:first-child,
.footer-contact li span:first-child {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* Titles */
.footer-col-title,
.footer-title,
.footer-top h3,
.footer-top h4,
.footer-grid h3,
.footer-grid h4 {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.35rem;
  line-height: 1.3;
}

/* Links */
.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.site-footer .footer-links li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-link,
.site-footer .footer-links a {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--slate-400) !important;
  text-decoration: none;
  transition: var(--transition-fast);
  line-height: 1.5;
}

.footer-link:hover,
.site-footer .footer-links a:hover {
  color: var(--white) !important;
  padding-left: 0.35rem;
}


/* ==========================================================================
   Professional Font Awesome Icons Refinement
   ========================================================================== */
.top-bar-item i {
  color: var(--blue-300);
  font-size: 0.85rem;
  margin-right: 0.35rem;
}

.card-icon i {
  font-size: 1.5rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.card:hover .card-icon i {
  transform: scale(1.1);
  color: #ffffff;
}

.feature-icon-wrap i {
  font-size: 1.35rem;
}

.social-link i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.social-link:hover i {
  transform: scale(1.15);
}

.footer-contact-item i,
.footer-contact li i {
  color: var(--blue-400);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  margin-top: 2px;
}

.sidebar-service-links li a span i {
  color: var(--blue-500);
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}


/* ==========================================================================
   PAGE RESPONSIVE MEDIA QUERIES
   ========================================================================== */
/* ==========================================================================
   BG SYSTEM SERVICES PVT. LTD. - RESPONSIVE STYLESHEET
   Breakpoints: 1200px, 991px, 768px, 576px
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1199px) */
@media (max-width: 1199px) {
  .hero-title,
  .hero-heading {
    font-size: 3rem;
  }

  .nav-menu {
    gap: 0.15rem;
  }

  .nav-link {
    padding: 0.4rem 0.65rem;
    font-size: 0.825rem;
  }

  .hero-features-bar,
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Tablets (<= 991px) */
@media (max-width: 991px) {
  .site-header .top-bar {
    display: none !important;
  }

  .header-inner {
    height: 62px;
  }

  .brand-logo-wrap {
    height: 40px;
    padding: 4px 10px;
  }

  .site-header.scrolled .brand-logo-wrap {
    height: 40px;
    padding: 4px 10px;
  }

  .brand-logo {
    height: 28px;
    max-width: 145px;
  }

  .nav-menu {
    display: none; /* Hide desktop nav menu */
  }

  .hamburger-btn {
    display: flex; /* Show hamburger button */
  }

  .page-hero {
    padding: 7rem 0 4rem 0;
  }

  .page-hero h1 {
    font-size: 2.25rem;
  }

  .hero-section {
    min-height: auto;
    padding: 7rem 0 4rem 0;
  }

  .hero-content-wrapper {
    padding: 7rem 1.5rem 4rem 1.5rem;
  }

  .hero-title,
  .hero-heading {
    font-size: 2.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: 100%;
    grid-column: span 2;
  }
}

/* Small Tablets & Large Phones (<= 767px) */
@media (max-width: 767px) {
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .hero-title,
  .hero-heading {
    font-size: 2.15rem;
  }

  .hero-lead,
  .hero-desc {
    font-size: 1.025rem;
  }

  .hero-features-bar,
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .hero-cta-group,
  .hero-cta-flex {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-group .btn,
  .hero-cta-flex a {
    width: 100%;
    justify-content: center;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2.15rem;
  }

  .form-card {
    padding: 1.75rem 1.25rem;
  }

  .testimonial-card {
    padding: 1.75rem 1.25rem;
  }

  .testimonial-quote {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.85rem;
  }

  .cta-lead {
    font-size: 1rem;
  }

  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-title {
    font-size: 1.95rem;
  }

  .page-hero h1 {
    font-size: 1.85rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .portfolio-img-wrap,
  .service-card-img-wrap {
    height: 190px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    height: 58px;
  }

  .brand-logo-wrap,
  .site-header.scrolled .brand-logo-wrap {
    height: 38px;
    padding: 3px 8px;
  }

  .brand-logo {
    height: 25px;
    max-width: 125px;
  }

  .header-actions .btn {
    display: none; /* Hide header 'Get Proposal' on tiny screens to avoid overcrowding */
  }
}

