* {
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    border: border-box;
}
html{
    scroll-behavior: smooth;
}
/* Navbar Styles */
.navbar {
   
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #c5c5c5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; /* Make the navbar sticky */
    top: 0; /* Stick it to the top */
    z-index: 1000; /* Ensure it's above other content */
    width: 100%;
    /* padding: 0 20px; */
}

/* Logo */
.nav-logo {
    height: 50px;
    width: 204px;
}

.logo {
    background-image: url("admlogo.jpg");
    height: 50px;
    width: 204px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo:hover {
    cursor: pointer;
}

/* Navigation List */
.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    padding: 20px;
}

.nav-list li a {
    text-decoration: none;
    color: #c5c5c5;
    font-size: 1em;
}

.nav-list li a:hover {
    cursor: pointer;
    color: rgb(43, 47, 164);
}

/* Border hover effect */
.border {
    border: 2px solid transparent;
}

.border:hover {
    border: 1px solid rgb(43, 47, 164);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.hamburger-menu div {
    height: 4px;
    width: 100%;
    background-color: #c5c5c5;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-list {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        display: none; /* Hide the menu by default */
        padding: 0;
    }

    .nav-list.active {
        display: flex; /* Show menu when active */
    }

    .nav-list li {
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger on smaller screens */
    }

    .hamburger-menu.active div {
        background-color: rgb(43, 47, 164); /* Change hamburger color on click */
    }
}

/* Make the hamburger menu work */
@media (max-width: 768px) {
    .nav-list li a {
        font-size: 1.2em;
    }
}


/* Base styles */
.background {
    margin-top: -60px;
    background: rgba(47, 64, 176, 0.762) url("bgfirst.jpg");
    background-size: cover;
    background-blend-mode: darken;
}

.firstSection {
    height: 100vh;
}

.box-main {
    display: flex; 
    justify-content: center;
    align-items: center;
    color: white;
}

.box-main p {
    margin-top: 15%;
    margin-left: 5%;
    font-size: 5em;
    text-shadow: 0.1em 0.1em #3b3b6c;
    transition: transform 0.2s ease, color 0.2s ease; /* Transition for smooth zoom and color */
}

.box-main p:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Responsive adjustments */

/* For large devices (desktops, laptops) */
@media (max-width: 1200px) {
    .box-main p {
        font-size: 4.5em; /* Slightly smaller for large screens */
        margin-top: 35vh; /* Reduce space from top */
        
    }
}

/* For tablets and medium devices */
@media (max-width: 1024px) {
    .box-main p {
        font-size: 4em; /* Smaller text */
        margin-top: 30vh; /* Adjust space from top */
    }
}

/* For smaller tablets, larger phones */
@media (max-width: 768px) {
    .box-main p {
        font-size: 3.5em; /* Smaller text */
        margin-top: 25vh; /* Adjust space from top */
    }
}

/* For mobile screens */
@media (max-width: 480px) {
    .box-main p {
        font-size: 2.5em; /* Significantly smaller text */
        margin-top: 20vh; /* Reduce margin to fit text on screen */
    }

    .box-main p:hover {
        transform: scale(1.03); /* Slightly reduced zoom effect */
    }
}

/* For extra small mobile screens */
@media (max-width: 375px) {
    .box-main p {
        font-size: 2em; /* Smaller text */
        margin-top: 15vh; /* Adjust space from top */
    }

    .box-main p:hover {
        transform: scale(1.02); /* Even more subtle zoom effect */
    }
}



.experties {
    /* text-align: center; */
    /* max-width: 1200p; */
    margin-left: 0.5cap;
    margin-right: 0.5cap;
}

h1 {
    font-size: 2em;
    margin-left: 0.5cap;
    margin-bottom: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
}

.grid-item {
    position: relative;
    background-color: #a4a4a4;
    color: #ffffff;
    padding: 10px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    /* transition: background-color 0.3s ease; */
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* filter: brightness(0.6); */
    opacity: 0.1; /* Hide the background image initially */
    transition: opacity 0.3s ease;
}
.grid-item:hover::before {
    opacity: 0.8; /* Show the background image on hover */
}

.grid-item h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    text-shadow: 0.15cap 0.15cap #000000;
}

