@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

:root {
  --primary-color: #3B1E54;
  --secondary-color: #9B7EBD;
  --tertiary-color: #D4BEE4;
  --light-color: #EEEEEE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: Arial, sans-serif;
  background: #020024;
  scroll-behavior: smooth;
}

header {
  position: sticky;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #020024;
  padding: 20px;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
}

.menu-icon {
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--light-color);
}

.navbar {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background-color: var(--secondary-color);
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9;
}

.navbar.open {
  right: 0;
}

.close-icon {
  font-size: 2rem;
  color: var(--light-color);
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 50px 0;
  width: 100%;
  text-align: center;
}

.navbar ul li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.navbar ul li i {
  margin-right: 0.8em;
  color: var(--primary-color);
  font-size: 1.4rem;
}

.navbar ul li a {
  text-decoration: none;
  color: var(--light-color);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.navbar ul li a:hover {
  color: var(--tertiary-color);
}

.intro-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100vh;
  text-align: left;
  color: #ffffff;
  padding-left: 10%;
  background-image: url('../assets/background.png');
  background-size: cover;
  background-position: center;
}

.intro-text {
  position: relative;
}

.intro-text span {
  color: #ffffff;
  display: block;
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.intro-text h2 {
  color: #ffffff;
  font-size: 60px;
  font-weight: 700;
  line-height: 70px;
  text-transform: uppercase;
  margin-bottom: 38px;
}

.intro-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.intro-input-container {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
}

.intro-input {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  background-color: #ffffff;
  color: #333333;
  width: 250px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.intro-input:focus {
  outline: none;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.subscribe-btn {
  padding: 12px 25px;
  background-color: #00d9ff;
  color: #000000;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {

  color: #ffffff;
  background-color: #3B1E54;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.subscribe-btn:focus {
  outline: none;
  transform: translateY(-5px);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  display: flex;
  gap: 40px;
  text-align: left;
  color: #ffffff;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 100px 10%;  
}

.services-info {
  width: 35%;
  margin-top: auto;
  margin-bottom: auto;
  margin-top: 1%; 
}

.section-title {
  font-size: 18px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.section-heading {
  font-size: 3rem;
  color: #ffffff;
  margin-top: 8px;
  margin-bottom: 20px;
}

.section-line {
  width: 70px;
  height: 5px;
  background: #00d9ff;
  margin-bottom: 40px;
}

.section-description {
  color: #ccc;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.view-all-btn {
  color: #00d9ff;
  padding: 15px 25px;
  background-color: transparent;
  border: 2px solid #00d9ff;
  border-radius: 14px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s, box-shadow 0.3s ease-in-out;
}

.view-all-btn:hover {
  color: #000;
  background-color: #00d9ff;
  box-shadow: 0 3px 0 0 #00d9ff, 0 -3px 0 0 #00d9ff;
}

.view-all-btn:focus {
  outline: none;
}

/* Services Grid */
.services-grid {
  width: 60%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: auto;
  margin-bottom: auto;
}

.service-icon-box {
  width: 70px;
  height: 70px;
  border: 2px solid #00d9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.service-icon-box:hover {
  transform: rotate(20deg);
}

.service-icon {
  font-size: 2.5rem;
  color: #ffffff;
}

.service-title {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-top: 26px;
  margin-bottom: 18px;
}

.service-description {
  font-size: 16px;
  font-family: "Josefin Sans", sans-serif; 
  color: #adadad;
  font-weight: 400;
  line-height: 26px;
  margin: 0 0 15px 0;
}

section.portfolio-section {
  padding-bottom: 15vh;
  padding-top: 10vh;
}

.portfolio-heading {
  font-size: 36px;
  /* Adjust the size as needed */
  font-weight: 700;
  /* Bold font */
  text-transform: uppercase;
  /* Make the text uppercase */
  text-align: center;
  /* Center the text horizontally */
  color: #ffffff;
  /* Use your primary color */
  margin-bottom: 30px;
  /* Space below the heading */
  letter-spacing: 2px;
  /* Add some spacing between letters */
}

.portfolio-heading::after {
  content: '';
  display: block;
  width: 80px;
  /* Width of the underline */
  height: 4px;
  /* Thickness of the underline */
  background-color: #ffffff;
  /* Match the primary color */
  margin: 10px auto 0;
  /* Center the underline and add space */
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 30px 20px 20px 20px;
}

.row {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
}

.img {
  height: 50%;
  margin: 10px;
  box-shadow: 10px 14px 20px 0px #00d9ff;
}

.img-1 {
  background: url('../assets/1.gif') no-repeat center center;
  background-size: cover;
  width: 100%;
}

.img-2 {
  background: url('../assets/2.gif') no-repeat center center;
  background-size: cover;
  width: 100%;
}

.img-3 {
  background: url('../assets/3.gif') no-repeat center center;
  background-size: cover;
  width: 100%;
}

.img-4 {
  background: url('../assets/4.gif') no-repeat center center;
  background-size: cover;
  width: 100%;
}

.row {
  height: 600px;
}

.img {
  height: 50%;
}

.img-1,
.img-4 {
  width: 24%;
}

.img-2,
.img-3 {
  width: 70%;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 15vh 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.stats-card {
  text-align: center;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.stats-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stats-card i {
  font-size: 60px;
  color: #00d9ff;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.stats-card:hover i {
  transform: rotate(15deg);
}

.stats-number {
  font-size: 60px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 18px;
}

.stats-card p {
      font-size: 16px;
    font-family: "Josefin Sans", sans-serif;
    text-transform: uppercase;
    color: #adadad;
    font-weight: 400;
    line-height: 26px;
    margin: 0 0 15px 0;
}

.slide-container {
  margin: auto;
  width: 100%;
  text-align: center;
}

.wrapper {
  padding-top: 40px;
  padding-bottom: 40px;
}

.slick-slider {
  display: flex;
  justify-content: space-between;
}

.slick-slide {
  width: 33%;
  margin: 0 10px;
}

.slick-prev {
  left: 10px;
}

.slick-next {
  right: 10px;
}

.wrapper:focus {
  outline: 0;
}

.clash-card {
  background: white;
  width: 300px;
  display: inline-block;
  margin: 0 5vh;
  border-radius: 19px;
  position: relative;
  text-align: center;
  box-shadow: -1px 15px 30px -12px black;
  z-index: 9999;
}

.clash-card__image {
  position: relative;
  height: 230px;
  margin-bottom: 35px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.clash-card__image--barbarian {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/barbarian-bg.jpg");
}

.clash-card__image--barbarian img {
  width: 400px;
  position: absolute;
  top: -65px;
  left: -70px;
}

.clash-card__image--archer {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/archer-bg.jpg");
}

.clash-card__image--archer img {
  width: 400px;
  position: absolute;
  top: -34px;
  left: -37px;
}

.clash-card__image--giant {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/giant-bg.jpg");
}

.clash-card__image--giant img {
  width: 340px;
  position: absolute;
  top: -30px;
  left: -25px;
}

.clash-card__image--goblin {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/goblin-bg.jpg");
}

.clash-card__image--goblin img {
  width: 370px;
  position: absolute;
  top: -21px;
  left: -37px;
}

.clash-card__image--wizard {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/195612/wizard-bg.jpg");
}

.clash-card__image--wizard img {
  width: 345px;
  position: absolute;
  top: -28px;
  left: -10px;
}



.clash-card__unit-name {
  font-size: 26px;
  color: black;
  font-weight: 900;
  margin-bottom: 5px;
}

.clash-card__unit-description {
  padding: 20px;
  margin-bottom: 10px;
}


.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.slick-prev {
  left: 100px;
  z-index: 999;
}

.slick-next {
  right: 100px;
  z-index: 999;
}

.slick-prev:before,
.slick-next:before {
  content: '';
}

.input-container {
  text-align: center;
  margin-top: 50px;
}

.input-box {
  padding: 10px;
  font-size: 16px;
  width: 300px;
  margin-bottom: 10px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#newCardContainer {
  text-align: center;
  margin-top: 30px;
}

.card {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.wrapper-review {
  width: 850px;
  height: 450px;
  background-color: #fff;
  margin: 10% auto;
  border-radius: 5px;
  display: flex;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
  width: 60%;
  padding: 30px 20px;
}

.form-header {
  text-align: center;
  margin-bottom: 20px;
}

.form-header i {
  font-size: 30px;
  background-color: rgb(41, 68, 85);
  color: #fff;
  padding: 15px;
  border-radius: 50%;
}

.form-header p {
  font-size: 25px;
  font-weight: 900;
  margin-top: 10px;
  color: var(--primary-color);
}

.input-field {
  width: 90%;
  margin: 20px auto;
  display: block;
}

.input-field input,
.input-field textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 16px;
}

.input-field textarea {
  resize: none;
  height: 100px;
}

.submit-button {
  text-align: center;
  margin-top: 20px;
}

.submit-button button {
  background: linear-gradient(135deg, #020024, #3B1E54, #9B7EBD);
  color: #fff;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.submit-button button:hover {
  background: linear-gradient(135deg, #9B7EBD, #3B1E54, #020024);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.info-section {
  width: 40%;
  background: linear-gradient(135deg, #020024, #3B1E54, #9B7EBD);
  border-top-left-radius: 225px;
  border-bottom-left-radius: 225px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  height: 100%;
  /* Ensure section takes full height of the container */
  overflow: visible;
  /* Allow the image to overflow outside the container */
}

.info-section .gaint-icon {
  width: 60vh;
  /* Set a larger width */
  height: 60vh;
  /* Set a larger height to maintain the aspect ratio */
  position: absolute;
  bottom: -30%;
  /* Push the image half out of the form */
}
.footer {
  position: relative;
  width: 100%;
  background: var(--primary-color);
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

footer p {
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  /* White for general text */
  margin: 20px 0;
  padding: 10px 0;
}

footer p .highlighted-name {
  color: #000000;
  /* Blue color for your name */
  font-weight: bold;
  text-decoration: none;
}

footer p .highlighted-name:hover {
  text-decoration: underline;
  /* Optional hover effect */
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("../assets/wave.png");
  background-size: 1000px 100px;
  z-index: 10;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }

  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }

  100% {
    background-positon-x: 0px;
  }
}
@media (max-width: 768px) {
  .row {
    display: grid;
    grid-template-areas:
      "item2"
      "item3";
    grid-template-columns: 1fr;
    gap: 5px; /* Reduced gap between items */
  }

  /* Ensure all images are responsive */
  .img-1,
  .img-2,
  .img-3,
  .img-4 {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
  }

  /* Hide images 1 and 4 in mobile view */
  .img-1, 
  .img-4 {
    display: none;
  }

  /* Visible images 2 and 3 */
  .img-2,
  .img-3 {
    display: block; /* Ensure visibility */
    margin-bottom: 5px; /* Reduces space between 2 and 3 */
  }

  /* Adjust specific heights for better layout */
  .img-2,
  .img-3 {
    height: 200px; /* Adjust size for horizontal items */
  }

}
/* intro section */
@media (max-width: 768px) {
  .intro-section {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    height: auto;
    text-align: center; /* Center text */
    background-image: none; /* Remove background image */
    padding-top: 20vh /* Push content down by 30px */
  }

  .intro-text {
    text-align: center; /* Center text in the intro section */
    padding: 0 15px; /* Add some padding for better spacing */
    margin-bottom: 30px; /* Add 30px margin below content */
  }

  .intro-text span {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .intro-text h2 {
    font-size: 40px;
    line-height: 50px;
    margin-bottom: 20px;
  }

  .intro-text p {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .intro-input-container {
    flex-direction: column; /* Stack input and button vertically */
    align-items: center;
    gap: 15px;
  }

  .intro-input {
    width: 100%; /* Make input take up full width on smaller screens */
    max-width: 300px; /* Limit max width */
    padding: 10px 15px;
  }

  .subscribe-btn {
    padding: 10px 20px;
    font-size: 16px;
    width: 100%; /* Make button take up full width */
    max-width: 300px; /* Limit max width */
  }
}

/* Media Query for extra small screens (Mobile Portrait) */
@media (max-width: 480px) {
  .intro-text h2 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 15px;
  }

  .intro-text p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .intro-input {
    width: 100%;
    max-width: 280px; /* Smaller input on very small screens */
    padding: 8px 12px;
  }

  .subscribe-btn {
    padding: 8px 18px;
    font-size: 14px;
    width: 100%;
    max-width: 280px; /* Smaller button on very small screens */
  }
}

@media (max-width: 768px) {
  .stats-section {
    flex-direction: column;
    align-items: center;
  }

  .stats-card {
    margin-bottom: 20px;
    width: 90%;
  }
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
  .services {
    flex-direction: column;
    padding: 80px 5%;  /* Adjusted padding for smaller screens */
  }

  .services-info {
    width: 100%;
    margin-bottom: 30px;
    text-align: left;  /* Align content to the left */
  }

  .section-title,
  .section-heading,
  .section-line,
  .section-description,
  .view-all-btn {
    text-align: left;  /* Ensure all text is aligned to the left */
  }

  .services-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;  /* Change to 2 columns */
    gap: 20px;  /* Adjust gap between items */
  }

  .service {
    text-align: left;  /* Align service items text to the left */
  }

  .view-all-btn {
    width: auto; /* Button width stays auto to adjust based on text content */
    padding: 18px 25px;  /* Adjust padding for button */
    margin-left: 0;  /* No margin, aligns left */
  }
}


/* stats section */
@media screen and (max-width: 1024px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens (tablet, small screens) */
  }
}

@media screen and (max-width: 768px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile screens */
    padding: 10vh 0;
  }
}


/* clash card */
@media (max-width: 768px) {
  .clash-card {
    width: 50%;
    height: auto;  /* Adjust width for mobile, so it takes the full width */
    margin: 0 10px;  /* Add some spacing between cards */
  }

  .slick-prev, .slick-next {
    display: none;  /* Hide the arrows on smaller screens */
  }
}

/* wrapper review */
@media only screen and (max-width: 768px) {
  /* The wrapper-review should stack for smaller screens */
  .wrapper-review {
    width: 90%;
    height: auto;
    flex-direction: column;
    box-shadow: none;
    margin: 20% auto;
  }

  /* Form section now takes full width and no left-right padding */
  .form-section {
    width: 100%;
    padding: 20px 10px;
  }

  /* Adjust text-align and input fields for smaller screens */
  .input-field input,
  .input-field textarea {
    font-size: 14px;
  }

  .submit-button button {
    font-size: 16px;
    padding: 8px 16px;
  }

  /* Make the form header icon smaller and adjust text */
  .form-header i {
    font-size: 24px;
    padding: 12px;
  }

  .form-header p {
    font-size: 20px;
  }

  .info-section {
    display: none; 
  }

  .card {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
  }

  .mobile-image {
    display: block; 
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}

/* For larger devices (e.g., tablets and desktops) */
@media only screen and (min-width: 769px) {
  .info-section {
    display: flex; 
  }

  .mobile-image {
    display: none; 
  }
}
