@import 'https://assets.codepen.io/3351103/__reset.css';
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;500;700&display=swap');

:root {
  --primary-color: #1b1464;
  --secondary-color: #ff7600;
  --ascent-color: #00bfb0;
  --primary-font: 'Poppins', sans-serif;
  --primary-font-color: #fff;
  
  --header-background-color: #1a1a1be6;
  --hover-color: #ffa94d;
}

body {
  font-family: var(--primary-font);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #f5f5f5;
}

a {
  text-decoration: none;
  color: var(--primary-font-color);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* added line */
  border: 0;
}

.wrapper {
  width: 100%;
  /*max-width: 1600px;*/
  margin: auto;
}

/* --- primary header --- */

.primary-header {
  background-color: var(--header-background-color);
  background-image: linear-gradient(180deg, #191715, #6b655d);
  padding: 1px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .home-link {
    display: flex;
    align-items: center;
    width: 80px;

    img {
      width: 100%;
      height: auto;
    }
  }

  .nav-wrapper {
    display: flex;
    align-items: center;
  }

  .primary-navigation {
    display: flex;
    align-items: center;

    .nav-list {
      display: flex;
      gap: 2rem;
      list-style: none;
      padding: 0;
      margin: 0;

      li {
        position: relative;
        transition: transform 0.3s;

        &:hover {
          transform: scale(1.05);
        }

        &.active a::after {
          width: 100%;
          animation: pulse 2s infinite;
        }
      }

      a {
        font-size: 1rem;
        font-weight: 500;
        position: relative;
        padding: 0.5rem 0;
        transition: all 0.3s ease;

        &::after {
          content: '';
          position: absolute;
          left: 0;
          bottom: -4px;
          width: 0;
          height: 2px;
          /*background-color: var(--hover-color);*/
          transition: width 0.3s ease;
        }

        &:hover {
          color: var(--hover-color);
          transform: translateY(-2px);
        }

        &:hover::after {
          width: 100%;
        }
      }
    }
  }

/* --- primary header END --- */

/* --- Burger Toggle --- */

.primary-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  position: relative;
  margin-left: 1rem;

  .line,
  .line:before,
  .line:after {
    content: '';
    background-color: #ff6f00;
    width: 30px;
    height: 3px;
    position: absolute;
    border-radius: 2px;
  }

  .line:before {
    transform: translateY(-8px);
  }

  .line:after {
    transform: translateY(8px);
  }
}

#primary-toggle:checked + .primary-toggle .line {
  background: transparent;
}

#primary-toggle:checked + .primary-toggle .line:before {
  transform: rotate(45deg);
}

#primary-toggle:checked + .primary-toggle .line:after {
  transform: rotate(-45deg);
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}
}
/* --- Burger Toggle END --- */


/* --- Mobile Menu --- */

@media (max-width: 992px) {
  .primary-header .primary-toggle {
    display: flex;
  }

  .primary-header .primary-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--header-background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease;

    .nav-list {
      flex-direction: column;
      gap: 0;
      padding: 1rem 0;

      li {
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }

      li:last-child {
        margin-bottom: 1rem;
        border-bottom: none;
      }

      a {
        font-size: 1.1rem;
      }
    }
  }

  #primary-toggle:checked ~ .primary-navigation {
    max-height: 500px;
  }
}




/* Slider Section */

  
  .slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    /*border-radius: 10px;*/
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-width: 100%;
  }
  
  .slide {
    min-width: 100%;
    max-width: 100%;
  }
  
  .slide img {
    width: 100%;
    max-width: 100%;
    display: block;
    object-fit: cover;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .slider {
      border-radius: 5px;
    }
  
    .content {
      padding: 10px;
    }
    
    
    .footer-bottom {
    padding: 15px 3px;

}
  }