@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&family=Poppins:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
  
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    list-style-type: none;
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
    --main2-color: #f9004d;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: #E6F7FF;
    /* font-family: "Roboto", sans-serif; */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-style: normal;
}


h1,h2,h3,h4,h5,h6{
    font-family: "Merriweather", serif;
    font-size: 4rem;
    font-weight: 700;
}


section {
    height: 100%;
    width: 100%;
    overflow: hidden;
}




.navbar {
    display: flex;
    justify-content: space-between;
    /* font-family: "montserrat", sans-serif; */
   
    list-style: none;
    padding: 0;
    margin: 0;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
   
    align-items: center;
    padding: 30px 30px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    transition: background-color 0.3s, padding 0.3s; /* Animation for background and padding */
    z-index: 1000; /* Ensures navbar is on top */
    background-color: #fff; /* Initially transparent */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
}

.navbar.scrolled {

    /* background-color: rgba(255, 255, 255, 0.8);  */
    background-color: rgba(255, 255, 255, 1);            
    padding: 20px 20px;         
}


.menu-toggle {
    display: none; /* Hidden by default, shown on mobile */
    font-size: 28px; /* Hamburger icon size */
    color: #000;
    cursor: pointer; /* Pointer cursor on menu toggle */
}

.nav-links ul {
    list-style-type: none;
    display: flex;
    gap: 8px; /* Space between links */
}

.nav-links ul li{
   
}

nav ul li {
    margin-top: 10px;
    flex: 1; /* Ensures all items have equal width */
    text-align: center; /* Centers the text in each link */
}


.nav-links a {

    display: block;
    padding: 8px 0px; /* Increase padding to provide more space */
    color: white;
    text-decoration: none;
    text-align: center;
    white-space: nowrap; /* Prevents text from wrapping */
    transition: background-color 0.3s ease;
    width: 100px;
        font-family: "Roboto", Sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    outline: none;
   color: #0056b3;
   text-transform: uppercase;
    line-height: 22px;

    transition: color 0.3s; 
    border-radius: 4px;

}

.nav-links a:hover {
    background-color: #0056b3; /* Darker blue on hover */
    color: #fff;
}

/* Active Link Effect */
.nav-links a.active {
    background-color: #007bff; /* Darker blue on hover */
    color: #fff;
}

.menu-toggle {
    font-size: 24px;

    background: #007bff;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.menu-toggle:hover {
    
    background:#000;
    color: #007bff;

}



/* Responsive Design */

@media (max-width: 1200px){
    .nav-links a{
        width: 100%;
        padding: 10px 10px;
    }
}


@media (max-width: 1024px) {
    .navbar {
        justify-content: space-between; /* Space between logo and toggle */
        background-color: #fff;
       
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
    }

    .nav-links {
        position: absolute; /* Position it absolutely */
        top: 98px; /* Below the navbar */
        left: 0;
        width: 100%;
        background-color: #fff; /* Dark background */
        overflow: hidden; /* Hide overflowing content for transition */
        max-height: 0; /* Initially collapsed */
        transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out; /* Slide down effect */
    
    }

    .nav-links.active {
        max-height: 450px; /* Expand height when active */
       
    }

    .nav-links ul {
        flex-direction: column; /* Stack links vertically */
        width: 100%; /* Full width */
        padding: 0; /* Reset padding */
        /* padding-bottom: 20px; */
       gap: 0;
      
    }

    .nav-links ul li{
    
        width: 100vw;
        margin-top: 0;
    }

    .nav-links a {
        padding: 15px 20px; /* Add padding to the links */
        width: 100%; /* Full width for links */
        text-align: center; /* Center text */
    }
}



#logo-container {
    display: inline-block;
    max-width: 280px; /* Maximum width for larger screens */
    margin-top: -20px;
    width: 100%; /* Ensures the logo container is fluid */
    margin-right: 20px;
}

#logo-container img {
    padding-top: 10px;
    width: 100%; /* Image takes full width of container */
    height: auto; /* Maintains aspect ratio */
    display: block;
}



