/* Common stylesheet */

/* Font style starts here */
@font-face {
  font-family: 'SFProDisplay-Medium';
  src: url('../fonts/SFProDisplay-Medium.eot') format('embedded-opentype'),
      url('../fonts/SFProDisplay-Medium.woff2') format('woff2'),
      url('../fonts/SFProDisplay-Medium.woff') format('woff'),
      url('../fonts/SFProDisplay-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway-Bold';
  src: url('../fonts/Raleway-Bold.eot') format('embedded-opentype'),
      url('../fonts/Raleway-Bold.woff2') format('woff2'),
      url('../fonts/Raleway-Bold.woff') format('woff'),
      url('../fonts/Raleway-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway-SemiBold';
  src: url('../fonts/Raleway-SemiBold.eot') format('embedded-opentype'),
      url('../fonts/Raleway-SemiBold.woff2') format('woff2'),
      url('../fonts/Raleway-SemiBold.woff') format('woff'),
      url('../fonts/Raleway-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway-Medium';
  src: url('../fonts/Raleway-Medium.eot') format('embedded-opentype'),
      url('../fonts/Raleway-Medium.woff2') format('woff2'),
      url('../fonts/Raleway-Medium.woff') format('woff'),
      url('../fonts/Raleway-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Raleway-Regular';
  src: url('../fonts/Raleway-Regular.eot') format('embedded-opentype'),
      url('../fonts/Raleway-Regular.woff2') format('woff2'),
      url('../fonts/Raleway-Regular.woff') format('woff'),
      url('../fonts/Raleway-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* Font styles */
.style-font
{
font-family:'SFProDisplay-Medium';
}
.font-regular
{
font-family:'Raleway-Regular';
}
.font-medium
{
font-family:'Raleway-Medium';
}
.font-semibold
{
font-family:'Raleway-SemiBold';
}
.font-bold
{
font-family:'Raleway-Bold';
}

.font-14
{
font-size: 14px;
}
.font-15
{
font-size: 15px;
}
.font-16
{
font-size: 16px;
}
.font-18
{
font-size: 18px;
}
.font-20
{
font-size: 20px;
}
.font-24
{
font-size: 24px;
}
.font-28
{
font-size: 28px;
}
.font-32
{
font-size: 32px;
}
.font-36
{
font-size: 36px;
}
.font-40
{
font-size: 40px;
}
.font-54
{
font-size: 54px;
}

@media screen and (max-width: 1025px) {
  .font-54
{
font-size: 34px;
}
}


:root{
    --primary-color:#f35525;
    --secondary-color:#1830C0;
    --theme-color-1: #262626;
    --theme-color-2: #454545;
    --text-white: #ffffff;
    --theme-btn-hover: #823200;
    --button-hover:#ffbc92;
    --subtext:#33333c;
    --theme-background:var(--primary-color);
    /* --theme-background:var(--primary-color); */

    --placeholder-color:#747474;
    --color-red:#e33434;

    --card-bg1: #cfe3e9;
    --card-bg2: #ddd2fc;
    --card-bg3: #f9def6;

}

/* colors */
.primary-color
{
  color: var(--primary-color);
}
.secondary-color
{
  color: var(--secondary-color);
}
.text-white
{
  color: var(--text-white);
}
.header-color
{
  color: var(--theme-color-1);
}
.sub-text
{
  color: var(--subtext);
}
.theme-bg-color
{
  background-color: var(--theme-background);
}
.theme-bg-light
{
  background-color:#ffeee9 ;
}
.black-bg
{
  background-color: #000;
}
.secondary-bg
{
  background-color: var(--secondary-color);
}

.icon-color
{
  filter: brightness(0) saturate(100%) invert(98%) sepia(100%) saturate(0%) hue-rotate(184deg) brightness(106%) contrast(101%);
}
.icon-blue-color
{
  filter: brightness(0) saturate(100%) invert(11%) sepia(83%) saturate(3745%) hue-rotate(233deg) brightness(108%) contrast(109%);
}

/* button styles */

.theme-btn
{
   height: 40px;
   border: 1px solid var(--primary-color);
   background-color: var(--primary-color);
   font-family: 'Raleway-Medium';
   font-size: 17px;
   padding: 8px 24px;
   color: var(--text-white);
   &:hover
   {
   background-color: var( --theme-btn-hover);
   color: var(--text-white);
   }
   &:active
   {
   background-color: var( --theme-btn-hover) !important;
   color: var(--text-white) !important;
   }
}

.secondary-btn
{
   height: 40px;
   border: 1px solid var(--primary-color);
   background-color: #fff;
   font-family: 'SFProDisplay-Medium';
   font-size: 17px;
   padding: 8px 24px;
   color: var(--primary-color);
   &:hover
   {
   background-color: var(--primary-color);
   color: var(--text-white);
   }
}


/* form styles */
.cust-text-field
{
  border: 1px solid #454545;
  background-color: #ffffff;
  padding: 8px 12px;
  font-size: 14px;
  font-family:'SFProDisplay-Medium';
  border-radius: 6px;
  &:hover, &:focus
  {
    box-shadow: none;
    border: 1px solid #747474;
  }
  &::placeholder
  {
    color: var(--placeholder-color) ;
  }
}
.error-text
{
  color: var(--color-red);
}
.resize-none
{
  resize: none;
}


/* common styles */

.custom-shadow
{
  box-shadow: 0 0.25rem 0.3rem rgba(0, 0, 0, 0.075);
}

.cust-nav-link
{
  font-family: 'SFProDisplay-Medium';
  color: var(--theme-color-1);
  background-color: #fff;
  font-size: 17px;
  border-radius: 40px;
  height: 40px;
  /* margin-right: 28px; */
}
.cust-nav-link:hover
{
  /* background-color: var(--primary-color); */
  color: var(--primary-color);
}
.cust-nav-link.active
{
  /* background-color: var(--primary-color); */
  color: var(--primary-color) !important;
}
@media screen  and (max-width: 1279px)
{
  .cust-nav-link
{
  font-size: 14px;
}
}
.brand-logo
{
  width: 130px;
  height: 40px;
}
.banner-img-height
{
  height: 560px;
  object-fit: cover;
  background-position: top center;
}
.carousel-item.carousel-overlay::before {
  content: ""; /* Required to generate the pseudo-element */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
  z-index: 0; /* Keeps it behind the text */
}
.carrousel-text
{
  position: sticky;
  z-index: 2;
}
.carousel-caption.caption-container
{
  bottom: 8rem;
}
@media screen and (max-width:765.5px)
{
  .carousel-caption.caption-container
{
  bottom: 1.25rem;
}
}

.about-img
{
  height: -webkit-fill-available;
  object-fit: cover;
}

.course-card-img
{
 height: 200px;
 object-fit: cover;
 border-radius: 24px  24px 0px 0px;
}

.card-radius
{
  border-radius: 24px;
}


/* popup styles */
.pop-success-icon
{
  width: 64px;
  height: 64px;
}

/* Ensure the scroll container fills available space and hides overflow */

/* Animation card styles */

.scroll-container {
  width: 100%;
  overflow-x: clip;
  /* overflow: clip; Hide the overflow to allow only visible cards */
  position: relative;
}

.scroll-wrapper {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  animation: scroll-left 25s linear infinite; /* Animation for continuous scroll */
}


.Scrolling-Card {
  width: 300px; /* Width of each card */
  height: 100%; /* Height of each card */
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #c9c9c9;
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
  /* cursor: pointer; */
  &:hover{
    background-color: #e7e7e7;
  }
}

/* Animation for continuous scrolling */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%); /* Scroll the cards by 50% of the container width */
  }
}

.testimonal-pic
{
  width: 80px;
  height: 80px;
  border-radius: 40px;
  object-fit: cover;
  position: absolute;
  top: -50px;
  left: 38%;
  /* z-index: 1000; */
}


/* Style for the section */
.chess-app-section {
  position: relative;
  background-image: url('../images/scrollingBackgroundImage.png'); /* Replace with your background image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Keeps the background static during scroll */
  min-height: 40vh; /* Full height of the viewport */
  color: white;
  padding: 60px 20px; /* Padding for content */
}

/* Style for the content that scrolls */
.chess-app-content {
  position: relative;
  z-index: 1; /* Keeps the content above the background */
  /* max-width: 800px; */
  margin: 0 auto;
  /* padding: 20px; */
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for content */
  border-radius: 10px;
}

.icon-wid{
  width: 16px;
}
.icon-hig
{
  height: 16px;
}
.socialmed-icon
{
  width: 32px;
  height: 32px;
}

.tourn-img-left
{
  height: 380px;
  border-radius: 24px 200px 200px 24px ;
}
.tourn-img-right
{
  height: 380px;
  border-radius: 200px 24px 24px 200px ;
}
.tourn-card
{
  border-radius: 24px;
}

.achievement-img
{
  object-fit: cover;
  width: 100%;
  height: 100px;
  opacity: 0.8;
  border-radius: 200px;
}
.bg-layer
{
  background-color: rgba(0, 0, 0, 0.6);
  /* padding: 20px; */
  border-radius: 130px;
  /* width: 250px; */
  height: 100px;
}
.home-about-services-layer{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  text-align: center;
  color: #fff;
  z-index: 10;
  transition: ease-in-out 0.3s;
}

.cust-lineheight
{
  line-height: 1.5;
}

.cust-accord-sty
{
  box-shadow: 0 0.1rem 0.5rem rgba(0, 0, 0, 0.15);
  border-radius: 12px !important;
}
.accbtn-brd-rad
{
  border-radius: 12px !important;
}
.cust-acc-btn
{
  border-radius: 12px;
  background-color: #fff;
  &:hover{
    background-color: var(--button-hover);
  }
  &:focus{
    box-shadow: none !important;
  }
  
}
.accordion-button.cust-acc-btn:not(.collapsed)
{
    background-color: var(--button-hover);
    /* color: var(--text-white); */
    color: var(--theme-color-1);
}


.faq-img
{
  /* height: 100%; */
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.abt-img
{
  height: 100%; 
  /* width: 100%; */
  object-fit: cover;
  border-radius: 8px;
}

.radius-12
{
  border-radius: 12px;
}


/* about card animation styles */


.image-area
{
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute;
}

.img-wrapper
{
	width: 100%;
	height: 300px;
	position: relative;
	overflow: hidden;
}

.img-wrapper:before
{
	content: '';
	position: absolute;
	top: 0;
	left: 180%;
	height: 100%;
	width: 100%;
	background: rgba(255,255,255,.3);
	z-index: 1;
	transform: skew(45deg);
	transition: .5s;
}

.img-wrapper:hover:before
{
	left: -180%;
}

.img-wrapper img
{
	height: 300px;
	width: 100%;
	/* filter: grayscale(100%); */
	transition: 2s;
  object-fit: cover;
}
.img-wrapper:hover img
{
	filter: grayscale(0%);
	transform: scale(1.1);
}

.img-wrapper h2
{
	background: var(--primary-color);
	color: #fff;
	text-align: center;
	/* text-transform: uppercase; */
	margin: 0;
	padding: 10px 0;
	position: absolute;
	bottom: 0;
	width: 100%;
	transform: perspective(400px) rotateY(90deg);
	transform-origin: right;
	transition: 1s;
}

.img-wrapper:hover h2
{
	transform: perspective(400px) rotateY(0deg);
}

.img-wrapper ul
{
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: rgba(255,255,255,0);
}

.img-wrapper ul li
{
	background: var(--secondary-color);
	/* height: 40px; */
	width: max-content;
  padding:4px 16px;
  color: var(--text-white);
	text-align: left;
	line-height: 40px;
  border-radius: 5px;
	/* transform: perspective(800px) rotateY(90deg);
	transition: .5s;
	transform-origin: left; */
}

.img-wrapper:hover ul li
{
	transform: perspective(800px) rotateY(0deg);
}

.img-wrapper:hover ul li:nth-child(1)
{
	transition-delay: .2s;
}

.img-wrapper:hover ul li:nth-child(2)
{
	transition-delay: .6s;
}

.img-wrapper:hover ul li:nth-child(3)
{
	transition-delay: .8s;
}

.img-wrapper:hover ul li:nth-child(4)
{
	transition-delay: 1s;
}

.img-wrapper ul li a
{
	color: var(--primary-color);
	background: rgba(255,255,255,0);
}

.img-wrapper ul li i
{
	color: var(--primary-color);
	background: rgba(255,255,255,0);
}

.img-wrapper ul li i:hover
{
	color: #fff;
	background: rgba(255,255,255,0);
}


/* 
---------------------------------------------
Featured Style
--------------------------------------------- 
*/

.featured .left-image {
  position: relative;
}

.featured .left-image img {
  padding-left: 55px;
}

.featured .left-image a {
  display: inline-block;
  width: 110px;
  height: 110px;
  line-height: 110px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: -55px;
}

/* .featured .section-heading {
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 60px;
} */

.featured .section-heading h2 {
  width: 80%;
}

.featured .accordion {
  margin-left: 10px;
  margin-right: 10px;
  --bs-accordion-border-radius: 10px;
  --bs-accordion-inner-border-radius: 10px;
  --bs-accordion-bg: #fafafa;
  --bs-accordion-border-color: none;
  border: none !important;
}

.featured .accordion-header {
  border-bottom: 1px solid #eaeaea;
}

.featured .accordion-button {
  box-shadow: none;
  font-size: 17px;
  font-weight: 500;
  color: #1e1e1e;
}

.featured .accordion-button:not(.collapsed) {
  color: var(--secondary-color);
  background-color: #fafafa;
  outline: none;
}

.featured .accordion-button::after {
  display: none;
}

.featured #headingThree {
  border-bottom: none;
}

.featured .accordion-item:last-of-type .accordion-collapse {
  border-top: 1px solid #eaeaea;
}

.featured .info-table {
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  padding: 35px 30px;
}

.featured .info-table ul li {
  display: block;
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid #eee;
}

.featured .info-table ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.featured .info-table ul li img {
  float: left;
  margin-right: 25px;
}

.featured .info-table ul li h4 {
  font-size: 22px;
  font-weight: 600;
}

.featured .info-table ul li h4 span {
  font-size: 15px;
  color: #aaa;
  font-weight: 400;
}

/* 
---------------------------------------------
Video Style
--------------------------------------------- 
*/
.video-img
{
  height: 430px;
  object-fit: cover;
}

.video {
  background-image: url(../images/video-section-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /* background-color: var(--primary-color); */
  background-position: bottom center;
  padding: 80px 0px 250px 0px;
  position: relative;
}

.video-content {
  margin-top: -240px;
}

.video-content .video-frame {
  position: relative;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}

.video-content .video-frame img {
  border-radius: 10px;
}

.video-content .video-frame a {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-26px, -26px);
  width: 52px;
  height: 52px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 52px;
  color: var(--primary-color);
  outline: 15px solid rgba(254, 85, 37, 0.5);
  font-size: 18px;
}

/* 
---------------------------------------------
Fun Facts Style
--------------------------------------------- 
*/

.fun-facts {
  text-align: center;
  margin-top: 125px;
}

.fun-facts .counter {
  background-color: #ffeee9;
  position: relative;
  border-radius: 10px;
  width: 270px;
  padding: 20px 0px;
  display: inline-block;
}

.fun-facts .counter h2,
.fun-facts .counter p {
  display: inline-flex;
  vertical-align: middle;
}

.fun-facts .counter p {
  text-align: left;
  font-size: 16px;
  color: #1e1e1e;
  font-weight: 600;
  line-height: 28px;
}

.fun-facts .counter h2 {
  margin-right: 25px;
  font-size: 40px;
  color: var(--primary-color);
}

.fun-facts .counter:after {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  content: '';
  right: -25px;
  top: -25px;
}

/* 
---------------------------------------------
blogs Style
--------------------------------------------- 
*/


/* 
---------------------------------------------
Testimonials Style
--------------------------------------------- 
*/

/* .testimonials {
  position: relative;
  padding: 80px 0px;
  margin-top: 150px;
} */

.testimonials:before {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  width: 65%;
  height: 100%;
  content: '';
  border-top-left-radius: 500px;
  border-bottom-left-radius: 500px;
}

.testimonials .section-heading {
  margin-bottom: 0px;
  margin-left: 60px;
  vertical-align: middle;
}

.testimonials .section-heading p {
  margin-top: 50px;
}

.testimonials .item {
  background-color: var(--primary-color);
  border-radius: 25px;
  /* padding: 80px; */
}

.testimonials .item p {
  line-height: 40px;
  font-style: italic;
}

.testimonials .item img {
  border-radius: 50%;
  max-width: 100px;
  float: left;
  margin-right: 25px;
}


.testimonials .item h4 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-top: 8px;
}

.testimonials .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-5px);
  right: -25px;
  text-align: right;
}

