/* Desktops and laptops (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .custom-container {
    width: 90rem;
  }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  html {
    font-size: 13px;
  }

  .custom-card {
    box-shadow: 8px 8px 15px 0px #0000000D;
  }

  .custom-container {
    padding: 0 3rem;
  }

  .hero-title h1 {
    font-size: 4rem;
  }

  .hero-content ul {
    width: 100%;
  }

  .founder-image-wrapper {
    position: unset;
    width: 100%;
    height: auto;
  }

  .founder-image-wrapper img {
    height: 100%;
    transform: scale(1.3);
  }

  .founder-section .cards-wrapper {
    margin-top: 7rem;
  }

  .custom-card {
    margin: auto;
    margin-bottom: 5rem;
  }

  .founder-section {
    padding-bottom: 2rem;
  }

  .lets-build {
    padding-top: 2rem;
  }

  .site-footer .footer-logo img {
    margin: auto;
  }

  ul.footer-links {
    display: flex;
    justify-content: space-evenly;
    margin-top: 2rem;
  }

  .site-footer .footer-links li:first-child {
    margin-top: auto;
  }

  .address-wrapper {
    text-align: center;
  }

  .site-footer {
    padding: 2rem 0;
  }

  section.copyright {
    padding: 2rem 0;
  }

  .investors-card-wrapper .row:first-child {
    margin-bottom: 0;
  }

  .investors-card {
    width: 100%;
    margin-bottom: 2rem;
  }

  .insights-card {
    max-width: 100%;
    margin-bottom: 2rem;
  }

  .insights-card-wrapper .row:first-child {
    margin-bottom: 0;
  }

  .form-section form {
    width: 100%;
    margin-left: 0;
    margin-top: 0;
  }

  .form-section {
    padding: 3rem;
  }

  .investors-card:hover {
    background: #fff;
  }

  .investors-card:hover .title,
  .investors-card:hover .descrip {
    color: initial;
  }

  .investors-card:hover .descrip {
    display: block;
  }

  .investors-card:hover .image {
    opacity: 1;
    height: auto;
    margin: 1rem 0;
  }
}

/* Mobile devices (up to 767px) */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  section.hero-section {
    height: 85vh;
  }

  .hero-section h1 {
    font-size: 4rem;
    line-height: 3.5rem;
    letter-spacing: -0.2rem;
  }

  .hero-content ul li a {
    font-size: .9375rem;
  }

  .hero-content ul {
    padding-left: 0;
    margin-left: 0;
    flex-wrap: nowrap;
    gap: 0;
  }

  .hero-content ul li:first-child {
    margin-left: 0;
  }

  .hero-content ul li::after {
    right: -1.2rem;
    top: 0.6rem;
  }

  .mobile .slide-img {
    height: 15rem !important;
    object-fit: cover !important;
  }

  .about-content .about-title h2 {
    font-size: 1.75rem;
    line-height: 2.25rem;
  }

  .about-section {
    padding-bottom: 7rem !important;
  }

  .parallax-bg {
    height: 100%;
  }

  .about-section .about-content {
    height: 100%;
  }

  .about-content .about-card-wrapper .about-card {
    padding: 1.5rem;
  }

  .about-card-text {
    order: 2;
  }

  .about-card-img {
    order: 1;
    justify-content: flex-start !important;
    margin-bottom: 1rem;
  }

  .about-card-text .card-body {
    padding: 0;
  }

  .about-content .about-card-wrapper .about-card img {
    width: 6rem;
    height: 6rem;
  }

  .about-content .about-card-wrapper .about-card h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: normal;
  }

  .about-content .about-card-wrapper .about-card p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .invest-vision .title {
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: 0;
  }

  .invest-vision .images {
    width: 100%;
    height: 15rem;
    border-radius: 1.15rem;
  }

  .invest-vision .card {
    padding: 2rem 1.5rem;
    text-align: left;
    min-height: 18rem;
  }

  .invest-vision .card img {
    width: 3rem;
    height: 3rem;
  }

  .vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .vision-card p {
    margin-bottom: 0;
  }

  .invest-vision .section {
    flex-direction: column;
  }

  .invest-vision .left {
    position: static;
    top: auto;
  }

  .invest-vision .cards {
    margin-top: 0;
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 3.7rem;
    right: 0;
    width: 100%;
    display: block;
    height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #fff;
  }

  .nav-links li {
    text-align: center;
    margin: 3rem 0;
  }

  .nav-links.open {
    height: 100vh;
  }

  .nav-links li a {
    color: #28324A;
    font-size: 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .custom-container {
    padding: 0 1.5rem;
  }

  .nav-wrapper .logo img {
    height: 2rem;
  }

  .our-story-banner {
    padding-top: 6rem;
    padding-bottom: 13rem;
  }

  .tagline {
    display: block;
    margin-bottom: 1rem;
  }

  .hero-title h1 {
    font-size: 3rem;
    line-height: 3rem;
  }

  .hero-title h1 br {
    display: none;
  }

  .our-story-banner .desc-wrapper {
    margin-top: 1.5rem;
  }

  .founder-image-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 30rem;
  }

  .founder-image-wrapper img {
    transform: none;
    margin: auto;
  }

  .founder-wrapper {
    margin-top: 13rem;
  }

  .founder-section .founder-name span {
    display: block;
  }

  .founder-section .cards-wrapper {
    margin-top: 5rem;
  }

  .custom-card {
    width: 100%;
    min-height: auto;
  }

  .lets-build h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .lets-build .description-wrapper .description br {
    display: none;
  }

  ul.footer-links {
    justify-content: space-between;
    padding-left: 0;
  }

  .site-footer .footer-logo img {
    height: 2.5rem;
  }

  .copyright-wrapper .d-flex {
    flex-direction: column;
  }

  section.copyright {
    padding-top: 0;
  }

  .investors-banner {
    padding-top: 6rem;
  }

  .investors-banner .desc-wrapper {
    margin-top: 1.5rem;
  }

  .investors-card {
    position: relative;
    min-height: 13rem;
  }

  .investors-card .image {
    position: absolute;
  }

  .investors-card .title {
    margin-left: 6rem;
  }

  .investors-card .descrip {
    display: block;
    margin-left: 6rem;
    color: #28324A;
  }

  .investors-card .icon {
    display: none;
  }

  .partner-title-wrapper p {
    width: 100%;
  }

  .partner-card .section-subtitle {
    width: 100%;
  }

  .partner-card .section-description {
    width: 100%;
  }

  .insights-banner {
    padding-top: 6rem;
  }

  .insights-detail-banner {
    padding-top: 6rem;
  }

  .contact-us-banner {
    padding-top: 6rem;
  }

  .form-section {
    padding-top: 1rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .form-section .row {
    gap: .625rem;
  }

  .insights-detail-wrapper .insight-detail-image {
    height: 22.5rem;
  }

  .partner-section .partner-vector {
    object-fit: contain;
  }

  .contact-us-banner .hero-title h1 br,
  .investors-banner .hero-title h1 br {
    display: block;
  }

}

@media (max-width:768px) {
  .section.desktopcard {
    display: none
  }

  .onlymobile,
  .mobile.owl-carousel {
    display: block !important
  }

  .invest-vision {
    padding: 4rem 0px;
  }
}


/* Prevent overflow and scale captcha on small screens */
.g-recaptcha {
  transform: scale(0.85);
  transform-origin: 0 0;
}

@media screen and (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.77);
    /* Tweak as needed for your layout */
    transform-origin: 0 0;
  }
}