/* Responsive adjustments for smaller screens */




@media (max-width: 768px) {
    .nav-links{
        top: 84px; 
    }

    #logo-container {
        max-width: 200px; /* Reduce logo size for tablets */
    }
}

@media (max-width: 480px) {
    #logo-container {
        max-width: 150px; /* Further reduce logo size for small mobile screens */
    }
}


/* Responsive adjustments for smaller screens */




@media (max-width: 768px) {
    #logo-container {
        max-width: 200px; /* Reduce logo size for tablets */
    }
}

@media (max-width: 480px) {
    #logo-container {
        max-width: 150px; /* Further reduce logo size for small mobile screens */
    }
}



/* /////////////////////////////////////////////////////////////////////////////////// */


/* Hero Section */
.hero-section {
    position: relative;
    margin-top: 97px;
    width: 100%;
    height: 80vh; /* Default height for large screens */
    background-image: url('img/productHero.jpg'); /* Background Image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.split-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    filter: blur(10px); /* Initial blur effect */
    transition: filter 1.5s ease-in-out; /* Transition for blur */
    clip-path: inset(0 50% 0 50%); /* Start with the image split in the middle */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering the content */
    text-align: center;
    color: white;
    z-index: 2;
    opacity: 0; /* Hidden by default */
    transition: opacity 1.5s ease-in-out; /* Fade in the text */
}

.hero-section h1 {
    width: 80vw;
    font-size: 5rem;
    margin-bottom: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.hero-section p {
    font-size: 2rem;
}



/* After the page loads */
body.loaded .split-overlay {
    filter: blur(0); /* Remove blur */
    animation: splitOpen 1.5s ease forwards; /* Expand to the sides */
}

body.loaded .hero-content {
    opacity: 1; /* Fade in the text */
    transition-delay: 0s; /* No delay - text fades in at the same time */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        height: 80vh; /* Adjust height for large tablets */
    }
    .hero-section h1 {
        font-size: 3.5em; /* Adjust font size */
    }
    .hero-section p {
        font-size: 1.3em;
    }

    .hero-content{
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: 75vh; /* Adjust height for tablets */
    }
    .hero-section h1 {
        font-size: 3em; /* Adjust font size */
    }
    .hero-section p {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Reduce height for mobile view */
    }
    .hero-section h1 {
        font-size: 2.5em; /* Smaller font size for mobile */
        width: 90vw; /* Adjust the text container */
    }
    .hero-section p {
        font-size: 1.1em;
    }

    .hero-content{
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 50vh; /* Further reduce height on smaller screens */
    }
    .hero-section h1 {
        font-size: 2em; /* Reduce font size for smaller mobile screens */
    }
    .hero-section p {
        font-size: 1em;
    }
}

@media (max-width: 400px) {
    .hero-section {
        height: 45vh; /* Reduce height for very small screens */
    }
    .hero-section h1 {
        font-size: 1.8em; /* Even smaller font size */
    }
    .hero-section p {
        font-size: 0.9em;
    }

    .hero-content{
        margin-top: 30px;
    }
}



/* ///////////////////////////////////////////////////////////////////// */



.container {
    max-width: 1250px;
    margin: 100px auto;
    background-color: #fff;
    padding: 20px 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling for the table */
    margin-bottom: 20px; /* Space below the table */
}

.table-wrapper table {
    min-width: 600px; /* Minimum width to make scrolling visible */
    width: 100%; /* Make the table take full width */
}



.table-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}


.container input {
    padding: 10px;
    font-size: 15px;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f1f1f1;
    margin-bottom: 20px;
    width: 350px;

}

.container input::placeholder {
    font-size: 1.5rem;
    color: #b3afaf;
}


.container input:focus {
    border: 1px solid #4a74fc;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
    border: 3px solid #d8d5d5;

}



th
{
    border: 3px solid #d8d5d5;
    padding: 10px;
    text-align: center;
    /* background: rgb(230, 229, 229); */
    background: #587df7;
    font-size: 1.6rem;
    color: #fff;

}


