/* Font Face Declarations */
@font-face {
  font-family: "tex_gyre_herosregular";
  src: url("../fonts/texgyreheros/texgyreheros-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "tex_gyre_herosregular";
  src: url("../fonts/texgyreheros/texgyreheros-bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "tex_gyre_herosregular";
  src: url("../fonts/texgyreheros/texgyreheros-italic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "tex_gyre_herosregular";
  src: url("../fonts/texgyreheros/texgyreheros-bolditalic.otf")
    format("opentype");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* 1. Set root font size and prevent auto inflation */
html {
  font-size: 16px; /* consistent base, adjust to your needs */
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* 2. Reset body and inherit typography for all elements */
body {
  font-size: 1rem;
  line-height: 1.5;
}

/* 3. Inherit font properties everywhere for consistency */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

/* 4. Remove margins and padding default */
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

/* 5. Remove list styles and border collapse for tables */
ul,
ol {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

body {
  line-height: 1.6;
  font-family: "tex_gyre_herosregular", sans-serif !important;
  color: #444444;
  background-color: #fff;
  font-size: 14px;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  width: 75vw;
  min-height: 110px;
  margin: auto;
  padding-bottom: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
}

.ant-btn-lg {
  height: 50px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: 4px;
}

.ant-btn > span {
  display: inline-block;
  transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  pointer-events: none;
}

@media (max-width: 1000px) {
  .header {
    width: calc(100vw - 20px);
  }
}

.header__logo-icon {
  flex: 0 0 auto;
}

.header__logo-icon img {
  display: block;
  width: 180px;
  height: auto;
  transform: translateY(19px);
}

@media (max-width: 1000px) {
  .header__logo-icon img {
    transform: none;
  }
}

.header__nav {
  margin: 0 -8px -8px;
  flex: 2 0 1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 12px;
}

.header__nav-item {
  margin: 8px;
  margin-left: 0;
  margin-right: 0;
}

.header__nav-item.is-link {
  padding: 0 7px;
  transition: color 0.3s;
  color: #000;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.header__nav-item.is-link.is-active,
.header__nav-item.is-link:hover {
  color: #ff0000;
}

div.header__nav-item.is-link {
  cursor: pointer;
}

/* Ant Design Button Styles */
.ant-btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  position: relative;
  color: rgba(0, 0, 0, 0.65);
  background-color: #fff;
  border-color: #d9d9d9;
  text-decoration: none;
  margin: 0;
}

.ant-btn span {
  display: inline-block;
}

.ant-btn-lg {
  padding: 0 15px;
  font-size: 16px;
  border-radius: 4px;
  height: 40px;
  line-height: 38px;
}

.ant-btn-primary {
  color: #fff;
  background-color: #eb0a0a;
  border-color: #eb0a0a;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
  transition: all 100ms ease-in-out;
}

.ant-btn-primary:hover,
.ant-btn-primary:focus {
  color: #fff;
  background-color: #c90909;
  border-color: #c90909;
}

.ant-btn-default {
  color: rgba(0, 0, 0, 0.65);
  background-color: #fff;
  border-color: #d9d9d9;
}

.ant-btn-default:hover,
.ant-btn-default:focus {
  color: #666;
  background-color: #f5f5f5;
  border-color: #999;
}

/* Header Separator */
.header-separator {
  width: 100%;
  height: 2px;
  background-color: #eb0a0a;
  margin: 0;
  display: block;
}

/* Hide old navbar structure */
.navbar {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  background-image: url("/assets/Homepage-Hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  opacity: 0.2;
}

.hero-overlay-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: #f5f5f0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.hero-overlay-title {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #444;
  font-family: Georgia, serif;
  line-height: 1.3;
}

.hero-overlay-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #555;
  text-align: left;
}

.hero-overlay-text p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-overlay-text p:last-child {
  margin-bottom: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 32px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 100ms ease-in-out;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  color: white;
  background-color: #eb0a0a;
  border: 1px solid #eb0a0a;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
  background-color: #c90909;
  border-color: #c90909;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.btn-register {
  color: white;
  background-color: #eb0a0a;
  border: 1px solid #eb0a0a;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

.btn-register:hover {
  background-color: #c90909;
  border-color: #c90909;
}

.btn-login {
  color: #666;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.head1 {
  display: block;
  color: #666666;
  font-size: 19px;
  font-weight: bold;
}

.boxed {
  width: 75vw;
  margin: auto;
  overflow: hidden;
}

.boxed p {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 18px;
}

.boxed h2 {
  font-size: 21px;
}

.boxed ul li {
  font-size: 18px;
}

.boxed a {
  text-decoration: underline;
  color: #444444;
}

.btn-login:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

/* Find Contact Person Section */
.find-contact-person {
  padding: 4rem 0;
  background-color: #fff;
  text-align: center;
}

.find-contact-person .container {
  max-width: 1200px;
}

.find-contact-person__header {
  text-align: center;
  margin-bottom: 3rem;
}

.find-contact-person__header h1 {
  font-size: 2.5rem;
  font-weight: 300;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 1px;
}

.find-contact-person__info-blocks {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.find-contact-person__info-block {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 2rem;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.find-contact-person__info-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.find-contact-person__icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  object-fit: contain;
}

.find-contact-person__info-text {
  font-weight: 200;
  font-size: 1.1rem;
  line-height: 1.7rem;
  color: #444444;
  margin: 0;
}

.find-contact-person__button {
  text-align: center;
  margin-top: 3rem;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: #f8f8f8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 400;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Content Pages */
.content-page {
  padding: 1rem 0;
  min-height: 60vh;
}

.boxed h1 {
  display: block;
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  color: rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

/* .content-page h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  color: #1a1a1a;
  letter-spacing: 1px;
} */

.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #1a1a1a;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #d4af37;
}

.content-section h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.content-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #555;
}

.content-section ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: #555;
  list-style-type: disc;
  display: block;
}

ul {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}
.content-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.content-section strong {
  color: #1a1a1a;
  font-weight: 500;
}

/* Footer */
footer {
  margin-top: 80px;
  padding: 0;
}

.footer-top {
  background-color: white;
  border-top: 1px solid #c9c9c9;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 75vw;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 1rem 0;
  padding: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #777;
  text-decoration: underline;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #eb0a0a;
}

.footer-right {
  display: flex;
  align-items: flex-end;
}

.footer-copy {
  text-align: right;
  color: #333;
  font-size: 14px;
}

.footer-copy span {
  line-height: 1.5;
}

.footer-sonar {
  font-weight: bold;
  text-transform: uppercase;
  color: #eb0a0a;
}

.footer-bottom {
  background: linear-gradient(to right, #2a2a2a, #3a3a3a);
  padding: 1rem 0;
}

.footer-logo {
  width: 75vw;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  height: auto;
  display: block;
}

/* Responsive Design */
@media (max-width: 1000px) {
  .find-contact-person__header h1 {
    font-size: 2rem;
  }

  .find-contact-person__info-block {
    max-width: 100%;
  }

  .footer-content {
    width: calc(100vw - 20px);
    flex-direction: column;
    gap: 2rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-logo {
    width: calc(100vw - 20px);
  }
}

@media (max-width: 480px) {
  .header__menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-overlay-content {
    padding: 2rem 2rem;
    margin: 0 1rem;
  }

  .hero-overlay-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .hero-overlay-text {
    font-size: 0.95rem;
  }

  .find-contact-person__header h1 {
    font-size: 2rem;
  }

  .find-contact-person__info-blocks {
    flex-direction: column;
    align-items: center;
  }

  .find-contact-person__info-block {
    max-width: 100%;
    padding: 1.5rem 2rem;
  }

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

  .footer-content {
    width: calc(100vw - 40px);
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-right {
    align-items: flex-start;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-logo {
    width: calc(100vw - 40px);
  }

  .content-page h1 {
    font-size: 2rem;
  }
}

#footer {
  font-size: 12px;
  height: 180px;
  background-color: white;
  border-top: 1px solid #c9c9c9;
  margin-top: 80px;
}
#footer a {
  color: #777;
  font-size: 14px;
}
#footer > div {
  display: flex;
  align-content: space-between;
  align-items: flex-end;
}
@media (max-width: 1000px) {
  #footer > div {
    flex-wrap: wrap;
  }
}
#footer .links {
  padding-top: 30px;
  flex-grow: 2;
}
#footer .links table td {
  padding: 0 90px 12px 0;
}
@media (max-width: 1000px) {
  #footer .links table td {
    padding: 0 20px 4px 0;
  }
}
@media (max-width: 1000px) {
  #footer .links {
    padding-top: 10px;
    width: 100vw;
  }
}
#footer .copy {
  flex-grow: 1;
  text-align: right;
  vertical-align: bottom;
  padding-bottom: 12px;
}
#footer .copy img {
  height: 14px;
}
#footer .copy span {
  vertical-align: bottom;
  color: #777;
  padding-right: 20px;
  line-height: 14px;
}
@media (max-width: 1000px) {
  #footer .copy {
    text-align: left;
    padding-top: 20px;
  }
}
@media (max-width: 1000px) {
  #footer {
    font-size: 0.7rem;
  }
}
#footer .agent {
  margin-top: 0px !important;
}
#footer .signet {
  display: block !important;
  border-top: 1px solid #c9c9c9;
  padding-top: 13px;
  text-align: center !important;
}
#footer.footer--collapsed {
  margin-top: 0;
}

/*-- Didomi Styles --*/
.didomi-consent-popup-actions .didomi-components-button {
  font-size: 16px !important;
  font-weight: 500;
  border-radius: 4px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
  border: none !important;
  padding: 10px 16.5px;
  background-color: #eb0a0a !important;
  background-image: none !important;
  color: #ffffff !important;
}
