/* Googlefont Poppins CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body{
  min-height: 100vh;
}
nav{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 70px;
  background: rgb(0,153,247);
    background: linear-gradient(90deg, rgba(0,153,247,1) 40%, rgba(241,23,18,1) 60%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
nav .navbar{
  height: 100%;
  max-width: 1250px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  /* background: red; */
  padding: 0 50px;
}

.logo img{
    height: 80px;
    margin-right: 150px;
}

.navbar .logo a{
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 20px;
}
nav .navbar .nav-links{
  line-height: 70px;
  height: 100%;
}
nav .navbar .links{
  display: flex;
}
nav .navbar .links li{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  padding: 0 14px;
}
nav .navbar .links li a{
  height: 100%;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(180deg);
  }

nav .navbar .links li .arrow{
  /* background: red; */
  height: 100%;
  width: 22px;
  line-height: 70px;
  text-align: center;
  display: inline-block;
  color: #fff;
  transition: all 0.3s ease;
}
nav .navbar .links li .sub-menu{
  position: absolute;
  top: 70px;
  left: 0;
  line-height: 40px;
  background: rgb(0,153,247);
  background: linear-gradient(90deg, rgba(0,153,247,1) 40%, rgba(241,23,18,1) 60%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 0 0 4px 4px;
  display: none;
  z-index: 2;
}
nav .navbar .links li:hover .htmlCss-sub-menu,
nav .navbar .links li:hover .js-sub-menu{
  display: block;
}
.navbar .links li .sub-menu li{
  padding: 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .links li .sub-menu a{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.navbar .links li .sub-menu .more-arrow{
  line-height: 40px;
}
.navbar .links li .htmlCss-more-sub-menu{
   /*line-height: 40px;*/
}
.navbar .links li .sub-menu .more-sub-menu{
  position: absolute;
  top: 0;
  left: 100%;
  border-radius: 0 4px 4px 4px;
  z-index: 1;
  display: none;
}
.links li .sub-menu .more:hover .more-sub-menu{
  display: block;
  z-index: 1000;
}
.navbar .search-box{
  position: relative;
   height: 40px;
  width: 40px;
  margin-left: 300px;
}
.navbar .search-box i{
  position: absolute;
  height: 100%;
  width: 100%;
  line-height: 40px;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.navbar .search-box .input-box{
  position: absolute;
  right: calc(100% - 40px);
  top: 80px;
  height: 60px;
  width: 300px;
  background: #3E8DA8;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
}
.navbar.showInput .search-box .input-box{
  top: 65px;
  opacity: 1;
  pointer-events: auto;
  background: #3E8DA8;
}
.search-box .input-box::before{
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  background: #3E8DA8;
  right: 10px;
  top: -6px;
  transform: rotate(45deg);
}
.search-box .input-box input{
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  transform: translate(-50%, -50%);
  height: 35px;
  width: 280px;
  outline: none;
  padding: 0 15px;
  font-size: 16px;
  border: none;
}
.navbar .nav-links .sidebar-logo{
  display: none;
}
.navbar .bx-menu{
  display: none;
}
@media (max-width:920px) {
  nav .navbar{
    max-width: 100%;
    padding: 0 25px;
  }

  .logo img{
    height: 53px;
    margin-right: 150px;
  }

  nav .navbar .logo a{
    font-size: 27px;
  }
  nav .navbar .links li{
    padding: 0 10px;
    white-space: nowrap;
  }
  nav .navbar .links li a{
    font-size: 15px;
  }
}
@media (max-width:800px){
  nav{
     /*position: relative; */
  }
  .navbar .bx-menu{
    display: block;
  }
  nav .navbar .nav-links{
    position: fixed;
    top: 0;
    left: -100%;
    display: block;
    max-width: 270px;
    width: 100%;
    background: rgb(0,153,247);
    background: linear-gradient(90deg, rgba(0,153,247,1) 40%, rgba(241,23,18,1) 60%);
    line-height: 40px;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    z-index: 1000;
  }
  .navbar .nav-links .sidebar-logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-logo .logo-name{
    font-size: 25px;
    color: #fff;
  }
    .sidebar-logo  i,
    .navbar .bx-menu{
      font-size: 25px;
      color: #fff;
    }
  nav .navbar .links{
    display: block;
    margin-top: 20px;
  }
  nav .navbar .links li .arrow{
    line-height: 40px;
  }
nav .navbar .links li{
    display: block;
  }
nav .navbar .links li .sub-menu{
  position: relative;
  top: 0;
  box-shadow: none;
  display: none;
}
nav .navbar .links li .sub-menu li{
  border-bottom: none;

}
.navbar .links li .sub-menu .more-sub-menu{
  display: none;
  position: relative;
  left: 0;
}
.navbar .links li .sub-menu .more-sub-menu li{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.links li:hover .htmlcss-arrow,
.links li:hover .js-arrow{
  transform: rotate(0deg);
  }
  .navbar .links li .sub-menu .more-sub-menu{
    display: none;
  }
  .navbar .links li .sub-menu .more span{
    /* background: red; */
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
  }

  .links li .sub-menu .more:hover .more-sub-menu{
    display: none;
  }
  nav .navbar .links li:hover .htmlCss-sub-menu,
  nav .navbar .links li:hover .js-sub-menu{
    display: none;
  }
.navbar .nav-links.show1 .links .htmlCss-sub-menu,
  .navbar .nav-links.show3 .links .js-sub-menu,
  .navbar .nav-links.show2 .links .more .more-sub-menu{
      display: block;
    }
    .navbar .nav-links.show1 .links .htmlcss-arrow,
    .navbar .nav-links.show3 .links .js-arrow{
        transform: rotate(180deg);
}
    .navbar .nav-links.show2 .links .more-arrow{
      transform: rotate(90deg);
    }
}
@media (max-width:370px){
  nav .navbar .nav-links{
  max-width: 100%;
} 
}


.carousel{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
    font-size: 12px;
}

.carousel .list .item .content .des{
    font-size: medium;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #00308F;
}
.buttons {
    display: flex;
    gap: 10px; /* Adjust the gap between buttons as needed */
    margin-top: 20px;
}

.buttons button {
    background-color: #00308F; /* Green background */
    border: none;
    color: white; /* White text */
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover transition */

}

.buttons button a {
    color: white; /* Ensure the link text is white */
    text-decoration: none; /* Remove underline from links */
    display: block; /* Make the link cover the entire button area */
    width: 100%;
    height: 100%;
}

.buttons button:hover {
    background-color: #4B9CD3; /* Darker green on hover */
}


/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

.heading {
    background-color: #f0f0f0; /* Background color for the box */
    padding: 20px; /* Add padding to create space between the text and the box */
    border-radius: 10px; /* Add border radius for rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for depth */
    margin-bottom: 20px; /* Add margin to create space between boxes */
    text-align: center;
}


.heading h1 {
    font-size: 2.5rem; /* Adjust the font size */
    color: #333; /* Set the color */
}





/* CSS for the card container */
.card-container {
    display: flex;
    justify-content: space-around; /* Adjust spacing between items */
    align-items: center; /* Align items vertically */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 20px; /* Adjust the gap between items */
    padding: 20px;
}

/* CSS for the card container */
.card-container {
    display: flex;
    justify-content: space-around; /* Adjust spacing between items */
    align-items: flex-start; /* Align items vertically */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 20px; /* Adjust the gap between items */
    padding: 20px;
}

/* CSS for each card */
.card {
    width: calc(33.33% - 20px); /* Adjust width of items */
    max-width: 300px; /* Max width of each item */
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px); /* Add slight hover effect */
}

.card img {
    width: 100%;
    height: 200px; /* Set a fixed height for the images */
    object-fit: cover; /* Ensure the image covers its container */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-content {
    padding: 20px;
    text-align: center; /* Center align the content */
}

.card-content h1 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px; /* Add margin to separate the title from the paragraph */
}

.card-content p {
    color: #666;
    margin-bottom: 15px; /* Add margin to separate paragraphs */
}

.card-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    background-color: #00308F;
    color: #fff;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #4B9CD3;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .contact .info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

footer .contact .info li span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

footer .contact .info li p,
footer .contact .info li span {
    font-size: 16px;
    color: #ccc;
}

footer .sec {
    flex: 1 1 300px;
    margin: 10px;
}

footer .sec h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #4B9CD3;
}

footer .sec p, 
footer .sec a {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
}

footer .sec p {
    line-height: 1.6; /* Adjust the line height for paragraphs */
}

footer .sec ul {
    list-style: none;
}

footer .sec ul li {
    margin-bottom: 10px; /* Add space between list items */
}

footer .sci li {
    display: inline-block;
    margin-right: 10px;
}

footer .sci li a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s;
    line-height: 3;
}

footer .sci li a:hover {
    color: #4B9CD3;
}

footer .quicklinks ul li a:hover {
    color: #4B9CD3;
}

footer .contact .info li a:hover {
    color: #4B9CD3;
}

footer .info li {
    margin-bottom: 10px;
}

footer .info li span {
    margin-right: 10px;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
    }
}



/* CSS for Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #f9a825;
    color: #333;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #333;
    color: #f9a825;
}

/* WhatsApp Button Styling */
.whatsapp-button {
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 25px;
    display: inline-block;
    transition: background-color 0.3s ease;


}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button i {
    vertical-align: middle;
}

/* Floating WhatsApp Button */
.floating-whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    z-index: 1000;
    height: 40px;
    
}

