@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css');
@import url('http://fonts.googleapis.com/css2?family=comfortaa:wght@300;400;500;600;700&display=swap');

:root{
    --main-color:#2980b9;
    --red:red;
    --light-color:#777;
    --light-bg:#eee;
    --black:#2c3e50;
    --white:#fff;
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
    --border:.1rem solid rgba(0,0,0,.2);
}

*{
    font-family: 'comfortaa';
    margin: 0; 
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
}

html{
    font-size: 62.5%;
    scroll-padding-top:7rem;
    scroll-behavior: smooth;
}
body{
    background-color: #fff;
}

section{
    padding: 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.heading{
    margin-bottom: 2.5rem;
    font-size: 3rem;
    text-transform: capitalize;
    padding: 1rem 0;
}
.section-title{
    border-top: 1rem solid var(--main-color);
    border-bottom: 1rem solid var(--main-color);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    padding: 3.5rem 1.5rem;
    font-size: 5rem;
    text-transform: capitalize;
}

.header{
    height: 78px;
    position: relative;
    top: 0; left: 0; right: 0px;
    background-color: whitesmoke;
    box-shadow: var(--box-shadow);
    z-index: 2000;
    display: flex;
}
.header .flex {
    position:relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
}
.header .flex .logo{
    position: relative;
    //left: 15px;
}
menu-icon {
  font-size: 2.7rem;
  color: var(--black);
  cursor: pointer;
  display: none;
}

.header span {
  margin-bottom: -5px;
  margin-right: 832px;
  display: block;
  padding: 0.1rem 1rem;
  font-size: 3.4rem;
  color: #3b5999;
  font-weight: 520;
}
.header .flex .logo i {
  margin-right: 2.5rem;
  color: dimgray;
  font-weight: 520;
}
.header ul {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0px 35px;
  display: flex;
  font-size: 15px;
  border-radius: 10px;
}
.header ul li {
  list-style: none;
  text-align: center;
  display: block;
}
.header ul li:last-child {
  border-right: none;
}
.header ul li a {
  padding: 0 25px;
  right: 70px;
  text-decoration: none;
  display: block;
}
.header ul li a .icon {
  width: 40px;
  height: 40px;
  text-align: center;
  overflow: hidden;
  margin: 0 auto 7px;
}
.header ul li a .icon .fa {
  width: 100%;
  height: 100%;
  line-height: 60px;
  font-size: 20px;
  transition: 0.5s;
  color: #3b5999;
  font-weight: 600;
}
.header ul li a .icon .fa:last-child {
  color: #28a745;
}
.header ul li a:hover .icon .fa {
  transform: translateY(-100%);
}
.header ul .name {
  position: relative;
  height: 21px;
  width: 100%;
  display: block;
  opacity: 1;
  font-size: 18px;
  color: #3b5999;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.header ul li:hover a .name {
  opacity: 1;
  color: #28a745;
}
.menu-icon {
  font-size: 30px;
  color: black;
  cursor: pointer;
  display: none;
}
.menu {
  list-style: none;
  padding: 0;
  display: flex;
}

@media screen and (max-width: 992px) {
  .menu {
    display: none;
    flex-direction: column;
    background-color: whitesmoke;
    width: 100%;
    position: absolute;
    top: 650px;
    left: 0;
  }

  .menu.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

@media (max-width: 1150px) {
  .header .menu {
    display: none;
  }
  .header span {
    margin-right: 490px;
    font-size: 3rem;
  }
}
@media (max-width: 992px) {
    .header{
        position: fixed;
    }
  menu-icon {
    display: block;
    position: relative;
    left: 850px;
    color: black;
    cursor: pointer;
    max-width: 1000px;
  }
  .header span {
    margin-right: 450px;
    font-size: 3rem;
  }
  .header ul {
    padding: 0;
    width: 172%;
    top: 268%;
    display: block;
    overflow: hidden;
    transition: 0.5s;
    background-color: whitesmoke;
    transform: translate(-50%, -50%) scaleY(0);
    transform-origin: top;
  }
  .header ul.active {
    transform: translate(-50%, -50%) scaleY(1);
  }
  .header ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    display: 5px 0;
    display: flex;
  }
  .header ul li a {
    padding: 0px 8px;
  }
  .header ul li a .icon {
    /*     display: inline-block; */
    float: left;
    margin: 2 auto;
  }
  .header ul .name {
    width: auto;
    display: inline-block;
    margin: 13px;
    top: 8px;
  }
}
@media (max-width: 850px) {
  .header span {
    margin-right: 340px;
  }
  .header ul {
    display: none;
  }
}
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    position: relative;
    right: 60px;
    color: black;
    cursor: pointer;
  }
  .header span {
    margin-right: 100px;
    font-size: 2.5rem;
  }
  .header ul {
    padding: 0;
    width: 163%;
    top: 268%;
    display: block;
    overflow: hidden;
    transition: 0.5s;
    background-color: whitesmoke;
    transform: translate(-50%, -50%) scaleY(0);
    transform-origin: top;
  }
  .header ul.active {
    transform: translate(-50%, -50%) scaleY(1);
  }
  .header ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    display: 5px 0;
    display: flex;
  }
  .header ul li a {
    padding: 0px 14px 0px;
  }
  .header ul li a .icon {
    float: left;
    margin: 2 auto;
  }
  .header ul .name {
    width: auto;
    display: inline-block;
    margin: 13px;
    top: 8px;
  }
}

