/* Font System Import */
@import url('fonts/index.css');

/* Color System Import */
@import url('colors/_colors.css');

/* Bootstrap 5 kompatible CSS Custom Properties */
:root {
  /* Box Shadow Utilities */
  --shadow-sm: 0 1px 2px 0 rgb(var(--bs-black-rgb) / 0.05);
  --shadow-regular: 0 1px 3px 0 rgb(var(--bs-black-rgb) / 0.1), 0 1px 2px -1px rgb(var(--bs-black-rgb) / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(var(--bs-black-rgb) / 0.1), 0 2px 4px -2px rgb(var(--bs-black-rgb) / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(var(--bs-black-rgb) / 0.1), 0 4px 6px -4px rgb(var(--bs-black-rgb) / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(var(--bs-black-rgb) / 0.1), 0 8px 10px -6px rgb(var(--bs-black-rgb) / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(var(--bs-black-rgb) / 0.25);
  --shadow-none: none;

  /* Bootstrap compatible shadows */
  --bs-box-shadow: var(--shadow-regular);
  --bs-box-shadow-sm: var(--shadow-sm);
  --bs-box-shadow-lg: var(--shadow-lg);
  --bs-box-shadow-inset: inset 0 1px 2px rgba(var(--bs-black-rgb), 0.075);

  /* Commonly used values - Consolidated */
  --border-radius-pill: 50rem;
  --border-radius-small: 0.375rem;
  --navbar-nav-padding: 8px;
  --navbar-link-padding: 8px 16px;
  --navigation-transition: all 0.3s ease-in-out;
  --dropdown-animation: all 0.4s ease-in-out;
  --mobile-breakpoint: 1199.98px;
  --desktop-breakpoint: 1200px;
  --navbar-collapse-bg: rgba(var(--bs-light-rgb), 0.95);
  --dropdown-margin-top: 0.5rem;
  --navbar-collapse-padding: 1rem;
  --navbar-collapse-margin-top: 1rem;
  --dropdown-top-position: calc(100vh - 100vh + 100px);

  /* Content Section Variables */
  --content-section-border-radius: 50rem;
  --content-section-mail-btn-size: 96px;
  --content-section-mail-btn-top: -63px;
  --content-section-mail-btn-border: 1px solid white;
  --content-section-btn-size-desktop: 40px;
  --content-section-btn-size-responsive: clamp(35px, 4vw, 40px);
  --content-section-img-size-desktop: 170px;
  --content-section-img-size-responsive: clamp(120px, 15vw, 170px);
  --content-section-icon-transform: rotate(-45deg);
  --content-section-icon-size-desktop: 0.875rem;
  --content-section-icon-size-responsive: clamp(0.75rem, 1vw, 0.875rem);
  --content-section-font-size-responsive: clamp(14px, 1.5vw, 16px);
  --content-section-heading-size-responsive: clamp(16px, 2vw, 20px);
  --content-section-padding: 1.5rem 1rem;
  --content-section-min-height: 186px;
  --content-section-margin-top: 3rem;
  --content-section-z-index: 200;
  --content-section-transition: all 0.3s ease;
  --content-section-shadow: 0 8px 25px rgba(13, 71, 161, 0.4);
  --content-section-shadow-hover: 0 12px 35px rgba(13, 71, 161, 0.5);
  --content-section-transform-hover: translateY(-2px);
  --content-section-focus-shadow: 0 8px 25px rgba(13, 71, 161, 0.4), 0 0 0 3px rgba(13, 110, 253, 0.25);
  --content-section-text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Custom CSS for TYPO3 */

.navbar-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar-brand .logo {
  max-height: 30px; /* Adjust as needed */
  width: auto; /* Maintain aspect ratio */
}

.top-75 {
  top: 75% !important;
}

.text-left {
  text-align: left !important;
}

/* blue text box icon style */
.box-style-blue {
  background-color: var(--primary-200);
  border-radius: var(--bs-border-radius-xxl);
  padding: 24px;
}
.box-style-blue.text-box-item:hover {
  transform: translateY(0px) !important;
}

.box-style-blue .text-box-icon-wrapper i {
  color: var(--primary-50) !important;
}

/* ========================================
   Accessibility & Screen Reader Support
   ======================================== */
/* Visually Hidden Class */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Icon rotation classes - all compass directions */
.rotate-0 { transform: rotate(0deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-135 { transform: rotate(135deg); }
.rotate-180 { transform: rotate(180deg); }
.rotate-225 { transform: rotate(225deg); }
.rotate-270 { transform: rotate(270deg); }
.rotate-315 { transform: rotate(315deg); }
