/* Responsive Design */
/* @media (min-width: 1600px) {
  .partner-logo .section-title {
    font-size: 5rem;
  }
} */
@media (min-width: 1400px) {
  .sectionTen .section-title {
    font-size: 4.5rem;
  }

  .careerJoin .greatMindIcon {
    left: calc(100% - 62px);
  }
}

@media (max-width: 1600px) {
  .lifeMindruby h1.hero-description {
    font-size: 56px;
    max-width: 1078px;
  }

  .subtitle {
    font-size: 26px;
  }

  .nav-menu li a {
    font-size: 16px;
  }

  .logo-image {
    height: 50px;
    margin-top: 5px;
  }

  .hero-description {
    font-size: 40px;
  }

  .hero-title {
    font-size: 74px;
  }

  .animated-text-container {
    height: 1.1em;
  }

  .badge-logo img {
    height: 60px;
  }

  /* .section-title {
    font-size: 4rem;
  } */
  .section-title div {
    margin-bottom: 0px;
  }

  .sectionFive .left h2 {
    font-size: 65px;
  }

  .testimonial-text {
    font-size: 30px;
    line-height: 47px;
  }
}

@media (max-width: 1500px) {
  .team-owl-slider .owl-nav .owl-next {
    right: 0;
  }

  .team-owl-slider .owl-nav .owl-prev {
    left: 0;
  }

  .sectionFive .left {
    max-width: 700px;
  }

  /* .section-title {
    font-size: 3.5rem;
  } */
  .countBx .number {
    font-size: 40px;
  }

  .countBx .title {
    font-size: 20px;
  }

  .badge-logo img {
    height: 50px;
  }

  .hero-description {
    font-size: 34px;
  }

  .hero-title {
    font-size: 70px;
  }

  .animated-text-container {
    height: 1.1em;
  }
}

@media (max-width: 1400px) {
  .stat-box {
    padding: 16px;
  }

  .snapshotContainer:after {
    bottom: -40px;
  }

  .keyPoints > div {
    width: calc(33% - 18px);
  }
}

@media (max-width: 1200px) {
  .digitalTransformationSec .d-flex.items-end {
    order: 2;
    display: none !important;
  }

  .techContainer .col-6 {
    width: 100%;
  }

  .digitalTransformationSec .d-flex.gap-3 {
    flex-wrap: wrap;
  }

  .techContainer .justify-content-end {
    justify-content: flex-start !important;
  }

  .finance-section-inner {
    align-items: end;
  }

  .stats-wrapper {
    flex-wrap: wrap;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .para1 {
    font-size: 22px;
  }

  .greatMindIcon {
    top: 19px;
  }

  .sectionFive .left h2 {
    font-size: 55px;
  }

  .finance-section-inner {
    flex-wrap: nowrap;
    padding: 30px 30px 0px 30px;
  }

  .finance-section .finance-content {
    margin-bottom: 30px;
  }

  .finance-section .finance-image {
    flex: auto;
  }

  .finance-section .finance-content {
    margin-bottom: 30px;
  }

  .industyContainer {
    flex-wrap: wrap;
  }

  .nonprofit-section ul {
    max-width: 400px;
    margin-top: 25px;
  }

  .nonprofitContainer.industySection {
    margin-top: 30px;
  }

  .testimonial-content {
    padding-left: 40px;
  }

  .testimonial-text {
    font-size: 30px;
  }

  .content {
    max-width: 600px;
  }

  .nonprofitContainer {
    width: 100%;
    flex: auto;
  }

  .sectionFive .left {
    max-width: 100%;
  }

  /* .sectionFive .right {
    display: none;
  } */

  .sectionFive .subtitle {
    max-width: 100%;
  }

  .agentforce-content {
    flex-direction: column;
    justify-content: left;
  }

  .agentforce-image {
    margin-top: auto;
    position: relative;
    bottom: 0;
  }

  .agentforce-content {
    align-items: start !important;
  }

  .agentforce-section {
    padding-top: 30px;
  }

  .countBx .countList > div {
    min-width: calc(100% / 3 - 14px);
  }

  .countBx .countList > div:nth-child(4) {
    border-left: none;
  }

  .countBx .countList > div.count1 {
    padding-left: 26px;
  }

  .countList {
    flex-wrap: wrap;
  }

  .right-col {
    max-width: 500px;
  }

  .service-item {
    margin-bottom: 15px;
  }

  .salesforce-section.containerBx {
    margin-bottom: 40px;
  }

  .sectionNine .section-title {
    font-size: 2.5rem;
  }

  .intro-text {
    margin-bottom: 2rem;
  }

  .team-owl-slider .owl-nav .owl-prev {
    left: -15px;
  }

  .team-owl-slider .owl-nav .owl-next {
    right: -15px;
  }

  .nav-menu {
    gap: calc(var(--spacing-unit) * 1.5);
  }

  .nav-menu li a {
    font-size: 13px;
  }

  .hero-title {
    font-size: 64px;
  }

  .animated-text-container {
    height: 1.1em;
  }

  .hero-description {
    font-size: 28px;
  }

  .recognition-section {
    gap: calc(var(--spacing-unit) * 4);
  }

  .footer-content {
    grid-template-columns: 1.5fr 1fr 1fr auto;
    gap: 40px;
  }

  .company-info {
    max-width: 350px;
  }
}

@media (min-width: 992px) {
  #kh-main-container #kh-embed-jobs-filters {
    max-width: 33%;
    flex: 0 0 33%;
  }

  #kh-main-container #kh-job-widget {
    flex: 0 0 66%;
    max-width: 66%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
  }
}

