@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Box sizing rules */
/* General Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  min-height: 100%;
  height: 100%;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
  font-family: "PT Serif", serif;
  font-weight: 700;
  font-style: italic;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/*creating variable*/
:root {
  --primary-color: rgb(47, 69, 88);
  --lite-primary: rgb(106, 116, 137);
  --secondary-color: rgb(85, 85, 85);
  --third-color: rgb(123, 46, 15);
  --lite-secondary: rgb(177, 179, 163);
  --main-color: rgb(249, 249, 249);
  --lite-main: #94B2BF;
  --font-color: rgb(245, 245, 245);
  --button-primary-bg: rgb(221, 171, 94);
  --button-secondary-bg: rgb(216, 9, 9);
  --button-secondary-lite: rgb(13, 73, 107);
  --button-color: rgb(20, 20, 1);
  --color-h2: rgb(6, 22, 50);
  --primary-border: rgb(255, 255, 255);
  --senodary-border: rgb(164, 159, 159);
  --sliderlist-hover: rgb(212, 223, 230);
  --yellow:#c09302;
  --Retroblue:#0156a3;
  --purple: #89b4dd;
  --pink: #7b2e0f;
  --salmon: #b92f10;
  --goldenYellow: #ffa200;
}

/* Body Styling */
body {
  background-color: var(--main-color);
  min-height: 100%;
  height: 100%;
  color: var(--color-h2);
  line-height: 1.5;
  font-family: "PT Serif", serif;
  font-weight: 400;
  font-style: normal;
  
}



/* Header Styling */
header {
  background-color: var(--primary-color);
  display: grid;
  border-bottom: .2em solid var(--color-h2);

  background: var(--primary-color);
  padding: 1rem 2rem;
  color: white;
  z-index: 100;
}

.hpart1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.hpart3 button {
  background-color: var(--third-color);
  color: #fff;
  padding: 1em;
  font-weight: 800;

}

.hamburger-button {
  display: none;
}

.logo-hamburger-button img {
  border-radius: .5em;
  height: 5.5em;
  margin-bottom: 1em;
}

.hidden {
  display: none;
}
/*clock widget */

.clock{
    
  width: 112px;
  height: 112px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.clock-face{
  position: relative;
  width: 5em;
  height: 5em;
  border-radius: 1em;
  background-color: var(--purple);
  border: 5px solid var(--goldenYellow);
  transform: translateX(-5px);
}
.hand{
  position: absolute;
  height: 50%;
  width: 4px;
  background-color: var(--pink);
  border-radius: 5px;
  left: 50%;
  transform-origin: center 100%;
  transform: translate(-50%) rotate(0deg);
}
.hand.second-hand{
  width: 2px;
  background-color: green;
}
.clock-center{
  position: absolute;
  height: 12px;
  width: 12px;
  border-radius: 100%;
  background-color: var(--yellow);
  left:50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}
/* visited link */

.active-page a {

  color: var(--color-h2) !important;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--sliderlist-hover) !important;

}

/*hover style*/
li a:hover {
  background-color: var(--sliderlist-hover) !important;
  color: var(--color-h2) !important;
  font-weight: 600;
}

/*skip link focus*/
.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #fff;
  padding: 8px;
  z-index: 1000;
}

/* Main Content wrapper class */
.wrapper {
  max-width: 90vw;
  width: 90vw;
  font-family: sans-serif;
  font-size: 1.2rem;
  margin: 0 auto;
  padding: 20px 20px;

}



/* make centre */

.section-heading {
  align-self: center;
  justify-self: center;
  margin-top: 1em;
  margin-bottom: 1em;
}

.content {
  width: 50%;
  background: rgba(10, 56, 75, 0.1);
  padding: 1em;
  margin: 1em;
  border-radius: 1em;
}

#about {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}

.product-category {


  padding: 2vw 2vw;
  text-align: center;

  margin: auto;
  width: 50%;
  text-transform: uppercase;


}

.product-container {
  width: max-content;
  display: flex;
  overflow: auto;
  scroll-behavior: smooth;
  margin: 1px;
  background: rgb(212, 231, 240);
  border-radius: 1em;
}

