/* ==========================================================================
   Core Dataverse - Modern UI Stylesheet 2026
   Modern Enterprise Dynamics 365 & Power Platform Consultancy Theme
   ========================================================================== */

:root {
  --primary: #0078D4;
  --primary-hover: #0062b1;
  --primary-light: #e0f0ff;
  --accent: #0284C7;
  --accent-cyan: #06B6D4;
  --navy: #0B132B;
  --navy-dark: #070B19;
  --navy-light: #1C2541;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;
  --success: #10B981;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(0, 120, 212, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
html {
  scroll-behavior: auto;
  scroll-padding-top: 105px;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: clip;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-main);
  color: var(--slate-700);
  background-color: #FFFFFF;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--primary-hover);
}

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

/* ==========================================================================
   Utility Classes & Badges
   ========================================================================== */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-badge-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #60A5FA;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-600);
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.top-utility-bar {
  background-color: var(--navy-dark);
  color: #94A3B8;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-bar a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-utility-bar a:hover {
  color: #FFFFFF;
}

.top-utility-bar .divider {
  display: inline-block;
  width: 1px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 12px;
  vertical-align: middle;
}

/* ==========================================================================
   Modern Navbar
   ========================================================================== */
.modern-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.modern-navbar.scrolled {
  padding: 12px 0; /* Stable height to eliminate layout reflow and scroll oscillation */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-brand-logo {
  height: 64px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

@media (max-width: 767px) {
  .navbar-brand-logo {
    height: 52px;
  }
}

.modern-navbar .nav-link {
  color: var(--slate-800);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
  color: var(--primary);
  background-color: rgba(0, 120, 212, 0.06);
}

.btn-primary-gradient {
  background: linear-gradient(135deg, #0078D4 0%, #0284C7 100%);
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #0062b1 0%, #0369A1 100%);
  box-shadow: 0 6px 20px rgba(0, 120, 212, 0.45);
  transform: translateY(-2px);
  color: #FFFFFF !important;
}

.btn-outline-custom {
  background: transparent;
  color: var(--slate-800);
  border: 1.5px solid var(--slate-300);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(165deg, #F8FAFC 0%, #EDF2F7 50%, #E2E8F0 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.12) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(28, 37, 65, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.65rem;
  }
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0078D4 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 3rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-item i {
  color: var(--primary);
  font-size: 1.15rem;
}

/* Hero Showcase Card */
.hero-visual-wrapper {
  position: relative;
  z-index: 2;
}

.hero-main-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
}

.hero-main-card img {
  border-radius: var(--radius-md);
  width: 100%;
  display: block;
  object-fit: cover;
}

.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}

.stat-card-top {
  top: -24px;
  left: -20px;
}

.stat-card-bottom {
  bottom: -24px;
  right: -20px;
}

@media (max-width: 767px) {
  .stat-card-top, .stat-card-bottom {
    position: static;
    margin-top: 1rem;
  }
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.stat-icon.primary {
  background: var(--primary-light);
  color: var(--primary);
}

.stat-icon.success {
  background: #DCFCE7;
  color: var(--success);
}

.stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--slate-600);
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   Partners & Ecosystem Strip
   ========================================================================== */
.ecosystem-strip {
  padding: 40px 0;
  background: #FFFFFF;
  border-bottom: 1px solid var(--slate-200);
}

.ecosystem-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 24px;
}

.ecosystem-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 24px;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.partner-logo-item:hover {
  transform: translateY(-2px);
}

.partner-logo-item .rounded-pill {
  background-color: #FFFFFF !important;
  border: 1px solid var(--slate-200) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all 0.25s ease;
}

.partner-logo-item:hover .rounded-pill {
  background-color: #FFFFFF !important;
  border-color: rgba(0, 120, 212, 0.4) !important;
  box-shadow: 0 4px 14px rgba(0, 120, 212, 0.12);
  color: var(--primary) !important;
}

.partner-logo-item img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.about-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--navy);
}

.about-feature-text {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin: 0;
}

.about-media-stack {
  position: relative;
  padding: 20px;
}

.about-main-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 88%;
  display: block;
}

.about-overlap-card {
  position: absolute;
  bottom: -15px;
  right: -10px;
  width: 68%;
  background: #FFFFFF;
  padding: 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.16);
  border: 1px solid var(--slate-200);
  transition: var(--transition);
}

.about-overlap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 55px rgba(0, 0, 0, 0.2);
}

.about-overlap-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  display: block;
}

