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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* Header */
header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  height: 168px;
  padding: 0 50px;
  background: transparent !important;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  border-bottom: 1px solid #c8c8c8;
}

@media (max-width: 768px) {
  header {
    height: 100px;
    padding: 0 10px;
    top: 10px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo img {
  height: 70px;
  user-select: none;
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

/* Navigation */
nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: #fff !important;
  text-decoration: none;
  font-size: 1.6rem !important;
  font-weight: 700 !important;
  margin-left: 20px;
  transition: color 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: #e67e22;
  outline: none;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 0 10px 10px;
  }

  nav.show {
    display: flex;
  }

  nav a {
    margin-left: 0;
    padding: 10px 0;
    font-size: 1rem;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }
}

/* Social Icons */
.social-icons.top-icons {
  display: flex;
  gap: 15px;
}

.social-icons.top-icons a {
  color: #fff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons.top-icons a:hover,
.social-icons.top-icons a:focus {
  color: #e67e22;
  outline: none;
}

/* Slider Container */
.slider-container {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: visible;
  transition: transform 1s ease;
  margin-top: 0;
}

/* Each Slide */
.slide {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 1s ease-in-out;
  text-align: center;
  color: #fff;
  z-index: 1;
  overflow: hidden;
}

.slide h1, h2 ,h3{
  margin-top: 0px;
  font-size: 6rem;
  user-select: text;
  font-weight: 900;
}

@media (max-width: 768px) {
  .slide h1 {
    margin-top: 90px;
    font-size: 2.5rem;
  }
}

/* Button */
.btn {
  background: #2b2a25;
  color: #fff;
  padding: 15px 38px;
  border: 1px solid #f1a243;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 20px;
  user-select: none;
  text-transform: uppercase;
}

.btn:hover,
.btn:focus {
  background: #cf711f;
  outline: none;
}

/* Last Slide with Footer */
.slide.last-slide {
  top: calc(100vh * 5);
  background: #fdfdfd !important;
  padding: 100px 20px 80px;
  color: #333;
  width: 100%;
  position: relative;
  height: 155vh;
  overflow-y: hidden;
  transition: all 0.5s ease;
}

.slide.last-slide.scroll-enabled {
  overflow-y: scroll;
}

.slide.last-slide.scroll-enabled::-webkit-scrollbar {
  width: 6px;
}
.slide.last-slide.scroll-enabled::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

/* Footer */
footer {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 100vh;
  padding-bottom: 80px;
}

.footer-container {
  max-width: 85%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
  text-align: justify;
}

.footer-column h3 {
  color: #e67e22;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #282828;
  font-size: 19px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
  color: #e67e22;
  outline: none;
}

.footer-column p,
.footer-column form {
  margin-bottom: 10px;
  color: #282828;
  font-size: 19px;
}

#newsletter-form input[type="email"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-right: 8px;
}

#newsletter-form button {
  padding: 8px 12px;
  background: #e67e22;
  border: none;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#newsletter-form button:hover,
#newsletter-form button:focus {
  background: #cf711f;
  outline: none;
}

/* Footer Social Icons */
.social-icons a {
  font-size: 1.5rem;
  margin-right: 10px;
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover,
.social-icons a:focus {
  color: #e67e22;
  outline: none;
}

.social-icons img {
  width: 38px;
  height: 38px;
  transition: opacity 0.3s ease;
}

.social-icons a:hover img,
.social-icons a:focus img {
  opacity: 0.7;
  outline: none;
}

/* Dot Navigation */
.dots {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.dot {
  width: 12px;
  height: 12px;
  margin: 5px;
  background-color: #aaa;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

/* Utility Colors */
.defcolor {
  color: #e67e22;
}

.blackcolor {
  color: #000;
}

/* Top Bar */
.top-bar {
  background-color: transparent;
  position: fixed;
  top: 0;
  width: 90%;
  height: 57px;
  z-index: 1040;
}

.social-icons a {
  margin-left: 0px;
  display: inline-block;
  filter: brightness(100%);
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

/* Navbar Styles */
.transparent-navbar {
  background-color: transparent !important;
  top: 40px;
  position: fixed;
  width: 100%;
  z-index: 1030;
  transition: background-color 0.3s ease;
}

.transparent-navbar .nav-link {
  color: #000 !important;
  font-weight: 500;
}

.transparent-navbar .nav-link:hover {
  color: #ffc107 !important;
}

.transparent-navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.85) !important;
}

.transparent-navbar.scrolled .nav-link {
  color: #f8f9fa !important;
}

.navbar-brand img {
  max-height: 200px;
  height: 135px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .top-bar {
    display: none;
  }

  .navbar-brand img {
    max-height: 200px;
    height: 80px;
  }

  .transparent-navbar {
    top: 0;
  }

  .navbar-collapse {
    background-color: #111 !important;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
  }

  .navbar-collapse .nav-link {
    color: #fff !important;
    text-align: left;
  }

  .navbar-collapse .social-icons a {
    margin: 0 5px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
  }

  #newsletter-form input[type="email"],
  #newsletter-form button {
    width: 100%;
    margin-bottom: 8px;
  }

  .footer-column ul {
    margin: 0;
  }

  .slide.last-slide {
    padding: 399px 20px 80px;
    height: 94vh;
    overflow: scroll;
  }

  .w-25 {
    width: 34% !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  header {
    height: 120px;
    padding: 0 30px;
    top: 15px;
  }

  .navbar .d-lg-none {
    margin-left: 24.25rem !important;
  }

  .navbar .d-lg-none a img {
    width: 38px;
    height: 38px;
    margin: 0 2px;
  }

  .social-icons {
    text-align: center;
  }

  .footer-container {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 54px;
    margin: 0;
  }

  .footer-column {
    flex: 1 1 33.33%;
    margin-bottom: 0;
    display: block;
  }

  .footer-column.hide-on-mobile {
    display: none !important;
  }

  .logo img {
    height: 55px;
  }

  nav a {
    font-size: 1.2rem !important;
    margin-left: 15px;
  }

  .slide h1 {
    font-size: 4rem;
    margin-top: 120px;
  }

  .footer-column {
    flex: 1 1 25%;
    margin-bottom: 20px;
  }

  #newsletter-form input[type="email"] {
    width: 100%;
  }

  #newsletter-form button {
    width: 60% !important;
  }

  .navbar .d-lg-none img {
    width: 28px;
    height: 28px;
  }

  .navbar .d-lg-none {
    margin-right: 0.5rem;
  }

  .navbar-toggler {
    margin-left: 0.25rem;
  }
}

/* Custom Classes */
.defaultColor {
  color: #e8980e;
}

.fs100 {
  font-weight: 900;
}

#newsletter-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
}

#newsletter-form input[type="email"],
#newsletter-form button {
  margin: 5px 0;
  padding: 10px;
  font-size: 1rem;
}
