/* css class*/
.topbar{
    background-color: #C11007;
    padding: 1rem;
}

.navbar{
    padding: 1rem;
    background-color: white;
}

.nav-link-color-margin{
    color: black;
    margin: 1rem;
    font-weight: bold;
}

.nav-link-color-weight{
  color: black;
  font-weight: bold;
  padding: 1rem;
  text-align: center;
  background-color: #f5efef;
}

.nav-link-color-weight2{
  color: black;
  font-weight: bold;
  padding: 1rem;
  text-align: center;
}

.section1{
    padding: 2rem;
    background-color: #EDEFF1;
}

.section1-subsection{
    text-align: center;
    margin-bottom: 1rem;
}

.section1-subsection h3{
    font-weight: 650;
    font-size: 3vw;
}

.dot1 {
  position: absolute;
  left: 5rem;
  bottom: 12rem;
  height: 9rem;
  width: 9rem;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  background-color: #afdaf7;
  opacity: 0.4;
}

.dot2 {
  position: absolute;
  left: 5rem;
  bottom: 11rem;
  height: 9rem;
  width: 9rem;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  background-color: #afdaf7;
  opacity: 0.4;
}

.dot3 {
  position: absolute;
  left: 5rem;
  bottom: 11rem;
  height: 9rem;
  width: 9rem;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  background-color: #afdaf7;
  opacity: 0.4;
}

  .dot4 {
    position: absolute;
    left: 5rem;
    bottom: 11rem;
    height: 9rem;
    width: 9rem;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    background-color: #afdaf7;
    opacity: 0.4;
  }

.section2{
    background-color: #cacdd1;
}

.section2 img{
    width: 100%;
}

.sect3-img img{
    width: 100%;
}

.sect3-img{
    padding-inline: 0rem;
    background-color: #EDEFF1;

}

.sect3-subsect{
    background-color: #C11007;
    padding:3rem;
}

.sect3-subsect h2{
    color: white;
}

.sect3-subsect p{
    font-size: 20px;
    color: white;
    text-align: justify;
}


.section4 {
  padding-inline: 2rem;
  padding-block: 4rem;
  background-color: #EDEFF1;
}

.section4-subsection{
  text-align: center;
  margin-bottom: 1rem;
}

.sect4-col-subsect{
    padding: 1rem;
}

