@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,400;0,500;0,600;0,700;0,800;0,900;1,200&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    list-style: none;
    text-decoration: none;
    appearance: none;
    font-family: 'poppins', sans-serif ;
    transition: .4s ease;    
}
/* ---------------custom selection ------------ */
::selection{
    color: var(--color-light);
    background-color: var(--color-primary);
}
/* ------------------custom scroll bar--------------- */
::-webkit-scrollbar{
    width: 12px;
}
::-webkit-scrollbar-track{
    background: #d1e5ff;

}
::-webkit-scrollbar-thumb{
    background: linear-gradient(#642bff, #ff22e6);
    border-radius: 10px;

}

:root{
   --color-primary:#03045e;
   --color-light:white;
   --color-danger:rgb(255, 19, 19);
   --color-success:rgb(2, 112, 2);
   --color-dark:black;
   --color-gray:#3b444b;
   --color-none:transparent;
   --color-full-body:#f3eded;
}

body{
    line-height: 1.6;
    font-size: 17px;
   background: var(--color-full-body);
    overflow-x: hidden;
    color:var(--color-dark); 
}
 .container{
    max-width: 1620px;
    margin: 0 auto;
    width: 90%;
 }
 section{
    margin-top: 3rem;
    width: 100vw;
 }
 a{
    text-decoration: none;
  
 }

h1, h2, h3, h4, h5{
    color: var(--color-primary);
}

h1{
    font-size: 3rem;
    margin: 1rem 0;
}
h2{
    font-size: 1.7rem;
    margin: 1rem 0;
}
h3{
    font-size: 1.2rem;
    margin: .8rem 0 .5rem;
}

h4{
    font-size: 1rem;
    margin: 1rem 0;

}
img{
    display: block;
    width: 100%;
    object-fit: cover;
}
/* navbar start */

nav{
    height: 5rem;
    width: 100vw;
    position: fixed;
    background-color:  var(--color-primary);
    top: 0;
    z-index: 10;
 }
nav .phone-btn{
    display: none;
}
.nav-container{
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}
.profile-image{
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
}

nav .logo img{
    display: inline-block;
  width: 235px !important;
}
.logo{
    display: flex;
    align-items: center;
}
.logo h2{
    color: var(--color-light);
}
nav .nav-link{
    display: flex;
    gap: 2rem;
    margin: 0;
    align-items: center;
    }
.nav-link a{
    text-transform: uppercase;
    color: var(--color-light);
    font-size: 500;
}
.nav-link a:hover{
    letter-spacing: .2rem;
}
nav .nav-profile{
    cursor: pointer;
    position: relative;
}
nav .nav-profile ul{
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    top: 129%;
    /* box-shadow: 0 2rem 1rem rgba(0,0,0,.2); */
    visibility: hidden;
    opacity: 0;
    margin-top: -7px;
    border-radius:5px;
    overflow: hidden;
}
.nav-profile ul li a{
    display: block;
    padding: 1rem;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-bottom: 1px solid var(--color-gray);
  }
.nav-profile ul li:last-child a{
    background-color: var(--color-danger);
}
.nav-profile:hover ul{
    visibility: visible;
    opacity: 1;
}
/* navbar end */

.contest-thumb {
border-radius: 30px;
overflow: hidden;
margin-bottom: 10px;
}

/* start general post */
.post-thumb{
    border-radius: 0  50px 0  50px ;
    overflow: hidden;
    margin-bottom: 10px; 
    border: .1rem solid #3b444b ;

}
.post-title a{
    color: var(--color-dark);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.post-body{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.post-profile{
    display: flex;
    gap: 10px;
    /* justify-content: space-between; */
    margin-top: 20px;
}
.post-profile-img{
    height: 3.2rem;
    width: 3.2rem;
    overflow: hidden; 
    border: 2px solid var(--color-gray);
    border-radius: 50%;
}
.edit-btn{
    display: inline-block;
    width: fit-content;
    padding: .6rem 1.2rem;
    background-color:  var(--color-primary);
    border-radius: 10px;
   font-weight: 500;
    color: var(--color-light);
    cursor: pointer;
    align-items: center;
    gap: 5px;
}
small{
    color: var(--color-danger);
}
gray{
    color: #797979;
}
/* end general post */

/* start featured post */
.featured{ 
    margin-top: 8rem;
}
.featured-container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

}
.featured .post-thumb{
    height: fit-content;
   
}
/* featured end */

/* post start */

.post-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin: 5rem auto;
}

.pagination-container{
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
    margin: 5rem auto;
}

/* post end */

/* category-btn start */
.category{
    margin-top: -50px;
    background-color: var(--color-full-body);
    padding: 45px 0;
    box-shadow: 
    0 2px 16px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
  
} 
/* .category-btn{
    background-color:var(--color-primary);
      display: inline-block;
      text-align: center;
      width: 160px;
      color: var(--color-light);
      padding: .5rem 1rem;
     border-radius: 10px;
     font-weight: 600;
  } 
   .category-btn:hover{
      letter-spacing: .2rem;
      width: 190px;
  }  */

  .category-btn {
    background-color: var(--color-primary);
    display: inline-block;
    text-align: center;
    width: auto; /* Adjust width dynamically based on content */
    min-width: 160px; /* Minimum width to maintain a certain size */
    color: var(--color-light);
    padding: .5rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    white-space: nowrap; /* Prevents text from wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Show ellipsis if content overflows */
}

.category-btn:hover {
    letter-spacing: .2rem;
    width: auto; /* Adjust width dynamically on hover */
    min-width: 190px; /* Minimum width on hover */
}


.category-container{
    /* margin-top: -50px; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: fit-content;
    gap: 15px;
    text-align: center;
}


/* category-btn end */

/* --------------testimonaila starts --------------*/
.border{
    width: 100%;
    height: 2px;
    background-color:var(--color-gray);
    margin: 26px auto;
} 
/* ----------------------------testimonial starts---------------------- */
   

.testimonial{
    /* background-image: linear-gradient(to right, #6495ED, #0000FF);  */
    /* background-color: #fff6e6; */
    padding: 50px 0;
}
.testimonial-header h2{
    margin-top: -40px;
font-size: 40px;
text-align: center;
font-weight: 600;
text-transform: capitalize;
margin-bottom: 20px;
}
.testimonial-item{
     /* background-image: linear-gradient(to right, #6495ED, #0000FF);*/
    padding: 20px;
    background-color: var(--color-light);
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), 
    0 4px 8px rgba(0, 0, 0, 0.1), 
    0 8px 16px rgba(0, 0, 0, 0.1);
   
   }
.testimonial-item .info{
    display: flex;
    align-items: center;
    
}
.testimonial-item img{
    height: 3.2rem;
    width: 3.2rem;
    overflow: hidden;
    border: 2px solid var(--color-gray);
    border-radius: 50%;
    margin-right: 20px;
    vertical-align: middle;
}
.testimonial-item .name{
    text-transform: capitalize;
    line-height: 1.2;
}
.testimonial-item .job{
    text-transform: capitalize;
}
.testimonial-item p{
    margin-top: 20px;
}

.testimonial .swiper-pagination{
    position: relative;
    margin-top: 40px;
    bottom: auto;
}
.testimonial .swiper-pagination-bullet{
    height: 10px;
    width: 10px;
    background-color: var(--color-dark);
}  
/* ---------------testimonaila ends--------------*/
/* ------------------User-profile star------------t */
.user{
    display: flex;
    gap: 5px;
    justify-content: space-between;
    margin-top: 20px;
}
.user-container{
    margin-top: 7rem;
    width: 35rem;
    padding: 10px ;
    border-radius: 10px;
    margin-bottom: 2rem;
    background-color: var(--color-light);
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
    /* background-color: red; */
}
.user-container .post-profile-img{
    height: 5rem;
    width: 5rem;
    overflow: hidden; 
    border: 2px solid var(--color-gray);
    border-radius: 50%;
}
.user-container small{
    color: var(--color-dark);
    font-weight: 500;
}
.edit-btn{
    display: flex;
}
.user-info{
    display: flex;
    margin-top: 2rem;
    /* justify-content: space-between; */
    gap: 50px;
    font-weight: 500;
}

.user-icon{
    display: flex;
    align-items: center;
    /* justify-content: space-around; */
    gap: 10px;
}

.profile-btn{
    display: inline-block;
    width: fit-content;
    /* padding: .6rem 1.2rem; */
    padding: .3rem 1.2rem;
    background-color:  var(--color-light);
    border: 1px solid red;
    border-radius: 10px;
   font-weight: 500;
    color: var(--color-danger);
    cursor: pointer;
}

/* ---------------user-profile end---------------- */

/* .form-container .post-profile-img{
    height: 5rem;
    width: 5rem;
    overflow: hidden; 
    border: 2px solid var(--color-gray);
    border-radius: 50%;
} */
/*----------------- -----------about page start----------------*/

.about-container h2{
    font-size: 3rem;
    text-align: center;
    margin-top: 10rem;
    text-transform: capitalize;
}
.about-container h1{
font-size: 2rem;
 text-transform: capitalize;
 text-align: center;
}
.about-container p{
    margin-top: 30px;
    margin-bottom: 30px;
}

.general-container h2{
    font-size: 3rem;
    text-align: center;
    margin-top: 10rem;
    text-transform: capitalize;
}
.general-container h1{
font-size: 2rem;
 text-transform: capitalize;
 text-align: center;
}
.general-container p{
    margin-top: 10px;
}

/* .about-container p{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
} */
.main-content{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.main-content h4{
    font-size: 1.2rem;
}

.main-content1{
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 50px;
}
.main-content1 h4{
    font-size: 1.2rem;
    text-align: center;
}
.center-div {
   /*display: flex;*/
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    text-align: center; /* Center-aligns text inside the container */
    margin-top:15px;
}
.about-cards{
  flex: 1; 
  /* background-color: #f0f0f0; */

}
.about-image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    height: 100%;
    }
.about-image img{
    width: 400px;
    height: 400px;
    margin-top: 40px;
    object-fit: cover;
    
}
.about-cards p{
    text-align: justify;
}
.about-cards h4{
    margin-bottom: -20px;
}
/*----------------- ----------about page end-----------------*/
/* ------------------contact page start---------------- */
.contact-section-container{
    display: grid;
    place-items:center ;
    margin-top:10rem;
    
} 
.contact-section-container h3{
    color: var(--color-primary);
    margin-bottom: 30px;
   font-size: 1.3rem;
 }

.contact-icon{
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
   
}
.faq-container{
     background-color:var(--color-light);
     border-radius: 10px; 
     /* box-shadow: 
     0 2px 4px rgba(0, 0, 0, 0.1), 
     0 4px 8px rgba(0, 0, 0, 0.1), 
     0 8px 16px rgba(0, 0, 0, 0.1); */
 }
.contact-content{
    display: flex;
    background-color: var(--color-light);
    border-radius: 5px;
    padding: 10px;
    height: 100px;
    width: 350px;
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
   margin-bottom: 20px;
   }
/* .contact-section h3{
   color: var(--color-dark);
   } */
.contact-icon i{
    color: #03045e;
    /* background-color: red; */
    font-size: 50px;
    height: 50px;
    margin-right: 25px;
    width: 50px;
    margin-top: 20px;
}
.phone-no h4{
    color: var(--color-dark);
}
.contact-content .phone-no p{
    color: var(--color-dark);
}
.contact-content h4{
    font-size: 18px;
    margin-top: -1px;
}
.contact-section p, .contact-section h6{
    color:var(--color-primary);
    font-size: 20px;
    font-weight: 500;
}
 .form-container{
    margin-top: 7rem;
    width: 35rem;
    padding: 10px ;
    border-radius: 10px;
    margin-bottom: 2rem;
    background-color: var(--color-light);
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
    /* background-color: red; */
} 
form{
    display: flex;
    flex-direction: column;
    /* flex-direction: row; */
    gap: 1rem;
    
    } 
    .form-container h2{
        color: var(--color-primary);
    }
    input,
    textarea,
    select{
        padding: .8rem 1.4rem;
        background-color: var(--color-full-body) ;
        border-radius: 10px;
        color: var(--color-dark);
        resize: none;
    }
.required::after{
        content: " *";
        color: red;
        font-size: 15px;

    }
/* ----------------contact page end -----------------*/
/* -------------------faq starts------------------ */
.contact-form-container{
 width: 40rem;
  padding: 10px ;
  border-radius: 10px;
  margin-bottom: 2rem;
  background-color: var(--color-light);
  box-shadow: 
  0 2px 4px rgba(0, 0, 0, 0.1), /* Top layer */
  0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
  0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
  } 
  .name{
    display: flex;
    align-items: center;
    justify-content:space-around;
  }
.name input{
    width:18rem;
  }
.faq-item{
 margin-left: 20px;

} 
.faq-container h2{
    margin-left: 20px;
}
.question {
    margin-bottom: 10px;
    cursor: pointer;
    color: var(--color-dark);
    font-weight: bold;
  }
.answer {
    display: none;
    margin-left: 20px;
    margin-bottom: 20px;
    font-weight: 500;
  }
/* -------------------faq ends -----------------*/


/*------------------- advertise page start---------------- */
.advertise-container{
    margin-top: 150px;
    margin-bottom: 150px;
    width: 80%;
    box-shadow: 
    0 2px 16px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
    padding: 20px;
}
/* ---------------------advertise page end-=------------------- */
.heading{
    display: flex;
    justify-content: center;
    margin-top: 40px;
  
}

.custom-list {
    margin-top: 20px;
    list-style-type: none; /* Remove default numbering */
   font-size: 15px;
   counter-reset: item-counter 0; /* Reset the counter to start from 0 */
  
  }
.privacy-container{
  margin-bottom: 50px;
  }
  .custom-list li{
    margin-bottom: 30px;
  }
  .custom-list > li {
    margin-left: 20px; /* Adjust margin for main list items */
    counter-increment: item-counter; /* Increment the counter */
  }
  .custom-list p{
    margin-top: -25px;
    margin-left: 30px;
    /* margin-bottom: 20px; */
  }
  .custom-list > li:before {
    content: counter(item-counter) "."; /* Use counter as label */
    margin-right: 20px; /* Add spacing between label and item */
    font-weight: 600;
    
  }
  
  .sub-list {
    margin-left: 0px; /* Remove default indentation */
    margin-top: 30px;
  }  
  
  .sub-list > li:before {
    content: counter(item-counter) "." counter(sub-counter); /* Use both counters as label */
    margin-right: 20px; /* Add spacing between label and item */
  }
  
  .sub-list > li {
    margin-top: 30px;
    margin-left: 30px;/* Adjust margin for sub-list items*/
    counter-increment: sub-counter; /* Increment the sub-counter */
  }
.sub-list .pera{
    margin-bottom: 20px;
    margin-left: 80px;
  }
  .sub-list .pera2{
    margin-top: 20px;
    margin-left: 80px;
  }
  .custom-list .pera3{
    margin-left: 60px;
    margin-bottom: 20px;
    /* margin-left: 30px; */
    /* margin-top: 30px; */
  }
  .sub-list2 {
   margin-left: 40px; /* Remove default indentation */
    /* margin-top: 0px; */
  }  
  .sub-list2 > li:before {
    content: counter(item-counter) "." counter(sub-counter) "." counter(sub-counter2, lower-alpha) ; /* Use both counters as label */
     margin-right: 20px; /*Add spacing between label and item */
  }
  .sub-list2 > li {
    margin-bottom: 10px;
    margin-left: 20px;/* Adjust margin for sub-list items*/
    counter-increment: sub-counter2; /* Increment the sub-counter */
  }
  /*------------- privacy page end--------------- */
  /*------------- terms page start--------------- */
  .terms-container{
    margin-bottom: 40px;
  }
 .terms-container ul li{
   list-style-type: disc;
   margin-left: 80px;
   margin-bottom: 0;
 }
 .terms-container .pera4{
    margin-top: 20px;
 } 
/*------------- terms page end--------------- */



/* footer start */

footer{
    background-color: var(--color-primary);
    /* background-color: #03045E; */
    /* padding-top: rem ; */
    box-shadow: inset 0 1.5rem 1.5rem rgba(0,0,0,.2);
} 
.footer-heading{
    background: var(--color-full-body);
    border-bottom: 1px solid #3b444b;
   padding-bottom: 2rem;
}
.footer-heading h2{
    /* padding-top: 2rem; */
    color: var(--color-primary);
    text-align: center;
    font-weight: 600;
       /* margin-top: 3rem; */
}
.footer-social{
    background: var(--color-full-body);
    display: flex;
    margin-inline: auto;
    width: fit-content;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
}

.footer-social a{
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.3rem;
    width: 2.3rem;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
} 
.footer-social a:hover{
    letter-spacing: -.5rem;
}
 .footer-container{
    display: flex;
   justify-content: space-around;
  margin-top: 2rem;
 }
.footer-container ul li a{
    color: var(--color-light);
    display: inline-block;
    font-size: 15px;
}

.footer-container ul li a:hover{
    letter-spacing: .2rem;
    opacity: 1;
}
.footer-container h5{
    font-weight: 500;
    color: white;
    font-size: 18px;
    margin-bottom: 1rem;
}
.footer-copy{
    /* display: flex; */
    color: var(--color-light);
    text-align: center;
    /* justify-content: center; */
    /* align-items: center; */
    padding: 1.5rem 0;
    border-top:1px solid var(--color-gray);
    margin-top: 4rem;
}  
.footer-btn{
    /* border-top: 1px solid var(--color-gray); */
    display: flex;
    margin-top: 20px;
    justify-content: center;
    gap: 20px;
}
.app-btn{
    /*display: flex;*/
    justify-content: center;
    align-items: center; 
    width: fit-content;
    margin-top: 20px;
    padding: .2rem .8rem;
    background-color:  var(--color-light);
    border-radius: 10px;
    /* width: 250px; */
   font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    gap: 10px;
}
.app-btn i {
            margin-right: 8px; /* Space between icon and text */
        }
.footer-btn i{
    color: var(--color-primary);
    font-size: 30px;
    margin-top: 15px;
   }
/* -------------------footer end---------------------- */


/* blog page search bar start */
.search-bar{
    margin-top: 8rem;
 }
.search-container{
    width: 30rem;
    /* background-color:  rgb(180, 176, 176); */
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    overflow: hidden;
    padding: .6rem 1rem;
    border: 1px solid var(--color-dark);
    border-radius: 10px;
    color: var(--color-dark);
 }
 .search-container>div{
    display: flex;
    align-items: center;
    width: 100%;
 }
 .search-container input{
    background-color:var(--color-none);
    padding: .5rem 0;
    width: 100%;
    margin-left: .7rem;
    color: var(--color-dark);
 }
 .search-container input::placeholder{
     color: var(--color-dark);
 } 

 .search-container input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

/* Hide the clear button (x) in Firefox */
.search-container input[type="search"] {
    -moz-appearance: none;
    appearance: none;
}

.fa-xmark{
    cursor: pointer;
}

/* ------------------------Sign up start--------------------------*/
.form-section{
    display: grid;
    place-items:center ;
    margin-top:5rem;
    
} 
 .form-container{
    width: 35rem;
    padding: 10px ;
    border-radius: 10px;
    margin-bottom: 2rem;
    background-color: var(--color-light);
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
    /* background-color: red; */
} 
.message-alert{
    padding: .8rem 1rem;
    margin-bottom: 1rem;
    background-color: var(--color-danger);
    border-radius: 10px;
}
.message-alert-error{
    background-color:var(--color-danger);
    color: white;
} 
 .message-alert-success{
    background-color: var(--color-success);
} 
.form-container a{
    font-size: 20px;
   display: flex;
    justify-content: center;
    color: var(--color-primary);
}
form{
display: flex;
flex-direction: column;
gap: 1rem;

} 
.form-container h2{
    color: var(--color-primary);
}
.form-control{
    display: flex;
    flex-direction: column;
    gap: .4rem;
} 
input,
textarea,
select{
    padding: .8rem 1.4rem;
    background-color: var(--color-full-body) ;
    border-radius: 10px;
    color: var(--color-dark);
    resize: none;
} 
 form small {
    display: flex;
    align-items:center;
    gap: .5rem;
    margin-top: 1rem;
   
} 
/* .sign-in-btn a{
    background-color:white; 
    color:#03045e; 
    font-size: 20px;
} */
form small a{
    font-size: 19px;
    color: var(--color-primary);
    font-weight: 600;
}  
.form-section .footer-btn{
    /* border-top: 1px solid var(--color-red); */
    display: flex;
    margin-top: 20px;
    justify-content: center;
    border-top: 1px solid var(--color-gray);
    gap: 20px;
}
.form-section .app-btn{
    /* display: flex;
    justify-content: center;
    align-items: center; */
  margin-top: 20px;
    width: fit-content;
    margin-bottom: 20px;
    padding: .2rem .8rem;
    background-color:  var(--color-primary);
    border-radius: 10px;
    /* width: 250px; */
   /* font-weight: 600; */
    color: var(--color-light);
    cursor: pointer;
    gap: 10px;
   
}
.form-section .footer-btn i{
    color: var(--color-light);
    font-size: 30px;
   margin-top: 6px;
   /* margin-bottom: -2px; */
   
   }

.form-control.inline{
    display: flex;
    gap: .5rem;
    align-items: center;
    flex-direction: row;
  width: fit-content;
}

/* .red{
    background-color: var(--color-danger);
} */
/* ------------------------sign up end--------------------------*/

/* -----------------------dashboard start--------------------------*/
.dashboard{
    margin-top: 8rem;
    
}
.sidebar-toggle{
    display: none;
}
/*------------------- dashboard card start----------------- */
.cards{
    display: grid;
    grid-template-columns: repeat(3,1fr);
   gap: 2rem;
  
}
.card-single {
    display: flex;
    flex-direction: row;
    border-radius: 20px;
    justify-content: space-evenly;
    background-color: var(--color-light);
    margin-bottom: 20px;
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), 
    0 4px 8px rgba(0, 0, 0, 0.1), 
    0 8px 16px rgba(0, 0, 0, 0.1);
    align-items: center; /* Optional, if you want to center align content horizontally */
}
.icon{
    display: flex;
    flex-direction: row;
    color: var(--color-primary);
    font-size: 2.2em;
}

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
/*------------------ dashboard cards end------------------ */

