:root {
  --primary-color: #204B65;
  --bg-color: #f9f9f9;
  --dark-color: #333;
  --white: #fff;
}

* {
  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 {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 100;
}
.header-hide{
  top:-130px;
  transition: 0.3 ease-in-out;
}
#drop{
  position: absolute;
  margin-left: 90px;
  display: flex;
  margin-top: 60px;
  flex-direction: column;
  background-color: #fff;
  padding: 60px;
  opacity: 0;
}

#drop.activ{
  opacity: 1;
}
.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: 120px;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
}
#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;
}
nav a:hover {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  transition: 3 ease-in-out;

}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
}

.menu-bars {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-bars div {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
}

.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;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.3s ease;
  z-index: 200;
}

.mobile-menu.active {
  
  right: 0;
}

.mobile-menu a {
  color: var(--dark-color);
  font-size: 1.2rem;
  text-decoration: none;
}

.section {
  padding: 4rem 2rem;
  text-align: center;
}

.hero {
  background: var(--primary-color);
  background-image: url('/img/Glassbuilder.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 70px;
  height: auto;
  color: white;
  padding: 6rem 2rem;
  align-content: center;
}
.hero-text{
  position: absolute;                           
  margin-top: -160px;
  text-align: center;
  margin-left:20% ;
}
.hero h5{
    text-decoration: underline;
    text-underline-offset:3px;
    text-decoration-color: #000;
    font-weight: 800px;
   }

.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;
}
 
#about-abou_US{
  text-align: start;
  /* background-color: red; */
  height: 80vh;
}
.h2{
  text-align: center;
}
#about-about{
  position: relative;
  top:50px;
  width: 70%;
  margin: 0 auto;
}
/*  About section from index.html*/
#about a{
  margin-top:10px;
  text-decoration: none;
  border:1px solid #3DB8B0 ;
  padding: 6px 5px ;
  color:#204B65;
}

#about p{
  width: 60%;
  margin: 0 auto;
}
/* about section index.html end here*/
/* about text start here */
#about-page-section{
  background-image: none;
}
#about-page-section div {
  position: relative;
  max-width: 80%;
  margin: 0 auto;
}
#mission-values{
  position: relative;
  top: 0px;
}
#mission-values p{
  width: 40%;
  margin: 0 auto;
}
#team p{
  max-width: 30%;
  line-height: 25px;
}
.about-img {
  position: relative;
  top: 90px;
  margin: 0 auto;
  min-width: 150px;
  height: 150px;
  border-radius: 25px;
  display: flex;
}
#about-about_us div {
  position: relative;
  max-width: 80%;
  margin: 50px 10px;
  background-color: --primary-color #204B65;
}
.about_text p {
  width: 70%;
  margin: 0 auto;
}
/* about text end here */
/* section li::before{
  color: red;
} */
/* service style start here*/
em{
  color: red;
  font-size: 30px;
}
#service_list h2{
  position:relative ;
 text-align: center;
}
  #service_list li {
  list-style-type: none;
  font-size: 2rem;
  position:relative ;
  left: 3%;
  /* service mobile styleend here*/
}
/* #service_list li::before{
  left: 2px;
  top:5px;
  content:"✓" ;
  font-size: 40px;
  color:red;
} */
.li-a{
  display:flex;
}
/* service style end here*/
 #team p{
  width: 60%;
  margin: 0 auto;
 }
    #contact {
      background-color: #204B65;
      color: #fff;
    }
#contact form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#contact input,
#contact textarea {
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#contact button {
  background-color: #3DB8B0;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

#contact button:hover {
  background-color: #329f9a;
}

#contact p {
  margin: 0 auto;
  width: 65%;
  text-align: center;
}
#mission-values p{
   text-align: start; 
   width: 80%;
   margin-bottom: 20px;
}
  .visually-hidden {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  }

/* Buttons match */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #3DB8B0;
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: transform 150ms cubic-bezier(.22,.61,.36,1), box-shadow 150ms cubic-bezier(.22,.61,.36,1), background-color 150ms;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,.12); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid rgba(61,184,176,.5); outline-offset: 2px; }

