@charset "ISO-8859-1";

/* Base */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f7f7f7;
}

/* Page Wrapper */
.page-wrapper {
  transition: margin-left 0.3s ease;
}

/* Header Wrapper to preserve space above sticky */
.header-wrapper {
  padding-top: 10px;
}

/* Sticky Header */
.container1 {
  width: calc(100% - 40px);
  height: 96px;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#menuToggle {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

#menuToggle:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 10px;
  left: -260px;
  width: 250px;
  height: calc(100vh - 20px);
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  padding: 20px;
  transition: left 0.3s ease;
  z-index: 999;
  border-radius: 8px;
}

.sidebar.active {
  left: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  padding: 10px;
  border-radius: 5px;
  display: block;
}

.sidebar ul li a:hover {
  background-color: #575757;
  color: white;
}

/* Hero */
.hero {
  background-image: url('Iceback.png');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 60px;
  display: flex;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px;
}

.hero .overlay {
  width: calc(100% - 40px);
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.4);
  padding: 60px 20px;
  z-index: 1;
  position: relative;
}

.hero .container {
  z-index: 2;
  margin-top: 200px;
  max-width: 1000px;
  padding: 0 15px;
}

.hero .display-4 {
  font-size: 3rem;
  font-weight: bold;
  animation: fadeIn 2s ease-in-out;
}

.hero .lead {
  font-size: 1.5rem;
  animation: fadeIn 2s ease-in-out 0.5s;
}

.hero .btn {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 1.2rem;
  background-color: #ff7b00;
  border: none;
  animation: fadeIn 2s ease-in-out 1s;
  text-transform: uppercase;
}

/* Features */
#features {
  padding: 50px 0;
}

.feature-box {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding: 20px;
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-box img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

/* Footer */
footer {
  margin-top: 40px;
}

/* Fade Animation */
@keyframes fadeIn {
   0% {
     opacity: 0;
     transform: translateY(20px);
   }
   100% {
     opacity: 1;
     transform: translateY(0);
   }
}

@media (max-width: 576px) {
  .sidebar {
    width: 180px;
    position: fixed;
    top: 10px;
    left: -200px;
    height: calc(100% - 20px);
    z-index: 2000;
    transition: left 0.3s ease;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
  }

  .sidebar.active {
    left: 10px;
  }

  .page-wrapper {
    transition: margin-left 0.3s ease;
    margin-left: 0;
  }

  .sidebar.active ~ .page-wrapper {
    margin-left: 180px;
  }

  /* Optional: shrink button/logo on mobile */
  .container1 {
    width: calc(100% - 20px);
    transition: margin-left 0.3s ease;
    border-radius: 15px;
  }

  .feature-box img {
    width: 90px;
    height: 90px;
  }

  .hero .display-4 {
    font-size: 1.6rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero .btn {
    font-size: 0.9rem;
  }
