/*------product----*/
/* Gallery section */

.product-header{
    height: 50vh;
    width: 100%;
    background-image:
    url('1.png');
    background-position: center;
    background-size: cover;
    text-align: center;
  }
  
  .product-header .about-logo{
    height: 100px;
    width: 100px;
  }
  
  
  .hardware{
    margin: 0px auto;
    padding: 30px 8%;
  }
  
  .gallery-title {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
  }
  
  section.btns ul{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
  }
  section.btns ul li{
    display: inline-block;
    padding: 3px 0px;
    font-size: 18px;
    font-weight: 500;
    color: #0f0c5f;
    letter-spacing: 1px;
    margin: 4px 15px;
    cursor: pointer;
    transition: color 0.4s;
}
section.btns ul li:hover{
    color: dodgerblue;
}
section.btns ul li.active{
    position: relative;
    color: dodgerblue;
}
section.gallery{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*grid-auto-rows: 230px;*/
    grid-gap: 10px;
}

section.gallery .card{
    position: relative;
    max-width: 100%;
    height: 100%;
    cursor: pointer;
}
.card .imgBox{
    position: relative;
    width: 100%;
    height: 100%;
}
.card .imgBox img{
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s;
}

.card:hover .imgBox img{
    opacity: 0.3;
    cursor: pointer;
}

.card .imgText{
    position: absolute;
    top: 0;
    left: 50px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.imgText h2{
    padding: 20px 10%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s linear,
                padding 0.3s linear;
}

.card:hover .imgText h2{
    opacity: 1;
    padding: 8px 10%;
    margin-bottom: 30px;
}
@media(max-width: 700px){
    section.gallery{
        grid-template-columns: repeat(1, 1fr);
    }
    .card .imgBox img{
         border: 3px solid black;
    }
    .imgBox img{
      margin-left: 12%;
    }
    .card:hover .imgText h2{
        margin-left: 15%;
    }
    .gallery-title{
        font-size: 20px;
    }
    section.btns ul li{
        font-size: 14px;
    }
}



  /* General styling */
* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;}
.logo{
    animation: flip 3s ease-in-out infinite;
    transform-style: preserve-3d; /* Preserve 3D effect during flip */
    height: 100px;
    width: 100px;
}
    @keyframes flip {
        0% {
          transform: rotateY(0deg);
        }
        50%{
            transform: rotateY(180deg);
        }
        100% {
          transform: rotateY(360deg);
        }
      }

nav{
  display: flex;
  padding: 0 6%;
  justify-content: space-between;
  align-items: center;
}

.nav-links{
  flex: 1;
  text-align: right;
}

