*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    /* background-color: #003366; */
    color: white;
    top: 0;
    z-index: 1000;
    width: 100%;
    position: fixed;
    height: 80px;
    margin-bottom: 250px;
    margin-top: 10px;
    margin: 0 auto;
    text-align: center;
  
    
    background: linear-gradient(145deg, rgba(255, 175, 189, 0.2), rgba(100, 216, 255, 0.2));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 153, 102, 0.2);

}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding-top: 30px;
    gap: 15px;
   
}

nav ul li {
    margin: 0 15px;
}

.text{
    /* background-color: rgba(255, 255, 255, 0.5); */
    background-color: rgba(0, 0, 0, 0.5);
    /* margin-top: 50px;
    margin-left: 40px; */
    position: absolute;
    right: 0;
    margin: 30px 200px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    

}

nav ul li a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    font-style: italic;
    padding: 10px 20px;
     /* background-color: rgb(58, 212, 161); */
     /* background-color: #66cc66; */
     background-color: white;
     border-radius: 5px;
     transition: background-color 0.3s ease;
     font-size: 17px;
    margin: 5px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 0.5px;
}
nav ul li a:hover {
    background-color: #b6a4a4;
}

nav ul li a.active {
    background-color: #b6a4a4;
}
/* responsive style */
/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    header {
        height: auto;
        padding-bottom: 20px;
        display: inline-block;
        z-index: 1000;
        margin-bottom: -50px;
        position: relative;
    }
    
    nav ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;

        padding-top: 10px;
        gap: 10px;
    }
    nav ul li {
        padding-top: 15px;
    }
    nav ul li a{
        
        display: inline-block;
        background-color: #a0d1f7;
        width: 100px;
    }
    #home{
        width: 80%;
    }

    .text {
        width: 200px;
        height: 200px;
        margin: 20px 30px;
    }

    #home .text h1{
        padding: 35px 15px 0px 15px;
        line-height: 30px;
        color: white;
        font-size: 20px;

    }
    #home .text p{
        padding-left: 0;
    }

    nav ul li a {
        font-size: 12px;
        padding: 8px 16px;
    }
    #about .about{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 30px;
        padding-right: 50px;
        flex-wrap: wrap;


       
    }

    #about .about .img img{
        width: 50vh;
        align-items: center;
       
        display: inline-block;
    }
    #projects .project .services{

        width: 80vh;
    }
    .certificate-container {
        flex-direction: column;
        align-items: center;
    }

    .certificate-card {
        width: 90%;
    }

    #contact h2 {
        font-size: 28px;
    }

    #contact-form {
        width: 90%;
        padding: 25px;
    }
    
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    .certificate-card {
        width: 100%;
        padding: 15px;
    }

    .certificate-card h2 {
        font-size: 18px;
    }

    .certificate-card p {
        font-size: 14px;
    }
   .header {
    margin: 0 auto;
    position: relative;
    display: inline-block;
   
        width: 100%;
        top: 0;
        z-index: 1000; /* Ensure the header stays on top */
        margin-bottom: -70px;
        
   }

    
    nav ul {
        
        width: 95%;
        display: flex;
        flex-direction: column;
    
        
       
    }
   
    header nav ul li a{
      display: inline-block;
      width: 100px;
      border-radius: 10px;
    }

    
    

    .text {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        margin: 20px 30px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #home .text h1{
        font-size: 15px;
        padding: 35px 15px 0px 15px;
        line-height: 20px;
        text-align: center;
        margin-bottom: 7px;
       

    }
    #home .text p{
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        padding-left: 0px;

        
        
        
    }

    #home{
        width: 100%;
        margin: 0 auto;
        
       
    }

    nav ul li a {
        font-size: 13px;
        padding: 6px 12px;
    }
    #projects{
        margin: 0 auto;
    }
  
