@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Kannada:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/**
 * RAMPCOS Bhadravathi - Base Layout Framework
 * Complete Bootstrap 5 replacement with all utility classes.
 */

/* ============================================
   1. CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-dark: #090d16;
  --primary-rgb: 15, 23, 42;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-color: #d97706;
  --accent-rgb: 217, 119, 6;
  --secondary: #0d9488;
  --bg-slate: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08);
  --border-color: rgba(15,23,42,0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-speed: 0.3s;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
}

/* ============================================
   2. BASE RESETS
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a.text-decoration-none {
  text-decoration: none !important;
}

ul, ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid var(--border-color);
  opacity: 0.25;
}

/* ============================================
   3. CONTAINERS
   ============================================ */
.container, .container-fluid {
  width: 100%;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  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: 1320px; } }

/* ============================================
   4. GRID SYSTEM
   ============================================ */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
  margin-top: 0;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-top: 0;
}

/* Base columns */
.col { flex: 1 0 0%; }
.col-6  { flex: 0 0 50%; max-width: 50%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* SM (>=576px) */
@media (min-width: 576px) {
  .col-sm-6  { flex: 0 0 50%; max-width: 50%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

/* MD (>=768px) */
@media (min-width: 768px) {
  .col-md-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3  { flex: 0 0 25%; max-width: 25%; }
  .col-md-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6  { flex: 0 0 50%; max-width: 50%; }
  .col-md-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9  { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

/* LG (>=992px) */
@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3  { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9  { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* XL (>=1200px) */
@media (min-width: 1200px) {
  .col-xl-3  { flex: 0 0 25%; max-width: 25%; }
  .col-xl-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-xl-6  { flex: 0 0 50%; max-width: 50%; }
  .col-xl-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-xl-12 { flex: 0 0 100%; max-width: 100%; }
}

/* ============================================
   5. GUTTERS
   ============================================ */
.g-0, .gx-0 { margin-right: 0; margin-left: 0; }
.g-0 > *, .gx-0 > * { padding-right: 0; padding-left: 0; }
.g-0, .gy-0 { margin-top: 0; }
.g-0 > *, .gy-0 > * { padding-top: 0; }

.g-3 { --gutter-y: 1rem; }
.g-3 > * { margin-top: var(--gutter-y); }

.g-4 { margin-top: -1.5rem; margin-right: -0.75rem; margin-left: -0.75rem; }
.g-4 > * { margin-top: 1.5rem; padding-right: 0.75rem; padding-left: 0.75rem; }

.g-5 { margin-top: -3rem; margin-right: -1.5rem; margin-left: -1.5rem; }
.g-5 > * { margin-top: 3rem; padding-right: 1.5rem; padding-left: 1.5rem; }

.row.g-0 > * { padding-right: 0; padding-left: 0; }

/* ============================================
   6. DISPLAY UTILITIES
   ============================================ */
.d-flex         { display: flex !important; }
.d-inline-flex  { display: inline-flex !important; }
.d-block        { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-inline       { display: inline !important; }
.d-none         { display: none !important; }

@media (min-width: 576px) {
  .d-sm-block       { display: block !important; }
  .d-sm-none        { display: none !important; }
  .d-sm-flex        { display: flex !important; }
  .d-sm-inline-block { display: inline-block !important; }
}

@media (min-width: 768px) {
  .d-md-block       { display: block !important; }
  .d-md-none        { display: none !important; }
  .d-md-flex        { display: flex !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-inline      { display: inline !important; }
}

@media (min-width: 992px) {
  .d-lg-block       { display: block !important; }
  .d-lg-none        { display: none !important; }
  .d-lg-flex        { display: flex !important; }
  .d-lg-inline-block { display: inline-block !important; }
}

/* ============================================
   7. FLEX UTILITIES
   ============================================ */
.flex-row             { flex-direction: row !important; }
.flex-column          { flex-direction: column !important; }
.flex-column-reverse  { flex-direction: column-reverse !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-shrink-0        { flex-shrink: 0 !important; }
.flex-grow-1          { flex-grow: 1 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row !important; }
}
@media (min-width: 992px) {
  .flex-lg-row { flex-direction: row !important; }
}

/* ============================================
   8. SPACING UTILITIES
   ============================================ */
/* Margin */
.m-0  { margin: 0 !important; }
.m-1  { margin: 0.25rem !important; }
.m-2  { margin: 0.5rem !important; }
.m-3  { margin: 1rem !important; }
.m-4  { margin: 1.5rem !important; }
.m-5  { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-auto { margin-right: auto !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-auto { margin-left: auto !important; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

/* Padding */
.p-0  { padding: 0 !important; }
.p-1  { padding: 0.25rem !important; }
.p-2  { padding: 0.5rem !important; }
.p-3  { padding: 1rem !important; }
.p-4  { padding: 1.5rem !important; }
.p-5  { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.pe-0 { padding-right: 0 !important; }
.pe-3 { padding-right: 1rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* Responsive spacing */
@media (min-width: 768px) {
  .p-md-5  { padding: 3rem !important; }
  .mt-md-0 { margin-top: 0 !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
}

@media (min-width: 992px) {
  .ms-lg-3 { margin-left: 1rem !important; }
  .ms-lg-5 { margin-left: 3rem !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .p-lg-5  { padding: 3rem !important; }
}

/* ============================================
   9. TYPOGRAPHY UTILITIES
   ============================================ */
.fw-bold     { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-normal   { font-weight: 400 !important; }
.fw-light    { font-weight: 300 !important; }

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

.display-1 { font-size: 5rem !important; font-weight: 300; line-height: 1.2; }
.display-2 { font-size: 4.5rem !important; font-weight: 300; line-height: 1.2; }
.display-3 { font-size: 4rem !important; font-weight: 300; line-height: 1.2; }
.display-4 { font-size: 3.5rem !important; font-weight: 300; line-height: 1.2; }
.display-5 { font-size: 3rem !important; font-weight: 300; line-height: 1.2; }
.display-6 { font-size: 2.5rem !important; font-weight: 300; line-height: 1.2; }

.small      { font-size: 0.875rem !important; }
.lead       { font-size: 1.25rem; font-weight: 300; }
.lh-1       { line-height: 1 !important; }
.lh-sm      { line-height: 1.25 !important; }

.text-center { text-align: center !important; }
.text-start  { text-align: left !important; }
.text-end    { text-align: right !important; }

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-nowrap { white-space: nowrap !important; }

.text-uppercase   { text-transform: uppercase !important; }
.text-lowercase   { text-transform: lowercase !important; }
.text-capitalize  { text-transform: capitalize !important; }

.text-decoration-none { text-decoration: none !important; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (min-width: 768px) {
  .text-md-start { text-align: left !important; }
  .text-md-center { text-align: center !important; }
  .text-md-end { text-align: right !important; }
}

@media (min-width: 992px) {
  .text-lg-start { text-align: left !important; }
  .text-lg-end { text-align: right !important; }
}

/* ============================================
   10. COLOR & BACKGROUND UTILITIES
   ============================================ */
.text-white    { color: #ffffff !important; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }
.text-light-50 { color: rgba(255,255,255,0.5) !important; }
.text-dark     { color: var(--text-dark) !important; }
.text-muted    { color: var(--text-muted) !important; }
.text-primary  { color: #0f2c6a !important; }
.text-secondary { color: var(--secondary) !important; }
.text-warning  { color: var(--accent-light) !important; }
.text-danger   { color: var(--danger-color) !important; }
.text-success  { color: var(--success-color) !important; }
.text-light    { color: #f8fafc !important; }

.bg-white       { background-color: var(--bg-white) !important; }
.bg-light       { background-color: #f1f5f9 !important; }
.bg-primary     { background-color: #0f2c6a !important; }
.bg-dark        { background-color: #010101 !important; }
.bg-danger      { background-color: var(--danger-color) !important; }
.bg-secondary   { background-color: var(--secondary) !important; }
.bg-warning     { background-color: var(--warning-color) !important; }
.bg-success     { background-color: var(--success-color) !important; }
.bg-transparent { background-color: transparent !important; }

.opacity-75 { opacity: 0.75 !important; }
.opacity-50 { opacity: 0.5 !important; }

/* ============================================
   11. SIZING UTILITIES
   ============================================ */
.w-25   { width: 25% !important; }
.w-50   { width: 50% !important; }
.w-75   { width: 75% !important; }
.w-100  { width: 100% !important; }
.w-auto { width: auto !important; }
.h-100  { height: 100% !important; }
.h-auto { height: auto !important; }
.mw-100 { max-width: 100% !important; }

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* ============================================
   12. BORDERS, RADIUS & SHADOWS
   ============================================ */
.border              { border: 1px solid var(--border-color) !important; }
.border-0            { border: 0 !important; }
.border-top          { border-top: 1px solid var(--border-color) !important; }
.border-bottom       { border-bottom: 1px solid var(--border-color) !important; }
.border-start        { border-left: 1px solid var(--border-color) !important; }
.border-end          { border-right: 1px solid var(--border-color) !important; }
.border-light-subtle { border-color: rgba(255,255,255,0.15) !important; }
.border-secondary    { border-color: rgba(255,255,255,0.2) !important; }

.rounded   { border-radius: var(--border-radius) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: 4px !important; }
.rounded-2 { border-radius: 8px !important; }
.rounded-3 { border-radius: 16px !important; }
.rounded-circle { border-radius: 50% !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow    { box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-none { box-shadow: none !important; }

/* ============================================
   13. POSITION & OVERFLOW UTILITIES
   ============================================ */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed    { position: fixed !important; }
.position-sticky   { position: sticky !important; }

.top-0    { top: 0 !important; }
.start-0  { left: 0 !important; }
.end-0    { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.overflow-hidden  { overflow: hidden !important; }
.overflow-auto    { overflow: auto !important; }
.overflow-visible { overflow: visible !important; }

.z-1 { z-index: 1 !important; }

/* ============================================
   14. BADGE
   ============================================ */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
}

.badge.bg-warning { color: #000; }

/* ============================================
   15. CARD COMPONENT
   ============================================ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-header {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0,0,0,0.03);
  border-bottom: 1px solid var(--border-color);
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0,0,0,0.03);
  border-top: 1px solid var(--border-color);
}

.card-title {
  margin-bottom: 0.5rem;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(var(--border-radius) - 1px);
  border-top-right-radius: calc(var(--border-radius) - 1px);
}

/* ============================================
   16. TABLE
   ============================================ */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: var(--text-dark);
  vertical-align: top;
  border-color: var(--border-color);
  border-collapse: collapse;
}

.table th, .table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.table thead th {
  vertical-align: bottom;
  border-bottom-width: 2px;
}

.table-hover tbody tr:hover {
  background-color: rgba(15,23,42,0.02);
}

.table-sm th, .table-sm td {
  padding: 0.25rem;
}

.table-borderless th, .table-borderless td {
  border: 0 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.02);
}

.table-primary {
  background-color: #0f2c6a;
  color: #fff;
}

.table-primary th, .table-primary td {
  background-color: #0f2c6a;
  color: #fff;
}

.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.align-middle { vertical-align: middle !important; }
.align-top    { vertical-align: top !important; }

/* ============================================
   17. CAROUSEL
   ============================================ */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
}

.carousel-item {
  position: relative;
  display: none;
  float: left;
  width: 100%;
  margin-right: -100%;
  backface-visibility: hidden;
  transition: transform 0.6s ease-in-out;
}

.carousel-item.active {
  display: block;
}

.carousel-control-prev, .carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15%;
  padding: 0;
  color: #fff;
  text-align: center;
  background: none;
  border: 0;
  opacity: 0.5;
  transition: opacity 0.15s ease;
  cursor: pointer;
}

.carousel-control-prev:hover, .carousel-control-next:hover { opacity: 0.9; }
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }

.carousel-control-prev-icon, .carousel-control-next-icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ============================================
   18. ACCORDION
   ============================================ */
.accordion { width: 100%; }

.accordion-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;
  background-color: var(--bg-white);
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: var(--transition);
  cursor: pointer;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  color: var(--accent);
  background-color: rgba(217,119,6,0.05);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.125);
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: transform 0.2s ease-in-out;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d97706'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-collapse {
  display: none;
}

.accordion-collapse.show {
  display: block;
}

.accordion-body {
  padding: 1.25rem;
}

/* ============================================
   19. NAVBAR
   ============================================ */
.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
}

.navbar > .container,
.navbar > .container-fluid {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  display: inline-block;
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  white-space: nowrap;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  display: none;
}

.navbar-collapse.show {
  display: block;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  .navbar-expand-lg .navbar-brand {
    flex-shrink: 0;
    margin-right: 0.5rem;
  }
}

/* ============================================
   20. DROPDOWNS
   ============================================ */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;
  list-style: none;
  background-color: var(--bg-white);
  background-clip: padding-box;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: var(--text-dark);
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    position: static;
    float: none;
    background-color: rgba(255,255,255,0.05);
    border: none;
    box-shadow: none;
    padding-left: 1.5rem;
    width: auto;
  }
  .dropdown-menu.show {
    display: block;
  }
  .dropdown-item {
    color: rgba(255,255,255,0.85);
  }
}

/* ============================================
   21. BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
  opacity: 0.9;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.btn-lg {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 0.375rem;
}

.btn-primary {
  color: #fff;
  background-color: #0f2c6a;
  border-color: #0f2c6a;
}

.btn-primary:hover {
  background-color: #0b2258;
  border-color: #0b2258;
}

.btn-warning {
  color: #000;
  background-color: #f59e0b;
  border-color: #f59e0b;
}

.btn-warning:hover {
  background-color: #d97706;
  border-color: #d97706;
}

.btn-danger {
  color: #fff;
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.btn-success {
  color: #fff;
  background-color: var(--success-color);
  border-color: var(--success-color);
}

.btn-outline-warning {
  color: #f59e0b;
  border-color: #f59e0b;
  background-color: transparent;
}

.btn-outline-warning:hover {
  color: #000;
  background-color: #f59e0b;
  border-color: #f59e0b;
}

.btn-outline-primary {
  color: #0f2c6a;
  border-color: #0f2c6a;
  background-color: transparent;
}

.btn-outline-primary:hover {
  color: #fff;
  background-color: #0f2c6a;
}

/* ============================================
   22. FORMS
   ============================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--bg-white);
  background-clip: padding-box;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  appearance: none;
}

.form-control:focus {
  color: var(--text-dark);
  background-color: var(--bg-white);
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(217,119,6,0.25);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.form-select {
  display: block;
  width: 100%;
  padding: 0.5rem 2.25rem 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--bg-white);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius);
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(217,119,6,0.25);
}

.form-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.form-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.5em;
  margin-bottom: 0.125rem;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

/* ============================================
   23. LIST GROUP
   ============================================ */
.list-group {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.list-group-item {
  position: relative;
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.list-group-item:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.list-group-item:last-child  { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; border-bottom: 0; }

.list-group-flush .list-group-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

/* ============================================
   24. MISC UTILITIES
   ============================================ */
.cursor-pointer { cursor: pointer; }
.user-select-none { user-select: none !important; }
.pe-none { pointer-events: none !important; }

.float-start { float: left !important; }
.float-end   { float: right !important; }
.clearfix::after { display: block; clear: both; content: ""; }

/* ============================================
   25. ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   THEME & DESIGN LAYER
   ============================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.08);
}

body {
  font-family: 'Outfit', 'Noto Sans Kannada', sans-serif;
  background-color: var(--bg-slate);
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kn-text {
  font-family: 'Noto Sans Kannada', sans-serif;
}

.text-blue {
  color: #0f2c6a !important;
}

/* ============================================
   2. GLASS CARD
   ============================================ */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
}

/* Card hover */
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ============================================
   3. HEADBAR (Top Info Bar)
   ============================================ */
.headbar {
  background-color: #010101;
  color: #fff;
  font-size: 0.8rem;
  padding: 8px 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.headbar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  
}

@media screen and (max-width: 768px) {
  .headbar {
    font-size: 0.75rem;
    padding: 6px 1rem;
  }
}

/* ============================================
   4. TITLE LOGO SECTION
   ============================================ */
.titlelogo {
  background-color: #559eff;
  color: #010101;
  padding: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-logo {
  width: 100px;
  height: 100px;
  
  

  display: block;
  margin-bottom: 10px;
  
}


.header-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff !important;
  margin: 0;
  text-transform: uppercase;
}

.header-subtext {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95) !important;
  margin: 2px 0 0 0;
  opacity: 0.95;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 768px) {
  .header-logo {
    width: 80px;
    height: 80px;
  }
  .header-title {
    font-size: 1.6rem;
  }
  .header-subtext {
    font-size: 0.8rem;
  }
  .titlelogo {
    padding: 16px 0;
  }
}

/* ============================================
   5. NAVBAR THEME
   ============================================ */
.navbar {
  background-color: var(--primary);
  border-bottom: none;
  padding: 6px 1rem;
}

.brand-hands-logo {
  width: 50px;
  height: auto;
  display: inline-block;
}

/* Dark navbar theme */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-light) !important;
}

.dropdown-toggle::after {
  display: none !important;
}

/* Desktop dropdown hover */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
  }
  .dropend:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 100%;
  }
}

/* Themed dropdown menu */
.dropdown-menu {
  background-color: #004889;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 8px;
}

.dropdown-item {
  background-color: #004889;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: #fff;
  color: #004889 !important;
}

/* Mobile dropdown */
@media (max-width: 991.98px) {
  .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
  .dropdown-item {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.85);
  }
  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-light) !important;
  }
}

/* Nav item styling */
.nav-item {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  padding: 2px 0;
}



@media (max-width: 991.98px) {
  .nav-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.brand {
  color: #fecf30;
  font-weight: 600;
}

/* ============================================
   6. HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  height: 550px;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  color: var(--bg-white);
  text-align: center;
  max-width: 900px;
  padding: 24px;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 350px;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* ============================================
   7. ARECANUT PRICE TICKER
   ============================================ */
.ticker-wrap {
  width: 100%;
  background-color: var(--primary-light);
  overflow: hidden;
  padding: 12px 0;
  border-bottom: 2px solid var(--accent);
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-ticker 25s linear infinite;
  color: #fff;
}

.ticker-item {
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.ticker-item strong {
  color: var(--accent-light);
  margin-left: 8px;
}

@keyframes scroll-ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ============================================
   8. FEATURES / SERVICES CARDS
   ============================================ */
.feature-card {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.glass-card:hover .feature-icon {
  background-color: var(--accent);
  color: var(--bg-white);
  transform: rotateY(180deg);
}

/* ============================================
   9. BLOCKQUOTE
   ============================================ */
.blockquote-wrapper {
  display: flex;
  background: linear-gradient(135deg, rgba(217,119,6,0.05) 0%, rgba(15,23,42,0.05) 100%);
  border-left: 5px solid var(--accent);
  padding: 30px;
  border-radius: 0 16px 16px 0;
  margin: 40px 0;
}

.blockquote {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  max-width: 620px;
  margin: 40px auto;
  align-self: center;
}

.blockquote h1 {
  position: relative;
  color: #0f2c6a;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  border: solid 2px #0F2C6A;
  border-radius: 20px;
  padding: 25px;
}

@media all and (min-width: 600px) {
  .blockquote h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

.blockquote h1::after {
  content: "";
  position: absolute;
  border: 2px solid #0F2C6A;
  border-radius: 0 50px 0 0;
  width: 60px;
  height: 60px;
  bottom: -62px;
  left: 50px;
  border-bottom: none;
  border-left: none;
  z-index: 3;
}

.blockquote h1::before {
  content: "";
  position: absolute;
  width: 80px;
  border: 6px solid #fff;
  bottom: -3px;
  left: 50px;
  z-index: 2;
}

.blockquote h4 {
  position: relative;
  color: #fb6231;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
  padding-top: 15px;
  z-index: 1;
  margin: 0 0 0 150px;
  padding-left: 12px;
}

.blockquote h4:first-letter {
  margin-left: -12px;
}

.blockquote span {
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   10. SECTION TITLE
   ============================================ */
.section-title {
  position: relative;
  margin-bottom: 40px;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* ============================================
   11. THEMED ACCORDION
   ============================================ */
.accordion-button:not(.collapsed) {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.accordion-button {
  font-weight: 500;
  color: var(--primary-light);
  border-radius: 8px !important;
}

.accordion-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* ============================================
   12. CALCULATOR WIDGET
   ============================================ */
.calc-container {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: #cbd5e1;
  outline: none;
  border-radius: 3px;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--accent-light);
}



.calc-result-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-box h3 {
  color: var(--accent-light);
  font-size: 2.2rem;
  margin: 10px 0;
  font-weight: 800;
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer-section {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px 0;
  border-top: 4px solid var(--accent);
}

.footer-section h5 {
  color: var(--bg-white);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.footer-section h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-section a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  background-color: var(--primary);
  padding: 20px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   14. FAB BUTTONS
   ============================================ */
.fab-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
  border: none;
}

.fab-top:hover {
  background-color: var(--accent-light);
  transform: translateY(-4px);
}

.fab-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #fdd833;
  color: #0f2c6a;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid #0F2C6A;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
}

.fab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   15. LANGUAGE TOGGLE
   ============================================ */
[data-lang] {
  transition: opacity 0.15s ease-in-out;
}

.lang-hidden {
  display: none !important;
}

/* ============================================
   16. BADGES & STATS
   ============================================ */
.stats-badge {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============================================
   17. GRADIENT CONTAINERS
   ============================================ */
.gradD-container {
  background: linear-gradient(110deg, rgba(255,255,255,1) 0%, rgba(55,80,133,1) 100%);
}

.gradR-container {
  background-color: #e5e5f7;
  opacity: 0.8;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, #e5e5f7 10px),
    repeating-linear-gradient(#FEFA3B55, #FEFA3B);
}

.roundgrids {
  background: linear-gradient(to right, rgba(210,255,82,1) 0%, rgba(145,232,66,0.54) 100%);
}

/* ============================================
   18. PARALLAX
   ============================================ */
.parallax {
  min-height: 700px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tsbg {
  background-color: rgba(0, 0, 0, 0.8);
}

/* ============================================
   19. MISC THEME STYLES
   ============================================ */

/* List group transparent */
.list-group li {
  background: transparent !important;
}

/* Arrow animation */
.arrow {
  animation-name: moveup;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
}

@keyframes moveup {
  0% { color: red; }
  100% { color: blue; }
}

/* Certificates border */
.setborder {
  border-style: groove;
  border-width: 20px;
  border-color: gold;
}

/* Scroll margin for anchor links */
.scroll-margin {
  scroll-margin-top: 100px;
}

/* Lazy image loader */
.intersectCont {
  display: block;
  width: 100%;
  height: 400px;
}

@media screen and (max-width: 600px) {
  .intersectCont {
    height: 100px;
  }
}

/* News container */
.newscontainer {
  width: 100%;
  height: 100%;
  margin: 2em auto;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.slider {
  top: 1em;
  position: relative;
  box-sizing: border-box;
  animation: slider-scroll 15s linear infinite;
  list-style-type: none;
  text-align: center;
}

.slider:hover {
  animation-play-state: paused;
}

@keyframes slider-scroll {
  0% { top: 10em; }
  100% { top: -16em; }
}

.newsul {
  max-height: 350px;
  background-color: #fff;
}

/* G-cards */
.g-cards {
  padding: 10px;
  margin: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
  height: 100%;
  max-width: 360px;
}

.g-card-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;
}

.g-cards:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.sub-text {
  color: violet;
  font-size: small;
}

.pbutton {
  background-color: purple;
  color: #fff;
}

/* Mobile side nav */
.sidenav {
  position: absolute;
  display: flex;
  flex-direction: column;
  background-color: #010101;
  height: 200%;
  width: 300px;
  margin-left: -380px;
  transition: all ease-in-out 0.3s;
  z-index: 1;
}

.sidenav.slide {
  margin-left: 0;
}

.menu {
  padding: 0 0 0 5px;
}

/* Loader animation */
.loader, .loader:before, .loader:after {
  background: #4f6e96;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loader {
  color: #4f6e96;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  transform: translateZ(0);
  animation-delay: -0.16s;
}

.loader:before, .loader:after {
  position: absolute;
  top: 0;
  content: "";
}

.loader:before {
  left: -1.5em;
  animation-delay: -0.32s;
}

.loader:after {
  left: 1.5em;
}

@keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

/* ============================================
   MERGED FROM CUSTOM.CSS
   ============================================ */

/* ============================================
   1. BASE THEME
   ============================================ */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-rgb: 15, 23, 42;
  --accent: #d97706;
  --accent-light: #f59e0b;
  --accent-rgb: 217, 119, 6;
  --secondary: #0d9488;
  --bg-slate: #f8fafc;
  --bg-white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(15, 23, 42, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Outfit', 'Noto Sans Kannada', sans-serif;
  background-color: var(--bg-slate);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kn-text {
  font-family: 'Noto Sans Kannada', sans-serif;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.text-blue {
  color: #0f2c6a !important;
}

/* ============================================
   2. GLASS CARD
   ============================================ */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border-color: rgba(217, 119, 6, 0.2);
}

/* Card hover */
.card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ============================================
   3. HEADBAR (Top Info Bar)
   ============================================ */
.headbar {
  background-color: var(--primary);
  color: var(--bg-slate);
  font-size: 0.85rem;
  padding: 8px 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.headbar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition);
}

.headbar a:hover {
  color: var(--accent-light);
}

@media screen and (max-width: 768px) {
  .headbar {
    font-size: 0.75rem;
    padding: 6px 1rem;
  }
}

/* ============================================
   4. TITLE LOGO SECTION
   ============================================ */
.titlelogo {
  background: var(--primary);
  color: var(--bg-white);
  padding: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.titlelogo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65); /* Deep semi-transparent overlay to ensure contrast */
  z-index: 2;
  pointer-events: none;
}

.titlelogo-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.titlelogo .container {
  position: relative;
  z-index: 3;
}

.titlelogo::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(217,119,6,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.titlelogo img {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: var(--transition);
  display: inline-block;
}


.titlelogo h1 {
  font-size: 2.2rem;
  margin-top: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(to right, #ffffff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media screen and (max-width: 768px) {
  .titlelogo img {
    height: 60px;
  }
  .titlelogo h1 {
    font-size: 1.4rem;
  }
  .titlelogo {
    padding: 16px 0;
  }
}

/* ============================================
   5. NAVBAR THEME
   ============================================ */
.glass-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}

/* Dark navbar theme */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-light) !important;
}

.dropdown-toggle::after {
  display: none !important;
}

/* Desktop dropdown hover */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
  }
  .dropend:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    position: absolute;
    top: 0;
    left: 100%;
  }
}

/* Themed dropdown menu */
.dropdown-menu {
  background-color: #004889;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 8px;
}

.dropdown-item {
  background-color: #004889;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: #fff;
  color: #004889 !important;
}

/* Mobile dropdown */
@media (max-width: 991.98px) {
  .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
  .dropdown-item {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.85);
  }
  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-light) !important;
  }
}

/* Nav item styling */
.nav-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 0;
}

@media (max-width: 991.98px) {
  .nav-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.brand {
  color: #fecf30;
  font-weight: 600;
}

/* ============================================
   6. HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  height: 550px;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  color: var(--bg-white);
  text-align: center;
  max-width: 900px;
  padding: 24px;
}

.hero-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .hero-slider {
    height: 350px;
  }
  .hero-content h2 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* ============================================
   7. ARECANUT PRICE TICKER
   ============================================ */
.ticker-wrap {
  width: 100%;
  background-color: var(--primary-light);
  overflow: hidden;
  padding: 12px 0;
  border-bottom: 2px solid var(--accent);
}

.ticker-content {
  display: inline-flex;
  white-space: nowrap;
  animation: scroll-ticker 25s linear infinite;
  color: #fff;
}

.ticker-item {
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.ticker-item strong {
  color: var(--accent-light);
  margin-left: 8px;
}

@keyframes scroll-ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ============================================
   8. FEATURES / SERVICES CARDS
   ============================================ */
.feature-card {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  height: 100%;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.glass-card:hover .feature-icon {
  background-color: var(--accent);
  color: var(--bg-white);
  transform: rotateY(180deg);
}

/* ============================================
   9. BLOCKQUOTE
   ============================================ */
.blockquote-wrapper {
  display: flex;
  background: linear-gradient(135deg, rgba(217,119,6,0.05) 0%, rgba(15,23,42,0.05) 100%);
  border-left: 5px solid var(--accent);
  padding: 30px;
  border-radius: 0 16px 16px 0;
  margin: 40px 0;
}

.blockquote {
  position: relative;
  font-family: 'Barlow Condensed', sans-serif;
  max-width: 620px;
  margin: 40px auto;
  align-self: center;
}

.blockquote h1 {
  position: relative;
  color: #0f2c6a;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  border: solid 2px #0F2C6A;
  border-radius: 20px;
  padding: 25px;
}

@media all and (min-width: 600px) {
  .blockquote h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
}

.blockquote h1::after {
  content: "";
  position: absolute;
  border: 2px solid #0F2C6A;
  border-radius: 0 50px 0 0;
  width: 60px;
  height: 60px;
  bottom: -62px;
  left: 50px;
  border-bottom: none;
  border-left: none;
  z-index: 3;
}

.blockquote h1::before {
  content: "";
  position: absolute;
  width: 80px;
  border: 6px solid #fff;
  bottom: -3px;
  left: 50px;
  z-index: 2;
}

.blockquote h4 {
  position: relative;
  color: #fb6231;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
  padding-top: 15px;
  z-index: 1;
  margin: 0 0 0 150px;
  padding-left: 12px;
}

.blockquote h4:first-letter {
  margin-left: -12px;
}

.blockquote span {
  color: var(--accent);
  font-weight: 700;
}

/* ============================================
   10. SECTION TITLE
   ============================================ */
.section-title {
  position: relative;
  margin-bottom: 40px;
  font-weight: 800;
  color: var(--primary);
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* ============================================
   11. THEMED ACCORDION
   ============================================ */
.accordion-button:not(.collapsed) {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.accordion-button {
  font-weight: 500;
  color: var(--primary-light);
  border-radius: 8px !important;
}

.accordion-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* ============================================
   12. CALCULATOR WIDGET
   ============================================ */
.calc-container {
  background: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.calc-slider {
  width: 100%;
  height: 6px;
  background: #cbd5e1;
  outline: none;
  border-radius: 3px;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: var(--transition);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--accent-light);
}

.calc-result-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-box h3 {
  color: var(--accent-light);
  font-size: 2.2rem;
  margin: 10px 0;
  font-weight: 800;
}

/* ============================================
   13. FOOTER
   ============================================ */
.footer-section {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px 0;
  border-top: 4px solid var(--accent);
}

.footer-section h5 {
  color: var(--bg-white);
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
}

.footer-section h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  margin-bottom: 12px;
}

.footer-section a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  background-color: var(--primary);
  padding: 20px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   14. FAB BUTTONS
   ============================================ */
.fab-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
  border: none;
}

.fab-top:hover {
  background-color: var(--accent-light);
  transform: translateY(-4px);
}

.fab-button {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: #fdd833;
  color: #0f2c6a;
  font-size: 1.2rem;
  font-weight: 600;
  border: 1px solid #0F2C6A;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: var(--transition);
}

.fab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ============================================
   15. LANGUAGE TOGGLE
   ============================================ */
[data-lang] {
  transition: opacity 0.15s ease-in-out;
}

.lang-hidden {
  display: none !important;
}

/* ============================================
   16. BADGES & STATS
   ============================================ */
.stats-badge {
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ============================================
   17. GRADIENT CONTAINERS
   ============================================ */
.gradD-container {
  background: linear-gradient(110deg, rgba(255,255,255,1) 0%, rgba(55,80,133,1) 100%);
}

.gradR-container {
  background-color: #e5e5f7;
  opacity: 0.8;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, #e5e5f7 10px),
    repeating-linear-gradient(#FEFA3B55, #FEFA3B);
}

.roundgrids {
  background: linear-gradient(to right, rgba(210,255,82,1) 0%, rgba(145,232,66,0.54) 100%);
}

/* ============================================
   18. PARALLAX
   ============================================ */
.parallax {
  min-height: 700px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.tsbg {
  background-color: rgba(0, 0, 0, 0.8);
}

/* ============================================
   19. MISC THEME STYLES
   ============================================ */

/* List group transparent */
.list-group li {
  background: transparent !important;
}

/* Arrow animation */
.arrow {
  animation-name: moveup;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
}

@keyframes moveup {
  0% { color: red; }
  100% { color: blue; }
}

/* Certificates border */
.setborder {
  border-style: groove;
  border-width: 20px;
  border-color: gold;
}

/* Scroll margin for anchor links */
.scroll-margin {
  scroll-margin-top: 100px;
}

/* Lazy image loader */
.intersectCont {
  display: block;
  width: 100%;
  height: 400px;
}

@media screen and (max-width: 600px) {
  .intersectCont {
    height: 100px;
  }
}

/* News container */
.newscontainer {
  width: 100%;
  height: 100%;
  margin: 2em auto;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.slider {
  top: 1em;
  position: relative;
  box-sizing: border-box;
  animation: slider-scroll 15s linear infinite;
  list-style-type: none;
  text-align: center;
}

.slider:hover {
  animation-play-state: paused;
}

@keyframes slider-scroll {
  0% { top: 10em; }
  100% { top: -16em; }
}

.newsul {
  max-height: 350px;
  background-color: #fff;
}

/* G-cards */
.g-cards {
  padding: 10px;
  margin: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 0.3s;
  height: 100%;
  max-width: 360px;
}

.g-card-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 15px;
}

.g-cards:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.sub-text {
  color: violet;
  font-size: small;
}

.pbutton {
  background-color: purple;
  color: #fff;
}

/* Mobile side nav */
.sidenav {
  position: absolute;
  display: flex;
  flex-direction: column;
  background-color: #010101;
  height: 200%;
  width: 300px;
  margin-left: -380px;
  transition: all ease-in-out 0.3s;
  z-index: 1;
}

.sidenav.slide {
  margin-left: 0;
}

.menu {
  padding: 0 0 0 5px;
}

/* Loader animation */
.loader, .loader:before, .loader:after {
  background: #4f6e96;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}

.loader {
  color: #4f6e96;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  transform: translateZ(0);
  animation-delay: -0.16s;
}

.loader:before, .loader:after {
  position: absolute;
  top: 0;
  content: "";
}

.loader:before {
  left: -1.5em;
  animation-delay: -0.32s;
}

.loader:after {
  left: 1.5em;
}

@keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}

/* ============================================
   20. POWERED BY E-TECHNOLOGY POPUP
   ============================================ */
.powered-by-e-technology {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  margin: -5px -10px;
}

.e-tech-link {
  transition: color 0.2s ease-in-out;
}

.e-tech-popup {
  position: absolute;
  bottom: calc(100% + 15px);
  right: 10px; /* Offset slightly because of the container's margin shift */
  width: 280px;
  background-color: #1a1b20;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  padding: 20px;
  text-align: center;
  
  /* Smooth transition with a delay to prevent sensitive hiding/flicker */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.25s;
  transition-delay: 0.2s; /* 200ms delay before starting to hide */
}

/* Invisible bridge to prevent losing hover when moving mouse to the card */
.e-tech-popup::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -40px;
  right: -40px;
  height: 40px;
  background-color: transparent;
}

/* Arrow pointer */
.e-tech-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 20px;
  border-width: 8px;
  border-style: solid;
  border-color: #1a1b20 transparent transparent transparent;
}

.powered-by-e-technology:hover .e-tech-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s; /* Show instantly on hover */
}

.popup-content h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin: 5px 0 2px 0;
  font-weight: 700;
}

.popup-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  height: 70px;
}

.popup-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.fallback-logo {
  width: 50px;
  height: 50px;
  background-color: #fdd833;
  color: #0f2c6a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto;
}

.popup-subtitle {
  color: #a0a0a5;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.popup-contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: left;
}

.popup-contact-info p {
  margin: 5px 0;
  font-size: 0.85rem;
  color: #d0d0d5;
}

.popup-contact-info p i {
  color: #fdd833;
  margin-right: 8px;
}

.popup-contact-btn {
  background-color: #fdd833 !important;
  color: #0f2c6a !important;
  border: none !important;
  font-weight: 700 !important;
  padding: 8px 16px;
  border-radius: 6px;
  width: 100%;
  transition: all 0.2s ease-in-out !important;
}

.popup-contact-btn:hover {
  background-color: #e6c222 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(253, 216, 51, 0.2);
}

/* ============================================
   20. SOCIAL MEDIA ICONS
   ============================================ */
.footer-section .social-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0 !important; /* Override general footer links bottom margin */
}

.footer-section .social-icon i {
  display: inline-block;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.footer-section .social-icon:hover {
  color: #ffffff !important;
  transform: translateY(-4px) !important; /* Override general footer links horizontal translation */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
}

.footer-section .social-icon.facebook:hover {
  background-color: #1877F2 !important;
  border-color: #1877F2 !important;
}

.footer-section .social-icon.twitter:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
}

.footer-section .social-icon.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
}

.footer-section .social-icon.youtube:hover {
  background-color: #FF0000 !important;
  border-color: #FF0000 !important;
}

.footer-section .social-icon.linkedin:hover {
  background-color: #0077B5 !important;
  border-color: #0077B5 !important;
}

/* ============================================
   21. HERO CAROUSEL OPTIMIZATION
   ============================================ */
#carouselslides .carousel-item img {
  height: 550px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

#carouselslides_sm .carousel-item img {
  height: 350px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

@media (max-width: 768px) {
  #carouselslides_sm .carousel-item img {
    height: 300px;
  }
}

/* ============================================
   22. TEAM PROFILE CARDS
   ============================================ */
.team-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1) !important;
  border-color: rgba(217, 119, 6, 0.15) !important;
}

.team-card img {
  transition: all 0.3s ease-in-out !important;
}

.team-card:hover img {
  transform: scale(1.05) !important;
}

/* ============================================
   23. FOOTER WHITE TEXT FORCE
   ============================================ */
.footer-section,
.footer-section p:not(.popup-subtitle):not(.e-tech-popup *),
.footer-section span:not(.e-tech-popup *),
.footer-section a:not(.e-tech-link):not(.social-icon):not(.e-tech-popup *),
.footer-section .text-white-50:not(.e-tech-link):not(.social-icon):not(.e-tech-popup *) {
  color: #ffffff !important;
}

.footer-section a:not(.e-tech-link):not(.social-icon):not(.e-tech-popup *):hover {
  color: var(--accent-light) !important;
}