/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hamburger-icon{
    font-size: 22px;
    color: #fff;
    display: none;
}

/* Navbar */
.navbar {
    background-color: #333;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .navbar h1 {
    color: #fff;
    font-size: 1.8rem;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
  .nav-links.active {
    display: flex;
    width: 100%;
  }
  
  .nav-links li {
    list-style: none;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  
  .nav-links li a:hover {
    color: #ffa500;
  }
/* Hero Container */
.Herocontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 70%;
    overflow: hidden;
    max-width: 1200px;
    margin: auto;
}

/* Slide Items */
.item {
    display: none; /* Hide all items initially */
    flex-direction: column;
    width: 90%;
    /* height: 400px; */
    padding: 20px;
    transition: opacity 0.5s ease;
}

.item.active {
    display: flex; /* Show only the active item */
    opacity: 1;
}

.image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* Content Area */
.content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.left h1 {
    font-size: 2em;
    font-weight: bold;
    color: #333;
}

.des {
    font-size: 1.2em;
    color: #555;
    line-height: 1.4;
}

.right h2 {
    font-size: 1.5em;
    color: #444;
    margin-bottom: 10px;
}

.right ul {
    list-style: none;
    padding-left: 0;
}

.right ul li {
    margin-bottom: 15px;
}

.right ul li p:first-of-type {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.right ul li p:last-of-type {
    color: #555;
    line-height: 1.4;
}

/* Navigation Buttons */
.directional {
    display: flex;
    position: absolute;
    bottom: 20px;
    gap: 15px;
}

button {
    background-color: #444;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #666;
}

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .Herocontainer{
        width: 100%;
    }
    .navbar{
           display: block;
    }
    .left h1 {
        font-size: 1.5em;
    }

    .right h2 {
        font-size: 1.2em;
    }
   
        .hamburger-icon {
            display: block; /* Show hamburger icon */
            position: absolute;
            right: 50px;
            top: 14px;
           
          }
        
          .nav-links {
            display: none; /* Hide nav-links by default */
            flex-direction: column;
            position: absolute;
            top: 59px;
            right: 0;
            background-color: #333;
            padding: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            /* border-radius: 8px; */
            z-index: 1;
          }
          .back-to-top {
            font-size: 16px; /* Smaller font size for smaller screens */
            padding: 8px 12px; /* Reduced padding */
            bottom: 10px; /* Adjust position */
            right: 10px; /* Adjust position */
        }
}

@media (max-width: 480px) {
    .Herocontainer {
        padding: 10px;
    }

    .left h1,
    .right h2 {
        font-size: 1em;
    }

    .des,
    .right ul li p {
        font-size: 0.9em;
    }

    .directional {
        bottom: 10px;
    }

    button {
        padding: 8px 10px;
        font-size: 1em;
    }
    .navbar {
        padding: 1rem;
        flex-direction: column;
      }
      .navbar ul {
        flex-direction: column;
        align-items: center;
      }
      .navbar h1 {
        font-size: 1.5rem;
      }.back-to-top {
        font-size: 14px; /* Smaller font size for mobile screens */
        padding: 6px 10px; /* Reduced padding */
        bottom: 5px; /* Adjust position */
        right: 5px; /* Adjust position */
    }
}
/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px;
}
/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    background-color: #ff4800e0; /* Background color */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    padding: 10px 15px; /* Padding */
    font-size: 18px; /* Font size */
    cursor: pointer; /* Cursor style */
    display: none; /* Initially hidden */
    z-index: 1000; /* On top of other elements */
    transition: background-color 0.3s ease; /* Smooth transition */
}

/* Responsive Font Size and Positioning */
@media (max-width: 1024px) {
    .back-to-top {
        bottom: 15px; /* Adjust position */
        right: 15px; /* Adjust position */
    }
}


.back-to-top:hover {
    background-color: #0788f1ee; /* Darker background on hover */
    transform: scale(1.09);
}
