/*  General Styling
/*-----------------------------------------------------------------------------------*/
:root {
  /* Theme colours */
  --ts-gold: #f2b408;     /* RGB: 242,180,8 */
  --ts-green: #399d80;    /* RGB: 57,157,128 */

  --bg-gold: rgba(242,180,8,0.2);     /* RGB: 242,180,8 */
  --bg-green: rgba(57,157,128,0.4);    /* RGB: 57,157,128 */  
  --bg-grey: #fdf5e6;
  --bg-darkgrey: #c7b77f;

  /* Optional base font colour */
  --base-text-color: #555;
  --base-bg-color: #fff;
}


body {
  background: #ffffff;
  color: var(--base-text-color);
  font-family: 'Poppins', helvetica;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  margin: 0 auto;
  padding: 0;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
 color: var(--ts-green);
}
h2 {

}
h4 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1rem
}
a {
  color: var(--ts-green);
  text-decoration: none !important;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
a:hover {
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
a:hover, a:focus {
  color: rgba(0,0,0,0.74);
  text-decoration: underline;
}
nav ul li a {
  padding: 2px 0 0 0;
  position: relative;
  display: block;
  font-size: 12px;
  color: var(--ts-green);
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 14px;
  text-transform: uppercase;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
p {
  margin: 25px 0;
  padding: 0;
  font-size: 15px;
  line-height: 28px;
}
::-moz-selection {
  background: #b8a07e;
  color: #fff;
}
::selection {
  background: #b8a07e;
  color: #fff;
}
.btn {
  background: #333;
  border: medium none;
  border-radius: 0;
  color: #fff;
  font-size: 12px;
  height: 50px;
  line-height: 50px;
  padding: 0 30px;
  text-transform: uppercase;
}
.btn:hover, .btn:focus {
  color: #fff;
}
.padDiv {
  padding: 30px 20px;
}
.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  font-size: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.form-control {
  background-color: transparent;
  border: 1px solid #999;
  border-radius: 0;
  color: #999999;
  font-size: 12px;
  font-weight: 500;
  height: 50px;
  letter-spacing: 0.1em;
  padding-left: 10px;
  margin: 0 0 25px 0;
  line-height: 14px;
  text-transform: uppercase;
}
.form-control:focus {
  box-shadow: none;
  outline: 0 none;
}
.paddsection {
  padding-top: 90px;
  padding-bottom: 90px;
}
.paddsections {
  padding-top: 90px;
  padding-bottom: 90px !important;
}
.hvr-shutter-in-horizontal::before {
  background: #333;
}
.hvr-shutter-in-horizontal:hover {
  background: #b8a07e;
}
.mb-30 {
  margin-bottom: 30px;
}
/*-----------------------------------------------------------------------------------*/
/*  Navbar Top
/*-----------------------------------------------------------------------------------*/
nav {
  position: fixed;
  background: #fff;
  z-index: 1000;
  width: 100%;
  padding: 20px;
  display: none;
  -webkit-box-shadow: 0px 2px 92px 0px rgba(0, 0, 0, 0.18);
  -moz-box-shadow: 0px 2px 92px 0px rgba(0, 0, 0, 0.18);
  box-shadow: 0px 2px 92px 0px rgba(0, 0, 0, 0.18);
}
.nav-menu {
  float: right;
  line-height: 32px;
  margin-bottom: 0;
  padding-top: 16px;
}
nav ul li {
  float: left;
  margin-right: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  margin-left: 40px;
}
nav ul li a {
  padding: 2px 0 0 0;
  position: relative;
  display: block;
  font-size: 14px;
  color: #999999;
  font-family: 'Poppins', helvetica;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.logo {
  float: left;
}
.logo img {
  width: 100%;
}
.responsive {
  display: none;
  font-size: 23px;
}
.active {

}
/*----------------------------------------------------------------------------------*/
/*  Hero Section
/*-----------------------------------------------------------------------------------*/
#hero {
  background: #f66;
  position: relative;
  height: 100vh;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Gradient animation layers */
#hero:after {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #399D80;
  background: linear-gradient(60deg, #EFC865 25%, #399D80 75%);
  animation: gradient1 10s ease infinite;
  transition: all 1s ease-in-out;
}
#hero:before {
  content: "";
  position: absolute;
  z-index: -1;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(60deg, #399D80 25%, #EFC865 75%);
  animation: gradient2 10s ease infinite;
  transition: all 1s ease-in-out;
}

/* Gradient fade keyframes */
@keyframes gradient1 {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes gradient2 {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

/*---------------------------------------------------------------*/
/* Bubble Backgrounds — actual moving <img> elements */
/*---------------------------------------------------------------*/

#hero .bgGrafix {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Common bubble style */
#hero .bgGrafix img {
  position: absolute;
  opacity: 0.8;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Individual bubble positions and speeds */
/* Bubble sizes */
#hero .bubble1 {
  top: -400px;       /* closer to viewport */
  left: 0%;
  width: 1800px;
  animation: bubbleFloat 90s linear infinite;
}

/* Bubble 2 — giant */
#hero .bubble2 {
  top: -500px;
  left: 40%;
  width: 2000px;
  animation: bubbleFloat 120s linear infinite;
}

/* Bubble 3 — giant */
#hero .bubble3 {
  top: -300px;
  left: 60%;
  width: 1600px;
  animation: bubbleFloat 100s linear infinite;
}

/* Float animation — bubbles move down then restart at top */
@keyframes bubbleFloat {
  0% {
    transform: translateY(0);
    opacity: 0.3;   /* start visible already */
  }
  5% {
    opacity: 1;     /* fade in quickly */
  }
  95% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0.3;   /* fade out slowly at bottom */
  }
}

/* Optional soft overlay */
#hero .bgGrafix::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

/*---------------------------------------------------------------*/
/* Hero Content */
/*---------------------------------------------------------------*/

#hero .hero-content {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content .logo {
  max-width: 950px;
  width: 90%;
  height: auto;
}

.arrow-container {
  position: absolute;
  bottom: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.arrow-container .down-arrow {
  font-size: 2rem;
  color: var(--ts-green);
  animation: bounce 2s infinite;
  text-decoration: none;
}

/* Bouncing arrow animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}


/*-----------------------------------------------------------------------------------*/
/*  About-us
/*-----------------------------------------------------------------------------------*/
#about {
  width: 100%;
  height: auto;
  background: var(--bg-grey);
  padding-top: 190px;
}
#about .div-img-bg {
    padding-bottom: 30px;
    border: 20px solid var(--ts-gold);
    border-radius: 200px;
}
#about .div-img-bg .about-img img {
  width: 100%;
  box-shadow: 0px 0px 85px 0px rgba(0, 0, 0, 0.34);
  margin-top: -60px;
  margin-left: 40px;
  height: 400px;
  object-fit: cover;
    border-radius: 200px;
}
#about .about-descr .p-heading {
  font-size: 28px;
  text-align: left;
    line-height: 44px;
}
#about .about-descr .separator {
  max-width: 80%;
  margin-bottom: 0;
  text-align: left;
}
/*-----------------------------------------------------------------------------------*/
/*   Services
/*-----------------------------------------------------------------------------------*/
#services {
  background: var(--bg-green);
  position: relative;
  padding: 40px 0;
}
.services-carousel .owl-stage {
  display: flex;
  align-items: stretch; /* makes all .owl-item the same height */
}

