@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Baskervville:ital@0;1&family=Noto+Sans+Gujarati:wght@400;500;600;700;800&family=Noto+Serif+Gujarati:wght@400;600;700&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Base Variables */
:root {
  --bg-color: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #002147;
  --primary-gold: #d4af37;
  --primary-gold-hover: #c5a028;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --border-color: #eaeaea;
  --nav-bg: rgba(248, 249, 250, 0.98);

  --font-heading: 'Cormorant Garamond', 'Baskervville', 'Playfair Display', 'Noto Serif Gujarati', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Gujarati', 'Outfit', 'Inter', 'Shruti', 'Nirmala UI', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

body {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: clip !important;
  overflow-y: visible !important;
  touch-action: pan-y;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: -0.005em;
}

/* Swiper Custom Carousel Images */
.custom-carousel-swiper .swiper-slide {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

.custom-carousel-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  position: absolute;
  top: 0;
  left: 0;
}

strong,
b {
  font-weight: 700;
  color: #111827;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
}

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

ul {
  list-style: none;
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible,
.scale-up.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Site Header - 3 Tier Design */
.site-header {
  position: relative;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}

.site-header.scrolled {
  /* No longer needed, handled by sticky nav */
}

/* Tier 1: Top Bar */
.tier1-top {
  background-color: #0f172a;
  color: #f8fafc;
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 38px;
  height: auto;
}

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

.t1-left,
.t1-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.t1-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.t1-item svg {
  color: var(--primary-gold);
}

/* Tier 2: Middle Brand Area */
.tier2-middle {
  background-color: #ffffff;
  padding: 2px 0;
}

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

.t2-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex: 1;
}

.t2-brand img {
  height: 74px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-graphic-desktop {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 74px !important;
  object-fit: contain !important;
  object-position: left center;
  mix-blend-mode: multiply;
  display: block;
  transition: transform 0.3s ease;
}

.t2-brand:hover .brand-graphic-desktop {
  transform: scale(1.015);
}

.header-brochure-card {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(255, 255, 255, 0.96)) !important;
  border: 1.2px solid rgba(201, 162, 39, 0.45) !important;
  cursor: pointer;
}

.header-brochure-card:hover {
  background: #ffffff !important;
  border-color: #c9a227 !important;
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.3) !important;
}

.header-brochure-card .brochure-icon {
  background: linear-gradient(135deg, #c9a227, #dfba47) !important;
  color: #1a1200 !important;
}

.t2-brand-text h1,
.brand-title-laptop,
.brand-title-mobile {
  font-family: 'Cinzel', 'Playfair Display', 'Bodoni Moda', 'Georgia', serif !important;
  font-size: 1.35rem !important;
  color: #0b172a !important;
  margin: 0 !important;
  font-weight: 900 !important;
  letter-spacing: 1px !important;
  line-height: 1.2 !important;
  text-align: center;
}

.t2-widgets {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.t2-widget {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.t2-w-icon {
  color: var(--primary-gold);
}

.t2-w-text h5 {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0 0 0.2rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.t2-w-text p {
  font-size: 0.9rem;
  color: #0f172a;
  margin: 0;
  font-weight: 600;
}

/* Highlight Widget (Years of Legacy) */
.highlight-widget .t2-w-icon {
  background: var(--primary-gold);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-widget h5 {
  color: var(--primary-gold);
}

.legacy-blocks {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.legacy-blocks span {
  background: #0f172a;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Tier 3: Main Navigation */
.tier3-nav {
  background-color: #0b172a;
  position: sticky;
  top: 0;
  z-index: 1020;
  border-top: 2px solid rgba(201, 162, 39, 0.45);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.t3-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  width: 100%;
  min-height: 60px;
}

.t3-nav-links {
  width: 100%;
  margin: 0;
}

.t3-nav-links a {
  color: #ffffff;
  padding: 22px clamp(8px, 1.1vw, 18px);
  font-size: clamp(0.84rem, 0.95vw, 1.02rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  flex: 1 1 auto;
  text-align: center;
  z-index: 1;
}

.t3-nav-links a:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 1600px) {
  .t3-nav-links a {
    padding: 24px 20px;
    font-size: 1.05rem;
    letter-spacing: 0.8px;
  }
}

@media (max-width: 1599px) and (min-width: 1400px) {
  .t3-nav-links a {
    padding: 22px 14px;
    font-size: 0.96rem;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .t3-nav-links a {
    padding: 20px 10px;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .t3-nav-links a {
    padding: 18px 6px;
    font-size: 0.80rem;
    letter-spacing: 0.2px;
  }
}

.t3-nav-links a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.t3-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-gold);
  transition: height 0.3s ease;
  z-index: -1;
}

.t3-nav-links a:hover,
.t3-nav-links a.active {
  color: #0f172a;
}

.t3-nav-links a:hover::after,
.t3-nav-links a.active::after {
  height: 100%;
}

.t3-btn {
  background-color: var(--primary-gold);
  color: #000;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 1px solid var(--primary-gold);
}

.t3-btn:hover {
  background-color: transparent;
  color: var(--primary-gold);
}

.btn-primary {
  background-color: var(--primary-gold);
  color: #000;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid var(--primary-gold);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: #000;
  color: var(--primary-gold);
  border-color: #000;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--text-main);
  border-color: var(--text-main);
  color: var(--primary-gold);
}

/* Page Headers */
.page-header {
  position: relative;
  width: 100%;
  min-height: 50vh;
  padding: 80px 2% 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  margin-bottom: 3rem;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-header>* {
  position: relative;
  z-index: 2;
}

.page-header h1,
.page-header h2,
.page-header .page-title,
.page-header .section-title {
  font-family: 'Playfair Display', 'Cinzel', 'Cormorant Garamond', serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-header h1,
.page-header h2,
.page-header .page-title {
  color: #fff !important;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header .page-desc {
  color: #dddddd;
  max-width: 700px;
  margin: 0 auto;
}

.subtitle {
  color: var(--primary-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.subtitle::before {
  content: '';
  width: 40px;
  height: 2px;
  background-color: var(--primary-gold);
}

.page-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.page-title span {
  color: var(--primary-gold);
  font-style: italic;
}

.page-desc {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.1rem;
}

.mission-vision-card:hover {
  transform: translateY(-8px) !important;
  border-color: var(--primary-gold) !important;
  box-shadow: 0 25px 50px rgba(212, 175, 55, 0.18) !important;
}

.mission-vision-card:hover .mv-icon-box {
  transform: scale(1.08) rotate(5deg) !important;
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.45) !important;
}

/* Container */
.container {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 15px !important;
}

@media (min-width: 992px) {
  .container {
    padding: 0 4% !important;
  }
}

/* Full Screen Hero Slider */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 190px);
  overflow: hidden;
  background-color: #000;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.4) 72%, rgba(15, 23, 42, 0) 100%);
  z-index: 1;
  pointer-events: none !important;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 15px !important;
  max-width: 100% !important;
  width: 100%;
  margin: 0 auto !important;
}

@media (min-width: 992px) {
  .slide-content {
    padding: 0 4% !important;
  }
}

.slide-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: var(--primary-gold);
}

.slide-title {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.slide-desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  color: #dddddd;
}

.slide:not(.active) .fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.slide.active .fade-in-up {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-out;
}

.slider-nav {
  position: absolute;
  bottom: 10%;
  right: 5%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.slider-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slider-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--primary-gold);
  border-color: var(--primary-gold);
  color: #000;
}

.slider-indicators {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.indicator {
  width: 3px;
  height: 25px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--primary-gold);
  height: 40px;
}

.slide-btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.slide-btn-outline:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* Premium Home Page Elements */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  background: #f8fafc;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-gold);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
  color: var(--text-main);
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
}

.stat-item p {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Premium Cards */
.premium-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: #002147;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.premium-card:hover::before {
  height: 100%;
}

.premium-card:hover h4,
.premium-card:hover p,
.premium-card:hover .card-icon {
  color: #ffffff !important;
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: all 0.4s ease;
}

.premium-card h4 {
  color: var(--text-main);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.premium-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  transition: color 0.4s ease;
}

.founder-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  z-index: 2;
}

.founder-img-wrapper img {
  position: relative;
  z-index: 1;
  border-radius: 12px !important;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover !important;
  object-position: top center;
  display: block;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 1rem;
  border-radius: 4px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
}

/* Accordions (Drafting) */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: var(--primary-gold);
}

.accordion-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.accordion-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.22) 0%, rgba(197, 160, 89, 0.08) 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.85rem;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.15);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-gold);
  transition: all 0.35s ease;
}

