*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.header{
    width: 100%;
    height: 5vh;
    background-color: rgb(147, 147, 147);
    display: flex;
    justify-content: space-between;
}
.header ul li{
    list-style: none;
    display: inline-flex;
    margin-right: 30px;
}
.header span{
    margin-top: 5px;
    letter-spacing: 2px;
}
.header ul li a{
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: 0.5s;
    margin-top: 5px;
}
.header ul li a:hover{
    color: rgb(11, 1, 163);
    border-top-color: rgb(30, 76, 229);
    border-bottom-color: rgb(63, 99, 215);
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    position: relative;
}
.navbar ul li span{
    font-size: 25px;
    color: black;
    font-weight: 600;
    letter-spacing: 3px;
}

.navbar ul li{
    list-style: none;
    display: inline-flex;
    margin-right: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.navbar ul li a{
    text-decoration: none;
    color: rgb(30, 6, 251);
    font-size: 18px;
    border: 2px solid transparent;
    transition: 0.5s;
    padding: 0.5rem 1rem;
}
.navbar ul li a:hover{
    color: rgb(11, 1, 163);
    border-top-color: rgb(30, 76, 229);
    border-bottom-color: rgb(63, 99, 215);
}
input{
    color: rgb(30, 6, 251);
    padding: 10px 20px;
    outline: none;
    border: 1px solid blue;
    cursor: pointer;
    border-radius: 5px;
    background-color: white;
}
.btn:hover{
    background-color: rgb(30, 6, 251);
    color: white;
}

.image img{
    height: 300px;
    width: 100%;
}
.boxes{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    align-content: center;
}
.box{
    width: 350px;
    height: 200px;
    background-color: rgb(255, 255, 255);
    margin-top: 10px;
    margin-left: 10px;
}
.box h3{
    color: rgb(30, 6, 251);
    font-weight: 400;
    margin-bottom: 10px;
}
.box p{
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.box a{
    padding: 5px 8px;
    text-decoration: none;
    color: rgb(30, 6, 251);
    border: 1px solid rgb(30, 6, 251);
    transition: 0.3s;
}
.box a:hover{
    border: 1px solid rgb(30, 6, 251);
    background-color: rgb(225, 223, 244);
}
.next{
    display: flex;
    justify-content: center;
    gap: 10px;
}
.circle{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgb(194, 194, 194);
}
.trending .event img{
    width: 500px;
    height: 300px;
    border-radius: 10px;
    cursor: pointer;
    object-fit: cover;
}
.trending{
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    gap: 50px;
    margin-bottom: 20px;
}
.head{
    text-transform: uppercase;
    text-align: center;
    font-size: 30px;
    margin-bottom: 15px;
}
.trending p{
    width: 500px;
    letter-spacing: 2px;
}
.trending a:hover{
    color: rgb(84, 84, 233);
}
.courses{
    display: flex;
    margin-top: 20px;
    justify-content: space-around;
    margin-bottom: 20px;
}
.course img{
    width: 300px;
    height: 200px;
    border-radius: 5px;
    object-fit: cover;
}
.course p{
    letter-spacing: 2px;
    width: 200px;
}
.course h3{
    color: rgb(58, 37, 246);
}
.course a:hover{
    color: rgb(52, 30, 251);
}
.certificate{
    background-color: beige;
    width: 300px;
    height: 400px;
    border-radius: 8px;
}
.title{
    text-transform: capitalize;
    letter-spacing: 3px;
    background-color: rgb(41, 41, 193);
    width: 100%;
    height: 7vh;
    text-align: center;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    align-content: center;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
}
.certificate img{
    width: 300px;
    height: 200px;
}
.certificate p {
    letter-spacing: 2px;
}

/* Testimonials Section */
.testimonials {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa;
    justify-content: space-evenly;
}

.testimonial {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    max-width: 500px;
    text-align: center;
}

.testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.testimonial h4 {
    color: #1e06fb;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.testimonial p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9em;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}


.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    width: 100%;
}



.testimonial-prev,
.testimonial-next {
    padding: 10px 20px;
    background-color: #4a36fe;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: #1604c7;
}

.testimonial-prev:disabled,
.testimonial-next:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}



/* Slideshow styles */
.slide {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-item:first-child {
    opacity: 1;
}

@keyframes slideAnimation {
    0% { opacity: 0; }
    20% { opacity: 1; }
    33% { opacity: 1; }
    53% { opacity: 0; }
    100% { opacity: 0; }
}

.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 5s; }
.slide-item:nth-child(3) { animation-delay: 10s; }
.slide-item:nth-child(4) { animation-delay: 15s; }

.slide-item {
    animation: slideAnimation 20s infinite;
}

.slide-description {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-align: center;
    max-width: 80%;
    font-size: 1.2em;
}

.slide-description p {
    margin: 0;
    line-height: 1.4;
}


.cert-bn{
    padding: 5px 8px;
    text-decoration: none;
    color: rgb(30, 6, 251);
    border: 1px solid rgb(162, 152, 255);
    transition: 0.5s;
    margin: 43%;
}
.cert-bn:hover{
    border: 1px solid rgb(30, 6, 251);
}
