* {
    box-sizing: border-box;

}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}


#main-net {
    background-color: rgb(225, 239, 255);
    background-size: cover;
    height: 800px;
  }
  

.container-net{
    max-width: 100%;
    margin: auto;
    padding: 50px 0;
}


.container .overlay-text-network{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #004cff95 !important;
    border-radius: 10px !important;
    position: relative;
    margin-top: -650px;
    padding: 50px ;
    box-shadow: rgba(161, 161, 161, 0.4) -5px 5px, rgba(141, 141, 141, 0.3) -10px 10px, rgba(122, 122, 122, 0.2) -15px 15px, rgba(167, 167, 167, 0.1) -20px 20px, rgba(226, 226, 226, 0.05) -25px 25px !important;
  }

  
  .overlay-text-network{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #004cff95 !important;
    border-radius: 10px !important;
    position: relative;
    margin-top: -450px;
    padding-top: 100px;
    box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
  }
  


  .section-title .net-h1{
    font-size: 35px;
    padding: 20px;
    text-align: center;
    font-weight: bolder;
    color: rgb(255, 255, 255);
    text-shadow: 0 1px 0 #ccc,
                 0 6px 1px rgba(0,0,0,.1),
                 0 0 5px rgba(0,0,0,.1),
                 0 1px 3px rgba(0,0,0,.3),
                 0 3px 5px rgba(0,0,0,.2),
                 0 5px 10px rgba(0,0,0,.25),
                 0 10px 10px rgba(0,0,0,.2),
                 0 20px 20px rgba(0,0,0,.15);
  }
  
   .section-title .net-h2{
    font-size: 30px;
    padding: 16px;
    text-align: center;
    font-weight: bolder;
    color: rgb(255, 255, 255);
    text-shadow: 0 1px 0 #ccc,
                 0 6px 1px rgba(0,0,0,.1),
                 0 0 5px rgba(0,0,0,.1),
                 0 1px 3px rgba(0,0,0,.3),
                 0 3px 5px rgba(0,0,0,.2),
                 0 5px 10px rgba(0,0,0,.25),
                 0 10px 10px rgba(0,0,0,.2),
                 0 20px 20px rgba(0,0,0,.15);
  }


.services .container-net{
    margin-top: 150px;
}

.section-title .line-net{
    width: 150px;
    height: 4px;
    border: 10px;
    background:#fff347;
    margin: auto;
}


.container{
    margin:0;
}

.network-text-animation{
    text-align: center;
    color: #ffffff;
    margin: 190px auto;
    text-shadow: 1px 1px 0px #000000, 5px 4px 0px rgba(0, 0, 0, 0.15);
}

.network-cards-container{
    margin-bottom: 40px;
    margin-top: 40px;
    text-align: center;
}


.card {
    height: max-content;
    width: 475px;
    overflow: hidden;
    padding: 50px;
    max-width: 100%;
    box-sizing: border-box;    
    font-family: 'Playfair Display', serif;
    text-align: center;
    transition: all .125s;
    transform: scale(1) translateY(0px);
    display: inline-block;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 10px 10px 20px #BECBD8, -10px -10px 20px #BECBD8;
    transition: all 1s;
}

/* Elements */
.card__wrapper {
    padding-top: .1px;
    padding-bottom: .1px;
    position: relative;
    background-color: #ffffff;
    color: #c9c9c9;
    box-shadow: 0 0 5px 0 rgba(0,0,0,.05);
    margin-top: -20px;
}

.card__wrapper:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 15px;
    right: 15px;
    bottom: 0;
    left: 15px;
    box-shadow: 0 5px 15px 0 rgba(0,0,0,.2);
    transform: scale(1) translateY(0px);
}

