/* ==========================================================================
   JADELEA LIMITED - Official Corporate Stylesheet
   Color Identity: Premium Corporate Purple & Yellow Accent
   Mobile Responsiveness: 100% Fully Optimized across all Breakpoints
   Version: 3.0.0
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Primary Purple Palette */
  --color-primary: #5B21B6;       /* Primary Purple */
  --color-primary-dark: #3B0764;  /* Dark Purple */
  --color-primary-light: #F5F3FF; /* Light Purple */
  
  --color-secondary: #5B21B6;     /* Primary Brand Purple */
  --color-secondary-hover: #3B0764; /* Dark Purple Hover */

  /* Yellow Accent Palette (Secondary Accent Only) */
  --color-accent: #FBBF24;        /* Yellow Accent */
  --color-accent-hover: #D97706;  
  --color-accent-light: #FEF3C7;  /* Soft Yellow */

  /* Neutral & Background Palette */
  --color-bg-main: #FFFFFF;
  --color-bg-alt: #FAF9FC;        /* Alternative Section Background */
  --color-bg-card: #FFFFFF;
  --color-border: #E8E3ED;        /* Borders */
  --color-border-hover: #D8D0E3;

  /* Typography Colors */
  --color-text-main: #17131F;     /* Main Dark Text */
  --color-text-body: #5F5968;     /* Secondary Body Text */
  --color-text-muted: #5F5968;    /* Subdued Text */
  --color-text-light: #F5F3FF;    /* Inverted Text */

  /* Footer Colors */
  --color-footer-bg: #3B0764;     /* Dark Purple Footer Background */
  --color-footer-text: #E8E3ED;   /* Footer Text */
  --color-footer-link-hover: #FBBF24; /* Subtle Yellow Hover Accent */

  /* Typography Settings */
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 1rem;         /* 16px */
  --line-height-base: 1.6;

  /* Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(23, 19, 31, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(91, 33, 182, 0.08), 0 2px 4px -1px rgba(23, 19, 31, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(59, 7, 100, 0.12), 0 4px 6px -2px rgba(23, 19, 31, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* --------------------------------------------------------------------------
   2. Base Reset & Typography
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-sans);
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color: var(--color-text-body);
  background-color: var(--color-bg-main);
  overflow-x: hidden;
  width: 100%;
}

body {
  line-height: var(--line-height-base);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

main {
  flex: 1;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.85rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.45rem, 3.8vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  overflow-wrap: anywhere;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

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

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   3. Layout Utilities & Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  border-left: 3px solid var(--color-accent);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.2;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary-dark);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-accent:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Cards */
.card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}

.card:hover .icon-box {
  border-color: var(--color-accent);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

/* --------------------------------------------------------------------------
   4. Global Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid #EEEAF2;
  box-shadow: 0 2px 8px rgba(59, 7, 100, 0.03);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.92;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo .brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-logo .brand-tagline {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-body);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link.active {
  color: var(--color-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--color-primary);
  border-radius: var(--radius-sm);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* --------------------------------------------------------------------------
   5. Hero Sections
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-alt) 100%);
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--color-text-body);
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.hero-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Inner Page Header Hero */
.page-hero {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  background-color: var(--color-primary-dark);
  color: #ffffff;
  position: relative;
  border-bottom: 3px solid var(--color-primary);
}

.page-hero .hero-title {
  color: #ffffff;
}

.page-hero .hero-subtitle {
  color: #E8E3ED;
  font-size: 1.2rem;
  max-width: 680px;
  margin-top: 1rem;
}

.page-hero .badge {
  background-color: rgba(245, 243, 255, 0.15);
  color: var(--color-accent-light);
  border-left-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   6. Page-Specific Sections
   -------------------------------------------------------------------------- */

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Service Cards */
.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--color-text-main);
}

.service-card-desc {
  color: var(--color-text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
  flex: 1;
}

/* Detailed Service Item */
.service-detail-block {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-bottom: 2rem;
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
}

.service-detail-block:hover {
  border-color: var(--color-border-hover);
}

.service-detail-block:last-child {
  margin-bottom: 0;
}

.service-detail-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-detail-header h2 {
  font-size: 1.75rem;
  color: var(--color-text-main);
}

.service-detail-text {
  font-size: 1.05rem;
  color: var(--color-text-body);
  line-height: 1.7;
}

/* Process / Approach Steps */
.step-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-sizing: border-box;
}

.step-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  display: inline-block;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}

.step-title {
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

/* Company Information Box */
.info-box {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-sizing: border-box;
}

.info-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  row-gap: 1.25rem;
  column-gap: 1.5rem;
  align-items: baseline;
}

.info-label {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

.info-value {
  color: var(--color-text-body);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

/* Contact Page Form & Details */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-card {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border-left: 4px solid var(--color-accent);
  box-sizing: border-box;
}

.contact-info-card h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-light);
  margin-bottom: 0.25rem;
}

.contact-item-content {
  color: #F5F3FF;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Forms */
.form-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-family-sans);
  font-size: 1rem; /* 16px to prevent iOS zoom */
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.15);
  outline: none;
}

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

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.form-checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--color-text-body);
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  display: none;
  box-sizing: border-box;
}

.form-alert.success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  display: block;
}

.form-alert.error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  display: block;
}

