/*

Lavish HTML CSS Template

https://templatemo.com/tm-458-lavish
		
*/
:root {
  --primary: rgb(36, 207, 178);
  --primary-dark: rgb(11, 148, 125);
  --text: rgba(255, 255, 255, 0.92);
  --light-text: rgba(255, 255, 255, 0.7);
  --bg: #121212;
  --nav-bg: rgba(18, 18, 18, 0.9);
  --hover-bg: rgba(36, 207, 178, 0.1);
  --mobile-bg: rgba(30, 30, 30, 0.98);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body {
  background: #000000;
  color: #999;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 400;
}
a {
  color: unset;
  text-decoration: none;
}
a:hover,
a:focus {
  color: var(--primary);
  text-decoration: none;
}

p {
  display: flex;
  align-items: center;
}
/* start all section */
#home,
#home .fp-slide,
#home .fp-tableCell,
#services,
#services .fp-slide,
#services .fp-tableCell,
#about,
#about .fp-slide,
#about .fp-tableCell,
#contact,
#contact .fp-slide,
#contact .fp-tableCell,
#portfolio,
#portfolio .fp-slide,
#portfolio .fp-tableCell,
#contact,
footer,
footer .fp-slide,
footer .fp-tableCell {
  height: auto !important;
}

/* end all section */

/* start all heading */
h1,
h2,
h3,
h4,
h5 {
  color: #ffffff;
  font-weight: bold;
}
/* end all heading */

/* start all section */
#services,
#about,
#portfolio,
#contact,
#articles {
  padding-top: 100px;
  padding-bottom: 120px;
}
/* end all section */

/* start simpletextrotator */
.rotating {
  display: inline-block;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: rotateX(0) rotateY(0) rotateZ(0);
  -moz-transform: rotateX(0) rotateY(0) rotateZ(0);
  -ms-transform: rotateX(0) rotateY(0) rotateZ(0);
  -o-transform: rotateX(0) rotateY(0) rotateZ(0);
  transform: rotateX(0) rotateY(0) rotateZ(0);
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  -webkit-transform-origin-x: 50%;
}

.rotating.flip {
  position: relative;
}

.rotating .front,
.rotating .back {
  left: 0;
  top: 0;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
}

.rotating .front {
  position: absolute;
  display: inline-block;
  -webkit-transform: translate3d(0, 0, 1px);
  -moz-transform: translate3d(0, 0, 1px);
  -ms-transform: translate3d(0, 0, 1px);
  -o-transform: translate3d(0, 0, 1px);
  transform: translate3d(0, 0, 1px);
}

.rotating.flip .front {
  z-index: 1;
}

.rotating .back {
  display: block;
  opacity: 0;
}

.rotating.spin {
  -webkit-transform: rotate(360deg) scale(0);
  -moz-transform: rotate(360deg) scale(0);
  -ms-transform: rotate(360deg) scale(0);
  -o-transform: rotate(360deg) scale(0);
  transform: rotate(360deg) scale(0);
}

.rotating.flip .back {
  z-index: 2;
  display: block;
  opacity: 1;

  -webkit-transform: rotateY(180deg) translate3d(0, 0, 0);
  -moz-transform: rotateY(180deg) translate3d(0, 0, 0);
  -ms-transform: rotateY(180deg) translate3d(0, 0, 0);
  -o-transform: rotateY(180deg) translate3d(0, 0, 0);
  transform: rotateY(180deg) translate3d(0, 0, 0);
}

.rotating.flip.up .back {
  -webkit-transform: rotateX(180deg) translate3d(0, 0, 0);
  -moz-transform: rotateX(180deg) translate3d(0, 0, 0);
  -ms-transform: rotateX(180deg) translate3d(0, 0, 0);
  -o-transform: rotateX(180deg) translate3d(0, 0, 0);
  transform: rotateX(180deg) translate3d(0, 0, 0);
}

.rotating.flip.cube .front {
  -webkit-transform: translate3d(0, 0, 100px) scale(0.9, 0.9);
  -moz-transform: translate3d(0, 0, 100px) scale(0.85, 0.85);
  -ms-transform: translate3d(0, 0, 100px) scale(0.85, 0.85);
  -o-transform: translate3d(0, 0, 100px) scale(0.85, 0.85);
  transform: translate3d(0, 0, 100px) scale(0.85, 0.85);
}

.rotating.flip.cube .back {
  -webkit-transform: rotateY(180deg) translate3d(0, 0, 100px) scale(0.9, 0.9);
  -moz-transform: rotateY(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
  -ms-transform: rotateY(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
  -o-transform: rotateY(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
  transform: rotateY(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
}

.rotating.flip.cube.up .back {
  -webkit-transform: rotateX(180deg) translate3d(0, 0, 100px) scale(0.9, 0.9);
  -moz-transform: rotateX(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
  -ms-transform: rotateX(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
  -o-transform: rotateX(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
  transform: rotateX(180deg) translate3d(0, 0, 100px) scale(0.85, 0.85);
}
/* end simpletextrotator */

/* start home */
#home {
  background: url("../images/bg-4.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: 140px;
  text-align: center;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.75rem;
  color: var(--primary);
  transition: var(--transition);
}

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

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
}

.logo-text span {
  color: var(--primary);
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  position: relative;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--light-text);
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.5rem;
}

.nav-link i {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}

/* Hover & Active States */
.nav-link:hover {
  color: var(--text);
  background: var(--hover-bg);
}

.nav-link:hover i {
  opacity: 1;
  transform: translateX(2px);
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active i {
  opacity: 1;
}

.nav-link.active::before {
  transform: scaleX(1);
  background: var(--primary-dark);
}

/* ===== MOBILE MENU ===== */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: var(--transition);
  background: transparent;
  border: none;
}

.hamburger:hover {
  background: var(--hover-bg);
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  transition: var(--transition);
  transform-origin: center;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 85%;
    max-width: 320px;
    background: var(--mobile-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 6rem 1.5rem 2rem;
    gap: 0.5rem;
    transition: right 0.4s ease-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-list.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 1rem;
    height: auto;
  }

  /* Animated Hamburger */
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--primary);
  }

  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background: var(--primary);
  }

  /* Body lock when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

#home h1 {
  /* border: 2px solid var(--primary); */
  color: var(--primary);
  display: inline-block;
  /* letter-spacing: 6px; */
  margin: 0 0;
}
#home .main-text {
  margin-top: 100px;
}
#home h1 span {
  color: white;
}
@media (max-width: 576px) {
  #home h1 {
    padding: 10px;
  }
  .nav-scroll{
    width: 80% !important;
  }
}
#home h2 {
  padding-bottom: 10px;
  margin-bottom: 40px;
}
.btn {
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  width: 180px;
  height: 48px;
  margin-top: 40px;
  transition: all 0.4s ease-in-out;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn:hover {
  background: white;
  color: var(--primary) !important;
  border-color: transparent;
}
p {
  color: white;
}
/* end home */

/* start work */
#services {
  background: #1a1a1a;
}
#services h2 {
  text-align: center;
}