@media (max-width: 992px) {
  .keyPoints > div {
    width: calc(50% - 18px);
  }

  .services-grid .service-box {
    width: calc(50% - 15px);
  }

  .services-grid > div {
    flex-wrap: wrap;
  }

  .joinContainer .greatMindIcon {
    display: none;
  }

  .nav-tabs .nav-link {
    padding: 16px;
  }

  .card {
    padding: 25px 40px;
  }

  .footer {
    padding: 60px 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }

  .company-info {
    max-width: 100%;
    grid-column: 1 / -1;
  }

  .certifications {
    grid-column: 1 / -1;
    align-items: center;
  }

  .cert-badges {
    flex-direction: row;
    gap: 16px;
    align-items: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .finance-image img.main-img {
    max-width: 100%;
  }

  .finance-image {
    margin-top: auto;
  }

  .left-col img {
    max-width: 450px;
  }

  .right-col {
    max-width: 100%;
  }

  .header {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  }

  .testimonial-owl-slider .owl-nav {
    bottom: 16px;
  }

  .sectionTenInner .containerBx {
    flex-direction: column;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .sectionTenInner {
    background-position: left 0;
    padding-top: 40px;
  }

  .team-woman {
    margin: 0 auto;
    display: block;
  }

  .testimonial-text {
    font-size: 24px;
    line-height: normal;
  }

  .testimonial-image {
    max-width: 390px;
  }

  /* Mobile menu toggle animation for cross icon */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -4px);
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-dark);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 6);
    transition: right 0.4s ease;
    z-index: 1001;
    padding-right: 16px;
    padding-left: 16px;
  }

  .nav-menu.active {
    right: 0;
  }

  .header.scrolled .mobile-menu-toggle.active span {
    background-color: var(--color-white);
  }

  .nav-menu li a,
  .header.scrolled .nav-menu li a {
    font-size: 24px;
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .nav-menu li a:hover {
    color: var(--color-red);
    transform: translateY(-2px);
  }

  /* Mobile active navigation state */
  .nav-menu li a.active {
    color: var(--color-red) !important;
  }

  /* Mobile Dropdown Styles */
  .nav-item-dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .nav-item-dropdown > a {
    width: 100%;
  }

  .dropdown-toggle {
    position: static;
    padding: 8px;
    margin-left: 10px;
  }

  .nav-item-dropdown a {
    justify-content: center;
  }

  .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .dropdown-menu {
    position: static;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: none;
    transition: all 0.3s ease;
  }

  body .nav-item-dropdown.active .dropdown-menu {
    opacity: 1;
    max-height: 250px;
    visibility: visible;
  }

  .nav-item-dropdown:hover .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
  }

  .dropdown-menu li a {
    padding: 15px 20px 15px 40px;
    color: var(--color-white) !important;
    font-size: 16px;
    border-left: 3px solid transparent;
  }

  .dropdown-menu li a:hover,
  .dropdown-menu li a.active {
    background-color: rgba(238, 119, 61, 0.3);
    border-left-color: var(--color-red);
    color: var(--color-white) !important;
  }

  .hero-title {
    font-size: 48px;
  }

  .animated-text-container {
    height: 1.1em;
  }

  .hero-description {
    font-size: 22px;
  }

  .recognition-section {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(var(--spacing-unit) * 3);
    position: static;
    transform: none;
    margin-top: 0;
  }

  .badge-number {
    font-size: 42px;
  }

  .salesforce-section {
    flex-direction: column;
    text-align: center;
  }

  .right-col {
    text-align: left;
  }

  .service-item {
    flex-direction: row;
    justify-content: flex-start;
  }

  .footer-bottom .divideLine {
    display: none;
  }
}

