@font-face {
    font-family: 'Canva Sans';
    src: url('fonts/CanvaSans-Regular.woff2') format('woff2'),
        url('fonts/CanvaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Canva Sans';
    src: url('fonts/CanvaSans-Bold.woff2') format('woff2'),
        url('fonts/CanvaSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'GT Super Ds Trial Rg';
    src: url('fonts/GTSuperDsTrial-Rg.woff2') format('woff2'),
        url('fonts/GTSuperDsTrial-Rg.woff') format('woff'),
        url('fonts/GTSuperDsTrial-Rg.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden; /* Prevent page scrolling */
    font-family: 'Canva Sans', sans-serif;
    font-weight: normal;
    font-style: normal;
}

body {
    background: url('images/holding_bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: 'GT Super Ds Trial Rg';
    font-weight: 900;
    font-style: normal;
    font-size: 1.6rem;
    margin-bottom: 25px;  
    margin-top: 35px;
}

h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

strong {
    font-family: 'Canva Sans';
    font-weight: bold;
    font-style: normal;
}

a {
    color: #8794a4;
}
a:hover {
    color: #9dabbd;
}

.highlight {
    background-color: #8794a4;
    color: white;
    padding: 10px 20px;
    margin:  0 0 18px;
}
.highlight a {
    color: #c6cfd9;
}
.highlight a:hover {
    color: #a8b6c5;
}
.highlight h2 {
    margin-top: 10px;
    margin-bottom: : 15px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.content-box {
    background-color: #f0f0f0; /* Light grey background */
    border: 10px solid #f0f0f0;
    width: 80%; /* Set a static width for the box */
    max-width: 1050px;
    max-height: 80vh; /* Prevent box from stretching to full height */
    padding: 0;
    text-align: center;
    xbox-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    overflow: hidden; /* Hide the content behind the fixed logo */
    margin: 20px;
    position: relative; /* Allow absolute positioning for logo */
}

/* Gradient overlay behind the logo */
.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 16px;
    height: 145px;
    background: linear-gradient(180deg, rgba(240, 240, 240, 1) 0%, rgba(240, 240, 240, 1) 90%, rgba(240, 240, 240, 0) 100%);
    z-index: 9;
}

/* Fixed Logo on Desktop */
.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Ensure logo is above the text */
}

.logo img {
    max-width: 180px;
    height: auto;
}

.disclaimer {
    font-size: 0.8em;
    margin-top: 40px;
}

/* Scrollable Content */
.scrollable-content {
    max-height: calc(80vh - 60px); /* Subtract some space to leave room for the logo */
    padding: 100px 50px 0 50px; /* Create space for the logo */
    overflow-y: auto;
}

/* Scrollbar styles for WebKit browsers (like Chrome, Safari) */
.content-box::-webkit-scrollbar, .scrollable-content::-webkit-scrollbar {
    width: 10px; /* Adjust width if needed */
}

.content-box::-webkit-scrollbar-track, .scrollable-content::-webkit-scrollbar-track {
    background: #e4e4e4; /* Makes the scrollbar track (background) transparent */
}

.content-box::-webkit-scrollbar-thumb, .scrollable-content::-webkit-scrollbar-thumb {
    background-color: #969696; /* Customize scrollbar thumb color */
    border-radius: 4px; /* Optional: make scrollbar round */
    xborder: 2px solid rgba(255, 255, 255, 0.3); /* Optional: adds a border to the thumb */
}

.content-box::-webkit-scrollbar-thumb:hover, .scrollable-content::-webkit-scrollbar-thumb:hover {
    background-color: #808080; /* Darken scrollbar thumb on hover */
}

#pdf-gallery img {
  width: 100px;
  margin: 10px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: transform 0.2s;
}
#pdf-gallery img:hover {
  transform: scale(1.05);
  border-color: #555;
}

.fancybox__button--close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 1001; /* Ensure it appears on top */
}
.fancybox__button--close:hover {
  color: #eee;
}