.product-container::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 auto;
  height: max-content;
  margin-left: .5em;
  margin-top: .5em;
  align-items: center;
  justify-content: center;
  width: 15em;
  border: solid .1em rgb(65, 12, 16);
  margin-right: 1.5em;
  border-radius: .2em;

}


.product-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.product-card:hover .card-btn {
  opacity: 1;
}

.card-btn:hover {
  background-color: aquamarine;
  color: #171d04;
}

.pre-btn .nxt-btn {
  border: none;
  height: 100%;
  width: 10vw;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, #fff 100%);
  cursor: pointer;
  z-index: 9;
}

.pre-btn img,
.nxt-btn img {
  width: 6em;
  height: 3em;

}

.pre-btn:hover img,
.nxt-btn:hover img {
  opacity: 1;
}

#slider:not(first-child) {
  width: 50%;
  margin: 1em;
  padding: 1em;
  border-radius: 1em;
  background-color: var(--lite-primary);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

#slider h2 {
  color: rgb(165, 42, 42);
  background-color: var(--button-primary-bg);
  position: absolute;
  margin-bottom: 22em;
  padding: .3em;
  border-radius: .5em;
}


.desktop-menu ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: wrap;
}

.desktop-menu ul {
  margin-bottom: 1em;
}

.desktop-menu a {
  color: var(--color-h2);
  background-color: var(--button-primary-bg);
  padding: .5em 1.5em;
  text-decoration: none;
  border-radius: .5em;
}

.mobileMenu ul {


  list-style-type: none;
  padding-top: .5em;
  padding-right: .5em;
  height: 100vh;
  width: 100%;
  background-color: rgba(143, 184, 223, 0.2);
  box-shadow: -10px 0 10px rgb(0, 0, 0, 0.1);
  backdrop-filter: blur(.5em);
  position: fixed;
  overflow: hidden;
  border-radius: .5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

ul.sidenav li:not(:last-child) {
  margin-bottom: .5em;
}

ul.sidenav li a {
  display: block;
  background: var(--button-primary-bg);
  border: 1px solid var(--button-color);
  color: var(--color-h2);
  padding: .5em 1em;
  text-align: center;
  text-decoration: none;
  border-radius: .5em;
}

nav a:hover {
  background: var(--secondary-color);
  color: var(--lite-secondary);
}

.close-btn {
  width: 5em;
  position: absolute;
  right: 2em;
  top: 1.5em;
  z-index: 1000;

}

button {
  color: #0f0f0e;
  background-color: var(--button-primary-bg);
  border: none;
  padding: .5em .5em;
  cursor: pointer;
  border-radius: 1em;
}

button:hover {
  background-color: var(--sliderlist-hover);
  color: var(--color-h2);
}

/* Testionial */
#testimonial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

#testimonial div {
  flex: 1 1 30%;
  padding: 1rem;
  background: rgba(148, 178, 191, 0.1);
  border-left: 5px solid var(--button-primary-bg);
  border-radius: 5px;

}

h2.tstheading {
 text-align: center;
  color: rgb(107, 14, 14);

}

/*about-us page styling*/
.about-us {
  display: flex;
  flex-direction: column;
  background-color: #dbe8ed;
  align-items: center;
  justify-content: center;
  padding: 2em;
  width: 80%;
  margin: 0 auto;
}

.about-us h1 {
  background-color: var(--button-primary-bg);
  color: var(--button-secondary-bg);
  position: relative;
  top: -1em;
  margin-bottom: .3em;
  padding: .5em;

}

.parntnerimage {
  display: flex;
  flex-direction: row;
  background-color: var(--primary-color);
  justify-content: space-between;
  overflow: hidden;
  margin: 1em;
  padding: 1em;
  border-radius: .5em;
}

.parntnerimage img {
  max-width: 100%;
  width: 250px;
}

/*missison page css*/
.mission {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1em;
}

.mission>div {
  background-color: var(--lite-main);
  width: 350px;
  height: 350px;
  padding: 1em 2em;

}

