/**
 * Theme Name:        Vijay Cotton Main Theme
 * Theme URI:         https://vijaycotton.com
 * Description:       Theme designed by Design of time
 * Version:           1.0.0
 * Author:            Pratik Mandloi
 * Author URI:        https://designoftimeco.com
 * Tags:              na,
 * Text Domain:       vijaycotton
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

 @import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
 
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --swiper-theme-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-inactive-color: rgba(255, 255, 255, 0.5);
  --swiper-pagination-bullet-width: 15px;
  --swiper-pagination-bullet-height: 15px;
  --heading-size: 4rem;
  --subheading-size: 1.6rem;
  --text-size: 1.25rem;
}

.testimonialPagination .swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.3);
}
.testimonialPagination .swiper-pagination-bullet-active {
  background-color: rgba(0, 0, 0, 1);
}

@media screen and (max-width: 997px) {
  :root {
    --heading-size: 2rem;
    --subheading-size: 1.25rem;
    --text-size: 1rem;
  }
}

html {
  margin-top: 0 !important;
}

.hasChildMenu {
  position: relative;
  cursor: pointer;
}

.childMenu {
  width: auto;
  min-width: calc(100% + 17rem);
  height: auto;
  overflow-y: auto;
  position: absolute;
  top: 102%;
  left: 50%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  /* min-width: 100px; */
  backdrop-filter: blur(20px);
  transform: translate(-50%, 0);
  text-align: left;
  max-height: 0;
  opacity: 0;
  padding: 0;
  transition: opacity 0.3s ease-in;
}

.hasChildMenu:hover .childMenu {
  max-height: 30vh;
  opacity: 1;
  padding: 1rem;
  transition: opacity 0.3s ease-in;
}

.childMenu ul {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.childMenu ul li {
  width: 100%;
  list-style: none;
  padding: 0.3rem 0;
}

.childMenu ul li a {
  text-decoration: none;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  transition: all 0.3s ease;
  font-size: var(--text-size);
}
.childMenu ul li a svg {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.childMenu ul li a:hover svg {
  opacity: 1;
  transform: translateX(0);
}

.legacySlider {
  width: 100%;
  margin-top: 5rem;
}

.legacySlider img {
  width: auto;
  height: 80%;
  object-fit: contain;
}

.legacySlider .swiper-wrapper {
  width: 100%;
  height: auto;
  /* max-height: 60vh; */
}

.legacySlider .slideItem {
  position: relative;
}

.upperGrid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(6, 1fr);
  padding-left: 10%;
}
.lowerGrid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(6, 1fr);
  padding-left: 10%;
}
.stripImgLeft {
  padding-left: 2%;
}
.stripImgRight {
  padding-right: 2%;
}
.upperGrid .slideGridItem:nth-child(1) {
  grid-area: 1 / 1 / 2 / 3;
}

.upperGrid .slideGridItem:nth-child(2) {
  grid-area: 1 / 3 / 1 / 5;
}

.upperGrid .slideGridItem:nth-child(3) {
  grid-area: 1 / 5 / 1 / 7;
}

.lowerGrid .slideGridItem:nth-child(1) {
  grid-area: 1 / 2 / 1 / 4;
}

.lowerGrid .slideGridItem:nth-child(2) {
  grid-area: 1 / 4 / 1 / 6;
}

.slideGridItem {
  width: 100%;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  position: relative;
}
.slideGridItem .year {
  position: absolute;
  bottom: -3.85rem;
  text-align: left;
  width: 100%;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  padding-left: 2rem;
}

.slideGridItem .slideGridImg {
  width: auto;
  height: calc(50px + 5vw);
  aspect-ratio: 1/1;
}
.slideGridItem .text {
  font-size: calc(10px + 0.3vw);
  line-height: 1.3;
}

.slideItem2 .upperGrid {
  padding-left: 0;
}
.slideItem2 .lowerGrid {
  padding-left: 0;
}

.lowerGrid .slideGridItem .year {
  top: -3.85rem;
  bottom: auto;
}

.slideItem2 .year {
  top: -3.85rem;
  bottom: auto;
}

