/* ============================================
   DEBY SEPT — Design System & Global Styles
   Modern Corporate Website
   ============================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors — Corporate Palette */
  --color-primary: #003F85;
  --color-primary-light: #0056B3;
  --color-accent: #C62828;
  --color-accent-dark: #8E0000;
  --color-accent-light: #E53935;
  --color-white: #FFFFFF;
  --color-bg: #F5F7FA;
  --color-bg-alt: #EDF1F7;
  --color-bg-warm: #F0F4F8;
  --color-surface: #FFFFFF;
  --color-text: #1B2A4A;
  --color-text-light: #5A6A85;
  --color-text-muted: #8A99B2;
  --color-border: #D0D9E6;
  --color-success: #16A34A;
  --color-danger: #C62828;

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3rem;
  --fs-5xl: 3.5rem;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 16px 48px rgba(10, 22, 40, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-smooth: 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --navbar-height: 110px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--wide {
  max-width: var(--container-wide);
}

.fuar-detail-header+.section {
  padding-top: var(--space-3xl);
}

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

.section--alt {
  background-color: var(--color-bg-alt);
}

.section-header--left {
  text-align: left;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-md);
}

.section-desc {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

.section-header--left .section-desc {
  margin-left: 0;
  max-width: 800px;
  text-align: left;
}

.text-accent {
  color: var(--color-accent);
}

.text-primary {
  color: var(--color-primary);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s var(--transition-smooth), transform 1.2s var(--transition-smooth);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  align-items: center;
}

.navbar--transparent {
  background-color: transparent;
}

.navbar--solid {
  background-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo-img {
  height: 88px;
  width: auto;
  display: block;
  transition: transform var(--transition-base), filter var(--transition-base);
  /* Default to white (for solid navbar and subpages) */
  filter: brightness(0) invert(1);
}

/* On homepage, when navbar is transparent, show original color (Dark Blue) */
.home-page .navbar--transparent .navbar__logo-img {
  filter: none;
}

.navbar__logo:hover .navbar__logo-img {
  transform: scale(1.02);
}

.navbar__links {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.navbar__link {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: var(--space-sm) 0;
  transition: color var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--color-white);
}

.navbar__link:hover::after,
.navbar__link--active::after {
  width: 100%;
}

.navbar__link--cta {
  background: var(--color-accent);
  color: var(--color-white) !important;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold);
}

.navbar__link--cta::after {
  display: none;
}

.navbar__link--cta:hover {
  background: var(--color-accent-dark);
}

.navbar__lang-switcher {
  margin-left: var(--space-md);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: var(--space-md);
}

.navbar__link--lang {
  display: flex !important;
  align-items: center;
  gap: 0.1rem;
}

.navbar__link--lang::after {
  display: none;
}

.home-page .navbar--transparent .navbar__lang-switcher {
  border-left-color: rgba(0, 63, 133, 0.2);
}

.home-page .navbar--transparent .navbar__link--lang {
  color: var(--color-primary);
}

/* --- Dropdown Menus --- */
.navbar__dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  /* Ensure hover area covers the full navbar height */
}

/* Increase hover target area to prevent losing menu */
.navbar__dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(10, 22, 40, 0.15);
  padding: var(--space-md) 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: 1px solid var(--color-border);
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Trigger parent hover line when hovering dropdown */
.has-dropdown:hover .navbar__link::after {
  width: 100%;
}

/* Simple Dropdown */
.dropdown-menu--simple {
  min-width: 220px;
}

.dropdown-menu--simple li a {
  display: block;
  padding: 10px var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu--simple li a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  padding-left: calc(var(--space-xl) + 5px);
}

/* Mega Menu */
.dropdown-menu--mega {
  width: 600px;
  padding: 0;
  overflow: hidden;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: var(--space-lg);
  gap: var(--space-sm);
}

.mega-menu-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mega-menu-item:hover {
  background: var(--color-bg-alt);
}

