*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
}

/* Section-1 : Header Section */

.header{
    width: 100%;
    height: 80px;
    position: fixed;
    display: flex;
    padding-left: 6.25rem;
    padding-right: 6.25rem;
    align-items: center;
    justify-content: space-between;
    z-index: 999;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(4px);
  }
  
  .header-logo{
    display: flex;
    justify-content: left;
    width: 150px;
  }
  
  .header-logo img{
    width: 92px;
    height: 46px;
  }
  
  .header-button{
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: 150px; */
  }
  .header-button a{
    text-decoration: none;
  }

  .header-button button{
    height: 40px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    background-color: #272727;
    color: #FFFFFF;
    border: none;
    outline: none;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
  }
  
  .main-section{
    max-width: 1240px;
    margin: 0 auto;
  }

  .header-button button:hover{
    background-color: #F50000;
  }
  
  .header-button button img{
   display: none;
  }
  
  .header-button button:hover img{
    padding-left: 10px;
    display: block;
  }
  
  .header-button button::before{
    content: '';
    position: absolute;
    height: 40px;
    text-align: center;
    left: 50%;
    top: 0;
    transition: width 0.4s ease, height 0.4s ease, transform 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30%;
    transform: translateX(-50%);
}
  
  .header-menu{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    position: relative;
  }
  
  .header-menu img{
    width: 24px;
    height: 24px;
  }
  
  
  /* Menu icon section */
  .sub-menu-wrap {
    position: absolute;
    display: none;
    overflow: hidden;
    transition: max-height 0.5s;
    z-index: 9999;
    right: 0;
    top: 24px;
    padding-top: 24px;
}


.menu{
    position: relative;
}
  
  .sub-menu{
    border: 1px solid #E1E4ED;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 12px;
    padding-right: 12px;
    padding-left: 12px;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    background-color: #FFFFFF;
    cursor: pointer;
  }
  
  
  .info-column{
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;   
  }
  
  .info-column p{
    font-weight: 800;
    font-size: 14px;
    color: #272727;
  }
  
  .info-column ul{
    list-style-type: none;
    
  }
  
  .info-column ul li{
    display: flex;
        gap: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: row;
        justify-content: flex-start;
  }
  
  .info-column ul li a{
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #5E5F63;
  }
  
  .info-column ul li a:hover{
    color: black;
  }  
  
  /* section-2: Web Design Advice  */

  .main-section{
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
  }

.website{
    padding-top: 80px;
}

