:root{
    --mount-meadow: #1bbc9c;
    --white-smoke: #f0f0f0;
    --night-rider: #343434;
    --black: #191b17;
    --transition: all 0.5s ease-in-out;
}
*{
    font-family:'Hind Siliguri', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    color: var(--black);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;

}
/*setup & reusable stylings-- */
img{
    width: 100%;
}
a{
    padding: 0 25px 0 25px;
    text-decoration: none;
    color: var(--black);
}
li{
    list-style-type: none;
}
button{
    cursor: pointer;
    outline: 0;
    background: transparent;
}
.container{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}
h1, h2, h3, h4, h5, h6{
    margin: 0.6rem 0;
    line-height: 1.25;
    font-weight: 400;
    text-transform: capitalize;
}
.text{
    margin: 0.6rem 0;
    opacity: 0.8;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}
section{
    padding: 6.5rem 0;
} 
.title{
    padding: 0.6rem 0;
    text-align: center;
}
.title h2{
    font-size: 2.2rem;
    color: var(--night-rider);
}
.title .text{
    font-weight: 500;
    font-size: 1.1rem;
}
/* header */
.header{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url(../assets/Cotton.jpg);
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 999;
    align-items: center;
}
.brand-and-toggler{
    font-size: 1.65rem;
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand{
    font-weight: 500;
    color: var(--night-rider);
}
.navbar-brand span{
    color: var(--mount-meadow);
}
.navbar-toggler{
    border: none;
    color: var(--mount-meadow);
}
.navbar-nav{
    margin: 0.2rem 0 0.6rem 0;
}
.nav-item{
    padding: 0.6rem 0;
    position: relative;
}


.dropdown_menu{
    display: none;
}
.nav-item:hover .dropdown_menu{
    justify-items: auto;
    display: block;
    position: absolute;
    left: 0;
    top: 60%;
    background-color: transparent;
    transition: var(--transition);
}
.nav-item:hover .dropdown_menu ul{
    display: block;
    margin: 20px;
}
.nav-item:hover .dropdown_menu ul li{
    width: auto;
    height: auto;
    padding: 5px;
}
.nav-item:hover .dropdown_menu ul li a{
    color: var(--white-smoke);
    word-spacing: normal;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 400;
    opacity: 0.65;
}
.nav-item:hover .dropdown_menu ul li a:hover{
    color: var(--mount-meadow);
    transition: var(--transition);
}


.nav-link{
    word-spacing: normal;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 2px;
    font-weight: 400;
    opacity: 0.65;
    transition: var(--transition);
}
.nav-link:hover{
    color: var(--mount-meadow)!important;
}
.navbar-collapse{
    display: none;
}
.hero-div{
    flex: auto;
    flex-direction: column;
    text-align: center;
}
.hero-div h1{
    text-align: center;
    font-size: 2.55rem;
    padding-bottom: 0.4rem;
}
.hero-div p{
    color: var(--white-smoke);
    font-size: 1.05rem;
    letter-spacing: 3px;
}
.hero-btns{
    margin-top: 2.8rem;
}
.hero-btns button{
    border: 3.5px solid #fff;
    border-radius: 2rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
}
.btn-trans{
    color: #fff;
    transition: var(--transition);
    display: none;
}
.btn-trans:hover{
    background: var(--mount-meadow);
    border-color: var(--mount-meadow);
}
.btn-white{
    background: #fff;
    color: var(--night-rider);
    transition: var(--transition);
}
.btn-white:hover{
    background: transparent;
    color: #fff;
}
/*detail */
.detail{
    background: var(--white-smoke);
}
.detail-item{
    background:  #fff;
    text-align: center;
    box-shadow: 0 1px 2px 0  rgba(90, 91, 95, 0.1);
    -webkit-box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    margin: 2rem 0;
    padding: 3rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
}
.detail-item:hover{
    -webkit-box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    -moz-box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    transform: translateY(-5px);
}
.detail-item span{
    font-size: 2.5rem;
}
.detail-item h2{
    font-size: 1.4rem;
    opacity: 0.8;
    font-weight: 300;
}
.line{
    width: 50px;
    margin: 1.2rem auto;
    background: var(--mount-meadow);
    height: 2.5px;
}
/* AboutUs*/
.AboutUs{
    background-image: linear-gradient(rgba(27, 188, 156, 0.8), rgba(27, 188, 156, 0.9)), url(../assets/Darkbluebg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
.AboutUs .title{
    color: var(--white-smoke);
    text-align: left;
}
.AboutUs-left img{
    width: 60%;
    height: 60%;
    padding-top: 5px;
    border-radius: 40px;
    margin-top: 5rem;
    margin: 0 auto;
    max-width: 100%;
}
.AboutUs-right h2{
    color: var(--white-smoke);
    text-align: center;
}
.AboutUs-right{
    color: var(--white-smoke);
    margin-top: 4rem;
    text-align: left;
}

/* Yarn and Fabrics Feature section*/
.section {
    background-color: var(--white-smoke);
    position: relative;
    text-align: center;
    padding: 100px 0;
}
.section h1{
    font-size: 2.2rem;
    color: var(--night-rider);
}

.pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url();
    opacity: 0.1;
    z-index: -1;
}

.content-container {
    margin-bottom: 30px;
}

.section-title {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--night-rider);
}

.section-subtitle {
    font-size: 18px;
    color: var(--night-rider);
}

.tab-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 20px 75px;
    background-color: #fff;
    border: var(--white-smoke);
    border-radius: 1px;
    color: var(--mount-meadow);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 5px;
}