.mega-menu-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 58, 138, 0.05);
  border-radius: var(--radius-sm);
  font-size: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mega-menu-item:hover .mega-menu-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.mega-menu-text {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.mega-menu-footer {
  background: var(--color-bg-alt);
  padding: var(--space-md) var(--space-xl);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.mega-menu-footer-link {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.mega-menu-footer-link:hover {
  color: var(--color-accent);
}

/* Mobile Menu */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition-base);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
/* --- Hero Slider (Diagonal Split) --- */
.hero-slider {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 1;
}

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

/* Background & Visual Layer */
.slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  clip-path: polygon(0 0, 55% 0, 45% 100%, 0 100%);
  transform: translateX(-10%);
  /* Base position: shifted left */
  opacity: 0;
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.2s ease;
}

.hero-slide.active .slide__bg {
  transform: translateX(0) scale(1.02);
  /* Slides in and zooms */
  opacity: 1;
}

.hero-slide.active.slide-out .slide__bg {
  transform: translateX(-10%);
  /* Exits OUTWARD to the left */
  opacity: 0;
}

/* Stylized Divider Removed */
.slide__divider {
  display: none !important;
  /* User requested removal of the red intersection line */
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(15, 23, 42, 1) 35%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0) 100%);
  z-index: 2;
  transition: opacity 1.2s ease;
}

.hero-slide.active.slide-out .slide__overlay {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* Content Layout */
.slide__inner {
  position: absolute;
  inset: 0;
  /* Bypass .container sizing completely */
  z-index: 20;
  pointer-events: none;
  /* Pass clicks through the empty areas */
}

.slide__content {
  pointer-events: auto;
  /* Re-enable clicks for text/buttons */
  position: absolute;
  right: 0;
  /* Pin exactly to right of screen */
  top: 0;
  bottom: 0;
  width: 45%;
  /* Take exactly the right 45% of the full width */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center vertically via flex */
  align-items: center;
  /* Center horizontally */
  text-align: center;
  /* Center the typography */
  padding: 0 4%;
  /* Inner breathing room */
  opacity: 0;
  transform: translateX(50px);
  /* Comes in INWARD from the right */
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, opacity 1s ease 0.2s;
}

.hero-slide.active .slide__content {
  opacity: 1;
  transform: translateX(0);
  /* Settles to normal position */
}

.hero-slide.active.slide-out .slide__content {
  opacity: 0;
  transform: translateX(50px);
  /* Exits OUTWARD to the right */
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.slide__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.slide__title span {
  color: var(--color-accent-light);
  display: block;
}

.slide__desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 100%;
  /* Allowing it to span the full block to prevent breaking too early */
}

.slide__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  /* Center the buttons */
}

/* --- Red Bottom Separator --- */
.hero-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--color-accent);
  z-index: 100;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 100;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.3);
}

/* Removed Vertical Transition Classes in favor of slide-out/slide__bg transforms */

/* Responsive Overrides */
@media (max-width: 992px) {
  .slide__bg {
    clip-path: none;
    opacity: 0.3;
  }

  .slide__overlay {
    background: rgba(15, 23, 42, 0.85);
  }

  .slide__content {
    position: relative;
    right: auto;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: calc(var(--navbar-height) + var(--space-xl)) 5% 0;
  }

  .slide__inner {
    justify-content: center;
  }

  .slide__actions {
    justify-content: center;
  }

  .slide__divider {
    display: none;
  }

  .slider-nav {
    right: 20px;
  }
}

/* Removing old molecule animations */
/* ... existing code ... */

.chem-mol--6 {
  left: 45%;
  top: 80%;
  width: 130px;
  height: 130px;
  animation: floatSpin3 16s ease-in-out infinite alternate-reverse;
}

.chem-mol--7 {
  left: 5%;
  top: 80%;
  width: 130px;
  height: 130px;
  animation: floatSpin1 14s ease-in-out infinite alternate;
}

.chem-mol--8 {
  left: 85%;
  top: 40%;
  width: 160px;
  height: 160px;
  animation: floatSpin2 22s ease-in-out infinite alternate-reverse;
}

@keyframes floatSpin1 {
  0% {
    transform: translate(0, 0) rotate(-10deg);
  }

  100% {
    transform: translate(25px, 35px) rotate(15deg);
  }
}

@keyframes floatSpin2 {
  0% {
    transform: translate(0, 0) rotate(5deg);
  }

  100% {
    transform: translate(-35px, 25px) rotate(-20deg);
  }
}

@keyframes floatSpin3 {
  0% {
    transform: translate(0, 0) rotate(-15deg);
  }

  100% {
    transform: translate(25px, -25px) rotate(10deg);
  }
}


.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: pulse 2s infinite;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  /* Reduced from 14px 32px for a sleeker look */
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  /* Sharper, more professional corners */
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.2);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Thinner 1px border for better aesthetics */
}

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

.btn--outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  /* Thinner 1px border */
}

