/*

Elegance Template

https://templatemo.com/tm-528-elegance

==================================================
CSS SITEMAP >>>>

  01. GENERAL CSS
  02. HEADER CSS
  03. SOCIAL ICONS CSS
  04. WELCOME BLOCK CSS
  05. ABOUT BLOCK CSS
  06. SERVICES BLOCK CSS
  07. WORK BLOCK CSS
  08. CONTACT BLOCK CSS
  09. TESTIMONOALS BLOCK CSS
  10. SKILLS BLOCK CSS


==================================================*/

/*==============================================
01. GENERAL CSS
================================================*/

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

@font-face {
  font-family: 'Lato';
  src: url('../fonts/Lato-Regular.woff2') format('woff2'),
    url('../fonts/Lato-Regular.woff') format('woff'),
    url('../fonts/Lato-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font: 16px/1.6 'Lato', Arial, Helvetica, sans-serif;
  color: #fff;
  text-align: center;
  background: #222;
}

img {
  border: 0;
  max-width: 100%;
}

html {
  -ms-overflow-style: scrollbar;
}

.alltrans,
.social-icons li a,
.owl-nav>button,
.owl-nav>button:after,
.counter-box,
.about-img:after,
.gallery-img img,
.form-control,
.owl-dot,
.subscribe-row,
.close-btn,
.close-btn:before,
.close-btn:after,
.tag-btn,
.btn {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #fff;
  outline: none;
  text-decoration: underline;
}

@media screen and (-ms-high-contrast:active),
(-ms-high-contrast:none) {
  a:active {
    background-color: transparent;
  }
}

p {
  margin: 0 0 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2 {
  font-size: 32px;
}

h3 {
  font-size: 30px;
  font-weight: 600;
}

h4 {
  font-size: 22px;
  font-weight: 600;
}

h5 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

h6 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

#main {
  padding: 0;
  background: #fff;
}

.no-margin {
  margin: 0 !important;
}

figure {
  margin: 0;
}

.opacity-no {
  opacity: 1 !important;
}

video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

#video:after {
  content: '';
  opacity: 0.75;
  background: #4096ee;
  /* Old browsers */
  background: -moz-linear-gradient(top, #4096ee 0%, #39ced6 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #4096ee 0%, #39ced6 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #4096ee 0%, #39ced6 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4096ee', endColorstr='#39ced6', GradientType=0);
  /* IE6-9 */
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.wrapper-background-dark:after {
  background: #222;
  opacity: 0.95;
}

.section-inner {
  padding: 20px 30px 0;
}

.fp-scrollable {
  height: calc(100vh - 200px) !important;
}

#fp-nav ul li a span {
  display: none;
}

.btn {
  background: #fff;
  color: #222;
  text-align: center;
  line-height: 52px;
  padding: 0 35px;
  border-radius: 0px;
  text-transform: uppercase;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 10px;
}

.btn:hover,
.btn:focus {
  color: #fff;
  border-color: #fff;
  background: none;
}

.btn:focus {
  box-shadow: none;
  outline: none;
}

.btn.btn-xs {
  line-height: 34px;
  font-size: 12px;
  padding: 0 20px;
  font-weight: 500;
}

.btn.btn-outline {
  background: none;
  border-color: #fff;
  color: #fff;
  border-width: 1px;
}

.btn.btn-outline:hover,
.btn.btn-outline:focus {
  background: #fff;
  color: #222;
}

.btn.btn-dark {
  color: #222;
  border-color: #222;
}

.btn.btn-dark:hover,
.btn.btn-dark:focus {
  background: #222;
  color: #fff;
}

.owl-carousel .owl-stage {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.owl-carousel .owl-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex: 1 0 auto;
}

.preloader {
  background: -moz-linear-gradient(top, #4096ee 0%, #39ced6 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #4096ee 0%, #39ced6 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #4096ee 0%, #39ced6 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4096ee', endColorstr='#39ced6', GradientType=0);
  /* IE6-9 */
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9999;
  text-align: center;
}

.preloader-bounce {
  left: 0;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  position: absolute;
}

.preloader-bounce>span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0.3em;
  display: inline-block;
  vertical-align: middle;
  -webkit-animation: bounce 0.6s infinite alternate;
  animation: bounce 0.6s infinite alternate;
  background: #fff;
}

.preloader-bounce>span:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
  background: #fff;
}

