
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background: #eaf9fc;
  color: #062e3f;
}

/* Layout Container */
.container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Header (15%) */
.site-header {
  height: 15%;
  background: #007a91;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  font-size: 100%;
}

.header-content {
  display: flex;
  align-items: last baseline;
  gap: 20px;
  font-size: 100%;
}

.logo {
  width: auto;
  height: 50px;
  display: block;
  margin: 0;
  padding: 5;
  object-fit: contain;
}

.header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.header-text h1 {
  margin: 0;
  font-size: 1.5rem;
  white-space: nowrap;
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.4),
    4px 4px 6px rgba(0, 0, 0, 0.2);
}

.header-text p {
  margin: 2px 0 0;
  font-size: 0.95rem;
  align-self: center;
}


/* Main (70%) with background slideshow and dark overlay */
.site-main {
  height: 73%;
  overflow-y: auto;
  padding: 20px;
  background-size: cover;
  background-position: center;
  animation: slideshow 9s infinite;
  position: relative;
  color: white;
  font-size: 100%;
}

.site-main::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}

.site-main * {
  position: relative;
  z-index: 2;
}

/* Hero Styling */
.hero {
  text-align: center;
  margin-bottom: 30px;
  color: #9fd3dd;
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.4),
    4px 4px 6px rgba(0, 0, 0, 0.2);
}

.hero ul {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 10px auto;
  color: white;
}

/* Services Styling */
.services {
  margin: 20px 0;
  text-align: center;
  color: #9fd3dd;
}
.services h2{
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.4),
    4px 4px 6px rgba(0, 0, 0, 0.2);
}

.services h3{
  list-style-type: none;
  padding: 5px;
  max-width: 600px;
  margin: 10px auto;
  color: white;
  margin-bottom: 10px auto;
  font-size: 110%;
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.4),
    4px 4px 6px rgba(0, 0, 0, 0.2);
}

.services ul {
  list-style: none;
  padding: 0px;
  max-width: 600px;
  margin: 10px auto;
  color: #ffffffcc;
  margin-bottom: 10px auto;
}
.service-title {
  margin: 2px;
  text-align: center;
  color: #9fd3dd;
  font-size:108%;
  font-weight: 550;
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.4),
    4px 4px 6px rgba(0, 0, 0, 0.2);
}
.services li {
  padding: 5px;
  font-weight: 500;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.39);
}

.service-desc {
  padding: 1px;
  font-weight: 50;
  color: white;
  font-style: italic;
  font-size: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.39);
}

.service-desc li2{
  font-size: 100%;
}

.service-head { 
  color: white;
  gap: 50px;
  font-size: 100%;
  padding: 5px;
}

.service-head h1{
  color: white;
  gap: 2px;
  font-size: 110%;
  margin-bottom: 0px;
  font-weight: bold;
  text-shadow:
    2px 2px 2px rgba(0, 0, 0, 0.4),
    4px 4px 6px rgba(0, 0, 0, 0.2);
  
}

.service-head ul{
  font-size: 100%;
  padding: 0;
  margin-top: 0px;
}
/* Contact Bar (5%) */
.compact-contact {
  height: 5%;
  background: #f1f1f1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scrolling-text {
  white-space: nowrap;
  display: inline-block;
  animation: loop-scroll 30s linear infinite;
}

.repeat {
   white-space: nowrap;
   padding-right: 100px;
}

/* ⏸ Pause the scroll when hovered */
.scrolling-text:hover {
  animation-play-state: paused;
} 

@keyframes loop-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.compact-contact a {
  color: #007a91;
  text-decoration: none;
}

.compact-contact a:hover {
  text-decoration: underline;
}

/* Footer (8%) */
.site-footer {
  height: 7%;
  background: #020202ce;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100%;
}

/* Slideshow animation */
@keyframes slideshow {
  0%   { background-image: url('img1.jpg'); }
  100% { background-image: url('img1.jpg'); }
  }
