@media screen and (max-width: 320px) {
  .navbar {
    width: 100%;
    justify-content: flex-end;
  }
  .navbar-nav {
    background-color: #c9a175;
  }
  .first-nav ul {
    border-top: unset;
    border-bottom: unset;
    display: unset;
    justify-content: unset;
    margin: 15px 0;
  }
  .first-nav ul li {
    margin: 15px 0;
    font-size: 15px;
    width: 100%;
  }
  .first-nav {
    margin-left: 4rem;
    margin-top: unset;
  }
  .bottom-part {
    display: unset;
    justify-content: unset;
    padding-left: unset;
    padding-right: unset;
    margin-top: unset;
    align-items: unset;
  }
  .left-photo,
  .right-photo {
    margin: 20px 0;
  }
  .right-photo::after {
    content: none;
  }
  .right-photo::before {
    content: none;
  }
  .left-photo::after {
    content: none;
  }
  .left-photo::before {
    content: none;
  }
  .rayd {
    height: 630px;
  }
  .center-text {
    display: flex;
    justify-content: center;
  }
  .corn {
    margin-left: unset !important;
  }
  .copyright {
    margin-left: 10px;
  }
  .logo {
    width: 100px;
  }
  .corn-advertising {
    margin-right: unset;
  }
  .foot-text {
    width: 100%;
  }
  .about-tabs {
    padding-left: unset;
    padding-right: unset;
  }
  .service-header {
    border-bottom: unset;
    border-top: unset;
  }
  .service-header h2 {
    text-align: center;
  }
  .services-kind {
    padding-left: unset;
    padding-right: unset;
    margin-top: 3rem;
  }
  .services-popup-open {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .services-popup-open-2 {
    font-size: 16px;
  }
  .contact {
    display: unset;
    justify-content: unset;
    padding-right: unset;
    padding-left: unset;
    z-index: 1;
  }
  .contact-details {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .contact-form {
    width: 100%;
  }
  .contact-form textarea {
    width: 100%;
  }
  .contact-form input {
    width: 100%;
  }
  .no-pad-2 {
    padding-right: 15px !important;
  }
  .threedview{
    width: 100%!important;
  }
  .threed-kind{
    padding-left: unset;
    padding-right: unset;
  }
  .flex a img{
    width: 300px;
  }
  .portfolio-kind{
    padding-right: unset;
    padding-left: unset;
  }
}
@media screen and (min-width: 321px) and (max-width: 375px) {
  .carousel-item{
    height: 185px;
  }
  .rayd-about {
     height: 640px !important;
   }
  .navbar {
    width: 100%;
    justify-content: flex-end;
  }
  .navbar-nav {
    background-color: #c9a175;
  }
  .first-nav ul {
    border-top: unset;
    border-bottom: unset;
    display: unset;
    justify-content: unset;
    margin: 15px 0;
  }
  .first-nav ul li {
    margin: 15px 0;
    font-size: 15px;
    width: 100%;
  }
  .first-nav {
    margin-left: 4rem;
    margin-top: unset;
  }
  .bottom-part {
    display: unset;
    justify-content: unset;
    padding-left: unset;
    padding-right: unset;
    margin-top: unset;
    align-items: unset;
  }
  .left-photo,
  .right-photo {
    margin: 20px auto;
  }
  .right-photo::after {
    content: none;
  }
  .right-photo::before {
    content: none;
  }
  .left-photo::after {
    content: none;
  }
  .left-photo::before {
    content: none;
  }
  .rayd {
    height: 630px;
  }
  .center-text {
    display: flex;
    justify-content: center;
  }
  .corn {
    margin-left: unset !important;
  }
  .copyright {
    margin-left: 10px;
  }
  .logo {
    width: 100px;
  }
  .corn-advertising {
    margin-right: unset;
  }
  .foot-text {
    width: 100%;
  }

  .about-tabs {
    padding-left: unset;
    padding-right: unset;
  }

  .service-header {
    border-bottom: unset;
    border-top: unset;
  }
  .service-header h2 {
    text-align: center;
    font-size: 25px;
  }
  .services-kind {
    padding-left: unset;
    padding-right: unset;
    margin-top: 3rem;
  }
  .services-popup-open {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .services-popup-open-2 {
    font-size: 16px;
  }
  .contact {
    display: unset;
    justify-content: unset;
    padding-right: unset;
    padding-left: unset;
    z-index: 1;
  }
  .contact-details {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .contact-form {
    width: 100%;
  }
  .contact-form textarea {
    width: 100%;
  }
  .contact-form input {
    width: 100%;
  }
  .no-pad-2 {
    padding-right: 15px !important;
  }
  .threedview{
    width: 100%!important;
  }
  .threed-kind{
    padding-left: unset;
    padding-right: unset;
  }
  .flex a img{
    width: 350px;
  }
  .portfolio-kind{
    padding-right: unset;
    padding-left: unset;
  }
}
@media screen and (min-width: 376px) and (max-width: 425px) {
  .navbar {
    width: 100%;
    justify-content: flex-end;
  }
  .navbar-nav {
    background-color: #c9a175;
  }
  .first-nav ul {
    border-top: unset;
    border-bottom: unset;
    display: unset;
    justify-content: unset;
    margin: 15px 0;
  }
  .first-nav ul li {
    margin: 15px 0;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
  .first-nav {
    margin-left: 1rem;
    margin-top: unset;
  }
  .bottom-part {
    display: unset;
    justify-content: unset;
    padding-left: unset;
    padding-right: unset;
    margin-top: unset;
    align-items: unset;
  }
  .left-photo,
  .right-photo {
    margin: 20px auto;
  }
  .right-photo::after {
    content: none;
  }
  .right-photo::before {
    content: none;
  }
  .left-photo::after {
    content: none;
  }
  .left-photo::before {
    content: none;
  }
  .rayd {
    height: 630px;
  }
  .center-text {
    display: flex;
    justify-content: center;
  }
  .corn {
    margin-left: unset !important;
  }
  .copyright {
    margin-left: 10px;
  }
  .logo {
    width: 100px;
  }
  .corn-advertising {
    margin-right: unset;
  }
  .foot-text {
    width: 100%;
  }

  .about-tabs {
    padding-left: unset;
    padding-right: unset;
  }
  .service-header {
    border-bottom: unset;
    border-top: unset;
  }
  .service-header h2 {
    text-align: center;
    font-size: 25px;
  }
  .services-kind {
    padding-left: unset;
    padding-right: unset;
    margin-top: 3rem;
  }
  .services-popup-open {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .services-popup-open-2 {
    font-size: 16px;
  }
  .contact {
    display: unset;
    justify-content: unset;
    padding-right: unset;
    padding-left: unset;
    z-index: 1;
  }
  .contact-details {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .contact-form {
    width: 100%;
  }
  .contact-form textarea {
    width: 100%;
  }
  .contact-form input {
    width: 100%;
  }
  .no-pad-2 {
    padding-right: 15px !important;
  }
  .threedview{
    width: 100%!important;
  }
  .threed-kind{
    padding-left: unset;
    padding-right: unset;
  }
  .flex a img{
    width: 400px;
  }
  .portfolio-kind{
    padding-right: unset;
    padding-left: unset;
  }
}
@media screen and (min-width: 426px) and (max-width: 768px) {
  .navbar {
    width: 100%;
    justify-content: flex-end;
  }
  .navbar-nav {
    background-color: #c9a175;
  }
  .first-nav ul {
    border-top: unset;
    border-bottom: unset;
    display: unset;
    justify-content: unset;
    margin: 15px 0;
  }
  .first-nav ul li {
    margin: 15px 0;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
  .first-nav {
    margin-left: 1rem;
    margin-top: unset;
  }
  .bottom-part {
    display: unset;
    justify-content: unset;
    padding-left: unset;
    padding-right: unset;
    margin-top: unset;
    align-items: unset;
  }
  .left-photo,
  .right-photo {
    margin: 20px auto;
  }
  .right-photo::after {
    content: none;
  }
  .right-photo::before {
    content: none;
  }
  .left-photo::after {
    content: none;
  }
  .left-photo::before {
    content: none;
  }
  .rayd {
    height: 630px;
  }
  .center-text {
    display: flex;
    justify-content: center;
  }
  .corn {
    margin-left: unset !important;
  }
  .copyright {
    margin-left: 10px;
  }
  .logo {
    width: 100px;
  }
  .corn-advertising {
    margin-right: unset;
  }
  .foot-text {
    width: 100%;
  }

  .about-tabs {
    padding-left: unset;
    padding-right: unset;
  }
  .service-header {
    border-bottom: unset;
    border-top: unset;
  }
  .service-header h2 {
    text-align: center;
    font-size: 25px;
  }
  .services-kind {
    padding-left: unset;
    padding-right: unset;
    margin-top: 13rem;
  }
  .services-popup-open {
    margin-bottom: 15px;
    font-size: 16px;
  }
  .services-popup-open-2 {
    font-size: 16px;
  }

  .contact {
    display: unset;
    justify-content: unset;
    padding-right: unset;
    padding-left: unset;
    z-index: 1;
  }
  .contact-details {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .contact-form {
    width: 100%;
  }
  .contact-form textarea {
    width: 100%;
  }
  .contact-form input {
    width: 100%;
  }
  .no-pad-2 {
    padding-right: 15px !important;
  }
  .threedview{
    width: 100%!important;
  }
  .threed-kind{
    padding-left: unset;
    padding-right: unset;
  }
  .flex a img{
    width: 700px;
  }
  .portfolio-kind{
    padding-right: unset;
    padding-left: unset;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  

  .contact {
    display: unset;
    justify-content: unset;
    padding-right: unset;
    padding-left: unset;
    z-index: 1;
  }
  .contact-details {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
  }
  .contact-form {
    width: 100%;
  }
  .contact-form textarea {
    width: 100%;
  }
  .contact-form input {
    width: 100%;
  }
  .no-pad-2 {
    padding-right: 15px !important;
  }
  .threedview{
    width: 100%!important;
  }
  .threed-kind{
    padding-left: unset;
    padding-right: unset;
  }
  .flex a img{
    width: 400px;
  }
  .portfolio-kind{
    padding-right: unset;
    padding-left: unset;
  }
}
