* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.016rem;
}

:root {
    --primary-color: #B81C1B;
    --secondary-color: #0D0625;
    --black: #000000;
    --white: #fff;
    --text-color: #333333;
    --border-color: #D7D7D7;
    --fs-15: 15px;
    --transition: all 0.3s ease-in-out;
    --btn-width: 53px;
    --font-regular: 400;
    --font-500: 500;
    --font-600: 600;
    --font-800: 800;
    --font-700: 700;
    --spacing: 0.25rem;
}

a {
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-color);
}

strong {
    color: var(--black);
}


p {
    color: var(--black);
    line-height: 1.6;
    font-weight: var(--font-regular);
    color: var(--text-color);
    margin-bottom: 25px;
}

input {
    width: 100%;
}

button {
    background-color: transparent;
    cursor: pointer;
}

input,
textarea,
textarea:focus,
input:focus,
button {
    border: none;
    outline: none;
    user-select: none;
}

.sec-space {
    margin-top: 60px;
}

.sep-space {
    display: grid;
    gap: 30px;
}

.btn {
    padding: 10px 21px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--white);
    font-weight: var(--font-500);
    font-size: 14px;
    position: relative;
        overflow: hidden;
}

.btn :is(span, svg){
    position: relative;
    z-index: 3;
}

.btn-primary {
    background-color: var(--primary-color);
}



.btn:before {
    transition-duration: 500ms;
    position: absolute;
    width: 200%;
    height: 200%;
    content: "";
    top: 110%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: 1;
}

.btn-primary:hover:before{   
    background-color: var(--secondary-color);
}
.btn-primary:hover:before,.btn-secondary:hover:before{   
     top: -7%;
}

.btn-secondary:hover:before {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-outline:hover:before{
      top: -18%;
}

.btn-outline {
    border: 1px solid var(--white);
    background-color: transparent;
}

.btn-outline:hover:before {
    background-color: var(--primary-color);
}

.btn-outline:hover{
   border-color: #b81c1b;
}


.dual-btn {
    gap: 20px;
}

.sec-h h2 {
    font-size: clamp(2rem, 1.6875rem + 1vw, 2.25rem);
    margin-bottom: 10px;
    line-height: 46px;
}

.sep-line {
    position: relative;
}

.sep-line::after {
    content: "";
    position: absolute;
    width: 40%;
    height: 4px;
    background-color: var(--primary-color);
    left: 0;
    top: -2px;
}

.sep-line {
    width: 227px;
    height: 1px;
    background: var(--border-color);
}

.middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.middle .sep-line::after {
    left: 50%;
    transform: translateX(-50%);
}

/* top header start */
.top-header {
    background-color: var(--secondary-color);
    padding-block: 10px;
    font-size: 14px;
    position: relative;
}

.top-header::before {
    content: "";
    background-color: var(--primary-color);
    position: absolute;
    height: 100%;
    width: 29%;
    top: 0;
}

.top-header p {
    color: var(--white);
    text-transform: uppercase;
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.top-header ul a {
    color: var(--white);
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-header ul a:hover{
    color: #ffffffb2;
}

.top-header ul {
    display: flex;
    gap: 40px;
}

.top-header ul li {
    position: relative;
    align-items: center;
    display: flex;
}


.top-header ul li:last-child::before {
    content: "";
    position: absolute;
    width: 1px;
    background-color: var(--white);
    height: 70%;
    left: -22px;
    opacity: 37%;
}

/* top header end */


/* header start */
.scrollto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.home .header {
    position: sticky;
    background-color: var(--white);
}

.header {
    border-bottom: 1px solid var(--border-color);
    top: 0;
    width: 100%;
    z-index: 99;
    transition: all 0.2s ease-in-out;
    position: sticky;
    background-color: var(--white);
}

/* header scrolled */


.logo img {
    width: 115px;
}

/* nav start*/
nav #menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 26px;
}

nav #menu li a {
    color: var(--black);
    font-size: var(--fs-15);
    font-weight: var(--font-500);
}

nav #menu li a:hover{
    color: var(--primary-color);
}

.dropdown {
    position: relative;
}

.dropdown ul {
    position: absolute;
    display: block;
    visibility: hidden;
    background-color: var(--white);
    box-shadow: 0 0 30px rgb(127 137 161 / .25);
    transition: all 0.3s;
    padding: 10px;
    z-index: 99;
    transform-origin: top;
    transform: scale(0);
}

