/* #region Hero Section */ 

.mdPublicTendersHero {
  display: flex;
  flex-direction: column;
  min-height: 35vh;
  width: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.mdPublicTendersHero::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(7, 39, 180, 0.8), rgba(19, 49, 185, 0.9));
  top: -100px;
  right: -100px;
  z-index: 1;
}

.mdPublicTendersHero::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(7, 39, 180, 0.8), rgba(19, 49, 185, 0.9));
  bottom: -50px;
  left: -50px;
  z-index: 1;
}

.mdHeroShapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.mdHeroShape1 {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(17, 51, 202, 0.9);
  border-radius: 15px;
  top: 20%;
  right: 15%;
  transform: rotate(25deg);
  animation: float 8s ease-in-out infinite;
}

.mdHeroShape2 {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(17, 51, 202, 0.9);
  border-radius: 10px;
  bottom: 20%;
  left: 10%;
  transform: rotate(-15deg);
  animation: float 6s ease-in-out infinite 1s;
}

.mdHeroShape3 {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(17, 51, 202, 0.9);
  border-radius: 8px;
  top: 30%;
  left: 20%;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(25deg);
  }
  50% {
    transform: translateY(-20px) rotate(35deg);
  }
  100% {
    transform: translateY(0) rotate(25deg);
  }
}

.mdHeroArea {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 35vh;
  z-index: 102;
  padding: 28px 0;
  position: relative;
}

.mdHeroContent {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px;
}

.mdCenterHero {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: center;
  text-align: center;
  width: 50%;
}

.mdHeroBadge {
  display: inline-block;
  background-color: rgba(56, 90, 245, 0.0);
}

.mdHeroHeading {
  margin-bottom: 10px;
  text-align: center;
}

.mdHeadingMain {
  color: rgb(30, 58, 83);
  font-size: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 700;
}

.mdCenterHero .mdSearchContainer {
  width: 100%;
  max-width: 600px;
  margin-top: 15px;
}

.mdSearchContainer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mdSearchBox {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.mdCenterHero .mdSearchBox {
  margin-bottom: 0;
}

.mdCenterHero .mdSearchInput {
  border-radius: 50px;
  padding: 15px 45px;
  font-size: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(56, 90, 245, 0.2);
  transition: all 0.3s ease;
  width: 100%;
  outline: none;
}

.mdSearchIcon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(56, 90, 245, 0.75);
  font-size: 1rem;
  pointer-events: none;
  z-index: 2;
}

.mdCenterHero .mdSearchInput:focus {
  outline: none;
  border: 1px solid rgba(56, 90, 245, 0.5);
  box-shadow: 0 4px 20px rgba(56, 90, 245, 0.4);
  
}

.mdCenterHero .mdSearchResults {
  margin-top: 10px;
  font-size: 14px;
}

.mdCenterHero .mdResultCount {
  color: rgba(30, 58, 83, 0.7);
  font-weight: 500;
}

