@font-face {
  font-family: "normal";
  src: url("../font/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "bold";
  src: url("../font/Jost-VariableFont_wght.ttf") format("truetype");
  font-weight: bold;
  font-style: bold;
}

* {
  margin: 0px !important;
  box-sizing: border-box;
  font-family: "normal";
}
h3 {
  color: rgb(253, 98, 98);
}
h4 {
  color: #889ce7;
  font-size: 1.4rem;
}
.p-fs {
  color: #fff;
  font-size: 18px;
}
#p1,
#p2 {
  margin-bottom: 20px !important;
  text-align: center;
  padding: 0px 400px !important;
}

#title {
  font-size: 2rem !important;
}
main {
  background-color: #171717;
}
.mt {
  margin-top: 20px !important;
}

#section1 {
  min-height: 95vh;
}

#section3 {
  margin-top: 40px !important;
}
.img-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Space between divs */
}
.image-box {
  flex: 1; /* Makes both divs take equal space */
  /* min-width: 700px;  */
  background-position: center; /* Centers the background image */
  background-repeat: no-repeat; /* Prevents repeating */

  min-height: 500px;
  height: 500px;
}

.bracket-container {
  display: flex;
  justify-content: space-between;
}
.rect-one {
  border-top: 15px solid rgb(253, 98, 98);
  border-right: none;
  width: 300px;
  border-bottom: 15px solid rgb(253, 98, 98);
  border-left: 15px solid rgb(253, 98, 98);
}
.rect-two {
  border-top: 15px solid rgb(253, 98, 98);
  border-right: 15px solid rgb(253, 98, 98);
  width: 300px;
  border-bottom: 15px solid rgb(253, 98, 98);
  border-left: none;
}
.center {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.center h1 {
  color: rgb(253, 98, 98) !important;
}
.img-bx-left-mr {
  margin: 0px 5px 40px 20px !important;
}
.img-bx-right-mr {
  margin: 0px 20px 40px 5px !important;
}
.dropdown-menu .dropdown-item:hover {
  color: rgb(253, 98, 98) !important;
  background-color: rgb(20, 20, 22);
}
.no-caret::after {
  display: none !important; /* Hides the default caret */
}
.dropdown-menu {
  background-color: rgb(20, 20, 22);
  margin-top: 10px !important;
  border-radius: 0; /* Remove rounded corners */
  width: auto !important;
  min-width: 100px !important;
  font-size: 14px;
  text-align: left;
}
.dropdown-menu li a {
  color: #ffff !important;
}

.content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%;
  padding: 20px;
}
/* Grid container */
.grid-container-sec {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  justify-content: center;
  text-align: center;
  background-color: #000d69;
}

/* Banner */
.banner-sec img {
  width: 100%; /* Make the banner image responsive */
  max-height: 300px; /* Limit banner height */
  object-fit: cover; /* Ensure the image covers the area */
}
a {
  color: #fff !important;
}
/* Title */
.title-sec {
  font-size: 1.5rem; /* Adjust title font size */
  margin: 0; /* Remove default margin */
  padding: 2px;
}

/* Description */
.description-sec {
  margin: 0; /* Remove default margin */
  max-width: 600px; /* Limit description width for better readability */
  padding: 20px;
}
/* Left Section Styling */
.left-content {
  flex: 1;
  color: #e4e5ec;
  text-align: left;
  margin: 100px 0px;
}

.left-content h1 {
  font-size: 60px;
  text-transform: uppercase;
  margin: 60px 0px !important;
}

.games-secton {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  border-bottom: 0.1px solid #889ce7;
  text-align: center;
}
.games-sub-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 45px 0px 70px 0px !important;
}
.text-clr {
  color: #ffff !important;
}
.games-sub-section div h2 {
  color: rgb(253, 98, 98);
}
.des {
  padding: 12px 40px !important;
}

.btn-boxes {
  display: flex;
  text-align: center;
  flex-flow: row wrap;
  gap: 8px;
}
.rect-box {
  width: 200px;
  padding: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #fff;
  color: #171717;
  cursor: pointer;
}
.rect-box:hover:not(.active) {
  background-color: rgb(253, 98, 98);
  color: #fff;
}

/* Active state (selected box) */
.rect-box.active {
  background-color: rgb(253, 98, 98) !important;
  color: #fff !important;
  border-color: rgb(253, 98, 98);
}
.mr-20 {
  margin-right: 20px;
}
.ml-20 {
  margin-left: 20px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(250px, 1fr)
  ); /* Responsive columns */
  gap: 20px; /* Space between cards */
  padding: 20px; /* Optional: Add padding to the container */
}

.card {
  background-color: #363636; /* Card background color */
  border-radius: 8px; /* Rounded corners */
  padding: 20px; /* Padding inside the card */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
  text-align: center; /* Center-align content */
}
.card-icon img {
  width: 100px; /* Set icon size */
  height: 100px;
  padding-bottom: 15px; /* Space below icon */
}

.card h4 {
  font-size: 1.25rem; /* Heading size */
  padding: 8px 0px; /* Space below heading */
  text-align: left !important;
}
.card p {
  height: 310px !important;
  min-height: 310px !important;
  text-align: left;
  position: relative; /* Allows positioning of ::after inside */
}