.nav-links ul li{
  list-style: none;
  display:inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a{
  color: #0e09a3;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.nav-links ul li::after{
  content: '';
  width: 0%;
  height: 2px;
  background: #0066cc;
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li a:hover{
  color: #0aebf7;
}
.nav-links ul li:hover::after{
  width: 100%;
}
/* Header */
.content {
    background-color: transparent;
    color: #0f0c5f;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 20px;
}

.content .logo img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.content h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.content .tagline {
    font-size: 18px;
    font-weight: bold;
}

/* Main content */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}


a {
    color: #0f0c5f;
    text-decoration: none;
}

.card-container {
  display: flex;
  justify-content: center;
  width: 60%; /* Adjust width as needed */
  gap: 2px; /* Space between the cards */ 
  margin-left: 22%;  
}

.card {
    background-color: transparent;
    border-radius: 10px;
    box-shadow: none;
    padding: 20px;
    width: 45%; /* Adjust width to fit two cards side by side */
    color: #0f0c5f;
    line-height: 1.5;
    font-size: 15px;
}

.card strong {
    color: #0f0c5f;
}

.card p {
    margin: 10px 0;
}

.card a {
    color: #0066cc;
    text-decoration: none;
}

.card a:hover {
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

  /* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
    color: #0f0c5f;
    font-size: 18px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    min-width: 100px;
    z-index: 1;
    text-align: center;
    right: 100%;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: capitalize;
    font-weight: 300;
  }
  
  .dropdown-content a:hover {
    background-color: #ddd;
  }
  
  /* Show the dropdown content on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Submenu inside dropdown */
  .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    min-width: 200px;
  }
  
  .dropdown-submenu a {
    padding: 10px 20px;
    font-weight: 300;
  }
  
  .dropdown:hover .dropdown-submenu {
    display: none;
  }
  
  .dropdown:hover .dropdown-content .dropdown:hover .dropdown-submenu {
    display: block;
  }
  
  /* Styling for submenu */
  .dropdown-content .dropdown {
    position: relative;
  }
  
  .dropdown-content .dropdown:hover .dropdown-submenu {
    display: block;
  }
  nav .fa{
    display: none;
  }
  @media(max-width: 700px){
    .card{
      font-size: 12px;
    }
    .nav-links ul li{
      display: block;
    }
    .nav-links{
      position: fixed;
      background: #ee8982;
      height: 100vh;
      width: 200px;
      top: 0;
      right: -200px;
      text-align: left;
      z-index: 2;
      transition: 1s;
    }
    nav .fa{
      display: block;
      color: #0f0c5f;
      margin: 10px;
      font-size: 22px;
      cursor: pointer;
    }
    .nav-links ul{
      padding: 30px;
    }
  }

  /*------footer--------*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
  }
  .footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
  }
  .icons .fa{
    color: #f44336;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
    font-size: 20px;
  }
  .AB{
    font-weight: 600;
    color: black;
  }
  .AB .fa{
    color: #fff;
    background: darkgreen;
    font-size: 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  /*-------software-------*/

  .body{
    display: block;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
  }
  .wrapper{
    margin: 100px auto;
    width: 70%;
    margin-bottom: 50px;
  }
  .soft{
    max-width: 320px;
    float: left;
    border: 3px solid black;
    border-radius: 10px;
    margin-right: 15px;
  }

  .text-box{
    color: #0f0c5f;
  }
  .text-box h2{
    font-size: 36px;
  }
  .text-box p{
    font-size: 15px;
    font-weight: 600;
  }
  @media(max-width: 700px){
    .text-box h2{
        font-size: 20px;
    }
    .text-box p{
        font-size: 12px;
        text-align: justify;
    }
  }

  .soft-header{
    height: 50vh;
    width: 100%;
    background-image:
    url('1.png');
    background-position: center;
    background-size: cover;
    text-align: center;
  }
  
  .soft-header .about-logo{
    height: 100px;
    width: 100px;
  }

  /*-------network------*/

  .network-header{
    height: 50vh;
    width: 100%;
    background-image:
    url('1.png');
    background-position: center;
    background-size: cover;
    text-align: center;
  }
  
  .network-header .about-logo{
    height: 100px;
    width: 100px;
  }

  .img{
    width: auto;
    height: auto;
    box-shadow: 1px 1px 10px black;
  }

  .container{
    display: flex;
    background: whitesmoke;
    flex-wrap: wrap;
  }
  .a-card{
    height: 500px;
    margin: 50px;
    overflow: hidden; 
 }
.a-card:hover{
  
}
  .intro{
    height: 190px;
    width: 214px;
    padding: 6px;
    background: rgb(27,27,27,0.5);
    color: #fff;
    position: absolute;
  }
  .des{
    font-size: 12px;
  }
  .head{
    margin: 10px;
    font-size: 20px;
  }
  

  /*------telecommunication product-----*/

  @media(max-width: 700px){
    .text-box h2{
        font-size: 50px;
    }
    .text-box p{
        font-size: 12px;
        text-align: justify;
    }
  } 

  
/* Table Section */
.table-section {
  width: 100%;
  max-width: 1200px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-left: 18px;
  margin-top: 2%;
}

/* Flexbox to display tables side by side */
.tables-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.table-box {
  flex-basis: 48%;
  margin-bottom: 20px;
}

.accessories-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

/* Table Styling */
.accessories-table th, .accessories-table td {
  border: 1px solid #ddd;
  padding: 2px;
  text-align: center;
}
/* Set a larger width for the Sl. No. column and a smaller width for Accessories */
.accessories-table th:nth-child(1),
.accessories-table td:nth-child(1) {
  width: 30%;  /* Wider Sl. No. column */
}


.accessories-table th {
  background-color: #03013c;
  color: #fff;
}
.accessories-table td{
  font-size: 12px;
}

.accessories-table tr:nth-child(even) {
  background-color: #fff;
}

.accessories-table tr:hover {
  background-color: #ddd;
}

/* Responsive Design */
@media screen and (max-width: 700px) {
  .table-box {
    flex-basis: 100%; /* Stack the tables vertically on smaller screens */
    margin-bottom: 20px;
  }
}
/* Responsive Table for Mobile View */
@media screen and (max-width: 600px) {
  .table-section {
    padding: 6px;
  }

  .table-box {
    flex-basis: 100%;  /* Stack tables vertically on smaller screens */
    margin-bottom: 20px;
  }
.accessories-table{

}
  .accessories-table th, .accessories-table td {
    padding: 6px;   /* Reduce padding for mobile view */
    font-size: 12px;  /* Smaller font size for better readability on mobile */
  }

  .accessories-table {
    font-size: 12px;  /* General table font size on mobile */
  }

  .accessories-table th {
    font-size: 14px;  /* Header font size on mobile */
  }

  background-color: #f9f9f9;  /* Lighter background for readability on mobile */
.accessories-table th:nth-child(1),
.accessories-table td:nth-child(1) {
  width: 10%;  /* Wider Sl. No. column */
}
.table-section {
  width: 100%;
  max-width: 80%;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-left: 0x;
  margin-top: 2%;
}
}