.item-1::before { background-image: url('gears-1.png') ;}
.item-2::before { background-image: url('gears-1.png') ;}
.item-3::before { background-image: url('gears-1.png') ;}
.item-4::before { background-image: url('gears-1.png') ;}
.item-5::before { background-image: url('gears-1.png') ;}
.item-6::before { background-image: url('gears-1.png') ;}
.item-7::before { background-image: url('gears-1.png') ;}
.item-8::before { background-image: url('gears-1.png') ;}



/* ------------------------------------------------------------------------- */


/* Services Section with Background Image */
.services-section {
    background-image: url('gears-1.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(255, 255, 255, 0.85); /* White overlay */
    padding: 40px 20px;
    text-align: center;
    
}

/* Services Title */
.services-title h1 {
    font-size: 2.5em;
    color: #1f3fa6;
    margin: 0 0 20px 0;
}

/* Product and Expertise Content */
.product-expertise-section {
    display: flex;
    flex-shrink: 1;
    justify-content: center;
    gap: 15cap;
    color: #1f3fa6;
    padding-top: 20px;
    padding-bottom: 20px;


}

.product-range, .expertise {
    width: 22.5%;
    /* display: flex; */
    
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.75); /* Additional white background for content */
    padding: 10px;

    border-radius: 10px;
}


.content {
    text-align: center;
}

.product-range h2, .expertise h2 {
    font-size: 2em;
    color: #1f3fa6;
    margin: 0 0 10px 0;
}

.product-list, .expertise-list {
    list-style-type: none;
    font-size: 1.2em;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

.product-range ul, .expertise ul {
    list-style: none;
    padding: 0;
}

.product-range li, .expertise li {
    font-size: 1.1em;
    color: #0026a1; /* Blue color */
    margin-bottom: 10px;
    transition: transform 0.2s ease, color 0.2s ease; /* Transition for smooth zoom and color */
}

.product-range li:hover, .expertise li:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    color: #001a7a; /* Darker blue on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-expertise-section {
        flex-direction: column;
        align-items: center;
    }

    .product-range, .expertise {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* ---------------------------------------------------------- */


/* Experience Section */
.experience-section {
    margin: 3.5px;
    background-color: #1f3fa6; /* Blue background */
    padding: 40px 20px;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    border-radius: 6px;
}

/* Experience Title with 3D Effect */
.experience-title h1 {
    font-size: 3.5em;
    color: white;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7); /* 3D text effect */
    margin-bottom: 30px;
    align-self: flex-start;
    padding-left: 20px;
    padding-right: 20px;

}

/* Grid Layout */
.exp-grid{
    display:flex;
    flex-direction: column;
    width: 100%;

}
.experience-grid1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 columns */
    grid-template-rows: auto auto ; /* 2 rows */
    gap: 15px;
    /* width: 100%; */
    /* max-width: 1000px; */
}
.experience-grid2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    grid-template-rows: auto auto ; /* 2 rows */
    margin-left: 12.5%;
    gap: 15px;
    width: 75%; 
    /* max-width: 1000px; */
}

/* Grid Item Styling */
.grid-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease; /* Zoom effect on hover */
}

.grid-item:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    border-width: 20px;
    border-color: aliceblue;
}

/* Overlay Text Styling */
.grid-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    text-align: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.3s ease; /* Fade-in effect */
    
}

.grid-item:hover .overlay {
    opacity: 1; /* Show overlay on hover */
}

/* Adjust for Small Screens (Mobile) */
@media (max-width: 768px) {
    .experience-grid1, .experience-grid2 {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
        width: 100%;
    }
    .experience-grid2 {
        margin-left: 0%;
    }
    .experience-section{
        display: flex;
        flex-direction: column;
    }
}







/* Focus Section */
.focus-section {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly smoky white background */
    border-radius: 12px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2); /* 3D shadow effect */
    padding: 40px;
    margin: 20px 0;
    /* max-width: 1200px; */
    text-align: left;
   
}

/* Focus Title */
.focus-title {
    font-size: 3em;
    color: #1f3fa6; /* Blue color */
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* 3D shadow effect */
    font-weight: bold;
    text-align: center;
}

/* Focus Content Layout */
.focus-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Left Side: Points Grid */
.focus-points {
    margin-top: 20px;
    display: grid;
    grid-template-columns: auto 1fr; /* Icon column and text column */
    gap: 15px 10px;
    color: #1f3fa6; /* Blue color for text */
    font-size: 1.2em;
    flex: 0 0 45%;
}

