@font-face {
  font-family: BMW;
  src: url('../fonts/BMWTypeNextCondensedPro-Regular.otf');
}
#msform {
	width: 400px;
	margin: 50px auto;
	text-align: center;
	position: relative;
  height: 700px;
}
#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 3px;
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  box-sizing: border-box;
  width: 80%;
  margin: 0 10%;
  transition: transform 0.3s ease-in-out;
  position: relative;
}

#msform fieldset:hover {
  transform: scale(1.03);
  object-fit: cover;
}


#msform fieldset:not(:first-of-type) {
	display: none;
  transition: transform 0.3s ease-in-out;
}
#msform input, #msform textarea {
	padding: 15px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	width: 100%;
	box-sizing: border-box;
	font-family: BMW;
	color: #2C3E50;
	font-size: 13px;
}

#msform select {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: BMW;
    color: #2C3E50;
    font-size: 13px;
    background-color: #fff; 
}

#msform select option {
    padding: 5px;
    font-size: 13px;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-family: BMW;
    color: #2C3E50;
    font-size: 13px;
    background-color: #fff;

}




#msform .action-button {
	width: 100px;
	background: rgb(7, 153, 237);
	font-weight: bold;
	color: white;
	border: 0 none;
	border-radius: 1px;
	cursor: pointer;
	padding: 10px;
	margin: 10px 5px;
  text-decoration: none;
  font-size: 14px;
}
#msform .action-button:hover, #msform .action-button:focus {
	box-shadow: 0 0 0 2px white, 0 0 0 3px rgb(7, 153, 237);
}
.fs-title {
	font-size: 15px;
	text-transform: uppercase;
	color: #2C3E50;
	margin-bottom: 10px;
}
.fs-subtitle {
	font-weight: normal;
	font-size: 13px;
	color: #666;
	margin-bottom: 20px;
}
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    width: 400px; 
    margin: 0 auto; 
    margin-bottom: 50px;
}

#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 25%; 
    float: left;
    position: relative;
}
#progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 20px;
	line-height: 20px;
	display: block;
	font-size: 10px;
	color: #333;
	background: white;
	border-radius: 3px;
	margin: 0 auto 5px auto;
}

#progressbar li:after {
	content: '';
	width: 100%;
	height: 2px;
	background: white;
	position: absolute;
	left: -50%;
	top: 9px;
	z-index: -1; 
}
#progressbar li:first-child:after {

	content: none; 
}

#progressbar li.active:before,  #progressbar li.active:after{
	background: rgb(7, 153, 237);
	color: white;
}

label[for="data-by"] {
    margin-right: 20px; 
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: BMW;
    background-image: url("../images/m3.gif");
    background-size: cover; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
    color: #000;
    font-size: 15px;
    line-height: 1.5;
    object-fit: fill;
}
  
  a {
    color: #262626;
    text-decoration: none;
  }
  
  ul {
    list-style: none;
  }
  
  .container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    opacity: 0; 
  transition: opacity 0.5s ease-in-out;
  }
  
  .main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 20px 0;
    font-size: 13px;
    z-index: 2;
  }
  
  .main-nav .logo {
    width: 50px;
  }
  
  .main-nav ul {
    display: flex;
  }
  
  .main-nav ul li {
    padding: 0 10px;
  }
  
  .main-nav ul li a {
    padding-bottom: 2px;
    color: #FAF9F6;
  }
  
  .main-nav ul li a:hover {
    border-bottom: 2px solid rgb(7, 153, 237);
  }
  
  .main-nav ul.main-menu {
    flex: 1;
    margin-left: 20px;
    
  }


  
  .menu-btn {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 3;
    display: none;
  }
  
  .btn {
    cursor: pointer;
    display: inline-block;
    border: 0;
    font-weight: bold;
    padding: 10px 20px;
    background: #262626;
    color: #fff;
    font-size: 15px;;
  }
  
  .btn:hover {
    opacity: 0.9;
  }
  
  .dark {
    color: #fff;
  }
  
  .dark .btn {
    background: #f4f4f4;
    color: #333;
  }
  
    .follow {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin: 30px 0 30px;
  }
  
  .follow * {
      margin-right: 10px;
  }

  .follow p {
    color: #fff;
  }
  
  .follow img {
      height: 30px;
      transition: transform 0.3s ease-in-out; 
  }
  
  .follow img:hover {
      transform: scale(1.3); 
  }
  