.dropdown ul li {
    padding: 10px;
    min-width: 170px;
    list-style: none;
}

.toggle-slide-btn,
.cancel-btn {
    display: none;
    cursor: pointer;
}

.site-toggle{
    cursor: pointer;
    position: relative;
}
.site-toggle::before{
    content: "";
    cursor: pointer;
    width: 1px;
    height: 70%;
    background-color: var(--border-color);
    position: absolute;
        left: -22px;
            top: 4px;
}

.doc-overlay {
    bottom: 0;
    height: 100vh;
    opacity: .5;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 2;
    background: var(--black);
}

/* nav end */

/* menu-search */
/* .menu-search {
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 200px;
    background: #000000e1;
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    display: none;
}

.cross-icon {
    position: absolute;
    top: 6%;
    right: 4%;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.menu-search form {
    width: 40%;
    background-color: #282b34;
    display: flex;
    padding: 14px;
}


.menu-search input {
    width: 100%;
    font-size: 16px;
    padding: 0;
    margin: 0;
    transition: var(--transition);
    background-color: transparent;
    color: #fff;
}

.menu-search svg {
    fill: var(--white);
    cursor: pointer;
}

.menu-search input::placeholder {
    color: #fff;
} */

.header-right{
    gap:40px;
}

.top-search{
    border: 1px solid var(--border-color);
    display: flex;
    gap: 15px;
    padding: 4px 4px 4px 15px;
    border-radius: 50px;
    /* width: 265px; */
}
.top-search button{
      background-color: var(--primary-color);
      width: 40px;
    height: 30px;
    border-radius: 50%;
       display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition);
}


.top-search button:hover{
  --primary-color:var(--secondary-color);
}

/* menu-search */
/* header end */


/* hero-header start */
.hero-sec {
    background: url("../img/hero-bg.webp") no-repeat center;
    background-size: cover;
    padding-block: 85px;
}

.sub-heading {
    gap: 10px;
}

.sub-heading {
    gap: 10px;
    background: var(--white);
    padding: 8px 18px;
    width: fit-content;
    font-size: 14px;
    border-radius: 46px;
    border: 1px solid #d9d9d9;
}

.big-heading {
    font-size: 48px;
    text-transform: capitalize;
    line-height: 1.5;
}


.fw-regular {
    font-weight: var(--font-regular);
}

.p-color {
    color: var(--primary-color);
    font-weight: var(--font-700);
    display: inline;
}


.hero-content {
    display: grid;
    gap: 12px;
}

.heroslider{
    overflow: unset !important;
}

.heroslider .swiper-pagination-bullet{
    overflow: unset !important;
    margin-inline: 5px !important;
    padding: 4px !important;
    border: 4px solid #fff;
    opacity: 0.3;
}

.heroslider .swiper-pagination-bullet-active{
     outline: 1px solid var(--border-color) !important;
     background-color: var(--black) !important;
     opacity: 1;
}

.heroslider .swiper-pagination{
    position: absolute;
    bottom: -46px !important;
    left: -50% !important;

}





/* .hero-slider .swiper-pagination{
    position: absolute;
} */

/* hero-header end */

/* partner section start */
.partner-content {
    display: grid;
    grid-template-columns: 20% auto;
    gap:15px;
    align-items: center;
}

.partner-content p {
    font-size: 20px;
    font-weight: var(--font-600);
    color: var(--black);
}

.partner-sec {
    padding-block: 30px;
    border-block: 1px solid var(--border-color);
}

.partner-content p {
    position: relative;
}

.partner-content p::after {
    content: "";
    border: 1px solid var(--border-color);
    position: absolute;
    right: 0;
    height: 87%;
    top: 7px;
}

.partner-content li img{
      width: 90px;
    height: 100%;
    object-fit: contain;
}
.partner-content li:first-of-type img{
      width: 70px;
}


/* scroll */
.scroller {
    max-width: 100%;
    margin-block: auto;
}

.marquee-list .scroller__inner {
    display: flex;
    gap: 60px;
}

.tag-list li {
    display: flex;
    align-items: center;
}

.scroller[data-animated="true"] {
    overflow: hidden;
}

.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
    flex-wrap: nowrap;
}

.scroller[data-direction="right"] {
    --_animation-direction: reverse;
}

