@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary: #005a98;
  --primary-container: #0073c0;
  --on-primary: #ffffff;
  
  --secondary: #006687;
  --secondary-container: #d2e4ef;
  --on-secondary: #ffffff;
  
  --tertiary: #725100;
  --on-tertiary: #ffffff;

  --surface: #ffffff;
  --on-surface: #1b1c1c;
  --surface-container-low: #f5f7fa;
  --surface-container-high: #e2e8f0;
  --surface-container-lowest: #ffffff;
  
  --outline-variant: rgba(27, 28, 28, 0.15);

  --font-base: 'Public Sans', sans-serif;
  
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 80px;

  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-full: 9999px;
  
  --shadow-ambient: 0 8px 32px rgba(27, 28, 28, 0.05);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  color: var(--on-surface);
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

/* Typography Editorial Scale */
h1, h2, h3, h4, h5, h6 {
  color: var(--on-surface);
  font-weight: 700;
  line-height: 1.2;
}

.display-lg {
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.display-sm {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 65ch;
  margin-bottom: var(--space-lg);
}

.body-md {
  font-size: 1rem;
  line-height: 1.6;
}

.label-scale {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Sections & Grid */
.container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

.section {
  padding: var(--space-xxl) 0;
}

.bg-low {
  background-color: transparent;
}
.bg-low .container {
  background-color: var(--surface-container-low);
  padding: var(--space-xl);
}

.bg-high {
  background-color: transparent;
}
.bg-high .container {
  background-color: var(--surface-container-high);
  padding: var(--space-xl);
}

/* Grid & Layout (Asymmetric support) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-ambient);
}

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

.btn-primary:hover {
  color: var(--on-primary);
  background-color: var(--primary-container);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-container-low) 100%);
  color: var(--on-surface);
}

.btn-accent {
  background-color: var(--tertiary);
  color: var(--on-tertiary);
}
.btn-accent:hover {
  color: var(--on-tertiary);
  background-color: #8c6400;
}

/* Circle Button */
.btn-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: var(--tertiary);
  color: var(--on-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  padding: 16px;
  transform: rotate(10deg); /* Sticker effect */
}
.btn-circle:hover {
  transform: scale(1.05) translateY(-5px) rotate(0deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--on-tertiary);
}

/* Utility */
.w-100 { width: 100%; }

/* Animated Submit Button */
.btn-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full); /* pill shape is kept */
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--primary);
  text-decoration: none;
}
.btn-animated:hover {
  background-color: #ffffff;
  color: var(--primary);
}
.btn-animated svg {
  transition: all 0.3s ease;
}
.btn-animated .arrow-left {
  max-width: 24px;
  margin-right: 8px;
  opacity: 1;
}
.btn-animated .arrow-right {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
}
.btn-animated:hover .arrow-left {
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
}
.btn-animated:hover .arrow-right {
  max-width: 24px;
  margin-left: 8px;
  opacity: 1;
}

/* Glass Header Navigation */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: stretch; /* Make children fill height */
  z-index: 100;
  background-color: var(--surface);
}
.header-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #000000;
}
.logo img {
  height: 40px;
}
.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}
.nav-links a:not(.btn) {
  color: var(--on-surface);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:not(.btn):hover {
  color: var(--primary);
}

/* Dropdowns */
.dropdown {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 24px 0; /* Expanded hover hit area */
}
.dropbtn {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-content::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
}
.dropdown-content {
  display: none; /* simple display approach, fallback if transition fails */
  position: absolute;
  top: 60px; /* offset clear from nav center */
  left: 0;
  background-color: var(--surface-container-lowest);
  min-width: 250px;
  box-shadow: var(--shadow-ambient);
  border-radius: var(--radius-md);
  padding: var(--space-xs) 0;
  z-index: 101;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none; /* prevent accidental clicks when invisible */
}
.dropdown.is-open .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-content a {
  color: var(--on-surface);
  padding: 12px 20px;
  display: block;
  font-weight: 400;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--surface-container-low);
}
.dropdown-content a:last-child {
  border-bottom: none;
}
.dropdown-content a:hover {
  background-color: var(--surface-container-low);
  color: var(--primary);
}

/* Mod-Hero (Hero Section as island) */
.mod-hero {
  position: relative;
  max-width: 1080px;
  width: 90%;
  margin: 0 auto; /* Removed 80px offset since sub-nav is now in flow */
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--space-xl) 0;
  background: transparent;
  color: var(--on-surface);
  overflow: visible;
}