.sect4-col-subsect h5{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.sect4-col-subsect p{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sect4-col-subsect a{
    text-decoration: none;
    color: #6e7070;
}

.sect4-button{
    text-align: center;
    margin: 2rem;
}

.sect4-button a{
    text-decoration: none;
    color: white;
    background-color: #C11007;
    padding: 1rem;
    font-size: 1rem;
}


.section4-subsection h3 {
  font-weight: 650;
  font-size: 3vw;
}


.col-margin-padding-sect1 {
  position: relative;
  margin: 2rem;
  padding-top: 4rem;
  width: 19rem;
  height: 23rem;
  border-radius: 5%;
  background-color: white;
  box-shadow: 10px 10px 10px #BBBEC0;
}

.col-margin-padding-sect1 img{
     position: absolute;
     left: 80px;
}

.col-margin-padding-sect4{
    margin: 2rem;
    padding: 1rem;
    width: 19rem;
    height: 27rem;
    background-color: white;
    border: 1px solid rgb(119, 122, 121);
    border-radius: 10px;
}


.heroContent{
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: white;
  }

.hero-button{
    background-color: #C11007;
    padding: 1rem;
    width: 1rem;
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.hero-h1{
  font-weight: 400;
  font-size: 3vw;
}

.hero-h1-sub{
  font-weight: 400;
  font-size: 2vw;
}

.carousel-h{
  height: 500px;
}

.pHero{
    font-size: 1vw;
}

.sect3-button{
    background-color: #f5f6f8;
    color: #0e0e0e;
    text-decoration: none;
    padding-inline: 30px;
    padding-block: 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
}



.sect5{
    background-image: url('../images/home/sect6.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 9rem;
    padding: 1rem;
}

.sect5-subsect{
    background-color: rgb(233, 237, 240);
    width: 100%;
    height: 100;
    padding: 2rem;
    opacity: 0.5;
    position: relative;
}

.sect5-subsect a {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  text-decoration: none;
  color: white;
  background-color: #C11007;
  padding: 1rem;
  font-size: 1rem;
}

.footer-section{
    padding: 2rem;
    margin: 0px;
}


.footer-section p{
    text-align: justify;
}



.footer-col-heading{
    color: #C11007;

}

.footer-section-links li{
    list-style-type: none;
}

.footer-section-ul{
    padding-left: 0rem;
}

.footer-section-links a{
    text-decoration: none;
    color: black;
    margin-block: 1rem;
    font-size: 1rem;

}

.footer-section-newsLetter{
    padding: 1rem;
}

.footer-section-textfield{
    position: relative;
}

.footer-section p{
    text-align: justif;
}

.textfield-icon {
  position: absolute;
  right: 0rem;
  top: 1rem;
  color: #C11007;
  font-size: 1.5rem;
}

.bottom-bar{
    background-color: #C11007;
    padding: 1rem;
}

.bottom-bar-element{
    color: white;
}

#bottom-bar-element-1{
    margin-left: 1rem;
}


.about-sect1{
    padding: 0rem;
}

  .about-sect1-img{
    height: 27rem;
}

  .about-sect1-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3vw;
    font-weight: 500;
  }

  .about-sect1-text2 {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
  }

  .about-section2{
    margin: 0rem;
  }

  .about-section2 h1{
   text-align: center;
  }

  .about-sect2-col{
    padding: 2rem;
  }

  .about-sect2-col p{
    text-align: justify;
    font-size: 18px;
  }

    .about-sect2-col img{
    margin-top: 0rem;
  }

  .about-sect2-col h1{
    font-weight: 700;
    font-size: 3rem;
    text-align: center;
  }

  .about-sect2-button {
    background-color: #10999d;
    color: white;
    text-decoration: none;
    padding-inline: 2rem;
    padding-block: 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1rem;
}

  .about-section3 {
    padding: 1rem;
    background-color: #C11007;
    background-size: cover;
  }

  .about-section3-col{
    padding: 3rem;
  }

  .about-section3-col h1{
    color: white;
  }

  .about-section3-col p{
    color: white;
    font-size: 1rem;
  }

  .about-sect3-button{
    background-color: white;
    color: #10999d;
    text-decoration: none;
    padding-inline: 1rem;
    padding-block: 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1rem;
  }

  .about-section3-space{
    border-right-style: 5px solid white;
  }

  .about-section4 {
    padding: 2rem;
  }

  .about-section4 h1{
    text-align: center;
    font-weight: 700;

  }

  .about-section4 h4{
    text-align: center;
    font-style: italic;

  }

  .about-sect4-col {
    padding: 2rem;
  }

  .about-sect4-col h2{
    font-weight: 700;
  }

  .about-section4-list{
    font-size: 1.4rem;
  }

  .evisa-sol-section2 {
    padding: 5rem;
  }

  .evisa-sol-section2 h1{
    font-weight: 700;
  }

  .evisa-sol-section2-col {
    padding: 1rem;
    font-size: 20px;
    text-align: justify;
  }

  .evisa-sol-section2-list li {
    margin: 1.4rem;
  }

  .evisa-sol-section3{
    padding-inline: 9rem;
    padding-block: 4rem;
    background-color: #EDEFF1;
  }

.evisa-sol-col-margin-padding-sect3 {
    margin: 4rem;
    padding: 0rem;
    width: 21rem;
    height: 33rem;
    background-color: #EDEFF1;
    box-shadow: 1rem 1rem 1rem #BBBEC0;
}

.ss-sect2-col {
  margin: 2rem;
  padding-top: 4rem;
  width: 20rem;
  height: 24rem;
  background-color: #F8F9F9;
  border-radius: 5%;
  box-shadow: 2px 2px #BFC9CA;
}


.ss-sect2-img {
  position: relative;
  left: 5rem;
  top: 1rem;
}

.ss-sect2 {
  padding-inline: 0rem;
  padding-block: 2rem;
  margin-inline: -1rem;
}



.ss-sect3 {
  background-color: #EDEFF1;
  padding-left: 9rem;
  padding-block: 1rem;
}

.ss-sect3-col{
  padding: 2rem;
  margin: 2rem;
}

.ss-section4{
  background-color: #cacdd1;
}

.cu-section2{
  padding: 5rem;
}

.cu-col {
  padding: 4rem;
  background-color: #C11007;
  border-radius: 2rem;
}

.gear-icon {
  transform-origin: center;
  animation: spinGear 3s;
}

@keyframes spinGear {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

.our-working-process{
  text-align: center;
  padding: 5rem;
  background-color: #e0e5e9;
}


.carousel-control-next{
  right: 0px !important;
  color: #6e7070;
}

.carousel-control-prev{
  left: 0px !important;
  color: #6e7070;
}

.our-services{
  text-align: center;
  font-weight: 650;
  font-size: 3vw
}

.our-clients{
  text-align: center;
  font-weight: 650;
  font-size: 3vw;
  padding-bottom: 2rem;
}

.client-list-row{
  padding: 5rem;
}

.client-list-container-mobile{
  display: none;
}

.client-list-col{
  padding-inline: 8rem;
}

body{
  overflow-x: hidden;
  /* background-color: #bfbfc9; */
}

.sbtn{
  border: none;
  background: none;
}

.product-links{
  text-decoration: none;
  color: black;
  font-size: 1.2rem;
}

.post{
  padding: 3rem;
}

.post-img{
  width: 40%;
  height: 400px;
  float: inline-start;
}

.mobile{
  display: none;
}

.client{
  display: none;
}

.ss-sect2-col-product {
  margin-left: 7rem;
  padding: 1rem;
  width: 11rem;
  height: 12rem;
  background-color: #e7eded;
  box-shadow: 2px 2px #BFC9CA;
}

.next-p, .prev-p {
  width: 2rem;
  margin: -2rem;
  filter: invert(100%);
}

.ci-p{
    filter: invert(50%);
}

.post-text{
    font-size: 20px;
}

.dashboard-title{
  color: white;
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
}

.logout-link{
  color: white;
  font-size: 1.5rem;
  text-align: right;
}

.card { border: none;
  border-radius: 15px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.icon-box {
  font-size: 30px;
  padding: 15px;
  border-radius: 50%;
  color: #fff;
  display: inline-block;
}

.login-error{
  color: red;
  text-align: center;
}

.login-button{
  display: inline-block;
  width: 100%;
  padding: 0.7rem 1.2rem;
  background-color: #C11007;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 10px 18px rgba(16, 153, 157, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-image 0.2s ease;
}

.login-button:hover,
.login-button:focus {
  background-color: #C11007;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(16, 153, 157, 0.24);
}

.login-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 14px rgba(16, 153, 157, 0.18);
}

.product-card-text{
    position:relative;
    left: 1px;
    bottom: 20px;
    text-align: center;
    margin-top: 20px;
    padding-inline: 20px;
  }

.product-card-text a{
    font-size: 20px;
    font-weight: 500;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    transition: 0.3s;
    border-radius: 12px;
    border: 2px solid rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Icon Colors */
.icon-carousel { color: #0d6efd; }
.icon-logo { color: #6610f2; }
.icon-featured { color: #6f42c1; }
.icon-category { color: #fd7e14; }
.icon-product { color: #198754; }
.icon-services { color: #20c997; }
.icon-about { color: #0dcaf0; }
.icon-vision { color: #d63384; }
.icon-location { color: #dc3545; }
.icon-map { color: #6c757d; }
.icon-topbar { color: #ffc107; }
.icon-bottombar { color: #adb5bd; }
.icon-client { color: #0d6efd; }
.icon-blog { color: #198754; }
.icon-footer { color: #212529; }

 td iframe {
        width: 100% !important;
        height: 100px !important;
        border: 0;
    }

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 999;
}

.carousel-title{
  text-align: center;
  padding: 1rem;
}

/* Container spacing */
.carousel-table-container {
    padding: 0px;
}

/* Table base */
.carousel-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Header */
.carousel-table thead {
    background-color: #212529;
    color: #fff;
}

.carousel-table th {
    padding: 14px;
    font-weight: 600;
    font-size: 14px;
}

/* Body cells */
.carousel-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

/* Row hover */
.carousel-table tbody tr {
    transition: all 0.2s ease;
}

.carousel-table tbody tr:hover {
    background-color: #f1f3f5;
}

/* Alternate rows */
.carousel-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

/* Image styling */
.carousel-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 3px;
    background: #fff;
}

/* Status badges */
.status-active {
    background-color: #198754;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status-inactive {
    background-color: #dc3545;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Buttons spacing */
.carousel-table .btn {
    padding: 5px 10px;
    font-size: 13px;
    margin: 2px;
}



/* ===================== RESPONSIVE CLASSES ===================== */

/* Mobile Devices (≤600px) */
@media only screen and (max-width: 600px) {

  .textfield-icon {
    position: absolute;
    right: 5rem;
    top: 1rem;
    color: #118d68;
    font-size: 1.5rem;
  }

  .card {
    transition: 0.3s;
    border-radius: 12px;
    border: 2px solid #bec5cc;
    margin-bottom: 20px;
}

  .sect3-button {
        background-color: #f5f6f8;
        color: #0d8a75;
        text-decoration: none;
        padding-inline: 24px;
        padding-block: 10px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1rem;
  }

  .sect5-subsect a {
    display: none;
  }

  body{
      margin-right: 0px;
  }

  .logo{
    width: 75%;
    height: 30%;
  }

  .carousel .carousel-item {
    height: 400px;
  }

  .carousel-item-image {
      position: absolute;
      object-fit: cover;
      top: 0;
      left: 0;
      min-height: 500px;
  }


  .heroContent{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
    }

  .hero-button{
      background-color: #10999d;
      padding: 1rem;
      width: 1rem;
      color: white;
      font-size: 1rem;
      text-decoration: none;
  }

  .hero-h1{
    font-weight: 400;
    font-size: 1.5rem;
  }

  .hero-h1-sub{
    font-weight: 400;
    font-size: 1rem;
  }

  .carousel-h{
    height: 500px;
  }

  .pHero{
      font-size: 0.7rem;
  }

  .our-services{
    text-align: center;
    font-weight: 650;
    font-size: 6vw
  }

  .services-title-mobile{
    font-size: 156%;
  }

  .services-content-mobile{
    display: none;
  }

  .ss-sect2-col {
    margin: 1rem;
    padding: 0rem;
    width: 10rem;
    height: 12rem;
    background-color: #F8F9F9;
    /*box-shadow: 2px 2px #BFC9CA;*/
  }

  .ss-sect2-img {
    position: relative;
    left: 2rem;
    top: 1rem;
    width: 60%;
    height: 50%;
  }

}

/* Tablet Devices (≤768px) */
@media only screen and (max-width: 768px) {

  .textfield-icon {
    position: absolute;
    right: 2rem;
    top: 1rem;
    color: #118d68;
    font-size: 1.5rem;
  }

  .sect5-subsect a {
    display: none;
  }

  .carousel-img {
        width: 50px;
        height: 50px;
    }

    .carousel-table th,
    .carousel-table td {
        font-size: 12px;
        padding: 8px;
    }

  .section1-subsection h3,
  .section4-subsection h3,
  .our-services,
  .our-clients {
    font-size: 6vw;
  }

  .col-margin-padding-sect1 {
    width: 100%;
    height: 300px;
    margin: 1rem;
  }


  .col-margin-padding-sect4 {
        width: 80%;
        height: auto;
        margin: 2.5rem;
  }

  .col-margin-padding-sect1 img {
    position:relative;
    left: 1px;
    bottom: 57px;
    display: block;
    margin: 6px;
    width: 112px;
    height: 100px;
  }

  .product-card-text{
    position:relative;
    left: 1px;
    bottom: 229px;
    text-align: center;
    margin-top: 20px;
    padding-inline: 10px;
  }

  .product-card-text a{
    font-size: 15px;
  }

  .sect3-subsect {
    padding: 1.5rem;
  }

  .sect3-subsect p {
    font-size: 14px;
  }

  .section4 {
    padding-inline: 1rem;
  }

  .client-list-row {
    padding: 1rem;
  }

  .client-list-col {
    padding-inline: 1rem;
  }

  .post-img {
    width: 100%;
    height: auto;
    float: none;
  }

  .heroContent {
    left: 50%;
    width: 90%;
    text-align: center;
  }

  .hero-button {
    width: auto;
    padding: 0.8rem 1.2rem;
  }

  .post {
    padding: 0;
  }

  .evisa-sol-section2 {
    padding: 1rem;
  }

  .cu-section2 {
    padding: 2rem;
  }

  .p-5 {
    padding: 1rem !important;
  }

  .about-sect1-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3vw;
    font-weight: 500;
  }

  .about-sect1-text2 {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
  }
}

/* Large Mobile Devices (≤1024px) */
@media only screen and (max-width: 1024px) {

  .sect5-subsect a {
    display: none;
  }

  .navbar {
    padding: 0.5rem;
  }

  .nav-link-color-margin {
    margin: 0.5rem;
    font-size: 0.9rem;
  }

  .section1 {
    padding: 2.5rem;
  }

  .sect3-img img {
    height: auto;
  }

  .sect4-col-subsect h5,
  .sect4-col-subsect p {
    white-space: normal;
  }

  .ss-sect2-col {
        width: 80%;
        height: 300px;
        margin-inline: 14%;
  }

  .ss-sect2-img {
    left: 0;
    display: block;
    margin: auto;
  }

  .evisa-sol-section3 {
    padding-inline: 2rem;
  }

  .client-list-container-mobile {
    display: block;
  }

  .client-list-container-desktop {
    display: none;
  }
}





