:root { 
  --primary-color: #204B65;
  --bg-color: #f9f9f9;
  --dark-color: #333;
  --white: #fff;

  /* Motion + effects */
  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: 150ms;
  --normal: 300ms;
  --slow: 600ms;
  --shadow-1: 0 2px 6px rgba(0,0,0,.08);
  --shadow-2: 0 10px 25px rgba(0,0,0,.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--dark-color);
  line-height: 1.6;
}

/* ---------------- Header ---------------- */
header {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-1);
  position: fixed;
  top: 0;
  width: 100%;
  transition: top var(--normal) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
  z-index: 100;
  will-change: top;
}
.header-hide{
  top: -130px;
}

.drop{
  position: absolute;
  margin-left: 90px;
  display: flex;
  margin-top: 60px;
  flex-direction: column;
  background-color: #fff;
  padding: 60px;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  transition: opacity var(--normal) var(--ease), transform var(--normal) var(--ease), visibility var(--normal) var(--ease);
}

/* Accept both .active and your existing .activ */
.drop.active,
.drop.activ{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
.drop a{
  color: #0056b3;
}

#fa{
  position: absolute;
  color: #3DB8B0;
  font-size: 25px;
  top: -20px;
  margin-left: 20px;
}

.logo {
  background-image: url(/img/newlogo.png);
  border-radius: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-left: 5%;
  width: 270px;
  height: 150px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.logo:hover { transform: translateY(-2px); box-shadow: var(--shadow-1); }

#mobile-menu { display: none; }

nav {
  display: flex;
  margin-right: 10%;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: larger;
  font-weight: 800;
  position: relative;
  transition: color var(--fast) var(--ease);
}
nav a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 3px;
  background: #3DB8B0;
  transition: width var(--normal) var(--ease);
}
nav a:hover::after { width: 100%; }

.menu-toggle,
.menu-bars {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1000;
}
.menu-toggle div,
.menu-bars div {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 250px;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right var(--normal) var(--ease);
  z-index: 200;
}
.mobile-menu.active { right: 0; }

.mobile-menu a {
  color: var(--dark-color);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.mobile-menu a:hover { transform: translateX(4px); color: var(--primary-color); }

/* ---------------- Sections ---------------- */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.hero {
  background-color: var(--primary-color);
  background-image: url('/img/Glassbuilder.jpg');
  background-size: 40% 100%;
  background-position: right;
  background-repeat: no-repeat;
  margin-top: 120px;
  min-height: 95vh;
  color: white;
  padding: 6rem 1rem;
  align-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero::before{
  /* subtle gradient sweep */
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(1200px 1200px at -20% -20%, rgba(255,255,255,.08), transparent 60%);
  opacity: 0;
  animation: heroGlow var(--slow) var(--ease) .3s forwards;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroGlow{
  to { opacity: 1; }
}

.hero-text{
  position: absolute;               
  margin-top: -140px;
  text-align: center;
  width: 50%;
  margin-left: 7%;
  font-size: 25px;
  opacity: 0;
  transform: translateY(16px);
  animation: slideUpFade var(--slow) var(--ease) .2s forwards;
  z-index: 1;
}
@keyframes slideUpFade{
  to { opacity: 1; transform: translateY(0); }
}

.hero h5{
  position: relative;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #000;
  font-weight: 800;
  font-size: small;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  margin-bottom: 3rem;
  padding: 0.7rem 1.5rem;
  background: #3DB8B0;
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(61,184,176,.5); outline-offset: 2px; }

.img {
  position: relative;
  background-image: url(/img/Girls2.png);
  background-size: cover;
  background-position: center top -40px;
  background-repeat: no-repeat;
  margin-top: 10px;
  float: right;
  right: 5%;
  min-width: 500px;
  background-color: transparent;
  height: 300px;
  will-change: transform, opacity;
  animation: floatIn var(--slow) var(--ease) .4s both;
}
@keyframes floatIn {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/*  About section from index.html*/
#about{
  opacity: 0;
  animation: fadeIn 1.5s var(--ease) forwards;
  animation-delay: 2s;
  will-change: transform, opacity;
}
@keyframes fadeIn {
  from{ opacity: 0; transform: translateY(350px); }
  to  { opacity: 1; transform: translateY(-10px); }
}
#about p{
  text-align: start;
  box-sizing: border-box;
  box-shadow: 3px 3px 3px 3px #333;
  padding: 30px;
}
#about a{
  margin-top:10px;
  margin-left: 40%;
  text-decoration: none;
  border:1px solid #3DB8B0;
  padding: 6px 5px;
  color:#204B65;
}
#about p{
  width: 60%;
  margin: 0 auto;
}

