/* ==========================================================================
   Chellam Groups — Complete Responsive Grid & Bootstrap Utilities
   ========================================================================== */
*, ::after, ::before { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-body-gray);
  background-color: var(--color-ivory);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/* Containers */
.container, .container-fluid {
  width: 100%;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: var(--content-max); } }

/* Grid Rows */
.row {
  --bs-gutter-x: var(--gutter);
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

/* Base Columns */
.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.33333333%; }
.col-2 { flex: 0 0 auto; width: 16.66666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-5 { flex: 0 0 auto; width: 41.66666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.33333333%; }
.col-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-11 { flex: 0 0 auto; width: 91.66666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

/* Small Devices (>= 576px) */
@media (min-width: 576px) {
  .col-sm { flex: 1 0 0%; }
  .col-sm-auto { flex: 0 0 auto; width: auto; }
  .col-sm-1 { flex: 0 0 auto; width: 8.33333333%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
}

/* Medium Devices / Tablets (>= 768px) */
@media (min-width: 768px) {
  .col-md { flex: 1 0 0%; }
  .col-md-auto { flex: 0 0 auto; width: auto; }
  .col-md-1 { flex: 0 0 auto; width: 8.33333333%; }
  .col-md-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}

/* Large Devices / Desktops (>= 992px) */
@media (min-width: 992px) {
  .col-lg { flex: 1 0 0%; }
  .col-lg-auto { flex: 0 0 auto; width: auto; }
  .col-lg-1 { flex: 0 0 auto; width: 8.33333333%; }
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
}

/* Extra Large (>= 1200px) */
@media (min-width: 1200px) {
  .col-xl { flex: 1 0 0%; }
  .col-xl-auto { flex: 0 0 auto; width: auto; }
  .col-xl-1 { flex: 0 0 auto; width: 8.33333333%; }
  .col-xl-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-xl-9 { flex: 0 0 auto; width: 75%; }
  .col-xl-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-xl-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-xl-12 { flex: 0 0 auto; width: 100%; }
}

/* Extra Extra Large (>= 1400px) */
@media (min-width: 1400px) {
  .col-xxl { flex: 1 0 0%; }
  .col-xxl-auto { flex: 0 0 auto; width: auto; }
  .col-xxl-1 { flex: 0 0 auto; width: 8.33333333%; }
  .col-xxl-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-xxl-3 { flex: 0 0 auto; width: 25%; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xxl-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-xxl-9 { flex: 0 0 auto; width: 75%; }
  .col-xxl-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-xxl-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-xxl-12 { flex: 0 0 auto; width: 100%; }
}

/* Row-Cols */
.row-cols-1 > * { flex: 0 0 auto; width: 100%; }
.row-cols-2 > * { flex: 0 0 auto; width: 50%; }
.row-cols-3 > * { flex: 0 0 auto; width: 33.33333333%; }
.row-cols-4 > * { flex: 0 0 auto; width: 25%; }
@media (min-width: 576px) {
  .row-cols-sm-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-sm-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-sm-3 > * { flex: 0 0 auto; width: 33.33333333%; }
  .row-cols-sm-4 > * { flex: 0 0 auto; width: 25%; }
}
@media (min-width: 768px) {
  .row-cols-md-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-md-3 > * { flex: 0 0 auto; width: 33.33333333%; }
  .row-cols-md-4 > * { flex: 0 0 auto; width: 25%; }
}
@media (min-width: 992px) {
  .row-cols-lg-1 > * { flex: 0 0 auto; width: 100%; }
  .row-cols-lg-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-lg-3 > * { flex: 0 0 auto; width: 33.33333333%; }
  .row-cols-lg-4 > * { flex: 0 0 auto; width: 25%; }
}

/* Gutters */
.g-0, .gx-0 { --bs-gutter-x: 0; }
.g-0, .gy-0 { --bs-gutter-y: 0; }
.g-1, .gx-1 { --bs-gutter-x: var(--sp-1, 8px); }
.g-1, .gy-1 { --bs-gutter-y: var(--sp-1, 8px); }
.g-2, .gx-2 { --bs-gutter-x: var(--sp-2, 16px); }
.g-2, .gy-2 { --bs-gutter-y: var(--sp-2, 16px); }
.g-3, .gx-3 { --bs-gutter-x: var(--sp-3, 24px); }
.g-3, .gy-3 { --bs-gutter-y: var(--sp-3, 24px); }
.g-4, .gx-4 { --bs-gutter-x: var(--sp-4, 32px); }
.g-4, .gy-4 { --bs-gutter-y: var(--sp-4, 32px); }
.g-5, .gx-5 { --bs-gutter-x: var(--sp-5, 48px); }
.g-5, .gy-5 { --bs-gutter-y: var(--sp-5, 48px); }

/* Flex Utilities */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-grid { display: grid !important; }

@media (min-width: 576px) {
  .d-sm-flex { display: flex !important; }
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
}
@media (min-width: 768px) {
  .d-md-flex { display: flex !important; }
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
}
@media (min-width: 992px) {
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
}
@media (min-width: 1200px) {
  .d-xl-flex { display: flex !important; }
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
}

.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-center { align-self: center !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

/* Gap */
.gap-1 { gap: var(--sp-1, 8px) !important; }
.gap-2 { gap: var(--sp-2, 16px) !important; }
.gap-3 { gap: var(--sp-3, 24px) !important; }
.gap-4 { gap: var(--sp-4, 32px) !important; }
.gap-5 { gap: var(--sp-5, 48px) !important; }

/* Width & Height */
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

/* Text Alignment */
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase !important; }

/* Positioning & Display */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.overflow-hidden { overflow: hidden !important; }

/* Margin */
.m-0 { margin: 0 !important; }
.m-auto { margin: auto !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mt-1 { margin-top: var(--sp-1, 8px) !important; }
.mb-1 { margin-bottom: var(--sp-1, 8px) !important; }
.mt-2 { margin-top: var(--sp-2, 16px) !important; }
.mb-2 { margin-bottom: var(--sp-2, 16px) !important; }
.mt-3 { margin-top: var(--sp-3, 24px) !important; }
.mb-3 { margin-bottom: var(--sp-3, 24px) !important; }
.mt-4 { margin-top: var(--sp-4, 32px) !important; }
.mb-4 { margin-bottom: var(--sp-4, 32px) !important; }
.mt-5 { margin-top: var(--sp-5, 48px) !important; }
.mb-5 { margin-bottom: var(--sp-5, 48px) !important; }
.ms-1 { margin-left: var(--sp-1, 8px) !important; }
.me-1 { margin-right: var(--sp-1, 8px) !important; }
.ms-2 { margin-left: var(--sp-2, 16px) !important; }
.me-2 { margin-right: var(--sp-2, 16px) !important; }
.ms-3 { margin-left: var(--sp-3, 24px) !important; }
.me-3 { margin-right: var(--sp-3, 24px) !important; }

/* Padding */
.p-0 { padding: 0 !important; }
.p-1 { padding: var(--sp-1, 8px) !important; }
.p-2 { padding: var(--sp-2, 16px) !important; }
.p-3 { padding: var(--sp-3, 24px) !important; }
.p-4 { padding: var(--sp-4, 32px) !important; }
.p-5 { padding: var(--sp-5, 48px) !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: var(--sp-1, 8px) !important; padding-bottom: var(--sp-1, 8px) !important; }
.py-2 { padding-top: var(--sp-2, 16px) !important; padding-bottom: var(--sp-2, 16px) !important; }
.py-3 { padding-top: var(--sp-3, 24px) !important; padding-bottom: var(--sp-3, 24px) !important; }
.py-4 { padding-top: var(--sp-4, 32px) !important; padding-bottom: var(--sp-4, 32px) !important; }
.py-5 { padding-top: var(--sp-5, 48px) !important; padding-bottom: var(--sp-5, 48px) !important; }
.py-6 { padding-top: var(--sp-6, 64px) !important; padding-bottom: var(--sp-6, 64px) !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-1 { padding-left: var(--sp-1, 8px) !important; padding-right: var(--sp-1, 8px) !important; }
.px-2 { padding-left: var(--sp-2, 16px) !important; padding-right: var(--sp-2, 16px) !important; }
.px-3 { padding-left: var(--sp-3, 24px) !important; padding-right: var(--sp-3, 24px) !important; }
.px-4 { padding-left: var(--sp-4, 32px) !important; padding-right: var(--sp-4, 32px) !important; }
.px-5 { padding-left: var(--sp-5, 48px) !important; padding-right: var(--sp-5, 48px) !important; }
.pt-3 { padding-top: var(--sp-3, 24px) !important; }
.pb-3 { padding-bottom: var(--sp-3, 24px) !important; }
.pt-4 { padding-top: var(--sp-4, 32px) !important; }
.pb-4 { padding-bottom: var(--sp-4, 32px) !important; }
.pt-5 { padding-top: var(--sp-5, 48px) !important; }
.pb-5 { padding-bottom: var(--sp-5, 48px) !important; }

/* Utilities */
.img-fluid { max-width: 100%; height: auto; }
.list-unstyled { padding-left: 0; list-style: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.rounded { border-radius: var(--radius-card) !important; }
.border { border: 1px solid var(--color-border) !important; }
.border-top { border-top: 1px solid var(--color-border) !important; }
.border-bottom { border-bottom: 1px solid var(--color-border) !important; }