.scroller[data-direction="left"] {
    --_animation-direction: forwards;
}

.scroller[data-speed="fast"] {
    --_animation-duration: 20s;
}

.scroller[data-speed="slow"] {
    --_animation-duration: 60s;
}

@keyframes scroll {
    to {
        transform: translate(calc(-30% - 0.5rem));
    }
}

.marquee-list {
    overflow: hidden;
    padding-inline: calc(var(--spacing) * 5);
    /* padding-block: calc(var(--spacing) * 4); */
    font-size: var(--fs-18);
    color: var(--color-white);
}

/* partner section end */


/* category-card-img start */
.category-card-img img {
    width: 100%;
}

.category-card {
    padding: 35px 20px 20px 20px;
    overflow: hidden !important;
    /* background-color: #ebda8d; */
    position: relative;
    display: grid;
    gap: 20px;
    border-radius: 12px;
    transition: var(--transition);
    height: 100%;
}

.category-card:hover{
    transform: translateY(-10px);
}

.category-card :is(.category-card-h,.category-card-img){
    position: relative;
    z-index: 1;
}

.category-card-h a{
    color: var(--black);
    font-weight: var(--font-600);
    font-size: 18px;
}

.arrow{
    width: 32px;
    height: 32px;
    background-color: #cfcfcf;
    z-index: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 8px;
    /* opacity: 0; */
    transition: var(--transition);
}

 .row .col-lg-3:first-child .category-card .arrow{
    background-color: var(--secondary-color);
}
 .row .col-lg-3:first-child .category-card:hover .arrow{
     background-color: #cfcfcf;
}

.category-card:hover .arrow{
   /* opacity: 1; */
   background-color: var(--secondary-color);
}

.mate-yellow{
    background-color: #f9e37f;
}
.mate-cyan{
    background-color: #d5f3ed;
}
.mate-purple{
    background-color: #e7dcec;
}
.mate-blue{
    background-color: #daecf8;
}
.mate-brown{
    background-color: #fae8d6;
}
.mate-gray{
    background-color: #ecefef;
}
.mate-green{
    background-color: #d9f6e5;
}
.mate-red{
    background-color: #fbdfdc;
}


.category-card::after {
    position: absolute;
    content: "";
    inset: 0;
    background: url("https://techto.rstheme.com/business-consulting/wp-content/plugins/techto-addons/assets/img/corner-curve-top-right.svg") no-repeat right top;
    /* -webkit-mask-composite: exclude !important;
    -webkit-mask-size: 100px !important;
    mask-composite: exclude !important; */
    inset: 0;
    filter: invert(1);
    background-size: 66px;
    z-index: 0;
}



/* category-card-img end */

/* about us start */
.about-us {
    /* background: url("../img/about-us-bg.png") no-repeat; */
    background: url("../img/about-background.png") no-repeat;
    background-size: contain;
    padding-block: 85px;
    display: grid;
    grid-template-columns: auto 37%;
    align-items: center;
    color: var(--white);
    padding-inline: 60px;
    background-position: center;
    gap: 35px;
}

.about-content p {
    color: #d1d0d6;
    font-weight: var(--font-regular);
}

.about-img {
    flex-shrink: 0;
    position: relative;
}

.about-img::before{
    content: "";
    position: absolute;
    background: url("../img/circle-layer.webp") no-repeat center;
    background-size: contain;
    width: 110px;
    height: 110px;
    top: 37%;
    left: 37%;
    transform: translate(-50%,50%);
    animation: spin 17s linear infinite;
}

.about-points {
    background-color: var(--white);
    padding: 20px 16px;
    border-radius: 35px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 25px;
    margin-bottom: 30px;
}

.about-points .point-box{
    position: relative;
}

.about-points .point-box:last-of-type::before{
    content: "";
    height: 100%;
    width: 1px;
    background-color: var(--border-color);
    left: -18px;
    position: absolute;
}

.double-line-h{
    position: relative;
    margin-bottom: 10px;
}

.double-line-h::before{
    content: "";
    border-block: 1px solid var(--primary-color);
    height: 106%;
    width: 39px;
    top: -1px;
    position: absolute;
}

.point-box .point-img {
    background-color: #f8e9e9;
    padding: 13px;
    border-radius: 53px;
    border: 1px solid #e3a5a5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-box .point-img img{
    flex-shrink: 0;
      width: 45px;
    height: 45px;
}

