/*

Tooplate 2117 Infinite Loop

https://www.tooplate.com/view/2117-infinite-loop

*/

@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");

body {
	font-family: "Raleway", sans-serif;
	font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {  transition: all 0.3s ease;
  color: #38B;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #D40;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 40px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #37A;
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary {
  color: white;
  background-color: #369;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #38B;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
}

.tm-navbar.scroll {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #38B;
}

.tm-navbar.scroll .navbar-brand {
  color: #369;
}

.nav-item {
  list-style: none;
}

.tm-nav-link {
  color: white;
}

.tm-navbar.scroll .tm-nav-link {
  color: #369;
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #FFF;
  background-color: #369;
}

.navbar-toggler {
  border: 1px solid white;
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #707070;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #707070;
}

/* Hero */

#infinite {
	background-color: #222;
  background-image: url(../img/wedofondo.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
  min-height: 375px;
  position: relative;
}

@media (min-height: 600px) and (min-width: 1920px) {
  #infinite {
    background-size: cover;
  }
}

@media (min-height: 830px) {
  #infinite {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #infinite {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #infinite {
    background-position: center -400px;
  }
}

@media (max-height: 499px) {
  #infinite {
    background-position: center -450px;
  }
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
  background-color: rgba(128, 128, 128, 0.3);
  border-radius: 15px;
  padding: 30px;
  margin: 20px;
}

.tm-hero-title {
  font-size: 5.5rem;
  text-shadow: 2px 2px 2px #333;
}

.tm-hero-subtitle {
  text-shadow: 2px 2px 2px #333;
}

.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  	color: #FFF;
    cursor: pointer;
    background: #357;
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: #37A;
  padding: 20px 50px;
}

/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.tm-section-title {
  font-size: 2.6rem;
  font-weight: normal;
}

.tm-intro-text {
  font-size: 1.2rem;
}

.tm-icon {
  display: block;
  color: #37A;
}

.tm-continue {
	padding: 20px 0 30px 0;
}

/* Testimonials */
#testimonials {
  color: white;
  background-image: url(../img/wedofondo.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

@media (max-width: 991px) {
  #testimonials {
    background-image: url(../img/wedofondo.jpeg);
    background-size: cover;
    background-position: center;
  }
}

.tm-testimonials-content {
  position: relative;
  z-index: 100;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: rgba(20, 70, 80, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-testimonials-carousel {
  max-width: 1050px;
  margin: 0 auto;
}

.tm-testimonial-item {
  max-width: 290px;
  margin-left: 35px;
  margin-right: 35px;
}

.tm-testimonial-item img {
  border-radius: 50%;
  margin-bottom: 35px;
}

.tm-testimonial-item figcaption {
  text-align: right;
  font-style: italic;
  font-size: 1.1rem;
}

/* Work */

.tm-section-desc {
  max-width: 650px;
  width: 100%;
  font-size: 0.9rem;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
}

.tm-gallery-item {
  margin: 0 15px;
}

.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #3ba0dd;
}

.tm-testimonials-carousel .slick-dots li button:before {
  color: white;
  opacity: 0.5;
}

.tm-testimonials-carousel .slick-dots li button:hover:before,
.tm-testimonials-carousel .slick-dots li button:focus:before,
.tm-testimonials-carousel .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

.slick-dots li button:before {
  font-size: 18px;
}

/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #3085a3;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #4a3753;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: #38C;
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
	padding-top: 30px;
	}

/* Contact */

#contact {
  color: white;
  background-color: #001828;
  background-image: url(../img/wedofondo.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}

.contact-item {
  margin-left: 20px;
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: #3496d8;
}

.tm-input {
	margin: 0 0 20px 0;
	width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.tm-btn-submit {
	font-size: 0.9em;
	color: #fff;
	background-color: #369;
	width: 50%;
	margin-bottom: 60px;
}

.tm-btn-submit:hover {
	color: #fff;
	background-color: #38B;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
}

.tm-footer a {
	color: #fff;
}

.tm-footer a:hover {
	color: #9CF;
}

.tm-footer-link {
  color: white;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #38B;
  text-decoration: none;
}

p {
  line-height: 1.9;
}

@media (min-width: 768px) {
  .tm-intro-text-container {
    padding-left: 0px;
  }

  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 30px;
    padding-left: 30px;
  }
}

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

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 767px) {

  .navbar-nav {
    max-width: 200px;
    text-align: right;
  }

  .navbar-collapse {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    border-radius: 3px;
  }

  .navbar-collapse .nav-link {
    color: #707070;
	padding-right: 20px;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}

/* Product Cards Styles */
.tm-products-carousel {
  margin: 0 -15px;
}

.tm-product-card {
  padding: 0 15px;
}

.tm-product-card .card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  min-height: 200px;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.tm-product-card .card::before {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  top: -50px;
  right: -50px;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.tm-product-card .card::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -30px;
  left: -30px;
  animation: float 8s ease-in-out infinite reverse;
  pointer-events: none;
}

.tm-product-card .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.tm-product-card .card:hover::before {
  animation-duration: 4s;
}

.tm-product-card .card:hover::after {
  animation-duration: 5s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(20px, -20px) rotate(180deg);
    opacity: 0.4;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.tm-product-card .card-body {
  padding: 2rem 1.5rem;
  height: 100%;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.tm-product-card .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.tm-product-card .card:hover .card-title {
  transform: scale(1.05);
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Decorative Pattern */
.card-decorative-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0.1;
  z-index: 1;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.8) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.8) 2px, transparent 2px),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.6) 3px, transparent 3px);
  background-size: 50px 50px, 60px 60px, 40px 40px;
  background-position: 0 0, 20px 20px, 10px 10px;
  pointer-events: none;
  animation: patternMove 10s ease-in-out infinite;
}

