/*=========== common style ============= */
:root {
  --primary-color: #0A043C;
  --secondary-color: #F0A500;
  --three-color: #E6D5B8;
  --four-color: #E45826;
  --five-color: #9C0F48;
  --six-color: #F0A500;
  --seven-color: #fff;
  --eight-color: #0A043C;
  --nine-color: #F7F7F7;
  --bottom-color: #fff;
}


.dark-theme {
  /* --primary-color: #1B1A17;
  --secondary-color: #fff;
  --four-color: #F0A500;
  --five-color: #F0A500; */
  --six-color: #E45826;
  --seven-color: #2B2A33;
  --eight-color: #F0A500;
  --nine-color: #2B2A33;
  --bottom-color: #E6D5B8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--seven-color);
}

.c-btn {
  background-color: var(--primary-color) !important;
}

.c-btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.c-btn {
  position: relative;
  background-color: var(--primary-color) !important;
  text-decoration: none;
  color: var(--three-color);
  padding: 0.375rem 0.75rem;
  border-radius: 0.35rem;
  z-index: 1;
  box-shadow: rgba(10, 4, 60, 0.24) 0px 3px 8px;
}


.c-btn::before {
  transition: .5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: '';
  background-color: var(--three-color);
  border-radius: 0.35rem;
}


.c-btn:hover:before {
  transition: .5s all ease;
  right: 0;
  left: 0;
  opacity: 1;
  color: var(--primary-color);
  z-index: -1;
  border: 1px solid var(--three-color);
}

.btn-success {
  border-color: var(--bottom-color);
}

a:hover {
  color: var(--primary-color) !important;
}

.btn:hover {
  border: 1px solid var(--three-color);
  color: var(--primary-color) !important;
}

h1 {
  padding-bottom: 40px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;

}

h2,
h3 {
  font-weight: 700;
}

p {
  margin-bottom: 2rem !important;
}

/* ======preloader  ====*/
#preloader {
  background: #fff url(../img/preloader/4.gif) no-repeat center;
  background-size: 15%;
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
}

/*======== header section start  ==========*/
#head {
  padding: 10px 0;
  background: var(--primary-color);
  border-bottom: 1px solid #edf5e1;
}

/*==== navbar ====== */

.navbar-toggler {
  width: 20px;
  height: 20px;
  position: relative;
  transition: .5s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
  border: 0;
}

.navbar-toggler span {
  margin: 0;
  padding: 0;
}

.toggler-icon {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: #E6D5B8;
  border-radius: 1px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.middle-bar {
  margin-top: 0;

}

.navbar-toggler .top-bar {
  margin-top: 0;
  transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  margin-top: 0;
  transform: rotate(-135deg);
}

.navbar-toggler.collapsed .top-bar {
  margin-top: -20px;
  transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  margin-top: 20px;
  transform: rotate(0deg);
}

/* ==========navbar ========= */

.logo a span {
  font-size: 25px;
  font-weight: 900;
  color: var(--three-color) !important;
}


.logo h6 {
  color: var(--secondary-color);
}

.logo img {
  width: 35%;
}

.logo .navbar-brand span {
  color: var(--three-color);
  background: -webkit-linear-gradient(#E6D5B8, #F0A500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.menu li a {
  padding: 0 !important;
  position: relative;
  transition: .5s ease-in-out;
  color: #fff !important;
}

.menu li a:hover {
  color: var(--three-color) !important;
}

.menu li:not(:last-child) {
  margin-right: 3rem !important;
}

.nav-link::before,
.nav-link::after {
  content: "";
  position: absolute;
  height: 7%;
  background: var(--three-color);
  width: 0;
  transition: ease-in-out .4s;
}

.nav-link::before {
  bottom: -3px;
  background-position: left;
}

.nav-link:hover:before {
  width: 100%;
  background-position: right;
  bottom: -3px;
}

.menu li a::after {
  right: 0;
  background-position: right;

}

.menu li a:hover::after {
  width: 100%;
  background-position: left;
}


/*======== dark theme =========== */
#dark {
  width: 30px;
  cursor: pointer;
}


/*======= header section end ===== ==*/


/* hero===== section start  ========*/
#hero {
  padding: 123.2px 0;
  background-color: var(--secondary-color);
  position: relative;
}

.hero-left {
  color: var(--primary-color);
}

.hero-left h1 {
  padding-bottom: 20px;
  text-align: left;
  font-size: 60px;
}

.hero-left h2 {
  color: var(--primary-color);
}

.hero-left h2 span {
  color: var(--five-color);
}

.hero-right.text-center {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  background: var(--four-color);
  clip-path: polygon(100% 0%, 100% 0%, 22% 0%, 0% 50%, 0% 100%, 0% 100%, 0% 100%, 0% 100%, 36% 100%, 74% 100%, 28% 100%, 100% 100%, 100% 62%, 100% 25%);
}

.scroll-down {
  height: 50px;
  width: 30px;
  border: 2px solid var(--primary-color);
  position: absolute;
  left: 47%;
  bottom: 20px;
  border-radius: 50px;
  cursor: pointer;
}