.mod-hero .container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.mod-hero-shapes {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.mod-hero h1 {
  color: var(--primary);
}

.mod-hero p {
  color: #000000;
}

/* Mod-Benefits (Cards) */
.card-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  align-items: flex-start;
  height: 100%;
}
.card-benefit .card-icon {
  grid-column: 1;
  grid-row: 1 / 3;
  margin-bottom: 0 !important; /* override inline styles */
}
.card-benefit h3 {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 6px !important;
  margin-top: 4px !important;
}
.card-benefit p {
  grid-column: 2;
  grid-row: 2;
  margin-top: 0;
}
.card-benefit:hover {
  /* No hover effect for plain text items */
}
.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-container);
  color: var(--secondary);
  border-radius: 50%; /* Made fully round per user request */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

/* Mod-Jobs (Offene Stellen) */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--outline-variant);
  transition: opacity 0.2s ease;
  text-decoration: none;
}
.job-item:first-child {
  border-top: 1px solid var(--outline-variant);
}

.job-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-xxs);
  color: var(--primary);
}
.job-meta {
  color: #555;
  font-size: 0.875rem;
}
.chip {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--on-secondary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Mod-CTA Banner */
.mod-cta {
  background-color: var(--primary);
  color: var(--on-primary);
  text-align: center;
  padding: var(--space-xxl) 0;
  margin: var(--space-xxl) 0;
  border-radius: var(--radius-lg);
}

.mod-cta h2,
.mod-cta p {
  color: var(--on-primary);
}

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

.mod-cta .btn-animated:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Mod-Text-Image */
.mod-text-image {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
@media (min-width: 768px) {
  .mod-text-image {
    flex-direction: row;
    align-items: center;
  }
}
.mod-img-wrapper {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
}
.mod-img-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.mod-img-wrapper.img-left {
  order: -1;
}
.mod-text-wrapper {
  flex: 1;
}

/* Mod-Map */
.mod-map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  background-color: var(--surface-container-high);
}

/* Mod-Testimonial */
.mod-testimonial {
  background-color: var(--surface-container-lowest);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-ambient);
  position: relative;
}
.mod-testimonial::before {
  content: "“";
  font-size: 6rem;
  color: var(--surface-container-high);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: serif;
}

/* Fallback / Schnellbewerbung Form Block */
.mod-form-quickapply {
  background-color: var(--surface-container-low);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
}
.input-ghost {
  width: 100%;
  padding: 14px;
  background: transparent;
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}
.input-ghost:focus {
  outline: none;
  border-color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

@media (max-width: 768px) {
  .nav-links.desktop-only {
    display: none;
  }
}

/* Mobile Hamburger & Overlay */
.mobile-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
}
@media (max-width: 768px) {
  .mobile-hamburger { display: block; }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--surface);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}
.mobile-menu-overlay.is-open {
  transform: translateX(0);
}
.mobile-menu-header-bar {
  background-color: #dcedf5;
  color: var(--primary);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px;
}
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}
.mobile-close {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}
.mobile-menu-content {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--surface);
}
.mobile-level {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: var(--surface);
  transform: translateX(50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  visibility: hidden;
  opacity: 0;
  height: 100%;
  overflow-y: auto;
}
.mobile-level.active-level {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
  z-index: 10;
}
.mobile-level.sliding-out {
  transform: translateX(-50%);
  visibility: hidden;
  opacity: 0;
}
.btn-mobile-main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-list {
  display: flex;
  flex-direction: column;
}
.mobile-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface-container-high);
  font-weight: 700;
  color: var(--on-surface);
  font-size: 1.1rem;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.mobile-list-item:hover {
  color: var(--primary);
}
.mobile-back {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface);
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 24px;
}
.mobile-footer-link {
  display: block;
  margin-top: 48px;
  color: #888;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Site Footer */
.site-footer {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .site-footer {
    flex-direction: row;
    align-items: stretch;
  }
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}

.site-footer-content {
  flex: 1;
  padding: var(--space-xl) 5%;
}

@media (min-width: 1024px) {
  .site-footer-content {
    /* Align left edge exactly with max-width 1080px container */
    padding-left: max(5%, calc((100vw - 1080px) / 2));
    padding-right: var(--space-xl);
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1000px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-md);
  }
}

.footer-col p {
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-shape-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-right-shape {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 280px;
  padding: 40px 32px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.footer-right-shape::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -20px; 
  right: -80px; 
  bottom: -100px;
  background-color: #ffffff;
  border-top-left-radius: 80px;
  transform-origin: 100% 0;
  transform: rotate(-10deg);
  z-index: -1;
}

@media (min-width: 1024px) {
  .footer-right-shape {
    position: relative;
    align-self: flex-end;
    width: 25vw;
    max-width: 400px;
    min-width: 280px;
    flex-shrink: 0;
    /* remove border-top-left-radius and background as it is now in ::before */
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #ffffff;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.scroll-top-btn:hover {
  background: var(--primary);
}
.scroll-top-btn:hover svg {
  stroke: #ffffff;
}

/* Sub Navigation (Sticky) */
.sub-nav {
  margin-top: 80px;
  background-color: var(--surface);
  width: 100%;
}
.sub-nav .container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  border-top: 1px solid var(--outline-variant);
  border-bottom: 1px solid var(--outline-variant);
}
.sub-nav .container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.sub-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 56px;
  white-space: nowrap;
}
.sub-nav-links a {
  color: var(--on-surface-variant);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.sub-nav-links a:hover {
  color: var(--primary);
}
.sub-nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .sub-nav {
    display: none !important;
  }
}

