body {
  overflow-x: hidden;
  font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
p {
  line-height: 1.75;
}
a {
  color: #f84615;
}
a:hover {
  color: #fc492d;
}
.text-primary {
  color: #f84615 !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #f84615;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

section {
  padding: 100px 0;
}

section h2.section-heading {
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  color: #f84615;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

section h2.section-heading:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background-color: #f84615;
  border-radius: 2px;
}

section h3.section-subheading {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 75px;
  text-transform: none;
  font-family: "Montserrat", sans-serif;
  color: #6c757d !important;
}
@media (min-width: 768px) {
  section {
    padding: 150px 0;
  }
}
.btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-xl {
  font-size: 18px;
  padding: 18px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-primary {
  background-color: #f84615;
  border-color: #f84615;
  color: #fff;
  box-shadow: 0 4px 15px rgba(248, 70, 21, 0.3);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
  background-color: #fc492d !important;
  border-color: #fc492d !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 70, 21, 0.4);
}
.btn-primary:active,
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem #fc492d !important;
}
::-moz-selection {
  background: #f84615;
  text-shadow: none;
}
::selection {
  background: #f84615;
  text-shadow: none;
}
img::selection {
  background: 0 0;
}
img::-moz-selection {
  background: 0 0;
}
#mainNav {
  background-color: #212529;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  padding: 10px 0;
}

#mainNav .container {
  padding-left: 20px;
  padding-right: 20px;
}
#mainNav .navbar-toggler {
  font-size: 12px;
  padding: 12px 18px;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #f84615;
  border-radius: 6px;
  background-color: #f84615;
  font-family: "Montserrat", sans-serif;
  transition: all 0.3s ease;
  font-weight: 600;
}

#mainNav .navbar-toggler:hover {
  background-color: #fc492d;
  border-color: #fc492d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(248, 70, 21, 0.4);
}

#mainNav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(248, 70, 21, 0.5);
  outline: none;
}

#mainNav .navbar-toggler .fa-bars {
  font-size: 18px;
}

#mainNav .navbar-brand {
  height: 45px;
  padding: 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

#mainNav .navbar-brand img {
  height: 100%;
  width: auto;
  transition: all 0.3s ease;
}

#mainNav .navbar-brand:hover img {
  transform: scale(1.05);
}

/* Mobile menu styles */
#mainNav .navbar-collapse {
  transition: all 0.3s ease-in-out;
}

#mainNav .navbar-nav {
  margin-top: 10px;
}

#mainNav .navbar-nav .nav-item {
  margin: 5px 0;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-size: 13px;
  font-weight: 600;
  padding: 12px 20px !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: block;
}

#mainNav .navbar-nav .nav-item .nav-link:hover,
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #f84615 !important;
  background-color: rgba(248, 70, 21, 0.1);
  transform: translateX(5px);
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 991px) {
  #mainNav .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  #mainNav .navbar-brand {
    height: 50px;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    padding: 12px 25px !important;
  }
}

/* Desktop styles */
@media (min-width: 992px) {
  #mainNav {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
  }

  #mainNav .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  #mainNav.navbar-shrink {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #212529;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  #mainNav .navbar-brand {
    height: 50px;
  }

  #mainNav .navbar-nav {
    margin-top: 0;
  }

  #mainNav .navbar-nav .nav-item {
    margin: 0;
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    padding: 10px 20px !important;
    background-color: transparent;
  }

  #mainNav .navbar-nav .nav-item .nav-link:hover,
  #mainNav .navbar-nav .nav-item .nav-link.active {
    background-color: transparent;
    transform: translateX(0);
    transform: translateY(-2px);
  }
}

/* Mobile-specific improvements */
@media (max-width: 767px) {
  #mainNav {
    padding: 8px 0;
  }

  #mainNav .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  #mainNav .navbar-brand {
    height: 40px;
  }

  #mainNav .navbar-collapse {
    background-color: rgba(33, 37, 41, 0.98);
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  #mainNav .navbar-nav .nav-item .nav-link {
    font-size: 14px;
    text-align: center;
  }
}
header.masthead {
  text-align: center;
  color: #fff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../img/New\ 4\ BG.png);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.Re-Media-logo {
  justify-self: center;
  margin: 20px;
  width: 20%;
}
.Re-Media-logo img {
  width: 100%;
  background-size: cover;
}