.accordion-icon i {
  font-size: 1.7rem;
  line-height: 1;
  transition: all 0.35s ease;
}

.accordion-item:hover .accordion-icon,
.accordion-item.active .accordion-icon {
  background: linear-gradient(135deg, #c5a059 0%, #9e7d3b 100%);
  color: #ffffff;
  border-color: #c5a059;
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4);
}

.accordion-item:hover .accordion-icon svg,
.accordion-item.active .accordion-icon svg {
  stroke: #ffffff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(0, 0, 0, 0.02);
}

.accordion-inner {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

/* Services Sidebar Layout */
.services-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-link {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: var(--bg-card-hover);
  color: var(--primary-gold);
  border-left-color: var(--primary-gold);
}

/* Library Grid */
.filter-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 0.6rem 1.8rem;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
}

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.book-card {
  background: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 1.8rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--primary-gold);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.04);
}

.book-card.criminal {
  border-top-color: #ef4444;
}

.book-card.civil {
  border-top-color: #3b82f6;
}

.book-card.family {
  border-top-color: #ec4899;
}

.book-card.corporate {
  border-top-color: #10b981;
}

.book-card.special {
  border-top-color: #8b5cf6;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.book-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.book-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.book-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.book-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: auto;
}

/* Timeline (Judiciary) */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.timeline-number {
  position: absolute;
  left: -2rem;
  top: 1.5rem;
  width: 30px;
  height: 30px;
  background: var(--primary-gold);
  border: 2px solid var(--primary-gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-title {
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

/* Global Footer */
footer {
  background: #111111;
  color: #ffffff;
  padding: 3rem 2%;
  margin-top: 4rem;
  border-top: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.footer-col h4 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #cccccc;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #333333;
  text-align: center;
  color: #cccccc;
  font-size: 0.8rem;
}

/* Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Add hamburger menu logic later if needed */
  }

  .hero {
    flex-direction: column;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .accordion-inner {
    grid-template-columns: 1fr;
  }

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

/* Section Background Colors */
.bg-white {
  background-color: #ffffff;
}

.bg-light-gray {
  background-color: #f4f6f9;
  /* Cool light grey */
}

.bg-light-yellow {
  background-color: #fbf9f1;
  /* Warm pale yellow */
}

/* Mobile and Tablet Responsiveness */
@media (max-width: 992px) {
  .page-title {
    font-size: 2.5rem;
  }

  .advantages-grid,
  .services-layout,
  .library-grid,
  .blogs-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {

  /* Navigation */
  .topbar {
    padding: 10px 15px;
    flex-wrap: wrap;
  }

  .topbar-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-card);
    position: absolute;
    top: 70px;
    left: 0;
    padding: 15px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 100;
  }

  .topbar-nav.open {
    display: flex;
  }

  .topbar-nav li {
    width: 100%;
    text-align: center;
    margin: 5px 0;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    margin-left: 10px;
  }

  .mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  .user-info {
    gap: 5px;
  }

  .user-text {
    display: none;
  }

  /* Typography & Spacing */
  .page-title {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

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

  .home-hero,
  .section,
  .policy-section,
  .contact-section {
    padding: 40px 15px;
  }

  /* Layout Grids */
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

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

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

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-image-wrapper {
    height: 300px;
  }

  .row-two {
    grid-template-columns: 1fr;
  }

  .accordion-inner {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------
   FRONTEND HEADER MOBILE FIXES 
--------------------------------- */
@media (max-width: 900px) {

  /* Hide Tier 1 (Helpline etc) on smaller screens to save space, or stack it */
  .tier1-top {
    display: none;
  }

  .t2-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .t2-widgets {
    display: none;
    /* Hide office/legacy widgets to focus on brand and nav */
  }

  .t2-brand-text h1 {
    font-size: 1.5rem;
    white-space: normal !important;
    line-height: 1.2;
  }

  .t2-brand img {
    height: 45px;
  }

  .tier3-nav {
    position: relative;
  }

  .t3-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  /* Hamburger Toggle */
  .mobile-toggle {
    display: block;
    background: transparent;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
    padding: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #0f172a;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .t3-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* Ensure mobile-toggle is hidden on desktop */
@media (min-width: 901px) {
  .mobile-toggle {
    display: none;
  }
}

/* --- Modern Layout & Animation Enhancements --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.premium-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--primary-gold) !important;
}

.adv-card {
  transition: all 0.4s ease !important;
}

.adv-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.slide.active {
  animation: kenBurns 12s ease-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

@keyframes parallaxFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.counter-value {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.counter-value.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- Enhanced About Section --- */
#about {
  background: radial-gradient(circle at top left, #1a2333 0%, #0a0f1c 100%) !important;
  color: #fff;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#about .container {
  position: relative;
  z-index: 1;
}

.stat-item-dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-gold);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-item-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.stat-item-dark h3 {
  color: #fff !important;
  font-size: 2.8rem;
  margin-bottom: 0.2rem;
  font-family: 'Playfair Display', serif;
}

.stat-item-dark p {
  color: #cbd5e1 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.founder-frame {
  position: relative;
}

/* --- Modern Layout & Animation Enhancements --- */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.premium-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.premium-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08) !important;
  border-color: var(--primary-gold) !important;
}

.adv-card {
  transition: all 0.4s ease !important;
}

.adv-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.slide.active {
  animation: kenBurns 12s ease-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

@keyframes parallaxFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

.counter-value {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease;
}

.counter-value.visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- Enhanced About Section --- */
#about {
  background: radial-gradient(circle at top left, #1a2333 0%, #0a0f1c 100%) !important;
  color: #fff;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#about::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#about .container {
  position: relative;
  z-index: 1;
}

.stat-item-dark {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-left: 4px solid var(--primary-gold);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-item-dark:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.stat-item-dark h3 {
  color: #fff !important;
  font-size: 2.8rem;
  margin-bottom: 0.2rem;
  font-family: 'Playfair Display', serif;
}

.stat-item-dark p {
  color: #cbd5e1 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.founder-frame {
  position: relative;
  border-radius: 16px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.founder-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: var(--primary-gold);
  color: #000;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  animation: parallaxFloat 6s ease-in-out infinite;
}

/* ---------------------------------
   COMPREHENSIVE RESPONSIVE MOBILE & TABLET FIXES
--------------------------------- */

.brand-title {
  font-family: 'Arial', 'Helvetica', sans-serif !important;
  font-weight: 900 !important;
  font-size: clamp(1.4rem, 2.3vw, 2.15rem) !important;
  letter-spacing: 1px !important;
  word-spacing: 4px !important;
  transform: none !important;
  display: inline-block;
  color: #0b172a !important;
  line-height: 1.15;
  word-break: normal;
  white-space: nowrap !important;
  max-width: 100%;
  text-transform: uppercase !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

img,
svg,
iframe,
video {
  max-width: 100%;
  height: auto;
}

/* Container & Row containment */
.row {
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.container,
.container-fluid {
  max-width: 100% !important;
}

/* Mobile & Tablet Media Queries */
@media (max-width: 991px) {
  .brand-title {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    transform: none !important;
    margin-left: 0 !important;
    white-space: normal !important;
    text-align: center;
    display: block !important;
  }

  .t2-brand-text h1 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    white-space: normal !important;
    text-align: center;
  }
}

@media (max-width: 992px) {

  html {
    overflow-x: clip !important;
  }

  body {
    overflow-x: clip !important;
    overflow-y: visible !important;
    width: 100% !important;
  }

  .brand-title {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    transform: none !important;
    margin-left: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .t2-brand {
    display: flex !important;
    flex-direction: row !important;
    text-align: left !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .t2-brand img {
    max-height: 55px !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }

  .hero-slider-section {
    height: 560px !important;
    min-height: 500px !important;
  }

  .slide {
    background-position: center center !important;
    background-size: cover !important;
  }

  .slide-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.88) 100%) !important;
  }

  .page-header h1,
  .page-header h2,
  .page-header .page-title {
    font-size: 2.2rem !important;
    word-break: break-word;
    transform: none !important;
  }

  .slide-title {
    font-size: 2.2rem !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }

  .slide-desc {
    font-size: 0.98rem !important;
    max-width: 100% !important;
    color: #e2e8f0 !important;
  }

  .founder-badge {
    left: 0 !important;
    bottom: 10px !important;
    position: relative !important;
    display: inline-block !important;
    margin-top: 10px !important;
  }

  .founder-main-img {
    height: 440px !important;
  }

  .team-card {
    max-width: 100% !important;
  }

  .about-section h3 {
    flex-wrap: wrap !important;
    font-size: 1.6rem !important;
    text-align: center !important;
  }

  .about-section h3 img {
    width: 32px !important;
    height: 32px !important;
    margin: 4px !important;
  }
}

@media (max-width: 768px) {
  .brand-title {
    font-size: 1.15rem !important;
    transform: none !important;
    margin-left: 0 !important;
    white-space: normal !important;
    text-align: left !important;
    display: inline-block !important;
    line-height: 1.2 !important;
  }

  .page-header {
    min-height: 300px !important;
    padding: 60px 15px !important;
  }

  .page-header h1,
  .page-header h2,
  .page-header .page-title {
    font-size: 1.75rem !important;
  }

  .page-title {
    font-size: 1.6rem !important;
  }

  .slide-title {
    font-size: 1.8rem !important;
  }

  .slide-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.5rem !important;
  }

  .slide-actions a {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .tier1-top {
    font-size: 0.72rem !important;
    height: auto !important;
    padding: 6px 0 !important;
  }

  .t1-item {
    flex-wrap: wrap !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
  }

  .accordion-title {
    gap: 0.75rem !important;
  }

  .accordion-title h3 {
    font-size: 1.05rem !important;
  }

  .accordion-inner {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .accordion-inner>div {
    grid-column: span 1 !important;
  }

  .values-grid,
  .team-grid,
  .drafting-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .brand-title {
    font-size: 1.05rem !important;
  }

  .t2-brand img {
    max-height: 48px !important;
  }

  .page-header h1,
  .page-header h2,
  .page-header .page-title {
    font-size: 1.4rem !important;
  }

  .slide-subtitle {
    font-size: 0.85rem !important;
    letter-spacing: 1.5px !important;
  }

  .slide-title {
    font-size: 1.45rem !important;
  }

  .slide-desc {
    font-size: 0.9rem !important;
  }

  .btn-primary,
  .btn-outline {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }
}

/* Global Strict Single-Scrollbar & Horizontal Overflow Prevention */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
  overflow-y: auto !important;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip !important;
  overflow-y: visible !important;
  position: relative;
}

.site-header,
header,
section,
footer,
main,
nav,
.container,
.container-fluid,
.row {
  max-width: 100% !important;
}

/* ---------------------------------
   MOBILE VIEW STRUCTURE & NAV DRAWER FIXES
--------------------------------- */
@media (max-width: 1199px) {
  .navbar-collapse {
    background-color: #0f172a !important;
    border-radius: 8px;
    padding: 15px !important;
    margin-top: 10px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  }

  .t3-nav-links {
    width: 100% !important;
  }

  .t3-nav-links a {
    padding: 12px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    color: #ffffff !important;
  }

  .t3-nav-links a:last-child {
    border-bottom: none !important;
  }

  .tier2-middle {
    padding: 10px 0 !important;
  }

  .t2-brand {
    gap: 0.5rem !important;
  }

  .t2-brand img {
    max-height: 75px !important;
  }
}

@media (max-width: 576px) {
  .tier1-top {
    display: none !important;
  }

  .t2-brand img {
    max-height: 60px !important;
  }

  .brand-title {
    font-size: 1.15rem !important;
    line-height: 1.25 !important;
  }

  .hero-slider-section {
    height: auto !important;
    min-height: 440px !important;
  }

  .slide-content {
    padding: 30px 15px !important;
  }

  .slide-subtitle {
    font-size: 0.8rem !important;
    letter-spacing: 1.5px !important;
  }

  .slide-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
  }

  .slide-desc {
    font-size: 0.9rem !important;
    margin-bottom: 1.2rem !important;
  }

  .btn-primary,
  .btn-outline {
    width: 100% !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .stat-item {
    padding: 1rem !important;
  }

  .stat-item h3 {
    font-size: 2rem !important;
  }

  .premium-card {
    padding: 1.25rem !important;
  }

  .card-icon {
    font-size: 2.2rem !important;
    margin-bottom: 1rem !important;
  }

  .founder-frame {
    padding: 8px !important;
  }

  .founder-frame img {
    height: auto !important;
    max-height: 380px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   VIBRANT FULL-COLOR ANIMATED PRACTICE AREAS SECTION
   ========================================================================== */

.animated-practice-section {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(rgba(8, 12, 24, 0.82), rgba(5, 8, 18, 0.88)), url('../images/practice_areas_bg.jpg') center/cover no-repeat fixed;
  overflow: hidden;
  color: #ffffff;
}

/* Animated background laser lines & diagonal grid */
.animated-practice-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(212, 175, 55, 0.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(212, 175, 55, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%);
  background-size: 60px 60px;
  background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  opacity: 0.7;
  animation: gridShift 35s linear infinite;
  pointer-events: none;
}

@keyframes gridShift {
  0% {
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
  }

  100% {
    background-position: 60px 60px, 60px 90px, 90px 30px, 30px 60px;
  }
}

.animated-practice-section .bg-glow-orb-1 {
  position: absolute;
  top: -10%;
  left: 10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulseOrb 8s ease-in-out infinite alternate;
}

.animated-practice-section .bg-glow-orb-2 {
  position: absolute;
  bottom: -10%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(65px);
  pointer-events: none;
  animation: pulseOrb 10s ease-in-out infinite alternate-reverse;
}

@keyframes pulseOrb {
  0% {
    transform: scale(1) translateY(0);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.25) translateY(-25px);
    opacity: 0.95;
  }
}

/* Ribbon Card Wrapping Container */
.vibrant-card-wrap {
  position: relative;
  width: 100%;
  padding-left: 16px;
  padding-right: 20px;
  margin-bottom: 1.5rem;
  perspective: 1000px;
}

/* FULL-COLOR CARD BODY (COLOR FULL WITH GRADIENT & IMAGE TEXTURE) */
.vibrant-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 250px;
  background: var(--card-bg-gradient, linear-gradient(135deg, #1e293b, #0f172a));
  border-radius: 12px 18px 18px 12px;
  clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.45s ease, border-color 0.45s ease;
  z-index: 2;
  overflow: hidden;
  border: 1.5px solid var(--card-border-color, rgba(255, 255, 255, 0.15));
}

/* Glassmorphism Inner Overlay Texture */
.vibrant-card-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.vibrant-card-wrap:hover .vibrant-card-body {
  transform: translateY(-10px) rotateX(3deg) scale(1.025);
  box-shadow: 0 22px 50px var(--card-glow-shadow, rgba(0, 0, 0, 0.6)), 0 0 35px var(--card-glow-color, rgba(212, 175, 55, 0.4)), inset 0 0 20px rgba(255, 255, 255, 0.15);
  border-color: var(--card-accent-color, #d4af37);
}

/* Top Ribbon Header Row inside Card */
.vibrant-card-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1rem 1.2rem 0.7rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
}

/* Big Number Tag */
.vibrant-card-num {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  padding: 0 6px 0 10px;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.vibrant-card-wrap:hover .vibrant-card-num {
  transform: scale(1.18);
  filter: drop-shadow(0 0 8px var(--card-accent-color, #ffffff));
}

/* Diagonal Ribbon Strap */
.vibrant-card-strap {
  position: relative;
  width: 46px;
  height: 40px;
  margin: 0 14px 0 4px;
  transform: skewX(-20deg);
  border-radius: 4px;
  z-index: 4;
  box-shadow: 3px 0 12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.vibrant-card-wrap:hover .vibrant-card-strap {
  transform: skewX(-20deg) scaleX(1.12);
  filter: brightness(1.2);
}

.vibrant-card-strap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Automatic Continuous & Hover Light Sheen */
.vibrant-card-shine {
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  animation: ribbonShineLoop 4s ease-in-out infinite;
}

.vibrant-card-wrap:hover .vibrant-card-shine {
  animation: exactShineSweep 0.85s ease-in-out forwards;
}

@keyframes ribbonShineLoop {

  0%,
  70% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

@keyframes exactShineSweep {
  0% {
    left: -150%;
  }

  100% {
    left: 150%;
  }
}

/* Icon Floating Style */
.vibrant-card-icon {
  font-size: 2.3rem;
  margin-left: auto;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.vibrant-card-wrap:hover .vibrant-card-icon {
  transform: scale(1.35) rotate(-10deg);
}

/* Card Content Body */
.vibrant-card-content {
  position: relative;
  padding: 1.3rem 1.4rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.vibrant-card-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  transition: color 0.3s ease, transform 0.3s ease;
}

.vibrant-card-wrap:hover .vibrant-card-title {
  color: #ffffff;
  transform: translateX(3px);
}

.vibrant-card-desc {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.3rem;
  flex: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vibrant-card-action {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.vibrant-card-action svg {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.vibrant-card-wrap:hover .vibrant-card-action {
  background: var(--card-accent-color, #d4af37);
  color: #000000;
  border-color: var(--card-accent-color, #d4af37);
  box-shadow: 0 4px 15px var(--card-glow-color, rgba(212, 175, 55, 0.5));
}

.vibrant-card-wrap:hover .vibrant-card-action svg {
  transform: translateX(4px);
}

/* Ribbon Underloop Left (Fold) */
.vibrant-card-underloop {
  position: absolute;
  bottom: -6px;
  left: 2px;
  width: 54px;
  height: 18px;
  border-radius: 0 0 0 14px;
  background: var(--underloop-bg);
  transform: skewX(-12deg);
  z-index: 1;
  transition: transform 0.3s ease;
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.35);
}

.vibrant-card-wrap:hover .vibrant-card-underloop {
  transform: skewX(-12deg) translateY(2px);
}

/* Ribbon Tails Right */
.vibrant-card-tails {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  height: 75%;
  width: 24px;
  z-index: 1;
  pointer-events: none;
}

.vibrant-tail {
  position: absolute;
  height: 100%;
  transform: skewX(-18deg);
  border-radius: 0 6px 6px 0;
  transition: transform 0.35s ease;
}

.vibrant-tail.tail-1 {
  right: 8px;
  width: 16px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.vibrant-tail.tail-2 {
  right: -2px;
  top: 8%;
  height: 84%;
  width: 14px;
  opacity: 0.85;
}

.vibrant-card-wrap:hover .vibrant-tail.tail-1 {
  transform: skewX(-18deg) translateX(4px);
}

.vibrant-card-wrap:hover .vibrant-tail.tail-2 {
  transform: skewX(-18deg) translateX(8px);
}

/* ==========================================================================
   8 RICH FULL-COLOR GRADIENT PALETTES (EACH CARD HAS DISTINCT VIBRANT COLOR)
   ========================================================================== */

/* 01. Emerald Green */
.scheme-emerald {
  --card-bg-gradient: linear-gradient(145deg, #0b381a 0%, #1e5a2b 50%, #082612 100%);
  --card-border-color: rgba(102, 187, 106, 0.35);
  --card-accent-color: #66bb6a;
  --card-glow-color: rgba(76, 175, 80, 0.5);
  --card-glow-shadow: rgba(11, 56, 26, 0.7);
  --underloop-bg: linear-gradient(90deg, #9ecc1c 0%, #66bb6a 100%);
}

.scheme-emerald .vibrant-card-strap {
  background: linear-gradient(135deg, #66bb6a 0%, #2e7d32 100%);
}

.scheme-emerald .tail-1 {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
}

.scheme-emerald .tail-2 {
  background: linear-gradient(135deg, #81c784, #4caf50);
}

/* 02. Crimson Ruby Red */
.scheme-crimson {
  --card-bg-gradient: linear-gradient(145deg, #4d0b14 0%, #8c1626 50%, #30040a 100%);
  --card-border-color: rgba(239, 83, 80, 0.35);
  --card-accent-color: #ff5252;
  --card-glow-color: rgba(244, 67, 54, 0.5);
  --card-glow-shadow: rgba(77, 11, 20, 0.7);
  --underloop-bg: linear-gradient(90deg, #ff7961 0%, #ef5350 100%);
}

.scheme-crimson .vibrant-card-strap {
  background: linear-gradient(135deg, #ef5350 0%, #b71c1c 100%);
}

.scheme-crimson .tail-1 {
  background: linear-gradient(135deg, #e53935, #c62828);
}

.scheme-crimson .tail-2 {
  background: linear-gradient(135deg, #ef5350, #e53935);
}

/* 03. Sapphire Blue */
.scheme-sapphire {
  --card-bg-gradient: linear-gradient(145deg, #08214d 0%, #12428c 50%, #04122d 100%);
  --card-border-color: rgba(66, 165, 245, 0.35);
  --card-accent-color: #448aff;
  --card-glow-color: rgba(33, 150, 243, 0.5);
  --card-glow-shadow: rgba(8, 33, 77, 0.7);
  --underloop-bg: linear-gradient(90deg, #80d8ff 0%, #42a5f5 100%);
}

.scheme-sapphire .vibrant-card-strap {
  background: linear-gradient(135deg, #42a5f5 0%, #0d47a1 100%);
}

.scheme-sapphire .tail-1 {
  background: linear-gradient(135deg, #1e88e5, #1565c0);
}

.scheme-sapphire .tail-2 {
  background: linear-gradient(135deg, #64b5f6, #1e88e5);
}

/* 04. Amber Gold */
.scheme-amber {
  --card-bg-gradient: linear-gradient(145deg, #4a3304 0%, #7d570a 50%, #2c1e02 100%);
  --card-border-color: rgba(255, 215, 0, 0.4);
  --card-accent-color: #ffd700;
  --card-glow-color: rgba(255, 215, 0, 0.5);
  --card-glow-shadow: rgba(74, 51, 4, 0.7);
  --underloop-bg: linear-gradient(90deg, #ffff8d 0%, #ffee58 100%);
}

.scheme-amber .vibrant-card-strap {
  background: linear-gradient(135deg, #ffee58 0%, #f57f17 100%);
}

.scheme-amber .tail-1 {
  background: linear-gradient(135deg, #ffca28, #f57c00);
}

.scheme-amber .tail-2 {
  background: linear-gradient(135deg, #ffe082, #ffca28);
}

/* 05. Amethyst Purple */
.scheme-purple {
  --card-bg-gradient: linear-gradient(145deg, #320a59 0%, #5e11a3 50%, #1f043b 100%);
  --card-border-color: rgba(171, 71, 188, 0.35);
  --card-accent-color: #e040fb;
  --card-glow-color: rgba(156, 39, 176, 0.5);
  --card-glow-shadow: rgba(50, 10, 89, 0.7);
  --underloop-bg: linear-gradient(90deg, #ea80fc 0%, #ab47bc 100%);
}

.scheme-purple .vibrant-card-strap {
  background: linear-gradient(135deg, #ab47bc 0%, #4a148c 100%);
}

.scheme-purple .tail-1 {
  background: linear-gradient(135deg, #8e24aa, #6a1b9a);
}

.scheme-purple .tail-2 {
  background: linear-gradient(135deg, #ce93d8, #8e24aa);
}

/* 06. Electric Teal */
.scheme-teal {
  --card-bg-gradient: linear-gradient(145deg, #00363a 0%, #00686c 50%, #002022 100%);
  --card-border-color: rgba(38, 198, 218, 0.35);
  --card-accent-color: #18ffff;
  --card-glow-color: rgba(0, 188, 212, 0.5);
  --card-glow-shadow: rgba(0, 54, 58, 0.7);
  --underloop-bg: linear-gradient(90deg, #84ffff 0%, #26c6da 100%);
}

.scheme-teal .vibrant-card-strap {
  background: linear-gradient(135deg, #26c6da 0%, #006064 100%);
}

.scheme-teal .tail-1 {
  background: linear-gradient(135deg, #00acc1, #00838f);
}

.scheme-teal .tail-2 {
  background: linear-gradient(135deg, #80deea, #00acc1);
}

/* 07. Coral Orange */
.scheme-orange {
  --card-bg-gradient: linear-gradient(145deg, #592008 0%, #993a12 50%, #381203 100%);
  --card-border-color: rgba(255, 167, 38, 0.35);
  --card-accent-color: #ff6e40;
  --card-glow-color: rgba(255, 87, 34, 0.5);
  --card-glow-shadow: rgba(89, 32, 8, 0.7);
  --underloop-bg: linear-gradient(90deg, #ffd180 0%, #ffa726 100%);
}

.scheme-orange .vibrant-card-strap {
  background: linear-gradient(135deg, #ffa726 0%, #e65100 100%);
}

.scheme-orange .tail-1 {
  background: linear-gradient(135deg, #fb8c00, #d84315);
}

.scheme-orange .tail-2 {
  background: linear-gradient(135deg, #ffcc80, #fb8c00);
}

/* 08. Vivid Magenta */
.scheme-magenta {
  --card-bg-gradient: linear-gradient(145deg, #4d062a 0%, #87144e 50%, #300219 100%);
  --card-border-color: rgba(236, 64, 122, 0.35);
  --card-accent-color: #ff4081;
  --card-glow-color: rgba(233, 30, 99, 0.5);
  --card-glow-shadow: rgba(77, 6, 42, 0.7);
  --underloop-bg: linear-gradient(90deg, #ff80ab 0%, #ec407a 100%);
}

.scheme-magenta .vibrant-card-strap {
  background: linear-gradient(135deg, #ec407a 0%, #880e4f 100%);
}

.scheme-magenta .tail-1 {
  background: linear-gradient(135deg, #d81b60, #ad1457);
}

.scheme-magenta .tail-2 {
  background: linear-gradient(135deg, #f48fb1, #d81b60);
}

/* ==========================================================================
   TOP-CENTER CIRCULAR NUMBERED INFOGRAPHIC CARDS (LUXURY GOLDEN THEME)
   ========================================================================== */

.top-numbered-card-wrap {
  position: relative;
  width: 100%;
  padding-top: 26px;
  /* Sleek smaller badge space */
  margin-bottom: 1.8rem;
  perspective: 1000px;
}

/* 1. SLEEK PURE GOLD TOP CENTER CIRCLE BADGE */
.top-numbered-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #aa7c11 100%);
  color: #0f172a;
  border: 2px solid #fff5c0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.45), 0 0 0 4px #ffffff;
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.top-numbered-card-wrap:hover .top-numbered-circle {
  transform: translateX(-50%) scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.6), 0 0 0 4px #ffffff;
}

/* Center Executive Avatar Badge & Smooth Animations */
.team-center-emblem {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #f1f5f9 100%);
  border: 2px solid #ffd700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 12px rgba(255, 215, 0, 0.3), inset 0 0 10px rgba(255, 215, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  animation: avatarFloat 4s ease-in-out infinite alternate;
}

.team-avatar-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

@keyframes avatarFloat {
  0% {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 0 12px rgba(255, 215, 0, 0.3);
  }

  100% {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 18px rgba(255, 215, 0, 0.5);
  }
}

/* Hover Animation Effects */
.top-numbered-card-wrap:hover .team-center-emblem {
  transform: translateY(-6px) scale(1.12) rotate(-3deg);
  border-color: #ffd700;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fff5c0 100%);
  box-shadow: 0 14px 32px rgba(212, 175, 55, 0.45), 0 0 25px rgba(255, 215, 0, 0.6);
  animation-play-state: paused;
}

.top-numbered-card-wrap:hover .team-avatar-icon {
  transform: scale(1.12);
  filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}



/* 2. CARD CONTAINER BODY (GOLD ACCENTED BORDER) */
.top-numbered-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 310px;
  background: #ffffff;
  border-radius: 18px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  z-index: 2;
  overflow: hidden;
}

.top-numbered-card-wrap:hover .top-numbered-card-body {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(212, 175, 55, 0.3), 0 0 30px rgba(255, 215, 0, 0.35);
  border-color: #ffd700;
}

/* 3. UPPER CONTENT PANEL */
.top-numbered-upper {
  padding: 2.2rem 1.4rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.top-numbered-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.top-numbered-card-wrap:hover .top-numbered-title {
  color: #aa7c11;
}

.top-numbered-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

/* 4. LUXURY RICH GOLDEN LOWER BANNER BLOCK */
.top-numbered-lower-banner {
  position: relative;
  background: linear-gradient(135deg, #c9a227 0%, #aa7c11 50%, #785605 100%);
  padding: 0.95rem 1.2rem 1.15rem 1.2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 2px solid #fff5c0;
}

.top-numbered-lower-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 0.2rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.top-numbered-lower-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-weight: 500;
}

/* Bottom Folded Gold Ribbon Tail */
.top-numbered-lower-banner::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #573e03;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.25));
}

/* ==========================================================================
   WORK POLICY SECTION (EXECUTIVE LUXURY CARDS DESIGN)
   ========================================================================== */

.policy-card-container {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06), 0 0 25px rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
}

.policy-card-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #aa7c11 100%);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.policy-item-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-left: 3.5px solid rgba(212, 175, 55, 0.5);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.policy-item-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #ffffff 0%, #fffdf2 100%);
  border-color: rgba(212, 175, 55, 0.75);
  border-left: 4px solid #ffd700;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.22);
}

.policy-check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.35);
  transition: transform 0.3s ease, background 0.3s ease;
}

.policy-item-card:hover .policy-check-icon {
  transform: scale(1.12) rotate(10deg);
  background: linear-gradient(135deg, #ffffff 0%, #ffd700 100%);
}

.policy-check-icon svg {
  width: 16px;
  height: 16px;
  stroke: #0f172a;
  stroke-width: 3;
}

.policy-text {
  font-size: 0.93rem;
  color: #1e293b;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   MASTER EXECUTIVE MOBILE VIEW STYLES & OVERRIDES (HIGHEST PRIORITY)
   ========================================================================== */
@media (max-width: 991px) {

  /* 1. Header & Logo Formatting */
  .tier1-top {
    display: none !important;
  }

  .tier2-middle {
    padding: 10px 0 !important;
    background: #ffffff !important;
  }

  .t2-brand img.main-header-logo,
  .t2-brand img {
    height: 85px !important;
    max-height: 85px !important;
    min-height: 78px !important;
    width: auto !important;
    object-fit: contain !important;
    margin-bottom: 6px !important;
    mix-blend-mode: multiply !important;
  }

  .brand-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    letter-spacing: 0.8px !important;
    text-align: center !important;
    margin-top: 2px !important;
  }

  /* 2. Hide Slider Navigation Controls & Indicators on Mobile */
  .slider-nav,
  .slider-controls,
  .slider-indicators {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* 3. Hero Section Background & Layout on Mobile */
  .hero-slider-section {
    height: auto !important;
    min-height: 480px !important;
    position: relative !important;
    border-bottom: 3px solid #c9a227 !important;
    overflow: hidden !important;
    background-color: #0b172a !important;
    touch-action: pan-y !important;
  }

  .hero-slider-section .slide {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    opacity: 0 !important;
    transition: opacity 0.8s ease-in-out !important;
    min-height: 480px !important;
    z-index: 1 !important;
    touch-action: pan-y !important;
  }

  .hero-slider-section .slide.active {
    opacity: 1 !important;
    z-index: 2 !important;
  }

  .slide-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, rgba(11, 23, 42, 0.72) 0%, rgba(11, 23, 42, 0.85) 100%) !important;
    display: block !important;
    z-index: 1 !important;
    pointer-events: none !important;
  }

  /* 4. Slide Content Formatting on Mobile */
  .slide-content {
    padding: 3.5rem 1.2rem 3.5rem 1.2rem !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 3 !important;
  }

  .slide-subtitle {
    font-size: 0.85rem !important;
    letter-spacing: 2px !important;
    color: #c9a227 !important;
    font-weight: 800 !important;
    margin-bottom: 0.8rem !important;
    text-transform: uppercase !important;
  }

  .slide-title {
    font-size: 1.85rem !important;
    line-height: 1.28 !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
    font-weight: 800 !important;
  }

  .slide-desc {
    font-size: 0.95rem !important;
    line-height: 1.65 !important;
    color: #cbd5e1 !important;
    margin: 0 auto 1.75rem auto !important;
    max-width: 100% !important;
  }

  .slide-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .slide-actions a,
  .slide-actions .btn-primary,
  .slide-actions .btn-outline {
    width: 100% !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-align: center !important;
    justify-content: center !important;
    letter-spacing: 0.5px !important;
  }

  .btn-primary {
    background: linear-gradient(135deg, #c9a227 0%, #aa7c11 100%) !important;
    color: #0b172a !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3) !important;
  }

  .btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
  }

  /* 5. Page Header Banners on Mobile */
  .page-header {
    min-height: 240px !important;
    padding: 60px 15px 40px 15px !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .page-header::before {
    background: rgba(15, 23, 42, 0.65) !important;
  }

  /* 6. General Section Images & Avatars on Mobile */
  .team-avatar-icon {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .team-center-emblem {
    width: 76px !important;
    height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .founder-img,
  .about-image,
  .value-card img,
  .book-card img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 7. Work Policy & About Page Mobile Layout */
  .policy-card-container {
    padding: 1.25rem 0.85rem !important;
    border-radius: 16px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .policy-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    width: 100% !important;
  }

  .policy-item-card {
    padding: 0.95rem 0.85rem !important;
    border-radius: 12px !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .policy-text {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .mission-vision-card {
    padding: 1.5rem 1.2rem !important;
  }

  .top-numbered-card-body {
    min-height: auto !important;
  }

  /* 8. Legal Drafting Section Mobile Responsiveness */
  #drafting {
    padding: 3rem 0 !important;
  }

  .drafting-glass-panel {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 1.5rem 1.2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  #drafting .founder-img-wrapper img {
    height: 280px !important;
    border-radius: 12px !important;
  }
}

@media (min-width: 992px) {
  .drafting-glass-panel {
    margin-right: -50px;
  }

  .t2-brand img.main-header-logo {
    height: 98px !important;
    max-height: 98px !important;
    min-height: 88px !important;
  }

  .brand-title {
    font-size: 2.2rem !important;
    letter-spacing: 1.5px !important;
    word-spacing: 5px !important;
    line-height: 1.25 !important;
  }
}

@media (min-width: 1400px) {
  .t2-brand img.main-header-logo {
    height: 105px !important;
    max-height: 105px !important;
    min-height: 95px !important;
  }

  .brand-title {
    font-size: 2.55rem !important;
    letter-spacing: 2px !important;
    word-spacing: 6px !important;
    line-height: 1.25 !important;
  }
}

/* Lightbox Gallery Navigation Arrows */
.modal-gallery-nav:hover {
  background: #ffffff !important;
  color: #0b172a !important;
  border-color: #ffd700 !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.7) !important;
}

@media (max-width: 768px) {
  .modal-gallery-nav {
    width: 44px !important;
    height: 44px !important;
  }

  .modal-gallery-prev {
    left: 8px !important;
  }

  .modal-gallery-next {
    right: 8px !important;
  }
}

/* ==========================================================================
   IMPERIAL LIGHT EXECUTIVE LEGAL TEAM SECTION (LIGHT BACKGROUND DESIGN)
   ========================================================================== */

.light-exec-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  border-radius: 24px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.05);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.light-exec-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #aa7c11 100%);
}

.imperial-team-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 340px;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  padding: 2.2rem 1.4rem 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.imperial-team-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf2 100%);
  border-color: #ffd700;
  box-shadow: 0 20px 45px rgba(212, 175, 55, 0.28), 0 0 25px rgba(255, 215, 0, 0.2);
}

.imperial-number-tag {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  border-radius: 20px;
  padding: 2px 10px;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.imperial-avatar-badge {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fff8d6 50%, #fef3c7 100%);
  border: 2px solid #ffd700;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35), 0 0 15px rgba(255, 215, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: #0f172a;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.imperial-avatar-badge svg {
  width: 40px;
  height: 40px;
  stroke: #0f172a;
  stroke-width: 1.8;
}

.imperial-team-card:hover .imperial-avatar-badge {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 14px 28px rgba(212, 175, 55, 0.5);
}

.imperial-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.imperial-role-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #c9a227 0%, #aa7c11 100%);
  border-radius: 30px;
  padding: 4px 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.imperial-bio {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex: 1;
}

.imperial-card-footer {
  width: 100%;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .light-exec-section {
    padding: 2.5rem 1rem !important;
    border-radius: 18px !important;
  }
}