/* #projects .project{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    flex-wrap: wrap;
    margin: 0 auto;
} */
   
    #projects .project .services{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 90%;
        
}
        #projects .project .services .serice .text{
            width: 83%;
           display: absolute;
            margin-bottom: 25px;
           

        }
        #projects .project .services .serice .text h1{
            font-size: 20px;
            font-style: italic;

        }
        #projects .project .services .serice .text p{
            font-size: 15px;
        }
        #projects .project .services .serice img{
            width: 100%;
        }


        #contact h2 {
            font-size: 24px;
        }
    
        #contact-form {
            width: 100%;
            padding: 20px;
        }
    
        input, textarea {
            font-size: 14px;
        }
    
        #contact .btn {
            font-size: 16px;
        }

#about .about{
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 30px;
    padding-right: 50px;
    flex-wrap: wrap;


   
}

#about .about .info{
    margin-left: -70px;
}

#about .about .info h2{
    font-family: Georgia, 'Times New Roman', Times, serif;
}

#about .about .img img{
    width: 40vh;
    align-items: center;
   margin-left: -100px;
    display: inline-block;
}

}
/* end of responsive style */
section {
    padding: 20px;
    margin: 20px auto;
    max-width: 1280px;
}

.project {
    margin-bottom: 20px;
}

#home{
    background-image: url(images/port.jpg);
    background-size: cover;
    background-position: center;
    height: 80vh;
   margin-top: 90px;
    width: 95%;
}

#home h1 {
    color: white;
    font-size: 30px;
    /* padding-left: 30px; */
    padding-top: 70px;
    letter-spacing: .5px;
    margin-bottom: 20px;
    font-family: Georgia,serif;
    font-weight: bold;
    line-height: 40px;
    letter-spacing: 1px;

}

#home p {
    color: white;
    font-size: 20px;
    padding-left: 30px;
    font-style: italic;
    letter-spacing: .6px;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

#about {
   
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.1), rgba(0, 255, 255, 0.1), rgba(255, 255, 0, 0.1));
    background-size: 400% 400%;
    animation: rainbowBackground 12s ease infinite;
}

#about h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
    font-family: Georgia;
    animation: rainbowBackground 12s ease infinite;
}
#about .about{
    display: flex;
    gap: 30px;
    width: 80%;
   margin-left: 100px;
}

#about .about .info{
    margin-top: 30px;
}

#about .about img{
    width: 300px;
    border-radius: 0px 0px 0px 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);


}
#about .about h2{
    text-align: left;
    font-size: 30px;
    font-family: sans-serif;
    font-weight: bold;

}
#about p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 16px;
    text-align: left;
}

#projects{
    margin-top: 3rem;
    width: 100%;
}

#projects h2{
    text-align: center;
    font-size: 40px;
    margin-bottom: 10px;
}
#projects .project .services{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 20px;
}
#projects .project .serice{
    width: 450px;
    height: 450px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}
#projects .project .serice:hover{
    transform: scale(1.1);
    cursor: pointer;
}
#projects .project .serice img{
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}
#projects .project .serice .text{
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
    margin-top: 190px;
    display: inline;
    position: absolute;
    bottom:0;
    margin-right: 23px;
    right:0;
    width: 25rem;
    
    height: 10rem;
    border-radius: 10px;
}
#projects .project .serice{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
   
}

#projects .project .serice .text p{
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    
}


#projects .project .serice .text h1{
    margin-top: 10px;
    font-size: 30px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
}

#contact {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styling */
#contact-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Input Field Styling */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: 0.3s ease-in-out;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.3);
}

/* Textarea Styling */
textarea {
    height: 120px;
    resize: none;
}

/* Button Styling */
#contact .butn {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #ffd700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    
   position: relative;
    margin-top: 10px;
}

#contact .butn:hover {
    background: #ffeb3b;
    color: #000;
}

#certificates {
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    text-align: center;
}

h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.certificate-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    width: 320px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ffd700;
}

.certificate-card p {
    font-size: 16px;
    margin: 5px 0;
}

.certificate-card .link a {
    display: inline-block;
    margin-top: 10px;
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.certificate-card .link a:hover {
    color: #ffeb3b;
    text-decoration: underline;
}



#features {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.slides {
    position: relative;
    width: 90%;
    height: 90%;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}
.active {
    opacity: 1;
}
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active {
    background-color: white;
}


/* Start of projects section */
/* Modal styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f4f4;
}

#project{
  padding: 40px;
  text-align: center;
}

button {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}


  
/* End of projects section */