.links {
  background: #eaeaec;
  color: #616161;
  font-size: 12px;
  padding: 35px 0;
}

.links-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 10px;
  align-items: flex-start;
  justify-content: center;
}

.links li {
  line-height: 2.8;
}

.links ul li a:hover {
  border-bottom: 2px solid rgb(7, 153, 237);
}

  
  .footer {
    background: #FAF9F6;
    color: #616161;
    font-size: 12px;
    padding: 20px 0;
  }
  
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .footer div {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
  }
  
  .footer div i {
    margin-right: 10px;
  }
  
  .footer ul {
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer li {
    margin-right: 30px;
    margin-bottom: 20px;
  }


  @media (max-width: 700px) {
  .menu-btn {
      display: block;
      color: #FAF9F6;
      z-index: 999;
  }
  
  .menu-btn:hover {
      opacity: 0.5;
      color: rgb(7, 153, 237);
  }
  
  .main-nav ul.right-menu {
      margin-right: 50px;
  }
  
  .main-nav ul.main-menu {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      background: #f2f2f2;
      width: 50%;
      height: 100%;
      border-right: #ccc 1px solid;
      opacity: 0.9;
      padding: 30px;
      transform: translateX(-500px);
      transition: transform 0.5s ease-in-out;
      z-index: 998;
  }
  
  .main-nav ul.main-menu li{
      padding: 10px;
      border-bottom: #ccc solid 1px;
      font-size: 14px;
  }

  .main-nav ul.main-menu li a{

    color: #000;
}
  
  .main-nav ul.main-menu li:last-child {
      border-bottom: 0;
  }
  
  .main-nav ul.main-menu.show {
      transform: translateX(-20px);
  }
}


  
    .contact {
      display: grid;
      justify-content: center;
      align-items: center;
      background-color: #FAF9F6;
      grid-template-columns: repeat(2, 1fr);
      grid-gap: 20px;
      min-height: 400px;
  }
  
  .contact-form {
      max-width: 100%;
      width: 100%;
      background-color: #fff;
      border-radius: 5px;
      padding: 20px;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease-in-out;
  }
  
  .contact-form:hover{
    transform: scale(1.05);
    object-fit: cover;
  }
  
  .contact h2 {
      font-size: 24px;
      margin-bottom: 20px;
  }
  
  .contact form {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 20px; 
  }
  
  .input-group {
      display: flex;
      flex-direction: column;
  }
  
  .input-group label {
      font-weight: bold;
      margin-bottom: 5px;
  }
  
  .input-group input,
  .input-group textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 16px;
  }
  
  .input-group textarea {
      resize: vertical;
  }
  
  .input-group button {
      background-color: #007BFF;
      color: #fff;
      border: none;
      border-radius: 4px;
      padding: 10px 20px;
      font-size: 16px;
      cursor: pointer;
  }
  
  .input-group button:hover {
      background-color: #0056b3;
  }
  
  .contact img {
    width: 100%;
    margin-bottom: 20px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }
  
  .contact .card img:hover{
    transform: scale(1.05);
    object-fit: cover;
  }
  
  
  .contact h3 {
    margin-bottom: 5px;
  }
  
  .contact a {
    display: inline-block;
    padding-top: 10px;
    color: #16588E;
    text-transform: uppercase;
    font-weight: bold;
  }
  
  .contact a:hover i {
    margin-left: 10px;
  }
    