/*
 EC VOX Custom Styles
*/


body {
  font-family: "Inter", sans-serif;
  padding-top: 70px;
}

.full-screen {
  padding: 8rem 0;
}

.small-text {
  color: #5b5b5b;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.2px;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

a {
  font-weight: normal;
  text-decoration: none !important;
  transition: all 0.4s ease;
}

a:hover {
  color: #ffc200 !important;
}

a:focus-visible,
button:focus-visible,
.form-control:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid rgba(255, 194, 0, 0.5);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.timeline-wrapper.reveal.in-view {
  display: flex;
  align-items: center;
}

.navbar-brand .uil {
  font-size: 40px;
}

.navbar-logo {
  height: 32px;
  width: auto;
  display: block;
  color: #363a3d;
}

.navbar-brand:hover .navbar-logo {
  color: #ffc200;
}


p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  color: #5b5b5b;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  color: #363a3d;
  font-size: 2.9em;
  margin: 24px 0;
  font-weight: 700;
}

h2 {
  color: #363a3d;
  font-size: 2.1em;
  font-weight: 700;
}

h3 {
  color: #363a3d;
  font-size: 1.5em;
}

h3,
b,
strong {
  font-weight: 700;
}

.custom-btn {
  background: #eee;
  color: #5b5b5b;
  font-weight: bold;
  border-radius: 50px;
  padding: 13px 29px;
  font-size: 14px;
  line-height: normal;
  overflow: hidden;
  transition: all 0.4s ease;
}

.custom-btn:hover {
  color: #ffc200;
}

.custom-btn.custom-btn-bg {
  background: #474559;
  color: #ffffff;
}

.custom-btn.custom-btn-bg:hover {
  background: #ffc200;
  color: #ffffff !important;
}

.animated {
  position: relative;
}

.animated-info {
  display: inline-block;
  vertical-align: top;
  margin-top: 0px;
  min-width: 130px;
  position: relative;
}

.animated-item {
  color: #ffc200;
  font-size: inherit;
  line-height: inherit;
  display: block;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  animation: BottomTotop 16s linear infinite 0s;
}

.animated-item:nth-child(1) {
  animation-delay: 0s;
}

.animated-item:nth-child(2) {
  animation-delay: 2s;
}

.animated-item:nth-child(3) {
  animation-delay: 4s;
}

.animated-item:nth-child(4) {
  animation-delay: 6s;
}

.animated-item:nth-child(5) {
  animation-delay: 8s;
}

.animated-item:nth-child(6) {
  animation-delay: 10s;
}

.animated-item:nth-child(7) {
  animation-delay: 12s;
}

.animated-item:nth-child(8) {
  animation-delay: 14s;
}

@keyframes BottomTotop {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }

  2% {
    opacity: 1;
    transform: translateY(0);
  }

  10% {
    opacity: 1;
    transform: translateY(0);
  }

  12.5% {
    opacity: 0;
    transform: translateY(5px);
  }

  100% {
    opacity: 0;
  }
}

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999999;
  will-change: transform;
  transition: transform 200ms linear;
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  min-height: 70px;
  padding: 0;
}





.navbar[class*="headroom--not-top"] {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  height: auto;
  overflow: visible;
  padding: 0;
  margin: 0;
  width: auto;
  line-height: 0;
}

.navbar-light .navbar-brand {
  color: #363a3d;
}

.navbar-brand:hover {
  color: #ffc200 !important;
}

.navbar-expand-sm .navbar-nav .nav-link,
.navbar-expand-md .navbar-nav .nav-link {
  padding: 0 20px;
}

.nav-link {
  font-weight: bold;
  font-size: 16px;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: transform 0.3s;
}

