/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: white;
  background: black;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity .5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 100px;
  height: 100px;
  border: 8px solid rgba(255, 255, 255, .2);
  border-top: 8px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.5s;

  height: 70px;
  /* strip ki height */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 30px;

  /* Gradient + blur */
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.0)
    );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.blur-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

#top-left-img {
  position: relative;
  z-index: 1;
  width: 100px;
}

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #999;
}


/* cursor */
#cursor-glow {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  /* white outline */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: border-color 0.2s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Logo */
#top-left-img {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 80px;
  height: auto;
  z-index: 9999;
}

/* Logo */
.logo-container {
  position: absolute;
  z-index: 1;
  top: 17%;
  left: 50%;
  transform: translateX(-50%);
}

.logo-container img {
  max-width: 80vw;
  height: auto;
}

/* Hero Section */
.hero {
  position: relative;
  height: 98vh;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 1 !important;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  /* highlight active slide */
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.content {
  position: absolute;
  bottom: 12.5%;
  left: 2%;
  z-index: 2;
  max-width: 600px;
}

.content h1 {
  font-size: 3rem;
  font-weight: bold;
}

.content p {
  margin: 20px 0;
  font-size: 1.2rem;
  opacity: .9;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background: white;
  color: black;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: .3s;
}

.btn:hover {
  background: #ddd;
}

/* Vertical Lines Navigation */
.dots {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 10;
}

.dots div {
  width: 2px;
  height: 10px; /* small default */
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;

  /* smooth animation */
  transition: 
    height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.4s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center; /* grow from center */
}

.dots div.active {
  height: 40px;
  background: #fff;
  transform: scaleX(1.1); /* subtle widen effect */
}

.dots div.last-active {
  height: 20px; /* between default 20px and active 40px */
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(1.05);
}

/* Social Icons */
.social-icons {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 1;
  transform: scale(0.85);
}

.social-icons img {
  width: 28px;
  transition: .3s;
}

.social-icons img:hover {
  transform: scale(1.2);
  opacity: .8;
}

/* About */
body {
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO */
.about-hero {
  background-image: url(images/Hero3.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 98vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  gap: 40px;
  flex-wrap: wrap;
  z-index: 2;
  margin-top: 12rem;
}

.hero-left {
  max-width: 600px;
  padding-left: 20px;
  z-index: 2;
  color: #fff;
}

.hero-left h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-left h1 span {
  color: #fff;
  display: inline-block;
  border-bottom: 3px solid rgba(255, 0, 50, 0.3);
  padding-bottom: 4px;
}

.hero-left p {
  color: #ccc;
  margin-bottom: 20px;
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #ff4757;
  color: #fff;
}

/* Hero Art (image on right) */
.hero-art img {
  max-width: 500px;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 2;
}

/* Huge faint background word */
.hero-bg-text {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 10px;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
  user-select: none;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    padding-left: 0;
  }

  .hero-art img {
    max-width: 350px;
  }

  .hero-bg-text {
    font-size: 6rem;
  }
}

@media (max-width: 576px) {
  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .btn-primary {
    font-size: 0.9rem;
    padding: 10px 18px;
  }

  .hero-art img {
    max-width: 280px;
  }

  .hero-bg-text {
    font-size: 4rem;
  }
}


/* About content */
.about-section-main {
  background-image: url('images/3Dart.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position:center ;
  padding: 80px 0 60px;
  height: 100vh;
}

.about-section-main .container {
  display: flex;
  gap: 40px;
  align-items: center;
  padding-top: 20px;
  height: 60vh;
}

.about-left {
  flex: 1;
  color: #fff;
  max-width: 600px;
}

.about-left h2 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #fff;
}

.about-left p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* spotlight image */
.about-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-right .spotlight {
  width: 100%;
  max-width: 620px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.6));
  border-radius: 12px;
}

.about-right .spotlight img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


.about-section {
  padding: 80px 20px;
  /* Adds spacing instead of full height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* Push content to top instead of center */
  transform: scale(1.2);
  /* zoom in */
  transform-origin: top center;
  /* control where it scales from */
}

.about-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}

.about-desc {
  font-size: 1.1rem;
  max-width: 700px;
  color: #ccc;
  text-align: center;
  margin-bottom: 60px;
}

/* Offers */
.offers-section {
  padding: 60px 0 80px;
  background: #070707;
}

.offers-section .section-title {
  color: #fff;
  font-size: 26px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.offer-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 18px;
  min-height: 110px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.offer-card img {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1);
}

.offer-card h4 {
  color: #fff;
  margin: 0;
  font-size: 16px;
}

.offer-card p {
  color: #bdbdbd;
  font-size: 13px;
  margin: 0;
}

.black-strip {
  height: 150px;
  width: 100%;
  background: #000;
  /* black */
}

/* Testimonial Section */
.testimonial-section {
  background: #000;
  color: white;
  padding: 80px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  /* centers container */
}

