*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-position: center;
    background-color: whitesmoke;
    background-size: cover;
    font-family: sans-serif ;
    overflow-x: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
.logo{
    color:whitesmoke;
    font-size: 20px;
    font-weight: 600;
    padding: 20px;
    margin: 20px;
}
.logo h1{
    text-align: center;
    justify-content: center;
    font-display: flex;
    width: 200px;
    height: 100vh;
    margin: 20px;
    display: block;
    position: relative;
}
.menu-bar
{
background: rgb(58, 136, 129);
align-items: center;
height: 100px;
width: 100%;
display: flex;
justify-content: space-between;
padding: 0, 5%;
position: fixed;
z-index: 100;
} 
.menu-bar ul
{
  display: flex;
  list-style: none;
  color: #fff;
}
.menu-bar ul li
{
    width: 120px;
    margin: 13px;
    padding: 15px;
    position: relative;
}
.menu-bar ul li a
{
text-decoration: none;
color: #ffffff;
font-size: 15px;
}
.active menu-bar ul li a:hover
{
background-color: blue;
border-radius: 3px;
}
.sub-menu-1
{
    display: none;
    margin: 10px;
}
.sub-menu-1 ul li
{
display: block;            
font-size: 10px;
}
.menu-bar ul li:hover .sub-menu-1
{
    display: block;
    position: absolute;
    background: rgb(58, 136, 129);
    margin-top: 15px;
    margin-left: -15px;
}
.menu-bar ul li:hover .sub-menu-1 ul
{
    display: block;
    margin: 10px;
}
.menu-bar ul li:hover .sub-menu-1 ul li
{
    width: 150px;
    padding: 10px;
    border-bottom: 1px dotted #fff;
    background: transparent;
    border-radius: 0;
    text-align: left;
}
.menu-bar ul li:hover .sub-menu-1 ul li:last-child
{
    border-bottom: none;
}
.menu-bar ul li:hover .sub-menu-1 ul li a:hover
{
    color: violet;
}
.sub-menu-2
{
    display: none;
}
.hover-me:hover .sub-menu-2
{
    position: absolute;
    display: block;
    margin-top: -40px;
    margin-left: 140px;
    background: rgb(58, 136, 129);
    font-size: 15px;
}
.fa-angle-down{
 float: right;
 display: block;
 size: 3px;
}
.fa-angle-right{
    float: right;
    margin-left: -35px;
   }

.slider{
    width: 1300px;
    height: 550px;
    margin: auto;
    overflow:hidden;
    position: relative;
    transition: all 5s ease-in-out;
    z-index: -5;
}
.item {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .item h3,
  .item p {
    position: absolute;
    top: 50%;
    left: 18%;
    color: white; /* Adjust text color as needed */
    text-align: center;
    padding: 20px; /* Add padding for spacing around text */
    margin: 0 10px;
    z-index: 1;
} 
.list:hover .item h3,
.list:hover .item p {
    transform: scale(0.8); 
    opacity: 0.7; 
}
.item h3 {
    font-size: 34px;
    font-weight: 600;
}
.item p {
    font-size: 24px;
    margin-top: 100px;
}
.list{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1300px;
    display: flex;
    transition: 3s;
}
.list img{
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
    background-size: cover;
}
.buttons{
    position:relative ;
    top: 50%;
    left: 5%;
    right: 10%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}
.buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}
.buttons button:hover{
    background-color: #11b2d2;
}
.dots{
    position: absolute;
    bottom: -200px;
    color: aqua;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}
.dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color:#f8e1e1;
    margin: 20px;
    border-radius: 20px;
    transition: 3s;
}
.dots li.active{
    width: 20px;
    height: 20px;
    background-color: #fff;
}
.About{
    padding: 80px 0;
    margin: 65px;
    width: 100%;
    height: 110vh;
}
.About h3{
    font-size: 22px;
    font-weight: 600;
    padding-top: 40px;
    margin-top: -70px;
   color: yellowgreen;
   text-align: center;
   justify-content: center;
}
.About p{
    font-size: 34px;
    align-items: center;
    text-align: center;
    display: flex;
    padding: 10px;
    font-weight: 300;
    margin-top: 20px;
    margin-bottom: 65px;
    justify-content: center;
}
.row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 20px;
}
.About-column-1{
    flex-basis: 30%;
    height: auto;
}
.About-column-1 img{
    width: 100%;
    border-radius: 15px;
}
.About-column-2{
    flex-basis: 65%;
    margin-right: 3px;
}
.About-column-2 h3{
    font-size: 24px;
    color: black;
    text-align: justify;
    justify-content: space-between;
}
.About-column-2 p{
    font-size: 17px;
    justify-content: space-between;
    text-align: justify;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid forestgreen;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: black;
    background-color: #f5d60b;
    transition: background 0.5s;
}
.btn:hover{
    background: #11b2d2;
}
#values{
    padding: 80px;
}
#values .container{
    margin: 60px;
    width: 100%;
    margin-left: 25px;
    margin-right: 10px;
    height: 50vh;
    margin-top: 80px;
    align-items: center;
    display: block;
}
.values-cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 15px;
    margin-top: 50px;
    overflow-x: hidden;
    height: 40vh;
    border-radius: 3px;
}
.grid-item{
    display: inline-block;
    overflow: hidden;
    grid-area: auto;
}
.sub-tittle{
    display: flex;
    justify-content: center;
    text-align: center;
    color:rgb(168, 248, 8)

}
.values-cards div{
    background-color: rgb(42, 141, 141);
    padding: 18px;
    font-size: 20px;
    border-radius: 5px;
    font-weight: 300;
    transition: background 0.5s, transform 0.5s;
}
.values-cards div h2{
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
}
.values-cards div:hover{
    background-color:navajowhite;
    transform: translateY(-20px);
}
.values-cards div::after{
    content: "";
    width: 0;
    height: 5px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -1px;
    transition: 0.5s;
}
.values-cards div:hover::after{
    width: 100%;}

    /**************services***********************/
.service {
    padding: 80px;
    height: 80vh;
    width: 100%;
    box-sizing: border-box;
    background-image: url(images/SLIDER-VIDEO.jpg);
    justify-content: center;
    align-items: center; /* Changed for centering */
    background-attachment: fixed;
    background-size: cover;
    display: flex; /* Added for centering */
    flex-direction: column; /* Ensures children are stacked vertically */
    z-index: 1; /* Lower z-index than the nav bar */ 
    margin-top: 50px;
}
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-gap: 40px;
    margin-top: 40px;
}
.service .container {
    margin: 5px;
    margin-left: 5px;
    width: 100%;
    height: 50vh; /* Removed fixed height for flexibility */
    margin-top: 150px;
    display: flex; /* For centering */
    align-items: center;
    flex-direction: column; /* Ensures children are stacked vertically */
}
.services-list div {
    height: auto; /* Adjust as needed */
    width: 100%; /* Changed from 110% to 100% */
    background-color: white;
    padding: 5px; /* Increased for better spacing */
    border-radius: 5px;
    transition: background 0.5s, transform 0.5s;
    text-align: center; /* Center-align text inside grid items */
    display: flex; /* Added for flexbox centering */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}
.sub-tittle2 {
    font-size: 30px;
    text-align: center;
    justify-content: center;
}

.grid-items h2 {
    font-size: 28px;
    font-weight: 400;
    margin-top: 3px; /* Adjusted for spacing */
    margin-bottom: 3px; /* Adjusted for spacing */
    padding: 5%;
    display: block; /* Ensure h2 is block-level */
}

.grid-items .fa, .grid-items .fas {
    font-size: 44px;
    margin-bottom: 5px; /* Adjusted for spacing */
    margin-top: 5;
    color: #b4a234;
    display: block; /* Ensure icons are block-level */
}

