/*

Template 2097 Pop

https://www.tooplate.com/view/2097-pop

*/

body {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 19px;
  font-weight: 300;
  color: #004272; /* Brightened blue from logo */
  background-color: #f0f8ff; /* Light sky blue background */
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
}


h1 {
  font-size: 2.8rem;
  color: #b3291e; /* Bright orange for contrast */
  transition: color 0.3s ease;
}

h1:hover {
  color: #ff6347; /* Tomato shade on hover */
}




#tm-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/pop-bg.jpg); /* Ensure this path is correct */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  transition: all 0.3s ease;
}



#tm-bg:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}





#tm-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 100vh;
}



p {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
  color: #113e5f; /* Bright blue text */
  transition: color 0.3s ease;
}

p:hover {
  color: #0099ff; /* Lighter blue on hover */
}

.tm-main-content {
  display: flex;
  align-items: center;
  padding: 50px 15px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: auto;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent bright background */
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.tm-site-header-col {
  display: flex;
  align-items: center;
}

.tm-site-header {
  margin: 10px;
  text-align: right;
  width: 100%;
  transition: transform 0.3s ease;
}

.tm-site-header:hover {
  transform: scale(1.05);
}

.tm-nav ul {
  padding-left: 0;
  display: block;
}

.tm-nav li {
  list-style: none;
  display: inline-block;
  border: 2px solid #b3291e; /* Bright orange border */
  float: left;
  margin: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.tm-nav li:hover {
  transform: scale(1.1);
  background-color: #113e5f; /* Light pink on hover */
}

.tm-nav-link {
  color: #113e5f; /* Bright blue */
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  border: 2px solid #b3291e; /* Bright orange border */
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tm-nav-link:hover {
  background-color: #113e5f; /* Blanched almond for brightness */
  color: #b3291e; /* Bright orange on hover */
}

.tm-nav-text {
  position: absolute;
  font-weight: 600;
  left: 0;
  right: 0;
  bottom: 10px;
  transition: transform 0.3s ease;
}

.tm-nav-text:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.fa-3x {
  font-size: 2.5em;
  color: #b3291e; /* Bright orange icons */
  transition: color 0.3s ease;
}

.fa-3x:hover {
  color: #ff6347; /* Tomato shade on hover */
}

.product {
  background: transparent;
  transition: all 0.3s ease;
}

.product:hover {
  background: #fff5e6; /* Light orange background */
  color: #113e5f; /* Bright blue text */
  transform: scale(1.05);
}

.tm-nav-icon {
  display: block;
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.tm-nav-icon:hover {
  transform: rotate(15deg);
}

/* Expanding Grid Items from Codrops */
.tm-page-title {
  font-weight: 300;
  color: #b3291e; /* Bright orange */
}
.content {
  max-width: 370px;
}
.grid {
  display: flex;
  flex-wrap: wrap;
}
.grid__item {
  margin: 10px;
}
.product {
  position: relative;
  cursor: pointer;
}

.product__bg {
  width: 100%;
  height: 100%;
  top: 0px;
}

.product__bg,
.product__description {
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
}

.product__description {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}

.tm-fa-close {
  font-size: 30px;
  color: #b3291e; /* Bright orange */
  transition: color 0.3s ease;
}

.tm-fa-close:hover {
  color: #ff6347; /* Tomato shade */
}

.details {
  font-size: 1rem;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  padding: 15px;
  display: none;
  background: #003399; /* Light orange with opacity */
  border-radius: 10px;
}

.details > * {
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.details--open {
  pointer-events: auto;
}

.details__bg {
  width: 100%;
  max-width: 900px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.details__bg--down {
  background: #ffebcd; /* Blanched almond */
}

.details__bg {
  padding: 50px;
  transform-origin: 0 0;
  transition: transform 0.3s ease;
}

.details__bg:hover {
  transform: scale(1.02);
}

.details__close {
  position: absolute;
  top: 5px;
  right: 0;
  border: 0;
  background: none;
  margin: 1em;
  cursor: pointer;
  font-size: 0.85em;
  color: #b3291e; /* Bright orange */
  z-index: 1001;
  transition: color 0.3s ease;
}

.details__close:hover {
  color: #ff6347; /* Tomato shade */
}

/* Team */
.tm-reverse-sm {
  flex-direction: row;
}

/* Our Work */
.tm-slider-img-link {
  padding-left: 10px;
  padding-right: 10px;
}

.slick-dots li button:before {
  font-size: 20px;
  color: #b3291e; /* Bright orange */
  opacity: 1;
  transition: color 0.3s ease;
}

.slick-dots li button:hover:before {
  color: #ff6347; /* Tomato shade */
}

.slick-dots {
  position: absolute;
  bottom: -40px;
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
  text-align: center;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75;
  color: #b3291e; /* Bright orange */
}

/* Contact */
.form-control {
  font-size: 1.1rem;
  border-radius: 5px;
  border: 2px solid #b3291e; /* Bright orange border */
  background-color: #fff5e6; /* Light orange */
  color: #113e5f; /* Bright blue */
  padding: 0.75rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.form-control:focus {
  color: #0099ff; /* Lighter blue */
  background-color: #ffe6e6; /* Light pink */
  border-color: #ff6347; /* Tomato shade */
}

.tm-col-email {
  padding-left: 0;
}

.tm-btn-submit {
  background-color: #b3291e; /* Bright orange */
  color: #fff;
  transition: background-color 0.3s ease;
}

.tm-btn-submit:hover {
  background-color: #ff6347; /* Tomato shade */
}

.tm-btn-gray {
  background-color: #e0e0e0; /* Light gray */
  color: #113e5f; /* Bright blue */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tm-btn-gray:hover {
  background-color: #c0c0e0; /* Light purple-gray */
  color: #0099ff; /* Lighter blue */
}

.btn {
  padding: 0.5rem 2.4rem;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  border-color: #b3291e; /* Bright orange */
}

.btn-primary:hover {
  background-color: #113e5f; /* Tomato shade */
  border-color: #113e5f;
}

/* Footer */
footer {
  position: fixed;
  bottom: 0rem;
  text-align: center;
  left: 0;
  right: 0;
  background: #103d5e; 
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}


footer:hover {
  background-color: #ffe6e6; /* Light pink on hover */
}

.tm-text-highlight {
  color: #b3291e; /* Bright orange */
  transition: color 0.3s ease;
}
.tm-text-highlight:hover {
  color: #113e5f; /* Tomato shade */
}
.tm-main-content.tm-footer-relative {
  flex-direction: column;
}
.tm-main-content.tm-footer-relative footer {
  position: relative;
  bottom: 0;
  margin-top: 50px;
}

.tm-copyright-text {
  background-color: rgba(255, 245, 230, 0.8); /* Light orange with opacity */
  display: inline-block;
  padding: 10px 30px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.tm-copyright-text:hover {
  background-color: #ffe6e6; /* Light pink on hover */
}

a,
button {
  transition: all 0.3s ease;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: none;
}

p:last-child {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .container {
    max-width: 900px;
  }
}

@media (min-width: 767px) and (max-width: 991px), (max-width: 440px) {
  .tm-nav-link {
    width: 145px;
    height: 145px;
  }
}

@media (max-width: 767px) {
  .container {
    max-width: 450px;
  }
  .content {
    margin-left: auto;
    margin-right: 0;
  }
  .tm-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .grid {
    justify-content: flex-end;
  }
  .tm-col-email {
    padding-left: 15px;
  }
  .tm-reverse-sm {
    flex-direction: column-reverse;
  }
}

@media (max-width: 544px) {
  .tm-main-content {
    flex-direction: column;
  }
  .details__bg {
    padding: 55px 40px;
  }
  .slick-dots li button:before {
    font-size: 15px;
  }

  footer {
    position: relative;
    bottom: 0;
  }
}

@media (max-width: 419px) {
  .tm-nav-link {
    width: 120px;
    height: 120px;
  }

  .fa-3x {
    font-size: 2.2em;
  }
}

#awbForm button {
  position: relative;
  z-index: 9999; /* bring button to top */
}

#awbForm input {
  position: relative;
  z-index: 9999; /* bring input to top too */
}


.product__bg,
.product__description {
  pointer-events: none; /* allow clicks to pass through */
}
