@font-face {
    font-family: 'freight-italic';
    src: url(fonts/frieght/Freight\ Big\ Pro\ Light\ Italic.otf)
}

@font-face {
    font-family: 'freight-bold-pro';
    src: url(fonts/frieght/freight\ big\ pro\ bold.otf)
}

@font-face {
    font-family: 'freight-black';
    src: url(fonts/frieght/Freight\ Big\ Pro\ Medium.otf)
}

@font-face {
    font-family: Neue;
    src: url(./fonts/NeueHaasDisplayMediu.ttf)
}

@font-face {
    font-family: Neuer;
    src: url(./fonts/NeueHaasDisplayRoman.ttf)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html,
body {
    height: 100%;
    width: 100%;
    color: #1a1a1a;
    height: calc(var(--vh, 1vh) * 100);
    scroll-behavior: smooth
}

#main {
    overflow: hidden;
    position: relative;
    background-color: #fff
}

#services-categories {
    color: black !important
}

#services-categories .container {
    align-items: center;
    justify-content: center;
    padding-top: 3vw;
    justify-content: center
}

.header {
    height: 62% !important;
    width: 100%;
    overflow: hidden
}

.image-slider {
    height: 100%
}
.swiper-wrapper {
    justify-content: center;
    padding-left: 7vw;
}
.slider-wrapper {
    display: flex;
    transition: transform 1s ease-in-out
}

.slider-slide {
    min-width: 100%;
    height: 65% !important;
}

.image-slider img {
    width: 100vw;
    height: 70vh;
    margin-top: 3vw;
}

#services-categories .header {
    text-align: center;
    height: 70% !important;
}

#services-categories .header h2 {
    font-size: 32px;
    font-family: freight-italic;
    font-size: 3vw;
    text-transform: uppercase;
    padding-top: 3.5vw
}

#services-categories .header p {
    font-family: freight;
    font-size: 1.2rem;
    padding: 2vw 0;
    border-bottom: 1px solid #2b2b2b
}

#service-cate-con {
    min-height: 100vh
}

.categories-menu {
    display: flex;
    justify-content: center;
    text-align: center;
    background: #030303;
    padding: 2vw
}

.categories-menu li {
    text-decoration: none;
    cursor: pointer;
    padding: 8px 15px;
    font-weight: 500;
    border-bottom: 2px solid #fff0;
    transition: all 0.3s ease
}

.categories-menu ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 15px;
    flex-wrap: wrap
}

.categories-menu ul a {
    text-decoration: none;
    font-size: 1vw;
    font-family: 'freight-black';
    text-decoration: none;
    letter-spacing: 2px;
    color: #e1e1e1;
    font-weight: 500;
    padding: 8px 15px;
    border-bottom: 2px solid #fff0;
    transition: color 0.3s, border-color 0.3s
}

.categories-menu li.active,
.categories-menu li:hover {
    border-bottom: 2px solid #f8c463f2
}

.categories-menu li a.active,
.categories-menu li a:hover {
    color: #ffc800
}

@media (min-width:768px) {
    .categories-p3 {
        display: none
    }
    .header {
        height: 40%;
    }
}

#contact-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgb(0 0 0 / .2);
    border-radius: 2px;
    display: none;
    z-index: 1000;
    text-align: center
}

#contact-modal .contact-content h2 {
    margin-bottom: 20px;
    font-size: 1.7rem;
    color: #333
}

#contact-modal p {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #555
}

#contact-modal #close-btn,
.close-form {
    margin-top: 15px;
    padding: 8px 24px;
    font-size: 16px;
    border: none;
    background-color: #1382e9;
    color: #fff;
    border-radius: 5px;
    cursor: pointer
}

#contact-modal #close-btn:hover,
.close-form:hover {
    background-color: #0d46e360
}

#services-categories .menu-item {
    cursor: pointer
}

.content-section {
    font-family: ' math , Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #151515;
    padding: 4vw 4vw 10vw 4vw
}

.content-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0)
}

.content-section h2 {
    margin-bottom: 25px;
    font-size: 3rem;
    font-family: 'freight-bold-pro';
    padding: .7vw 0;
    border-bottom: 1px solid grey;
    display: inline
}

.content-section p {
    font-family: system-ui;
        font-size: 1.2rem;
    padding: 1.8vw 0
}

.img-flex img {
    transition: width 0.3s ease
}

.img-flex.clicked img,
.item.clicked img {
    position: fixed;
    top: -32px;
    border-radius: 1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / .8);
    justify-content: center;
    align-items: center
}

.image-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem 0;
    }

.image-row .item {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center
}

.image-row .item p {
    margin: 0 5vw;
    text-align: center;
    padding: 1vw 0
}

.img-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2vw 0;
}

.img-flex button,
.image-row .item button ,.service-img-btn ,.service-img-btn ,.service-qoute-btn{
    cursor: pointer;
    padding: 10px 24px;
    font-size: 14px;
    color: #e9e9e9;
    margin: 6px 20px 0 0;
    transition: all 0.3s ease;
    border: none;
    background-color: #3275D6
}

