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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #000;
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 0 60px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 22px;
  color: #800020;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
  transition: transform 0.3s ease;
}

.nav-menu a {
  font-size: 18px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
}

.nav-menu a:hover::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #F16529;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.quote-button {
  background-color: #000;
  color: #fff;
  padding: 12px 20px; /* Slightly increased horizontal padding for balance */
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px; /* Softer corners */
  display: inline-flex; /* Better for <a> alignment */
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none; /* Ensure no underline */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Subtle shadow */
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Smooth transitions */
}

.quote-button:hover {
  background-color: #800020; /* Use brand color for hover */
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.quote-button:focus {
  outline: 2px solid #F16529; /* Accessible focus state */
  outline-offset: 2px;
}

.quote-button .arrow {
  font-size: 16px; /* Slightly smaller for balance */
  transition: transform 0.3s ease; /* Animate arrow */
}

.quote-button:hover .arrow {
  transform: translateX(4px); /* Arrow moves right on hover */
}

.hamburger {
  width: 24px;
  height: 18px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  height: 2px;
  width: 100%;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 60px;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 50%, transparent), url('heroro.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  min-height: 600px;
}

.hero-left {
  max-width: 50%;
}

.subheading {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 16px;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background-color: #800020;;
  color: #fff;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #d95421;
}

.hero-right img {
  height: 400px;
  object-fit: contain;
  margin-right: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-left, .hero-right {
    max-width: 100%;
  }

  .hero-right img {
    margin-top: 40px;
    height: auto;
    width: 100%;
    margin-right: 0;
  }

  .hero-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    right: 0;
    width: 250px;
    height: calc(100vh - 80px);
    background-color: #fff;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.05);
    z-index: 998;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 8px 15px;
    text-align: left;
    font-size: 16px;
  }

  .nav-menu a:hover::after {
    width: 30%;
    left: 10px;
  }

  .hamburger {
    display: flex;
  }

  .quote-button {
    margin-right: 10px;
  }
}