.slideItem2 .lowerGrid .year {
  bottom: -3.85rem;
  top: auto;
}

.stripMob {
  display: none;
}

@media screen and (max-width: 997px) {
  .childMenu {
    width: 80%;
    top: 90%;
    left: 40%;
    min-width: 80%;
  }
  .slideGridItem .year {
    font-size: 0.68rem;
    padding-left: 1rem;
    bottom: -1.2rem;
    left: 24%;
  }

  .slideGridItem .year svg {
    width: 12px;
    height: 12px;
  }
  .lowerGrid .slideGridItem .year {
    top: -1.2rem;
  }
  .slideItem2 .year {
    top: -1.2rem;
    bottom: auto;
    /* left: -105%; */
  }

  .slideItem2 .lowerGrid .year {
    bottom: -1.2rem;
    top: auto;
    /* left: -94%; */
  }
  .slideGridItem {
    flex-direction: column;
    text-align: center;
  }

  .childMenu ul li a {
    font-size: 1rem;
  }
  .upperGrid {
    padding-left: 0;
  }
  .lowerGrid {
    padding-left: 0;
  }
  .stripImgLeft {
    padding-left: 0;
  }
  .stripImgRight {
    padding-right: 0;
  }
  .slideGridItem .text {
    font-size: calc(12px + 0.3vw);
  }
  /*   
  .upperGrid .slideGridItem:nth-child(1) {
    grid-area: 1 / 1 / 2 / 4;
  }
  
  .upperGrid .slideGridItem:nth-child(2) {
    grid-area: 1 / 7 / 1 / 10;
  }
  
  .lowerGrid .slideGridItem:nth-child(1) {
    grid-area: 1 / 4 / 1 / 7;
  } */

  /*
  
  .lowerGrid .slideGridItem .year {
    top: 50%;
    left: -105%;
    bottom: auto;
    flex-direction: row-reverse;
  }

  .lowerGrid .slideGridItem .year svg{
    transform: rotate(180deg);
  }

  .slideItem2 .year{
    top: -50%;
    bottom: auto;
    left: -105%;
  }
  
  .slideItem2 .lowerGrid .year{
    bottom: auto;
    top: -50%;
    left: -94%;
  }
  .stripMob {
    display: none;
  }

  .stripWeb {
    display: none;
  }

  .legacySlider img {
    height: 80vh;
  }
  .legacySlider .swiper-wrapper {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .legacySlider .slideItem {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
  }
  .upperGrid {
    display: grid;
    width: 100%;
    grid-template-columns: none;
    grid-template-rows: repeat(5, 1fr);
    padding-left: 0%;
  }
  .lowerGrid {
    display: grid;
    width: 100%;
    grid-template-columns: none;
    grid-template-rows: repeat(5, 1fr);
    padding-left: 0%;
  }
  .upperGrid .slideGridItem:nth-child(1) {
    grid-area: 1 / 1 / 2 / 1;
  }
  
  .upperGrid .slideGridItem:nth-child(2) {
    grid-area: 3 / 1 / 4 / 1;
  }
  
  .upperGrid .slideGridItem:nth-child(3) {
    grid-area: 5 / 1 / 6 / 1;
  }
  
  .lowerGrid .slideGridItem:nth-child(1) {
    grid-area: 2 / 1 / 3 / 1;
  }
  
  .lowerGrid .slideGridItem:nth-child(2) {
    grid-area: 4 / 1 / 5 / 1;
  }
  .slideGridItem {
    justify-content: center;
    flex-direction: column;
  }
  .slideGridItem .text{
    text-align: center;
  }
  .stripImgLeft{
    padding-left: 0;
  }
  .stripImgRight {
    padding-right: 0;
    place-self: flex-start;
    align-items: flex-start;
    margin-top: -2.2rem;
}*/
}

.legacySlider {
  width: 100%;
  padding: 0 10%;
}

.legacySlider {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: flex-start;
  align-items: stretch;
  column-gap: 5rem !important;
  row-gap: 0;
  /* gap: 2rem; */
  position: relative;
}