.preloader-bounce>span:nth-child(3) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background: #fff;
}

/*WIPWIP*/
form {
  max-width: 600px;
  margin: auto;
}
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.form-group label {
  flex: 1; /* Adjusts label width */
  min-width: 150px; /* Ensures labels align */
  font-weight: bold;
}
.form-group input,
.form-group textarea {
  flex: 2;
  padding: 8px;
  width: 100%;
}
textarea {
  height: 80px;
  resize: vertical;
}

/*button {
  margin-top: 15px;
  padding: 10px;
  background-color: blue;
  color: white;
  border: none;
  cursor: pointer;
}
*/


@-webkit-keyframes bounce {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    -webkit-transform: translateY(-1.2em);
    transform: translateY(-1.2em);
  }
}

@keyframes bounce {
  from {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  to {
    -webkit-transform: translateY(-1.2em);
    transform: translateY(-1.2em);
  }
}

#fullpage {
  z-index: 99;
}


/*==============================================
02. HEADER CSS
================================================*/
#header {
  padding: 20px 0;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
}

.container-fluid {
  padding: 0 20px;
  /*padding-top: 10px; /Add top padding to prevent overlap (adjust height as needed) */
}

a#logo {
  text-decoration: none;
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
}

.navbar {
  padding: 5px 0; /* Set vertical padding */
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center align items vertically */
}

/*
.navbar img {
  max-width: 10%; /* Scale within container /
  height: auto; /* Maintain aspect ratio /
  display: inline-block; /* Change to inline-block /
  margin-right: 15px; /* Add margin to the right of the image /
  vertical-align: middle; /* Align vertically in the middle /
}*/

/*
.navbar-toggle {
  display: none;
}*/
/* Ensure the navbar collapse is hidden by default */
.navbar-collapse {
  display: block !important; /* Start hidden */
  position: absolute;
  top: 100%; /* Ensure it drops down below the navbar */
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Dark semi-transparent background */
  text-align: center; /* Center align text */
  padding: 10px 0;
}

/* Show menu when toggled */
.navbar-collapse.show {
  display: block !important;
}

/* Ensure mobile toggle button is visible */
.navbar-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  margin-left: auto; /* Push to the right */
}

/* Hide menu in desktop view */
@media (min-width: 769px) {
  .navbar-collapse {
      display: flex !important; /* Ensure visibility in desktop */
      position: static;
      background: none;
      flex-direction: row;
      justify-content: flex-end;
  }

  .navbar-toggle {
      display: none; /* Hide toggle button */
  }
}