.btn--outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  padding: 8px 20px;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 12px 28px;
  font-size: var(--fs-sm);
}

.btn__icon {
  font-size: 1.1em;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* --- Sectors Accordion (Expanding Panels) --- */
.sectors-accordion {
  display: flex;
  height: 550px;
  gap: 16px;
  width: 100%;
}

@media (max-width: 992px) {
  .sectors-accordion {
    flex-direction: column;
    height: 800px;
  }
}

.accordion-panel {
  position: relative;
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: flex-end;
}

.accordion-panel.active {
  flex: 3;
}

.accordion-panel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  z-index: 1;
}

.accordion-panel.active .accordion-panel__bg {
  transform: scale(1.05);
}

.accordion-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 60%);
  z-index: 2;
  transition: background 0.6s ease;
}

.accordion-panel:hover .accordion-panel__overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.3) 60%);
}

.accordion-panel__content {
  position: relative;
  z-index: 3;
  padding: var(--space-2xl);
  color: var(--color-white);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

@media (max-width: 768px) {
  .accordion-panel__content {
    padding: var(--space-xl);
  }
}

.accordion-panel__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-white);
  transition: all 0.4s ease;
}

.accordion-panel.active .accordion-panel__icon {
  background: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.accordion-panel__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  margin-bottom: 0;
  transition: all 0.4s ease;
  transform-origin: left bottom;
}

.accordion-panel__hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) 0.1s;
  transform: translateY(20px);
}

.accordion-panel.active .accordion-panel__hidden {
  opacity: 1;
  max-height: 200px;
  transform: translateY(0);
  margin-top: var(--space-md);
}

.accordion-panel__desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
  white-space: normal;
}

.accordion-panel .btn-link {
  color: var(--color-white);
}

.accordion-panel .btn-link:hover {
  opacity: 0.8;
}

/* --- Sectors Showcase (Split-Screen Tabs) --- */
.sectors-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-4xl);
  align-items: flex-start;
  /* Changed from center to prevent vertical jumping */
  margin-top: var(--space-2xl);
}

@media (max-width: 992px) {
  .sectors-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.sectors-showcase__tabs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sector-tab {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  background: transparent;
}

.sector-tab:hover {
  background: rgba(30, 58, 138, 0.02);
}

.sector-tab.active {
  background: var(--color-white);
  border-color: rgba(30, 58, 138, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.sector-tab__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.sector-tab.active .sector-tab__icon {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.sector-tab__content {
  flex-grow: 1;
}

.sector-tab__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  transition: color var(--transition-base);
}

.sector-tab__desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: all 0.4s ease;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

.sector-tab__link {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  text-decoration: none;
}

.sector-tab.active .sector-tab__desc {
  max-height: 100px;
  opacity: 1;
  margin-bottom: var(--space-md);
}

.sector-tab.active .sector-tab__link {
  max-height: 30px;
  opacity: 1;
}

.sector-tab__link span {
  transition: transform var(--transition-fast);
}

.sector-tab__link:hover span {
  transform: translateX(4px);
}

/* Gallery Right Side */
.sectors-showcase__gallery {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 500px;
  /* Fixed height for consistent layout */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {
  .sectors-showcase__gallery {
    height: 350px;
    order: -1;
  }
}

.sector-gallery-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transform: translateX(40px);
  /* Pure slide, no jumping scale */
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.sector-gallery-img.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 3;
}

.sector-gallery-img.exit {
  opacity: 0;
  transform: translateX(-40px);
  /* Pure slide exit */
  z-index: 2;
}

.sector-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- About Minimal Section --- */
.about-minimal {
  background-color: var(--color-bg);
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

.about-minimal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-minimal__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  /* Subtle modern 3D perspective tilt & hover */
  transform: perspective(1000px) rotateY(2deg);
  transition: transform var(--transition-smooth);
}

.about-minimal__image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.about-minimal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-minimal__content {
  padding-left: var(--space-xl);
  max-width: 650px;
}

.about-minimal__desc {
  font-size: var(--fs-base);
  /* Slightly reduced base font size for minimal corporate feel */
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 992px) {
  .about-minimal__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .about-minimal__content {
    padding-left: 0;
    margin: 0 auto;
  }

  .about-minimal__image {
    transform: none;
    margin-bottom: var(--space-md);
  }

  .about-minimal__image:hover {
    transform: scale(1.02);
  }
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  /* Larger gap for wider feeling */
}

/* Hover Reveal Cards (CloroxPro Inspiration) */
.product-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  /* Stronger default shadow so cards pop */
  transition: all var(--transition-base);
  border: 1px solid rgba(0, 0, 0, 0.04);
  min-height: 340px;
  /* Slightly taller for perfect centering space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl);
  text-decoration: none;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.product-card__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.product-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  /* Pre-scale down for zoom-out or zoom-in effect */
  transition: transform 0.8s ease;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 100%);
}

.product-card:hover .product-card__bg {
  opacity: 1;
}

.product-card:hover .product-card__bg img {
  transform: scale(1);
}

.product-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* PERFECT VERTICAL CENTER */
  align-items: center;
  /* PERFECT HORIZONTAL CENTER */
  text-align: center;
  height: 100%;
}

