
* {
  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);
  cursor: pointer;
}
.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;
}


.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);    /* subtle background blur */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ====== MODERN MODAL BOX ====== */
.modal-box {
  background: #ffffff;
  max-width: 600px;
  width: 90%;
  max-height: 60vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s ease;
}

/* Active state when modal is shown */
.modal-overlay.show .modal-box {
  transform: scale(1);
  opacity: 1;
}

/* ====== MODERN CLOSE BUTTON ====== */
.modal-close {
  position: absolute;
  top: 5px; right: 10px;
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #007a91;   /* brand blue on hover */
}

/* ====== MODAL CONTENT IMAGE ====== */
#modal-content img {
  max-width: 80%;
  height: auto;
  margin: 40px 0 0 20px;
  border-radius: 6px;
  
}

/* ====== MODAL CONTENT TEXT ====== */
#modal-content p {
  color: #062e3f;
  line-height: 1.6;
  margin-right: 10px;
  text-align: justify;
  font-size: 1rem;
}

#modal-content h1 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #125764;
  text-align: center;
}

#modal-content video {
  width: 70%;       /* ✅ make it fill modal box horizontally */
  height: auto;      /* ✅ keep aspect ratio */ 
  display: block;    /* ✅ remove weird inline spacing */
  border-radius: 8px; /* ✅ optional: rounded corners */
  margin: 20px 0 0 40px;   /* ✅ space above if you want */
}


/* 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'); }
  }