.nav-link span:before {
  position: absolute;
  top: 100%;
  content: attr(data-hover);
  transform: translate3d(0, 0, 0);
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #ffc200;
  font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:focus span,
.navbar-light .navbar-nav .nav-link:hover span {
  transform: translateY(-100%);
}

.navbar-light .navbar-toggler-icon {
  background: none;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  outline: none;
  cursor: pointer;
  margin-right: 10px;
}

.navbar-toggler:focus {
  outline: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-child {
  transform: rotate(45deg);
  top: 6px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-child(2) {
  display: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-child {
  transform: rotate(-45deg);
  bottom: 1px;
}

.navbar-toggler .navbar-toggler-icon {
  background: #212121;
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  transition: all 0.4s ease;
  position: relative;
}

.copyright-text {
  font-size: 14px;
  font-weight: normal;
  display: block;
}





.timeline-wrapper {
  position: relative;
  padding: 22px 0;
}

.timeline-wrapper:last-child:before {
  height: 0;
}

.timeline-wrapper:before {
  content: "";
  background: #474559;
  width: 3px;
  height: 100%;
  position: absolute;
  left: 38px;
}

.timeline-yr {
  background: #474559;
  border-radius: 100%;
  position: absolute;
  width: 75px;
  height: 75px;
  line-height: 75px;
  text-align: center;
}

.timeline-yr span {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  display: block;
  line-height: 75px;
}

.timeline-info {
  display: flex;
  align-items: center;
  max-width: 432px;
  margin-left: 6em;
  min-height: 75px;
}


#resume .timeline-wrapper {
  min-height: 120px;
}


.timeline-text {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  color: #5b5b5b;
  margin: 0;
}

/* Timeline Grid Layout */
.timeline-grid {
  display: grid;
  gap: 0 30px;
}

.resume-switch .nav-link {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  color: #363a3d;
  font-weight: 600;
  margin: 0 6px;
  padding: 8px 18px;
  transition: all 0.3s ease;
}

.resume-switch .nav-link:hover,
.resume-switch .nav-link:focus {
  background: #ffc200 !important;
  border-color: #ffc200 !important;
  color: #ffffff !important;
}

.resume-switch .nav-link.active {
  background: #363a3d;
  border-color: #363a3d;
  color: #ffffff;
}

.resume-switch .nav-link.active:hover,
.resume-switch .nav-link.active:focus {
  background: #ffc200 !important;
  border-color: #ffc200 !important;
  color: #ffffff !important;
}

.resume-points {
  display: grid;
  gap: 12px 24px;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0 auto;
  max-width: 900px;
  padding: 0;
}

.resume-points li {
  align-items: center;
  background: transparent;
  border: 1px solid #ececec;
  border-radius: 2px;
  color: #5b5b5b;
  display: flex;
  font-size: 17px;
  line-height: 1.45;
  min-height: 84px;
  padding: 14px 16px;
  transition: border-color 0.3s ease;
}

@media (max-width: 767px) {
  .resume-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .mobile-resume-founders {
    margin-top: 0 !important;
  }

  .mobile-resume-gap {
    display: block;
    height: 56px;
  }
}

.resume-points li:hover,
.resume-points li:focus-within {
  border-color: #ffc200;
  border-bottom-color: #ffc200;
}

/* Mobile: Force single column */
@media (max-width: 1024px) {
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
    min-height: auto !important;
  }

  .timeline-info {
    margin-left: 0;
    max-width: 100%;
    display: flex;
    align-items: center;
  }

  .timeline-yr {
    position: static;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    position: relative;
    z-index: 1;
  }

  .timeline-yr span {
    line-height: 60px;
    font-size: 14px;
  }

  /* Show connecting lines on mobile */
    .timeline-grid .timeline-wrapper:before {
    display: block;
    left: 30px;
    top: 52px;
    height: calc(100% + 30px);
    z-index: 0;
  }

  /* Hide line for last item only */
  .timeline-grid .timeline-wrapper:last-child:before {
    height: 0;
  }

}

@media (max-width: 991px) {
  .project-text {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
  }

  .timeline-grid.rows-3 {
    grid-template-rows: auto auto auto;
  }

  .timeline-grid.rows-2 {
    grid-template-rows: auto auto;
  }

  /* Hide connection line for the last item of the first column */
  .timeline-grid.rows-3 .timeline-wrapper:nth-child(3):before,
  .timeline-grid.rows-2 .timeline-wrapper:nth-child(2):before {
    height: 0;
  }
}

.google-map iframe {
  width: 100%;
}

.contact-form {
  position: relative;
}

.contact-form .form-control {
  background: transparent;
  border-radius: 2px;
  outline: none;
  box-shadow: none;
  font-weight: 400;
  margin: 16px 0;
}

.contact-form .form-control::placeholder {
  color: #b3b3b3;
  font-weight: 400;
}

.contact-form .was-validated .form-control:invalid {
  border-color: #dc3545;
}

.contact-form .form-control:not(textarea) {
  height: 48px;
}

.contact-form .form-control:hover,
.contact-form .form-control:focus {
  border-color: #ffc200;
}

.contact-form .submit-btn {
  background: #ffc200;
  border-radius: 50px;
  color: #ffffff;
  font-weight: bold;
  border: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.contact-form .submit-btn:hover {
  background: #474559;
}

.contact-info {
  background: #474559;
  border-radius: 0 0 3px 3px;
  position: relative;
  bottom: 8px;
}

.contact-info p,
.contact-info a {
  color: #f7f3f3;
}

.social-links .uil {
  color: #f7f3f3;
  font-size: 20px;
  display: block;
  margin: 5px 0;
}

.social-links .uil:hover {
  color: #ffc200;
}

@media (max-width: 991px) {
  .full-screen {
    padding-bottom: 4rem;
  }



  .about-image {
    margin-top: 4em;
  }

  .mobile-mt-2,
  .contact-form {
    margin-top: 2em;
  }

  .contact-info {
    padding: 0 2rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.4em;
  }

  h2 {
    font-size: 2em;
  }

  /* .animated-item size removed to inherit from h1 */

  .navbar-collapse {
    background: #ffffff;
    text-align: center;
    padding-bottom: 20px;
  }

  .navbar-expand-sm .navbar-nav .nav-link,
.navbar-expand-md .navbar-nav .nav-link {
    padding: 3px 20px;
  }
}

@media (max-width: 580px) {
  .animated-info {
    min-width: 200px;
  }

  /* .animated-item size removed to inherit from h1 */

  .custom-btn-group {
    text-align: center;
  }

  .custom-btn {
    display: block;
    margin: 10px 0;
  }

}

@media (max-width: 575px) {
  .navbar-brand {
    padding-left: 12px;
  }
}


@media (max-width: 991px) {
  .about-text {
    text-align: center;
  }

  .custom-btn-group {
    text-align: center;
  }
}

@media (max-width: 320px) {
  .animated-text {
  }

  .about-text {
    text-align: center;
  }

  .full-screen {
    padding: 4rem 0;
  }

  .contact-info {
    flex-direction: column;
  }

  .social-links li {
    display: inline-block;
    vertical-align: top;
  }
}

.footer-link {
  color: #5b5b5b;
  font-weight: normal;
  font-size: 14px;
  display: inline-block;
}

.footer-link:hover {
  color: #ffc200;
}

.toast-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #2f8f5f;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

.toast-message.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-message.error {
  background: #b94a48;
}

@media (max-width: 375px) {
  .toast-message {
    left: 12px;
    right: 12px;
    bottom: 16px;
    margin: 0 auto;
    max-width: none;
    text-align: center;
  }
}

/* Service Box Styling */
.service-box {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  min-height: 60px;
}

.service-box:hover {
  background-color: #ffc200;
  border-color: #ffc200 !important;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #ffc200;
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
}

.service-box:hover .service-number {
  background-color: #ffffff;
  color: #ffc200;
}

.service-text {
  font-size: 14px;
  font-weight: 500;
  color: #5b5b5b;
}

.service-box:hover .service-text {
  color: #ffffff;
}



/* Accordion Body Styling */
.accordion-body {
  font-size: 15px;
  line-height: 1.4;
}

.accordion-body ul li,
.accordion-body p {
  color: #5b5b5b !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  font-weight: 300;
}



@media (min-width: 1024px) {
  .timeline-wrapper.reveal.in-view:before {
    top: 59px;
  }
}