.product-card__icon {
  color: var(--color-accent);
  /* Red default color */
  margin-bottom: var(--space-sm);
  transition: all 0.4s ease;
  transform: translateY(10px);
  /* Push down slightly initially */
}

.product-card__icon svg {
  width: 44px;
  height: 44px;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: 0px;
  /* Let desc max-height provide spacing below */
  transition: color 0.4s ease, transform 0.4s ease;
  transform: translateY(10px);
  /* Push down slightly initially */
}

.product-card__desc {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--lh-relaxed);
  opacity: 0;
  max-height: 0;
  /* Keeps it tight when invisible */
  margin-top: 0;
  transition: all 0.4s ease;
}

.product-card__arrow {
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(15px);
  /* Slide up effect instead of left-right since Center aligned */
  transition: all 0.4s ease;
  margin-top: var(--space-md);
  max-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* On Hover Changes */
.product-card:hover .product-card__icon {
  color: var(--color-white);
  transform: translateY(0);
}

.product-card:hover .product-card__title {
  color: var(--color-white);
  transform: translateY(0);
}

.product-card:hover .product-card__desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 150px;
  /* Flexbox will naturally push icon and title UP as this expands */
  margin-top: var(--space-md);
}

.product-card:hover .product-card__arrow {
  opacity: 1;
  max-height: 30px;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}


/* --- Articles (Posts) Grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.article-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.article-card__image-link {
  display: block;
  overflow: hidden;
}

.article-card__image {
  position: relative;
  width: 100%;
  padding-top: 60%;
  overflow: hidden;
}

.article-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-card__image img {
  transform: scale(1.05);
}

.article-card__content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.article-card__category {
  color: var(--color-accent);
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
}

.article-card__title a {
  color: inherit;
}

.article-card__title a:hover {
  color: var(--color-accent);
}

.article-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
  flex: 1;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.btn-link span {
  transition: transform var(--transition-fast);
}

.btn-link:hover {
  color: var(--color-accent);
}

.btn-link:hover span {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Premium Photographic References Ticker --- */
.references-premium {
  background-color: var(--color-surface);
  padding: var(--space-4xl) 0;
  overflow: hidden;
  position: relative;
}

.ref-ticker-container {
  width: 100%;
  overflow: hidden;
  display: flex;
  position: relative;
}

/* Fading edges for infinite scroll illusion */
.ref-ticker-container::before,
.ref-ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 5;
  pointer-events: none;
}

.ref-ticker-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface), transparent);
}

.ref-ticker-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface), transparent);
}

.ref-ticker-track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  padding: 0 var(--space-xl);
  animation: refTickerScroll 50s linear infinite;
  white-space: nowrap;
}

@keyframes refTickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - (var(--space-2xl) / 2)));
  }
}

.ref-ticker-track:hover {
  animation-play-state: paused;
}

.ref-card {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 200px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  filter: grayscale(40%) brightness(0.9);
}

.ref-ticker-track:hover .ref-card {
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.6);
  transform: scale(0.95);
}

.ref-ticker-track .ref-card:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.ref-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s ease;
}

.ref-card:hover .ref-card__img {
  transform: scale(1.1);
}

.ref-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 60%);
  z-index: 2;
  transition: opacity 0.4s ease;
}

.ref-card:hover .ref-card__overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0) 80%);
}

.ref-card__content {
  position: relative;
  z-index: 3;
  transition: transform 0.4s ease;
}

.ref-card:hover .ref-card__content {
  transform: translateY(-5px);
}

.ref-card__title {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin: 0 0 4px 0;
  white-space: normal;
  line-height: 1.2;
}