.dashboard-container{
    display: grid;
    grid-template-columns: 14rem auto;
    padding: 2rem;
    margin-bottom: 7rem;
    gap: 1rem;
  
    /* background-color: rgb(221, 220, 220); */
}
.dashboard-container a,
.dashboard-container h5{
    color: white;
}

.dashboard aside a{
   background-color: var(--color-primary);
   display: flex;
   gap: 1rem;
  align-items: center;
  padding: 1.6rem;
  border-bottom: 1px solid var(--color-light);
}
.dashboard aside ul li:last-child a{
    border-bottom: none;
}
.dashboard aside a:hover{
    background-color: var(--color-gray);
}
.dashboard .active{
   background-color:#0606a7;
}
.dashboard main{
    margin-left: 1.5rem;
}
.dashboard h2{
    margin: 0 0 2rem 0;
    line-height: 1;
}
.dashboard table{
    text-align: left;
    width: 100%;
}
.dashboard table th{
    padding: .8rem;
    background-color: var(--color-primary);
    color: white;

}
.dashboard table td{
    padding: .7rem;
    border-bottom: 1px solid var(--color-gray);
}
/* ------------------------ dashboard end--------------------------*/

/*----------------- custom button start -------------------*/
.btn{
    display: inline-block;
    width: fit-content;
    padding: .6rem 1.2rem;
    background-color:  var(--color-primary);
    border-radius: 10px;
   font-weight: 500;
    color: var(--color-light);
    cursor: pointer;
    
}
.btn:hover{
    letter-spacing: .1rem;
    /* opacity: .8; */
}
.sm{
    padding: .3rem .7rem;
}
.danger{
    background-color: var(--color-danger);
}