/* about text start here */
#about-page-section{ background-image: none; }
#about-page-section div {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
}
.about-img {
  position: relative;
  margin: 0 auto;
  min-width: 150px;
  height: 150px;
  border-radius: 25px;
  display: flex;
  overflow: hidden;
  transform: translateZ(0);
}
#about-about_us div {
  position: relative;
  max-width: 80%;
  margin: 50px 10px;
  background-color: var(--primary-color); /* fixed invalid value */
}
.about_text p {
  width: 70%;
  margin: 0 auto;
}
/* about text end here */

/* ---------------- Services ---------------- */
#service_list h2{
  position: relative;
  text-align: center;
}
#service_list li {
  list-style-type: none;
  font-size: 2rem;
  position: relative;
  left: 3%;
}
#services p{
  position: relative;
  max-width: 300px;
  height: 300px;
}

#services p strong a { padding-left: 10px; padding-right: 10px; }
.a:hover{ background-color: #000; color: #0056b3; }

.hospital{
  background-image: url(/img/hospital.png);
  background-size: 100% 80%;
  background-position: bottom;
  background-repeat: no-repeat;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
}

#off{
  width: 300px;
  background-image: url(/img/office.png);
  background-size: 100% 80%;
  background-position: bottom;
  background-repeat: no-repeat;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  animation: showIn 1.5s var(--ease) forwards;
  animation-delay: 3s;
}
@keyframes showIn {
  from{ opacity: 0; transform: translateY(350px); }
  to  { opacity: 1; transform: translateY(-10px); }
}

#school{
  background-image: url(/img/school.png);
  background-size: 100% 80%;
  background-position: bottom;
  background-repeat: no-repeat;
  cursor: pointer;
  text-transform: uppercase;
  width:300px;
  color: #fff;
}
.school{ position: absolute; }

#off strong, #school strong, #hospital strong, #strip-wax strong{ position: relative; top:-8px; }
#off strong a, #school strong a, #hospital strong a, #strip-wax strong a{
  text-decoration: none;
  border:1px solid;
  color:#fff;
}

#strip-wax{
  background-image: url(/img/stripwax.jpg);
  background-size: 100% 80%;
  background-position: bottom;
  background-repeat: no-repeat;
  text-transform: uppercase;
  width: 300px;
  color: #fff;
  cursor: pointer;
}

.services-text {
  display: flex;
  flex-wrap: wrap;
  margin-left: 5%;
  gap: 2rem;
  justify-content: center;
}
.services-text p {
  background-color: #3DB8B0;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
  will-change: transform;
}
.services-text p:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}

.hospital{ position: relative; width: 300px; }

#service_list li::before{
  left: 2px;
  top: 5px;
  content: "✓";
  font-size: 40px;
  color: red;
}

.li-a{ display:flex; }

/* --------------- Video --------------- */
.video-background {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.video-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  color: white;
  text-align: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.3);
  animation: fadeOverlay var(--slow) var(--ease) .2s both;
}
@keyframes fadeOverlay { from{ opacity:.6 } to{ opacity:1 } }
.video-overlay a{
  position: absolute;
  margin-top: 0;
}

/* --------------- FAQ --------------- */
#faq {
  background: #eef3f6;
  padding: 3rem 2rem;
  text-align: center;
  text-indent: 0%;
}
#faq h2 { text-align: center; margin-bottom: 2rem; }
#faq h3 { margin-top: 1.2rem; color: var(--dark-color); }
#faq p { margin-bottom: 1rem; line-height: 1.5; }