.tab-btn:hover {
    background-color: var(--mount-meadow);
    color: #fff;
}

.tab-btn.active-btn {
    background-color: var(--mount-meadow);
    color: #fff;
    transform: scale(1.10);
}

.tabs-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab {
    display: none;
    text-align: left;
    padding: 20px;
    border-radius: 5px;
    background-color: transparent;
    width: 50%;
    margin-bottom: 20px;
}

.tab.active-tab {
    display: block;
}

.paragraph {
    color: var(--night-rider);
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
}

.yarn-type {
        display: flex;
        padding-top: 10px;
        font-size: 15px;
        font-weight: bold;
        color: var(--night-rider);
        align-items: center;
        width: 220px;
        flex-wrap: wrap;
}

.yarn-type img {
        width: 35px;
        height: 35px;
        display: block;
        margin: 0 2px;
}

.yarn-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
}

.yarn-types {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 20px;
}

.tab.active-tab {
        display: block;
        opacity: 0;
        animation: fade-in 0.5s ease-in-out forwards;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*video */
.video{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url(../assets/Yarn2.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
}
.video a{
    font-size: 2.2rem;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--mount-meadow);
    padding-left: 7px;
    margin: 0 auto;
}
.video h2{
    font-size: 2rem;
    color: var(--white-smoke);
    padding: 1.2rem 0;
}
.video p{
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--white-smoke);
    opacity: 0.7;
}
/*team*/
.team .row{
    margin-top: 2rem;
}
.team-item{
    margin: 2rem 0;
}
.team-img{
    position: relative;
}
.team-icons{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    background: var(--white-smoke);
    opacity: 0;
    transition: var(--transition);
}
.team-icons a{
    color: var(--night-rider);
    width: 50px;
    height: 50px;
    transition: var(--transition);
}
.team-icons a:hover{
    background: var(--mount-meadow);
    color: #fff;
}
.team-img:hover .team-icons{
    opacity: 1;
}
.team-info{
    text-align: center;
    padding: 1.5rem;
    line-height: 1;
}
.team-info h3{
    font-size: 1.4rem;
    color: var(--night-rider);
}
.team-info span{
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
    opacity: 0.7;
}

/* experience */
.experience .row{
    margin: 2rem;
}
.experience-item{
    border: 2px solid silver;
    text-align: center;
    padding: 2rem 0;
    margin: 2rem 0;
    background: var(--white-smoke);
    box-shadow: 0 1px 2px 0  rgba(90, 91, 95, 0.1);
    -webkit-box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    border-radius: 4px;
    transition: var(--transition);
}
.experience-item:hover{
    -webkit-box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    -moz-box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    transform: translateY(-5px);
}
.experience-item h1{
    color: var(--night-rider);
    opacity: 0.7;
    font-size: 2rem;
}
.experience-item .experience{
    padding: 1.5rem 0 1rem 0;
    line-height: 1.1;
}
.experience-item .experience span{
    display: block;
}
.experience-item .experience span:first-child{
    font-size: 2.6rem;
    letter-spacing: 2px;
    color: var(--mount-meadow);
}
.experience-item .experience span:last-child{
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
}