@media (max-width: 450px) {
  menu-icon {
    color: green;
    left: 500px;
  }
  .header span {
    margin-right: 60px;
  }
}
@media (max-width: 500px){
    .header{
        display: flex;
    }
    .header span {
    margin-right: 100px;
    font-size: 2.5rem;
  }
}
@media (max-width: 400px){
    .header{
        width: 100%;
        display:flex;
        position: fixed;
         justify-content: space-around;
    }
    .logo{
        left: 10px;
    }
     .header span {
    margin-left: 10px;
    font-size: 2.3rem;
  }
    .menu-icon {
        left: -80px;
    }
}


.dropdown {
  position:relative;
  display: inline-block;
}

.dropdown-button{
    font-size: 18px;
    color:  #3B5999;
} 
.dropdown-button:hover{
     color:  #28a745;
} 

.dropdown-content {
  display: none;
  padding: 10px;
  position: absolute;
  top: 100%;
  margin-left:-30px;
  margin-top: 10px;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
 opacity: 1;
 transition: all 0.4s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.dropdown-content a {
  color: #3B5999;
   padding: 20px 25px;
    margin-top: 10px;
  font-size: 19px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
    display: block;
    padding: 8px;
}

.show {
  display: block;
}
       

 @media screen and (max-width: 992px) {
    .dropdown {
  display: flex;
}
    .dropdown-button{
        margin-left: -5px;
        margin-bottom: -15px;
        background: none;
    }
    .dropdown-content {
        display: none;
        margin-top: -50px;
        left: 180px;
    }
    .dropdown-content a {
        padding: 10px;
    }
    .dropdown-content a:hover{
        padding: 0px;
    }
    .show {
        display:block;
}
}        
@media (max-width: 500px){
         .dropdown-button{
        margin-left: -2px;
    }
}       

.slideshow-container {
  max-width: 620px;
    height: 440px;
  position: relative;
  margin: 40px 0px 67px 700px;
}
.fade img{
    height: 470px;
    width: 340px;
    padding: 25px;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}
  
.mySlides fade img{
        width: 100%;
        height: 70%;
}
.content {
    position: relative;
    bottom: 260px;
    right: 590px;
    width: 535px;
    text-align: left;
    color: #3B5999;
    transform: translate(0,-50%);
    font-family: system-ui;
    display: block;
}
.slideshow-container .mySlides fade:nth-child(2) .content{
    display: block;
}  
    
.content .name{
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0;
    width: 200px;
    animation: animate 3s ease-in-out 1 forwards;
}
.content .des{
    margin-top: 10px;
    margin-bottom: 50px;
    opacity: 0;
    padding-top: 20px;
    color: dimgray;
    font-size: 23px;
    animation: animate 3s ease-in-out 0.9s 1 forwards; 
}
.content button{
    padding: 20px 20px;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0;
    margin-top: 20px;
    font-size: 20px;
    color:black;
    background:antiquewhite;
    animation: animate 3s ease-in-out 0.9s 1 forwards;
}
@keyframes animate{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter: blur(33px);
    }
    to{
        opacity: 1;
        transform: translate(0,);
        filter: blur(0);
    }
}              
            
.content .name{
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0;
    width: 400px;
    animation: animate 1s ease-in-out 1 forwards;
}
.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards; 
}
.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}
@keyframes animate{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter: blur(33px);
    }
    to{
        opacity: 1;
        transform: translate(0,);
        filter: blur(0);
    }
}
.slideshow-container .mySlides fade:nth-child(2) .content{
    display: block;
}
@media (max-width:992px){
    .content{
        width: 500px;
         position: relative;
         bottom: 230px;
    }
    .slideshow-container {
        height: 400px;
        position: relative;
        margin: 50px 20px 70px 650px;
}
}
@media (max-width:768px){
    .content{
        width: 430px;
         position: relative;
        left: 70px;
    }
    .slideshow-container {
        max-width: 500px;
        height: 440px;
        position: relative;
        display: grid;
        margin: 550px 0px 40px 120px;
} 
    .content {
    position: relative;
    bottom: 690px;
    text-align: left;
    color: #3B5999;
    transform: translate(0,-50%);
    font-family: system-ui;
    display: block;
}  
}
@media (max-width:600px){
    .content{
        left: 50px;
    }
    .slideshow-container{
         margin: 550px 0px 40px 40px;
    }
}
@media (max-width:500px){
    .content{
         width: 400px;
        left: 40px;
    }
    .slideshow-container{
         margin: 550px 0px 40px 10px;
    }
}
@media (max-width:400px){
    .content {
        width: 340px;
    }
     .slideshow-container{
         margin: 550px 0px 40px 10px;
    }
}
@media (max-width:360px){
    .content {
        width: 335px;
        left: 40px;
    }
     .slideshow-container{
         margin: 555px 150px 0px 20px;
    }
}

