:root {
  --primary-color: #EF0000;
  --orange: #ED6C31;
  --Green: #65BC7A;
  --black: #484848;
  --bg1: #F5F7F9;
  --bg2: #F5F5F5;
  --bg3: #EFEFEF;
  --bg4: #FDFDFD;
  --bg5: #F7F7F7;
  --bg6: #F3F3F3;
  --title: #333333;
  --blue: #F5FCFF;
  --Light_green: #E6F4F4;
}

/* Reset margin and padding for all elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Reset specific element styles */
html,
body {
  height: 100%;
  font-family: "Rubik", sans-serif;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Carousel slideshow */

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-item img {
  width: 70%;
  /* height: 100vh; */
  object-fit: unset;
  /* margin-top: 165px; */
  opacity: 0.9;
  -webkit-transition: 500ms all;
  transition: 400ms all;
  margin: 0px;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-20%, -70%);
  color: #fff;
}

.carousel-caption h2 {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeInDown 1s ease-in-out forwards;
}

.carousel-caption h3 {
  font-size: 1.5rem;
  animation: fadeInUp 1s ease-in-out forwards;
}
/* Change the indicator color */
.carousel-indicators li {
  background-color: var(--Background);
}

.carousel-indicators .active {
  background-color: var(--primary-color);
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* end of the Carousel slideshow */


/* Img design welcome content */
#shape1 {
  display: block;
  width: 270px;
  height: 280px;
  border-radius: 58% 50% 50% 50% / 67% 69% 36% 40%;
  border: solid 5px var(--Dark-blue);
  box-shadow: 3px 1px 7px;
}

.welcome {
  background-image: url(./images/home/bg_1.png) !important;
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover;
  min-height: 100vh;
}
.heading:hover{
  color:var(--orange) !important;
}
.heading{
  color: green !important;
}
/* end of the Img design welcome content */

/* carousel for events and news */

i {
  color: #888;
}

.card {
  height: 120px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: var(--blue) !important;
  position: relative;
}

.card-image {
  flex-basis: 35%;
  position: absolute;
  left: -100%;
  animation: slideImageIn 2s forwards;
}

.card-content {
  flex-basis: 65%;
  padding: 0 0.5rem 0.25rem;
  position: absolute;
  right: -100%;
  animation: slideIn 2s forwards;
  margin-left: 180px;
}

.card img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.card p {
  margin-top: 0.5rem;
  margin-bottom: 0.35rem;
}
@media (min-width:1000px){
.date{
  margin-left: 180px;
}}
.shadow {
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.border {
  border: 1px solid #ddd;
}

.curve {
  border-radius: 0.35rem;
}

@media (min-width: 768px) {
  .card-image {
    flex-basis: 30%;
  }

  .card-content {
    flex-basis: 70%;
  }
}

@keyframes slideIn {
  0% {
    right: -100%;
  }
  100% {
    right: 0;
  }
}

@keyframes slideImageIn {
  0% {
    left: -80%;
  }
  100% {
    left: 0;
  }
}
/* end of the events and news */

/* titles */

.ag-format-container {
  width: 1192px;
  margin: 0 auto;
}

.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 50px 0;
}
.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);
  margin: 0 0px 30px;
  overflow: hidden;
  border-radius: 28px;
}
.ag-courses-item_link {
  display: block;
  padding: 10px 0px 10px 5px;
  background-color: grey;

  overflow: hidden;

  position: relative;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #fff;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  padding: 8px;
  overflow: hidden;

  font-weight: bolder;
  font-size: 19px;
  color: #fff;

  z-index: 2;
  position: relative;
}

.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #cd3e94;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #4c49ea;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #3ecd5e;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #952aff;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #cd3e94;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #4c49ea;
}

@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .ag-format-container {
    width: 96%;
  }
}
@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .ag-courses-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }
  .ag-courses-item_link {
    padding: 22px 40px;
  }
  .ag-courses-item_date-box {
    font-size: 16px;
  }
}
/* end of the titles */

/* Styles for the video iframe */
.styled-video {
  border: 2px solid var(--Dark-blue);
  background: none;
  display: block;
  width: 100%;
  height: 193px;
  box-shadow: none;
  border-radius: 15px;
}

.col-lg-4 {
  padding: 0px;
}

/* Styles for the video iframe end */

/* Sponsers slideshow */

.team_section .box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  opacity: 0.5;
  margin: 70px 0;
  -webkit-transition: 0.01ms all;
  transition: 0.01ms all;
  -webkit-transform-origin: center;
  transform-origin: center;
  position: relative;
}

.team_section .box .img-box img {
  width: 100%;
  padding: 0px 70px 10px 70px !important;
}

.team_section .team_carousel .owl-item.center .box {
  -webkit-transform: scale(1.9);
  transform: scale(1.9);
  opacity: 1;
}