#services .media {
  margin-top: 30px;
  display: flex;
}

#services .media .fa {
  background: rgba(36, 207, 178, 0.05);
  border-radius: 50%;
  color: var(--primary);
  font-size: 24px;
  margin-right: 24px;
  width: 60px;
  height: 60px;
  line-height: 55px;
  text-align: center;
  vertical-align: middle;
  transition: all 0.4s ease-in;
}
#services .media .fa:hover {
  background: #ffffff;
  cursor: pointer;
}
#services .media .media-heading {
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 10px;
}
/* end work */

/* start about */
#about h4 {
  padding: 15px 0;
  color: var(--primary);
}
#about .progress {
  border-radius: 4px;
  background: #ffffff;
  height: 4px;
  margin-bottom: 30px;
}
#about .progress .progress-bar-danger {
  background: var(--primary);
}
#about .text-top {
  padding-top: 50px;
}
#about span {
  color: #ffffff;
  font-weight: bold;
  display: block;
  padding-bottom: 6px;
}
#about small {
  font-weight: bold;
  float: right;
}
/* end about */

/* start portfolio */
#portfolio {
  background: #1a1a1a;
  text-align: center;
}
#portfolio h2 {
  padding-bottom: 30px;
}
#portfolio .portfolio-thumb {
  overflow: hidden;
  position: relative;
  margin-bottom: 30px;
}
#portfolio .portfolio-thumb img {
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 500px;
}
@media (min-width: 992px) {
  #portfolio .portfolio-thumb img {
    height: 400px; /* Set a specific height for xs devices */
  }
}
@media (min-width: 768px) {
  #portfolio .portfolio-thumb img {
    height: 300px; /* Set a specific height for xs devices */
  }
}
@media (max-width: 576px) {
  #portfolio .portfolio-thumb img {
    height: 200px; /* Set a specific height for xs devices */
    width: 320px;
  }
}
#portfolio .portfolio-thumb .portfolio-overlay {
  background: var(--primary);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  padding-top: 60px;
  transition: all 0.4s ease-in-out;
  border-radius: 40px;
}
#portfolio .portfolio-thumb:hover .portfolio-overlay {
  cursor: pointer;
  opacity: 0.8;
  transform: scale(0.9);
}
/* end portfolio */

/* start contact */

#contact address {
  padding-bottom: 18px;
}

#contact .contact-title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 20px;
  color: #ffffff;
}
#contact .fa {
  background: rgba(36, 207, 178, 0.1);
  border-radius: 50%;
  color: var(--primary);
  width: 50px;
  height: 50px;
  line-height: 45px;
  text-align: center;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact .form-control {
  background: transparent;
  border: 2px solid #999;
  border-radius: 0;
  box-shadow: none;
  color: #ffffff;
  margin-bottom: 20px;
}
#contact input {
  height: 50px;
}
#contact input[type="submit"] {
  background: var(--primary);
  border: 2px solid transparent;
  color: #ffffff;
  font-weight: bold;
  transition: all 0.4s ease-in-out;
}
#contact input[type="submit"]:hover {
  background: #ffffff;
  color: var(--primary);
}
/* end contact */

/* start footer */
footer {
  border-top: 1px solid #090909;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 20px;
}
footer hr {
  width: 100px;
}
/* end footer */

/* start social icon */
.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}
.social-icon li {
  display: inline-block;
  list-style: none;
}
.social-icon li a {
  border-radius: 50%;
  color: #606060;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
  text-align: center;
  margin-right: 10px;
}
.social-icon li a:hover {
  color: var(--primary);
}
/* end social icon */
.copyright {
  justify-content: center;
}
.description {
  text-align: justify;
  text-justify: inter-word;
}

ul.nav-list {
  margin: 0;
}
.articles-container .inner-container {
  display: flex;
  gap: 24px;
}

.articles-container .article-item img {
  width: 100%;
}

.tab-nav {
  display: flex;
  gap: 20px;
  border-radius: 99999999999px;
  padding: 8px;
  border: 1px solid var(--primary);
  margin: 20px 0 20px 10px;
  width: fit-content;
}
.nav-scroll {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.tab-nav .tab-item {
  padding: 10px 20px;
  border-radius: 99999999999px;
  cursor: pointer;
  transition: background-color 0.3s ease;

}
.tab-nav .tab-item.active {
  background: var(--primary);
  color: white;
}