.ref-card__tag {
  color: var(--color-accent);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: var(--fw-bold);
  display: inline-block;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .ref-card {
    width: 280px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .ref-card {
    width: 240px;
    height: 160px;
    padding: var(--space-lg);
  }

  .ref-card__title {
    font-size: var(--fs-base);
  }
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer__brand .navbar__logo {
  justify-content: flex-start;
  width: 100%;
}

.footer__brand-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-top: 0;
  max-width: 300px;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  color: rgba(255, 255, 255, 0.7);
}

.footer__social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.footer__contact-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer__link {
  display: block;
  font-size: var(--fs-sm);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
}

.footer__contact-icon {
  color: var(--color-accent);
  font-size: var(--fs-md);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer__bottom {
  padding: var(--space-xl) 0;
  text-align: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* --- Page Hero (internal pages) --- */
.page-hero {
  background: var(--color-primary);
  padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: radial-gradient(circle at 50% 50%, var(--color-accent) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}

.page-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.page-hero__breadcrumb a:hover {
  color: var(--color-accent);
}

.page-hero__breadcrumb .separator {
  font-size: var(--fs-xs);
}

/* --- About Page --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.about-content__text {
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

.about-content__text p+p {
  margin-top: var(--space-lg);
}

.about-content__sidebar {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.about-content__sidebar-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

/* --- Mission/Vision Page --- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.mv-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.mv-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mv-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 136, 229, 0.08);
  border-radius: var(--radius-lg);
  font-size: 24px;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.mv-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.mv-card__text {
  font-size: var(--fs-base);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

.mv-goals {
  margin-top: var(--space-lg);
}

.mv-goals__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

.mv-goals__item:last-child {
  border-bottom: none;
}

.mv-goals__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 136, 229, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  flex-shrink: 0;
  font-size: var(--fs-xs);
  margin-top: 2px;
}

.mv-goals__text {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-normal);
}

/* --- Strategic Goals (New Layout) --- */
.goals-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1240px;
  margin: 0 auto;
}

.goal-item {
  background: var(--color-white);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
  text-align: center;
  height: 100%;
}

.goal-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--color-accent);
}

.goal-item__icon {
  width: 72px;
  height: 72px;
  background: #f8fafc;
  color: var(--color-accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  margin-bottom: var(--space-sm);
}

.goal-item:hover .goal-item__icon {
  background: var(--color-accent);
  color: var(--color-white);
}


.goal-item__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.goal-item__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .goals-container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .goal-item:last-child {
    grid-column: auto;
  }
}

/* --- Products Page --- */
.products-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.category-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.category-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e8eef5 0%, #d6def0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-card__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.category-card:hover .category-card__image-img {
  transform: scale(1.1);
}

.category-card__image-icon {
  font-size: 64px;
  opacity: 0.6;
}

.category-card__body {
  padding: var(--space-xl);
}

.category-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.category-card__count {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Product Detail Page --- */
.product-detail__sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-xl));
}

.product-detail__nav {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
}

.product-detail__nav-title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-accent);
}

.product-detail__nav-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}

.product-detail__nav-link:hover,
.product-detail__nav-link--active {
  background: rgba(30, 136, 229, 0.08);
  color: var(--color-accent);
}

.product-detail__content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-3xl);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.product-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

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

.product-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 136, 229, 0.08);
  border-radius: var(--radius-md);
  color: var(--color-accent);
  font-size: 20px;
  flex-shrink: 0;
}

.product-item__name {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

/* Subcategory grid */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.subcategory-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

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

.subcategory-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  background: rgba(30, 136, 229, 0.08);
  border-radius: var(--radius-lg);
  font-size: 24px;
  color: var(--color-accent);
}

.subcategory-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: #f4f8fc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.contact-info__item:hover {
  box-shadow: var(--shadow-md);
}