.legacySlider .legacyCol {
  width: 100%;
  display: flex;
  /* flex-direction: column; */
  gap: 3rem;
  /* margin-top: -20%; */
  padding: 0 2rem;
  border-radius: 1rem;
  align-items: center;
  text-align: left !important;
  position: relative;
  transition: all 0.3s ease;
}
.legacySlider .legacyCol:nth-child(odd) {
  justify-content: flex-start;
}

.legacySlider .legacyCol:nth-child(even)::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: -3.75rem;
  transform: translate(-50%, -50%);
  border-radius: 3px;
}

.legacySlider .legacyCol:nth-child(even) {
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.legacySlider .legacyCol:nth-child(even) p {
  text-align: right !important;
}
.legacySlider .legacyCol:nth-child(even) h2 {
  text-align: right !important;
}

.legacySlider .legacyCol:nth-child(odd)::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -2.5rem;
  transform: translate(-50%, -50%);
  border-radius: 3px;
}

.lineContainer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 0;
}

.lineContainer .gridLine {
  width: 10px;
  height: 100%;
  background: #076837;
}

.legacyCol h2 {
  font-size: 2.5rem;
  background-color: #fff;
  z-index: 99999;
}
.legacyCol p {
  font-size: var(--text-size);
  text-align: left;
  line-height: 1.3;
  color: #000;
  opacity: 1;
  margin-top: 1rem;
  background-color: #fff;
  z-index: 99999;
}

.legacyCol .colImg {
  height: 100%;
  width: 10rem;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.legacyCol img {
  height: auto;
  width: 100%;
  object-fit: contain;
  object-position: center;
  aspect-ratio: 1/1;
  /* padding: 2rem; */
  max-height: 200%;
}

/* .legacySlider:nth-child(0) .legacyCol img {
  padding-top: 60%;
}
.legacySlider:nth-child(1) .legacyCol img {
  padding-top: 80%;
}
.legacySlider:nth-child(2) .legacyCol img {
  padding-top: 60%;
} */

/* .legacyCol:nth-child(1) .colImg {
  height: 10rem;
}
.legacyCol:nth-child(2) .colImg {
  height: 10rem;
}
.legacyCol:nth-child(3) .colImg {
  height: 10rem;
}
.legacyCol:nth-child(4) .colImg {
  height: 12rem;
}
.legacyCol:nth-child(5) .colImg {
  height: 12rem;
}
.legacyCol:nth-child(6) .colImg {
  height: 12rem;
}
.legacyCol:nth-child(7) .colImg {
  height: 18rem;
}
.legacyCol:nth-child(8) .colImg {
  height: 18rem;
}
.legacyCol:nth-child(9) .colImg {
  height: 18rem;
} */
/* 
.legacyCol:nth-child(1) img {
  height: 75%;
}
.legacyCol:nth-child(2) img {
  height: 55%;
}
.legacyCol:nth-child(3) img {
  height: 80%;
}
.legacyCol:nth-child(4) img {
  height: 70%;
}
.legacyCol:nth-child(5) img {
  height: 65%;
}
.legacyCol:nth-child(6) img {
  height: 75%;
}
.legacyCol:nth-child(7) img {
  padding-top: 45%;
}
.legacyCol:nth-child(8) img {
  padding-top: 37%;
}
.legacyCol:nth-child(9) img {
  padding-top: 30%;
}
.legacyCol:nth-child(10) img {
  padding-top: 32%;
}
.legacyCol:nth-child(11) img {
  padding-top: 27%;
}
.legacyCol:nth-child(12) img {
  padding-top: 20%;
}
.legacyCol:nth-child(13) img {
  padding-top: 15%;
}
.legacyCol:nth-child(14) img {
  padding-top: 0%;
} */
.legacyCol:nth-child(2) img {
  height: 30%;
}
.legacyCol:nth-child(3) img {
  height: 25%;
}
.legacyCol:nth-child(4) img {
  height: 40%;
}
.legacyCol:nth-child(5) img {
  height: 50%;
}
.legacyCol:nth-child(6) img {
  height: 45%;
}
.legacyCol:nth-child(7) img {
  height: 60%;
}
.legacyCol:nth-child(8) img {
  height: 70%;
}
.legacyCol:nth-child(9) img {
  height: 85%;
}
.legacyCol:nth-child(10) img {
  height: 100%;
}
.legacyCol:nth-child(11) img {
  height: 110%;
}
.legacyCol:nth-child(12) img {
  height: 110%;
}
.legacyCol:nth-child(13) img {
  height: 115%;
}
.legacyCol:nth-child(14) img {
  height: 130%;
}
.legacyCol:nth-child(15) img {
  height: 150%;
  transform: scale(1.3);
}

@media screen and (max-width: 1340px) {
  /* .legacySlider {
    gap: 5%;
    row-gap: 5rem;
    padding: 0 10%;
  } */
}
@media screen and (max-width: 1124px) {
  .legacySlider {
    padding: 0;
  }
}
@media screen and (max-width: 997px) {
  /* .legacySlider {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 5rem;
    row-gap: 0;
    padding: 0;
  } */
  .legacySlider .legacyCol {
    width: 100%;
    display: flex;
    /* flex-direction: column; */
    gap: 1rem;
    /* margin-top: -20%; */
    padding: 0;
    border-radius: 1rem;
    align-items: center;
    text-align: left !important;
    position: relative;
    transition: all 0.3s ease;
  }
}
@media screen and (max-width: 667px) {
  .lineContainer {
    position: absolute;
    top: 0;
    left: 2rem;
    transform: translate(-50%, 0);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 0;
  }
  .legacySlider {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    padding-left: 4.55rem;
    row-gap: 3rem;
  }

  .legacySlider .legacyCol:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
  }
  .legacySlider .legacyCol:nth-child(even) h2 {
    text-align: left !important;
  }
  .legacySlider .legacyCol:nth-child(even) p {
    text-align: left !important;
  }
  .legacyCol .colImg {
    width: 5rem;
  }
  .legacyCol img {
    width: 100%;
    max-height: 200%;
  }

  .legacySlider .legacyCol {
    width: 100%;
    display: grid;
    padding: 0;
    border-radius: 1rem;
    align-items: center;
    text-align: left !important;
    position: relative;
    transition: all 0.3s ease;
    grid-template-columns: 5rem 1fr;
    column-gap: 5%;
    row-gap: 5rem;
  }

  .legacyCol:nth-child(15) img {
    height: 150%;
    transform: scale(1);
  }
  .legacySlider .legacyCol:nth-child(even)::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: -2.5rem;
    transform: translate(-50%, -50%);
    border-radius: 3px;
}
}