.mdClearSearch {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.mdClearSearch.visible {
  display: flex;
}

.mdSearchResults {
  text-align: center;
  margin-bottom: 1rem;
}

.mdResultCount {
  font-size: 0.9rem;
  color: #6b7280;
}


/* #endregion Hero Section */

/* #region Responsive Design */

/* #region 4K Screens */

@media (min-width: 2560px) {
  .mdPublicTendersHero {
    min-height: 45vh;
  }

  .mdHeroArea {
    padding: 40px 0;
  }

  .mdHeroContent {
    max-width: 1800px;
    padding: 20px;
  }

  .mdCenterHero {
    width: 60%;
    gap: 30px;
  }

  .mdHeadingMain {
    font-size: 3.5rem;
  }

  .mdSearchContainer {
    max-width: 800px;
  }

  .mdSearchInput {
    padding: 20px 50px;
    font-size: 18px;
  }
}

/* #endregion 4K Screens */

/* #region Full HD+ */

@media (min-width: 1920px) and (max-width: 2559px) {
  .mdHeroContent {
    max-width: 1600px;
  }

  .mdCenterHero {
    width: 55%;
  }

  .mdHeadingMain {
    font-size: 3rem;
  }

}

/* #endregion Full HD+ */

/* #region Laptop L */

@media (min-width: 1440px) and (max-width: 1919px) {
  .mdHeroContent {
    max-width: 1400px;
  }

  .mdCenterHero {
    width: 50%;
  }

  .mdHeadingMain {
    font-size: 2.5rem;
  }
}

/* #endregion Laptop L */

/* #region Laptop M */

@media (min-width: 1366px) and (max-width: 1599px) {
  .mdCenterHero {
    width: 55%;
  }
}

/* #endregion Laptop M */

/* #region Laptop */

@media (min-width: 1200px) and (max-width: 1365px) {
  .mdCenterHero {
    width: 60%;
  }
}

/* #endregion Laptop */

/* #region Critical 992px-999px Breakpoint Fix - Hamburger Menu Uyumlu */

@media (min-width: 992px) and (max-width: 999px) {
  .mdPublicTendersHero {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mdHeroArea {
    padding: 24px 15px;
    width: 100%;
  }

  .mdHeroContent {
    padding: 30px 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .mdCenterHero {
    width: 90%;
    max-width: 100%;
  }

  .mdHeadingMain {
    font-size: 2rem;
  }

  .mdSearchContainer {
    max-width: 100%;
    width: 100%;
  }

  .mdSearchBox {
    width: 100%;
  }

  .mdSearchInput {
    width: 100%;
  }
}

/* #endregion Critical 992px-999px Breakpoint Fix - Hamburger Menu Uyumlu */

/* #region 1000px-1199px Aralığı - Normal Desktop Layout */

@media (min-width: 1000px) and (max-width: 1199px) {
  .mdPublicTendersHero {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mdHeroArea {
    padding: 24px 15px;
    width: 100%;
  }

  .mdHeroContent {
    padding: 30px 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .mdCenterHero {
    width: 90%;
    max-width: 100%;
  }

  .mdHeadingMain {
    font-size: 2.2rem;
  }

  .mdSearchContainer {
    max-width: 100%;
    width: 100%;
  }

  .mdSearchBox {
    width: 100%;
  }

  .mdSearchInput {
    width: 100%;
  }
}

/* #endregion 1000px-1199px Aralığı - Normal Desktop Layout */

/* #region Tablet L */

@media (min-width: 892px) and (max-width: 991px) {
  .mdHeroArea {
    padding: 24px 20px;
  }

  .mdHeroContent {
    padding: 30px 0;
  }

  .mdCenterHero {
    width: 85%;
  }

  .mdHeadingMain {
    font-size: 2.2rem;
  }

  .mdSearchContainer {
    max-width: 600px;
  }
}

/* #endregion Tablet L */

/* #region Tablet */

@media (min-width: 768px) and (max-width: 999px) {
  .mdHeadingMain {
    font-size: 2rem;
  }

  .mdHeroButtons {
    flex-direction: row;
    gap: 15px;
  }

}

/* #endregion Tablet */

/* #region Mobile L and below */

@media (max-width: 891px) {
  .mdPublicTendersHero {
    min-height: auto;
  }

  .mdHeroArea {
    padding: 20px 15px;
    min-height: auto;
  }

  .mdHeroContent {
    padding: 20px 0;
  }

  .mdCenterHero {
    width: 100%;
    padding: 0 10px;
    gap: 15px;
  }

  .mdHeadingMain {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }


  .mdHeroButtons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 10px;
  }

  .mdSearchContainer {
    max-width: 100%;
    margin-top: 15px;
  }

  .mdSearchBox {
    margin-bottom: 0.5rem;
  }

  .mdSearchInput {
    padding: 0.8rem 2.5rem;
    font-size: 0.9rem;
  }

  .mdSearchIcon {
    left: 0.8rem;
    font-size: 2rem;
  }

  .mdClearSearch {
    right: 0.8rem;
  }

  .mdHeroShape1, .mdHeroShape2, .mdHeroShape3 {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* #endregion Mobile L and below */

/* #region Mobile S */

@media (max-width: 413px) {
  .mdPublicTendersHero {
    min-height: auto;
  }

  .mdHeroArea {
    min-height: auto;
    padding: 15px 10px;
  }

  .mdHeroContent {
    padding: 15px 0;
  }

  .mdCenterHero {
    padding: 0 5px;
    gap: 10px;
  }

  .mdText1 {
    font-size: 12px;
  }

  .mdHeadingMain {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .mdHeroButtons {
    max-width: 250px;
    gap: 8px;
  }

  .mdSearchContainer {
    margin-top: 10px;
  }

  .mdSearchBox {
    margin-bottom: 0.3rem;
  }

  .mdSearchInput {
    padding: 0.6rem 2rem;
    font-size: 0.8rem;
    border-radius: 25px;
  }

  .mdSearchIcon {
    left: 0.6rem;
    font-size: 0.8rem;
  }

  .mdClearSearch {
    right: 0.6rem;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
  }

  .mdResultCount {
    font-size: 0.75rem;
  }

  .mdHeroShape1, .mdHeroShape2, .mdHeroShape3 {
    opacity: 0.2;
    transform: scale(0.6);
  }

  .mdHeroShape1 {
    width: 60px;
    height: 60px;
  }

  .mdHeroShape2 {
    width: 45px;
    height: 45px;
  }

  .mdHeroShape3 {
    width: 30px;
    height: 30px;
  }
}

/* #endregion Mobile S */

/* #endregion Responsive Design */