/*certificate section*/
.certificate-section {
    background-color: #fff;
    color: var(--night-rider);
    text-align: center;
    padding: 40px;
}
.certificate-section h2 {
    font-size: 2.2rem;
    margin: 0.6rem 0;
    line-height: 1.25;
    font-weight: 400;
    text-transform: capitalize;
    background-color: transparent;
    color: var(--night-rider);
    padding: 10px;
    display: inline-block;
}
.certificate-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}
.certificate-image {
    float: left;
    width:  18%;
    height: 100%;
    object-fit: center;
}

/*testimonials*/
.testimonials{
    background-image: linear-gradient(rgba(27, 188, 156, 0.8), rgba(27, 188, 156, 0.9)), url(../assets/Darkbluebg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}
.testimonials .title h2, .testimonials .title{
    color:  #fff;
}
.testimonials .row{
    margin-top: 2.5rem;
}
.testimonials-img{
    border: 4px solid #fff;
    width: 150px;
    border-radius: 50%;
    margin: 2.5rem auto;
    padding: 0.5rem;
}
.testimonials-img img{
    border-radius: 50%;
}
.testimonials-item{
    text-align: center;
}
.testimonials-item p{
    font-size: 1.3rem;
    color: var(--white-smoke);
    line-height: 1.7;
}
.testimonials-item span{
    margin-top: 0.7rem;
    display: block;
    font-size: 1.1rem;
    color: rgba(50, 50, 190, 0.616);
    font-weight: 500;

}

/*FAQ*/
.faq{
    background: rgb(252, 250, 250);
}
.faq .row{
    margin-top: 2rem;
}
.faq-item{
    margin: 0.6rem 0;
}
.faq-head{
    background: var(--white-smoke);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.2rem 1.8rem;
}
.faq-head h3{
    background: var(--white-smoke);
    font-weight: 300;
    opacity: 0.8;
}
.faq-content{
    background: #fff;
    overflow: hidden;
    height: 0;
    padding: 0 1.8rem;
    transition: 0.25s ease-in-out;

}
.show-faq-content{
    height: auto;
    padding: 0.6rem 1.8rem;
    transition: 0.25s ease-in-out;
}

/*contact us*/
.contact .row{
    margin-top: 2rem;
}
.contact .row > div{
    margin: 2rem 0;
    padding: 1rem 0;
}
.contact .row > div h2{
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
}
.contact-left form input,
.contact-left form textarea{
    width: 100%;
    font-size: 1.1rem;
    margin: 0.2rem 0;
    padding: 0.8rem 0.6rem;
    border: none;
    border-bottom: 1.5px solid #f0f0f0;
    outline: 0;
}
.contact-left form input::placeholder,
.contact-left form textarea::placeholder{
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.8;
}
.contact-left form input:focus,
.contact-left form textarea:focus{
    border-color: var(--night-rider);
}
.submit-btn{
    margin: 1rem 0;
    border: none;
    font-size: 1.3rem;
    color: #fff;
    background: var(--mount-meadow);
    opacity: 0.9;
    padding: 0.8rem 3.4rem;
    border-radius: 2rem;
    transition: var(--transition);
}
.submit-btn:hover{
    background: var(--black);
}
.contact-right div{
    margin: 2rem 0;
}
/*footer*/
.footer{
    text-align: center;
    background-color: var(--black);
    color: var(--white-smoke);
    padding: 2rem 0;
    height: 50vh;
}
.footer .text{
    opacity: 0.8;
}
.footer-links{
    display: flex;
    justify-content: center;
    margin-top: 1.6rem;
}
.footer-links a{
    color: var(--white-smoke);
    opacity: 0.8;
    width: 50px;
    height: 50px;
    margin: 0 0.4rem;
    border-radius: 50%;
    transition: var(--transition);
}
.footer-links a:hover{
    background: var(--mount-meadow);
}


/*      Media Queries       */
@media screen and (max-width: 768px) {
    .navbar .container img{
        max-width: 70px;
        max-height: 70px;
    }
    .AboutUs-left img {
        display: none; 
    }

    .AboutUs .title {
        text-align: center; 
    }

    .AboutUs-right h2 {
        text-align: center; 
    }

    .AboutUs-right {
        margin-top: 2rem; 
        text-align: center; 
    }
    .tab-btn {
        width: 30%;
        padding: 15px;
        background-color: #fff;
        border: var(--white-smoke);
        border-radius: 5px;
        color: var(--mount-meadow);
        cursor: pointer;
        transition: var(--transition);
    }
    .certificate-section {
        background-color: #fff;
        color: var(--night-rider);
        text-align: center;
        padding: 20px; 
    }

    .certificate-section h2 {
        font-size: 1.8rem; 
        margin: 0.6rem 0;
        line-height: 1.25;
        font-weight: 400;
        text-transform: capitalize;
        background-color: transparent;
        color: var(--night-rider);
        padding: 10px;
        display: inline-block;
    }

    .certificate-container {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between; 
        align-items: center;
        gap: 20px; 
        margin-top: 20px; 
    }

    .certificate-image {
        width: 40%; 
        height: auto;
    }
}
@media screen and (min-width:768px){
    .navbar .container img{
        max-width: 70px;
        max-height: 70px;
    }
    .detail .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem
    }
    .detail-item{
        margin: 0;
    }
    .video h2{
        font-size: 2.6rem;
    }
    .video p{
        font-size: 1.2rem;
        width: 75%;
        margin: 0 auto;
    }
    .team-item{
        margin: 0;
    }
    .faq .row{
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
    .experience .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem
    }
    .experience-item{
        margin: 0;
    }
    .testimonials-item p{
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .contact .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
    .contact-right > div:first-child{
        margin-top: 0;
    }
    .tab-btn {
        width: 20%;
        height:auto;
    }
    
}
@media screen and (min-width: 992px){
    .navbar{
        background: transparent;
        margin-top: 1.4rem;
    }
    .navbar .container{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar .container img{
        max-width: 70px;
        max-height: 70px;
    }
    .navbar-brand{
        color: var(--white-smoke);
        font-size: 2rem;
    }
    .navbar-toggler{
        display: none;
    }
    .navbar-collapse{
        display: block!important;
    }
    .navbar-nav{
        display: flex;
        margin: 0;
    }
    .navbar-item{
        margin-left: 1.8rem;
    }
    .nav-link{
        color: var(--white-smoke);
    }
    .hero-div h1{
        font-size: 3.8rem;
    }
    .btn-trans{
        display: inline-block;
        margin-right: 0.8rem;
    }

    /* navbar change*/
    .cng-navbar{
       -webkit-box-shadow: 0 2px 5px 0 rgba(207, 205, 207, 0.3);
       -moz-box-shadow: 0 2px 5px 0 rgba(207, 205, 207, 0.3);
       box-shadow: 0 2px 5px 0 rgba(207, 205, 207, 0.3);
       margin-top: 0;
       background: #fff;
    }
    .cng-navbar .navbar-brand{
        color: var(--night-rider);
    }
    .cng-navbar .nav-link{
        color: var(--night-rider);
    }
    .cng-navbar .nav-item:hover .dropdown_menu{
        justify-items: auto;
        display: block;
        position: absolute;
        left: 0;
        top: 60%;
        background-color:transparent;
        transition: var(--transition);
    }
    .cng-navbar .nav-item:hover .dropdown_menu ul li a{
        color: var(--night-rider);
    }
    .cng-navbar .nav-item:hover .dropdown_menu ul li a:hover{
        color: var(--mount-meadow);
        transition: var(--transition);
    }
    .AboutUs .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        column-gap: 2rem;
    }
    .AboutUs-right{
        margin-top: 0;
    }
    .feature .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        column-gap: 2rem;
    }
    .feature-right{
        margin-top: 0;
    }
}

@media screen and (min-width: 1200px){
    .hero-div h1{
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .detail .row{
        grid-template-columns: repeat(3, 1fr);
    }
    .experience .row{
        grid-template-columns: repeat(3, 1fr);
    }
    .testimonials-item p{
        width: 60%;
    }
    .contact .row{
        column-gap: 4rem;
    }
    .contact-right{
        padding-left: 4rem!important;
    }
}
    