/*-------------------- custom button end ----------------------*/

/* -----------------------career page start------------------------ */
.career-content{
    display: flex;
    margin-top: 7rem;
    /* justify-content: center; */
    /* align-items: center; */
    /* margin-top: 30px; */
    /* height: 100%; */
    }
.career-heading h1{
     margin-top: 5rem;
     font-size: 3rem;
     color: var(--color-dark);
      
}
.career-heading span{
    color: var(--color-primary);
    font-family: 'Times New Roman', Times, serif;
}  
.career-content img{
    width: 550px;
    height: 550px;
    margin-top: 40px;
    object-fit: cover;
    
}
/* -----------------------career page end------------------------ */

/* ------------------------single post start--------------------------*/

.single-post{
    margin: 8rem 0 2rem;
    }
.single-post-container{
    width: 60rem;
    padding: 1rem 2rem 2rem;
    background-color:  var(--color-full-body);
    box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1), /* Top layer */
    0 4px 8px rgba(0, 0, 0, 0.1), /* Middle layer */
    0 8px 16px rgba(0, 0, 0, 0.1); /* Bottom layer */
    border-radius: 2rem;
    /* color: var(--color-light); */
} 
/* --------styling first letter of first peragraph start--------- */
.single-post p:first-of-type::first-letter{
    font-size: 30px;
    padding-right: 8px;
    float: left;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    color: var(--color-primary);
}
/* --------styling first letter of first peragraph end--------- */
.single-post h2{
    color: var(--color-dark);
    font-weight: 400;
}
.single-post h5{
    color: var(--color-primary);
}
.single-post p{
    color: var(--color-dark);
    margin-top: 1rem;
    margin: 1rem 5rem 0 5rem;
    line-height: 1.7rem;
}