.card p::after {
  content: "";
  box-sizing: border-box;
  display: block;
  border-radius: 3px;
  width: 100%;
  height: 5px; /* Adjust thickness */
  background-color: rgb(253, 98, 98); /* Line color */

  position: absolute;
  bottom: 30px; /* Position at the bottom of the paragraph */
  left: 0;
}
.description {
  line-height: 1.4;
  padding: 0px 1100px 0px 0px;
  margin-bottom: 40px !important;
}
.y-choose-me {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 270px;
  padding: 20px;
}
.y-choose-me div h2 {
  padding: 32px 0px 15px 0px;
}
.y-choose-me div p {
  padding: 30px 460px;
}
.expertise-flex > div {
  padding: 15px 0px;
}
.footer {
  display: flex;
  flex-direction: column;
  color: #fff;
  align-items: center;
  padding: 0px 0px 30px 0px;
}
.footer div {
  text-align: center;
}
.conatct-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  padding: 30px 20px 60px 20px;
}
.expertise-flex {
  display: flex;
  flex-flow: column wrap;
  align-items: center;
  margin: 20px !important;
}
.contact-card {
  padding: 20px;
  text-align: center;
  flex: 1 1 250px;
}
.contact-card > div {
  padding: 6px 0px;
}
.conatct-flex > div {
  border: 1px solid #fff;
  color: #fff;
}
.cnt-title {
  color: rgb(253, 98, 98);
  font-weight: bold;
}

.icon-box {
  width: 100px; /*Adjust as needed */
  height: 50px; /* Adjust as needed */
  margin: 0 auto !important;
}

.icon-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensures the image scales properly inside */
}
.soc-icon-div {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.soc-box {
  width: 30px;
  height: 30px;
}

/* Responsive Layout */
/* Large screen */
@media (max-width: 1804px) {
  .description {
    padding: 0px 999px 0px 0px;
  }
  .p-fs {
    font-size: 16px;
  }
}
@media (max-width: 1700px) {
  .description {
    padding: 0px 900px 0px 0px;
  }
  #section2 {
    margin: 30px 0px !important;
  }
}
@media (max-width: 1600px) {
  .description {
    padding: 0px 800px 0px 0px;
  }
}
@media (max-width: 1450px) {
  .description {
    padding: 0px 700px 0px 0px;
  }
  .left-content h1 {
    font-size: 40px;
  }
  .y-choose-me div p {
    padding: 20px;
  }
}
@media (max-width: 1380px) {
  .description {
    padding: 0px 600px 0px 0px;
  }
}

@media (max-width: 1304px) {
  .card p {
    min-height: 340px;
  }
  .welcome-content {
    height: 80vh !important;
    background-position: top !important;
  }
  #p1,
  #p2 {
    margin-bottom: 20px !important;
    text-align: center;
    padding: 0px 200px !important;
  }
}
@media (max-width: 1299px) {
  .description {
    padding: 0px 500px 0px 0px;
  }
}
@media (max-width: 1235px) {
  .description {
    padding: 0px 400px 0px 0px;
  }
  #p1,
  #p2 {
    margin-bottom: 20px !important;
    text-align: center;
    padding: 0px 100px !important;
  }
  .img-container {
    flex-direction: column; /* Stacks divs vertically */
    align-items: center; /* Centers the divs */
  }

  .image-box {
    width: 100%; /* Full width for smaller screens */
    max-width: 100%; /* Optional: limit max width to avoid too wide */
    min-height: 250px; /* Adjust height for smaller screens */
  }
  .img-bx-left-mr {
    margin: 0px 0px 8px 0px !important;
  }
  .img-bx-right-mr {
    margin: 0px !important;
  }
}
@media (max-width: 1146px) {
  .card p {
    min-height: 400px;
  }
}
@media (max-width: 1086px) {
  .card p {
    min-height: 450px;
  }
  .description {
    padding: 0px 380px 0px 0px;
  }
  .card h4 {
    text-align: center !important;
  }
}
@media (max-width: 1036px) {
  .card p {
    min-height: 450px;
  }
  .description {
    padding: 0px 320px 0px 0px;
  }
}

@media (max-width: 1024px) {
  .card p {
    min-height: 240px;
  }
  .card h4 {
    min-height: 30px;
    text-align: center;
  }

  #section3 {
    margin-top: 0px !important;
  }
  #p1,
  #p2 {
    margin-bottom: 2px !important;
    text-align: center;
    padding: 0px !important;
  }
  .expertise-flex > div {
    padding: 0px;
  }
  #title {
    font-size: 1rem !important;
    text-align: center;
    padding: 20px 0px;
  }
}
/* Tablets */
@media (max-width: 987px) {
  .description {
    padding: 0px 290px 0px 0px;
  }
}
@media (max-width: 900px) {
  .description {
    padding: 0px 100px 0px 0px;
  }
  .btn-boxes {
    flex-direction: column;
  }
  .dnone {
    display: none !important;
  }
}
@media (min-width: 900px) {
  .show {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .y-choose-me {
    height: 320px;
  }
  .y-choose-me div h2 {
    font-size: 18px;
  }

  .content-container {
    flex-direction: column; /* Stack sections vertically */
    align-items: center; /* Center content */
    text-align: center; /* Center text */
  }

  .description {
    padding: 0px 10px 0px 0px;
  }

  .welcome-content {
    height: 70vh !important;
    background-position: top !important;
  }
}
/* Mobile Phones */
@media (max-width: 480px) {
  .p-fs {
    font-size: 14px;
  }

  .card p {
    min-height: 40px;
  }

  .center h3 {
    text-align: center;
  }
  .welcome-content {
    height: 86vh !important;
    background-position: top !important;
  }
}
@media (max-width: 311px) {
  .card h4 {
    min-height: 80px;
  }
  .description {
    padding: 0px;
  }
  .mr-20 {
    margin-right: 0px !important;
  }
  .ml-20 {
    margin-left: 0px !important;
  }
  .y-choose-me {
    height: 500px;
  }
  .welcome-content {
    height: 99vh !important;
    background-position: bottom !important;
  }
}