header.masthead .intro-text {
  padding-top: 150px;
  padding-bottom: 100px;
}
header.masthead .intro-text .intro-lead-in {
  font-size: 22px;
  font-style: italic;
  line-height: 22px;
  margin-bottom: 25px;
  font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
header.masthead .intro-text .intro-heading {
  font-size: 50px;
  font-weight: 700;
  line-height: 50px;
  margin-bottom: 25px;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
@media (min-width: 768px) {
  header.masthead .intro-text {
    padding-top: 75px;
    padding-bottom: 200px;
  }
  header.masthead .intro-text .intro-lead-in {
    font-size: 40px;
    font-style: italic;
    line-height: 40px;
    margin-bottom: 25px;
    font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
  header.masthead .intro-text .intro-heading {
    font-size: 45px;
    font-weight: 700;
    line-height: 75px;
    margin-bottom: 30px;
    font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  }
}

.services-section {
  background-color: #f8f9fa;
  padding: 100px 0;
}

.service-box {
  background: #ffffff;
  padding: 50px 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(248, 70, 21, 0.08);
  border-color: rgba(248, 70, 21, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(248, 70, 21, 0.05);
  color: #f84615;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 32px;
  transition: all 0.3s ease;
}

.service-box:hover .service-icon {
  background-color: #f84615;
  color: #ffffff;
  transform: rotateY(180deg);
}

.service-box h3 {
  color: #f84615;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}

.service-box p {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

#portfolio .portfolio-item {
  margin-bottom: 30px;
}

#portfolio .portfolio-item .portfolio-link {
  position: relative;
  display: block;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: #fff;
}

#portfolio .portfolio-item .portfolio-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(248, 70, 21, 0.15);
}

#portfolio .portfolio-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  filter: brightness(0.95);
}

#portfolio .portfolio-item .portfolio-link:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(1.05);
  border-color: #f84615;
  box-shadow: 0 0 0 3px rgba(248, 70, 21, 0.2);
}

#portfolio .portfolio-item .portfolio-caption {
  padding: 20px 10px;
  text-align: center;
  background-color: transparent;
}

#portfolio .portfolio-item .portfolio-caption h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: #f84615;
  transition: all 0.3s ease;
}

#portfolio .portfolio-item .portfolio-caption a {
  text-decoration: none;
}

#portfolio .portfolio-item .portfolio-caption a:hover h4 {
  color: #f84615;
}

.img-fluid {
  border-radius: 20px;
}
.img-fluid:hover {
  transform: scale(1.05);
}

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    padding: 0 10px;
  }
}
.portfolio-modal {
  padding-right: 0 !important;
}
.portfolio-modal .modal-dialog {
  margin: 1rem;
  max-width: 100vw;
}
.portfolio-modal .modal-content {
  padding: 100px 0;
  text-align: center;
}
.portfolio-modal .modal-content h2 {
  font-size: 3em;
  margin-bottom: 15px;
}
.portfolio-modal .modal-content p {
  margin-bottom: 30px;
}
.portfolio-modal .modal-content p.item-intro {
  font-size: 16px;
  font-style: italic;
  margin: 20px 0 30px;
  font-family: "Droid Serif", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.portfolio-modal .modal-content ul.list-inline {
  margin-top: 0;
  margin-bottom: 30px;
}
.portfolio-modal .modal-content img {
  margin-bottom: 30px;
}
.portfolio-modal .modal-content button {
  cursor: pointer;
}
.portfolio-modal .close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 75px;
  height: 75px;
  cursor: pointer;
  background-color: transparent;
}
.portfolio-modal .close-modal:hover {
  opacity: 0.3;
}
.portfolio-modal .close-modal .lr {
  z-index: 1051;
  width: 1px;
  height: 75px;
  margin-left: 35px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #212529;
}
.portfolio-modal .close-modal .lr .rl {
  z-index: 1052;
  width: 1px;
  height: 75px;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #212529;
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}
.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #f1f1f1;
}

.timeline > li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline > li:after,
.timeline > li:before {
  display: table;
  content: " ";
}

.timeline > li:after {
  clear: both;
}

.timeline > li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline > li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: #fff;
  border: 7px solid #fff;
  border-radius: 100%;
  background-color: #f84615;
  box-shadow: 0 0 0 10px rgba(248, 70, 21, 0.05);
  transition: all 0.4s ease;
}

.timeline > li:hover .timeline-image {
  transform: scale(1.1);
  box-shadow: 0 0 0 15px rgba(248, 70, 21, 0.1);
}

.timeline > li .timeline-image h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
  color: #fff !important;
}

.timeline > li.timeline-inverted > .timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline-heading h4 {
  font-family: "Montserrat", sans-serif;
  color: #f84615 !important;
  font-weight: 800;
  margin-top: 0;
}