.scroll-down::before,
.scroll-down::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid var(--five-color);
  transform: translate(-50%, -100%) rotate(45deg);
  border-top: transparent;
  border-left: transparent;
  animation: scroll-down 1s ease-in-out infinite;
}

.scroll-down::after {
  top: 30%;
  animation-delay: .3s;
}

@keyframes scroll-down {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 90%;
  }
}

/*======== hero section end ========= */


/*======= about section start  =============*/
#about {
  padding: 200px 0;
}

.about-img {
  position: relative;
}

.about-wrapper img {
  border-radius: 20px;
}

.img-fluid.abt-bg-one {
  z-index: 0;
  position: absolute;
  background: var(--six-color);
  width: 70%;
  height: 55vh;
  top: -78px;
  border-radius: 40px;
}

.img-fluid.abt-img-two {
  position: absolute;
  right: 80px;
  top: -40px;
  width: 70%;
  border-radius: 40px;
}

.about-content {
  color: var(--eight-color);
}

/*========== about section end ====== */



/*=== skill section start ==== */
#skill {
  padding: 100px 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.single-progressbar p {
  margin: 0 !important;
  font-size: 40px;
}

.circle-chart {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

/*====== skill section end ======= */


/*===== portfolio section start ======== */
#portfolio {
  padding: 100px 0;
  background-color: var(--nine-color);
  color: var(--eight-color);
  border-bottom: 1px solid var(--bottom-color);
  box-shadow: rgba(10, 4, 60, 0.24) 0px 3px 8px;
}

.portfolio-btn {
  padding-bottom: 40px;
}

.mixit-item {
  margin: 10px 0;
  height: 35vh;
  overflow: hidden;
  position: relative;
}

.mixit-item:hover .img-overly {
  transform: translateY(-80%);
}



.img-overly {
  width: 100%;
  transition: all 10s ease;
}

.mixit-item:hover img {
  opacity: .7;
}

.item-view {
  position: absolute;
  content: '';
  background: var(--three-color);
  width: 0;
  height: 13vh;
  bottom: 0;
  background-position: top;
  transition: all .5s ease-in-out;
  left: 50%;
  right: 50%;
  opacity: 0;
  text-align: center;
}

.item-view h4 {
  text-transform: uppercase;
  font-weight: 700;
}

.mixit-item:hover .item-view {
  width: 100%;
  opacity: 1;
  right: 0;
  background-position: bottom;
  left: 0;
  color: var(--primary-color);
  text-align: left;
}

.mixit-link {
  position: relative;
}

.link-other {
  position: absolute;
  top: 40%;
  margin: 0 auto;
  width: 100%;
  opacity: 0;
}

.link-other a {
  margin: 5px;
  font-size: 30px;
  color: var(--primary-color) !important;
}

.mixit-item:hover .link-other {
  opacity: 1;
}

/*========= portfolio section end  ==========*/


/*===== =====review section start ========== */
#review {
  padding: 100px 0;
  color: var(--eight-color);
}

.carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 0px !important;
  border-top: 0 !important;
  border-radius: 50%;
  background: var(--six-color);
  opacity: 1 !important;
}

.carousel-indicators {
  bottom: -54px !important;
}

.carousel-indicators .active {
  opacity: 1 !important;
  background: var(--primary-color) !important;
}

/*===== ======review section end ======== ==========*/

/*====== ======contact section start ==== ======*/
#contact {
  padding: 100px 0;
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.contact-left input,
.contact-left textarea {
  margin-bottom: 10px;
  padding: 5px 15px;
  width: 100%;
  background-color: var(--three-color);
  outline: 0;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
}

.contact-left textarea {
  height: 150px !important
}

.contact-right h5 {
  color: var(--five-color);
  font-weight: 600;
}

.contact-right p {
  margin: 0 !important;
}

/*========= contact section end ======== ======*/

/*============= footer section start ============= */
footer {
  padding-top: 100px;
  background-color: var(--primary-color);
}

.foot-head input {
  outline: 0;
  padding: 0.3rem 0.75rem;
  border-radius: 0.25rem;
  background-color: var(--three-color);
  color: var(--primary-color);
}

.foot-wrapper {
  padding-top: 80px;
}

.foot-nav ul li {
  list-style: none;
}

.foot-nav ul li:hover {
  text-align: center;
}

.foot-nav ul li:hover a {
  color: var(--primary-color);
  text-align: center;
}

.foot-nav ul li a {
  text-decoration: none;
  color: #fff;
}


.foot-link ul li {
  transition: all .7s ease-in;
}

.foot-link ul li:hover {
  transform: rotate(360deg);
}

.foot-link ul li a {
  font-size: 35px;
  color: var(--three-color) !important;
}

.copy-right {
  position: relative;
}

.copy-right::after {
  position: absolute;

}

/*============== footer section end ======== */

/*============== go to top ============= */

#topbtn {
  position: fixed;
  right: 40px;
  bottom: 40px;
  font-size: 22px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--five-color);
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: none;

}

#topbtn:hover {
  background: transparent;
  color: var(--five-color);

}