.contact-info__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  /* Medical Red background */
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info__title {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.contact-info__text {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: var(--lh-normal);
}

.contact-info__text a {
  color: var(--color-accent);
}

.contact-form {
  background: #f4f8fc;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--color-border);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: var(--space-3xl);
  height: 400px;
  border: 1px solid var(--color-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Contact Form Enhancements --- */
.contact-type-toggle {
  display: flex;
  gap: var(--space-sm);
}

.contact-type-option {
  flex: 1;
  cursor: pointer;
}

.contact-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-type-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  transition: all var(--transition-fast);
  background: white;
  text-align: center;
}

.contact-type-option input:checked+.contact-type-label {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(0, 63, 133, 0.06);
}

.contact-form__success {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.contact-form__success svg {
  color: var(--color-success, #22c55e);
  margin-bottom: var(--space-md);
}

.contact-form__success h4 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.contact-form__success p {
  color: var(--color-text-light);
}

.contact-form__error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-md);
  color: #dc2626;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.contact-file-upload {
  position: relative;
}

.contact-file-upload input[type="file"] {
  width: 100%;
  padding: 10px 14px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.contact-file-upload input[type="file"]:hover {
  border-color: var(--color-accent);
}

.contact-file-hint {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 4px;
}

.contact-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.5;
}

.contact-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

/* Admin badge for sidebar */
.menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
}

/* --- Generic Content Page (Katalog, Fuar) --- */
.content-page {
  min-height: 50vh;
}

.content-page__text {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--fs-md);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

.content-page__text p+p {
  margin-top: var(--space-lg);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  :root {
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
    --fs-3xl: 2rem;
  }

  .hero__content--centered .hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .about-preview {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2)::after {
    display: none;
  }

  .products-grid,
  .products-categories {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

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

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

  .product-detail__content {
    grid-template-columns: 1fr;
  }

  .product-detail__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
    --navbar-height: 64px;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

  /* Mobile Nav */
  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--navbar-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: 0;
    transition: right var(--transition-slow);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
  }

  .navbar__links.open {
    right: 0;
  }

  .navbar__link {
    width: 100%;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: var(--fs-base);
  }

  .navbar__link--cta {
    margin-top: var(--space-lg);
    text-align: center;
    width: 100%;
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent) !important;
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-lg);
    font-weight: var(--fw-semibold);
    transition: all var(--transition-fast);
  }

  .navbar__link--cta:hover {
    background: var(--color-accent);
    color: var(--color-white) !important;
  }

  /* Mobile Dropdowns */
  .navbar__dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
  }

  .navbar__dropdown::after {
    display: none;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    width: 100%;
    padding: var(--space-sm) 0 0 var(--space-md);
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    background: transparent;
    display: none;
  }

  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu,
  .has-dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu--simple li a {
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
  }

  .dropdown-menu--simple li a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu--mega {
    width: 100%;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .mega-menu-item {
    padding: var(--space-sm) 0;
  }

  .mega-menu-text {
    color: var(--color-white);
  }

  .mega-menu-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
  }

  .mega-menu-footer {
    padding: var(--space-md) 0;
    text-align: left;
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mega-menu-footer-link {
    color: var(--color-white);
  }

  .navbar__toggle {
    display: flex;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.active {
    display: block;
  }

  /* Hero mobile */
  .hero--minimal {
    min-height: auto;
    padding: calc(var(--navbar-height) + var(--space-4xl)) 0 var(--space-3xl);
  }

  .hero__content--centered .hero__title {
    font-size: 2.25rem;
    margin-bottom: var(--space-md);
  }

  .hero__content--centered .hero__desc {
    font-size: var(--fs-base);
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-md);
  }

  .hero__actions {
    flex-direction: column;
    padding: 0 var(--space-xl);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  /* Adjust molecules for mobile so they don't overflow */
  .chem-mol--1 {
    left: 0%;
    top: 5%;
    width: 90px;
    height: 90px;
  }

  .chem-mol--2 {
    left: 70%;
    top: 8%;
    width: 100px;
    height: 100px;
  }

  .chem-mol--3 {
    left: -10%;
    top: 60%;
    width: 110px;
    height: 110px;
  }

  .chem-mol--4 {
    left: 75%;
    top: 35%;
    width: 70px;
    height: 70px;
  }

  .chem-mol--5 {
    left: 72%;
    top: 72%;
    width: 100px;
    height: 100px;
  }

  .chem-mol--6 {
    left: 15%;
    top: 85%;
    width: 85px;
    height: 85px;
  }

  .chem-mol--7 {
    left: -5%;
    top: 35%;
    width: 80px;
    height: 80px;
  }

  .chem-mol--8 {
    left: 80%;
    top: 85%;
    width: 100px;
    height: 100px;
  }

  /* Grids */
  .products-grid,
  .products-categories {
    grid-template-columns: 1fr;
  }

  .why-us__grid {
    grid-template-columns: 1fr;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-preview__features {
    grid-template-columns: 1fr;
  }

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

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

  .page-hero {
    padding: calc(var(--navbar-height) + var(--space-2xl)) 0 var(--space-2xl);
  }

  .page-hero__title {
    font-size: var(--fs-2xl);
  }
}

@media (max-width: 480px) {
  .subcategory-grid {
    grid-template-columns: 1fr;
  }

  .chem-tooltip {
    display: none;
    /* Hide tooltips on mobile to prevent overflow issues */
  }
}


/* --- CTA Section Redesign --- */
.cta-section {
  position: relative;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2xl) 0;
  overflow: hidden;
  text-align: center;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(30, 58, 138, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-extrabold);
  margin-bottom: var(--space-lg);
  color: var(--color-white);
}

.cta-section__desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: var(--lh-relaxed);
}

