/* Import Fonts */

@font-face {
  font-family: "IRANSansWeb";
  src: url("../media/fonts/IRANSansWeb.woff2") format("woff2"),
    url("../media/fonts/IRANSansWeb.woff") format("woff"),
    url("../media/fonts/IRANSansWeb.ttf") format("truetype");
  font-style: normal;
}

/* Basic Settings */

:root {
  --primary-color: #203e76;
  --primary-text-color: #5d5f6b;
  --secondary-text-color: #4c4f53;
  --primary-background-color: #fefefe;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "IRANSansWeb";
  font-size: 16px;
  background-color: var(--primary-background-color);
  overflow-x: hidden;
}

/* Main Classes */

.widthClass {
  max-width: 1366px;
  margin: auto;
}

.container {
  max-width: 1100px;
  margin: auto;
}

.listClass {
  list-style: none;
}

.anchorList {
  text-decoration: none;
}

.flexRow {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.flexColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.paraghraph {
  font-size: 1rem;
  font-weight: 400;
  line-height: 30px;
  color: var(--secondary-text-color);
}

.btn-Senveera {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  background-color: rgba(32, 62, 118, 0.8);
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 5px 5px 5px 20px;
  transition: all 0.3s ease-out;
}

.btn-Senveera:hover {
  background-color: var(--primary-color);
  transform: scale(1.05);
  color: #fff;
}

/* Home Page */

/* Mobile Navbar Styles */

#mobileNavbar {
  background-color: #fff !important;
  position: relative;
}

.navbar-toggler {
  border: 1.5px solid var(--primary-text-color);
}

.navbar-toggler:focus,
.navbar-toggler:active {
  box-shadow: none;
}

.navbar-nav {
  padding: 12px;
  align-items: center;
  gap: 48px;
}

.nav-item a {
  color: var(--primary-text-color);
  font-weight: 700;
}

#callMobile {
  gap: 10px;
  justify-content: right;
}

/* drop down menu */

.dropdown {
  position: initial;
}

.dropdown-toggle::after {
  display: none;
}

button.show {
  color: #51a7f2 !important;
}

button.show svg {
  transform: rotateX(0.5turn);
  stroke: #51a7f2 !important;
}

button.show svg path {
  stroke: #51a7f2;
}

.dropdown button {
  background-color: #fefefe;
  color: var(--primary-text-color);
  font-weight: 700;
  border: 0;
  transition: all 0.2s ease-out;
}

.dropdown button svg {
  margin-right: 6px;
  transition: all 0.2s ease-out;
  width: 16px;
  height: 16px;
}

.dropdown-menu {
  width: 100%;
  border: 0;
  background-color: #fefefe;
}

#dropdown-menu-products {
  width: 60%;
}

.dropdown-menu>div {
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 40px;
}

.dropdown-menu>div ul {
  text-align: right;
  gap: 28px;
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--primary-text-color);
}

.dropdown-menu>div ul li a {
  color: var(--primary-text-color);
}

.dropDownHeading {
  font-weight: 700;
  color: var(--primary-color) !important;
}


#dropDownImg img {
  width: 100%;
  height: 100%;
}

/* Carousel */

#headerCarousel {
  height: 648px;
}

#headerCarousel .headerCarouselInner {
  padding: 0;
}

#headerCarousel .carousel-item {
  width: 1366px;
  height: 648px;
}

/* Header Carousel Slide 1 */

#header-slider-1 {
  background-image: url("../media/img/header-slider-1.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#header-slider-1>div {
  display: flex !important;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  height: 100%;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 300px;
  margin-right: 133px;
  gap: 12px;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box p,
#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary-color);
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box>img {
  display: block;
  width: 272px;
  height: 32px;
  margin: 12px 0;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box>a {
  margin-top: 24px;
}

/* Header Carousel Slide 2 */

#header-slider-2 {
  background-image: url("../media/img/header-slider-2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#header-slider-2>div {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(2) .header-slider-box {
  display: flex !important;
  flex-direction: row;
  align-items: flex-end;
  width: 200px;
  height: 200px;
}

/* Header Carousel Slide 3 */

#header-slider-3 {
  background-image: url("../media/img/header-slider-3.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#header-slider-3>div {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(3) .header-slider-box {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  width: 300px;
  height: 300px;
  gap: 40px;
  margin-top: 80px;
}

#headerCarousel .carousel-inner .carousel-item:nth-of-type(3) .header-slider-box p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

/* About Section */

.about {
  background-color: var(--primary-background-color);
  height: 768px;
}

.about>div {
  padding: 108px 0;
  gap: 161px;
}

.about h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  padding-bottom: 40px;
}

.about h2 span {
  display: block;
  margin-top: 12px;
}

#btnContainer {
  justify-content: end;
}

#btnContainer a {
  margin-top: 40px;
}

