*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
}

h1 {
    animation: fadeSlide 2s ease forwards;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


.aboutus-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #0898e0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease;
}

.aboutus-btn i {
    margin-right: 8px;
}

.aboutus-btn:hover {
    background-color: #0573b2;
    transform: translateY(-3px);
}

#sideNav{
    width: 250px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #0898e0;
    z-index: 2;
    transition: 0.5s;
}

nav ul li{
    list-style: none;
    margin: 50px 20px;

}

nav ul li a{ 
    text-decoration: none;
    color: #fff;
}

#menuBtn{
    width: 50px;
    height: 50px;
    background: #0898e0;

    text-align: center;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 3px;
    z-index: 3;
    cursor: pointer;
}

#menuBtn img{
    width: 20px;
    margin-top: 15px;
}

@media screen and (max-width: 770px) {
    .banner-text h1{
        font-size: 44;
    }    
}

/* aboutus */

#aboutus{
    width: 100%;
    padding: 70px 0;
}

.title-text{
    text-align: center;
    padding-bottom: 70px;
}

.title-text p{
    margin: auto;
    font-size: 20px;
    color: #0898e0;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
}
.title-text p::after{
    content: '';
    width: 50px;
    height: 35px;
    background: linear-gradient(#0898e0,#fff);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: -1;
    transform: rotate(10deg);
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
}
.title-text h1{
    font-size: 50px;
}


.aboutus-box{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
}

.aboutus{
  
    flex-basis: 50%;
}
.aboutus-img {
    flex-basis: 50%;
    margin: auto;
}

.aboutus-img img {
    width: 50%;             /* Set a fixed width for perfect circle */
    height: 50%;            /* Make height equal to width */
    border-radius: 50%;       /* Makes the image circular */
    border: 4px solid #0898e0; /* Blue border */
    object-fit: cover;        /* Ensures the image fills the circle */
    display: block;
    margin: auto;
 animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px); /* moves up smoothly */
    }
    100% {
        transform: translateY(0);
    }
}
.aboutus-decs{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.aboutus-decs p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: auto;
    color: #333;
}


@media screen and (max-width: 770px) {
    .title-text h1{
        font-size: 35px;
    }
    .aboutus{
        flex-basis: 100%;
    }
    .aboutus-img {
    flex-basis: 100%;
   }
.aboutus-img img {
    width: 100%;             /* Set a fixed width for perfect circle */
    height: 100%;            /* Make height equal to width */
    border-radius: 50%;       /* Makes the image circular */
    border: 4px solid #0898e0; /* Blue border */
    object-fit: cover;        /* Ensures the image fills the circle */
    display: block;
    margin: auto;
  }
}

#education {
    padding: 80px 0;
    background: #f9f9f9;
}

#education .title-text {
    text-align: center;
    margin-bottom: 50px;
}

#education .title-text p {
    font-size: 28px;
    font-weight: 600;
    color: #0898e0;
    letter-spacing: 1px;
}

.education-box {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-education {
    background: #fff;
    padding: 20px 30px;
    border-left: 4px solid #0898e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-education:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.single-education h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.single-education span {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 10px;
}

.single-education p {
    font-size: 16px;
    line-height: 24px;
    color: #333;
}


/* project */
#project{

    width: 100%;
    padding: 70px 0;
    background: white;
}

.project-box{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.single-project{
    flex-basis: 48%;
    text-align: center;
    border-radius: 7px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.single-project img{
    width: 100%;
    border-radius: 7px;
}

.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(rgba(0,0,0,0.5), #0898e0);
    opacity: 0;
    transition: 1s;
}

.single-project:hover  .overlay{
    opacity: 1;
}

.project-desc{
    width: 80%;
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: 1s;
}

hr{
    background: #fff;
    height: 2px;
    border: 0;
    margin: 15px auto;
    width: 60%;
}

.project-desc p{
    font-size: 14px;

}

.single-project:hover  .project-desc{
    bottom: 40%;
    opacity: 1;
}



@media screen and (max-width: 770px) {
 .single-project{
    flex-basis: 100%;
    margin-bottom: 30px;
 }  
 .project-desc p{
    font-size: 12px;
} 
hr{
    margin: 5px auto;
}
.single-project:hover  .project-desc{
    bottom: 25% !important;
}
}
.gray_bg {
    background: #f7f9fc;
    padding: 60px 0;
}

.funfact {
    background: #fff;
    text-align: center;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease-in-out;
    margin: 10px;
}

/* Hover */
.funfact:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Icons */
.funfact i {
    font-size: 42px;
    color: #0898e0;
    margin-bottom: 12px;
}

/* Numbers */
.funfact h3 {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
}
.funfact h3 span {
    color: #0898e0;
}

/* Text */
.funfact p {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    margin: 0;
}

/* Force one row */
.row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.col-lg-3 {
    flex: 0 0 22%;
    max-width: 22%;
}

/* Mobile fix */
@media (max-width: 768px) {
    .row {
        flex-wrap: wrap;
    }
    .col-lg-3 {
        flex: 0 0 45%;
        max-width: 45%;
        margin-bottom: 20px;
    }
}




/* Testimonial */

#testimonial{
    width: 100%;
    padding: 70px 0;
    background: #efefefef;
}
.testimonial-row{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.testimonial-col{
    flex-basis: 28%;
    padding: 10px;
    margin-bottom: 30px;
    border-radius: 5px;
    box-shadow: 0 10px 20px 3px #00968814;
    transition: transform .5s;
}

.user{
    display: flex;
    align-items: center;
    margin: 20px 0;

}

.user img{
   width: 40px;
   margin-right: 20px;
   border-radius: 3px;
}

.user-info small{
  color: #009688;
}

.testimonial-col:hover{ 
    transform: translateY(-7px);

}

@media screen and (max-width: 770px){
    .testimonial-col{
        flex-basis: 100%;
    }
}

#certificates {
    padding: 80px 0;
    background: white;
}

#certificates .title-text {
    text-align: center;
    margin-bottom: 50px;
}

#certificates .title-text p {
    font-size: 28px;
    font-weight: 600;
    color: #0898e0;
    letter-spacing: 1px;
}

.certificates-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 80%;
    margin: auto;
}

.single-certificate {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-certificate:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.single-certificate img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.certificate-desc {
    padding: 15px;
    text-align: center;
}

.certificate-desc h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0898e0;
}

.certificate-desc p {
    font-size: 14px;
    color: #555;
}


/* footer */
#footer{
    padding: 50px 20px;
    background: #efefef;
    text-align: center;
}

.footer-row{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* spacing between rows */
}

.contact-info{
    display: flex;
    gap: 30px; /* space between email and mobile */
    justify-content: center;
}

.contact-info p{
    margin: 0;
    font-size: 16px;
}

.contact-info i{
    margin-right: 8px;
    color: #10b2f8;
}

.social-links{
    display: flex;
    gap: 15px;
}

.social-links i{
    height: 40px;
    width: 40px;
    line-height: 40px;
    border: 1px solid #08b0f8;
    color: #057bbb;
    border-radius: 7px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.social-links i:hover{
    background: #07b6f1;
    color: #fff;
    transform: translateY(-5px);
}


@media screen and (max-width: 770px){
    .footer-left,.footer-right{
        flex-basis: 100%;
        font-size: 14px;
    }
    .footer-img{
        top: 25%;
        
    }
}

