/* Import Montserrat and Roboto Fonts from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif; /* Default font for body text */
}

/* Headings will use Montserrat for a bold and clean look */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

#hero-section{
  overflow-x: hidden;
}
.hero {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  flex-direction: column-reverse;
}

.hero-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-box {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-box.left .hero-bg {
  clip-path: polygon(0% 0%, 53% 0%, 100% 49%, 100% 100%, 0% 100%);
}

.hero-box.right .hero-bg {
  clip-path: polygon(46% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 49%);
}

.hero-icon {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: auto;
  z-index: 2;
}

.hero-text {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
  z-index: 5;
  position: relative;
  top: 9rem;
  
}

.left-ai,
.right-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

/* Center Content - Desktop Only */
.hero-center-desktop {
  position: absolute;
  top: 23%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fixed positioning for the SVG Arrow */
.fixed-arrow {
  position: absolute; /* Make the arrow fixed */
  top: 50%; /* Vertically center */
  left: 50%; /* Horizontally center */
  transform: translate(-50%, -50%); /* Center the SVG */
  z-index: 50; /* Ensure it appears above other elements */
  pointer-events: none; /* Prevent interaction with the arrow */
}

/* Ensure the arrow styling remains intact */
.fixed-arrow path {
  stroke: url(#paint0_linear_2109_326);
  stroke-width: 6;
}

/* Responsive positioning for large screens */
@media (min-width: 1024px) {
  .fixed-arrow {
    top: 40%;
    left: 50%;
  }
}

/* Responsive positioning for small screens */
@media (max-width: 1023px) {
  .fixed-arrow {
    top: 40%;
    left: 50.5%;
  }
}


.hero-logo-desktop {
  width: 120px;
}

.hero-heading-desktop {
  color: #002b45;
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
}

/* SVG Adjustments */
svg.desktop {
  margin-top: 10px;
  width: 100px;
}

/* Desktop Icons */
.desktop-icons {
  position: fixed;
  top: 37px;
  right: 9rem;
  display: flex;
  gap: 15px;
  z-index: 5;
}

.desktop-icons i {
  font-size: 22px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.desktop-icons i:hover {
  transform: scale(1.1);
  color: #87ceeb;
}

#search-console {
  position: absolute;
  top: 11px;
  right: 248px;
  width: 70%;
  backdrop-filter: blur(30px);
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 10px;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-clip: padding-box;
}

#search-console::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 10px;
  z-index: -1;
  animation: gradientBorder 8s linear infinite;
}

#search-console.show {
  visibility: visible;
  opacity: 1;
  position: fixed;
  z-index: 9999;
  width: 70%;
  left: 20rem;
}

#search-box {
  width: 100%;
  padding: 20px 12px;
  border: none;
  outline: none;
  border-radius: 8px;
  color: black;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#search-box::placeholder {
  color: black;
}

.search-filter-box {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 5px;
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
  display: none; /* Hidden by default */
  position: absolute; /* Changed to absolute */
  width: 100%; /* Match width of search box */
  left: 0; /* Align with left edge of search box */
  top: 100%; /* Position below the search box */
  z-index: 1001;
}

.search-filter-box .filter-item {
  padding: 8px 12px;
  cursor: pointer;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 16px;
  color: #333;
}

.search-filter-box .filter-item:hover {
  background-color: #f5f5f5;
}

.search-filter-box .no-results,
.search-filter-box .loading {
  padding: 8px 12px;
  color: #888;
  font-style: italic;
  font-family: "Montserrat", "Roboto", sans-serif;
  font-size: 14px;
}
/* Mobile Specific Hero Header */
.hero-header {
  display: none; /* Hidden by default */
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
  }

  .hero{
    display: none;
  }


  /* .desktop-icons {
    display: none;
  } */

  .hero-center-desktop{
    display: none;
  }

   .fixed-arrow{
display: none !important;
  }

  .hero-box {
    width: 100%;
    height: 50vh;
  }

  .hero-box.left .hero-bg,
  .hero-box.right .hero-bg {
    clip-path: none; /* Remove split effect on mobile */
  }

  .hero-icon {
    width: 200px;

  }



  .hero-text {
    font-size: 1.5rem;
    position: relative;
    top: 7rem;
  }

  .hero-header {
    display: flex;
    flex-direction: row-reverse;
    margin-top: 10rem;
    align-items: center;
    margin-bottom: 1rem;
  }

  #search-console {
    width: 60%;
  }
}
.navbar {
    width: 100%;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
    display: flex;
    justify-content: center;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    /* position: relative;
    right: 17rem; */

}
.navbar-logo img {
 
    height: 50px;
    position: fixed;
    left: 14.8rem;
    top: 2rem;
}
    /* display: none; Initially hidden */

.nav-menu {
    display: none; /* Initially hidden */
    gap: 20px;
    list-style: none;
    position: fixed;
    right: 16rem;
}
.nav-menu li a {
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s;
    font-family: 'Montserrat', sans-serif;
}
.nav-menu li a:hover {
    background-color: #f0f0f0;
}
.nav-icons {
    display: none; /* Initially hidden */
    align-items: center;
    gap: 15px;
    color: #000;
    cursor: pointer;
    position: fixed;
    right: 7.8rem;
}
.navbar-scrolled {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 3.5rem;
}


.mobile-nav-icons {
  display: none ;

}


/* ... existing code ... */

/* Sidebar Styles */
/* Sidebar initially hidden */
.sidebar {
  position: fixed;
  width: 80vw; /* 80% of the viewport width */
  max-width: 320px; /* Max width */
  right: 0;
  top: 0;
  height: 100%;
  background-color: white;
  padding: 20px;
  z-index: 1000;
  color: #333;
  transition: 0.3s ease-in-out;
  transform: translateX(100%);
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: start;
}

.sidebar-menu li {
  width: 100%;
}

.sidebar-menu li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

/* Ensure menu items show up */
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Spacing between items */
}

/* Show sidebar when active */
.sidebar.show {
  display: block;
  transform: translateX(0);
}

/* Sidebar close button */
.sidebar .btn-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Sidebar Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Show overlay when sidebar is active */
.sidebar-overlay.show {
  display: block;
}


/* ... existing code ... */

@media screen and (max-width: 1300px) {
  .navbar-logo img {
 
    height: 50px;
    position: fixed;
    left: 1rem;
    top: 2rem;
}
}


@media screen and (max-width: 1024px) {
  /* Hide Desktop Navbar Elements */
  .nav-menu, .nav-icons, .desktop-icons {
      display: none !important;
  }

.navbar-container {
  position: relative;
  left: 0rem;
  right: 0rem;
}

  /* Show Mobile Navigation Icons */
  .mobile-nav-icons {
      display: flex !important;
      align-items: center;
      gap: 15px;
  }

  .mobile-nav-icons i {
      color: #003b4d;
      font-size: 22px;
      cursor: pointer;
  }

  .navbar {
    background-color: white;
    padding: 2.4rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

  .navbar-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .navbar-logo {
      display: block !important;
  }

  .navbar-logo img {
      height: 40px;
      display: block;
  }

  /* Remove scroll-based navbar changes */
  .navbar-scrolled {
      background-color: white;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      padding: 2.4rem;
  }

  /* Search Console for Mobile */
  #search-console {
      position: fixed;
      top: 70px;
      left: 0;
      width: 100%;
      padding: 15px;
      background: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  #search-console.show {
    top: 70px;
    right: 0;
    left: 0;
    width: 100%;
}

  #search-box {
      width: 100%;
      padding: 12px;
      border: 1px solid #eee;
      border-radius: 8px;
      font-size: 16px;
  }
}