/* Chip Animated (for Spontanbewerbung button) */
.chip-animated {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 8px 16px;
  font-size: 0.95rem;
}
.job-item:hover .chip-animated {
  background-color: var(--primary);
  color: #ffffff;
}

.chip-solid {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.job-item:hover .chip-solid {
  background-color: #ffffff;
  color: var(--primary);
}
.chip-animated svg {
  transition: all 0.3s ease;
  width: 16px;
  height: 16px;
}
.chip-animated .arrow-left {
  max-width: 16px;
  margin-right: 6px;
  opacity: 1;
}
.chip-animated .arrow-right {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
}
.job-item:hover .chip-animated .arrow-left {
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
}
.job-item:hover .chip-animated .arrow-right {
  max-width: 16px;
  margin-left: 6px;
  opacity: 1;
}

/* Mobile Job Item Adjustment */
@media (max-width: 768px) {
  .job-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Slider Overrides for hover states */
.slider-arrow:hover {
  opacity: 0.7;
}

/* CTA Banner Mobile Full Width */
@media (max-width: 768px) {
  .mod-cta {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 0;
  }
}

/* Mobile Center Quick Apply Circle Button */
@media (max-width: 768px) {
  .btn-circle {
    right: 50% !important;
    transform: translateX(50%) !important;
    bottom: -70px !important;
  }
  .btn-circle:hover {
    transform: translateX(50%) scale(1.05) translateY(-5px) !important;
  }
}

/* Center Bewerbungsprozess Steps on Mobile */
@media (max-width: 768px) {
  .process-step {
    align-items: center !important;
    text-align: center;
  }
}

/* Developer Notes */
body.show-dev-notes .dev-note {
  display: block;
  animation: fadeIn 0.3s ease;
}

.dev-note {
  display: none;
  position: relative;
  margin: 24px 0;
  width: 100%;
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  border-left: 4px solid #ffeeba;
  padding: 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: monospace;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 50;
}

.dev-note::before {
  content: "🛠 Dev Note";
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #664d03;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100vw;
  background-color: #ffffff;
  border-top: 1px solid var(--surface-container-high);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 40px 0;
  box-sizing: border-box;
  /* Removed min-width, it's full width now */
}
.mega-grid {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}
.mega-link {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px;
  padding: 16px !important;
  border-bottom: none !important;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, opacity 0.3s ease;
}
.mega-grid:hover .mega-link {
  opacity: 0.3;
}
.mega-grid .mega-link:hover {
  opacity: 1;
  background-color: transparent !important;
}
.mega-icon {
  color: var(--primary);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}
.mega-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.mega-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mega-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
}
.mega-desc {
  color: #555;
  font-size: 0.85rem;
  line-height: 1.4;
}

.dropdown.is-open .dropbtn,
.nav-links a.active:not(.btn),
.dropbtn.active {
  color: var(--primary) !important;
  font-weight: 600;
}
.dropdown.is-open .dropbtn svg,
.nav-links a.active:not(.btn) svg,
.dropbtn.active svg {
  stroke: var(--primary);
}

.mega-menu-close {
  position: absolute;
  top: -24px;
  right: -12px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.mega-menu-close:hover {
  color: var(--primary);
}

/* Mobile Testimonial Optimization */
@media (max-width: 768px) {
  .mod-testimonial {
    padding: var(--space-md) var(--space-xs) !important;
  }
  .testimonial-slide {
    padding: 40px 36px 24px 36px !important;
  }
  div[style*="padding: 0 50px"] {
    padding: 0 24px !important;
  }
  div[style*="font-size: 100px"] {
    font-size: 60px !important;
    left: 16px !important;
    top: 0px !important;
  }
  .slider-arrow {
    padding: 4px !important;
  }
}

/* Animated Outline Button */
.btn-outline-animated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-full);
  padding: 12px 28px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn-outline-animated:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-ambient);
}
.btn-outline-animated svg {
  transition: all 0.3s ease;
}
.btn-outline-animated .arrow-left {
  max-width: 24px;
  margin-right: 8px;
  opacity: 1;
}
.btn-outline-animated .arrow-right {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
}
.btn-outline-animated:hover .arrow-left {
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  overflow: hidden;
}
.btn-outline-animated:hover .arrow-right {
  max-width: 24px;
  margin-left: 8px;
  opacity: 1;
}
