* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body{
    font-family: "Poppins", sans-serif ;
    background-color: #f8f8f5;
}


.main{
    padding: 0.3em;
}


.logoImg{
    width: 65px;
    height: 65px;
}

/* Navbar */
.navbar{
    background-color: white !important;
    position: fixed;
    top: 0%;
    left: 0%;
    right: 0;
    z-index: 999;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}


.nav-link{
    font-weight: bold;
    font-family: "Chakra Petch", sans-serif;
    font-style: normal;
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding-bottom: 5px;
  
}


#add , #adduser{
    display: none;
}



.abc::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ff5733; 
    transition: width 0.4s ease-in-out;
  }
  
  .abc:hover::after {
    width: 100%;
  }

.user {
    color: rgb(0, 0, 0);
    list-style-type: none;
    font-size: 1.8em;
    padding-right: 1em;

}

.nav-item{
    list-style-type: none;
}
.nav-link:hover{
    
    color: #548350 !important; 

}

.author-span{
    color: rgb(255, 157, 121);
}

.input-group{
    width: 300px !important;
    margin-right: 3em;
    margin-top: 0.8em;

}

#homewrite{
    display: none;
    width: 90px;
}

.btn:hover{
color: white;
}

#contact{
    display: none;
}


.mag-glass{
    padding:5px 7px !important ;
}

.user:hover{
    color: #548350 !important; 
    background-color: #98989800 !important;
    /* box-shadow: rgba(0, 0, 0, 0.47) 0px 5px 15px; */
}

.btn{
    font-family: "Chakra Petch", sans-serif;
    font-style: normal;
}


@media (max-width:340px){
    .input-group{
        width: 260px !important;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px;
    margin-top: 3em;
    background-color: #f5f5f5;
}

.hero-text {
    max-width: 500px !important;
}

.hero-text h1 {
    font-size: 2.5rem !important;
    font-weight: bolder;
    color: #333 !important;
    margin-bottom: 10px !important;
}

.hero-text h1 span , .blogsClass{

    color: #548350 !important; 
    font-family: "Berkshire Swash", serif;
}

.blogsClass{
    font-size: 3em;
    color: black !important;
}

.hero-text p {
    font-size: 1.2rem !important;
    color: #666 !important;
    margin-bottom: 20px;
}

#xontact{
    display: none;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}


 @media (max-width: 968px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
#homewrite{
    margin: 0 auto;
}

    .hero-text {
        margin-bottom: 20px;
    }

    .hero-image img {
        max-width: 100%;
    }
}

@media (max-width:400px){
    
    .hero-text h1{
        font-size: 1.8em !important;
    }
    
    .hero-text p{
        font-size: 16px !important;
    }

    .btn{
        font-family: "Chakra Petch", sans-serif;
       padding: 10px 8px ;
    }
}

@media (max-width:350px){
    
    .hero-text h1{
        font-size: 1.5em !important;
    }
    
    .hero-text p{
        font-size: 13px !important;
    }
}




.icons-section {
    padding-top: 2em;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    background-color: #f8f8f5;
}

.icon-box {
    text-align: center;
    cursor: pointer; 
      font-family: "Chakra Petch", sans-serif;
    animation: fadeIn 0.8s ease-in-out;
}


.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #648f61;
    border-radius: 50%;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}


.icon-circle {
    font-size: 32px;
    color: white;
    text-decoration: none !important;
    transition: transform 0.5s ease-in-out;
}

.icon-circle i{
    transition: transform 0.5s ease-in-out;
}


.icon-box p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}