/* Legal & Document Content Pages */
.doc-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.doc-section {
  margin-bottom: 3rem;
  width: 100%;
  box-sizing: border-box;
}

.doc-section:last-child {
  margin-bottom: 0;
}

.doc-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.doc-section h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.doc-section p, .doc-section ul {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.doc-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.doc-section li {
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-banner {
  background-color: var(--color-primary-dark);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  border-top: 4px solid var(--color-accent);
  box-sizing: border-box;
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #E8E3ED;
  font-size: 1.125rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   7. Global Footer: Dark Purple #3B0764
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 3px solid var(--color-primary);
  width: 100%;
  box-sizing: border-box;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col {
  box-sizing: border-box;
}

.footer-col .brand-name {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-footer-text);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-footer-link-hover);
}

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-footer-text);
}

.footer-corp-info {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-footer-text);
  overflow-wrap: anywhere;
}

.footer-corp-info strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-link {
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  overflow-wrap: anywhere;
}

.footer-contact-link:hover {
  color: var(--color-footer-link-hover);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 243, 255, 0.15);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #D8D0E3;
}

/* --------------------------------------------------------------------------
   8. Responsive Media Queries (Tablet & Mobile Optimization)
   -------------------------------------------------------------------------- */

/* TABLET BREAKPOINT (769px to 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 2.5rem;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* MOBILE BREAKPOINT (<768px) - PRIMARY MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  /* Container Breathing Room */
  .container {
    padding-left: 1.125rem; /* 18px padding */
    padding-right: 1.125rem; /* 18px padding */
  }

  .section {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  /* Header & Navigation */
  .site-header {
    height: 72px;
  }

  .brand-symbol {
    width: 32px;
    height: 32px;
  }

  .brand-logo .brand-name {
    font-size: 1.1rem;
  }

  .brand-logo .brand-tagline {
    font-size: 0.55rem;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .nav-wrapper {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background-color: #ffffff;
    border-bottom: 3px solid var(--color-primary);
    padding: 1.75rem 1.5rem 2.5rem 1.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    display: none;
    box-sizing: border-box;
  }

  .nav-wrapper.is-open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-wrapper .btn-accent {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
    margin-top: 0.5rem;
  }

  /* Single Column Stack Layouts */
  .hero-grid,
  .contact-grid,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
    width: 100%;
  }

  /* HERO MOBILE STACK */
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    max-width: 100%;
    width: 100%;
    margin-inline: auto;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }

  .hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-image-wrapper img {
    height: auto;
    max-height: 320px;
  }

  /* PAGE HERO MOBILE */
  .page-hero {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .page-hero .hero-subtitle {
    font-size: 1.05rem;
  }

  /* MANDATORY HORIZONTAL CENTERING OF ALL CARDS ON MOBILE */
  .card,
  .step-card,
  .info-box,
  .service-detail-block,
  .contact-info-card,
  .form-wrapper,
  .doc-container,
  .cta-banner {
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  /* Inner Card Content Padding Adjustment for Mobile */
  .card,
  .step-card,
  .info-box,
  .contact-info-card,
  .form-wrapper,
  .service-detail-block {
    padding: 1.75rem 1.35rem;
  }

  .service-detail-header {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .service-detail-header h2 {
    font-size: 1.35rem;
  }

  /* CTA BANNER MOBILE */
  .cta-banner {
    padding: 2.75rem 1.35rem;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  /* CONTACT PAGE MOBILE STACK */
  .contact-info-card {
    border-left: none;
    border-top: 4px solid var(--color-accent);
  }

  /* FOOTER MOBILE */
  .site-footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 3rem;
  }

  .footer-col {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}

/* SMALL MOBILE BREAKPOINT (<480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem; /* 16px padding */
    padding-right: 1rem; /* 16px padding */
  }

  .section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  /* Vertical Button Stack for Hero & Buttons */
  .btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    height: 48px;
    padding: 0.75rem 1.25rem;
  }

  .card,
  .step-card,
  .info-box,
  .contact-info-card,
  .form-wrapper,
  .service-detail-block {
    padding: 1.5rem 1.15rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .info-label {
    margin-top: 0.65rem;
  }

  .info-label:first-child {
    margin-top: 0;
  }
}

/* VERY SMALL MOBILE BREAKPOINT (<360px) */
@media (max-width: 360px) {
  .brand-logo .brand-name {
    font-size: 0.95rem;
  }

  .brand-symbol {
    width: 28px;
    height: 28px;
  }

  h1 {
    font-size: 1.65rem;
  }

  h2 {
    font-size: 1.35rem;
  }
}

/* --------------------------------------------------------------------------
   Modal / Toast UX Dialog (Purple + Yellow Theme)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(23, 19, 31, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
  box-sizing: border-box;
}

.modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 25px -5px rgba(59, 7, 100, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 440px;
  padding: 2.25rem 2rem;
  text-align: center;
  border-top: 5px solid var(--color-primary);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
}

.modal-overlay.is-visible .modal-card {
  transform: translateY(0) scale(1);
}

.modal-icon-wrapper {
  width: 64px;
  height: 64px;
  background-color: var(--color-primary-light);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  color: var(--color-primary);
}

.modal-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 1.75rem;
}

.modal-body p {
  margin-bottom: 0.4rem;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