.navbar-nav {
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.navbar-nav li {
  margin-left: 30px;
}

.navbar-nav li a {
  color: #fff;
  font-size: 6px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  opacity: 0.6;
}

.navbar-nav li a:after {
  content: '';
  display: block;
  height: 2px;
  background: #fff;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transform: scale(0);
  transform: scale(0);
  margin-top: 4px;
}

.navbar-nav li a:hover:after,
.navbar-nav li.active a:after {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.navbar-nav li a:hover {
  opacity: 1;
}

.navbar-nav li.active a {
  opacity: 1;
}
/*
.collapse:not(.show) {
  display: block;
}
*/
/*==============================================
03. SOCIAL ICONS CSS
================================================*/
#social-icons {
  padding: 0;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  z-index: 199;
}

.social-icons {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-icons li {
  display: block;
  margin: 1px 0px;
}

.social-icons li a {
  width: 50px;
  height: 50px;
  display: inline-block;
  line-height: 50px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
}

.social-icons li a:hover {
  color: #1e1e1e;
  background-color: #fff;
}

/*==============================================
04. WELCOME BLOCK CSS
================================================*/
.welcome-box {
  font-size: 20px;
  line-height: 1.7;
}

.welcome-first {
  font-size: 32px;
  display: block;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.welcome-box p {
  max-width: 620px;
  width: 100%;
  margin: 0 auto 30px;
  color: #fff;
}

.welcome-title {
  font-weight: 700;
  font-size: 120px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.welcome-title span {
  font-size: 36px;
  display: block;
  font-weight: 300;
  line-height: 1.2;
}

.welcome-title img {
  max-width: 45%;
  /* Scale within container */
  height: auto;
  /* Maintain aspect ratio */
  display: block;
  margin: 0 auto;
  /* Center align */
}

.welcome-box .btn {
  margin-top: 10px;
}

.next-section {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  cursor: pointer;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.next-section span {
  margin-top: 15px;
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
}

.next-section i:hover {
  opacity: 1;
}

/*==============================================
05. ABOUT ME
================================================*/
.about-img {
  margin: 0 auto 40px;
  position: relative;
}

.about-img img {
  border-radius: 10px;
  -webkit-box-shadow: 0 0 40px rgba(0, 0, 0, .3);
  box-shadow: 0 0 40px rgba(0, 0, 0, .3);
}

.about-contentbox {
  margin-top: 80px;
  text-align: left;
  line-height: 1.8;
}

.about-contentbox span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}

.about-contentbox h2 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
}

.facts-list {
  margin-top: 30px;
}

.facts-list .item {
  overflow: hidden;
  text-align: center;
  border-radius: 10px;
  width: 100%;
  display: inline-block;
  text-transform: capitalize;
  font-size: 14px;
  padding: 30px 0px;
  background: rgba(0, 0, 0, 0.25);
}

.counter-box span {
  font-size: 26px;
  font-weight: 700;
}

.counter-icon {
  font-size: 30px;
  margin-bottom: 10px;
  opacity: 0.75;
}

.facts-list .item:hover {
  background: #fff;
  color: #1e1e1e;
}

.facts-list .owl-dots {
  margin-bottom: 30px;
}

.count-number,
.counted {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

/*==============================================
06. SERVICES BLOCK CSS
================================================*/
.title-block {
  margin-bottom: 40px;
}

.title-block span {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: 300;
}

.services-list .item {
  background-color: rgba(250, 250, 250, 0.25);
  border-radius: 10px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service-icon {
  display: block;
  margin: 0 auto 0;
  font-size: 64px;
}

.service-box {
  font-size: 15px;
  padding: 40px 20px;
  height: 100%;
}

.services-list .item:hover {
  background-color: #fff;
  color: #1e1e1e;
}

.service-box h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 10px;
  padding: 10px;
}

.service-box p:last-child {
  margin: 0;
}

.owl-carousel .owl-dots .owl-dot {
  border-radius: 3px;
}

.owl-dots {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  margin-top: 50px
}

.owl-carousel .owl-dots .owl-dot {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, .2)
}

.owl-carousel .owl-dots .owl-dot:focus {
  outline: none
}

.owl-carousel .owl-dots .owl-dot.active {
  background: #fff
}

/*WIPWIP*/
.services-list {
  overflow: hidden;
  /* Prevents overflow issues */
}


/*.thumb {
  max-width: 300px; /* Set a max width for the container /
  width: 50%; /* Make it responsive /
  margin: 0 auto; /* Center the container /
  text-align: center; /* Ensure images inside stay centered /
}*/

/*==============================================
07. WORK BLOCK CSS
================================================*/
.gallery-section {
  text-align: center;
}

.portfolio-item img {
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 9;
  border-radius: 10px;
}

.portfolio-item .thumb-inner {
  position: absolute;
  z-index: 99;
  bottom: 0;
  text-align: left;
  padding: 20px;
  background-color: rgba(250, 250, 250, 0.25);
  width: 100%;
  height: 60px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.portfolio-item .thumb-inner h4 {
  margin-bottom: 0;
  font-size: 16px;
  margin-top: 0px;
}

.portfolio-item .thumb-inner p {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  margin-bottom: 0px;
}

.portfolio-item:hover .thumb-inner p {
  position: relative;
  opacity: 1;
  visibility: visible;
  color: #4a4a4a;
}

.portfolio-item:hover .thumb-inner {
  border-radius: 10px;
  height: 100%;
  background-color: rgba(250, 250, 250, 0.9)
}

.portfolio-item:hover .thumb-inner h4 {
  margin-top: 30%;
  color: #1e1e1e;
  margin-bottom: 20px;
}

/*==============================================
08. CONTACT BLOCK CSS
================================================*/
::-webkit-input-placeholder {
  color: #fff !important;
  opacity: 1;
}

::-moz-placeholder {
  color: #fff !important;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #fff !important;
  opacity: 1;
}

:-moz-placeholder {
  color: #fff !important;
  opacity: 1;
}

.input-field {
  margin-bottom: 15px;
}

.form-control {
  height: 50px;
  color: #fff;
  border: none;
  background: rgba(250, 250, 250, 0.05);
  border: 1px solid rgba(250, 250, 250, 0.5);
  border-radius: 10px;
  padding: 4px 22px;
  font-size: 14px;
  margin-bottom: 30px;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(250, 250, 250, 1);
  color: #fff;
}

.index .form-control.form-control-dark {
  background: rgba(250, 250, 250, 0.75);
  color: #fff;
}

.index .form-control.form-control-dark:focus {
  background: rgba(54, 40, 158, 0.85);
  color: #fff;
}

.index .form-control.form-control-dark::-webkit-input-placeholder {
  color: #fff !important;
}

.index .form-control.form-control-dark::-moz-placeholder {
  color: #fff !important;
}

.index .form-control.form-control-dark:-ms-input-placeholder {
  color: #fff !important;
}

.index .form-control.form-control-dark:-moz-placeholder {
  color: #fff !important;
}

.form-control.form-control-dark:focus {
  background: rgba(0, 0, 0, 0.2);
}

.form-control.form-control-dark {
  background: rgba(0, 0, 0, 0.1);
  color: #222;
  border: none;
}

.form-control.form-control-dark::-webkit-input-placeholder {
  color: #222 !important;
  opacity: 0.7;
}

.form-control.form-control-dark::-moz-placeholder {
  color: #222 !important;
  opacity: 0.7;
}

.form-control.form-control-dark:-ms-input-placeholder {
  color: #222 !important;
  opacity: 0.7;
}

.form-control.form-control-dark:-moz-placeholder {
  color: #222 !important;
  opacity: 0.7;
}

textarea.form-control {
  height: 123px;
  padding-top: 15px;
}

.contact-section .btn {
  width: 100%;
}

.contact-box {
  text-align: left;
}

.contact-box h4 {
  font-size: 24px;
}

.contact-box h4:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: #fff;
  margin: 12px 0;
}

.contact-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 30px;
  background: rgba(250, 250, 250, 0.25);
  border-radius: 10px;
  padding: 30px;
  font-weight: 700;
}

.contact-row i {
  width: 55px;
  font-size: 30px;
  display: block;
}

.contact-row i.fa-envelope {
  font-size: 25px;
}

/*==============================================
09. TESTIMONOALS BLOCK CSS
================================================*/
.testimonials-section .item {
  background-color: rgba(250, 250, 250, 0.25);
  padding: 40px;
  border-radius: 10px;
}

.testimonials-section .item img {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.testimonials-section .item h4 {
  margin-top: 40px;
  font-size: 22px;
  text-transform: capitalize;
  font-weight: 700;
}

.testimonials-section .item p {
  font-size: 17px;
  font-style: italic;
}

/*==============================================
10. SKILLS BLOCK CSS
================================================*/
.skills-row {
  margin-top: 80px;
}

.skill-item {
  border-bottom: 1px solid rgba(250, 250, 250, 0.1);
  margin-bottom: 50px;
  padding-bottom: 50px;
}

.last-skill {
  border-bottom: none;
}

.skills-row span {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background-color: #fff;
  color: #1e1e1e;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
  left: 0;
  top: -21px;
  position: absolute;
  z-index: 999;
}

.skills-row h6 {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  text-align: right;
  margin-bottom: -10px;
}

.skill-bar {
  width: 70%;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(250, 250, 250, 0.25);
  position: relative;
}

.filled-bar {
  position: absolute;
  z-index: 99;
  width: 64%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}

.filled-bar-2 {
  position: absolute;
  z-index: 99;
  width: 82%;
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
}