#slider>div {
  position: relative;
}

#slider>div>img {
  max-width: 386px;
  max-height: 552px;
}

#slider>div>div {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(154px) translateY(75px);
  gap: 50px;
}

#slider>div>div>img {
  transition: all 0.3s ease-out;
  max-width: 312px;
  max-height: 98px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25),
    0px 10px 15px rgba(123, 97, 255, 0.08);
  border-radius: 10px;
}

#slider>div>div>img:hover {
  transform: translateX(20px);
}

/* Services Section */

.services>div {
  height: 768px;
}

#services-info {
  text-align: center;
}

#services-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3a3a3a;
  margin-bottom: 40px;
}

#services-item-container {
  display: grid;
  grid-template-columns: repeat(2, 506px);
  grid-template-rows: repeat(2, 221px);
  gap: 40px;
  padding: 24px;
}

.services-item-wrap {
  position: relative;
}

.services-item-big {
  gap: 40px;
  opacity: 1;
  transition: opacity 0.3s ease-out;
  padding: 40px 0;
}

.services-item-big h4 {
  font-size: 1.25rem;
  color: #51a7f2;
  font-weight: 700;
}

.services-item-wrap:hover .services-item {
  opacity: 1;
}

.services-item-wrap:hover .services-item-big {
  opacity: 0;
}

.services-item {
  position: absolute;
  z-index: 10;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  gap: 12px;
  padding: 24px;
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  transition: opacity 0.3s ease-out;
  text-align: center;
  cursor: default;
}

.services-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #51a7f2;
}

.services-item img {
  padding-bottom: 5px;
}

/* Projects Section */

.projects {
  background-image: url("../media/img/projects-background.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.projects .sectionHeader h2 {
  color: #fff;
}

.project-item span {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 75%;
  border-radius: 10px 10px 0 0;
}

.project-item {
  justify-content: end;
}

.project-item>div {
  height: 25%;
  width: 100%;
  padding: 24px;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  margin-top: 0 !important;
}

.project-item>div h5 {
  font-size: 1rem !important;
}

/* Products Section */

.products {
  background-color: #f8f8f8;
  height: 768px;
}

.products>div {
  gap: 60px;
}

/* Products Header */

.sectionHeader {
  width: 100%;
  justify-content: space-between;
}

.sectionHeader h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 50px;
  text-align: right;
}

.sectionHeader div {
  gap: 20px;
}

.sectionHeader a {
  display: block;
  cursor: pointer;
  width: 48px;
  height: 48px;
}

/* Products Carousel */

.product-item {
  background-color: #fff;
  border-radius: 10px;
  width: 320px;
  height: 471px;
}

.product-item img {
  width: 250px;
  height: 250px;
}

.product-item>div {
  margin-top: 24px;
}

.product-item>div h5 {
  font-size: 1.25rem;
  font-weight: 700;
}

.product-item>div p {
  font-size: 0.9375rem;
  font-weight: 500;
}

.product-item>div>* {
  margin-bottom: 12px;
  color: var(--secondary-text-color);
}

/* Footer */

footer {
  background-color: var(--secondary-text-color);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 400;
  padding-top: 54px;
  padding-bottom: 64px;
}

footer a {
  color: #fff;
  font-weight: 500;
}

footer>div>div {
  justify-content: space-between !important;
}

/* Footer Info Container */

.footerInfoContainer {
  padding-bottom: 100px;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.footerNav {
  gap: 45px;
}

.footerNavContainer {
  gap: 24px;
  align-items: flex-start;
}

.footerNavContainer a {
  transition: color 0.3s ease-out;
  color: rgb(216, 216, 216);
}

.footerNavContainer a:hover {
  color: #fff;
}

/* Footer Logo Container */

.footerLogoContainer>div:nth-of-type(1) {
  width: 100%;
  justify-content: left;
}

.footerLogoContainer>div:nth-of-type(2) {
  padding-top: 110px;
}

.footerLogoContainer>div:nth-of-type(2)>div {
  justify-content: right;
}

.footerLogoContainer>div:nth-of-type(2)>div {
  gap: 24px;
}

.footerLogoContainer>div:nth-of-type(2)>div p {
  margin-bottom: 0 !important;
}

.footerLogoContainer>div:nth-of-type(2)>div:nth-of-type(2) {
  padding-top: 24px;
}

/* copy right container */

.copyRightContainer {
  padding-top: 22px;
  padding-right: 0 !important;
  padding-left: 0 !important;
  border-top: 0.5px solid rgba(255, 255, 255, 0.3);
}

.copyRightContainer>div {
  gap: 15px;
}

/* Media Query Styles */

@media screen and (max-width: 1366px) {
  #headerCarousel {
    height: auto;
  }

  #headerCarousel .carousel-item {
    width: 100vw;
  }
}

