/* ==========================================================================
   DevbyKiran — Ultra-Premium Luxury Dark Design System v3.0
   - Unified Museum-Grade Dark Palette (Obsidian + Carbon + Radiant Ember)
   - Hero Center Video with Ambient Glow & Auto Scroll Play/Pause
   - Chapter-Wise Project View Formation (Alternating Left/Right Timeline)
   - Clean Luxury Certifications (Zero Hover Image, Rich Card State)
   - Frosted Glassmorphism, Micro-Animations & Responsive Proportions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ==========================================================================
   1. Design System Tokens & Global Theme
   ========================================================================== */
:root {
  /* Canvas & Surfaces */
  --bg-deep: #07080b;
  --bg-canvas: #090a0f;
  --bg-surface: #0e0f16;
  --bg-surface-elevated: #141620;
  --bg-surface-card: #181a26;

  /* Glassmorphism */
  --bg-glass-subtle: rgba(255, 255, 255, 0.025);
  --bg-glass-medium: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.16);
  --border-glass-glow: rgba(255, 87, 34, 0.4);

  /* Accents */
  --accent-primary: #ff5722;
  --accent-hover: #ff7043;
  --accent-light: #ff8a65;
  --accent-gradient: linear-gradient(135deg, #ff5722 0%, #ff7849 50%, #ffa726 100%);
  --accent-glow: rgba(255, 87, 34, 0.28);
  --accent-glow-subtle: rgba(255, 87, 34, 0.12);

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-heading: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  /* Fonts (Inspired by High-Impact Modern SaaS Reference) */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --heading-font: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   2. Global Reset, Backgrounds & Viewport
   ========================================================================== */
html {
  scroll-behavior: auto !important;
  /* GSAP ScrollSmoother compatibility */
  overflow-x: clip !important;
  background-color: var(--bg-deep) !important;
}

body {
  background-color: var(--bg-deep) !important;
  color: var(--text-body) !important;
  font-family: var(--font-sans) !important;
  overflow-x: clip !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#smooth-wrapper,
#smooth-content {
  overflow-x: clip !important;
  width: 100% !important;
  background-color: var(--bg-deep) !important;
}

/* Unified Container */
.tw-container-1800-px {
  max-width: 1380px !important;
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: clamp(16px, 3vw, 40px) !important;
}

/* Unified Section Spacings */
.py-120 {
  padding-block: clamp(56px, 7vh, 96px) !important;
}

.pt-120 {
  padding-block-start: clamp(56px, 7vh, 96px) !important;
}

.pb-120 {
  padding-block-end: clamp(56px, 7vh, 96px) !important;
}

.tw-pb-22 {
  padding-block-end: clamp(48px, 6vh, 80px) !important;
}

.tw-mb-21 {
  margin-block-end: clamp(32px, 4.5vh, 56px) !important;
}

.tw-pt-17 {
  padding-block-start: clamp(28px, 3.5vh, 48px) !important;
  padding-block-end: clamp(28px, 3.5vh, 48px) !important;
}

/* Headings text reset & Harmonized Typography Scale (Oswald Grotesque) */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.text-heading,
.font-heading,
.title,
.section-title,
.banner-three-title,
.banner-three-left-title,
.banner-three-counter-title,
.about-three-title,
.service-three-title,
.service-three-title a,
.portfolio-three-title,
.portfolio-three-shape-title,
.testimonial-three-title,
.pricing-three-title,
.blog-three-title,
.contact-three-title,
.section-chapter-title,
.chapter-title,
.chapter-title a,
.award-clean-platform,
.award-clean-num,
.tw-counter,
.purecounter,
.tw-itm-title,
.tw-hover-btn,
.tw-btn-circle-icon {
  color: var(--text-heading) !important;
  font-family: var(--font-display) !important;
  letter-spacing: 0.02em;
}

p,
.text-body,
.font-body,
.about-three-right p,
.testimonial-three-paragraph,
.banner-three-counter-paragraph,
.hero-role-text,
.banner-three-list li,
.chapter-desc,
.award-clean-title,
input,
textarea,
select {
  color: var(--text-body);
  font-family: var(--font-sans) !important;
}

/* Harmonized Typography Scale across Sections */
.tw-text-15 {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
}

.about-three-title {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  max-width: 960px !important;
  margin-inline: auto !important;
}

.service-three-title,
.service-three-title a {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
}

.testimonial-three-title {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem) !important;
  line-height: 1.35 !important;
}

.banner-three-left-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  line-height: 1.3 !important;
}

.banner-three-counter-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem) !important;
  line-height: 1 !important;
}

.banner-three-counter-paragraph {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
}

.about-three-right p,
.testimonial-three-paragraph {
  font-size: clamp(0.95rem, 1.15vw, 1.05rem) !important;
  line-height: 1.65 !important;
}

/* Fix Hero collision with About stats: Prevent negative offset from pulling into hero */
.about-three-wrap-shape {
  display: none !important;
  position: static !important;
  inset-block-start: 0 !important;
}

/* Compact Ultra-Sleek Auto Scroller (Marquee) */
.marquee,
.krn-marquee {
  background: #08090d !important;
  border-top: 1px solid var(--border-glass) !important;
  border-bottom: 1px solid var(--border-glass) !important;
  padding-block: 14px !important;
  overflow: hidden !important;
}

.marquee_left {
  gap: 24px !important;
  display: flex !important;
  align-items: center !important;
}

.marquee-two-title,
.marquee-three-title,
.krn-marquee-text {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-family: var(--font-display) !important;
  margin: 0 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.marquee-three-title.text-stroke,
.krn-text-stroke {
  -webkit-text-stroke-width: 1px !important;
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.4) !important;
  color: transparent !important;
}

.krn-marquee-dot {
  color: var(--accent-primary) !important;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  opacity: 0.9;
}

