/* Responsive Header Styles */

/* Top Bar Responsive Styles */
.tf-topbar {
  background-color: var(--Primary);
  padding: 8px 0;
  position: relative;
  z-index: 1000;
}

.tf-topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tf-topbar .topbar-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  background-color: var(--Bg);
  padding: 8px 16px;
  border-radius: 15px;
  flex: 1;
  min-width: 250px;
}

.tf-topbar .topbar-left span {
  color: var(--White);
  font-size: 14px;
  font-family: "Nunito Sans", sans-serif;
}

.tf-topbar .topbar-left a {
  color: var(--Secondary);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tf-topbar .topbar-left a:hover {
  color: var(--White);
}

.tf-topbar .topbar-right {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.tf-topbar .contact-list {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tf-topbar .contact-list .item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tf-topbar .contact-list .item .icon {
  width: 28px;
  height: 28px;
  background-color: var(--Secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tf-topbar .contact-list .item .icon:hover {
  background-color: var(--White);
  transform: scale(1.1);
}

.tf-topbar .contact-list .item .icon i {
  color: var(--Primary);
  font-size: 12px;
}

.tf-topbar .contact-list .item a {
  color: var(--White);
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tf-topbar .contact-list .item a:hover {
  color: var(--Secondary);
}

.tf-topbar .social-list {
  display: flex;
  align-items: center;
  background-color: var(--Bg);
  border-radius: 15px;
  padding: 8px 20px;
  gap: 15px;
  margin: 0;
  padding: 8px 20px;
  list-style: none;
}

.tf-topbar .social-list a {
  color: var(--Third);
  font-size: 16px;
  transition: all 0.3s ease;
}

.tf-topbar .social-list a:hover {
  color: var(--Secondary);
  transform: scale(1.2);
}

/* Navbar Responsive Styles */
#navbar-container {
  background-image: url("/images/brown-bottom.png");
  background-position: bottom;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
  max-width: 150px;
  height: auto;
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-size: 15px;
  font-weight: 600;
  padding: 8px 15px;
  margin: 0 5px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  background-color: var(--Primary);
  color: var(--White) !important;
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--Secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 10px 0;
  margin-top: 10px;
}

.dropdown-item {
  padding: 8px 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--Primary);
  color: var(--White);
  padding-left: 30px;
}

.primary-btn {
  background: linear-gradient(135deg, var(--Primary) 0%, var(--Bg-11) 100%);
  border: none;
  color: var(--White);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s ease;
}

.primary-btn:hover::before {
  left: 100%;
}

.primary-btn:hover {
  background: linear-gradient(135deg, var(--Secondary) 0%, var(--Primary) 100%);
  color: var(--Primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(248, 195, 44, 0.3);
}

.btn-blink {
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.7; }
}

/* Offcanvas Responsive Styles */
.offcanvas-header {
  border-bottom: 1px solid var(--Border-4);
  padding: 20px;
}

.offcanvas-body {
  padding: 20px;
}

.offcanvas .navbar-nav {
  gap: 10px;
}

.offcanvas .nav-link {
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 5px;
}



/* Mobile Responsive Styles */
@media (max-width: 1200px) {
  .tf-topbar .topbar-right {
    gap: 20px;
  }
  
  .tf-topbar .contact-list {
    gap: 20px;
  }
  
  .tf-topbar .social-list {
    gap: 12px;
    padding: 6px 15px;
  }
}

@media (max-width: 992px) {
  .tf-topbar .topbar-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .tf-topbar .topbar-left {
    justify-content: center;
    min-width: auto;
    width: 100%;
  }
  
  .tf-topbar .topbar-right {
    justify-content: center;
    width: 100%;
    gap: 15px;
  }
  
  .tf-topbar .contact-list {
    gap: 15px;
  }
  
  .tf-topbar .contact-list .item a {
    font-size: 12px;
  }
  
  .navbar-brand img {
    max-width: 120px;
  }
}

@media (max-width: 768px) {
  .tf-topbar {
    padding: 6px 0;
  }
  
  .tf-topbar .topbar-left {
    padding: 6px 12px;
    border-radius: 12px;
  }
  
  .tf-topbar .topbar-left span {
    font-size: 12px;
    text-align: center;
  }
  
  .tf-topbar .topbar-right {
    flex-direction: column;
    gap: 10px;
  }
  
  .tf-topbar .contact-list {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .tf-topbar .contact-list .item {
    gap: 8px;
  }
  
  .tf-topbar .contact-list .item .icon {
    width: 24px;
    height: 24px;
  }
  
  .tf-topbar .contact-list .item .icon i {
    font-size: 10px;
  }
  
  .tf-topbar .contact-list .item a {
    font-size: 11px;
  }
  
  .tf-topbar .social-list {
    padding: 6px 15px;
    gap: 10px;
  }
  
  .tf-topbar .social-list a {
    font-size: 14px;
  }
  
  .navbar-brand img {
    max-width: 100px;
  }
  
  #navbar-container {
    padding: 8px 0;
  }
}

@media (max-width: 576px) {
  .tf-topbar .topbar-left span {
    font-size: 11px;
    line-height: 1.3;
  }
  
  .tf-topbar .contact-list {
    gap: 8px;
  }
  
  .tf-topbar .contact-list .item a {
    font-size: 10px;
  }
  
  .tf-topbar .social-list {
    gap: 8px;
    padding: 5px 12px;
  }
  
  .tf-topbar .social-list a {
    font-size: 12px;
  }
  
  .navbar-brand img {
    max-width: 80px;
  }
  
  .primary-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .offcanvas-body .primary-btn {
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* Hide elements on very small screens */
@media (max-width: 480px) {
  .tf-topbar .contact-list .item a {
    display: none;
  }
  
  .tf-topbar .contact-list .item .icon {
    width: 20px;
    height: 20px;
  }
  
  .tf-topbar .topbar-left span {
    font-size: 10px;
  }
}

/* Container responsive adjustments */
.tf-container.w-1780 {
  max-width: 100%;
  padding: 0 15px;
}

@media (min-width: 1200px) {
  .tf-container.w-1780 {
    max-width: 1400px;
  }
}

@media (min-width: 1400px) {
  .tf-container.w-1780 {
    max-width: 1600px;
  }
}

/* Smooth transitions for all header elements */
.tf-topbar *,
#navbar-container * {
  transition: all 0.3s ease;
}

/* Focus states for accessibility */
.tf-topbar a:focus,
.navbar-nav .nav-link:focus,
.primary-btn:focus {
  outline: 2px solid var(--Secondary);
  outline-offset: 2px;
}