Hero Section with Search Form

Hero Section with Search Form Bootstrap 5 Snippet & Component

Download Files

Download Files contains - HTML,CSS,JS,Images Files

With cover and overlapped profile picture

                                        
                                      /*======================================
    Normalize CSS
========================================*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  font-weight: normal;
  font-style: normal;
  color: #888;
  overflow-x: hidden;
  font-size: 15px;
  background: #eee;
}

p {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
}

* {
  margin: 0;
  padding: 0;
}

.navbar-toggler:focus,
a:focus,
input:focus,
textarea:focus,
button:focus,
.btn:focus,
.btn.focus,
.btn:not(:disabled):not(.disabled).active,
.btn:not(:disabled):not(.disabled):active {
  text-decoration: none;
  outline: none;
  outline: none !important;
  border-color: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.form-check-input:checked {
  background-color: #5830E0;
  border-color: #5830E0;
}

select {
  -webkit-writing-mode: horizontal-tb !important;
  text-rendering: auto;
  color: #081828;
  letter-spacing: normal;
  word-spacing: normal;
  text-transform: none;
  text-indent: 0px;
  text-shadow: none;
  display: inline-block;
  text-align: start;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  white-space: pre;
  -webkit-rtl-ordering: logical;
  background-color: -internal-light-dark(white, #3b3b3b);
  cursor: default;
  margin: 0em;
  font: 400 14px;
  border-radius: 0px;
  border-width: 1px;
  border-style: solid;
  border-color: -internal-light-dark(#767676, #858585);
  -o-border-image: initial;
  border-image: initial;
}

span,
a {
  display: inline-block;
  text-decoration: none;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin: 0px;
  color: #081828;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 25px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 16px;
}

ul,
ol {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
}

.button .btn {
  display: inline-block;
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 30px;
  background-color: #5830E0;
  color: #fff;
  border: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border-radius: 4px;
}

.button .btn:hover {
  background-color: #081828;
  color: #fff;
  -webkit-box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
  box-shadow: 0 1rem 3rem rgba(35, 38, 45, 0.15) !important;
}

.button .btn-alt {
  background-color: #081828;
  color: #fff;
}

.button .btn-alt:hover {
  background-color: #5830E0;
  color: #fff;
}

/* Overlay */
.overlay {
  position: relative;
}

.overlay::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  background: #081828;
  content: "";
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  z-index: 5;
}

/*======================================
    Hero Area CSS
========================================*/
.hero-area {
  background-image: url("img/hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 2;
  padding-top: 250px;
  padding-bottom: 300px;
  z-index: 2;
}

.hero-area.overlay::before {
  z-index: -1;
  background: #081828;
  opacity: 0.9;
}

.hero-area.style2 {
  padding-top: 150px;
  padding-bottom: 100px;
  background-image: url("img/hero-bg2.jpg");
}

.hero-area.style2 .hero-text {
  text-align: left;
}

.hero-area.style2 .hero-text h2 {
  font-size: 50px;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.hero-area.style2 .hero-text h2::before {
  left: 0;
  margin-left: 0;
}

.hero-area.style3 {
  padding-top: 250px;
  padding-bottom: 0;
  background-image: url("img/hero-bg3.jpg");
}

.hero-area.style3 .search-form {
  margin-top: 100px;
  background: #fff;
  border-radius: 6px;
  padding: 35px 40px;
  padding-right: 55px;
  width: 100%;
  border: 1px solid #eee;
  position: relative;
  -webkit-transform: translateY(50%);
  transform: translateY(50%);
}

.hero-area.style3 .search-form .btn:hover {
  background-color: #081828;
  color: #fff;
}

.hero-area.style3 .categories {
  padding: 0;
  margin-top: 30px;
}

.hero-area.style3 .categories .single-cat {
  border: none;
  background-color: #fff;
  padding: 20px 10px;
}

.hero-area .hero-text h2 {
  color: #fff;
  font-size: 45px;
  line-height: 60px;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  position: relative;
}

.hero-area .hero-text h2::before {
  position: absolute;
  content: "";
  left: 50%;
  bottom: -2px;
  height: 4px;
  width: 60px;
  margin-left: -30px;
  background: #5830E0;
  border-radius: 10px;
}

.hero-area .hero-text p {
  color: #ddd;
  font-size: 16px;
  font-weight: 400;
  display: block;
}

/* Hero Search Form */
.search-form {
  margin-top: 60px;
  background: #fff3;
  border-radius: 6px;
  padding: 30px;
  padding-right: 45px;
}

.search-form.style2 {
  padding: 0;
  padding: 50px;
  background-color: #fff;
}

.search-form.style2 .heading-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.search-form.style2 .sub-heding-text {
  margin-bottom: 40px;
  font-size: 16px;
}

.search-form.style2 .search-input {
  padding: 0;
  margin-bottom: 18px;
}

.search-form.style2 .btn {
  margin: 0;
}

.search-form.style2 .btn:hover {
  background-color: #081828;
  color: #fff;
}

.search-form .search-input {
  position: relative;
  padding: 0px 8px;
}

.search-form .search-input input {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  border: none;
  padding: 0 25px;
  padding-right: 45px;
  height: 55px;
  font-size: 15px;
  border: 1px solid #eee;
}

.search-form .search-input input:focus {
  outline: none !important;
}

.search-form .search-input label {
  position: absolute;
  right: 25px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.search-form .search-input select {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #eee;
  padding: 0 25px;
  height: 55px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 15px;
}

.search-form .search-input select:focus {
  outline: none !important;
}

.search-form button {
  width: 100%;
  border-radius: 6px;
  border: none;
  padding: 0 25px;
  height: 55px;
  margin-left: 5px;
}

.search-form button.btn:hover {
  background: #fff;
  color: #081828;
}

.search-form button i {
  display: inline-block;
  margin-right: 5px;
}      
                                        
                                    

                                        
                                      Js      
                                        
                                    

More Bootstrap UI Components

Card Payment Form

106 0 forms,BS4

Saas Style Pricing Block

100 0 pricing,BS4

Need Help Block

174 0 contact us,BS4

Hero Section with Search Form

57 0 BS5, Hero

Simple Pricing Block

193 0 pricing,BS4

Subscribe to our Newsletter Block

105 0 newsletter,BS4

Modern Footer Block

106 0 footer,BS3

Hero with Call to Action

88 0 hero,BS3

Elegant About Section

136 0 about,BS4

Tired of Opening One Strap After Another?

Go to Pricing and start using AJAX Filter Options, no need to open multiple pages.

Get Started