.card__box {
    padding-right: 35px;
    padding-left: 35px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.card__item {
    margin-top: 20px;
    margin-bottom: 20px;
}

.card__item--small {
    margin-top: 10px;
    margin-bottom: 10px;
}

.card__feature {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.card__img {
    display: block;
    max-width: 100%;
    height: auto; /* Allow the image to adjust its height */
    width: 475px;
}

.card__header {
    position: relative;
    z-index: 1;
}

.card__title {
    font-weight: 800;
    color: transparent;
    background: #112388;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255, 255, 255, 0.577);
    text-decoration: none;
    z-index: 1;
    font-size: 30px;
    line-height: 1.25;
}

.card__label {
    color: #cccccc;
    font-family: 'Montserrat', sans-serif;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.card__divider {
    display: block;
    width: 100%;
    height: 1rem;
}

.card__body {
    font-weight: 800;
    color: transparent;
    background: #283373;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-shadow: 0px 3px 3px rgba(255, 255, 255, 0.577);
    text-decoration: none;
    z-index: 1;
    font-size: 17px;
    line-height: 1.75;
    max-height: none; /* Allow the paragraph to expand based on content */
    overflow: hidden;
}

.card__body p{
    text-transform: none;
}

/* Modifiers */
.card:hover {
    cursor:default;
    transform: scale(1.05);
}

.card:hover .card__wrapper {
    box-shadow: 0 0 10px 0 rgba(0,0,0,.05);
}

.card:hover .card__wrapper:after {
    transform: scale(0.95) translateY(10px);
}

.card {
    display: inline-block;
    margin-top: 100px;
    margin-right: 15px;
    margin-left: 15px;
    top: 50%;
}

@media screen and (max-width: 1950px) {
    .item {
        width: calc(100% - 50px); /* Adjust the width to display 2 items in a row */
    }
  
    .item:not(:last-child) {
        margin-right: 50px; /* Add margin between items in the same row */
    }

    #main-net{
        background-color: rgb(225, 239, 255);
        min-height: 70vh !important;
        background-position: bottom center;
        background-size: cover;
    }

    .container{
        margin-top:-120px;
    }

    .overlay-text-network{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-color: #004cff95 !important;
      border-radius: 10px !important;
      position: relative;
      margin-top: -550px !important; 
      padding: 30px ;
      box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
    }

    .services{
      margin-top: -100px;
    }



    .net-h1{
      font-size: 30px;
      padding: 20px;
      text-align: center;
      font-weight: bolder;
      color: rgb(255, 255, 255);
      text-shadow: 0 1px 0 #ccc,
                   0 6px 1px rgba(0,0,0,.1),
                   0 0 5px rgba(0,0,0,.1),
                   0 1px 3px rgba(0,0,0,.3),
                   0 3px 5px rgba(0,0,0,.2),
                   0 5px 10px rgba(0,0,0,.25),
                   0 10px 10px rgba(0,0,0,.2),
                   0 20px 20px rgba(0,0,0,.15);
    }
    
      .net-h2{
      font-size: 25px;
      padding: 20px;
      text-align: center;
      font-weight: bolder;
      color: rgb(255, 255, 255);
      text-shadow: 0 1px 0 #ccc,
                   0 6px 1px rgba(0,0,0,.1),
                   0 0 5px rgba(0,0,0,.1),
                   0 1px 3px rgba(0,0,0,.3),
                   0 3px 5px rgba(0,0,0,.2),
                   0 5px 10px rgba(0,0,0,.25),
                   0 10px 10px rgba(0,0,0,.2),
                   0 20px 20px rgba(0,0,0,.15);
    }
  
    

  }


@media screen and (max-width: 1024px) {
    .network-cards-container {
        height: auto; /* Allow height to adjust based on content */
    }
}

@media screen and (min-width: 900px) and (max-width: 1023px) {
    .network-cards-container {
        height: auto; /* Allow height to adjust based on content */
    }
}


@media screen and (min-width: 646px) and (max-width: 899px) {
    .item {
        width: calc(70% - 50px); /* Adjust the width to display 1 item in a row */
        margin-right: 0; /* Remove margin between items in the same row */
        margin-bottom: 50px; /* Add margin between rows */
    }
      .item:not(:last-child) {
        margin-right: 20px; /* Add margin between items in the same row */
    }

    .service-acce{
        padding-right: 0px;
        width: 350px;
    }

    .overlay-text-network{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #004cff95 ;
        border-radius: 10px !important;
        position: relative;
        margin-top: -1050px;
        margin-bottom: 250px;
        padding-right: 30px;
        box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
      }

      .net-h1{
        font-size: 30px !important;
        padding: 20px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }

      .net-h2{
        font-size: 20px !important;
        padding: 20px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }
    
  }



  @media screen and (min-width: 300px) and (max-width: 645px) {
    .container-net {
        max-width: 100%;
        padding: 50px;
        margin: 0 auto;
        padding-top: 10px;
    }

    #services{
        margin-top: -100px;
    }

    .overlay-text-network{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #004cff95 ;
        border-radius: 10px !important;
        position: relative;
        margin-top: -500px !important;
        margin-bottom: 250px;
        padding-right: 30px;
        box-shadow: rgba(46, 65, 240, 0.4) -5px 5px, rgba(46, 65, 240, 0.3) -10px 10px, rgba(46, 65, 240, 0.2) -15px 15px, rgba(46, 65, 240, 0.1) -20px 20px, rgba(46, 65, 240, 0.05) -25px 25px !important;
      }

      .net-h1{
        font-size: 20px !important;
        padding: 20px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }

      .net-h2{
        font-size: 15px !important;
        padding: 20px;
        text-align: center;
        font-weight: bolder;
        color: rgb(255, 255, 255);
        text-shadow: 0 1px 0 #ccc,
                     0 6px 1px rgba(0,0,0,.1),
                     0 0 5px rgba(0,0,0,.1),
                     0 1px 3px rgba(0,0,0,.3),
                     0 3px 5px rgba(0,0,0,.2),
                     0 5px 10px rgba(0,0,0,.25),
                     0 10px 10px rgba(0,0,0,.2),
                     0 20px 20px rgba(0,0,0,.15);
      }

      .card__item h6{
        color: #68686893;
      }

      .card__item h2{
        font-size: 22px;
      }

      .card__item p{
        font-size: 16px;
      }

      .card__box{
        padding: 5px;
      }
    

    .card {
        width: 100%;
        padding: 20px;
        margin: 20px auto;
    }

    .card__img {
        width: 100%;
        height: auto;
        padding-top: 20px;
    }

    .net-h1 {
        font-size: 20px;
    }

    .net-h2 {
        font-size: 18px;
    }
}



/* Responsive adjustments */


@media screen and (max-width: 768px) {

    .network-container .repair-card {
        width: 100%; /* Adjust as needed */
        height: auto; /* Allow height to adjust based on content */
    }

    .network-container {
        grid-template-columns: repeat(1, 1fr); /* 1 column for small screens */
    }

    .container-net{
        margin-right: -80px;
        margin-left: -80px;
    }

    .network-container .repair-card .repair-card-box .repair-card-content h2 {
        font-size: 20px;
        font-weight: bolder;
        color: transparent;
        background: #4538ff;
        -webkit-background-clip: text;
        -moz-background-clip: text;
        background-clip: text;
        text-shadow: 0px 3px 3px rgba(255,255,255,0.5);
        text-decoration: none;
        z-index: 1;
        transition: 0.9s;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .network-container .repair-card .repair-card-box .repair-card-content h3 {
        font-size: 15px;
        font-weight: 500;
        color: transparent;
        background: #000675;
        -webkit-background-clip: text;
        -moz-background-clip: text;
        background-clip: text;
        text-shadow: 0px 3px 3px rgba(255,255,255,0.5);
        text-decoration: none;
        z-index: 1;
        transition: 0.9s;
        line-height: 1.5;
    }
    
}