.focus-points i {
    font-size: 1.5em;
    color: #1f3fa6; /* Blue color for icons */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* 3D effect */
    align-self: center;
}

.focus-points span {
    align-self: center;
}

/* Right Side: Image */
.focus-image {
    /* flex: 0 0 55%; */
    display: flex;
    justify-content: center;
}

.focus-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .focus-content {
        flex-direction: column;
        align-items: center;
    }
    
    .focus-points, .focus-image {
        width: 80%;
    }
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-expertise-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .product-range, .expertise {
        width: 100%;
        margin-bottom: 20px;
       
    }
}











.contact-us {
    padding: 90px;
    background-color: #002e9a; /* Full section blue background */
    color: white;
    padding-bottom: 130px;
    margin-bottom: -60px;
  }


  
  .contact-us h1 {
    text-align:center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: bold;
  }
  
  .contact-us-header {
    padding-left: 60px;
    display: flex;
    align-items: center;
    justify-content:space-between;
    margin-bottom: 20px;
  }
  
  .linkedin {
    /* padding-right: 480px; */
    padding-right: 130px;
    padding-left: 20px;
    align-items:last baseline;
  }
 
  .linkedin a {
    color: white;
    text-decoration: none;
    
  }
  
  .linkedin a i {
    margin-right: 5px;
  }
  
  /* Contact Details */
  .contact-details p {
    padding-left: 60px;
    margin: 10px 0;
    font-size: 1rem;
    max-width: 300px;
  }
  
  .contact-details i {
    margin-right: 10px;
  }
  
  /* Sections Styling */
  .sections {
    display: flex;
    padding-left: 60px;
    padding-top: 20px;
    justify-content:left;
    gap: 140px;
  }
  
  .section {
    flex: 1;
    /* background: #003b88; Slightly darker blue for section background */
    /* padding: 20px; */
    border-radius: 8px;
    min-width: 250px;
    max-width: 300px;
  }
  
  .section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
  }
  
  .section p {
    margin: 10px 0;
    font-size: 0.95rem;
  }
  .contact-details a,
  .section a {
    color: white; /* White text for email links */
    text-decoration: none;
  }
  .contact-details a:hover,
  .section a:hover {
    text-decoration: underline;
  }
  
  .section ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style: disc;
  }
  
  .section ul li {
    margin-bottom: 5px;
    font-size: 0.95rem;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .sections {
      flex-direction: column;
      gap: 50px;
    }
  }



/* Bottom Gear Icon Pattern */
.contact-us::after {
    content: "\f085 \f085 \f085 \f085 \f085 \f085 \f085 \f085 \f085 \f085 "; /* Font Awesome gear icons */
    font-family: "Font Awesome 5 Free"; /* Ensure it pulls from Font Awesome */
    font-weight: 900; /* Use solid icons */
    font-size: 6em; /* Default size for large screens */
    display: flex;
    justify-content: space-around;
    color: rgba(255, 255, 255, 0.2); /* White with opacity */
    position: absolute;
     /* bottom: -100px; Default position for large screens */
    left: 0;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 20px;
    opacity: 0.65;
    z-index: 1;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .contact-us::after {
        content: "\f085 \f085 \f085 \f085 \f085 \f085 \f085 \f085 ";
        font-size: 5em; /* Reduce size on medium screens */
        /* bottom: -80px; Adjust position slightly */
    }
}

@media (max-width: 768px) {
    .contact-us::after {
        content: "\f085 \f085 \f085 \f085 \f085 \f085  ";
        font-size: 4.5em; /* Further reduce size for tablets */
        /* bottom: -60px; Raise the pattern slightly */
    }
}

@media (max-width: 480px) {
    .contact-us::after {
        content: "\f085 \f085 \f085 \f085 \f085 ";
        font-size: 3.8em; /* Smallest size for phones */
        /* bottom: -50px; Fine-tune the position */
    }
}





  



/* Footer styles */
.footer {
    background-color: rgba(0, 0, 0, 0.55); /* Black background with opacity */
    color: #929cbe; /* White text */
    text-align: center; /* Center the text */
    padding: 20px 0; /* Vertical padding */
    position: relative;
    width: 100%; /* Full width */
    /* bottom: 60px; */
    
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer p {
        font-size: 1.2em; /* Slightly larger text on small screens */
    }
}

@media (max-width: 480px) {
    .footer p {
        font-size: 1em; /* Adjust font size for very small screens */
    }
}