.fancybox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}

.fancybox__arrow--left {
  left: 20px;
}

.fancybox__arrow--right {
  right: 20px;
}

.fancybox__arrow:hover {
  background: #333;
}

/* General styling */
#contact-form {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#contact-form h3 {
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: #444;
}

#contact-form p {
  margin-bottom: 20px;
  text-align: left;
}

#contact-form label {
    display: block;
    font-size: 1.1rem;
    text-align: left;
    width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  text-align: left;
  padding: 10px;
}

table tr.row_divide {
  border-bottom: 1px solid #ddd;
}

table th {
  font-weight: bold;
  color: #555;
}

table td {
  vertical-align: middle;
}

table input[type="radio"] {
  width: 22px;
  height: 22px;
}

textarea {
  resize: vertical;
}

/* Submit button */
button[type="submit"] {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  background-color: #6c757d; /* Grey background */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 20px auto; /* Center-align the button */
}

button[type="submit"]:hover {
  background-color: #5a6268; /* Darker grey on hover */
}

/* General checkbox styling */
input[type="radio"] {
  appearance: none; /* Remove default browser styling */
  -webkit-appearance: none; /* For Safari */
  -moz-appearance: none; /* For Firefox */
  width: 22px; /* Set square size */
  height: 22px; /* Set square size */
  border: 2px solid grey; /* Grey border */
  border-radius: 0; /* Remove rounded corners for a square look */
  background-color: white; /* White background */
  cursor: pointer; /* Pointer cursor on hover */
  outline: none; /* Remove focus outline */
  display: inline-block; /* Inline-block to maintain layout */
  vertical-align: top; /* Align properly with text */
  transition: all 0.2s ease; /* Smooth transition for interactions */
}

/* Checked state */
input[type="radio"]:checked {
  background-color: grey; /* Fill with grey when selected */
  border-color: grey; /* Ensure the border matches the fill */
}

/* Hover state */
input[type="radio"]:hover {
  border-color: black; /* Darker border on hover */
}

/* Focus state */
input[type="radio"]:focus {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); /* Subtle shadow for accessibility */
}

/* General styling for text inputs and textarea */
input[type="email"],
textarea {
  width: 100%; /* Full width */
  padding: 10px; /* Add some padding for better usability */
  border: 2px solid grey; /* Grey border */
  border-radius: 0; /* Square corners */
  background-color: white; /* White background */
  font-size: 14px; /* Consistent font size */
  outline: none; /* Remove default outline */
  box-sizing: border-box; /* Include padding in width calculation */
  transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for interactions */
}

/* Hover state */
input[type="email"]:hover,
textarea:hover {
  border-color: black; /* Darker border on hover */
}

/* Focus state */
input[type="email"]:focus,
textarea:focus {
  border-color: black; /* Darker border when focused */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for accessibility */
}

/* Placeholder styling */
input[type="email"]::placeholder,
textarea::placeholder {
  color: grey; /* Grey placeholder text */
  opacity: 0.8; /* Slight transparency */
  font-style: italic; /* Optional: italic placeholder */
}

/* Center the button inside the form */
#contact-form form {
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
   body, html {
        overflow: auto; /* Allow page scrolling on mobile */
    }
    
    .container {
        height: auto; /* Let the content fit mobile viewport */
    }

    .content-box {
        width: 90%;
        padding: 15px;
        overflow: hidden;
        overflow-y: auto;
        max-width: 85vw;
        max-height: 90vh;
    }

    .logo-overlay {
        display: none;
    }

    .logo {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        margin-top: 15px;
        margin-bottom: 32px; /* Add some margin to the logo when it scrolls */
    }

    .scrollable-content {
        padding: 0;
        max-height: none;
        overflow: hidden;
    }

    h1 {
        font-size: 1.2rem;
        margin-top: 0px;
    }

    h2 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.9rem;
    }
}