@media screen and (max-width: 1280px) {
  #headerCarousel .carousel-inner .carousel-item:nth-of-type(1)>div {
    justify-content: center;
  }

  #headerCarousel .carousel-inner .carousel-item:nth-of-type(1) .header-slider-box {
    margin-right: 0;
    background-color: #fefefec4;
    border-radius: 10px;
  }
}

@media screen and (max-width: 1200px) {
  #navbar {
    padding: 0 36px;
  }

  .container {
    width: calc(100vw - 100px);
  }

  .navbar-nav {
    gap: 25px;
  }
}

@media screen and (max-width: 1100px) {
  #services-item-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    width: 70%;
  }

  .navbar-nav {
    gap: 15px;
  }

  .services>div,
  .about {
    height: auto;
  }

  .product-item {
    width: 260px;
    height: 420px;
  }

  .product-item img {
    width: 220px;
    height: 220px;
  }

  #dropDownImg {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  #headerCarousel {
    padding-top: 65px;
  }

  /* change header slider pictures */

  #header-slider-1 {
    background-image: url("../media/img/slidermobile1.jpg");
  }

  #header-slider-2 {
    background-image: url("../media/img/slidermobile2.jpg");
  }

  #header-slider-3 {
    background-image: url("../media/img/slidermobile3.jpg");
  }

  #headerCarousel .carousel-item {
    height: 100vh;
  }

  #headerCarousel .carousel-inner .carousel-item:nth-of-type(3) .header-slider-box {
    margin-top: 150px;
  }

  #headerCarousel .carousel-inner .carousel-item:nth-of-type(2) .header-slider-box {
    align-items: center;
  }

  #mobileNavbar {
    background-color: var(--primary-background-color) !important;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 12px;
    z-index: 100;
  }

  .navbar-nav {
    align-items: flex-start;
    gap: 20px;
  }

  #callMobile {
    height: 35px;
  }

  #callMobile img {
    display: none;
  }
}

@media screen and (max-width: 950px) {
  .product-item {
    width: 250px;
    height: 400px;
  }

  .product-item img {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 900px) {

  body,
  html {
    font-size: 14px;
  }

  .about>div {
    flex-direction: column;
    padding: 80px 0;
    gap: 50px;
  }

  .services {
    padding: 80px 0;
  }

  .products {
    height: auto;
    padding: 80px 0;
  }

  #services-item-container {
    width: 100%;
  }
}

@media screen and (max-width: 870px) {
  .product-item {
    width: 200px;
    height: 350px;
  }

  .product-item img {
    width: 150px;
    height: 150px;
  }

  .product-item>div h5 {
    font-size: 1rem;
  }

  .footerInfoContainer {
    flex-direction: column-reverse;
    gap: 50px;
    padding-bottom: 50px;
  }

  .footerLogoContainer {
    gap: 50px;
  }

  .footerLogoContainer>div:nth-of-type(2) {
    padding-top: 0;
  }

  .footerLogoContainer>div:nth-of-type(1) {
    justify-content: center;
  }
}

@media screen and (max-width: 767px) {
  #headerCarousel .carousel-inner .carousel-item:nth-of-type(2) .header-slider-box a {
    margin-right: 10px;
  }

  .dropdown-menu>div {
    flex-direction: column;
    gap: 12px;
    padding: 10px;
  }

  .dropdown-menu>div ul li {
    display: none;
  }

  .dropDownHeading {
    display: block !important;
  }

  #slider>div>div {
    transform: translateX(100px) translateY(75px);
  }

  .products>div {
    gap: 20px;
  }

  .product-item {
    width: 320px;
    height: 471px;
  }

  .product-item img {
    width: 250px;
    height: 250px;
  }

  .product-item>div h5 {
    font-size: 1.25rem;
  }

  #productsCarousel .row>div>a,
  #projectsCarousel .row>div>a {
    display: flex;
    justify-content: center;
  }

  .product-item>div p {
    font-size: 1rem;
  }

  .copyRightContainer {
    flex-direction: column;
  }
}

@media screen and (max-width: 560px) {
  .copyRightContainer p {
    text-align: center;
  }

  .container {
    width: 90vw;
  }

  #slider>div>div {
    transform: translateX(35px) translateY(75px);
    gap: 40px;
  }
}

@media screen and (max-width: 460px) {
  .footerLogoContainer>div:nth-of-type(1) img {
    width: 200px;
  }

  .product-item {
    width: 250px;
    height: 400px;
  }

  .product-item img {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 400px) {
  #slider>div>img {
    max-width: 300px;
    max-height: 466px;
  }

  #slider>div>div {
    transform: translateX(12px) translateY(50px);
    gap: 30px;
  }

  #slider>div>div>img {
    transition: all 0.3s ease-out;
    max-width: 270px;
  }

  #slider>div>div>img:hover {
    transform: scale(1.05);
  }
}