.krn-text-accent {
  color: var(--accent-primary) !important;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Watermarks & Huge Titles */
.banner-three-title {
  font-size: clamp(2.8rem, 9vw, 9rem) !important;
  line-height: 0.85 !important;
  letter-spacing: -0.04em !important;
  text-align: center !important;
  margin-inline: auto !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  user-select: none !important;
  pointer-events: none !important;
  font-weight: 900 !important;
  position: absolute !important;
  top: 15px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 0 !important;
  opacity: 0.08 !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.04) 75%, transparent 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.portfolio-three-shape {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
  user-select: none !important;
  z-index: 0 !important;
}

.portfolio-three-shape-title {
  font-size: clamp(2.5rem, 8vw, 7rem) !important;
  max-width: 100% !important;
  overflow: hidden !important;
  user-select: none !important;
  pointer-events: none !important;
  color: transparent !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 80%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

.footer-three-bottom-title {
  font-size: clamp(2.5rem, 8vw, 7.5rem) !important;
  line-height: 0.88 !important;
  letter-spacing: -0.03em !important;
  text-align: center !important;
  max-width: 100% !important;
  user-select: none !important;
  pointer-events: none !important;
  text-transform: capitalize !important;
  color: rgba(255, 255, 255, 0.06) !important;
}

/* ==========================================================================
   3. Header & Navigation (Ultra-Sleek Frosted Glass)
   ========================================================================== */
.header-three {
  background: rgba(7, 8, 11, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-glass) !important;
  position: sticky !important;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

.header-three-logo {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.header-three-logo a {
  display: inline-flex !important;
  align-items: center !important;
}

.header-three-logo img {
  display: block !important;
  max-height: 42px !important;
  width: auto !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) !important;
}

.header-nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-desktop a {
  font-family: var(--font-display) !important;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
  padding-block: 8px;
  transition: color 0.25s ease;
  display: inline-block;
  text-decoration: none;
}

.header-nav-desktop a:hover {
  color: var(--text-pure) !important;
}

.header-nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.header-nav-desktop a:hover::after {
  width: 100%;
}

.header-right {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.header-three-button {
  margin: 0 !important;
  display: none !important;
}

@media (min-width: 992px) {
  .header-three-button {
    display: inline-flex !important;
    align-items: center !important;
  }
}

.header-three-button a {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px var(--accent-glow) !important;
  border: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: var(--font-display) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.header-three-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 87, 34, 0.45) !important;
}

.header-three-menu {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.header-three-menu .tw-offcanvas-open-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-three-menu .tw-offcanvas-open-btn:hover {
  background: rgba(255, 87, 34, 0.18) !important;
  border-color: rgba(255, 87, 34, 0.5) !important;
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.35) !important;
  transform: scale(1.04) !important;
}

/* ==========================================================================
   3.1 Ultra-Premium Right Popout Navigation Drawer (Sectional Coverage)
   ========================================================================== */

/* Area Container: Fixed Viewport Overlay */
.tw-offcanvas-2-area {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: visibility 0s 0.45s;
}

.tw-offcanvas-2-area.opened {
  visibility: visible !important;
  pointer-events: auto !important;
  transition: visibility 0s 0s;
}

/* Neutralize legacy main.css full-screen split curtains */
.tw-offcanvas-2-bg,
.tw-offcanvas-2-wrapper,
.tw-offcanvas-2-left,
.tw-offcanvas-2-right {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* 1. Backdrop Blur Overlay (Covers the remaining section of the screen) */
.tw-offcanvas-backdrop {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(5, 7, 12, 0.65) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  z-index: 1 !important;
}

.tw-offcanvas-2-area.opened .tw-offcanvas-backdrop {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 2. Popout Right Drawer (Covers ONLY a portion of the screen on the right) */
.tw-offcanvas-drawer {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 450px !important;
  max-width: 90vw !important;
  height: 100% !important;
  height: 100dvh !important;
  background: linear-gradient(180deg, #11131c 0%, #090a10 100%) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: -25px 0 70px rgba(0, 0, 0, 0.8), -1px 0 0 rgba(255, 87, 34, 0.22) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translate3d(105%, 0, 0) !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform !important;
  z-index: 2 !important;
  overflow: hidden !important;
  pointer-events: auto !important;
}

.tw-offcanvas-2-area.opened .tw-offcanvas-drawer {
  transform: translate3d(0, 0, 0) !important;
}

/* Reset rogue padding from legacy main.css */
.tw-offcanvas-2-area .twoffcanvas__logo,
.tw-offcanvas-header .twoffcanvas__logo,
.tw-offcanvas-header-logo {
  padding: 0 !important;
  margin: 0 !important;
}

/* Drawer Header: Compact Luxury Glassmorphism Top Bar */
.tw-offcanvas-header {
  padding: 10px 20px !important;
  min-height: 52px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(18, 20, 30, 0.55) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.09), 0 8px 24px -4px rgba(0, 0, 0, 0.45) !important;
  position: relative !important;
  z-index: 10 !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.tw-offcanvas-header .tw-offcanvas-header-logo a,
.tw-offcanvas-header .twoffcanvas__logo a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tw-offcanvas-header .tw-offcanvas-header-logo a img,
.tw-offcanvas-header .twoffcanvas__logo a img {
  max-height: 28px !important;
  height: 28px !important;
  width: auto !important;
  display: block !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5)) !important;
}

.tw-offcanvas-2-close-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  cursor: pointer !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  outline: none !important;
}

.tw-offcanvas-2-close-btn .close-icon-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #ffffff !important;
  transition: transform 0.3s ease !important;
}

.tw-offcanvas-2-close-btn .close-icon-wrap svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #ffffff !important;
}

.tw-offcanvas-2-close-btn:hover {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 18px rgba(255, 87, 34, 0.45) !important;
  transform: rotate(90deg) scale(1.05) !important;
}

.tw-offcanvas-2-close-btn:hover .close-icon-wrap {
  background: var(--accent-primary) !important;
  color: #ffffff !important;
  transform: rotate(90deg) !important;
}

/* Drawer Scrollable Body */
.tw-offcanvas-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 16px 22px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent !important;
}

.tw-offcanvas-body::-webkit-scrollbar {
  width: 5px;
}

.tw-offcanvas-body::-webkit-scrollbar-track {
  background: transparent;
}

.tw-offcanvas-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.tw-offcanvas-body::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Section Headings */
.tw-offcanvas-block-heading {
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.tw-offcanvas-block-heading span {
  font-family: var(--font-sans) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  color: var(--text-faint) !important;
}

.tw-offcanvas-block-heading::after {
  content: "" !important;
  flex: 1 !important;
  height: 1px !important;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%) !important;
}

/* Navigation Links (Populated into .tw-main-menu-mobile by main.js) */
.tw-offcanvas-drawer .tw-main-menu-mobile {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.tw-offcanvas-drawer .tw-main-menu-mobile > nav {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
}

.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: left !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:last-child {
  border-bottom: none !important;
}

/* Stagger entrance on open */
.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li {
  opacity: 1;
  transform: translateX(0);
}

.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:nth-child(1) { transition-delay: 0.10s; }
.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:nth-child(2) { transition-delay: 0.14s; }
.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:nth-child(3) { transition-delay: 0.18s; }
.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:nth-child(4) { transition-delay: 0.22s; }
.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:nth-child(5) { transition-delay: 0.26s; }
.tw-offcanvas-2-area.opened .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li:nth-child(6) { transition-delay: 0.30s; }

/* Completely Remove ALL Numbers (pseudo ::before elements and counters) */
.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li > a::before,
.tw-offcanvas-2-area .tw-main-menu-mobile > nav > ul > li > a::before {
  display: none !important;
  content: none !important;
}

/* Align Navigations with lighter font weight and refined smaller size */
.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li > a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 10px 14px !important;
  margin-left: -14px !important;
  margin-right: -14px !important;
  font-size: 15px !important;
  font-family: var(--font-sans) !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #e2e8f0 !important;
  text-align: left !important;
  border: 1px solid transparent !important;
  border-top: none !important;
  border-radius: 8px !important;
  background: transparent !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}

/* Arrow Indicator on the Right */
.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li > a::after {
  content: "\2192" !important;
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--accent-primary) !important;
  opacity: 0 !important;
  transform: translateX(-8px) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Frosted Card Hover with Subtle Slide & Arrow Reveal */
.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li > a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  padding-left: 18px !important;
  transform: translateX(3px) !important;
}

.tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li > a:hover::after {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Contact List */
.tw-offcanvas-contact-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.tw-offcanvas-contact-list li {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 10px !important;
  transition: all 0.25s ease !important;
}

.tw-offcanvas-contact-list li:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 87, 34, 0.3) !important;
  transform: translateX(3px) !important;
}