.missionsubHeading {
  text-align: center;
}

/*project page css*/
.projectHeading {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--button-primary-bg);
  margin: 0 auto;
  width: 500px;
  padding: .3em;
}

.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;


}

.projects h2 {
  background-color: var(--lite-primary);
  padding: .3em;
  border-radius: .2em;
}

section.projects {
  background-color: var(--lite-main);
  width: auto;
  padding: 1em 1em;
  margin: 1em 1em;
  border-radius: .2em;
}

/*recyling page css*/
.recycle {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;

}

.recycle img {
  width: 300px;
  height: 200px;
}


/*news page styling*/
.neswheading {
  text-align: center;
  padding: 1em 1em;

}

.workshop {
  background-color: #d5e8f1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1em;
}

.news {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1em;
}

.workshop img {
  width: 200px;
  height: auto;
  margin: 2em 2em;
  padding-right: 1em;

}

.news>div {
  background-color: #d5e8f1;
  margin: .3em;
  padding: 1em;
}

.news div>h3 {
  text-align: center;
}

/*footer Styling*/
footer {
  background-color: var(--primary-color);
  display: flex;
  width: -webkit-fill-available;
  justify-items: center;
  align-items: center;
  justify-content: space-between;
  color: var(--main-color);
  bottom: 0;
  

}

footer nav ul li {
  list-style: none;
  width: 120px;
}

footer nav ul {
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;

}

.address {
  background-color: var(--button-primary-bg);
  padding: 0 1em;
  margin: 0 1em;

}

.address a {
  color: var(--color-h2);
}

footer a {
  color: var(--font-color);
  text-decoration: none;
  padding: 15px 20px
}


/* Small Devices, Tablets */

@media only screen and (max-width: 992px) {
  .banner {
    width: 95%;
    left: 0;
  }

  .wrapper {
    max-width: 100%;
    width: 100%;
  }

  nav ul {
    flex-direction: column;

  }
#testimonial{
  display: flex;
}
  .hamburger-button {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .desktop-menu {
    display: none;
  }

}

/* Taablets*/
@media only screen and (max-width: 767px) {

  .content {
    width: auto;
  }
.clock{
    display: none;
  }
  .search-box {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
  }

  #slider:not(first-child) {
    width: auto;
  }

  #slider h2 {
    margin-bottom: 18em;

  }


  #testimonial {
    display: flex;

  }

  /* Hide Desktop Menu */

  .hamburger-button {
    display: flex;
  }

  #about {
    flex-direction: column;
  }

  /* Further Hide Desktop Menu */
  .banner {
    width: 90%;
    font-size: 10px;

  }

  .hpart3 {
    display: none;
  }



}

@media only screen and (max-width: 576px) {
  .wrapper {
    max-width: 100%;
    width: 100%;
  }

  .content {
    width: auto;
  }

  #slider:not(first-child) {
    width: auto;
  }

  .customer1 {
    grid-area: part1;
  }

  .tstheading {
    grid-area: part2;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .customer2 {
    grid-area: part3;
  }

  #testimonial {
    display: grid;
    grid-template: 'part2'
      'part1'
      'part3';
  }

  .address {
    grid-area: part1;
    margin-top: 1em;
  }

  .copyright {
    grid-area: part2;
    margin-bottom: 1em;
  }

  .ftnav {
    grid-area: part3;
  }

  /* mobile css about us page*/

  .about-us {
    width: 100%;
  }

  .parntnerimage {
    flex-direction: column;
    gap: .5em;
  }

  .parntnerimage img {
    width: auto;

  }

  /* mobile css mission page*/
  .mission {
    flex-direction: column;
    gap: .5em
  }

  /*newsroom page styling on mobilee device*/
  .workshop,
  .news {
    flex-direction: column;
  }

  footer {
    display: grid;
    grid-template: 'part1'
      'part3'
      'part2';
    grid-gap: 1em;
    justify-content: center;
  }

}

/*Media Query for Reduced Motion for accessibility*/
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}