.point-box {
    gap: 10px;
}

.point-h {
    font-size: 18px;
    font-weight: var(--font-600);
    color: var(--black);
}

.point-content p {
    color: #333333;
    font-size: 15px;
}

/* about us end */



/* product section start */
.product-h {
    padding-right: clamp(0rem, -3.75rem + 12vw, 3rem);
    position: relative;
}


.product-h::before {
    content: "";
    position: absolute;
    background: url("/assets/img/down-arrow.webp") no-repeat center;
    background-size: contain;
    width: 60px;
    height: 60px;
    right: 39%;
    top: 63%;
}

.product-card {
    border: 1px solid var(--border-color);
    padding: 18px;
    border-radius: 10px;
    transition: var(--transition);
}

.product-card:hover{
    transform: translateY(-10px);
    box-shadow: 0px 0px 7px 1px #e9e9e9;
}

.product-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image img{
    width: 100%;
}

.product-title {
    font-size: 20px;
    font-weight: var(--font-600);
    color: var(--black);
}

.product-title:hover{
    color: var(--primary-color);
}

.product-content {
    display: grid;
    gap: 10px;
}

.product-content p {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}

/* product section end */

/* counter start */
.counter-sec {
    background-color: var(--secondary-color);
    padding-block: 30px;
}

.counter,
.counter p {
    color: var(--white);
}

.counter {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid gray;
    padding: 12px;
    border-radius: 73px;
    position: relative;
    background: url(../img/stats-bg.webp) no-repeat center;
    background-size: cover;
}