.tw-offcanvas-contact-list .contact-icon {
  width: 32px !important;
  height: 32px !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  background: rgba(255, 87, 34, 0.12) !important;
  color: var(--accent-primary) !important;
  border: 1px solid rgba(255, 87, 34, 0.25) !important;
  font-size: 16px !important;
}

.tw-offcanvas-contact-list a {
  font-family: var(--font-sans) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--text-body) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
  word-break: break-word !important;
}

.tw-offcanvas-contact-list li:hover a {
  color: #ffffff !important;
}

/* Social Pills & CTA */
.tw-offcanvas-social-pills {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 18px 0 !important;
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.tw-offcanvas-social-pills li {
  flex: 1 1 auto !important;
}

.tw-offcanvas-social-pills a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  font-family: var(--font-sans) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--text-muted) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.tw-offcanvas-social-pills a:hover {
  background: rgba(255, 87, 34, 0.12) !important;
  border-color: rgba(255, 87, 34, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.2) !important;
}

.tw-offcanvas-cta-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  border-radius: 10px !important;
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px var(--accent-glow) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tw-offcanvas-cta-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5) !important;
  color: #ffffff !important;
}

.tw-offcanvas-cta-btn i {
  font-size: 16px;
  transition: transform 0.25s ease;
}

.tw-offcanvas-cta-btn:hover i {
  transform: translate(2px, -2px);
}

/* Header 3x3 Dot Toggle Button Hover & Active States */
.header-three-menu .tw-offcanvas-open-btn {
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header-three-menu .tw-offcanvas-open-btn:hover {
  border-color: rgba(255, 87, 34, 0.6) !important;
  box-shadow: 0 4px 20px rgba(255, 87, 34, 0.35) !important;
  transform: scale(1.05) !important;
}

.header-three-menu .tw-offcanvas-open-btn:active {
  transform: scale(0.96) !important;
}

.header-three-menu .tw-offcanvas-open-btn.is-active {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 20px var(--accent-glow) !important;
  background: var(--bg-surface-card) !important;
}

/* Responsive adjustments */
@media screen and (max-width: 575px) {
  .tw-offcanvas-drawer {
    width: min(390px, 88vw) !important;
  }

  .tw-offcanvas-header {
    padding: 8px 16px !important;
    min-height: 48px !important;
  }

  .tw-offcanvas-body {
    padding: 14px 16px 24px !important;
    gap: 18px !important;
  }

  .tw-offcanvas-drawer .tw-main-menu-mobile > nav > ul > li > a {
    font-size: 18px !important;
    padding: 10px 12px !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
  }
}

/* ==========================================================================
   4. Hero Section & Centered Video Showcase
   ========================================================================== */
.banner-three-area {
  position: relative;
  overflow: hidden;
  padding-top: clamp(80px, 10vh, 120px) !important;
  padding-bottom: clamp(40px, 5vh, 72px) !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 30%, #12131f 0%, var(--bg-deep) 70%) !important;
}

/* Ambient Glow Orbs */
.hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(100px);
}

.hero-orb-1 {
  width: clamp(320px, 35vw, 560px);
  height: clamp(320px, 35vw, 560px);
  background: radial-gradient(circle, rgba(255, 87, 34, 0.22) 0%, transparent 70%);
  top: -60px;
  left: -80px;
  animation: orbFloat1 9s ease-in-out infinite alternate;
}

.hero-orb-2 {
  width: clamp(280px, 30vw, 500px);
  height: clamp(280px, 30vw, 500px);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, transparent 70%);
  bottom: -40px;
  right: -60px;
  animation: orbFloat2 11s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(40px, 30px) scale(1.08);
  }
}

@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-30px, -40px) scale(1.1);
  }
}

/* 3-Column Hero Grid */
.banner-three-wrap {
  display: grid !important;
  grid-template-columns: 320px 1fr 280px !important;
  align-items: center !important;
  gap: clamp(20px, 2.5vw, 36px) !important;
  position: relative !important;
  z-index: 2 !important;
}

/* LEFT COLUMN — Info Card */
.banner-three-left {
  display: block !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 24px !important;
  padding: 28px 24px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
  backdrop-filter: blur(12px);
  max-width: 100% !important;
  margin-block-end: 0 !important;
}

.banner-three-left:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-bright) !important;
}

.banner-three-left-title {
  color: var(--text-heading) !important;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem) !important;
  line-height: 1.35 !important;
  margin-bottom: 14px !important;
}

.hero-role-text {
  font-size: clamp(0.85rem, 0.95vw, 1rem) !important;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
}

.banner-three-list {
  max-width: 100% !important;
  width: 100% !important;
}

.banner-three-list li {
  font-size: 13.5px !important;
  margin-bottom: 9px !important;
  color: var(--text-body) !important;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-cta-group .tw-hover-btn {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px var(--accent-glow) !important;
  border: none !important;
}

.hero-cta-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-cta-link:hover {
  color: #ffffff;
  gap: 9px;
}

/* CENTER COLUMN — Hero Video Showcase */
.hero-video-center {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative;
  z-index: 2;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.hero-video-glow {
  position: absolute;
  inset: -16px;
  background: radial-gradient(ellipse at center, rgba(255, 87, 34, 0.28) 0%, rgba(99, 102, 241, 0.1) 50%, transparent 75%);
  border-radius: 32px;
  pointer-events: none;
  z-index: 0;
  animation: heroVideoGlow 5s ease-in-out infinite alternate;
}

@keyframes heroVideoGlow {
  0% {
    opacity: 0.65;
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.hero-video-card {
  position: relative;
  z-index: 1;
  width: 100% !important;
  aspect-ratio: 9 / 13.5 !important;
  max-height: clamp(400px, 66vh, 620px) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border-glass-bright) !important;
  background: #000000;
}

.hero-video-card video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 24px !important;
}

.hero-video-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #11121a;
  color: #ffffff;
  border: 1px solid var(--border-glass-bright);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.hero-video-tag i {
  color: var(--accent-primary);
}

/* Video Control Bar */
.video-action-bar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: rgba(10, 11, 16, 0.82) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  z-index: 5;
}

.video-ctrl-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-ctrl-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: scale(1.1);
}

.video-open-modal-btn {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--accent-glow);
  transition: all 0.25s ease;
}

.video-open-modal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

/* RIGHT COLUMN — Stats Cards */
.banner-three-right {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-block-end: 0 !important;
  max-width: 100% !important;
}

.banner-three-counter-item {
  padding: 16px 20px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
  max-width: 100% !important;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.banner-three-counter-item:hover {
  transform: translateX(4px);
  border-color: var(--border-glass-bright) !important;
}

.banner-three-counter-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.banner-three-counter-paragraph {
  color: var(--text-muted) !important;
  font-size: 13.5px !important;
  margin: 0 !important;
}

.hero-exp-badge {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.22) 0%, rgba(255, 112, 67, 0.1) 100%) !important;
  border: 1px solid var(--border-glass-glow) !important;
  text-align: center;
}

.hero-exp-badge p {
  color: var(--text-heading) !important;
  font-weight: 600 !important;
}