.team_section .team_carousel .owl-item.center .box .detail-box {
  visibility: visible;
  opacity: 0.2;
}

.team_section .team_carousel .owl-dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.team_section .team_carousel .owl-dots .owl-dot {
  width: 8px;
  height: 8px;
  margin: 0 5px;
  background-color: gray;
  outline: none;
  border-radius: 50%;
}

.team_section .team_carousel .owl-dots .owl-dot.active {
  background-color: var(--primary-color);
}

/* end of the Sponsers slideshow */

/* Image style */

.panels {
  height: 270px;
  width: 190px;
  position: relative;

  &:hover {
    .cards {
      filter: blur(1.5px);
    }
    .card1 {
      background-size: 215% 135%;
    }
    .titles {
      color: rgba(255, 255, 255, 0.2);
    }
    .borders {
      border: 1px solid rgba(255, 255, 255, 1);
    }
    .slides {
      bottom: 0px;
    }
    .rings:before,
    .rings:after {
      transform: translateX(-50%) translateY(-50%) rotate(310deg);
    }
  }
}
.rings,
.cards,
.borders,
.slides,
.lines {
  display: flex;
  justify-content: center;
  align-items: center;
}

.rings {
  color: #fffbf1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 300px;
}

.cards {
  background: gray !important;
  position: relative;
  transition: all 1s;
  height: 320px;
  width: 290px;
  border: 1px solid rgba(255, 255, 255, 1);
}

.card1 {
  background-repeat: no-repeat;
  background-size: 200% 120%;
}

.rings:before,
.rings:after {
  content: "";
  padding: 0.7em 0.4em;
  position: absolute;
  left: 50%;
  width: 90%;
  top: 50%;
  display: block;
  border: 5px solid green !important;
  border-radius: 50%;
  transition: transform 1s;
  transform: translateX(-50%) translateY(-50%) rotate(50deg);
}

.rings:before {
  border-color: green green transparent transparent;
  z-index: -1;
}

.rings:after {
  border-color: transparent transparent green green;
}

.titles {
  font-size: 36px;
  font-weight: 700;
  transition: all 1s;
  top: 0;
}

.para {
  bottom: 0;
  font-size: 16px;
  padding: 20px;
  margin: 0;
  text-align: center;
}

.borders {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.5);
  height: 285px;
  width: 280px;
  transition: border 1s;
  overflow: hidden;
}

.slides {
  height: 285px;
  width: 290px;
  position: absolute;
  border: 1px solid black;
  bottom: -270px;
  background: rgba(0, 0, 0, 0.5);
  transition: bottom 1s;
  flex-direction: column;
}

.fa-plane {
  font-size: 16px;
}
/* Image style end*/

/* What makes komtech different starts */

.whyimg{
    border-radius: 10px;
}
.why-title {
  margin-top: 20px;
  color: var(--primary-color); /* Default color */
  transition: color 0.3s ease; 
}

.why-title:hover {
  color: green !important; /* Hover color */
}
.whyimg_1{
    height: 250px;
}
.whyimg_2{
    height:330px;
    width: 780px;
}
.whyimg_3{
    height: 250px;
    margin-top: -62px;
}
.whyimg_4{
    height: 200px;
}
.whyimg_5{
    height: 200px;
}

/* What makes komtech different starts */

.whyimg_1{
  height: 130px;
  width: 500px;
}
.whyimg_4{
  height: 220px !important;
  width: 400px;
}
.whyimg_5{
  height: 270px !important;
  width: 400px;
}
.whyimg_3{
  height: 220px !important;
  margin-top: 0px;
  width: 400px;
}
/* What makes komtech different end */

/* solution section start */

.bg {
  background-color: gray !important;
  height: 450px;
  width: 99.3vw; /* Full width of the viewport */
  position: relative; /* To prevent overflow */
  left: 50%; /* Centering it */
  right: 50%;
  margin-left: -50vw; /* Shift it back */
  margin-right: -50vw;
}

#cCarousel {
  position: relative;
  max-width: 900px;
  margin: auto;
}

#cCarousel .arrow {
  position: absolute;
  top: 50%;
  display: flex;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  z-index: 1;
  font-size: 26px;
  color: white;
  background: #00000072;
  cursor: pointer;
}

#cCarousel #prev {
  left: 0px;
}

#cCarousel #next {
  right: 0px;
}

#carousel-vp {
  width: 870px;
  height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: auto;
}

@media (max-width: 770px) {
  #carousel-vp {
    width: 510px;
  }
}

@media (max-width: 510px) {
  #carousel-vp {
    width: 250px;
  }
}

#cCarousel #cCarousel-inner {
  display: flex;
  position: absolute;
  transition: 0.3s linear;
  gap:25px;
  left: 0px;
}