.counter::before {
    content: "";
    position: absolute;
    width: 41%;
    height: 100%;
    border-radius: 73px 0 0 73px;
    left: -1px;
    border-left: 2px solid var(--primary-color);
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.counter-img {
    background: #ffffff;
    width: 86px;
    height: 86px;
    border-radius: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
}

.counter p {
    font-size: 18px;
}

.counter--inner span {
    font-size: 30px;
    line-height: 1;
    font-weight: var(--font-700);
    color: var(--primary-color);
    position: relative;
    bottom: 10px;
}

.count {
    font-size: 40px;
    font-weight: var(--font-600);
    line-height: 1;
    display: inline;
}


/* counter end */

/* testimonial start */
.testimonials {
    background: url("../img/sec-bg.webp") no-repeat center;
    background-size: cover;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    display: grid;
    gap: 16px;
    background-color: var(--white);
}

.client-profile {
    gap: 10px
}

.client-details {
    justify-content: space-between;
}

.client-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.client-name {
    font-weight: var(--font-600);
}

.mySwiper .swiper-wrapper {
    padding-bottom: 60px;
}

.mySwiper .swiper-pagination-bullet{
 transition: var(--transition);
}

.mySwiper .swiper-pagination-bullet-active {
    padding-inline: 13px;
    border-radius: 10px;
    background: var(--primary-color);
}

.inner-sec {
    padding-block: 60px;
}

/* testimonial end */

/* blog start */
.blog-image img {
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
}

.blog-image {
    margin-bottom: 16px;
    position: relative;
    background-color: #c7c7c7;
    height: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
}

.blog-auth {
    gap: 8px;
    color: var(--text-color);
}

.blog-title {
    font-size: 18px;
    font-weight: var(--font-600);
    color: var(--black);
}

.blog-info {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.blog-card {
    padding: 20px;
    box-shadow: 0px 0px 7px 0px #dbdbdbad;
    border-radius: 10px;
}

.read-more{
 color: var(--black);
 font-weight: 500;
 display: flex;
 align-items: center;
 gap:10px;
}

.read-more span{
  background-color: var(--secondary-color);
  width: 32px;
  height: 32px;
  display: inline-block;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.dt{
   position: absolute;
    top:10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    width: 58px;
    height: auto;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    
}
.dt span{
    padding: 1px;
    font-size: 15px;
    /* width: 57px;
    height: 29px; */
}

.dt span:first-of-type{
    background-color: var(--primary-color);
    color: var(--white);
}
.dt span:last-of-type{
    background-color: var(--white);
}

.mid-button{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* blog end */


/* footer start */
.footer{
    padding-block: 45px;
    background:url("../img/footer-bg.webp") no-repeat center;
    background-size: cover;
    font-size: 15px;
}

.company-info{
    padding: 25px 25px 35px 25px;
    background-color: var(--white);
    border: 1px solid #d3d3d8;
    border-radius: 4px;
    display: grid;
    gap:22px;
    margin-right: 10px;
}



.contact-info svg{
    flex-shrink: 0;
}

.contact-info li a{
    display: flex;
    gap:10px;
    color: var(--black);
    font-weight: var(--font-600);
 
}

.contact-info li a:hover{
    color: var(--primary-color);
}
.contact-info{
    display: grid;
    gap:15px;
    padding-right: 30px;
      list-style: none;

}

.contact-info a:hover span{
    letter-spacing: .8px;
    padding-left: 5px;
       transition: var(--transition);
}

.footer-title {
    font-size: 20px;
    font-weight: var(--font-600);
    color: var(--black);
    margin-bottom: 34px;
    position: relative;
}

.footer-title::before {
    content: "";
    position: absolute;
    width: 10%;
    height: 4px;
    bottom: -10px;
    background-color: var(--secondary-color);
}

.footer-list{
    padding-left: 0;
    list-style: none;
}
.footer-list li {
    margin-bottom: 16px;
}

.footer-list li a{
    color: var(--text-color);
}

.footer-list li a:hover{
    letter-spacing: .8px;
    padding-left: 5px;
    color: var(--primary-color);
}

.email-box {
    align-items: center;
    display: flex;
    gap: 14px;
}

.email-box a{
    color: var(--black);
}

.email-box:hover a{
    letter-spacing: .8px;
    padding-left: 5px;
    color: var(--primary-color);
}

.newsletter{
    display: grid;
    gap:20px;
    margin-bottom: 30px;
}

.newsletter input{
    padding:12px 10px 12px 20px;
    border-radius: 30px;
}

.newsletter button{
    padding: 12px;
    background-color: var(--secondary-color);
    width: 100%;
    color: var(--white);
       border-radius: 30px;
       display: flex;
       gap:15px;
       align-items: center;
       justify-content: center;
       font-weight: var(--font-600);
}

.locations, .locations a
 {
    align-items: center;
    display: flex;
}

.locations a{
    position: relative;
    color: var(--black);
}

.locations a:hover{
    color: var(--primary-color);
}

.locations {
    border-top: 1px solid #82828259;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
    padding-top: 30px;
    justify-content: center;
    font-size: 15px;
}
.locations a:before {
    background-color: var(--secondary-color);
    content: "";
    height: 16px;
    left: -15px;
    position: absolute;
    width: 1px;
}

.locations a:first-child:before {
    display: none
}

.footer-bottom{
    padding:30px;
    background-color: var(--secondary-color);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    gap:20px;
}
.copy-write{
    color: var(--white);
    font-weight: var(--font-regular);
    font-size: 15px;
}
.copy-write span{
   font-weight: var(--font-600);
}

.social-icon{
    gap:10px;
    list-style: none;
}

.social-icon a {
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.social-icon a:hover {
    transform: scale(1.1);
}

/* footer end */



/* sidebar start */
.sidebar-info-contents {
    position: absolute;
    right: 0;
    width: 350px;
    background: #ffffff;
    bottom: 0;
    top: 0;
    height: 100vh;
    padding: 20px 35px;
    z-index: 2;
    transform: translateX(363px);
      transition: var(--transition);
}

.sidebar-textwidget{
    width: 100%;
    background: #00000059;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    height: 100vh;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.side-show{
   visibility: visible;
    opacity: 1;
}
.side-show .sidebar-info-contents{
    transform: translateX(0px);
}


.cross-icon{
    text-align: end;
    margin-bottom: 30px;
    cursor: pointer;
}


.sidebar-info-contents .logo{
   margin-bottom: 30px;
   display: inline-block;
}

.sidebar-title{
    font-size: 20px;
    font-weight: var(--font-600);
    margin-bottom: 16px;
}

.sidebar-info-contents p{
  font-size: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
}

 .flip:hover img{
transform: rotateY(360deg);
    transition: transform .8s .1s;
}

/* rotate animation start */
@keyframes spin{
    from {
      transform: rotate(0deg);   
    }
    to {
      transform: rotate(360deg);
    }
}
/* rotate animation end */

/* principal page start */
.brand-grid{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap:30px;
}

.brand-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 28px;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    box-shadow: 0px 0px 5px 0px #adadad38;
}
.brand-box:hover {
   border-color: #d9d9d9;
   transform: translateY(-10px);
}

.brand-box img{
    width: auto;
    height: auto;
}

/* principal page end */    

/* dic brand page start */
.brand-img {
    text-align: center;
}
.brand-img img{
    /* height: 130px; */
    width: auto;
}

.brand-page{
    display: grid;
    grid-template-columns: 25% auto;
    gap:30px;
}

.brand-card{
    padding: 20px;
    border: 1px solid #f8e9e9;
    border-radius: 10px;
    background: #f8e9e9;
    margin-bottom: 20px;
}

.brand-card :last-of-type{
    margin-bottom: 16px !important;
}

/* dic brand page end */

/* table of content start */
.toc{
    border: 1px solid var(--primary-color);
    padding:16px;
    position: relative;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.head-th{
    font-size: 20px;
    font-weight: var(--font-700);
    padding-bottom: 15px;
    border-bottom: 1px solid #cbcbcb;
    margin-bottom: 20px;
}


.toc:before {
  transform: skewY(-48deg);
  content: "";
  position: absolute;
  height: 100%;
  width: 20px;
  top: 10px;
  left: -20px;
  background-color: var(--primary-color);
}

.toc ul li a{
    color: var(--black);
}
.toc ul li a:hover{
    color: var(--primary-color);
}

.toc ul > ul{
    margin-bottom: 0;
}

.readMoreContainer{
    margin-bottom: 30px;
}

  .readMoreContainer .brand-card {
    display: none; /* Hidden by default */
  }

  .readMoreContainer :is(.brand-card:first-child,.brand-card:nth-child(-n+2)) {
    display: block; /* Show the first one */
  }

  .readMoreContainer.show-all .brand-card {
    display: block; /* Show all when expanded */
  }

  .toggle-button {
    cursor: pointer;
    color: #ffffff;
    background-color: var(--primary-color);
    border: none;
    margin-top: 10px;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
  }
/* table of content end */


@media (min-width: 1025px) {

    .dropdown ul {
        left: -15px;
        top: 36px;
        white-space: nowrap;
    }

    .dropdown:hover>ul {
        transform: scaleY(1);
        visibility: visible;
        opacity: 1;
    }
}


@media (max-width: 1024px) {

    .header nav {
        background: var(--white);
        height: 100vh;
        left: 0;
        position: fixed;
        top: 0;
        transform: translateX(-101%);
        transition: all .2s;
        width: 300px;
        z-index: 10;
    }

    .header nav #menu {
        display: block;
        padding: 50px 30px 30px;
    }


    .left-header {
        display: flex;
    }

    .toggle-slide-btn {
        display: block;
    }

    .header nav ul li {
        margin-bottom: 10px;
        padding: 10px 0 0;
    }

    .cancel-btn {
        position: fixed;
        right: 9%;
        top: 20px;
        z-index: 1;
    }

    .show-ul {
        transform: translate(0%) !important;
    }

    .header ul li.showMenu>ul {
        display: block !important;
        margin-top: 15px;
        opacity: 1;
        transform: translateX(0);
        visibility: visible;
        position: relative;
    }

    .header ul .dropdown ul {
        visibility: hidden;
        margin: 0;
        z-index: 99;
        transform-origin: top;
        transform: scale(0);
        padding: 10px;
    }


}


@media (max-width: 768px) {
    .site-toggle{
        display: none;
    }
    .top-search{
        display: none;
    }

    .brand-page{
        grid-template-columns: auto;
    }
    .toc{
       position: relative;
       top: 0;
    }

    .big-heading{
        font-size: 36px;
    }
    .hero-sec{
            padding-block: 40px;
    }
    .about-us{
        background-color: var(--secondary-color);
        grid-template-columns: auto;
        padding:40px;
        border-radius: 10px;
    }

    .about-img::before{
        left: 26%;
    }

    .about-content{
        order: 1;
    }

    .top-header::before{
        width: 38%;
    }

    .brand-grid{
    grid-template-columns: repeat(4,1fr);
}
}

@media (max-width: 600px) {

    .top-header ul{
        display: none;
    }

    .top-header::before{
        display: none;
    }

    .about-us{
        padding:20px;
    }

    .about-points{
        grid-template-columns: auto;
    }
    .about-points .point-box:last-of-type::before{
      display: none;
    }

    .about-img::before {
        left: 34%;
    }
}