/* Contact form button match */
#contact button {
  background-color: #3DB8B0;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 150ms;
}
#contact button:hover { background-color: #0056b3; transform: translateY(-1px); }
#contact button:active { transform: translateY(0); }

/* Newsletter Section */
#subscribe {
  padding: 2rem 1rem;
  background-color: var(--bg-color);
  width: 100%;
  max-width: 700px;         /* ✅ prevents over-expansion */
  text-align: center;
  color: var(--dark-color);
  margin: 0 auto;
}

#subscribe form {
  position: relative;
  display: grid;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 30px;
}

#subscribe input {
  width: 100%;              /* ✅ no fixed 500px */
}

#subscribe input[type="email"] {
  padding: 0.7rem 0.9rem;
  width: 100%;              /* ✅ ensures responsiveness */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}

#subscribe input[type="email"]:focus {
  border-color: #3DB8B0;
  box-shadow: 0 0 0 4px rgba(61,184,176,.15);
}

#subscribe button {
  padding: 0.7rem 1.2rem;
  background-color: #3DB8B0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 150ms;
}
#subscribe button:hover { background-color: #0056b3; transform: translateY(-1px); }
#subscribe 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; }

@media (max-width: 768px){
  nav a { font-weight: 700; text-transform: uppercase; }
}


@media (max-width: 900px) {
  .img {
    position: relative;
    margin-top: 10%;
  }
}
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    width: 100%;
  }
  .logo {
    position: here;
    z-index: 1000;
    margin-left: -7%;
    top: 30px;
  }


  .menu-toggle {
    display: flex;
    cursor: pointer;
    padding: 10px;
    /* background-color: #204B65; */
    color: white;
    font-size: 18px;
    border: none;
  }

  #menu-toogle {
    z-index: 10000;
  }
  .menu-bars {
    position: absolute;
    right: 30px;
    display: flex;
    cursor: pointer;
    padding: 10px;
    /* background-color: #204B65; */
    color: white;
    font-size: 18px;
    border: none;

  }
  .mobile-menu {
    display: block;
    flex-direction: column;
    transition: .3s ease-in-out;
    position: absolute;
    top: -450px;
    left: 0;
    width: 100%;
    height: calc(100vh - 50px);
    background: #204B65;
    color: white;
    padding: 20px;
    z-index: 999;
  }
  nav {
    position: absolute;
    top: 90px;
    left: 0;
    width: 60%;
    height: 100vh;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform .3s ease-in-out;
    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;
    text-size-adjust: bold;
  }
  .hero {
    position: relative;
    margin-top: 30px;
    height: auto;
  }
  .hero h5{
    margin-top: 40px;
  }
  .hero-text{
    margin: 0 auto;
    /* top: 10px; */
  }
  .hero .btn{
    margin-left: 25%;
  }
  .img {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 90%;
    margin-top: 10%;
    left: 10%;
  }
  .hero h1 {
    min-width: 100%;
  }
  /* about section page start here */

  .about_text p {
  width: 90%;
  margin: 0;
  text-align: left;
}
#about p{
  width: 80%;
  text-align: start;
}

  /* about section page and here */

  /* mobile style services page starthere*/
  #service_list li {
  list-style-type: none;
  font-size: 2rem;
  position:relative ;
  left: -2%;
  /* service mobile styleend here*/
}
  
#service_list li::before{

  left: 2px;
  top:5px;
  content:"✓" ;
  font-size: 40px;
  color:red;
}
#team p{
  max-width: 90%;
  line-height: 25px;
  text-align: start;
}

  /* ✅ Newsletter mobile fix */
  #subscribe {
    padding: 1.5rem 1rem;
  }
  #subscribe form {
    grid-template-columns: 1fr;  /* stack input & button */
    padding: 16px;
    max-width: 100%;
  }
  #subscribe input,
  #subscribe input[type="email"],
  #subscribe button {
    width: 100%;   /* ✅ all elements stretch full width */
  }
}