@media (max-width: 768px) {
  .containerBx .w50 {
    width: 100%;
  }
  .finance-section .finance-image {
    display: none;
  }

  .stat-box {
    padding: 16px;
    max-width: calc(50% - 19px);
  }

  .features-section {
    gap: 30px;
    text-align: center;
  }

  .feature-box {
    align-items: center;
  }

  .lifeMindruby .hero-content {
    padding: 0;
  }

  .lifeMindruby h1.hero-description {
    font-size: 35px;
  }

  .lifeMindruby.hero {
    min-height: 600px;
  }

  .subtitle {
    font-size: 20px;
  }

  .card h3 {
    font-size: 30px;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .image-popup-close {
    top: -30px;
    right: -30px;
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .image-popup-prev {
    left: -60px;
  }

  .image-popup-next {
    right: -60px;
  }

  .image-popup-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .footer {
    padding: 40px 0 0;
  }

  .footer-content {
    gap: 32px;
    margin-bottom: 32px;
  }

  .company-info {
    text-align: center;
  }

  .certifications {
    align-items: center;
  }

  .cert-badges {
    justify-content: center;
  }

  .contact-item {
    text-align: left;
  }

  .social-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-legal {
    justify-content: center;
  }

  .sectionNine {
    padding: 0;
    margin-top: 0;
  }

  .sectionNine .section-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .team-info {
    padding: 20px 15px;
  }

  .team-name {
    font-size: 1.1rem;
  }

  .team-role {
    font-size: 0.9rem;
  }

  .team-owl-slider .owl-nav button {
    width: 40px;
    height: 40px;
  }

  .team-owl-slider .owl-nav .owl-prev {
    left: -10px;
  }

  .team-owl-slider .owl-nav .owl-next {
    right: -10px;
  }

  .hero {
    padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 3)
      calc(var(--spacing-unit) * 6);
  }

  .hero-content {
    padding-bottom: calc(var(--spacing-unit) * 8);
    padding-top: calc(var(--spacing-unit) * 4);
  }

  .recognition-section {
    padding: 0;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-title {
    font-size: 36px;
  }

  .animated-text-container {
    height: 1.2em;
  }

  .hero-description {
    font-size: 18px;
  }

  .recognition-badges {
    gap: calc(var(--spacing-unit) * 3);
  }

  .badge-item {
    gap: calc(var(--spacing-unit) * 1.5);
    width: calc(50% - 56px);
  }

  .count5 .white-space {
    white-space: normal;
  }

  .badge-number {
    font-size: 36px;
  }

  .badge-line {
    font-size: 10px;
  }

  .badge-logo img {
    height: 50px;
  }

  .sectionFive .left h2 {
    font-size: 30px;
    line-height: normal;
  }

  .sectionFive .subtitle {
    font-size: 20px;
  }

  .arrowContainer {
    display: none;
  }

  .finance-section-inner {
    flex-direction: column;
    background-image: none;
  }

  .nonprofit-section,
  .industySection .nonprofit-section {
    background-image: none;
  }

  .testimonial-slide {
    flex-direction: column;
  }

  .testimonial-content {
    padding-left: 0;
    text-align: center;
  }

  .owl-carousel .owl-nav button {
    width: 50px;
    height: 50px;
  }

  .owl-carousel .owl-nav .owl-prev {
    bottom: 0;
    position: absolute;
    left: 0;
  }

  .owl-carousel .owl-nav .owl-next {
    bottom: 0;
    position: absolute;
    right: 0;
  }

  .sectionSevenInner .d-flex,
  .sectionNine .d-flex {
    flex-direction: column;
    text-align: center;
  }

  .sectionSevenInner .d-flex .divideLine,
  .sectionNine .d-flex .divideLine,
  .contactImg {
    display: none;
  }

  .testimonial-owl-slider .owl-nav {
    width: 100%;
  }

  .testimonial-text {
    font-size: 18px;
  }

  .testimonial-content {
    margin-top: 16px;
  }

  .testimonial-author {
    font-size: 34px;
  }
}

@media (max-width: 660px) {
  .contact-section {
    padding: 30px 16px;
  }
  .address-block,
  .call-block {
    max-width: 100%;
  }
  .heading.d-flex.flex-column.gap-5 {
    gap: 1rem !important;
  }

  .joinContainer {
    padding: 40px 0;
  }

  .w-friend {
    width: 100%;
  }

  .w-430 {
    width: 100%;
  }

  .keyPoints > div {
    width: 100%;
  }

  .techList .list {
    width: calc(50% - 13px);
  }

  .techList .icon {
    width: 100%;
  }

  .finance-section-inner {
    padding: 15px 15px 0px 15px;
  }

  .nonprofitContainer.industySection {
    margin-top: 0;
  }

  .succesSpeaker {
    margin-top: 30px;
  }

  .finance-icons .icon-box {
    width: calc(50% - 11px);
  }

  .services-grid .service-box {
    width: 100%;
  }

  .ourApproach {
    margin-top: 50px;
  }

  .techContainer {
    padding: 20px 0;
  }

  .light-theme .mobile-menu-toggle span {
    background-color: var(--color-dark);
  }

  .light-theme .mobile-menu-toggle.active span {
    background-color: var(--color-white);
  }

  .stat-box {
    max-width: 100%;
  }

  .features-section {
    grid-template-columns: repeat(1, 1fr);
  }

  .joinContainerInner .cta-btn {
    font-size: 18px;
  }

  .nav-menu li a,
  .header.scrolled .nav-menu li a {
    font-size: 16px;
  }

  .teamBtn {
    width: 100%;
    justify-content: center;
  }

  .greatMindIcon {
    display: none;
  }

  .sectionSeven {
    margin-top: 50px;
  }

  .sectionTen {
    margin-top: 0;
  }

  .nonprofit-section .title {
    font-size: 34px;
  }

  .nonprofit-section .subtitle {
    font-size: 24px;
  }

  .team-woman {
    max-width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .countBx .countList > div {
    min-width: calc(100% / 2 - 14px);
  }

  .countBx .countList > div:nth-child(even) {
    border-left: 1px solid #032d6031;
  }

  .countBx .countList > div {
    border-left: none;
  }

  .features {
    font-size: 18px;
  }

  .intro-text {
    font-size: 18px;
  }

  .dummy-icon {
    display: none;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .section-title div {
    line-height: normal;
  }

  .salesforce-section {
    gap: 0;
  }

  .logo {
    height: 40px;
  }

  .logo-image {
    height: 40px;
  }

  .hero-title {
    font-size: 28px;
  }

  .animated-text-container {
    height: 1.2em;
  }

  .hero-description {
    font-size: 16px;
  }

  .recognition-label h3 {
    font-size: 18px;
  }

  .badge-number {
    font-size: 28px;
  }

  .recognition-badges {
    gap: calc(var(--spacing-unit) * 2);
  }
}

@media (max-width: 480px) {
  .agentforce-image {
    display: none;
  }

  .footer {
    padding: 32px 0 0;
  }

  .footer-content {
    gap: 24px;
    margin-bottom: 24px;
  }

  .company-description {
    font-size: 13px;
    margin-bottom: 24px;
  }

  .contact-details {
    font-size: 13px;
  }

  .footer-menu li a {
    font-size: 13px;
  }

  .cert-badges {
    flex-direction: column;
    gap: 12px;
  }

  .cert-badge {
    padding: 12px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}