/* --------------- Contact --------------- */
#contact {
  background-color: #204B65;
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
}
form {
  display: grid;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  color: #333;
  transform: translateZ(0);
}
form label { font-weight: 600; margin-bottom: 5px; }
form input,
form textarea {
  height: 45px;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
form textarea { resize: vertical; min-height: 100px; height: auto; }
form input:focus,
form textarea:focus{
  border-color: #3DB8B0;
  box-shadow: 0 0 0 4px rgba(61,184,176,.15);
}
form button {
  height: 45px;
  background-color:#3DB8B0;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background-color var(--fast) var(--ease);
}
form button:hover { background-color: #0056b3; transform: translateY(-1px); box-shadow: var(--shadow-1); }
form button:active { transform: translateY(0); }

/* --------------- Footer --------------- */
footer {
  background: #222;
  color: #eee;
  padding: 2rem;
  text-align: center;
}
footer p, footer a { color: #eee; margin-bottom: 0.5rem; }
footer a:hover { text-decoration: underline; }
/* Tablet-only tweak: adjust just the hero margin */
@media screen and (min-width: 1024px) {
  .hero {
    margin-bottom: 90px; /* was 120px; reduces the gap under the fixed header on tablets */
    margin-bottom: 50px;
  }
  .hero div{
  bottom: 50px;
}
}
/* --------------- Media Queries --------------- */
@media (max-width: 900px) {

  .img { position: relative; margin-top: 10%; }
  .service:hover .drop.activ{ display: block; } /* keeps existing behavior */
  .drop{ opacity: 0; } /* will still animate with .activ/.active */
}

@media (max-width: 768px) {
  header { position: fixed; top: 0; width: 100%; }
  .logo {
    /* fixed invalid "position: here" */
    position: relative;
    z-index: 1000;
    margin-left: -7%;
    top: 16px;
  }

  .menu-toggle {
    display: flex;
    cursor: pointer;
    padding: 10px;
    margin-top: -40px;
    color: white;
    font-size: 18px;
    border: none;
  }

  #menu-toogle {
     z-index: 10000; 
    }
  .menu-bars {
    position: absolute;
    right: 30px;
    display: flex;
    cursor: pointer;
    padding: 10px;
    color: white;
    font-size: 18px;
    border: none;
  }

  .mobile-menu {
    display: block;
    flex-direction: column;
    transition: .3s var(--ease);
    position: absolute;
    top: -440px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    background: #204B65;
    color: white;
    padding: 20px;
    z-index: 999;
  }

  nav {
    position: absolute;
    top: 125px;
    left: 0;
    width: 60%;
    height: 100vh;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform .3s var(--ease);
    display: flex;
    flex-direction: column;
  }
  nav.active {
     transform: translateX(0); 
    }

  #mobile-menu a {
    position: relative;
    top: 30px;
    left: 2%;
    font-size: 20px;
  }

  nav a {
    position: relative;
    top: 70px;
    left: 14%;
    color: #204B65;
    text-transform: uppercase;
    /* fixed invalid property "text-size-adjust: bold" */
    font-weight: 700;
  }

  .hero {
    position: relative;
    background-size: 100% 40%;
    background-position: bottom;
    min-height: 95vh;
    margin-top: 80px;
  }
    .hero h1{ 
    margin-top: 40px; 
    font-size: 25px;
  }
  .hero h2{
    margin-top: 15px;
   font-size: 20px;
  }
  .hero h5{ 
    top: 30px;
    margin-top: 40px; 
  
  }
  .hero-text{
    margin: 0 auto;
    font-size: 20px;
    width: 90%;
    top: 50px;
  }
  .img {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 90%;
    margin-top: 10%;
    left: 10%;
  }
  .hero h1 { min-width: 100%; }

  .about_text p { width: 90%; margin: 0; text-align: left; }
  #about p{ width: 90%; text-align: start; box-shadow: none; }

  #service_list li {
    list-style-type: none;
    font-size: 2rem;
    position: relative;
    left: -2%;
  }
  #service_list li::before{
    left: 2px;
    top: 5px;
    content: "✓";
    font-size: 40px;
    color: red;
  }

  .services-text{
    display: flex;
    flex-direction: column;
    margin: 0 auto;
  }
  #services p{ margin: 0 auto; width: 500px; }
  .hospital{ left: 0; }
  #off{ left: 0; }
  #school{
    /* fixed invalid "position: about" */
    position: relative;
    left: 0;
  }
  .drop{ display: none; }
}

/* --------------- Accessibility: reduce motion --------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