.img-flex button:hover {
    background-color: rgb(24 76 172 / .727);
    transform: translateY(-5px)
}

.image-row img,
.image-row video {
    transition: all ease 0.2s;
    border-radius: 21px;
    height: 18vw;
    width: 27vw;

    margin: 2vw 0 2vw 0
}

.image-row img:hover {
    opacity: 0.7;
    border-color: #333
}

#services-hero {
    position: relative;
    height: 100vh;
    overflow: hidden
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #000
}

#services-grid {
    padding: 5rem 2rem;
    background-color: #f1f3f5;
    text-align: center
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    padding: 0 6rem
}

.section-title {
    color: #000;
    padding: 1vw 0 3vw 0;
    font-family: 'freight-italic';
    font-size: 3.5rem
}

.section-sub-title {
    font-size: 1.5rem;
    margin: 3rem 0;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    text-transform: capitalize;
    text-align: justify;
    padding: 1rem 6rem;
    line-height: 3rem
}

.service-box {
    padding: 2rem;
    background: #030303;
    color: #fff;
    border-radius: 2px
}

.service-box h3 a,
.service-box h3 {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    padding: 1rem 0
}

.service-box img {
    width: 100%;
    height: 60%;
    object-fit: contain;
    border-radius: 4px;
    padding-bottom: 2vw
}

#full-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden
}

#full-video-section video {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgb(0 0 0 / .5);
    padding: 2rem;
    border-radius: 8px
}

#testimonial-main {
    height: 100vh;
    width: 100%;
    background-color: #f1f3f5;
    color: #000
}

#testimonial {
    margin: 4vw 0;
    height: 50vh;
    width: 100%
}

#testimonial-main h2 {
    text-align: center;
    padding: 6vw 0 1.5vw 0;
    font-size: 5rem;
    border-bottom: 1px solid #6c6c6c;
    font-family: 'freight-black'
}

.swiper {
    width: 100%;
    height: 100%
}

.swiper-wrapper .swiper-slide {
    text-align: center;
    font-size: 18px;
    border-right: 1px solid #474747;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 4vw;
    width: 35% !important;
    height: 60%;
    padding: 8vw;
    margin-top: 7vw
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

/*  */
/* CSS FOR JSON PRODUC SIGNAGE */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .container-2{
    margin: 4vw;
  }
  .product-view {
      display: flex;
      gap: 8vw;
      padding: 3vw;
      /* margin-top: 6vw; */
      align-items: flex-start;
  }
  .product-view img {
    width: 35vw;
    margin-bottom: 20px;
  }
  .product-grid {
    margin-left: 2vw;
    border-top: 1px solid #c0c0c0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2vw;
    width: 100%;
  }
  .product-card {
    /* border: 1px solid #ddd; */
    padding: 40px 10px 10px 10px;
    cursor: pointer;
  }
  .product-card img {
    max-width: 100%;
    height: 14vw;
    width: 21vw;
    object-fit: cover;
    margin-top: 4vw;
    margin-bottom: 1.3vw;
  }
  .details {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
    }
    .details-2{
    margin-top: 2vw;

}
  .details span {
    /* font-family: 'Lato', 'sans-serif'; */
    display: block;
    margin: 5px 0;font-size: 1rem;
  }
  .details .name{
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.3rem;
    /* color: #3d3d3d; */
  }
  .details .price{
font-size: 1.2rem;
  }
  .details .name-2 {
    font-size: 2.2vw;
    text-transform: uppercase;
    margin: 14px 0 14px 0;
  }
  .details .price-2 {
font-size: 2rem;
  }
  .details .desc-2 {
    font-size: 1rem;

  }
  .details .warranty-2 {
    font-size: 1rem;

  }
  .thumbnail-container {
    width: 12vw;
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.thumbnail-flex{
  display: flex;
  flex-direction: column;
}
.thumbnail {
height: 5vw;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s;
}
.thumbnail-image-con {
    position: relative;

    overflow: hidden; /* Hides the overflowing part of the image */
  }
.thumbnail:hover {
  transform: scale(1.1);
}

.main-image-container img {
  max-width: 100%;
  border: 2px solid #ddd;
  border-radius: 2px;
  /*  */
  object-fit: cover;
  transition: transform 0.2s ease-in-out;
  transform-origin: center center;
}
  .whatsapp-button {
    display: inline-block;
    display: flex;
    align-items: center;
    margin: 1vw 0;
    padding: 10px 20px;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 2px;
  }
  .reviews {
    margin-top: 10px;
  }
/*  */

#service-cate-main{
    color: black;
    background-color:aliceblue;
}
#service-cate-main .content-section{
    background-color: aliceblue;
    color: black;
}
.categories-p2{
background-color: rgba(0, 0, 0, 0);
padding: 0;
}
.categories-p2 ul li a{
color: rgb(0, 0, 0);
}
/* Hide the form initially */
.form-container {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 2vw;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
border-radius: 10px;
z-index: 1000;
animation: fadeIn 0.3s ease-in-out;
}