.floating-whatsapp-button:hover {
    background-color: #128C7E;
}

.floating-whatsapp-button i {
    vertical-align: middle;
    margin-bottom: 41px;
}

/* Additional Styles (Add as needed) */

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .sec.aboutus h2 {
    margin-bottom: 20px;
}

footer .sec.aboutus p {
    font-size: 14px;
    line-height: 24px;
}

footer .sci {
    list-style: none;
    display: flex;
    padding: 0;
}

footer .sci li {
    margin-right: 10px;
}

footer .sci li a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

footer .sci li a:hover {
    color: #4B9CD3;
}

/* Media Queries for Mobile Phones */
@media (max-width: 767px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    nav img {
        height: 60px;
        width: auto;
    }

    nav ul {
        flex-direction: column;
        margin: 10px 0;
    }

    nav ul li {
        margin: 5px 0;
    }

    .carousel .list .item .content {
        width: 90%;
        font-size: 10px;
        padding-right: 0;
    }

    .carousel .list .item .content .title,
    .carousel .list .item .content .topic {
        font-size: 2em;
    }

    .carousel .list .item .content .des {
        font-size: small;
    }

    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons button {
        width: 100%;
        margin: 5px 0;
    }

    .thumbnail {
        bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .thumbnail .item {
        width: 100px;
        height: 150px;
    }

    .arrows {
        top: 90%;
        width: 80%;
        justify-content: space-between;
    }

    .arrows button {
        width: 30px;
        height: 30px;
    }
}


/* Menu button styles */
.menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}