.hero-exp-num {
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

/* Badges */
.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: rgba(255, 87, 34, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(255, 87, 34, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  transition: all 0.25s ease;
}

.dev-badge:hover {
  background: rgba(255, 87, 34, 0.2);
  transform: translateY(-1px);
}

/* ==========================================================================
   5. About Section (Unified Deep Velvet)
   ========================================================================== */
.about-three-area {
  background: var(--bg-deep) !important;
  border-top: 1px solid var(--border-glass);
}

.about-three-title {
  color: var(--text-heading) !important;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  max-width: 920px !important;
  margin-inline: auto !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

.about-three-shape {
  pointer-events: none !important;
  opacity: 0.05 !important;
  z-index: 0 !important;
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 22px !important;
  overflow: hidden !important;
  border: 1px solid var(--border-glass) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-wrapper:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   6. Marquee Section
   ========================================================================== */
.marquee {
  background: #050608 !important;
  border-block: 1px solid var(--border-glass);
}

.marquee-three-title {
  color: #ffffff !important;
}

.text-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.28) !important;
  color: transparent !important;
}

/* ==========================================================================
   7. Services Section (Luminous Carbon Cards)
   ========================================================================== */
.service-three-area {
  background: radial-gradient(circle at 80% 20%, #11121d 0%, var(--bg-deep) 70%) !important;
  border-bottom: 1px solid var(--border-glass);
}

.service-three-single {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 22px !important;
  padding: 32px 36px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-three-single:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-glow) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow-subtle) !important;
}

.service-three-number {
  color: var(--accent-primary) !important;
  font-weight: 800;
}

.service-three-title a {
  color: #ffffff !important;
  transition: color 0.25s ease;
}

.service-three-title a:hover {
  color: var(--accent-hover) !important;
}

/* ==========================================================================
   8. CHAPTER-WISE PROJECTS SHOWCASE (Alternating Left/Right Timeline)
   ========================================================================== */
.portfolio-three-area {
  background: radial-gradient(circle at 20% 40%, #131422 0%, var(--bg-deep) 75%) !important;
  position: relative;
  overflow: hidden;
}

.section-chapter-title {
  font-size: clamp(1.8rem, 2.8vw, 3rem) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-chapter-sub {
  max-width: 640px;
  margin-inline: auto;
}

/* Central Timeline Container */
.chapters-timeline-container {
  position: relative;
  padding-block: 20px;
  margin-top: 30px;
}

/* Central Glowing Spine Line */
.chapter-timeline-spine {
  position: absolute;
  top: 0;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 87, 34, 0.6) 0%, rgba(255, 87, 34, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);
  z-index: 1;
}

/* Chapter Items */
.chapter-item {
  width: 50%;
  position: relative;
  z-index: 2;
  margin-bottom: clamp(48px, 6vh, 80px);
}

/* LEFT Chapter: aligned left */
.chapter-item.chapter-left {
  margin-left: 0;
  margin-right: auto;
  padding-right: clamp(24px, 3.5vw, 56px);
}

/* RIGHT Chapter: aligned right */
.chapter-item.chapter-right {
  margin-left: auto;
  margin-right: 0;
  padding-left: clamp(24px, 3.5vw, 56px);
}

/* Glowing Node on Spine */
.chapter-spine-node {
  position: absolute;
  top: 34px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 16px var(--accent-glow);
}

.chapter-left .chapter-spine-node {
  right: -9px;
}

.chapter-right .chapter-spine-node {
  left: -9px;
}

.node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-primary);
}

/* Chapter Card Container */
.chapter-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 24px !important;
  padding: clamp(24px, 2.5vw, 36px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(14px);
}

.chapter-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-glow) !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65), 0 0 30px var(--accent-glow-subtle) !important;
}

/* Chapter Pill Badge */
.chapter-pill {
  display: inline-flex;
  align-items: center;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 3px 12px var(--accent-glow);
}

.chapter-category {
  font-weight: 500;
}

.chapter-year-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.chapter-title {
  margin: 0;
  line-height: 1.3;
}

.chapter-title a {
  transition: color 0.25s ease;
}

.chapter-title a:hover {
  color: var(--accent-hover) !important;
}

.chapter-desc {
  line-height: 1.6;
}

/* Tech Tags */
.tech-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.chapter-card:hover .tech-tag {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-pure);
}

/* Key Metrics Badge */
.chapter-metric-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(255, 87, 34, 0.1);
  border: 1px solid rgba(255, 87, 34, 0.25);
  border-radius: 999px;
  padding: 5px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Chapter Thumb Preview */
.chapter-thumb-wrapper {
  aspect-ratio: 16 / 10;
  border-radius: 18px !important;
  border: 1px solid var(--border-glass);
  background: #000000;
}

.chapter-thumb-wrapper img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: brightness(0.95);
}

.chapter-card:hover .chapter-thumb-wrapper img {
  transform: scale(1.04);
  filter: brightness(1.03);
}

/* Thumb Overlay Button */
.chapter-thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 11, 0.88) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.chapter-card:hover .chapter-thumb-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px var(--accent-glow);
}

/* Chapter Bottom CTA Button */
.chapter-cta-wrap .tw-btn-circle {
  border: 1px solid var(--border-glass-bright) !important;
  background: var(--bg-surface) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chapter-cta-wrap .tw-btn-circle:hover {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 15px 40px var(--accent-glow) !important;
}

/* ==========================================================================
   9. CERTIFICATIONS & HONORS (Clean Luxury Cards — Zero Hover Image)
   ========================================================================== */
.feature-three-area {
  background: var(--bg-deep) !important;
  border-block: 1px solid var(--border-glass);
  position: relative;
}

/* Hide any floating preview images on hover */
#awards .hover__reveal-bg,
.feature-three-area .hover__reveal-bg {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: none !important;
}

.awards-clean-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.award-clean-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-left: 3px solid transparent !important;
  border-radius: 18px !important;
  padding: 24px 30px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.award-clean-card:hover {
  background: linear-gradient(90deg, rgba(255, 87, 34, 0.08) 0%, var(--bg-surface-elevated) 100%) !important;
  border-color: var(--border-glass-bright) !important;
  border-left-color: var(--accent-primary) !important;
  transform: translateX(8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow-subtle) !important;
}

.award-clean-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-primary) !important;
  min-width: 32px;
}

.award-clean-platform {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff !important;
  min-width: 140px;
}

.award-clean-title {
  font-size: 16px;
  color: var(--text-body) !important;
  transition: color 0.25s ease;
}

.award-clean-card:hover .award-clean-title {
  color: #ffffff !important;
}

.award-status-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.award-clean-card:hover .award-status-pill {
  background: rgba(255, 87, 34, 0.15);
  border-color: rgba(255, 87, 34, 0.35);
  color: var(--accent-light);
}