.testimonials .owl-nav .owl-prev i,
.testimonials .owl-nav .owl-next i {
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size: 24px;
  display: inline-block;
  color: var(--primary-color);
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.10);
  opacity: 1;
  transition: all .3s;
}

.testimonials .owl-nav .owl-prev i {
  position: absolute;
  bottom: 65px;
}

.testimonials .owl-nav .owl-prev i:hover,
.testimonials .owl-nav .owl-next i:hover {
  opacity: 1;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}
@media (max-width: 992px) {
 
  .about-us::before,
  .testimonials::before,
  .contact-us::before {
    display: none;
  }
  .about-us .section-heading p,
  .testimonials .section-heading p,
  .contact-us .section-heading p {
    margin-top: 30px;
  }
 
  .testimonials {
    margin-top: -50px;
    padding: 0px;
  }
  .testimonials .section-heading {
    margin-left: 0px;
    /* margin-top: 40px; */
  }
  .testimonials .item {
    padding: 40px 40px 60px 40px;
  }
  .testimonials .item h4 {
    font-size: 17px;
  }
  .testimonials .item img {
    margin-right: 15px;
  }
  .testimonials .owl-nav {
    display: none;
  }
  
}



.blog-img-hig
{
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  object-fit: cover;
}
@media screen and (max-width: 768px) {
  .blog-img-hig
{
  height: 150px;
  width: 100%;
  border-radius: 16px;
}
.blog-img-side-hig
{
  width: 100% !important;
}
}
.blog-img-side-hig
{
  height: 145px;
  width: 150px;
  border-radius: 16px;
  object-fit: cover;
}
.blog-card-shadow
{
  border-radius: 16px;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
}

.blog-card-shadow:hover
{
 box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.blog-card-shadow:hover h2
{
  color: var(--primary-color) !important;
}
.cust-scroll-blog
{
  min-height: 100px;
  max-height: 800px;
  overflow: scroll;
  box-shadow: none;
}

/* For WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #f0f0f0, #d0d0d0);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a0a0a0, #707070);
  border-radius: 4px;
}

.error-img-wid
{
  width: 360px;
}

#backTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--theme-color-2);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  width: 50px;
  height: 50px;
  line-height: 18px;
}

#backTop:hover {
  background-color: var(--theme-color-2);
}

@media screen and (max-width: 768px)
{
  .error-img-wid
{
  width: 100%;
}
.custom-va-wid
{
  width: 100% !important;
}
}

.custom-va-wid
{
  width: max-content;
  white-space: nowrap;
}