/* Hide nav links by default on mobile */
.nav {
    display: flex;
}

.nav li {
    display: flex;
}

/* Media Queries for Mobile Phones */
@media (max-width: 767px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    nav img {
        height: 60px;
        
    }

    .menu-button {
        display: block;
    }

    .nav {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    .nav li {
        width: 100%;
        text-align: left;
    }

    .nav li a {
        padding: 10px 15px;
        width: 100%;
        display: block;
    }

    .nav li ul.dropdown,
    .nav li ul.dropdown-side {
        position: static;
    }

    .nav li ul.dropdown li,
    .nav li ul.dropdown-side li {
        width: 100%;
    }

    .carousel .list .item .content {
        width: 90%;
        font-size: 10px;
        padding-right: 0;
    }

    .carousel .list .item .content .title,
    .carousel .list .item .content .topic {
        font-size: 2em;
    }

    .carousel .list .item .content .des {
        font-size: small;
    }

    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons button {
        width: 100%;
        margin: 5px 0;
    }

    .thumbnail {
        bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .thumbnail .item {
        width: 100px;
        height: 150px;
    }

    .arrows {
        top: 90%;
        width: 80%;
        justify-content: space-between;
    }

    .arrows button {
        width: 30px;
        height: 30px;
    }
}


@media (max-width: 767px) {
    .card-container {
        justify-content: flex-start; /* Align cards in a column */
    }

    .card {
        width: 100%; /* Full width for each card */
        max-width: none; /* No maximum width */
    }
}




.carousel{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}
.carousel .list .item{
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel .list .item .content{
    position: absolute;
    top: 20%;
    width: 1140px;
    max-width: 80%;
    left: 50%;
    transform: translateX(-50%);
    padding-right: 30%;
    box-sizing: border-box;
    color: #fff;
    text-shadow: 0 5px 10px #0004;
    font-size: 12px;
}

.carousel .list .item .content .des{
    font-size: medium;
}
.carousel .list .item .author{
    font-weight: bold;
    letter-spacing: 10px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
    font-size: 5em;
    font-weight: bold;
    line-height: 1.3em;
}
.carousel .list .item .topic{
    color: #00308F;
}
.buttons {
    display: flex;
    gap: 10px; /* Adjust the gap between buttons as needed */
    margin-top: 20px;
}

.buttons button {
    background-color: #00308F; /* Green background */
    border: none;
    color: white; /* White text */
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 10px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover transition */

}

.buttons button a {
    color: white; /* Ensure the link text is white */
    text-decoration: none; /* Remove underline from links */
    display: block; /* Make the link cover the entire button area */
    width: 100%;
    height: 100%;
}

.buttons button:hover {
    background-color: #4B9CD3; /* Darker green on hover */
}


/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
.thumbnail .item{
    width: 150px;
    height: 220px;
    flex-shrink: 0;
    position: relative;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.thumbnail .item .content{
    color: #fff;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
}
.thumbnail .item .content .title{
    font-weight: 500;
}
.thumbnail .item .content .description{
    font-weight: 300;
}
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
.arrows button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
}
.arrows button:hover{
    background-color: #fff;
    color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */

.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #f1683a;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

.heading {
    background-color: #f0f0f0; /* Background color for the box */
    padding: 20px; /* Add padding to create space between the text and the box */
    border-radius: 10px; /* Add border radius for rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add box shadow for depth */
    margin-bottom: 20px; /* Add margin to create space between boxes */
    text-align: center;
}


.heading h1 {
    font-size: 2.5rem; /* Adjust the font size */
    color: #333; /* Set the color */
}





/* CSS for the card container */
.card-container {
    display: flex;
    justify-content: space-around; /* Adjust spacing between items */
    align-items: center; /* Align items vertically */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 20px; /* Adjust the gap between items */
    padding: 20px;
}

/* CSS for the card container */
.card-container {
    display: flex;
    justify-content: space-around; /* Adjust spacing between items */
    align-items: flex-start; /* Align items vertically */
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    gap: 20px; /* Adjust the gap between items */
    padding: 20px;
}

/* CSS for each card */
.card {
    width: calc(33.33% - 20px); /* Adjust width of items */
    max-width: 300px; /* Max width of each item */
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px); /* Add slight hover effect */
}

.card img {
    width: 100%;
    height: 200px; /* Set a fixed height for the images */
    object-fit: cover; /* Ensure the image covers its container */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-content {
    padding: 20px;
    text-align: center; /* Center align the content */
}

.card-content h1 {
    margin-top: 0;
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px; /* Add margin to separate the title from the paragraph */
}

.card-content p {
    color: #666;
    margin-bottom: 15px; /* Add margin to separate paragraphs */
}

.card-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    background-color: #00308F;
    color: #fff;
    transition: background-color 0.3s ease;
}

.card-button:hover {
    background-color: #4B9CD3;
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
}

footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .contact .info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

footer .contact .info li span {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

footer .contact .info li p,
footer .contact .info li span {
    font-size: 16px;
    color: #ccc;
}

footer .sec {
    flex: 1 1 300px;
    margin: 10px;
}

footer .sec h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #4B9CD3;
}

footer .sec p, 
footer .sec a {
    font-size: 16px;
    color: #ccc;
    text-decoration: none;
}

footer .sec p {
    line-height: 1.6; /* Adjust the line height for paragraphs */
}

footer .sec ul {
    list-style: none;
}

footer .sec ul li {
    margin-bottom: 10px; /* Add space between list items */
}

footer .sci li {
    display: inline-block;
    margin-right: 10px;
}

footer .sci li a {
    color: #ccc;
    font-size: 20px;
    transition: color 0.3s;
    line-height: 3;
}

footer .sci li a:hover {
    color: #4B9CD3;
}

footer .quicklinks ul li a:hover {
    color: #4B9CD3;
}

footer .contact .info li a:hover {
    color: #4B9CD3;
}

footer .info li {
    margin-bottom: 10px;
}

footer .info li span {
    margin-right: 10px;
}

@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        align-items: center;
    }
}



/* CSS for Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #f9a825;
    color: #333;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #333;
    color: #f9a825;
}

/* WhatsApp Button Styling */
.whatsapp-button {
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 25px;
    display: inline-block;
    transition: background-color 0.3s ease;


}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button i {
    vertical-align: middle;
}

/* Floating WhatsApp Button */
.floating-whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    color: white;
    font-size: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
    z-index: 1000;
    height: 40px;
    
}