.cottonWrapper ul li {
  margin-bottom: 1rem;
}

.section_hero.swiper-slide h1 {
  font-size: var(--heading-size);
  line-height: 1.1;
  letter-spacing: -0.8px;
}
.section_hero.swiper-slide p {
  font-size: var(--subheading-size);
  line-height: 1.4;
}

.big-page_card img {
  object-fit: cover;
  object-position: center;
}

.bulletIcon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  object-position: center;
  margin-right: 0.7rem;
}

.hero-h1-wrapper {
  grid-row-gap: 1rem;
}

.hero-h1-wrapper.home {
  max-width: 85vw;
  padding: 0 2.5rem;
}
.heroBannerSwiper .hero_grid {
  position: absolute;
  top: 25%;
}

@media screen and (max-width: 1124px) {
  .hero-h1-wrapper.home {
    max-width: 90vw;
    padding: 0 2.5rem;
  }
}
@media screen and (max-width: 997px) {
  .heroBannerSwiper .hero_grid {
    top: 17%;
  }
  .hero-h1-wrapper.home {
    max-width: 100%;
    padding: 0 1rem;
  }
}
@media screen and (max-width: 667px) {
  .section_hero.swiper-slide h1 {
    font-size: calc(1vw + 2rem);
    line-height: 1.1;
    letter-spacing: -0.6px;
  }
  .section_hero.swiper-slide p {
    font-size: 1.2rem;
  }
}

.timelineWrapper {
  position: relative;
}
.timelinePath {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}
.legacyRow:nth-child(even) {
  flex-direction: row-reverse;
}