.Web-Design{
    padding-top: 80px;
    padding-right: 100px;
    padding-bottom: 48px;
    padding-left: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Heading-Content{
    width: 661px;
    align-items: center;
    justify-content: center;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-direction: column;
}

.Title-Content{
    display: flex;
    justify-content: center;
    align-items: center;
}

.Title-Content p{
    font-weight: 800;
    font-size: 52px;
    text-align: center;
    color: #272727;
}

.Title-Paragraph{
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 28px;
    width: 550px;
}

.Title-Paragraph p{
    font-weight: 400;
    font-size: 18px;
    text-align: center;
}

/* Section-3 Featured Section */

.Featured{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 80px;
}

.Featured a{
  text-decoration: none;
}


.Features-Heading p{

font-weight: 800;
font-size: 36px;

}

.Blog-card{
    gap: 48px;
    border-radius: 8px;
    border-width: 1px;
    display: flex;
    align-items: center;
    border: 1px solid #E4E4E4;
    max-width: 100%;
}

.Blog-card:hover {
    border-color:#F50000;
}

.Blog-card:hover .card-title p{
    color: #F50000;
}

.image-wrapper{
    height: 420px;
    object-fit: cover;
    width: min-content; 
}

.image-wrapper img{
    object-fit: cover;
    overflow: hidden;
}

.content-details{
  width: -webkit-fill-available;
  display: flex;
  align-items: center;
}
.content-design{
    padding-right: 48px;
    display: flex;
    flex-direction: column;
    align-self: center;
}

.Bottom-Category{
    display: flex;
}

.category{
    height: 30px;
    border-radius: 3px;
    border-width: 1px;
    padding: 10px;
    background: #F2F2F2;
    display: flex;
    border: 1px solid #E4E4E4;
    cursor: pointer;
}
.category p{
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: #272727;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-date{
   display: flex;
   justify-content: center;
   align-items: center;
   padding-left: 10px;
}

.card-date p{
margin: 0;
font-weight: 400;
font-size: 14px;
text-align: right;
color: #272727;
display: flex;
justify-content: center;
align-items: center;
}

.card-title{
    display: flex;
   justify-content: center;
    padding-top: 24px;
}

.card-title p{

    font-weight: 800;
    font-size: 36px;
    color: #272727;
    line-height: 40px;
}

.card-details{
    padding-top: 24px;
    display: flex;
    flex-direction: column;
}
.card-details p{
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: #272727;
}

.card-details span{
font-weight: 400;
font-size: 18px;
color: #3A3434;
line-height: 28px;
}

.card-info{
    display: flex;
    gap: 32px;
    padding-top: 32px;
    justify-content: end;
}

.user-icon-avatar{
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background: #F5F5F5;
    border: 1px solid #E4E4E4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-icon-avatar img {
    width: 24px;
    height: 24px;
    display: flex;
    gap: 10px;
    position: relative;
    justify-content: center;
    align-items: center;
}


.user-details{
    display: flex;
    align-items: center;
}
.user-name{
    display: flex;
    align-items: center;
}

.user-name p{
font-weight: 600;
font-size: 14px;
line-height: 20px;
text-align: right;
margin: 0;
color: #272727;
padding-left: 8px;
}

.arrow-circle{
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background: #F5F5F5;
    border: 1px solid #E4E4E4;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, filter 0.3s;

}

.arrow-circle img{
width: 28px;
padding-top: 8px;
padding-right: 5.5px;
padding-bottom: 8px;
padding-left: 5.5px;
gap: 10px;
top: 6px;
left: 6.5px;
}

.Blog-card:hover .arrow-circle{
    background-color: #F50000;
    transform: rotate(-45deg); /* Rotate to upward-right */
    border-color: #F50000;
}

.Blog-card:hover .arrow-circle img{
    filter: brightness(0) invert(1);
}

/* section-4: articles */

.articles{
    padding-top: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding-bottom: 40px;

}

.article-heading{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
.article-heading p{
    
    font-weight: 800;
    font-size: 36px;
    align-items: center;
    margin: 0px;
}

.article-blogs{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.categorys{
    
    height: 36px;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    border-radius: 3px;
    border-width: 1px;
    background-color: #F2F2F2;
    display: flex;
    cursor: pointer;
    border: 1px solid #E4E4E4;
}

.categorys:hover{
    background-color: #ddd;
}
.categorys p{
    
font-weight: 600;
font-size: 16px;
text-align: center;
margin: 0;
display: flex;
justify-content: center;
align-items: center;

}

.active{
    
    height: 36px;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    gap: 10px;
    border-radius: 3px;
    background-color: #272727;
    display: flex;
    cursor: pointer;
}

.active p{
font-weight: 600;
font-size: 16px;
text-align: center;
color: #fff;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
}


/* section-5: article section */


.article-section{
    padding-top: 40px;
    padding-bottom: 80px;
}

.button-section{
    display: flex;
    justify-content: end;
    align-items: end;
    gap: 25px;
}

.button-left{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #F2F2F2;
    border: 1px solid #E4E4E4;
}

.button-left img{
    width: 18px;
    height: 18px;
    top: 11px;
    left: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
}

.button-right{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #272727;
}

.button-right img{
    width: 18px;
    height: 18px;
    top: 11px;
    left: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
}


.card-wrapper{
    display: flex;
    justify-content: space-between;
}

.card-wrapper a{
    text-decoration: none;
}

.cards-section{
    display: flex;
    justify-content: space-between;
    width: min-content;

}

.card-content{
    padding-left: 24px;
    padding-right: 24px;
}

.title-sentence{
    padding-top: 10px;
}


.card-blog{
    border-radius: 8px;
    border-width: 1px;
    border: 1px solid #E4E4E4;
    flex-direction: column;
    flex: 0 0 calc(100% / 3);
}

.card-blog:hover{
    border-color: #F50000;
}

.card-blog:hover .title-sentence p{
    color: #F50000;
}

.card-Image{
    height: 180px;
}
.card-blog img{
    width: 353px;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.Bottom-category{
    display: flex;
    align-items: center;
    padding-top: 24px;
}

.category{
    height: 36px;
    padding-top: 12px;
    padding-right: 10px;
    padding-bottom: 12px;
    padding-left: 10px;
    border-radius: 3px;
    border-width: 1px;
    background-color: #F2F2F2;
    display: flex;
    cursor: pointer;
    border: 1px solid #E4E4E4;
}

.category p{
font-weight: 600;
font-size: 14px;
line-height: 20px;
text-align: center;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
color: #272727;
}

.card-date{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
}

.card-date p{
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    text-align: right;
    color: #272727;
    display: flex;
    justify-content: center;
    align-items: center;

}

.title-sentence{
    padding-top: 16px;
}
.title-sentence p{
    font-weight: 800;
    font-size: 20px;
    color: #272727;
}

.description{
   padding-top: 16px;
}
.description p{
font-weight: 400;
font-size: 18px;
letter-spacing: 0%;
color: #5E5F63;
}

.card-information{
    display: flex;
    justify-content: end;
    padding-top: 24px;
    padding-bottom: 24px;
}

.user-details{
    display: flex;
    align-items: center;
}
.user-icon-avatar{
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background: #F5F5F5;
    border: 1px solid #E4E4E4;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-icon-avatar img {
    width: 24px;
    height: 24px;
    display: flex;
    gap: 10px;
    position: relative;
    justify-content: center;
    align-items: center;
}

.user-name{
    display: flex;
    align-items: center;
}

.user-name p{
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    margin: 0;
    color: #272727;
    padding-left: 8px;
}

.arrow-icon-circle{
    width: 40px;
    height: 40px;
    border-radius: 25px;
    background: #F5F5F5;
    border: 1px solid #E4E4E4;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, filter 0.3s;

}

.arrow-icon-circle img{
width: 28px;
height: 28px;
padding-top: 8px;
padding-right: 5.5px;
padding-bottom: 8px;
padding-left: 5.5px;
gap: 10px;
top: 6px;
left: 6.5px;
}

.card-blog:hover .arrow-icon-circle{
    background-color: #F50000;
    transform: rotate(-45deg); /* Rotate to upward-right */
    border-color: #F50000;
}

.card-blog:hover .arrow-icon-circle img{
    filter: brightness(0) invert(1);
}

/* section-6: Pagination */

.Pagination{
    padding-top: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 80px;
}

.center {
    text-align: center;
  }
  
  .pagination {
    display: flex;
    gap: 16px;
  }
  
  .pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
  }
  
  .Button-1 p:active {
    background-color: #272727;
    color: white;
  }

  .Button-1{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #F2F2F2;
    border: 1px solid #E4E4E4;
    
  }

  .Button-1 p{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.Button-2{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #F2F2F2;
    border: 1px solid #E4E4E4;
    
  }

  .Button-2 p{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}
  
.Button-3{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #F2F2F2;
    border: 1px solid #E4E4E4;
    
  }

  .Button-3 p{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.Button-4{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #F2F2F2;
    border: 1px solid #E4E4E4;
    
  }

  .Button-4 p{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.Button-5{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border-width: 1px;
    background-color: #F2F2F2;
    border: 1px solid #E4E4E4;
    
  }

  .Button-5 p{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

  /* Section-7: Footer */

  .footer {
    background: #272727;
    padding-left: 6.25rem;
    padding-right: 6.25rem;
    padding-top: 72px;
  }
  
  .footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 300px;
  }
 
  .footer-col{
    /* gap: 32px; */
    display: flex;
    flex-direction: column;
  }


  .footer-details p{
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
}
 
  .footer-col .links {
    display: flex;
    padding-left: 0px;
    flex-direction: column;
    padding-top: 24px;
    gap: 12px;
  }

  .footer-col .links li {
    list-style: none;
  }
 
  .footer-col .links li a {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
    color: #EFEFEF;
  }

    .footer-col .links li a:hover{
        color: #F50000;
    }
  
    .footer-col p{
        color: white;
        font: 16px;
    }

    .logo-image img{
        width: 93.41px;
        height: 46.54px;
    }

    .contact{
        display: flex;
        flex-direction: column;
        padding-top: 24px;
    }

    .Email{
        display: flex;
        gap: 12px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    input:focus::placeholder {
      opacity: 0;
  }

    .Email img{
        width: 20px;
        height: 20px;
    }

    .Email p{
        color: #fff;
        font-size: 16px;
        margin-bottom: 0;
    }

    .location{
        display: flex;
        gap: 12px;
    }

    .location a{
      text-decoration: none;
      display: flex;
      gap: 10px;
  }

    .location img{
        width: 20px;
        height: 20px;
    }

    .location p{
        color: #fff;
        font-size: 16px;
        margin-bottom: 0;
    }

    .form{
      padding-top: 32px;
      width: 100%;
  }

.form form {
  display: flex;
  border-radius: 6px;
  background-color: white;
  padding-top: 8px;
  padding-right: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  width: -webkit-fill-available;
  height: 49px;
  justify-content: space-between;
}

.form input {
  outline: none;
  border: 1px;
  color: #272727;
  border-radius: 8px;
  width: 80%;
}

.footer-col form button {
  background: #333;
  color: white;
  outline: none;
  border: none;
  width: 83px;
  height: 33px;
  border-radius: 4px;
  border-width: 1px;
  cursor: pointer;
}
 
.error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;    
}
   
    .icons{
    display: flex;
    gap: 10px;  
  }

  .icons a{
    height: 24px;
  }

  .icons a img{
    width: 24px;
    height: 24px;
    background-color: #635E5E;
    border-radius: 3px;
  }

  .icons a img:hover{
    background-color: #F50000;
  }
  .copyright{
    display: flex;
    align-items: center;
  }

  .copyright p{
    font-size: 16px;
    align-items: center;
    color: #fff;
  }

  .rows{
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.company-name{
    display: flex;
    gap: 12px;
    padding-bottom: 8px;
}

.company-name img{
    width: 20px;
    height: 20px;
}

.company-name p{
    color: #fff;
    font-size: 16px;
    margin-bottom: 0;
}