.cta-section .btn {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-section .btn--primary {
  background: var(--color-accent);
}

.cta-section .btn--primary:hover {
  background: var(--color-accent-dark);
}

/* --- Certificates --- */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-2xl);
  margin-top: 0;
}

.certificate-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease-out;
  display: flex;
  flex-direction: column;
}

.certificate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.certificate-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133%;
  /* 3:4 aspect ratio approx */
  background: var(--color-background);
  overflow: hidden;
}

.certificate-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}



.certificate-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 63, 133, 0.7);
  /* Dark Navy overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.certificate-card:hover .certificate-card__overlay {
  opacity: 1;
}

.certificate-card__content {
  padding: var(--space-lg);
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.certificate-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.certificate-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* --- Catalog --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
}

.catalog-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease-out;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
}

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

.catalog-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 140%;
  /* A4 or similar portrait ratio */
  background: var(--color-background);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.catalog-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}



.catalog-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.catalog-card__content {
  padding: var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.catalog-card__title {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  font-weight: 700;
}

.catalog-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-relaxed);
  flex-grow: 1;
}

.catalog-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: auto;
}

.catalog-card__btn {
  padding: 10px;
  font-size: var(--fs-xs);
  text-align: center;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.catalog-card__btn--view {
  background: var(--color-background);
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
}

.catalog-card__btn--view:hover {
  background: var(--color-primary-light);
  color: white;
}

.catalog-card__btn--download {
  background: var(--color-primary);
  color: white;
}

.catalog-card__btn--download:hover {
  background: var(--color-primary-dark);
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Fairs (Fuarlar) --- */
.fuar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
}

.fuar-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease-out;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
}

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

.fuar-card__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
  /* Landscape ratio */
  background: var(--color-bg-alt);
  overflow: hidden;
}

.fuar-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fuar-card__badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-primary);
  color: white;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.fuar-card__badge--upcoming {
  background: var(--color-accent);
}

.fuar-card__content {
  padding: var(--space-xl);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.fuar-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.fuar-card__meta-icon {
  color: var(--color-primary);
}

.fuar-card__title {
  font-size: var(--fs-lg);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
  font-weight: 700;
  line-height: var(--lh-tight);
}

.fuar-card:hover .fuar-card__title {
  color: var(--color-primary);
}

.fuar-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-relaxed);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.fuar-card__date {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text);
}

.fuar-card__action {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.fuar-card__action svg {
  transition: transform var(--transition-fast);
}

.fuar-card:hover .fuar-card__action svg {
  transform: translateX(4px);
}

/* Fuar Detail specific */
.fuar-detail-header {
  background: var(--color-surface);
  padding: 10rem 0 var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
}

.fuar-detail-header__inner {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-3xl);
  align-items: start;
}

.fuar-detail__title {
  font-size: var(--fs-4xl);
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-weight: 800;
  line-height: var(--lh-tight);
}

.fuar-detail__lead {
  font-size: var(--fs-lg);
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
}

.fuar-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.fuar-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.fuar-info-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.fuar-info-item__icon {
  font-size: var(--fs-xl);
  color: var(--color-primary);
  margin-top: 2px;
}

.fuar-info-item__label {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.fuar-info-item__value {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--color-text);
}

.fuar-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.fuar-gallery__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  padding-top: 75%;
  /* 4:3 Aspect Ratio */
}

.fuar-gallery__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.fuar-gallery__item:hover .fuar-gallery__img {
  transform: scale(1.05);
}

@media (max-width: 992px) {
  .fuar-detail-header__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .fuar-grid {
    grid-template-columns: 1fr;
  }

  .fuar-detail__title {
    font-size: var(--fs-3xl);
  }
}