.award-clean-year {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   10. Testimonials Section
   ========================================================================== */
.testimonial-three-area {
  background: radial-gradient(circle at 70% 30%, #10121d 0%, var(--bg-deep) 70%) !important;
}

.testimonial-three-title {
  color: var(--text-heading) !important;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem) !important;
  line-height: 1.4 !important;
  letter-spacing: -0.01em !important;
  max-width: 920px !important;
  margin-inline: auto !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  overflow: visible !important;
}

#awards h2.tw-itm-title {
  font-size: clamp(1.8rem, 2.8vw, 3rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  max-width: 860px !important;
  margin-inline: auto !important;
  position: relative !important;
  z-index: 2 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.testimonial-three-wrapper {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 22px !important;
  padding: 32px 30px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.testimonial-three-wrapper:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass-bright) !important;
}

.testimonial-three-paragraph {
  color: #f1f5f9 !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

.testimonial-three-review i {
  color: #fbbf24 !important;
  /* Gold stars */
}

.about-three-shape {
  opacity: 0.08 !important;
  pointer-events: none !important;
  filter: invert(1) !important;
}

/* ==========================================================================
   11. Brands & Partners Grid
   ========================================================================== */
.brand-three-area {
  background: var(--bg-deep) !important;
}

.brand-three-title {
  background: rgba(255, 87, 34, 0.12) !important;
  border: 1px solid rgba(255, 87, 34, 0.35) !important;
  color: var(--accent-light) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
  border-radius: 999px !important;
  padding: 8px 28px !important;
  font-size: clamp(13px, 1.2vw, 15px) !important;
  font-weight: 600 !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

.brand-three-item {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.brand-three-item:hover {
  border-color: var(--border-glass-bright) !important;
  transform: translateY(-3px);
  background: var(--bg-surface-elevated) !important;
}

.brand-active-media img,
.brand-hover-media img {
  filter: brightness(0) invert(1) !important;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.brand-three-item:hover .brand-active-media img,
.brand-three-item:hover .brand-hover-media img {
  opacity: 1;
}

/* "5+ Years of Experience" Counter Button — Clean Circular Badge */
.about-three-counter {
  margin-top: 24px !important;
  display: inline-block !important;
}

.about-three-counter .tw-hover-btn-wrapper {
  display: inline-block !important;
}

.about-three-counter .tw-btn-circle {
  width: 146px !important;
  height: 146px !important;
  max-width: 146px !important;
  max-height: 146px !important;
  min-width: 146px !important;
  min-height: 146px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, rgba(25, 28, 40, 0.95), rgba(12, 14, 22, 0.98)) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  overflow: hidden !important;
  text-decoration: none !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.about-three-counter .tw-btn-circle:hover {
  transform: translateY(-3px) scale(1.03) !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 12px 35px rgba(255, 87, 34, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.about-three-counter .tw-btn-circle-icon {
  font-size: 34px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  display: block !important;
  text-align: center !important;
  margin: 0 !important;
}

.about-three-counter .tw-btn-circle span.text-heading {
  color: #ffffff !important;
}

.about-three-counter .tw-btn-circle span.tw-text-2xl {
  font-size: 11px !important;
  line-height: 1.25 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  margin-top: 4px !important;
  display: block !important;
  text-align: center !important;
}

/* Eliminate rogue 820px dot hover glitch from legacy main.css */
.about-three-counter .tw-btn-circle-dot,
.about-three-counter:hover .tw-btn-circle-dot {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.footer-three-social a {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid var(--border-glass) !important;
  transition: all 0.25s ease;
}

.footer-three-social a:hover {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.footer-three-bg-shape {
  opacity: 0.08 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   12. Footer & Extreme Last CTA Section
   ========================================================================== */
#contact.footer-three-area,
.footer-three-area {
  background: radial-gradient(circle at 50% 0%, rgba(255, 87, 34, 0.08) 0%, transparent 60%), #07080b !important;
  border-top: 1px solid var(--border-glass) !important;
  position: relative !important;
  z-index: 10 !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding-bottom: 0 !important;
}

#contact *,
.footer-three-top-left,
.footer-three-form {
  opacity: 1 !important;
  visibility: visible !important;
}

.footer-three-top-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 20px !important;
}

.footer-three-top-info {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 20px !important;
}

.footer-three-form {
  background: var(--bg-surface-elevated) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 24px !important;
  padding: clamp(24px, 4vw, 40px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.footer-three-form input,
.footer-three-form textarea {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--border-glass) !important;
  color: #ffffff !important;
  transition: all 0.25s ease;
}

.footer-three-form input:focus,
.footer-three-form textarea:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 20px var(--accent-glow-subtle) !important;
}

.contact-button button {
  background: var(--accent-gradient) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 6px 24px var(--accent-glow) !important;
  transition: all 0.3s ease !important;
}

.contact-button button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 87, 34, 0.5) !important;
}

/* Remove Quick Navigation & Giant Watermark - CTA is extreme last */
.footer-three-border,
.footer-three-bottom,
.footer-three-bottom-title,
.footer-three-back-to-top {
  display: none !important;
}

/* Sleek Minimal Terminal Footer Bar */
.krn-footer-bar {
  background: #050608 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding-block: 24px !important;
  margin-top: clamp(40px, 6vh, 64px) !important;
  width: 100% !important;
}

.krn-footer-copy {
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
}

.krn-footer-links a {
  font-size: 0.88rem !important;
  color: var(--text-muted) !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}

.krn-footer-links a:hover {
  color: var(--accent-hover) !important;
}

/* Fullscreen Video Lightbox Modal */
.devbykiran-video-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(3, 4, 6, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.devbykiran-video-modal.active {
  display: flex !important;
  opacity: 1 !important;
}

.devbykiran-video-modal-content {
  position: relative;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16 / 9;
  max-height: 88vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--border-glass-bright);
  background: #000000;
  animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(24px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.devbykiran-video-modal-close {
  position: absolute;
  top: -54px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.devbykiran-video-modal-close:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   13. Brands Logo Grid System
   ========================================================================== */
.brands-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

@media screen and (max-width: 991px) {
  .brands-logo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media screen and (max-width: 575px) {
  .brands-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Floating Back to Top Button */
.back-to-top-wrapper {
  z-index: 9999 !important;
}

.back-to-top-wrapper.back-to-top-btn-show {
  bottom: 32px !important;
  right: 32px !important;
}

.back-to-top-btn {
  background: var(--accent-gradient) !important;
  box-shadow: 0 6px 20px var(--accent-glow) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 8px 25px rgba(255, 87, 34, 0.5) !important;
}

.back-to-top-btn svg path {
  stroke: #ffffff !important;
}

/* ==========================================================================
   14. RESPONSIVE DESIGN — Laptops & Large Tablets (≤1399px)
   ========================================================================== */
@media screen and (max-width: 1399px) {
  .banner-three-wrap {
    grid-template-columns: 290px 1fr 260px !important;
    gap: 20px !important;
  }

  .chapter-item.chapter-left {
    padding-right: 32px;
  }

  .chapter-item.chapter-right {
    padding-left: 32px;
  }

  .chapter-title {
    font-size: clamp(1.25rem, 1.8vw, 1.6rem) !important;
  }
}

/* ==========================================================================
   15. RESPONSIVE DESIGN — Tablets & Small Laptops (≤1199px)
   ========================================================================== */
@media screen and (max-width: 1199px) {
  .banner-three-area {
    min-height: auto !important;
    height: auto !important;
    padding-top: max(88px, calc(env(safe-area-inset-top) + 72px)) !important;
    padding-bottom: 40px !important;
  }

  /* Hero: Stack Headline/Bio Top -> Video Showcase Center -> Stats Cards Bottom */
  .banner-three-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    width: 100% !important;
  }

  .banner-three-left {
    order: 1 !important;
    display: block !important;
    max-width: 620px !important;
    width: 100% !important;
    margin-inline: auto !important;
    margin-block-end: 0 !important;
  }

  .hero-video-center {
    order: 2 !important;
    width: 100% !important;
    max-width: 580px !important;
    margin-inline: auto !important;
  }

  .hero-video-card {
    aspect-ratio: 16 / 10 !important;
    max-height: 360px !important;
  }

  .banner-three-right {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    max-width: 620px !important;
    width: 100% !important;
    margin-inline: auto !important;
    margin-block-end: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .banner-three-right .banner-three-counter-item {
    flex: unset !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .banner-three-right .banner-three-counter-item:nth-child(2) {
    margin-block-start: 0 !important;
  }

  .banner-three-right .hero-exp-badge {
    grid-column: 1 / -1 !important;
  }

  /* Chapter Timeline on Tablet: Spine moves to left margin */
  .chapter-timeline-spine {
    left: 24px;
    transform: none;
  }

  .chapter-item {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 56px !important;
    padding-right: 0 !important;
    margin-bottom: 40px !important;
  }

  .chapter-spine-node {
    left: 15px !important;
    right: auto !important;
  }
}

/* ==========================================================================
   16. RESPONSIVE DESIGN — Tablets Portrait (≤991px)
   ========================================================================== */
@media screen and (max-width: 991px) {
  /* Navigation header */
  .header-nav-wrap {
    display: none !important;
  }

  .header-three-menu {
    display: block !important;
  }

  /* About Section Columns Stack */
  .about-three-thumb {
    min-height: auto !important;
    max-height: 380px !important;
    margin-bottom: 28px !important;
    width: 100% !important;
  }

  .about-three-right {
    padding-top: 10px;
    width: 100% !important;
  }

  /* Services Single Items */
  .service-three-single {
    padding: 24px 20px !important;
    margin-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-three-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .service-three-thumb {
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-three-thumb img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
  }

  /* Chapter Timeline Clean Mobile View */
  .chapter-timeline-spine {
    display: none !important;
  }

  .chapter-spine-node {
    display: none !important;
  }

  .chapter-item {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 32px !important;
  }

  .chapter-card {
    padding: 24px 20px !important;
  }

  /* Testimonial slider */
  .testimonial-three-wrapper {
    flex-direction: column !important;
    padding: 26px 22px !important;
    gap: 20px !important;
  }

  .testimonial-three-thumb {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    aspect-ratio: 16 / 10 !important;
  }

  /* Footer stack */
  .footer-three-top-left {
    margin-right: 0 !important;
    margin-bottom: 40px !important;
  }

  .footer-three-middile {
    flex-direction: column !important;
    text-align: center !important;
    gap: 24px !important;
  }

  .footer-three-middile .text-lg-end {
    text-align: center !important;
  }

  .footer-three-middile ul {
    justify-content: center !important;
  }
}

/* ==========================================================================
   17. RESPONSIVE DESIGN — Mobile Devices (≤767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
  /* Section Spacing on Mobile */
  .py-120 {
    padding-block: 48px !important;
  }

  .pt-120 {
    padding-block-start: 48px !important;
  }

  .pb-120 {
    padding-block-end: 48px !important;
  }

  .tw-pb-22 {
    padding-block-end: 40px !important;
  }

  .tw-mb-21 {
    margin-block-end: 28px !important;
  }

  /* Hero Section */
  .banner-three-area {
    padding-top: max(88px, calc(env(safe-area-inset-top) + 72px)) !important;
    padding-bottom: 36px !important;
  }

  .hero-video-card {
    aspect-ratio: 16 / 10 !important;
    max-height: 250px !important;
    border-radius: 18px !important;
  }

  .video-action-bar {
    padding: 7px 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
  }

  .video-ctrl-btn {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
  }

  .video-open-modal-btn {
    padding: 5px 12px !important;
    font-size: 11.5px !important;
  }

  .banner-three-left {
    order: 1 !important;
    display: block !important;
    padding: 22px 18px !important;
    border-radius: 20px !important;
    width: 100% !important;
  }

  .banner-three-left-title {
    font-size: clamp(1.2rem, 5vw, 1.45rem) !important;
  }

  .banner-three-title {
    font-size: clamp(2.4rem, 12vw, 4.5rem) !important;
  }

  /* 2x2 Grid for Hero Counters on Mobile */
  .banner-three-right {
    order: 3 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .banner-three-right .banner-three-counter-item {
    flex: unset !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .banner-three-right .banner-three-counter-item:nth-child(2) {
    margin-block-start: 0 !important;
  }

  .banner-three-right .hero-exp-badge {
    grid-column: 1 / -1 !important;
  }

  .banner-three-counter-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem) !important;
  }

  /* Chapter Timeline Clean Mobile View */
  .chapter-timeline-spine {
    display: none !important;
  }

  .chapter-spine-node {
    display: none !important;
  }

  .chapter-item {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 24px !important;
    width: 100% !important;
  }

  .chapter-card {
    padding: 20px 16px !important;
    border-radius: 20px !important;
    width: 100% !important;
  }

  .chapter-title {
    font-size: 1.3rem !important;
  }

  .chapter-meta-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  /* Services Mobile Stack */
  .service-three-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  .service-three-content {
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .service-three-thumb {
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-three-thumb img {
    width: 100% !important;
    max-height: 180px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  /* Certifications Clean Mobile Card */
  .award-clean-card {
    padding: 18px 16px !important;
    border-radius: 16px !important;
  }

  .feature-three-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .feature-three-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .award-clean-platform {
    min-width: unset !important;
    font-size: 17px !important;
  }

  .award-clean-title {
    font-size: 14.5px !important;
  }

  .award-clean-right {
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* Contact info links */
  .footer-three-top-left .d-inline-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .footer-three-top-left .d-inline-flex span {
    display: none !important;
  }

  .footer-three-top-left a {
    font-size: clamp(1.05rem, 4vw, 1.25rem) !important;
    word-break: break-all !important;
  }

  /* Floating back to top */
  .back-to-top-wrapper.back-to-top-btn-show {
    bottom: 20px !important;
    right: 20px !important;
  }

  .back-to-top-btn {
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 13px !important;
  }

  /* Lightbox close button on mobile */
  .devbykiran-video-modal-close {
    top: -46px !important;
    right: 0 !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
  }
}

/* ==========================================================================
   18. RESPONSIVE DESIGN — Compact Mobile & Small Screens (≤575px)
   ========================================================================== */
@media screen and (max-width: 575px) {
  /* Container padding */
  .tw-container-1800-px {
    padding-inline: 16px !important;
  }

  /* Hero Section */
  .banner-three-left {
    padding: 18px 14px !important;
  }

  .banner-three-left-title {
    font-size: 1.2rem !important;
  }

  .hero-cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .hero-cta-group .tw-hover-btn {
    text-align: center !important;
    justify-content: center !important;
    padding-block: 12px !important;
    width: 100% !important;
  }

  .hero-cta-link {
    justify-content: center !important;
    padding-block: 6px !important;
  }

  .hero-video-card {
    max-height: 220px !important;
  }

  .hero-video-tag {
    font-size: 10.5px !important;
    padding: 4px 14px !important;
    bottom: -12px !important;
  }

  /* About Me Section */
  .about-three-counter {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
    text-align: center !important;
  }

  .about-three-counter .tw-btn-circle {
    width: 124px !important;
    height: 124px !important;
    max-width: 124px !important;
    max-height: 124px !important;
    min-width: 124px !important;
    min-height: 124px !important;
    padding: 10px !important;
  }

  .about-three-counter .tw-btn-circle-icon {
    font-size: 28px !important;
  }

  .about-three-counter .tw-btn-circle span.tw-text-2xl {
    font-size: 9.5px !important;
    letter-spacing: 0.04em !important;
  }

  .about-three-wrap-shape {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* Chapter Cards */
  .chapter-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .chapter-year-tag {
    align-self: flex-start;
  }

  .chapter-title {
    font-size: 1.2rem !important;
  }

  .tech-tag {
    font-size: 10.5px !important;
    padding: 3px 10px !important;
  }

  .chapter-metric-badge {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }

  /* Footer profile card */
  .footer-three-top-info {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 16px !important;
    gap: 16px !important;
  }

  .footer-three-top-thumb {
    width: 100px !important;
    height: 100px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin: 0 auto !important;
  }

  .footer-three-social ul {
    justify-content: center !important;
  }

  /* Form touch input heights & 16px font to prevent iOS zoom */
  .footer-three-form input,
  .footer-three-form textarea {
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  .footer-three-form input {
    height: 50px !important;
  }
}

/* ==========================================================================
   19. WEBVIEW & IN-APP BROWSER SPECIFICS
   ========================================================================== */
@media screen and (min-width: 1200px) {
  @supports (min-height: 100dvh) {
    .banner-three-area {
      min-height: 100dvh;
    }
  }
}

/* Touch Device & Mobile Optimization */
@media (hover: none) and (pointer: coarse),
screen and (max-width: 991px) {
  /* Hide custom desktop magic cursor on touch/mobile to prevent lingering dots */
  #magic-cursor,
  #ball {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body,
  a,
  button {
    cursor: auto !important;
  }

  /* Provide visible tap feedback */
  .chapter-card:active,
  .award-clean-card:active,
  .service-three-single:active {
    transform: scale(0.99);
  }

  /* Ensure touch targets meet minimum accessibility standards */
  .video-ctrl-btn,
  .chapter-pill,
  .tech-tag,
  .header-nav-desktop a,
  .footer-three-social a,
  .tw-offcanvas-2-close-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   20. PRECISION REFINEMENTS (PROJECTS, ABOUT, CONTACT & BRAND LOGOS)
   ========================================================================== */

/* 1. Projects Section: Force instant visibility of chapter cards */
#projects,
.portfolio-three-area {
  scroll-margin-top: 80px !important;
}

.chapter-item,
.chapter-card,
.chapter-item * {
  opacity: 1 !important;
  visibility: visible !important;
}

.chapter-item {
  transform: none !important;
}

.chapter-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.chapter-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-glow-subtle) !important;
}

/* 2. About Section: Compact Image & No Overlays */
#about {
  scroll-margin-top: 80px !important;
}

.about-three-thumb {
  max-width: 420px !important;
  max-height: 420px !important;
  width: 100% !important;
  margin-inline: auto !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--border-glass) !important;
  background: var(--bg-surface) !important;
}

.about-three-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-height: 420px !important;
  object-fit: cover !important;
  object-position: top center !important;
  border-radius: 20px !important;
  display: block !important;
}

.about-img-overlay {
  display: none !important;
}

/* 3. Authentic Brand Logos */
.brand-three-item {
  min-height: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 20px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.brand-three-item:hover {
  border-color: rgba(255, 87, 34, 0.4) !important;
  background: var(--bg-surface-elevated) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow-subtle) !important;
}

.krn-brand-svg {
  color: #94a3b8 !important;
  transition: all 0.3s ease !important;
  max-width: 130px !important;
  width: auto !important;
}

.brand-three-item:hover .krn-brand-svg {
  color: #ffffff !important;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3)) !important;
}

/* 4. Contact Section Layout & Profile Card */
#contact {
  scroll-margin-top: 80px !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.contact-headline {
  font-size: clamp(2rem, 3.8vw, 3rem) !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.contact-direct-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.contact-direct-pill:hover {
  background: var(--bg-surface-elevated) !important;
  border-color: var(--accent-primary) !important;
  color: var(--accent-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px var(--accent-glow-subtle) !important;
}

.contact-profile-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
  max-width: 520px !important;
}

.contact-avatar-wrap {
  position: relative !important;
  width: 72px !important;
  height: 72px !important;
}

.contact-avatar {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: top center !important;
  border: 2px solid rgba(255, 87, 34, 0.4) !important;
  box-shadow: 0 0 16px rgba(255, 87, 34, 0.25) !important;
}

.contact-status-dot {
  position: absolute !important;
  bottom: 2px !important;
  right: 2px !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  background: #22c55e !important;
  border: 2px solid #07080b !important;
  box-shadow: 0 0 8px #22c55e !important;
}

.contact-available-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 3px 8px !important;
  border-radius: 999px !important;
  background: rgba(34, 197, 94, 0.12) !important;
  color: #4ade80 !important;
  border: 1px solid rgba(34, 197, 94, 0.28) !important;
}

.krn-glass-form {
  background: var(--bg-surface-elevated) !important;
  border: 1px solid var(--border-glass-bright) !important;
  border-radius: 24px !important;
  padding: clamp(24px, 4vw, 44px) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6) !important;
}

.krn-form-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  padding: 14px 18px !important;
  transition: all 0.25s ease !important;
}

.krn-form-input:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15) !important;
  color: #ffffff !important;
}

.krn-form-input::placeholder {
  color: #64748b !important;
}

.krn-form-textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

.contact-toast {
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  border-radius: 16px !important;
  padding: 16px 20px !important;
  animation: fadeInToast 0.4s ease forwards !important;
}

@keyframes fadeInToast {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 5. Terminal Footer & Void Elimination */
.krn-footer-bar {
  margin-top: clamp(48px, 7vh, 80px) !important;
  margin-bottom: 0 !important;
  padding-block: 28px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #040507 !important;
  width: 100% !important;
}

#smooth-content,
#smooth-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ==========================================================================
   21. BALANCED HERO ARCHITECTURE: DEDICATED FITTED VIDEO FRAME & PROPER TEMPLATE PLACEMENT
   ========================================================================== */

.banner-three-area {
  position: relative !important;
  overflow: hidden !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #07090e !important;
  padding-top: clamp(96px, 12vh, 136px) !important;
  padding-bottom: clamp(48px, 6vh, 80px) !important;
}

/* Ambient glow orbs */
.hero-ambient-orb {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(90px) !important;
  opacity: 0.28 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.hero-orb-1 {
  width: 450px !important;
  height: 450px !important;
  background: #ff5722 !important;
  top: 15% !important;
  left: 20% !important;
}

.hero-orb-2 {
  width: 500px !important;
  height: 500px !important;
  background: #7c3aed !important;
  bottom: 10% !important;
  right: 15% !important;
}

/* 3-Column Hero Showcase Grid (Desktop: Left Info | Center Video Frame | Right Stats) */
.hero-showcase-grid {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: clamp(24px, 3.2vw, 52px) !important;
  width: 100% !important;
  position: relative !important;
  z-index: 2 !important;
}

/* LEFT COLUMN — Profile Info Card */
.hero-profile-card {
  width: clamp(320px, 28%, 410px) !important;
  flex: 0 0 clamp(320px, 28%, 410px) !important;
  background: rgba(12, 15, 24, 0.78) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 24px !important;
  padding: clamp(24px, 2.8vw, 36px) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.hero-profile-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 87, 34, 0.4) !important;
}

/* CENTER COLUMN — Dedicated Fitted Video Frame */
.hero-video-frame-showcase {
  flex: 1 1 auto !important;
  max-width: 520px !important;
  min-width: 290px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  margin-inline: auto !important;
}

.hero-video-frame-inner {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 725 / 812 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 107, 0, 0.35) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8), 0 0 45px rgba(255, 87, 34, 0.22) !important;
  background: #000000 !important;
}

.hero-video-element {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 23px !important;
}

.hero-video-glow {
  position: absolute !important;
  inset: -20px !important;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.3) 0%, rgba(255, 138, 0, 0.08) 55%, transparent 75%) !important;
  filter: blur(32px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* RIGHT COLUMN — Stats Column */
.hero-stats-column {
  width: clamp(280px, 26%, 360px) !important;
  flex: 0 0 clamp(280px, 26%, 360px) !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px !important;
}

.hero-stat-card {
  background: rgba(12, 15, 24, 0.78) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 20px !important;
  padding: 20px 20px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.hero-stat-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(255, 87, 34, 0.35) !important;
}

.hero-exp-stat-card {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.25) 0%, rgba(12, 15, 24, 0.8) 100%) !important;
  border-color: rgba(255, 87, 34, 0.4) !important;
}

/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 1199px) {
  .hero-showcase-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
  }

  .hero-video-frame-showcase {
    order: 1 !important;
    max-width: 440px !important;
    width: 100% !important;
  }

  .hero-profile-card {
    order: 2 !important;
    max-width: 520px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 24px 20px !important;
  }

  .hero-profile-card .banner-three-list ul {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .hero-stats-column {
    order: 3 !important;
    max-width: 520px !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 575px) {
  .banner-three-area {
    padding-top: 86px !important;
    padding-bottom: 32px !important;
    min-height: auto !important;
  }

  .hero-mobile-intro {
    margin-bottom: 20px !important;
  }

  .hero-mobile-intro .banner-three-left-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  .hero-mobile-intro .hero-role-text {
    color: #94a3b8 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
  }

  .hero-video-frame-showcase {
    max-width: 100% !important;
    width: 100% !important;
    padding-inline: 4px !important;
  }

  .hero-video-frame-inner {
    border-radius: 18px !important;
  }

  .hero-profile-card {
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }

  .banner-three-list li {
    font-size: 13.5px !important;
    margin-bottom: 8px !important;
  }

  .hero-stats-column {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .hero-stat-card {
    padding: 14px 12px !important;
    border-radius: 16px !important;
  }

  .banner-three-counter-title {
    font-size: 26px !important;
  }

  .banner-three-counter-paragraph {
    font-size: 12px !important;
  }
}

/* ==========================================================================
   KRN Studio Main Brand Logo & Favicon Refinements
   ========================================================================== */
.krn-brand-main-logo {
  height: 38px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
  display: block !important;
  background: transparent !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
}

.krn-brand-main-logo:hover {
  transform: scale(1.03) !important;
  filter: drop-shadow(0 0 12px rgba(255, 87, 34, 0.45)) !important;
}

.footer-brand-logo {
  height: 30px !important;
  max-width: 170px !important;
}

@media (max-width: 767px) {
  .krn-brand-main-logo {
    height: 30px !important;
    max-width: 165px !important;
  }
}

/* ==========================================================================
   Authentic Global Investor Brand Logos Styling
   ========================================================================== */
.brand-three-item {
  min-height: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 20px !important;
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: 16px !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.brand-three-item:hover {
  border-color: rgba(255, 87, 34, 0.45) !important;
  background: var(--bg-surface-elevated) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 20px var(--accent-glow-subtle) !important;
}

.brand-active-media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}

.krn-brand-logo-img {
  max-height: 26px !important;
  max-width: 125px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
  opacity: 0.88 !important;
  filter: brightness(0.96) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.brand-three-item:hover .krn-brand-logo-img {
  opacity: 1 !important;
  transform: scale(1.08) !important;
  filter: brightness(1.1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.25)) !important;
}

/* ==========================================================================
   Project Milestone Enhancements & Under Development System
   ========================================================================== */
.planning-mantra-thumb {
  background: radial-gradient(circle at center, #231e1a 0%, #0d0c0b 100%) !important;
}

.planning-mantra-thumb img {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
}

.chapter-card-pulsing {
  animation: chapterCardPulse 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes chapterCardPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.025); border-color: rgba(255, 87, 34, 0.85) !important; box-shadow: 0 24px 60px rgba(255, 87, 34, 0.3), 0 0 30px rgba(255, 87, 34, 0.35) !important; }
  100% { transform: scale(1); }
}

/* Under Development Toast */
#toast-container {
  position: fixed !important;
  top: 24px !important;
  right: 24px !important;
  z-index: 9999999 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  pointer-events: none !important;
}

.krn-underdev-toast {
  pointer-events: auto !important;
  width: min(390px, calc(100vw - 32px)) !important;
  background: rgba(14, 15, 22, 0.95) !important;
  border: 1px solid rgba(255, 87, 34, 0.5) !important;
  border-radius: 16px !important;
  padding: 16px 18px 12px 18px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), 0 0 24px rgba(255, 87, 34, 0.25) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transform: translateX(120%) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease !important;
  position: relative;
  overflow: hidden;
}

.krn-underdev-toast.active {
  transform: translateX(0) scale(1) !important;
  opacity: 1 !important;
}

.toast-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 87, 34, 0.16);
  border: 1px solid rgba(255, 87, 34, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-primary);
}

.toast-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.toast-status {
  font-size: 11px;
  font-weight: 700;
  color: #ffb74d;
  background: rgba(255, 183, 77, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
}

.toast-close-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.toast-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}

.toast-progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  width: 100%;
  animation: toastProgressShrink 4.2s linear forwards;
}

@keyframes toastProgressShrink {
  from { width: 100%; }
  to { width: 0%; }
}

/* ==========================================================================
   19. Inquiry Form Category & Budget Input Selectors
   ========================================================================== */
.krn-form-select {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-family: var(--font-sans) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ff5722' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 12px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.krn-form-select:focus {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15) !important;
  outline: none !important;
  color: #ffffff !important;
}

.krn-form-select option {
  background-color: #11131c !important;
  color: #ffffff !important;
  padding: 10px !important;
}

.budget-input-combo .budget-manual-input {
  font-size: 13.5px !important;
  padding: 10px 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px dashed rgba(255, 255, 255, 0.18) !important;
  border-radius: 7px !important;
  color: #f1f5f9 !important;
  transition: all 0.25s ease !important;
}

.budget-input-combo .budget-manual-input:focus {
  border-style: solid !important;
  border-color: var(--accent-primary) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15) !important;
  outline: none !important;
}

/* Ensure mobile header is fully decluttered and spacious */
@media screen and (max-width: 991px) {
  .header-three-button {
    display: none !important;
  }
  .header-right {
    gap: 10px !important;
  }
  .header-three-menu .tw-offcanvas-open-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}


