/*==========================
TOPBAR
===========================*/

.topbar {
  background: #ffffff;
  display: none;
  padding: 0.7vw 0;

  border-bottom: 0.06vw solid #ececec;
}

.topbar-wrapper {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.topbar-left {
  display: flex;

  gap: 2vw;
}

.topbar-left a {
  color: #555;

  font-size: 0.9rem;

  transition: 0.3s;
}

.topbar-left a:hover {
  color: var(--primary);
}

.topbar-right p {
  font-size: 0.9rem;

  color: #555;
}

/*==========================
HEADER
===========================*/

.header {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 999;
}

/*==========================
NAVBAR
===========================*/
.navbar {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  z-index: 999;

  background: #ffffff;

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: grid;

  grid-template-columns: auto 1fr auto;

  align-items: center;

  gap: 2vw;
}

.logo img {
  width: 10vw;

  min-width: 10rem;

  display: block;

  padding: 1vw 0;
}

.nav-social {
  display: flex;

  justify-content: center;

  gap: 1vw;

  padding: 1vw 0;
}

.nav-social a {
  width: 2.2vw;

  height: 2.2vw;

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  color: #555;

  font-size: 1.1rem;

  transition: 0.35s;
}

.nav-social a:hover {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
}

.nav-menu li {
  list-style: none;
}

.nav-menu a {
  color: #555;
  font-size: 1.01rem;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
  /* text-transform: uppercase; */
}

.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4vw;
  width: 0;
  height: 0.12vw;
  background: var(--accent);
  transition: 0.35s;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu > li > a:hover::after {
  width: 100%;
}

/* Dropdown Menu Desktop Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-chevron {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  padding: 15px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  border-top: 3px solid var(--primary);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  /* transform: translateX(-50%) translateY(0); */
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  color: var(--gray-700) !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: none !important;
  position: relative;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a .drop-icon {
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.dropdown-menu a:hover {
  color: var(--primary) !important;
  background-color: var(--gray-50);
  padding-left: 28px; /* subtle slide-right hover animation */
}

.dropdown-menu a:hover .drop-icon {
  transform: translateX(3px);
}

/* Mobile Toggle & Overlay Base Styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.mobile-socials {
  display: none !important;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6); /* custom dark-bg with alpha */
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/*=========================================================
  PAGE BREADCRUMB HERO
=========================================================*/

.page-breadcrumb {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background image */
.breadcrumb-bg {
  position: absolute;
  inset: 0;
  background: url("../Images/hero/about-1.webp") center center / cover no-repeat;
  z-index: 0;
}

.breadcrumb-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(237, 89, 0, 0.92) 0%,
    rgba(237, 89, 0, 0.85) 40%,
    rgba(20, 20, 20, 0.70) 55%,
    rgba(10, 10, 10, 0.55) 100%
  );
  clip-path: polygon(0 0, 55% 0, 42% 100%, 0 100%);
}

.page-breadcrumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 10, 10, 0.60);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 42% 100%);
}

/* Content wrapper */
.breadcrumb-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 70px; 
}

/* Title */
.breadcrumb-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--rs-ff-title);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1;
}

/* Red vertical bar accent */
.breadcrumb-bar {
  /* display: inline-block; */
  display: none;
  width: 5px;
  height: 1.1em;
  background: #ed5900;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Breadcrumb nav row */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--rs-ff-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding-left: 0.1rem;
}

.breadcrumb-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.25s ease;
}

.breadcrumb-link:hover {
  color: black;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
}

.breadcrumb-current {
  color: #ffffff;
  font-weight: 600;
}




/*=================================
FOOTER
==================================*/

.footer {
  background-color: #1a1a1a;
  color: #a0a0a0;
  padding-top: 5vw;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.2fr 1fr;
  gap: 3vw;
  padding-bottom: 4vw;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
}

.footer-contact-item p {
  margin-bottom: 0 !important;
}

.footer-icon {
  width: 20px;
  margin-right: 5px;
  margin-top: 4px;
  flex-shrink: 0;
  /* filter: brightness(0) invert(1); */
}

.footer-logo {
  width: 170px;
  height: 65px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1rem;
  display: block;
}

.footer-col p {
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.address-text {
  color: #a0a0a0;
}

.footer-links-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  color: #a0a0a0;
  transition: 0.3s;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.footer-link-chevron {
  width: 14px;
  height: 14px;
  display: inline-block;
  transition: 0.3s ease;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-links li a:hover {
  color: var(--primary);
}

.footer-links li a:hover .footer-link-chevron {
  transform: translateX(4px);
}

.mt-4 {
  margin-top: 2rem;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  background-color: #333;
  color: #a0a0a0;
  border-radius: 4px;
  transition: 0.3s;
}

.footer-socials a:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.5vw 0;
  position: relative;
}

.footer-bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.95rem;
  margin: 0;
}

.footer-bottom span {
  color: var(--primary);
}

.back-to-top {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: 0.3s;
}
.back-to-top:hover {
  background-color: #ffffff;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-links-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Mobile Navbar Styles */
@media (max-width: 991px) {
  .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }

  .nav-social {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Morph to 'X' when active */
  .nav-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .nav-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* Slide-in Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* width: 320px; */
    width: 100%;
    height: auto;
    background-color: var(--white);
    box-shadow: -5px 0 30px rgba(15, 23, 42, 0.15);
    z-index: 1005;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 40px 30px;
    gap: 20px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    list-style: none;
  }

  .nav-menu a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--gray-800);
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.3s ease;
  }

  .nav-menu a:hover {
    color: var(--primary);
  }

  .nav-menu a::after {
    display: none;
  }

  /* Mobile Dropdown Accordion Styles */
  .dropdown {
    width: 100%;
  }

  .dropdown-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    border-top: none;
    border-left: 2px solid var(--primary);
    padding: 5px 0 5px 15px;
    margin-top: 5px;
    min-width: 100%;
    opacity: 1;
    visibility: visible;
    display: none; /* controlled by JS toggle */
    background-color: var(--gray-50);
    transition: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown.open .nav-chevron {
    transform: rotate(180deg);
  }

  .dropdown-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700) !important;
    padding: 8px 10px;
    border-bottom: none !important;
  }

  .dropdown-menu a:hover {
    background-color: transparent;
    padding-left: 15px;
  }

  /* Mobile Social Links inside Drawer */
  .nav-menu .mobile-socials {
    display: flex !important;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
    width: 100%;
  }

  .nav-menu .mobile-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gray-700);
    font-size: 1.1rem;
    border-bottom: none;
    padding: 0;
    transition: all 0.3s ease;
  }

  .nav-menu .mobile-socials a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
  }
}

/* ==========================================
   INDEX PAGE RESPONSIVENESS PATCH
   ========================================== */

/* Global Responsive Section Padding */
@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }
}
@media (max-width: 576px) {
  section {
    padding: 40px 0;
  }
}