.single-post .single-post-thumb{
    margin-top: 1.5rem;
}
.single-post .post-profile-img{
    border: 2px solid var(--color-light);
}
/*----------------- -----------single post start-----------------*/

/*----------------- -----------category title page start-----------------*/
.category-title{
    height: 10rem;
    /* margin-top: 5rem; */
    text-align: center;
    /* border-bottom: 2px solid #03045E; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #03045E; */
   
}
.category-title h2{
    margin-top: 5rem;
    border-bottom: 2px solid var(--color-gray);
      color: var(--color-primary);
    font-size: 30px;
    text-transform: capitalize;
}

/*----------------- -----------category page end-----------------*/

/*----------------- -----------about page start----------------*/

.about-page{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: justify;
    margin-top: 10rem;
    height: 20rem;
}
/*----------------- ----------about page end-----------------*/


/* ------------------------media screen starts--------------- */

 @media (max-width:1024px) {
    h2{
        font-size: 1.6rem;
    }
    h3{
        font-size: 1.2rem;
     }
    
    h4{
        font-size: .8rem;
    }     

    /* navbar starts */
 
nav .phone-btn{
    display: inline-block;
    font-size: 2rem;
    color: var(--color-light);
    background-color: var(--color-none);
    cursor: pointer;
   }
nav .close{
    display: none;
}
.nav-link.open {
    display: block;
}

.nav-container{
    position: relative;
  }
nav .nav-link{
    position: absolute;
    right: 0;
    flex-direction: column;
    gap: 0 !important;
    width: 12rem;
    align-items: flex-start;
    justify-content: center;
    top: 4.5rem;
    display: none;
  }
nav .nav-link  li{
    width: 100%; 
    display: flex;
    align-items: center;
    height: 3rem;
    /* box-shadow: 2rem 3rem 7rem rgba(0,0,0,.7); */
    animation: ANI 400ms 0s ease forwards;
    opacity: 0;
}
.nav-link li:nth-child(2){
    animation-delay: 200ms;
}
.nav-link li:nth-child(3){
    animation-delay: 250ms;
}
.nav-link li:nth-child(4){
    animation-delay: 300ms;
}
.nav-link li:nth-child(5){
    animation-delay: 350ms;
}
.nav-link li:nth-child(6){
    animation-delay: 400ms;
}
.nav-link li:nth-child(7){
    animation-delay: 450ms;
}
.nav-link li:nth-child(8){
    animation-delay: 500ms;
}
@keyframes ANI {
    0%{
        transform: rotateX(90deg);
      }
    100%{
         opacity: 1;
         transform: rotateY(0deg);
        }
}
.nav-link li a{
    width: 100%; 
    height: 100%;
    background-color: var(--color-primary);
    border-bottom: 1px solid var(--color-gray);
    display: flex;
    align-items: center;
    padding: 0 2rem;
}
.nav-link li a:hover{
    /* opacity: .85; */
    /* background-color: var(--color-light); */
    /* color:var(--color-primary); */
    font-weight: 500;
}
nav ul li:last-child{
    background-color: var(--color-primary);
}
.nav-profile{
    margin: 0 auto;
} 
/* nav ul li:last-child:hover{
    background-color: var(--color-light);
} */
/* .nav-profile ul li a:hover{
    background-color: var(--color-light);
} */

/*========= featured=============  */
 .featured-container{
   width: 80%;
   grid-template-columns: 1fr;
    gap :2rem;
    /* color: black; */
 }
.post-container{
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
} 
/* -------------SINGLE POST------------ */
.single-post-container{
    width: 70%;
    padding: 1.5rem;
 }
 .single-post p{
    line-height: 1.6;
    margin: 1rem 0 0 0;
}
/* -------------------post--------------- */

/* -------------------dashboard--------------- */

.dashboard-container{
    grid-template-columns: 4.5rem auto;
    padding: 0;
    background-color: none;
    gap: 0;
}


.dashboard aside h5{
    display: none;
}
.dashboard table th{
    display: none
};
/* -------------------dashboard--------------- */

 /* -----------about start------- */
 .main-content{
    display: grid;
    grid-template-columns: 1fr;
 }
 .about-image{
    display: none;
 }
 /* -----------about end--------- */

 /* ---------------contact section start-------------- */
 .contact-section h3{
    width: 80%;
    text-align: center;
 }
 .contact-icon{
    display: grid;
    grid-template-columns: 1fr;
 }

  /* ---------------contact section end-------------- */
.footer-btn{
   display: flex;
   align-items: center;
   justify-content: center;
   flex-direction: column;
}

 }
 @media (max-width:600px){
.featured-container{
    width: 90%;
    gap :.5rem;
}
.post-container{
    grid-template-columns: 1fr;
    gap: .5rem;
    }
    .category-container{
        grid-template-columns: 1fr 1fr;
        word-wrap: 90%;
        }
        .footer-container{
            flex-direction: column;
            text-align: center;
            gap: 2rem;
            margin-top: 3rem;

        }

/* -------------------blog----------------- */

.search-container{
    width: 90%;
}
/* -------------SINGLE POST START------------ */
.single-post-container{
   width: 90%;
   padding: 1.2rem;
}
.single-post p{
    line-height: 1.6;
    margin: 1rem 0 0 0;
}
.single-post-container .single-post-thumb{
    margin-top: 1rem;
}

/* -------------SINGLE POST END------------ */

/* -------------Sign-up start------------ */

.form-container{
    width: 90%;
} 

/* -------------Sign-up END------------ */
    /* -----------about start--------- */
    .main-content1{
        display: grid;
        grid-template-columns: 1fr;
     }
     .form-container{
        width: 90%;
    } 
      /* -----------about end--------- */
     .contact .contact-section-container{
        width: 70%;
        display: grid;
        grid-template-columns: 1fr;
        padding: 1.2rem;
        align-items: center;
      }
      .user-container{
        width: 90%;
      }
      .contact .contact-section-container{
        width: 90%;
      }
      .contact .contact-form-container{
        width: 90%;
      }
      .form-section .contact-form-container{
        width: 90%;
      }
     
      
      
/* ---------------dashboard card start-------------- */
.cards{
    grid-template-columns: 1fr;
}
/* -----------------dashboard cards end --------------*/

/* ------------------dashboard starts--------------- */
.dashboard tbody td{
    display: grid;
   
  
}
.sm{
    padding: .2rem  ;
  
}
}

/* ---------------------dashboard ends.----------------------- */

/* ------------------------media screen ends--------------- */