.about {
    display:flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 2em 5rem;
    margin: 20px;
    bottom: 20px;
   overflow: hidden;
}

.about-text {
    flex: 1 1 500px;
    max-width: 700px;
}

.about-text h1 {
    font-size: 4.0em;
    color: #2c3e80;
    text-align: center;
}

.about-text p {
    padding-top: 15px;
    font-size:20px;
    text-align: justify-all;
    line-height: 1.2;
}

.about-image {
    flex: 0 1 300px;
    text-align:center;
}

.about-image img {
    max-width: 250%;
    height: 300px;
}
@media screen and (max-width: 768px) {
    .about {
        flex-direction: column;
        text-align: center;
    }
    .about-text p{
        text-align: center;
    }
    .about-image img {
    max-width: 100%;
    }
}
 @media (max-width: 400px) {
      .about-text p{
        text-align: center;
        width: 300px;
    }
     .about-image img {
    max-width: 100%;
    }
    }
@media (max-width: 360px) {
    .about-text h1{
        text-align: center;
        margin-right: -50px;
    }
      .about-text p{
        text-align: center;
        width: 260px;
          padding-left:50px;
    }
     .about-image img {
    max-width: 130%;
    }
    }


.blog1{
    display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
} 
.blog{
    width: 320px;
    height: 370px;
    border-radius: 20px;
    overflow: hidden;
    max-width: 500px;
    position: relative;
    display:inline-block;
    margin-left: 60px;
    box-shadow: 0 0px 15px rgba(0,0,0,.4);  
}
.blog-data h3{
    color: #3B5999;
    font-weight: 800;
    font-size: 45px;
    margin-bottom: 40px;
    position: relative;
    bottom: 20px;
}
.blog-img{
    width: 100%;
    height: 100%;
    border-radius: 15px;
}            
.blog-body{
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    position: absolute;
    background: #1f3d4738;
    backdrop-filter:blur(10px);
    border-radius: 15px;
    color:black;
    padding: 30px;
    box-shadow: 0 10px 10px rgba(0,0,0,.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: column;
    transition: 0.5s;
}   
.blog:hover .blog-body{
     right: 0;
    
}
.blog-body i{
     font-size: 32px;
     color: black;
     padding: 10px;
}            
.blog-title{
     font-size: 32px;
     color: black;
     font-weight: 400;
     padding-top: 15px;
}           
.blog-info{
     font-size: 18px;
     color: black;
     font-weight: 100;
     padding-top: 20px;
}            
.blog-btn i{
    font-size: 20px;
    position:absolute;
    padding-top: 15px;
    background:transparent; 
    cursor: pointer;
    border-radius: 8px;
    margin-top: 18px;
    left: 30px;
    
}
.blog-btn i:hover{
    background:#fff;
}
@media (max-width:992px){
    .blog-data h3{
        text-align: center;
    }
     .blog{
       margin-top: 20px;
       left: 40px;
         text-align: center;
         align-items: center;
    }
}
@media (max-width:768px){
    
    .blog-data h3{
        text-align: center;
    }
    .blog{
        grid-template-columns: repeat(1,1fr);
        margin-top: 20px;
        justify-content: center;
        align-items: center;
    }
}
@media (max-width:500px){
    .blog-data h3{
        text-align: center;
    }
     .blog{
        flex-direction: column;
       left: 20px;
    }  
}
}
@media (max-width:400px){
    .blog-data h3{
        text-align: center;
    }
    .blog{
        flex-direction: column;
       left: 20px;
}
}
@media (max-width:360px){
     .blog-data h3{
        text-align: center;
         left: 25px;
    }
    .blog{
        flex-direction: column;
       left: -10px;
}
}
}

.blog2 .blog-data h3{
    color: #3B5999;
    font-weight: 900;
    font-size: 45px;
    : 130px;
}
.card-container {
  display: flex;
  overflow-x: auto; 
    padding-bottom: 30px;
    margin-bottom: 20px;
    margin-top: -20px;
  gap: 20px; 
}

.card {
  flex: 0 0 auto; 
    flex-wrap: wrap;
    justify-content: space-around;
  width: 400px; /* Set card width */
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 2px 2px 0px rgba(0, 0, 0, 0.5);
}