td {
    border: 2px solid #e8e8e9;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    color: #666666;
}



/* th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
} */

tr:nth-child(even) {
    background-color: #f9f9f9;
}


.table-controls {
    display: flex;
    justify-content: space-between; /* Align items to the ends */
    align-items: center; /* Center items vertically */
    margin: 20px 0; /* Add margin for spacing */
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
}

.pagination-left {
    flex: 1; /* Allow pagination-left to take available space */
    display: flex;
    justify-content: flex-start; /* Align left */
    font-size: 2rem;
}

.search-container {
    flex: 1; /* Allow search-container to take available space */
    display: flex;
    justify-content: flex-end; /* Align right */
}

.show-entries {
    display: flex;
    align-items: center; /* Center label and select vertically */
}

.show-entries label {
   font-size: 2rem;
}

.show-entries select {
    font-size: 1.5rem;
    margin: 0px 10px;
    padding: 7px 10px;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
}

/* Responsive styles for table-controls */
@media (max-width: 768px) {
    .table-controls {
        flex-direction: column; /* Stack items vertically on small screens */
        align-items: flex-start; /* Align items to the start */
    }

    .pagination-left {
        margin-bottom: 10px; /* Add margin below pagination-left */
    }

    .search-container {
        width: 100%; /* Make search container full width */
    }

    .search-bar {
        width: 100%; /* Ensure the search bar takes full width */
        font-size: 1rem; /* Adjust font size for smaller screens */
    }
}

/* Pagination styling */
.pagination {
    display: flex;
    justify-content: space-between; /* Align pagination controls */
    margin-top: 20px; /* Add margin for spacing */
}

.pagination-right button {
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #007bff;
    background-color: white;
    color: #007bff;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-right button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.pagination-right button {
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #007bff;
    background-color: white;
    color: #007bff;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-right button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
}

.pagination-right button.current-page {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}


.pagination-right button:not(#prevBtn):not(#nextBtn):not(.current-page) {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-right button:not(#prevBtn):not(#nextBtn):not(.current-page):hover {
    background-color: #ccc; 
    color: #000; 
    border-color: #ccc; 
}

/* Responsive styles for pagination */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column; /* Stack pagination controls on small screens */
        align-items: flex-start; /* Align items to the start */
    }

    .pagination-right {
        width: 100%; /* Make pagination controls full width */
        display: flex;
        justify-content: space-between; /* Space out the buttons */
    }

    .show-entries{
        margin-bottom: 30px;
    }

   
}

@media (max-width: 545px){
    .pagination-right button{
        margin: 0;
        padding: 7px;
    }
}



/* /////////////////////////////////////////////////////////////////////// */



.contact {
    height: auto;
    width: 100%;
    background: #2a2d54;
    /* background: linear-gradient(to bottom, #00509E 0%, #2CA58D 50%, #00509E 100%); */
   
    position: relative;
    color: #f0f0f0;

    font-family: sans-serif;
    font-family: 'Poppins', sans-serif;
    /* z-index: 9; */
    box-sizing: border-box;
    font-size: 1.8rem;
    /* overflow: hidden; */
}

.contact-container {
    padding: 90px 15px 62px;
    max-width: 1500px;
    margin-right: auto;
    margin-left: auto;
    display: flex;

    flex-wrap: wrap;
}

.contact-container ul li a {

    font-size: 14px;
    color: #cfd0e3;
    font-weight: 300;
    padding-bottom: 13px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}


.contact-container ul li a:hover {
    color: #007bff;
    transform: translateX(7px);
    /* Moves the text 5px to the right */


}



.contact-container ul li {
    padding-top: 10px;
}

.contact-container ul {
    padding-top: 15px;
}


.contact-container h1 {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
}


.one p {
    /* padding: 10px; */
    font-size: 1.7rem;
    text-align: center;
}