/* Heading */
.testimonial-heading {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 50px;
  font-weight: 600;
  background: linear-gradient(90deg, #ffffff, #bbbbbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

/* Container */
.testimonial-container {
  position: relative;
  width: 90%;
  /* full width */
  margin: 0;
  overflow: hidden;
  padding-bottom: 120px;
}

/* Slider */
.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Gradient Fade on Sides */
.testimonial-container::before,
.testimonial-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  /* fade size (reduced from 500px to avoid huge space) */
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.testimonial-container::before {
  left: 0;
  background: linear-gradient(to right, #000 0%, transparent 100%);
}

.testimonial-container::after {
  right: 0;
  background: linear-gradient(to left, #000 0%, transparent 100%);
}

/* Testimonial Card */
.testimonial {
  flex: 0 0 40%;
  box-sizing: border-box;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border-radius: 18px;
  margin: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1.7px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.testimonial:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
}

/* Text */
.testimonial p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Author */
.author {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  margin-right: 12px;
}

/* Arrows */
.arrows {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;
  z-index: 10;
}

.arrow {
  background: rgba(255, 255, 255, 0.02);
  /* glass effect */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 22px;
  cursor: pointer;

  /* Glow effect */
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.08),
    0 4px 20px rgba(0, 0, 0, 0.4);

  transition: all 0.3s ease;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  /* brighter on hover */
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.black-strip {
  height: 150px;
  width: 100%;
  background: #000;
  /* black */
}

/* Contact */
.contact-section {
  background: url("images/Contact2.png") center center no-repeat;
  background-size: contain;
  background-color: #000;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  color: #fff;
  margin-top: 3rem;
}

.contact-container {
  max-width: 1200px;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 4rem;
}

.contact-left {
  flex: 1;
  min-width: 320px;
  padding-top: 6rem;
}

.contact-left h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-left p {
  margin-bottom: 25px;
  font-size: 16px;
  color: #ddd;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(20, 20, 20, 0.9);
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.contact-method:hover {
  transform: translateX(5px);
  background: rgba(40, 40, 40, 0.95);
}

.contact-method i {
  font-size: 20px;
  margin-top: 4px;
  color: #ffcc00;
}

.contact-method strong {
  font-size: 16px;
}

.contact-method p {
  margin: 0;
  font-size: 14px;
  color: #aaa;
}

.contact-right {
  flex: 1;
  min-width: 320px;
}

.contact-form-container {
  background: rgba(10, 10, 10, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 35px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form input,
form textarea {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border 0.3s;
}

form input:focus,
form textarea:focus {
  border: 1px solid #ffcc00;
}

form textarea {
  height: 200px;
  resize: none;
}

form button {
  width: 30%;
  background: #f8f8f7;
  color: #000;
  padding: 14px 28px;
  border: none;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #fdf8e5;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }
}

/* .portfolio pag */

.portfolio-categories {
      text-align: center;
      padding: 80px 20px;
      background: url("images/Hero3.png") no-repeat center center/cover;
      color: #fff;
      height: 100vh;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .portfolio-categories:hover {
      transform: translateY(-12px) scale(1.05);
    }

    .category-container {
      height: 80vh;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      flex-wrap: wrap;
    }

    .category-card {
      position: relative;
      width: 280px;
      height: 400px;
      background-size: cover;
      background-position: center;
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    }

    .category-card:hover {
      transform: translateY(-12px) scale(1.05);
      box-shadow: 0 15px 40px rgba(175, 175, 175, 0.6);
    }

    /* Overlay starts hidden at bottom */
    .category-card .overlay {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -100%;
      /* completely hidden */
      padding: 25px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      /* will move text to middle */
      align-items: center;
      background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
      color: #fff;
      text-align: center;
      transition: bottom 0.5s ease;
    }

    /* On hover → text slides to middle */
    .category-card:hover .overlay {
      bottom: 0;
      /* moves overlay upward */
    }

     .category-card:hover .portfolio-categories {
      transform: translateY(-12px) scale(1.05);
    }

    .category-card h3 {
      margin: 0;
      font-size: 1.6rem;
      font-weight: 700;
      color: #fff;
      transform: translateY(30px);
      opacity: 0;
      transition: all 0.5s ease 0.1s;
    }

    .category-card p {
      margin: 5px 0 0;
      font-size: 0.9rem;
      color: #ddd;
      transform: translateY(30px);
      opacity: 0;
      transition: all 0.5s ease 0.2s;
    }

    /* Animate text upwards */
    .category-card:hover h3,
    .category-card:hover p {
      transform: translateY(0);
      opacity: 1;
    }


    /* Responsive */
    @media (max-width: 992px) {
      .category-container {
        gap: 20px;
      }

      .category-card {
        width: 240px;
        height: 340px;
      }
    }

    @media (max-width: 600px) {
      .category-container {
        flex-direction: column;
        align-items: center;
      }

      .category-card {
        width: 90%;
        max-width: 350px;
        height: 300px;
      }
    }


    /* game page  start*/
    * {margin: 0; padding: 0; box-sizing: border-box;}
    body {font-family: Arial, sans-serif;}

    /* Slider Container */
    .game-slider-container {
      position: relative;
      height: 100vh;
      overflow: hidden;
    }

    .game-slides-wrapper {
      display: flex;
      transition: transform 0.7s ease-in-out;
      height: 100%;
    }

    .game-slide {
      min-width: 100%;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 40px;
      background-size: cover;
      background-position: center;
      color: white;
    }

    .game-text {width: 40%;}
    .game-text h1 {font-size: 3rem; margin-bottom: 1rem;}
    .game-text p {font-size: 1.2rem; line-height: 1.5;}
    .game-image {width: 45%;}
    .game-image img {width: 100%; border-radius: 10px;}

    /* Controls */
    .game-controls {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
    }
    .game-button {
      pointer-events: auto;
      background: rgba(0,0,0,0.5);
      border: none;
      color: white;
      font-size: 2rem;
      cursor: pointer;
      padding: 10px 20px;
      border-radius: 50%;
      transition: 0.3s;
    }
    .game-button:hover {background: rgba(0,0,0,0.8);}

        
/* Footer base */
.footer {
  position: relative;
  color: white;
  text-align: center;

  font-family: 'Arial', sans-serif;
  overflow: hidden;
  background: transparent;
  /* make footer background fully see-through */
  padding: 170px 30px 40px;
  /* top, sides, bottom */
}

/* Background image */
.footer-bg {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 1920px;
  /* set desired width */
  height: 400px;
  /* set desired height */
  transform: translate(-50%, -50%);
  /* center it */
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)),
    url("images/Footer.png") no-repeat center center;
  background-size: contain;
  /* don’t stretch */
  z-index: 0;
  pointer-events: none;
}

/* Top: line + logo */
.footer-top {
  position: relative;
  margin-bottom: 20px;
  z-index: 1;
}

.footer-top hr {
  border: none;
  border-top: 2px solid #b4b4b4;
  margin: 0;
}

.footer-logo {
  position: absolute;
  top: -30px;
  left: 50%;
  /* center horizontally */
  transform: translateX(-50%) scale(0.65);
  /* combine translate and scale */
  background: transparent;
  padding: 0 10px;
}

.footer-logo img {
  height: 30px;
}

/* Main layout */
.footer-main {
  display: flex;
  color: #b4b4b4;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
  flex-wrap: wrap;
  gap: 20px;
}

/* Left */
.footer-left a {
  position: relative;
  /* add this */
  z-index: 2;
  /* higher than footer-bg */
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-left a:hover {
  color: #bbb;
  position: relative;
  /* needed for z-index to work */
  z-index: 1;
}

/* Center */
.footer-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  z-index: 1;
}

.footer-center a {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-center a:hover {
  color: #bbb;
}

/* Right */
.footer-right {
  text-align: right;
  z-index: 1;
}

.footer-right p {
  margin: 0 0 8px 0;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 1;
  color: white;
}

.footer-icons {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
}

.footer-icons img {
  width: 22px;
  transition: 0.3s;
}

.footer-icons img:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Bottom text */
.footer-bottom {
  margin-top: -17px;
  font-size: 0.8rem;
  opacity: 0.7;
  z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .footer-left a,
  .footer-right p,
  .footer-bottom {
    font-size: 0.9rem;
  }
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
  html {
    font-size: 55%;
  }
}

@media (max-width: 991px) {
  .header {
    padding: 2rem 3%;
  }

  section {
    padding: 10rem 3% 2rem;
  }

  .services {
    padding-bottom: 7rem;
  }

  .portfolio {
    padding-bottom: 7rem;
  }

  .contact {
    min-height: auto;
  }

  .footer {
    padding: 2rem 3%;
  }
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }


  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 3%;
    background: var(--bg-color);
    border-top: .1rem solid rgba(0, 0, 0, .2);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    display: none;
  }

  .navbar.active {
    display: block;
  }

  .navbar a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  .home {
    flex-direction: column;
  }

  .home-content h3 {
    font-size: 2.6rem;
  }

  .home-content h1 {
    font-size: 5rem;
  }

  .home-img img {
    width: 70vw;
    margin-top: 4rem;
  }

  .about {
    flex-direction: column-reverse;
  }

  .about img {
    width: 70vw;
    margin-top: 4rem;
  }

  .services h2 {
    margin-bottom: 3rem;
  }

  .portfolio h2 {
    margin-bottom: 3rem;
  }

  .portfolio-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 617px) {
  .portfolio-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .contact form .input-box input {
    width: 100%;

  }
}

@media (max-width: 365px) {
  .home-img img {
    width: 90vw;
  }

  .about-img img {
    width: 90vw;
  }

  .footer {
    flex-direction: column-reverse;
  }

  .footer p {
    text-align: center;
    margin-top: 2rem;
  }
}