.services-carousel .owl-item {
  display: flex;        /* ensures .services-block fills the item */
}

.services-carousel .services-block {
  flex: 1;
  position: relative;
  padding-right: 30px;
}

/* Right vertical gradient line */
.services-carousel .services-block::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--ts-green) 15%, 
    var(--ts-green) 85%,
    transparent 100%
  );
}

/* Hide line on last item to avoid double line at the end */
.services-carousel .owl-item:last-child .services-block::after {
  display: none;
}






.services-block h4 {
  text-transform: uppercase;
}

.services-block .text {
  margin: 0;
  font-size: 13px;
  line-height: 22px;
  border-color: red
}
.services-block i {
  font-size: 44px;
  color: var(--ts-green);
  line-height: 44px;
}
.services-carousel .owl-stage-outer {
  overflow: hidden;
}
.services-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}
.services-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  border: 0;
  padding: 0 !important;
  background-color: #ddd;
  cursor: pointer;
}
.services-carousel .owl-dot.active {
  background-color:var(--ts-gold);
}
.owl-nav {
  display: none;
}
/*-----------------------------------------------------------------------------------*/
/*  Portfolio
/*-----------------------------------------------------------------------------------*/
#portfolio {
  position: relative;
  padding-bottom: 50px;
}
#portfolio .portfolio-list {
  margin-bottom: 50px;
}
#portfolio .portfolio-list .nav {
  display: inline-block;
  margin: 0;
}
#portfolio .portfolio-list .nav li {
  margin: 0 40px 0 0;
  float: left;
  font-size: 14px;
  color: #999999;
  line-height: 16px;
  cursor: pointer;
  font-family: 'Poppins', helvetica;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