/* Backdrop overlay for the modal */
.modal-backdrop {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 999;
}

/* Fade-in animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translate(-50%, -60%);
}
to {
opacity: 1;
transform: translate(-50%, -50%);
}
}



@media (max-width:768px) {
    .image-slider img {
        margin: 0;
        height: 40%;
    }

    #services-categories .header {
        padding-top: 18vw
    }

    #services-categories .header-p1 {
        padding: 0
        
    }
    .thumbnail-container {
        width: 22vw;
    }
    .thumbnail{
        height: 20vw;
    }
    .img-flex {
        margin: 0vw 0;
        gap: 0vw;
        flex-direction: column;
        width: 80vw
    }

    .img-flex button {
        font-size: 10px
    }

    #services-categories .header h2 {
        font-size: 2.5rem
    }

    #services-categories .header p {
        font-size: 1rem;
        padding: 1vw 0
    }
    .header {
        height: 22% !important;
    }
    .categories-menu ul {
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: column
    }

    .categories-menu li {
        padding: 5px 10px;
        font-size: .9rem
    }

    .content-section h2 {
        font-size: 2.5rem
    }

    .content-section p {
        font-size: 1.2rem;
        line-height: 1.8rem
    }

    .image-row img {
        margin: 1rem;
        border-radius: 15px;
        width: auto;
        height: 50%
    }

    .image-row {
        grid-template-columns: repeat(1, 1fr);
        justify-items: center !important
    }

    .hero-content {
        padding: 10px;
        font-size: 1rem
    }
    .product-view {
        flex-direction: column;
        gap: 0;
        /* margin-top: 9vw; */
    }
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem
    }
    .product-grid{
        grid-template-columns: repeat(1,1fr);
justify-items: center;
    }

    .section-title {
        font-size: 3rem
    }

    .section-sub-title {
        font-size: 1.5rem;
        padding: 0 2rem;
        line-height: 2rem
    }

    .service-box {
        padding: 2rem 1rem;
        margin: 2rem 1rem
    }

    #full-video-section video {
        border-radius: 10vw
    }

    .overlay-content {
        padding: 1rem
    }

    #testimonial-main h2 {
        font-size: 3rem;
        padding: 3vw 0 1vw 0
    }

    .swiper-wrapper .swiper-slide {
        width: 80% !important;
        height: auto;
        padding: 5vw
    }

    .service-btn {
        font-size: 10px !important;
        margin: 3vw 0;
        border: none
    }

    .image-row .item {
        white-space: pre-wrap
    }

    .image-row .item h1 {
        font-size: 1rem;
        padding: 2rem 0
    }

    .image-slider img {
        padding-top: 58vw;
        padding-top: 11vw
    }
    /*JSON RESO]PONSIVW CSS  */
    .product-view img {
    width: 82vw;
    margin: 1vw 0;
}
.product-card img {
    max-width: 100%;
    height: 200px;
    width: 75vw ;
}
    
}

@media (max-width:600px) {
    #services-categories .header {}

    #services-categories .header h2 {
        font-size: 2rem;
        line-height: 1.2;
        padding-bottom: 1.5rem
    }

    #services-categories .header p {
        font-size: .9rem;
        padding: 1vw 0
    }

    .categories-p1 ul {
        gap: 4px;
        flex-direction: column;
        display: block
    }

    .categories-p2 ul {
        gap: 4px;
        flex-direction: column;
        display: none
    }

    .categories-menu {
        padding-bottom: 4rem;
        background-color: #fff
    }

    .categories-p3 {
        background-color: #f1f7ff;
        margin-top: -16vw
    }

    .categories-menu li {
        padding: 4px 8px;
        font-size: .8rem
    }

    .categories-menu ul a {
        font-size: 1.2rem;
        color: #000
    }

    .content-section h2 {
        font-size: 2rem
    }

    .content-section p {
        font-size: 1rem;
        line-height: 1.7rem
    }

    .image-row img,
    .image-row video {
        margin: 5rem 0 1rem 0;
        border-radius: 2px;
        width: auto;
        height: 55vw
    }

    #testimonial {
        margin-top: 7rem
    }

    .hero-content {
        padding: 5px;
        font-size: .9rem
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: .5rem;
        padding: 0
    }

    .section-title {
        font-size: 2.2rem
    }

    .section-sub-title {
        font-size: 1rem;
        padding: 0 1rem;
        line-height: 1.8rem
    }

    .service-box {
        padding: 5.5rem 1rem;
        margin: 1.5rem .5rem
    }

    .service-box h3 {
        font-size: 1.5rem;
        padding: 1rem 0
    }

    #full-video-section video {
        border-radius: 8vw
    }

    .overlay-content {
        padding: -.5rem
    }

    #testimonial-main h2 {
        font-size: 2.2rem;
        padding: 10vw 0;
    }

    .swiper-wrapper .swiper-slide {
        height: 14vh;
        padding: 8vw;
        margin-top: 31vw
    }
}