.one .link {
    display: flex;
    /* margin: 20px; */
    justify-content: center;
    
}

.link a {
    color: #cfd0e3;
    background-color: rgba(255, 255, 255, .1);
    padding: 4px 7px;
    margin: 7px;
    margin-left: 10px;
    transition: all 0.5s;
    border-radius: 10px;
  
}

.link a:hover {
    background-color: #ffebcd;
    color: #007bff;
}




.one {
    width: 23%;
    padding-right: 20px;
    background: rgba(255, 255, 255, .1);
    padding: 20px;
    margin: 60px 50px 150px 10px;
    border-radius: 20px;
}



.two {
    width: 23%;
}

.two div ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.three {
    width: 23%;
    display: inline-block;
}




.four {
    width: 23%;

}

.four .address {
    line-height: 2.5rem;
    display: inline-flex;
}

.four i {
    padding-right: 10px;
}

.four ul li span {
    color: #cfd0e3;
    font-size: 14px;
   
}

.four ul li .col {
    transition: all 0.3s ease;
}

.four ul li .col:hover {
    color: #007bff;
    transform: translateX(5px);

}

.four .address span {
    text-align: start;
}




.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: #cfd0e3;
    padding: 3rem 0 3rem 0;
    background: #2a2d54;
    border-top: 0.1px solid rgb(82, 82, 82);
}

.footer-text p {
    padding-left: 0px;
    font-size: 14px;
    color: #cfd0e3;
    font-weight: 300;
    text-align: center;
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #007bff;
    color: white;
    font-size: 24px;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Hidden by default */
    z-index: 1000;
    transition: opacity 0.4s ease, background-color 0.3s;
}

.scroll-top.disabled {
    opacity: 0.5;
    pointer-events: none; /* Disable interaction */
}

.scroll-top:hover {
    background-color: #0056b3;
}




@media screen and (max-width: 1024px) {
  
  
 
   
    .coco {
        width: 50%;
    }
    .one,
    .two,
    .three,
    .four {
        padding-bottom: 50px;
    }

  

    .container2 {
        flex-wrap: wrap;
        
    }

    .one {
        width: 70vw;
        padding-right: 20px;
        padding: 20px;
        margin:0px 20px 70px 0px;
        text-align: center;
    }

    .one .link{
        justify-content: center;
    }

    .contact-container {
        padding-left: 100px;
    }

}

@media screen and ( max-width: 768px) {


    .coco {
        width: 100%;
    }
    
    .one,
    .two,
    .three,
    .four {
        padding-bottom: 50px;
    }
    
  
    .contact-container {
        justify-items: center;
        padding-left: 50px;

    }

    .container2 div{
        flex-direction: column;
    }

    
    .footer-text p {
        font-size: 1rem;
    }

   

    .container2 {
      flex-direction: column;
         
    }

    .container2 div{
        width: 96%; 
      }

   
    .container2 div {
        
        margin-left: 0;
        margin-right: 0;
        width: 100%;
      }

      .con form .input-box {
        flex-direction: column;
    }

    .con form .input-box input {
        width: 100%;
        border-radius: 0;
    }

    .con form textarea {
        border-radius: 0;
    }

    .con h4 {
        font-size: 2rem;
    }

    .con form .input-box input,
    .con form textarea {
     margin: .8rem 0;    
     }

    

    .fdir img{
        width: 80vw;
        padding: 0 10px;
        height: auto;
    }

    .box{
        width: 60vw;
    }

}


@media screen and ( max-width: 595px) {
 

.con h4 {
    font-size: 1.8rem;
    margin: 1rem 0;
}


}



@media screen and ( max-width: 483px) {
 
    .con {      
        padding: 30px 20px 0;
    }

    .teamH1 h1{
        font-size: 2.2rem;
    }

  
}

@media screen and ( max-width: 425px) {
   
 


    .con h4 {
        font-size: 1.6rem;
    
    }

  
}

@media screen and ( max-width: 320px) {

  
     .con h4 {
        font-size: 1.3rem;
    }



}