.floating-whatsapp-button:hover {
    background-color: #128C7E;
}

.floating-whatsapp-button i {
    vertical-align: middle;
    margin-bottom: 41px;
}

/* Additional Styles (Add as needed) */

/* Footer Styles */
footer {
    background: #333;
    color: #fff;
    padding: 30px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer .sec.aboutus h2 {
    margin-bottom: 20px;
}

footer .sec.aboutus p {
    font-size: 14px;
    line-height: 24px;
}

footer .sci {
    list-style: none;
    display: flex;
    padding: 0;
}

footer .sci li {
    margin-right: 10px;
}

footer .sci li a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease;
}

footer .sci li a:hover {
    color: #4B9CD3;
}

/* Media Queries for Mobile Phones */
@media (max-width: 767px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    nav img {
        height: 60px;
        width: auto;
    }

    nav ul {
        flex-direction: column;
        margin: 10px 0;
    }

    nav ul li {
        margin: 5px 0;
    }

    .carousel .list .item .content {
        width: 90%;
        font-size: 10px;
        padding-right: 0;
    }

    .carousel .list .item .content .title,
    .carousel .list .item .content .topic {
        font-size: 2em;
    }

    .carousel .list .item .content .des {
        font-size: small;
    }

    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons button {
        width: 100%;
        margin: 5px 0;
    }

    .thumbnail {
        bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .thumbnail .item {
        width: 100px;
        height: 150px;
    }

    .arrows {
        top: 90%;
        width: 80%;
        justify-content: space-between;
    }

    .arrows button {
        width: 30px;
        height: 30px;
    }
}


/* Menu button styles */
.menu-button {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
}

/* Hide nav links by default on mobile */
.nav {
    display: flex;
}

.nav li {
    display: flex;
}

/* Media Queries for Mobile Phones */
@media (max-width: 767px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    nav img {
        height: 60px;
        width: auto;
    }

    .menu-button {
        display: block;
    }

    .nav {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    .nav li {
        width: 100%;
        text-align: left;
    }

    .nav li a {
        padding: 10px 15px;
        width: 100%;
        display: block;
    }

    .nav li ul.dropdown,
    .nav li ul.dropdown-side {
        position: static;
    }

    .nav li ul.dropdown li,
    .nav li ul.dropdown-side li {
        width: 100%;
    }

    .carousel .list .item .content {
        width: 90%;
        font-size: 10px;
        padding-right: 0;
    }

    .carousel .list .item .content .title,
    .carousel .list .item .content .topic {
        font-size: 2em;
    }

    .carousel .list .item .content .des {
        font-size: small;
    }

    .buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .buttons button {
        width: 100%;
        margin: 5px 0;
    }

    .thumbnail {
        bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .thumbnail .item {
        width: 100px;
        height: 150px;
    }

    .arrows {
        top: 90%;
        width: 80%;
        justify-content: space-between;
    }

    .arrows button {
        width: 30px;
        height: 30px;
    }
}


@media (max-width: 767px) {
    .card-container {
        justify-content: flex-start; /* Align cards in a column */
    }

    .card {
        width: 100%; /* Full width for each card */
        max-width: none; /* No maximum width */
    }
}