.icon-box:hover .icon-circle {
    background: linear-gradient(45deg, #ff6b6b, #f94c10); 
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.icon-box:hover .icon-circle i {
    transform: rotate(360deg);
}

.icon-box:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



@media (max-width: 768px) {
    .icons-section {
        flex-wrap: wrap;
        gap: 20px;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
    }

    .icon-circle {
        height: 60px;
        width: 60px;
    }
}
@media (max-width: 400px){
    .icons-section  {
        margin-top: 1em;
    
    }
}


/* blogs card */


.info-section {
    display: flex;
    flex-direction: column;
    /* justify-content: center;
    justify-content: center; */
    align-items: center;
    padding: 50px 10px;
    background-color: #f8f8f5;
    
}

.info-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 900px;
    width: 100%;
    margin-top: 1em;
    padding:  1em;
    border-radius: 10px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    transition: transform 0.3s;
  
}

.info-container:hover{
    box-shadow: #4e88387b 0px 5px 15px; 
     transform: translateY(-5px);
}

.info-container img {
    width: 45%;
    height: auto;
    border-radius: 10px;
}



.info-text {
    width: 50%;
    padding: 1em;
}



.cate , .author{
    border: none;
    outline: none;
    padding: 2px 5px ;
    font-size: 12px;
    font-weight: bold;
    border-radius: 30px;
    background-color: #333;
    color: white;
}

.author{
    color: #000000;
    background-color: #648f61;
}

.info-text h2 {
 
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    color: #2e3e28 !important;
}

.info-text p {
    font-size: 16px;
    color: #555;
    margin: 10px 0 20px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    background-color: #3e5a3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #2e3e28;
}


.pagination{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#prevBtn , #nextBtn{
    padding: 5px 8px;
    border: none;
    outline: none;
    background-color: #2e3e28;
    color: white;
    border-radius: 5px;

}


#prevBtn:disabled , #nextBtn{
   
    background-color: #5c7653;
  

}


#prevBtn:hover , #nextBtn:hover{
    background-color: #24301f;


}

@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .info-container img, .info-text {
        width: 100%;
    }
}

@media (max-width:350px){
    .info-container img {
        height: 200px;
    }

    .info-text h2{
        font-size: 20px;
    }

    .info-text p {
        font-size: 13px;
    }

    .info-text {
        padding: 0;
        
    }

    .btn {
       padding: 4px 10px !important;
        font-weight: 400;
    }
}

@media (max-width:300px){
    .info-container img {
        height: 170px !important;
    }

    .info-container {
        padding: 0.5em;
    }
}


/* blog section */

.blog-section {
    text-align: center;
    padding: 50px 10px;
    background-color: #f8f8f5;
}

.blog-section h2 {
    font-size: 28px;
    color: #2e3e28;
    margin-bottom: 30px;
}

.blog-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
}

.blog-content h3 {
    font-size: 20px;
    color: #2e3e28;
}

.blog-content p {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}

.blog-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #3e5a3c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.blog-btn:hover {
    background-color: #2e3e28;
}

/* Responsive */
@media (max-width: 900px) {
    .blog-container {
        flex-direction: column;
        align-items: center;
    }
}



.footer {
    background-color: #2e3e28;
    text-align: center;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.glow-top, .glow-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, rgb(241, 150, 150), transparent);
    animation: glow 2s infinite alternate;
}

.glow-top {
    top: 0;
}
.glow-bottom {
    bottom: 0;
}


.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}


.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-links li {
    display: inline;
}

.logo-footer{
    border-radius: 50%;
    height: 70px;
    width: 70px;
}

.footer-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-family: "Chakra Petch", sans-serif;
    font-size: 14px;
    transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover {
    color: #8ad33b;
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
   
}

.social-icons a {
    color: white;
    font-size: 1.2em !important;
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
    transform: rotate(10deg) scale(1.2);
}

.face:hover{
    color: rgb(0, 108, 190);
}

.twit:hover{
    color: rgb(0, 174, 255);
}

.insta:hover{
    color: rgb(255, 38, 255);
}


.creater-footer{
    text-align: center;
    background-color: #2e3e28;
    padding: 0.7em 0;
    color: #989898;
}


.wishlist-btn{
    border: none;
    outline: none;
    background-color: rgba(255, 255, 255, 0);
}