#portfolio .portfolio-list .nav li:hover, #portfolio .portfolio-list .nav li.filter-active {
  color: #b8a07e;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
#portfolio .portfolio-container {
  display: inline-block;
  margin-bottom: 50px;
  width: 100%;
}
.portfolio-thumbnail {
  margin-bottom: 30px;
  overflow: hidden;
  min-height: 260px;
}
.portfolio-thumbnail img {
  max-width: 100%;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
}

.scroll-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* optional spacing */
}

.scroll-card {
  height: 600px; /* adjust to your screenshot viewport height */
  overflow: hidden;
  position: relative;
}

.scroll-inner {
  display: flex;
  flex-direction: column;
  animation: scrollDown 30s linear infinite;
  will-change: transform;
}

.scroll-card:nth-child(2) .scroll-inner {
  animation: scrollUp 30s linear infinite;
}

/* Hover pauses scrolling */
.scroll-inner:hover {
  animation-play-state: paused;
}

@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes scrollUp {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}


.scroll-inner img {
  width: 100%;
  display: block;
}


.scroll-card img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  user-select: none;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ts-green);
}




/*-----------------------------------------------------------------------------------*/
/*  Case Study
/*-----------------------------------------------------------------------------------*/
#caseStudies,
#journal-blog {
  height: auto;
  width: 100%;
  background: var(--bg-gold);
  padding-bottom: 60px;
  position: relative;
}


#caseStudies .row {
  display: flex;
  flex-wrap: wrap;
}

#caseStudies .col-lg-4,
#caseStudies .col-md-6 {
  display: flex;
}

#caseStudies .caseStudy {
  background: var(--bg-darkgrey);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 100%;
  height: 100%;
}

#caseStudies .caseStudy-img {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  margin-bottom: 1rem;
}

#caseStudies .caseStudy-img img {
  max-height: 100%;
  width: auto;
  display: block;
}

#caseStudies .caseStudy-txt {
  color: white;
  flex-grow: 1; /* fills any leftover vertical space */
  display: flex;
  align-items: flex-end; /* keeps text aligned neatly at bottom */
}





#journal-blog {
  background: #fff;
  padding-bottom: 30px;
}
#journal .journal-block {
  display: inline-block;
  height: auto;
  width: 100%;
}
#journal .journal-block .case_study-info {
  position: relative;
}
.journal-block .case_study-info img {
  max-width: 100%;
}
.journal-block .case_study-info .journal-txt {
  padding: 25px 0px;
  position: relative;
}
.journal-block .case_study-info .journal-txt h4 a {
  display: block;
  font-size: 19px;
  line-height: 24px;
  margin: 0 0 13px 0;
  font-weight: 500;
  color: #292929;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
.journal-block .case_study-info .journal-txt h4 a:hover {
  color: #b8a07e;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
.journal-block .case_study-info .journal-txt p {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
}
/*-----------------------------------------------------------------------------------*/
/*  Contact
/*-----------------------------------------------------------------------------------*/
#contact {
  height: auto;
  width: 100%;
}
.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-details li {
  padding-bottom: 10px;
}
#contact input, #contact textarea {
  width: 100%;
}
#contact #sendmessage {
  color: #18d26e;
  border: 1px solid #18d26e;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px;
}
#contact #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin: 15px;
}
#contact #sendmessage.show, #contact #errormessage.show, #contact .show {
  display: block;
}
#contact .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}
/*-----------------------------------------------------------------------------------*/
/*  Footer
/*-----------------------------------------------------------------------------------*/
#footer {
  background: #f7f7f7;
  padding-top: 50px;
  padding-bottom: 50px;
}
#footer .socials-media {
  width: 100%;
}
#footer .socials-media ul {
  display: inline-block;
  float: none;
  margin: 0 0 20px 0;
}
#footer .socials-media ul li {
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}
#footer .socials-media ul li a {
  font-size: 24px;
  color: #999;
  letter-spacing: 0.1em;
  font-weight: 500;
  background: transparent;
  text-transform: uppercase;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
#footer .socials-media ul li a:hover {
  color: #b8a07e;
  -moz-transition: all 0.5s ease-in-out 0s;
  -ms-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  -webkit-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}
#footer p {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  margin-top: 0;
  text-transform: uppercase;
}
.credits {
  font-size: 13px;
}