/*DEVICES HERO STYLE SECTION*/
.devices-hero-section{
    position: relative;

    width: 100%;
    height:68vh;

    margin-top: 82px;
    padding: 0;
    margin-bottom: 0;
}

.devices-hero-img-div{
    width: 100%;
    height: 100%;
}

#devices-hero-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

.serv-dev-hero-image-title{
    font-size: 58px;
    font-weight: 700;

    color: black; 
    text-shadow: 0 0 3px black;
    
    background-color: white; 
      
    position: absolute;
    top: 50%;
    left: 50%;

    width: 37%;
    height: 11%;

    margin-left: -18.5%;
    margin-top: -5.5%;

    text-align: center;
}

/* For small devices (up to 600px) */
@media screen and (max-width: 600px) {
    .serv-dev-hero-image-title{
        font-size: 40px;

        width: 400px;
        height: 50px;
    
        margin-left: -200px;
        margin-top: -25px;
    }

}

/* For medium devices (601px to 1024px) */
@media screen and (min-width: 601px) and (max-width: 1024px) {
    .serv-dev-hero-image-title{
        font-size: 50px;

        width: 480px;
        height: 60px;
    
        margin-left: -240px;
        margin-top: -30px;

    }

}

/* For medium to large devices (601px to 1024px) */
@media screen and (min-width: 1025px) and (max-width: 1500px) {
    .serv-dev-hero-image-title{
        font-size: 55px;

        width: 550px;
        height: 66px;
    
        margin-left: -275px;
        margin-top: -33px;

    }

}
/*END OF DEVICES HERO STYLE SECTION*/

/*SERVICES SECTION*/

.services-flex-div{
    display: flex;
    flex-direction: row;
    
    gap: 150px;
    justify-content: center;

    margin-left: 100px;
    margin-right: 100px;

    margin-bottom: 240px;
}

.services-flex-div-2{
    margin-bottom: 200px;
}