@keyframes patternMove {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.15;
  }
}

/* Color Classes for Cards */
.tm-card-color-1 {
  background: #31AC77;
}

.tm-card-color-2 {
  background: #417086;
}

.tm-card-color-2 .card-title {
  /* color: #333; */
  text-shadow: none;
}

.tm-card-color-3 {
  background: #e5683a;
}

.tm-card-color-3 .card-title {
  /* color: #333; */
  text-shadow: none;
}

.tm-card-color-4 {
  background: #d3ab33;
}

.tm-card-color-5 {
  background: #284286;
}

/* Slick Carousel Customization for Products */
.tm-products-carousel .slick-prev,
.tm-products-carousel .slick-next {
  background: #38B;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  z-index: 10;
}

.tm-products-carousel .slick-prev:hover,
.tm-products-carousel .slick-next:hover {
  background: #D40;
}

.tm-products-carousel .slick-prev {
  left: -25px;
}

.tm-products-carousel .slick-next {
  right: -25px;
}

.tm-products-carousel .slick-prev:before,
.tm-products-carousel .slick-next:before {
  display: none;
}

.tm-products-carousel .slick-dots {
  bottom: -50px;
}

.tm-products-carousel .slick-dots li button:before {
  font-size: 12px;
  color: #38B;
}

.tm-products-carousel .slick-dots li.slick-active button:before {
  color: #D40;
}

/* Responsive adjustments for product cards */
@media (max-width: 768px) {
  .tm-product-card .card-body {
    padding: 1.5rem 1rem;
  }
  
  .tm-product-card .card-title {
    font-size: 1.1rem;
  }
  
  .tm-product-card .card-text {
    font-size: 0.9rem;
  }
  
  .tm-products-carousel .slick-prev,
  .tm-products-carousel .slick-next {
    width: 40px;
    height: 40px;
  }
  
  .tm-products-carousel .slick-prev {
    left: -20px;
  }
  
  .tm-products-carousel .slick-next {
    right: -20px;
  }
}

/* Gallery Images Section */
.tm-gallery-images {
  margin: 0;
}

.tm-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
  background: #fff;
  height: auto;
  min-height: 350px;
  display: flex;
  align-items: stretch;
}

.tm-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.tm-gallery-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: all 0.4s ease;
}

.tm-image-wrapper:hover .tm-gallery-img {
  transform: scale(1.02);
}

/* Responsive adjustments for gallery */
@media (max-width: 991px) {
  .tm-image-wrapper {
    min-height: 300px;
  }
  
  .tm-gallery-img {
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .tm-image-wrapper {
    min-height: auto;
    height: auto;
  }
  
  .tm-gallery-images .col-12 {
    margin-bottom: 2rem;
  }
  
  .tm-gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .tm-image-wrapper {
    min-height: auto;
    height: auto;
  }
  
  .tm-gallery-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: none;
  }
}

/* Services Section Centering and Justification */
#whatwedo .row.justify-content-center {
  justify-content: center;
  align-items: stretch;
}

#whatwedo .row.tm-content-box {
  align-items: stretch;
}

#whatwedo .col-lg-5 {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

#whatwedo .col-lg-5 > * {
  width: 100%;
}

#whatwedo .tm-intro-text-container {
  text-align: justify;
  text-align-last: left;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#whatwedo .tm-intro-text-container h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

#whatwedo .tm-intro-text-container ul {
  text-align: justify;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  list-style-position: inside;
  min-height: 320px;
  flex: 1;
}

#whatwedo .tm-intro-text-container li {
  margin-bottom: 0.8rem;
  padding: 0.5rem 0;
  line-height: 1.6;
}

#whatwedo .tm-intro-text-container li:last-child {
  margin-bottom: 0;
}

/* General content centering */
.tm-intro-text-container {
  text-align: justify;
  text-align-last: left;
}

.tm-intro-text-justified {
  text-align: justify;
  text-align-last: left;
  max-width: 100%;
}

.tm-intro-text-justified ul {
  text-align: justify;
  padding-left: 1.5rem;
}

.tm-intro-text-justified li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.tm-section-title {
  text-align: center !important;
}

/* Responsive adjustments for services */
@media (max-width: 991px) {
  #whatwedo .col-lg-5 {
    margin-bottom: 3rem;
  }
  
  #whatwedo .tm-intro-text-container {
    text-align: center;
    text-align-last: center;
  }
  
  #whatwedo .tm-intro-text-container ul {
    text-align: left;
    padding-left: 1rem;
  }
}

@media (max-width: 768px) {
  #whatwedo .col-lg-5 {
    margin-bottom: 2rem;
  }
  
  #whatwedo .tm-intro-text-container {
    text-align: center;
    text-align-last: center;
  }
  
  #whatwedo .tm-intro-text-container ul {
    text-align: left;
    padding-left: 1rem;
  }
  
  .tm-intro-text-container {
    text-align: center;
    text-align-last: center;
  }
}

/* Hero Logo Styles */
.tm-hero-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: all 0.3s ease;
}

.tm-hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}

/* Responsive adjustments for hero logo */
@media (max-width: 768px) {
  .tm-hero-logo {
    max-width: 250px;
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .tm-hero-logo {
    max-width: 200px;
    margin-bottom: 10px;
  }
}

/* Contact Form Styles */
#contactForm {
  position: relative;
}

#submitBtn {
  position: relative;
  transition: all 0.3s ease;
}

#submitBtn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

.alert-success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.alert i {
  margin-right: 8px;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Input Animations */
.tm-input {
  transition: all 0.3s ease;
}

.tm-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 172, 119, 0.2);
}

/* Loading overlay for form */
.form-loading {
  position: relative;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