.cCarousel-item {
  width: 290px;
  height: 340px;
  border: 2px solid white;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cCarousel-item img {
  width: 100%;
  object-fit: cover;
  min-height: 290px;
  color: white;
}

.cCarousel-item .infos {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  background: white;
  color: black;
}

.cCarousel-item .infos button {
  background: var(--primary-color);
  padding: 5px 9px;
  border-radius: 9px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  /* margin-left: 150px; */
}
.cCarousel-item .infos button:hover{
  background: green !important;
}
.infos h4{
  font-size: 18px;
  padding-top: 10px;
}
.infos h4 a{
  text-decoration: none; 
  color:black;
}
/* solution section end */

/* animation starts */

@keyframes appear {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.zoom {
  animation: appear 5s linear;
  animation-timeline: view();
  animation-range: entry 0% cover 33%;
}
/* animation end */

/* Map starts */

.map:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}
.btn:hover{
  background-color:var(--primary-color) !important;
}

/* End of the map */

/* Mobile view responsive starts */

@media (min-width:320px) and (max-width:480px){
  
  .carousel-item {
    height: 28vh !important;
  }
  .hero{
    margin: -50px 0px 0px 250px !important;
  }
  .hero2{
    margin: -60px 0px 0px 20px !important;
    font-size: 0.8rem !important;
  }
  .points {
    margin: -40px 0px 0px 0px !important;
  }
  .fa-arrow-right{
    margin-left: -80px !important;
  }
  .carousel-caption h2{
    font-size: 1rem;
  }
  .carousel-caption h3{
    font-size: 0.6rem;
  }
  p{
    text-align: justify;
    font-size: 16px !important;
  }
  h2{
    font-size: 22px !important;
  }
  .container-img{
    margin-left: 60px !important;
  }
  .cards {
    height: 250px;
    width: 200px;
  }
  .borders  {
    height: 240px;
    width: 190px;
  }
  .rings{
    font-size: 225px !important;
  }
  .card {
    height: 100px;
    margin-bottom: 2rem;
  }  
  .card img {
    width: 100px !important;
    height: 100px;
  }
  .card p {
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
  }
  .card p{
    font-size: 12px !important;
  }
  .date{
    font-size: 10px !important;
  }
  .card-content{
    margin-left: 100px !important;
  }
  .ag-courses_box {
    padding-bottom: 0px !important;
 }
 .ag-courses-item_link {
     padding: 20px 0px 0px 10px !important;
 }
 .ag-courses-item_title {
   padding: 0px;
   font-weight:bold;
   font-size: 16px;
 }
 .ag-courses_item{
  height:70px !important;
 }
 .ag-courses-item_bg {
   height: 110px;
   width: 128px;
 }
 .fa-hand-point-up{
      font-size: 16px;
 }
 .styled-video {
    height: 168px;
    width:86%;
    margin-left: 20px;
    margin-top: 0px !important;
 }
 .imgs{
  height:240px !important;
 }
 .team_section .box .img-box img {
  width: 70%;
  padding: 0px 50px 10px 50px !important;
  margin-left: 50px !important;
}
.team_section .team_carousel .owl-dots .owl-dot {
  width: 6px;
  height: 6px;
}
.line{
  display: none !important;
}
.in-house{
  margin-top: 10% !important;
}
.map{
  width:330px !important;
  height: 230px !important;
  margin-top:-2px !important;
}
.whyimg_2{
    height: 230px !important;
}
.whyimg_3{
    margin-top:16px !important
}
.whyimg_4{
  width:330px !important;
  height: 230px !important;
}
.whyimg_5{
  width:330px !important;
  height: 230px !important;
}
#cCarousel .arrow{
  display: none !important;
}
}

/* Mobile view responsive end */

/* Tablet view responsive starts */

@media (min-width:500px) and (max-width:1000px){

  .carousel-item {
    height: 40vh !important;
  }
  .hero{
    margin:-69px 0px 0px 550px !important;
  }
  .hero2{
    margin-top: -35px !important;
    font-size: 2.3rem;
  }
  .points{
    margin-top: -20px !important;
  }
  .carousel-caption h2{
    font-size: 2.3rem;
  }
  .carousel-caption h3{
    font-size: 1rem;
  }
  .ag-courses_item {
    margin-top: 40px !important;
  }
  .styled-video {
    width: 342px !important;
    margin-left: 140px !important;
 }
 .line{
  display: none !important;
}
.in-house{
  margin-top: -25% !important;
}
}

/* Tablet view responsive end */

/* Laptop view responsive start */

@media (min-width:1000px){
  .welcome{
    margin-top: -20% !important;
  }
  .in-house{
    margin-top: 2% !important;
  }
}

/* Laptop view responsive end */