* {
  box-sizing: border-box;
}
html, #indexbody {
	height: 100%;
	min-height: 100vh;
}
#indexbody {
	font-family: Bellota Text;
	background-color: #e9e7ed;
	margin: 0;
	background-image: radial-gradient(#ed9ea5, #7fabbf);
	z-index: -5;
}
#indexbody > .family {
	z-index: -4;
	position: fixed;
	width: 100vw;
	height: 100vh;
	opacity: .5;
}
/*Header*/
.index-grid-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #545454;
	grid-area: indexheader;
}
.index-grid-header > hr {
	width: 55%;
	border-style: solid;
	margin: 0 auto;
}
.index-grid-header > hr:last-child {
	margin: 0 auto 60px auto;
}
.index-grid-header > hr:first-child {
	margin-bottom: 0;
}
.index-grid-header > p {
  position: relative;
  font-size: clamp(12px, 3vw, 20px);
  font-weight: bold;
  color: transparent;
  background: linear-gradient(90deg, #7fabbf, #ed9ea5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* move this here */
  margin-top: 4px;
  margin-bottom: 0;
  padding: 0;
}

.index-grid-header > p::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, white 50%, transparent 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmerText 2.5s infinite;
  pointer-events: none;
}
@keyframes shimmerText {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

#headerlogo {
	display: inline-block;
	aspect-ratio: 1/1;
	width: 8vw;
	max-width: 60px;
	margin-top: 10px;
}
#menu-toggle {
	display: none;
}
#mobile-menu {
	display: none;
}
.header-flex-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;    /* Vertically center links */
	width: 50vw;
	padding: 5px 0;
	margin: 0;
}
.header-flex-container > a {
	font-size: 16px;
	text-align: center;
	color: white;
	text-decoration: none;
	margin: 0;
	padding: 10px;
	width: 100px;
	min-width: 40px;
}
.header-flex-container > a:hover {
	background-color: #272727;
}
#active-nav {
	background-color: black !important;
}
/* Chat bubble and chat window */
#chat-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  aspect-ratio: 1 / 1;
  width: 50px;
}

#chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  font-family: 'Arial', sans-serif;
}

#chat-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

#chat-body {
  padding: 10px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
  word-wrap: break-word;
  font-size: 14px;
}

.chat-bubble.bot {
  background-color: #f1f1f1;
  color: #333;
  align-self: flex-start;
}

.chat-bubble.user {
  background-color: #007bff;
  color: white;
  align-self: flex-end;
}

#chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

#chat-input input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

#send-btn {
  background: none;
  border: none;
  color: #007bff;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
}
/*Footer*/
.index-grid-footer {
	display: flex;
	background-color: #545454;
	grid-area: indexfooter;
	flex-direction: column;
	align-items: center;
}
#footerlogo {
	display: inline-block;
	width: 5vw;
	aspect-ratio: 1/1;
	margin: 10px auto;
	min-width: 30px
}
#footercontact {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
#footercontact > p {
	color: white;
}
.contactcontainer span {
	font-size: 1.8vw;
	text-decoration: none;
	color: #e9e7ed;
	margin: 0;
	padding: 0;
}
.contactcontainer:hover span {
    color: #ffc107;
}
.contactcontcontacts {
	text-decoration: none;
}
.contactcontainer {
	text-decoration: none;
	color: inherit; /* optional: makes it match surrounding text */
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.footerhr {
	width: 50vw;
}
.fab, .fa {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: content-box;
	padding: 1vw;
	font-size: 1.9vw;
	width: 2vw;
	height: 2vw;
	text-align: center;
	text-decoration: none;
	margin: auto auto 10px;
	border-radius: 50%;
}
.fa-facebook-f {
	background: #3B5998;
	color: white;
	margin-top: 10px;
}
.fa-google {
	background: #dd4b39;
	color: white;
	margin-top: 10px;
}
.fa-linkedin-in {
	background: #007bb5;
	color: white;
	margin-top: 10px;
}
.fa-youtube {
	background: #bb0000;
	color: white;
	margin-top: 10px;
}
.fa-instagram {
	background: #125688;
	color: white;
	margin-top: 10px;
}
.fab:hover, .fa:hover {
	opacity: 0.7;
}

@media print {
  p {
    font-size: 14px;
    margin: 5px 0;
  }
}
  
/* --- Mobile Responsive Styles (max-width: 768px) --- */
/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
  .index-grid-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #545454;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    width: 100%;
  }
  .index-grid-header.scrolled {
  background-color: rgba(0, 0, 0, 0.7) !important;
  transition: background-color 0.3s ease;
}
  /* Hide original nav and <hr> for mobile */
  .header-flex-container,
  .index-grid-header > hr {
    display: none;
  }

  /* Logo on the left */
  #headerlogo {
    order: 1;
    width: 12vw;
    max-width: 50px;
    margin-top: 0;
  }

  /* Title in center */
  .index-grid-header > p {
    order: 2;
    flex-grow: 1;
    text-align: center;
    font-size: clamp(10px, 5vw, 20px); 
    margin: 0;
    padding: 0;
  }

  /* Hamburger menu on the right */
  #menu-toggle {
    order: 3;
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 6vw;
    cursor: pointer;
  }

  /* Slide-out menu */
  #mobile-menu {
    position: fixed;
    display: inline;
    top: 0;
    right: 0;
    width: 30vw;
    max-width: 300px;
    background: #545454;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-height: 100vh;
    overflow-y: auto;
  }
  #mobile-menu a:nth-of-type(1) {
	  order: 2;
  }
  #mobile-menu a:nth-of-type(2) {
	  order: 3;
  }
  #mobile-menu a:nth-of-type(3) {
	  order: 1;
  }
  #mobile-menu a:nth-of-type(4) {
	  order: 4;
  }
  #mobile-menu a:nth-of-type(5) {
	  order: 5;
  }
  #mobile-menu.open {
    transform: translateX(0);
  }

  #mobile-menu a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    text-align: center;
  }

  #mobile-menu a:hover {
    background: #272727;
  }
.fab, fa {
	min-width: 35px;
	min-height: 35px;
	font-size: 28px;
	background-color: #545454;
	color: transparent;
  	-webkit-text-stroke: 1px black;
	margin-bottom: 0px;
}
.footerhr {
	display: none;
}
#footercontact {
	display: flex;
	width: 100% !important;
	margin: 0 !important;
	flex-direction: column !important; 
	align-items: center !important;
	font-size: clamp(25px, 1vw, 25px);
	padding: 0;
	text-align: center;
	gap: 0; /* Controls spacing */
}

#footercontact > p {
	transform: rotate(90deg);
	transform-origin: center;
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height: 1; /* Shrinks extra spacing */
}
.contactcontainer span {
	font-size: clamp(15px, 1vw, 25px);
	padding: 0 6px;
}
}