.timeline-heading .subheading {
  color: #f84615 !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }
  .timeline > li {
    min-height: 100px;
    margin-bottom: 100px;
  }
  .timeline > li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }
  .timeline > li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

/* Team Styles */
#team {
  background-color: #ffffff !important;
}

.team-member {
  margin-bottom: 50px;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
  transition: all 0.4s ease;
}

.team-member:hover {
  background: #fcfcfc;
}

.team-member img {
  width: 200px;
  height: 200px;
  border: 8px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-member:hover img {
  transform: rotate(3deg) scale(1.05);
  border-color: #f84615;
}

.team-member h4 {
  margin-top: 25px;
  margin-bottom: 5px;
  text-transform: none;
  font-family: "Montserrat", sans-serif;
  color: #f84615;
  font-size: 20px;
}

.team-member p {
  color: #f84615;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
@media (min-width: 992px) {
  .timeline > li {
    min-height: 150px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px;
  }
  .timeline > li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .timeline > li .timeline-image h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 20px 20px;
  }
}
@media (min-width: 1200px) {
  .timeline > li {
    min-height: 170px;
  }
  .timeline > li .timeline-panel {
    padding: 0 20px 20px 100px;
  }
  .timeline > li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }
  .timeline > li .timeline-image h4 {
    margin-top: 40px;
  }
  .timeline > li.timeline-inverted > .timeline-panel {
    padding: 0 100px 20px 20px;
  }
}
.team-member {
  margin-bottom: 50px;
  text-align: center;
}
.team-member img {
  width: 225px;
  height: 225px;
  border: 7px solid #fff;
}
.team-member h4 {
  margin-top: 25px;
  margin-bottom: 0;
  text-transform: none;
}
.team-member p {
  margin-top: 0;
}
section#contact {
  background-color: #212529;
  background-image: url(../img/map-image.png);
  background-repeat: no-repeat;
  background-position: center;
}
section#contact .section-heading {
  color: #fff;
}
section#contact .form-group {
  margin-bottom: 25px;
}
section#contact .form-group input,
section#contact .form-group textarea {
  padding: 20px;
}
section#contact .form-group input.form-control {
  height: auto;
}
section#contact .form-group textarea.form-control {
  height: 248px;
}
section#contact .form-control:focus {
  border-color: #f84615;
  box-shadow: none;
}
section#contact ::-webkit-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
section#contact :-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
section#contact ::-moz-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
section#contact :-ms-input-placeholder {
  font-weight: 700;
  color: #ced4da;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
footer {
  padding: 25px 0;
  text-align: center;
}
footer span.copyright {
  font-size: 90%;
  line-height: 40px;
  text-transform: none;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
footer ul.quicklinks {
  font-size: 90%;
  line-height: 40px;
  margin-bottom: 0;
  text-transform: none;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
ul.social-buttons {
  margin-bottom: 0;
}
ul.social-buttons li a {
  font-size: 20px;
  line-height: 40px;
  display: block;
  width: 40px;
  height: 40px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
  color: #fff;
  border-radius: 100%;
  outline: 0;
  background-color: #212529;
}
ul.social-buttons li a:active,
ul.social-buttons li a:focus,
ul.social-buttons li a:hover {
  background-color: #f84615;
}
.brands img {
  margin: 10px;
  border-radius: 15px;
  width: 100px;
  height: 100px;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brands img:hover {
  transform: scale(1.15) rotate(1deg);
  box-shadow: 0 4px 12px rgba(248, 70, 21, 0.2);
  border-color: #f84615;
}

.brands-row {
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.brand-item {
  text-align: center;
}

.brand-placeholder {
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.brand-placeholder:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.brand-placeholder i {
  color: #dee2e6;
  transition: color 0.3s ease;
}

.brand-placeholder img {
  width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.footer-platform-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
  padding: 40px 0;
}

.footer-platform-logos img {
  height: 35px;
  width: auto;
  transition: all 0.3s ease;
}

.footer-platform-logos img:hover {
  transform: scale(1.1);
}

.footer-bg {
  background-color: #121212;
  color: #888;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bg .copyright a {
  color: #f84615;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-bg .copyright a:hover {
  color: #fff;
}

/* developer- */

.developer-credit {
  width: 100%;
  text-align: center;
  align-self: center;
  font-size: 12px;
  color: #fff;
  letter-spacing: 0.5px;
}

.developer-credit a {
  color: #4361ee;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-family: monospace;
}

.developer-credit a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.developer-credit a:hover {
  color: #fff;
}
.developer-credit a:hover::after {
  width: 100%;
}