.services-div{
    position: relative;
    width: 40%;
    height: 300px;

    border-radius: 10px;

    object-fit: cover;

    display: inline-block;
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.services-div:hover{
    transform: scale(1.05);
}

.services-child{
    position: absolute;

    left: 50%;
    margin-left: -42.5%;
    top: 80%;

    width:85%;
    height: 220px;
    background-color: white;
    box-shadow: 0 2px 4px rgb(41, 41, 48);
    
    border-radius: 10px;
    padding-top: 20px;
}

.service-icons-div{
    position: absolute;
    left: 50%;
    
    
    top: 80%;
    
    margin-top: -22.5px;
    
    margin-left: -22.5px;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    

    background-color:white;
    opacity: 1;

    

    border: 2px solid black;
    padding: 5px;

 
}

.icon-imgs{
    width: 100%;
    height: 100%;
}

.services-imgs-div{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-imgs{
    width: 100%;
    height: 100%;

    border-radius: 10px;     
}

.services-info-main{
    position: relative;
}

.services-title{
    text-align: center;

    font-weight: 550;
    font-size: 20px;
    color: #37517e;

    margin-bottom: 10px;
    margin-top: 35px;
    padding: 0 25px 0 25px;
}

.services-desc{
    line-height: 24px;
    font-size: 13px;
    font-weight:500;

    color: #444444;

    text-align: justify;

    padding: 0 25px 0 25px;
}

/* For small devices (up to 600px) */
@media screen and (max-width: 600px) {
    .services-flex-div{
        flex-direction: column;
        
        gap: 260px;
    
        margin-left: 40px;
        margin-right: 40px;
    
        margin-bottom: 260px;
    }
    
    .services-flex-div-2{
        margin-bottom: 200px;
    }
    
    .services-div{
        width: 100%;
        height: 300px;
    }
    
    .services-child{
        height: 270px;
    }
}

/* For medium devices (601px to 1024px) */

@media screen and (min-width: 601px) and (max-width: 700px){
    .services-flex-div{
        flex-direction: column;
        
        gap: 260px;
    
        margin-left: 100px;
        margin-right: 100px;
    
        margin-bottom: 260px;
    }
    
    .services-flex-div-2{
        margin-bottom: 200px;
    }
    
    .services-div{
        width: 100%;
        height: 300px;
    }
    
    .services-child{
        height: 250px;
    }
}


@media screen and (min-width: 701px) and (max-width: 800px){
    .services-flex-div{
        flex-direction: column;
        
        gap: 260px;
    
        margin-left: 85px;
        margin-right: 85px;
    
        margin-bottom: 260px;
    }
    
    .services-flex-div-2{
        margin-bottom: 200px;
    }
    
    .services-div{
        width: 100%;
        height: 300px;
    }
    
    .services-child{
        height: 230px;
    }
}

@media screen and (min-width: 801px) and (max-width: 1200px){
    .services-flex-div{      
        gap: 80px;
    
        margin-left: 40px;
        margin-right: 40px;
    
        margin-bottom: 340px;
    }
    
    .services-flex-div-2{
        margin-bottom: 270px;
    }
    
    .services-div{
        width: 80%;
        height: 270px;
    }
    
    .services-child{
        height: 340px;
    }
}

/*END SERVICES SECTION*/

/*DEVICES FILTER SECTION*/

.filterDiv {
    display: none;
}
  
/*
.show {
    display: block;
}

.device-menu-div{
    display:flex;
    gap: 23px;
    justify-content: center;
    
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white; 

    margin-top: 15px;

}
    */

/**************************************************NEW CODE***********************************************/
.navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #fff;
    padding: 10px 0;
    position: relative;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.arrow {
    cursor: pointer;
    color: white;
    font-size: 25px;
    font-weight:800;
    padding: 5px 10px;
    background: #37517e;
    border: none;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    z-index: 10;
}
.arrow-left {
    left: 0;
    padding-right: 15px;
}
.arrow-right {
    right: 0;
    padding-left: 15px;
}
.nav-wrapper {
    overflow: hidden;
    flex-grow: 1;
    position: relative;
    padding: 0 60px 0 10px;/* To avoid content overlap with arrows */ 
}
.nav-links {
    display: flex;
    transition: transform 0.3s ease-in-out;
    white-space: nowrap;
    padding-left: 40px; /* Ensure space so buttons don't overlap left arrow */
    padding-right: 40px; /* Ensure space so buttons don't overlap right arrow */
    gap: 10px;
}
.btn {
    display: inline-block;
     /*
    padding: 10px 20px;
   
    color: black;
    */
    text-decoration: none;
    /*
    background: #f0f0f0;
    */
    margin: 0 5px;
    /*
    border: 1px solid #ccc;
    */
    cursor: pointer;
    width: 200px;
}
/*
.btn:hover, .btn.active {
    background: #ddd;
}
    */
/**************************************************END OF NEW CODE***********************************************/

.all-devices-div{
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    
    row-gap: 70px;
    overflow: hidden;
    margin-top: 80px;
    padding-bottom: 50px;
    
    justify-items: center;
}

.all-devices{
    width: 80%;
    height: 300px;
    
    border-radius: 8%;
    
    background-color:white;
    
    transition: height 0.3s ease, transform 0.3s ease;
    overflow: hidden;
    
    box-shadow: 0 8px 10px rgb(108, 108, 198);

}

.device-image-div{
    padding: 15px 0 15px 0;

    position: relative;

    background-color: #7393B3;
    
}

.device-image-div img{
    width: 50%;
    height: 50%;
    object-fit:contain;
    transition: transform 0.3s ease;

    position: relative;
    left:50%;
    margin-left:-25%;
}

.device-image-div:hover img {
    transform: scale(1.1);
    
}

.device-text{
    text-align: center;
    padding: 0 10px 0 10px;
    font-family: "Jost", sans-serif;
}   

.device-heading{
    margin-top: 15px;
    font-size: 20px;
    color: #37517e;
    font-weight: bold;
}

.device-icons{
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 35px;
}

.all-devices.expanded {
        height: 400px; /* Expanded fixed height */
    }

.info-icon {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: fill 0.3s ease, stroke 0.3s ease;
}

.info-icon.unfilled {
    fill: none;
    stroke: blue;
}
.info-icon.filled {
    fill: blue;
}
.info-icon .icon-content {
    stroke: blue; /* Default color for the "i" */
}
.info-icon.filled .icon-content {
    stroke: white; /* White "i" when filled */
}

.extra-content {
        display: none;
        margin-top: 15px;

        font-size: 16px;
        color: #848484;
        
        display:none;
    }

.all-devices.expanded .extra-content {
        display: inline-block; /* Show additional content when expanded */
    }

/*
.cart-icon{
    width: 28px;
    height: 28px;
    cursor: pointer;
    fill: grey;
    transition: fill 0.3s ease;
}

.cart-icon.added {
    fill: green; 
}

.cart-counter {
        font-size: 18px;
        font-weight: bold;
}

.cart-counter-parent-div{
    display: flex;
    gap: 5px;
    align-items: center;
}

.cart-counter-icon{
    width: 25px;
    height: 25px;
    color: green;
}

.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background-color: white;
    opacity: 0.9;
    
    width: 100%;
    height: 100vh;
    display: none; 
    padding: 20px;
    overflow: hidden; 
}

.cart-modal-header {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    color: white;

    margin-left: 10px;
    margin-right: 10px;
}

.cart-modal-item-list {
    max-height: 250px; 
    overflow-y: auto; 
    margin-bottom: 10px;
}

.cart-modal-item {
    margin-bottom: 10px;
    font-size: 16px;
    color: white;
    margin-left: 20px;
    margin-right: 20px;
}

.cart-modal-footer {
    margin-top: 15px;
    text-align: center;
    padding-bottom: 20px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none; 
}

.cart-model-container{
    position: relative;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    background-color: darkslategrey;
    
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    
    border-radius: 8px;

    width: 400px;
    max-height: 400px;
    
}
*/

/*END OF DEVICES FILTER SECTION*/

/*SCREEN RESPONSIVENESS*/
/*SMALL SCREENS*/
@media screen and (max-width: 600px) {
    .all-devices-div{
        display: flex;
        flex-direction: column;
        grid-template-columns:none;

        align-items: center;
    }

    .all-devices{
        width: 60%;
        height: 100%;   
        padding-bottom: 15px;
    }

    .arrow {
        display: block;
    }

    .nav-wrapper {
        overflow: hidden;
    }
}

/*SMALL MEDIUM SCREENS*/
@media screen and (min-width: 601px) and (max-width: 700px){
    .all-devices-div{
        display: flex;
        flex-direction: column;
        grid-template-columns:none;

        align-items: center;
    }

    .all-devices{
        width: 70%;
        height: 100%;
        padding-bottom: 15px;
    }

    .arrow {
        display: block;
    }
    .nav-wrapper {
        overflow: hidden;
    }
}

/*MEDIUM SCREENS*/

@media screen and (min-width: 701px) and (max-width: 800px){
    
    .all-devices-div{
        display: grid;
        grid-template-columns: repeat(2, minmax(280px, 1fr));

    }

    .all-devices{
        width: 70%;
        height: 100%;
        padding-bottom: 15px;
    }

    .arrow {
        display: block;
    }
    .nav-wrapper {
        overflow: hidden;
    }
}


/*MEDIUM LARGE SCREENS*/
@media screen and (min-width: 801px) and (max-width: 990px){
    .all-devices-div{
        display: grid;
        grid-template-columns: repeat(2, minmax(280px, 1fr));

    }

    .all-devices{
        width: 80%;
        height: 100%;   
        padding-bottom: 15px;
    }

    .arrow {
        display: block;
    }
    .nav-wrapper {
        overflow: hidden;
    }
}

@media screen and (min-width: 991px) and (max-width: 1350px){
    .all-devices-div{
        display: grid;
        grid-template-columns: repeat(3, minmax(280px, 1fr));

    }

    .all-devices{
        width: 80%;
        height: 100%;   
        padding-bottom: 15px;
    }

    .arrow {
        display: block;
    }
    .nav-wrapper {
        overflow: hidden;
    }
}

/*LARGE SCREENS*/
@media (min-width: 1351px){
    .nav-links {
        justify-content: center;
    }
}