/* --- Lightbox (Premium Gallery Viewer) --- */
@keyframes lightboxFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes lightboxFadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes lightboxImgIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes lightboxSlideLeft {
  from {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes lightboxSlideRight {
  from {
    opacity: 0;
    transform: translateX(-60px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes lightboxSpin {
  to {
    transform: rotate(360deg);
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(8, 18, 35, 0.96);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.4s;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0s;
  animation: lightboxFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.closing {
  opacity: 0;
  animation: lightboxFadeOut 0.3s ease forwards;
}

/* --- Main Image Container --- */
.lightbox__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  width: 100%;
  max-width: 1200px;
  padding: 60px 80px 20px;
  cursor: default;
}

.lightbox__img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.3s ease;
  animation: lightboxImgIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform;
}

.lightbox__img.slide-left {
  animation: lightboxSlideLeft 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lightbox__img.slide-right {
  animation: lightboxSlideRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.lightbox__img.zoomed {
  max-height: none;
  max-width: none;
  width: auto;
  height: auto;
  transform: scale(1.8);
  cursor: zoom-out;
  border-radius: var(--radius-sm);
}

/* --- Loader --- */
.lightbox__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  animation: lightboxSpin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.lightbox__loader.visible {
  opacity: 1;
}

/* --- Close Button --- */
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2020;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.lightbox__close:hover {
  background: rgba(198, 40, 40, 0.9);
  border-color: rgba(198, 40, 40, 0.6);
  transform: rotate(90deg) scale(1.08);
  box-shadow: 0 4px 20px rgba(198, 40, 40, 0.3);
}

/* --- Navigation Arrows --- */
.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2010;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.lightbox__nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.lightbox__nav:active {
  transform: translateY(-50%) scale(0.95);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

/* --- Bottom Bar (Counter + Thumbnails) --- */
.lightbox__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 24px;
  width: 100%;
  max-width: 800px;
}

.lightbox__counter {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
  user-select: none;
}

.lightbox__counter-current {
  color: white;
  font-weight: var(--fw-bold);
}

/* --- Thumbnail Strip --- */
.lightbox__thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.lightbox__thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.45;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox__thumb:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.lightbox__thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(198, 40, 40, 0.3);
  transform: scale(1.08);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .lightbox__stage {
    padding: 60px 20px 10px;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox__nav--prev {
    left: 12px;
  }

  .lightbox__nav--next {
    right: 12px;
  }

  .lightbox__img {
    max-height: 65vh;
  }

  .lightbox__thumb {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 576px) {
  .lightbox__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .lightbox__nav {
    width: 38px;
    height: 38px;
  }

  .lightbox__nav--prev {
    left: 6px;
  }

  .lightbox__nav--next {
    right: 6px;
  }

  .lightbox__stage {
    padding: 56px 10px 8px;
  }

  .lightbox__img {
    max-height: 58vh;
    border-radius: var(--radius-md);
  }

  .lightbox__bottom {
    padding: 8px 12px 16px;
    gap: 8px;
  }

  .lightbox__thumb {
    width: 38px;
    height: 38px;
  }
}

/* --- Print Styles --- */
@media print {

  .navbar,
  .footer,
  .hero__scroll,
  .cta-section {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .section {
    padding: 1rem 0;
  }
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-banner__icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-banner__text {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__text strong {
  display: block;
  color: white;
  font-size: 15px;
  margin-bottom: 4px;
}

.cookie-banner__text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.cookie-banner__btn--accept {
  background: var(--color-accent);
  color: white;
}

.cookie-banner__btn--accept:hover {
  background: var(--color-primary);
}

.cookie-banner__btn--reject {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner__btn--reject:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1;
  }
}

/* --- KVKK Modal --- */
.kvkk-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.kvkk-modal {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.kvkk-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
}

.kvkk-modal__header h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.kvkk-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: var(--radius-sm);
}

.kvkk-modal__close:hover {
  background: var(--color-bg-alt);
}

.kvkk-modal__body {
  padding: 24px;
  overflow-y: auto;
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--color-text-light);
}

.kvkk-modal__body h4 {
  color: var(--color-heading);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: var(--fs-md);
}

.kvkk-modal__body ul {
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.kvkk-modal__body li {
  margin-bottom: 4px;
}

.kvkk-modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

/* --- Legal Page Styles --- */
.legal-last-update {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
  padding: 12px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.legal-cookie-table {
  overflow-x: auto;
  margin: var(--space-lg) 0;
}

.legal-cookie-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.legal-cookie-table th,
.legal-cookie-table td {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.legal-cookie-table th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.legal-cookie-table tr:nth-child(even) td {
  background: var(--color-bg-alt);
}