.experience-badge {
  position: absolute;
  top: 10px;
  right: 40px;
  background: var(--navy);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.experience-badge .years {
  font-size: 1.8rem;
  font-weight: 800;
  color: #38BDF8;
  display: block;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
  padding: 100px 0;
  background-color: var(--slate-50);
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -5px rgba(15, 23, 42, 0.1);
  border-color: #CBD5E1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-logo-header {
  height: 60px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.service-logo-header img {
  max-height: 52px;
  max-width: 180px;
  object-fit: contain;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.service-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-summary {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.service-tag {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.service-action-link i {
  transition: var(--transition);
}

.service-card:hover .service-action-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   Delivery Process Section
   ========================================================================== */
.process-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.process-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  height: 100%;
  transition: var(--transition);
}

.process-card:hover {
  background: #FFFFFF;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #38BDF8;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.process-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.process-step-desc {
  font-size: 0.93rem;
  color: var(--slate-600);
  margin: 0;
}

/* ==========================================================================
   Experience / Banner Callout
   ========================================================================== */
.experience-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.experience-banner::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.experience-banner h3 {
  color: #FFFFFF;
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.experience-banner p {
  color: #CBD5E1;
  font-size: 1.1rem;
  margin: 0;
  max-width: 600px;
}

/* ==========================================================================
   Dedicated Clients & Strategic Partnerships Section
   ========================================================================== */
.clients-section {
  padding: 100px 0;
  background-color: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  position: relative;
}

.client-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.client-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--slate-100);
}

.client-logo-wrapper {
  height: 52px;
  display: flex;
  align-items: center;
}

.client-logo-wrapper img {
  max-height: 48px;
  max-width: 190px;
  object-fit: contain;
}

.client-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.client-card-body {
  flex: 1;
}

.client-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--navy);
}

.client-card-desc {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.client-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.client-tag-pill {
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--slate-100);
  color: var(--slate-700);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--slate-200);
}

.client-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--slate-100);
}

.client-external-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.client-external-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Integrated Microsoft Stack Row inside Clients Section */
.tech-integration-box {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 48px;
  box-shadow: var(--shadow-sm);
}

.tech-integration-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748B;
  text-align: center;
  margin-bottom: 24px;
}

.tech-integration-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
}

.tech-integration-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}

.tech-integration-item:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background-color: var(--slate-50);
}

.contact-card-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
}

.contact-info-panel {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #FFFFFF;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info-panel h3 {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info-panel p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.8rem;
  color: #94A3B8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 1.05rem;
  color: #FFFFFF;
  font-weight: 600;
  margin: 0;
}

.contact-detail-value a {
  color: #FFFFFF;
}

.contact-detail-value a:hover {
  color: #38BDF8;
}

.contact-form-panel {
  padding: 50px 40px;
}

.contact-form-panel h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.contact-form-panel p.subhead {
  color: var(--slate-600);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.modern-form-group {
  margin-bottom: 20px;
}

.modern-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.modern-form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--slate-300);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-900);
  background-color: #FFFFFF;
  transition: var(--transition);
}

.modern-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.12);
}

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

/* ==========================================================================
   Footer (Clean Light Style Matching Logo Background)
   ========================================================================== */
.modern-footer {
  background-color: #FFFFFF;
  color: var(--slate-600);
  padding: 80px 0 30px;
  border-top: 1px solid var(--slate-200);
}

.footer-logo {
  height: 64px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  /* Seamless blend with footer background: no box, no shadow */
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.footer-heading {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--slate-600);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--slate-200);
  font-size: 0.88rem;
  color: var(--slate-600);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Modal Redesign (Bootstrap 5 Clean Styling)
   ========================================================================== */
.modern-modal .modal-content {
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.modern-modal .modal-header {
  background: var(--navy);
  color: #FFFFFF;
  padding: 24px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-modal .modal-title {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-modal .btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.modern-modal .modal-body {
  padding: 30px;
  background: #FFFFFF;
}

.modern-nav-pills {
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 16px;
}

.modern-nav-pills .nav-link {
  color: var(--slate-700);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.9rem;
  background: var(--slate-100);
  transition: var(--transition);
}

.modern-nav-pills .nav-link.active {
  background: var(--primary);
  color: #FFFFFF;
}

.modal-feature-preview {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  margin-bottom: 20px;
  width: 100%;
}

.modal-feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.modal-feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--slate-700);
}

.modal-feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
  font-size: 1rem;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */
@media (max-width: 991px) {
  .hero-section {
    padding: 60px 0 80px;
  }
  .about-media-stack {
    margin-top: 40px;
  }
  .contact-info-panel {
    padding: 40px 30px;
  }
  .contact-form-panel {
    padding: 40px 30px;
  }
}

@media (max-width: 767px) {
  .about-overlap-card {
    position: static;
    width: 100%;
    margin-top: 1.25rem;
  }
}