.grid-items a {
    text-decoration: none;
    font-size: 24px;
    margin-top: 15px;
    margin-left: 0; /* Center align links */
    display: inline-block;
    align-items: center;
    justify-content: center;
}
.grid-items a:hover {
    color: #f5d60b;
}
.paragraph {
    color: black;
    font-size: 20px;
    text-align: center;
    margin-top: 10px; /* Adjusted for spacing */
}
.services-list div:hover {
    background-color: rgb(42, 141, 141);
    transform: translateY(-20px);
}
.partners {
    text-align: center;
    padding: 50px 0;
    margin-top: 500px;
    margin-bottom: -650px;
  }
  
  .partners h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .partner-logos {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .partner-logos li {
    margin: 30px;
  }
  .partner-logos img {
    max-width: 150px;
    height: auto;
  }
footer{
    width: 100%;
    height: 60vh;
    position: relative;
    margin-top: 700px;
    background:rgb(58, 136, 129);
    color: #fff;
    padding: 5px 0 40px;
    border-top-left-radius: 125px;
    font-size: 16px;
    line-height: 20px;
}
.rows{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.columns{
    flex-basis: 25%;
    padding: 25px;
    margin: 15px;
}

.columns ul li a {
    text-decoration: none;
    color: #fff;
    position: relative;  /* Add this */
    display: inline-block;  /* Add this */
    padding-bottom: 2px;  /* Add this to create space for the underline */
}
.columns ul li a::after{
    content: "";
    width: 0;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: 0.5s;
}
.columns ul li a:hover::after{
    width: 100%;}

.columns:nth-child(2), .columns:nth-child(3){
    flex-basis: 15%;
}
.columns h3{
    width: fit-content;
    margin-bottom: 40px;
    position: relative;
}
.email-id{
    width: fit-content;
    border-bottom: 1px solid white;
    margin: 20px 0;
}
ul li{
    list-style: none;
    margin-bottom: 12px;
}
ul li a{
    text-decoration: none;
    color: #fff;
}
form{
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #0b0a0a;
    margin-bottom: 50px;
}
form .far{
    font-size: 18px;
    margin-right: 10px;
}
form input{
    width: 100%;
    background: transparent;
    color: white;
    border: 0;
    outline: none;

}
form button{
    background: transparent;
    border: 0;
    outline: none;
    cursor: pointer;
}
form button .fas{
    font-size: 18px;
    color: #ccc;
}
.social-icons .fab{
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 50%;
    line-height: 30px;
    font-size: 18px;
    color: #000;
    background: #fff;
    margin-right: 10px;
    cursor: pointer;
}
.social-icons .fab:hover{
    background-color: orange;
}
.underline{
    width: 100%;
    height: 5px;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
    overflow: hidden;
}
.underline span{
    width: 20px;
    height: 100%;
    background: #ff004f;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 10px;
    animation: moving 2s linear infinite;
}
.copyright{
    text-align: center;
    margin-left: 30px;
    
}
@keyframes moving{
    0%{
        left: -20px;
    }
   100%{
        left: 100%;
    }
}
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(247, 207, 10);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #11b2d2;
    transform: translateY(-3px);
}

.scroll-to-top .arrow-up {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 12px solid white;
}

.menu-bar .fas{
    display: none;
    margin-right: 5%;
} 
@media screen and (max-width: 600px){
    html, body {
        max-height: auto;
        overflow-x: hidden;
    }
    .menu-bar {
        height: 13vh;
        flex-direction: column;
        padding: 10px;
    }

    .logo {
        width: 100%;
        text-align: left;
        margin: 10px 0;
    }
    .logo h1 {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .menu-bar ul {
        position: fixed;
        background: rgb(58, 136, 129);
        top: 0;
        right: 0;
        width: 250px;
        height: 44vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-bar ul li {
        width: 100%;
        margin: 0;
        padding: 10px;
        border-bottom: 1px dotted #fff;
    }

    .menu-bar ul li a {
        display: block;
        width: 100%;
    }

    .sub-menu-1 {
        position: static;
        display: none;
        margin: 0;
        width: 100%;
    }

    .menu-bar ul li:hover .sub-menu-1
    {
        display: block;
        position: absolute;
        background: rgb(58, 136, 129);
        margin-top: 15px;
        margin-left: -25px;
    }
    .menu-bar ul li:hover .sub-menu-1 ul
    {
        display: block;
        margin: 10px;
    }

    .sub-menu-2 {
        position: static;
        display: none;
        margin: 0;
        width: 100%;
    }

    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 0;
        margin-left: -10px; /* Shift content to the left */
    }

    .fa-angle-down,
    .fa-angle-right {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        float: none;
    }

    /* Mobile Menu Toggle */
    .fas.fa-bars,
    .fas.fa-times {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 27px;
        cursor: pointer;
        z-index: 3;
        color: white;
    }

    .fas.fa-times {
        right: 200px;
    }

/* Accessibility and Interaction Enhancements */
    .menu-bar ul li a:hover {
        color: violet;
    }
    .menu-bar ul li:hover .sub-menu-1,
    .hover-me:hover .sub-menu-2 {
        position: static;
        margin: 0;
    }
    .slider-container {
        margin-top: -95px;
        height: auto;
        margin-bottom: -55px;
        width: 100%;}
        
    .list{
    height: auto;
    width: 100%;
    padding: 10px;
    }
    .list img{
    max-width: 400px;
    height: auto;
    object-fit: cover;
    background-size: cover;
    }
    .item{
        margin-top: 14%;
        width: auto;
        height: auto;
        font-size: 20px;
        text-decoration: solid;
}
    .item h3{
        font-size: 1.8rem;
        font-weight: 600;
        top: 14%;
        left: -2%;
        width: 90%;
        padding: 0 10px;
    }
    .item p {
        font-size: 0.9rem;
        top: 10%;
        left: 2%;
        right: 6%;
        width: 90%;
        padding: 0 15px;
        line-height: 1.4;
    }
  
    .buttons button {
        width: 35px;
        height: 35px;
        left: 5%;
        font-size: 20px;
        margin-bottom: 250px;
        display: none;
    }

    #prev {
        left: -30px;
        top: -50%;
        font-size: 20px;
        display: none;
    }

    #next {
        right: 2px;
        font-size: 30px;
    }

    .dots {
        bottom: 25px;
        font-size: 30px;
    }

    .dots li {
        width: 10px;
        height: 10px;
    }
    .item img{
        width: 3500;
        height: auto;
    }
    .About {
        padding: 5px 10px;
        margin: 10px 0;
        height: auto;
    }
    .About h3 {
        font-size: 18px;
        padding-top: 20px;
        margin-top: -40px;
    }
    .About p {
        font-size: 24px;
        padding: 5px;
        margin-top: 10px;
        margin-bottom: 30px;
    }
    .row {
        flex-direction: column;
        margin: 10px;
    }
    .About-column-1, .About-column-2 {
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .About-column-2 h3 {
        font-size: 20px;
    }
    .About-column-2 p {
        font-size: 15px;
    }

    /* Values Section Responsive */
    #values {
        padding: 20px;
    }
    #values .container {
        margin: 10px;
        height: auto;
    }
    .values-cards {
        grid-template-columns: 1fr;
        height: auto;
    }
    .values-cards div {
        font-size: 16px;
        padding: 15px;
    }
    .values-cards div h2 {
        font-size: 20px;
    }

    /* Services Section Responsive */
    .service {
        padding: 20px;
        height: auto;
        margin-top: 20px;
    }
    .services-list {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
    .services-list div {
        height: auto;
    }
    .grid-items h2 {
        font-size: 22px;
        padding: 3%;
    }
    .grid-items .fa, .grid-items .fas {
        font-size: 36px;
    }
    .paragraph {
        font-size: 16px;
    }

    /* Partners Section Responsive */
    .partners {
        margin-top: 1400px;
        padding: 20px 0;
    }
    .partner-logos li {
        margin: 10px;
    }
    .partner-logos img {
        max-width: 100px;
    }

    /* Footer Section Responsive */
    footer {
        height: 161vh;
        margin-top: 650px;
        border-top-left-radius: 50px;
    }
    .rows {
        flex-direction: column;
    }
    .columns {
        flex-basis: 100%;
        padding: 15px;
        margin: 10px 0;
    }
    .columns:nth-child(2), .columns:nth-child(3) {
        flex-basis: 100%;
    }

    /* Scroll to Top Button */
    .scroll-to-top {
        width: 35px;
        height: 35px;
        bottom: 15px;
        right: 15px;
    }

    /* Menu Bar Icon */
    .menu-bar .fas {
        display: block;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
}