/* Global Styles */
body {
    margin: 0;
    font-family: 'PT Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    background: #30336b;
    color: white;
    padding: 5px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .WebName {
    margin-right: auto;
    margin-left: 5px;
    font-family: 'PT Sans', sans-serif;
    font-size: 30px;
    display: block;
}

.logo {
    height: 40px;
    
    margin-left: 10px;
}

.logoName {
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
    margin-right: 20px;
}

.nav-menu a {
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #f9ca24;
}

/* Menu Icon Styling */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hidden by default */
        flex-direction: column;
        gap: 15px;
        background: #30336b;
        padding: 20px;
        position: absolute;
        top: 60px;
        right: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        
    }

    .nav-menu.show {
        display: flex; /* Show when active */
    }

    .menu-icon {
        display: flex;
        margin-right: 20px;
    }
    
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px 20px;
    color: white;
    background-image: url('laptop.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.hero .tags {
    list-style: none;
    margin-right: 40px;
}

.hero .tags li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    font-size: 1.1rem;
    padding: 10px;
    margin: 5px 0;
    background-color: rgba(155, 149, 149, 0.185);
    color: white;
    border-radius: 5px;
}

.hero .tags li.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero .black {
    height: 100%;
    width: 100%;
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.7;
    z-index: -1;
}

.hero .hTitle {
    font-size: 3rem;
    margin-bottom: 20px;
}
.hero .hTitle:hover {
    font-size: 3rem;
    margin-bottom: 20px;
    background: rgba(0, 168, 255,1.0);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .btn {
    padding: 10px 20px;
    background: rgba(0, 168, 255,1.0);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.hero .btn:hover {
    background: #2c2b3b;
}

/* Services Section */
.services {
    padding: 50px 20px;
    background: #f7f7f7;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-items {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}
.service-items .SerImg{
    height: 150px;
    border-radius: 5px;

}
.service-item {
    flex: 0 0 calc(33.33% - 20px); /* Adjust the width to 33.33% for 3 items */
    text-align: center;
    background: #f7f7f7;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px; /* Add margin to separate items */
    min-width: 300px; /* Ensure a minimum width of 300px */
}
.service-item:hover {
    transform: translateY(-10px); /* Lift effect */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 768px) {
    .service-item {
        flex: 0 0 calc(100% - 20px); /* Make items take full width for mobile */
        min-width: 300px; /* Ensure each item has a minimum width of 300px */
    }
}
button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 168, 255, 0.5);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 8;
    font-size: 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.3s;

    
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

button.prev:hover,
button.next:hover {
    background: rgba(48, 51, 107, 1);
}


/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
    background-color: #f5f5f5;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
}

.portfolio h2, .services h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #30336b;
}

/* Portfolio Item */
/* Portfolio Section */
.portfolio {
    padding: 80px 20px;
    background-color: #f5f5f5;
    text-align: center;
    font-family: 'PT Sans', sans-serif;
}

.portfolio h2,
.XXX  {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #30336b;
}
.XXX{
    text-align: center;

}
.ddd{
    padding: 20px;
    border: 1px black solid;
    margin: 10px;
    border-radius: 5px;
    background-color: #f5f5f5;
}
.portfolio-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Image Section */
.portfolio-img {
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;
}

.portfolio-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Details Section */
.portfolio-details {
    flex: 2 1 300px;
    text-align: left;
}

.portfolio-details h3 {
    font-size: 1.8rem;
    color: #30336b;
    /*margin-bottom: 10px;*/
    font-weight: 600;
}

.role {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.portfolio-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.portfolio-details li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 12px;
    display: flex;
}

.portfolio-details li strong {
    font-weight: 600;
    color: #30336b;
    margin-right: 5px;
}

/* Map Section */
.portfolio-map {
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;
}

.portfolio-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 8px;
}
.portfolio-img,
.portfolio-map iframe,
.portfolio-details{
    height: 300px;
    width: 300px;
}

.contact2 form input:focus,
textarea:focus{
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .portfolio-item {
        flex-direction: column;
        text-align: center;
    }

    .portfolio-img {
        margin-bottom: 20px;
    }

    .portfolio-details {
        text-align: center;
    }

    .portfolio-map {
        margin-top: 20px;
        
    }
}


/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: #f7f7f7; 
    font-family: 'PT Sans', sans-serif;
}

.conL {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #30336b;
    
}

/* Layout Styling */
.contact1,
.contact2 {
    flex: 1;
}

.contact1 {
    padding: 20px;
    font-size: 1rem;
    color: #333;
}

.contact1 p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.contact1 p strong {
    font-weight: 600;
    color: #30336b;
}

/* Form Styling */
.contact2 form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact2 input,
.contact2 button {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact2 input:focus {
    border-color: #30336b;
    outline: none;
    box-shadow: 0 0 4px rgba(48, 51, 107, 0.4);
}

.contact2 button {
    background-color: #30336b;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact2 button:hover {
    background-color: #f1c40f;
    color: #30336b;
}

/* Grid Layout */
.contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    background-color: #fff;
}

.contact1,
.contact2 {
    flex: 1 1 45%; 
}
.contact1 p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #444;
}

.contact1 i {
    margin-right: 10px; 
    color: #30336b; 
}
.contact2 button, .ServicesButton{
    width: 150px;
    margin: auto;
    color: #FFF;
    background: rgba(0, 168, 255,1.0);
}
.ServicesButton{
    padding: 10px 15px;
    border-radius: 7px;
}
.contact2 button:hover,
.ServicesButton:hover {
    background: #2c2b3b;
    color: #FFF;
}
.about{
    height: 80px;
}


.siteLogo_name {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.siteLogo_name img {
    height: 30px;
}

.siteLogo_name a {
    color: white;
    font-size: 20px;
    margin-left: 15px;
    text-decoration: none;
}

.siteLogo_name a:hover {
    text-decoration: underline;
}

.cardLogo{
    /*margin-left: auto;
    margin-right: 0;*/
    height: 50px;
    margin: auto;
    margin-bottom: 20px;

    

}
.cardLogo img{
    border-radius: 5px;
}
.cardLogo img:hover {
    border-radius: 5px; 
    transform: scale(1.1); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
}



.unList {
    padding-left: 20px;
}
.DSCc{
    text-decoration: underline;
}


#footer{
    width: 100%;
    background-color: #30336b;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
}

 #showBox{
    width: auto 100%;
    padding: 20px;
    height: auto;
 }

#showBox strong{
    text-align: left;
    text-decoration: underline;
    text-transform: uppercase;
 }

#MMmenus{
    display: flex; 
    justify-content: center; 
    align-items: center; /* Center items vertically */
    margin: 0 auto; /* Center the menu container */
    padding: 0; /* Remove default padding */

}
#MMmenus li{
    list-style: none;
    margin: 10px; 
    transition: background-color 0.3s ease;
}
#MMmenus li:hover{
    color: #f1c40f;
    transition: background-color 0.3s ease;
    text-decoration: underline;
}

.Trm_Con_poli #showBox h5{
    text-decoration: underline;
    font-family: 14px;

}
 