.card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

/* Optional: Style for scrollbar */
.card-container::-webkit-scrollbar {
  height: 10px;
}

.card-container::-webkit-scrollbar-thumb {
  background-color: #aaa;
  border-radius: 5px;
}

.card-container::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.testominal-item .info{
    display: flex;
    align-items: center;
    overflow: hidden;
}
.info img{
    width:80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 20px;
}
.info .name{
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: capitalize;
}
.info .job{
    text-transform: capitalize;
    font-size: 13px;
}
.testominal-item p{
    margin-top: 14px;
    font-size: 15px;
}
.testominal-item .rating{
    margin-top: 15px;
    font-size: 14px;
    color: goldenrod;
}
@media (max-width: 400px) {
    .card{
        width: 266px;
        margin-left: 15px;
    }
}
    @media (max-width: 360px){
        .card{
        width: 310px;
        margin-left: 30px;
    }
        .blog2 .blog-data h3{
            left: 40px;
        }
    }    


footer {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 20px;
  background-color: whitesmoke;
    overflow-x: auto;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.5);
}
.footer-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 10px;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: wrap;
}
.footer-wrapper .footer-widget {
  width: calc(20% - 30px);
  margin: 0 15px 30px;
  padding: 0 10px;
}
.footer-wrapper .footer-widget:nth-child(1) {
  width: calc(40% - 50px);
  margin-right: 10px;
}
.footer-wrapper .footer-widget .logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
  margin-right: 15px;
  vertical-align: middle;
}
.footer-wrapper .footer-widget a {
  position: relative;
  font-size: 30px;
  color: black;
    font-weight: 300;
  text-align: center;
  font-weight: bold;
}
.footer-wrapper .footer-widget p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 25px;
}
.footer-wrapper .footer-widget .socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.footer-wrapper .footer-widget .socials li {
  list-style: none;
}
.footer-wrapper .footer-widget .socials li a {
  width: 44px;
  height: 44px;
  margin-right: 10px;
  color: #ffffff;
  background-color: rgba(3, 127, 243, 0.5);
  border-radius: 50%;
  font-size: 17px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-out;
}
.socials li {
  justify-content: center;
  flex-direction: column;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
.socials li h5 {
  height: 50px;
  width: 85px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  background: #fff;
  border-radius: 25px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  right: -8px;
  top: 0px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  color: rgba(3, 127, 243, 0.5);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.socials li h5:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  background-color: white;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}
.socials li:hover h5 {
  top: 60px;
  opacity: 1;
  pointer-events: auto;
}
.socials li:hover a,
.socials li:hover h5 {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.4);
}
.socials favebook:hover a,
.socials facebook:hover h5,
.socials facebook:hover h5:before {
  background: #3b5999;
}

.footer-wrapper .footer-widget h6 {
  color: #585978;
  margin: 10px 0 15px;
  font-size: 20px;
  font-weight: 600;
  padding-top: 8px;
}
.footer-wrapper .footer-widget .links li {
  list-style: none;
  padding: -50px;
}
.footer-wrapper .footer-widget .links li a {
  color: black;
  font-size: 16px;
  left: 10px;
  text-decoration: none;
  text-transform: capitalize;
  line-height: 28px;
  transition: all 0.3s ease-out;
  font-weight: 200;
}
.footer-wrapper .footer-widget .links li a:hover {
  color: #037ef3;
}
.copyright-wrapper {
  padding: 20px 0;
  border-top: 1px solid rgba(88, 89, 120, 0.4);
}
.copyright-wrapper p {
  color: rgba(88, 89, 120, 0.6);
  font-size: 23px;
  font-weight: 500;
  text-align: center;
}
.copyright-wrapper p a {
  color: #3b5999;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease-out;
}
.copyright-wrapper p a:hover {
  color: dimgray;
}
@media (max-width: 992px) {
  .footer-container {
    max-width: 960px;
  }
  .footer-wrapper .footer-widget,
  .footer-wrapper .footer-widget:nth-child(1) {
    width: calc(50% - 30px);
  }
}
@media (max-width: 768px) {
  .footer-container {
    max-width: 720px;
  }
  .footer-wrapper .footer-widget,
  .footer-wrapper .footer-widget:nth-child(1) {
    width: 100%;
    margin: 0 10px 50px;
  }
}
@media (max-width: 400px) {
    footer{
        position: relative;
        margin-left: 35px;
    }
.footer-container {
    max-width: 400px;
  }
  .footer-wrapper .footer-widget,
  .footer-wrapper .footer-widget:nth-child(1) {
    width: 100%;
    margin: 0 10px 50px;
  }
}
@media (max-width: 360px) {
    footer{
        position: relative;
        margin: 57px;
        left: -20px;
    }

}






