html {
  font-size: 14px;
}

.container {
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 15.5px;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 16px;
  }
}


.nav-toggle {
  display: flex;
}



@media (max-width: 1023px) {

  /* Show login in mobile menu */
  .mobile-login {
    margin-top: 1rem;
    padding: 0 1.5rem;
  }

  .btn-login-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    padding: 0 2rem;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #016EEF 0%, #0180ff 100%);
    border: none;
    border-radius: 9999px;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 16px rgba(1, 110, 239, 0.3);
    transition: all 0.3s ease;
  }

  .btn-login-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 110, 239, 0.4);
  }

  /* Hide desktop login button on mobile */
  .header-actions {
    display: none;
  }

  .nav-container {
    padding: 0 1.25rem;
    height: 64px;
  }

  .header.scrolled .nav-container {
    height: 60px;
  }

  .logo img {
    height: 50px;
  }

  .header.scrolled .logo img {
    height: 45px;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .header.on-light .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(15, 23, 42, 0.1);
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    display: flex;
  }

  .nav-link {
    font-size: 16px;
    padding: 0.75rem 0;
    display: block;
    width: 100%;
    text-align: center;
  }




  .header-actions {
    display: none;
  }
}


@media (min-width: 1024px) {

  .mobile-login {
    display: none;
  }

  /* Show desktop header actions */
  .header-actions {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    /* Change from fixed */
    display: flex;
    /* Ensure it's visible */
    flex-direction: row;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    gap: 2.5rem;
    transform: none;
    /* Remove transform */
    opacity: 1;
    /* Ensure visible */
    border-bottom: none;
    box-shadow: none;
  }

  .header-actions {
    display: flex;
  }
}


@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
    padding: 7rem 0 4rem;
    overflow: hidden;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
  }

  .btn-large {
    height: 48px;
    padding: 0 1.75rem;
    width: 100%;
    max-width: 300px;
    font-size: 0.95rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-divider {
    width: 100px;
    height: 1px;
  }


  .hero-visual {
    order: -1;
    margin: 0 auto;
    max-width: 100%;
    padding: 1rem;
  }

  .geometric-container {
    width: 100%;
    height: 300px;
    max-width: 350px;
    margin: 0 auto;
  }

  .center-circle {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
  }

  .ring-1 {
    width: 140px;
    height: 140px;
  }

  .ring-2 {
    width: 160px;
    height: 160px;
  }

  .ring-3 {
    width: 180px;
    height: 180px;
  }

  .center-icon svg {
    width: 50px;
    height: 50px;
  }

  .feature-card {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    min-width: 160px;
  }

  .card-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .card-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .card-text h4 {
    font-size: 0.85rem;
    margin-bottom: 0.125rem;
  }

  .card-text p {
    font-size: 0.7rem;
  }

  .card-1 {
    top: 5%;
    right: 5%;
  }

  .card-2 {
    top: 40%;
    left: -5%;
  }

  .card-3 {
    bottom: 10%;
    right: 5%;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}


@media (max-width: 400px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .geometric-container {
    height: 250px;
  }

  .center-circle {
    width: 100px;
    height: 100px;
  }

  .ring-1 {
    width: 120px;
    height: 120px;
  }

  .ring-2 {
    width: 140px;
    height: 140px;
  }

  .ring-3 {
    width: 160px;
    height: 160px;
  }

  .feature-card {
    padding: 0.5rem 0.75rem;
    min-width: 140px;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    padding: 8rem 0 5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
  }


  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .geometric-container {
    width: 100%;
    height: 350px;
    max-width: 450px;
  }

  .center-circle {
    width: 150px;
    height: 150px;
  }

  .card-1 {
    right: 0;
  }

  .card-3 {
    right: 0;
  }
}


@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-content {
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .geometric-container {
    width: 400px;
    height: 400px;
  }

  .center-circle {
    width: 160px;
    height: 160px;
  }

  .card-1 {
    right: -15%;
  }

  .card-3 {
    right: -10%;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 4rem 0;
  }

  .services-section::before {
    top: -100px;
    height: 150px;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto 2.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .service-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.25rem;
    border-radius: 16px;
  }

  .service-icon svg {
    width: 28px;
    height: 28px;
  }

  .service-number {
    width: 36px;
    height: 36px;
    font-size: 1.125rem;
    top: -15px;
    right: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }

  .service-card {
    padding: 2.25rem 1.5rem 2rem;
  }
}


@media (max-width: 767px) {
  .about-section {
    padding: 4rem 0;
  }

  .about-section .section-title {
    font-size: 1.75rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }

  .about-image {
    order: -1;
  }

  .about-intro {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .about-description {
    font-size: 1rem;
    line-height: 1.7;
  }

  .why-choose-section {
    padding: 2.5rem 1.5rem;
    margin-bottom: 3rem;
    border-radius: 20px;
  }

  .sub-heading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-image {
    order: -1;
  }

  .why-intro {
    padding: 1.25rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  .why-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .due-diligence-section {
    margin-bottom: 3rem;
  }

  .sub-heading-center {
    font-size: 1.5rem;
  }

  .dd-intro {
    font-size: 1rem;
    line-height: 1.6;
  }

  .dd-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dd-item {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
  }

  .dd-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .mission-section {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }

  .mission-title {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
  }

  .mission-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .mission-text:last-child {
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-section {
    padding: 5rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .why-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .dd-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .mission-section {
    padding: 3.5rem 2.5rem;
  }

  .mission-title {
    font-size: 2.25rem;
  }

  .mission-text {
    font-size: 1.1rem;
  }
}


@media (max-width: 767px) {
  .reviews-section {
    padding: 4rem 0;
    min-height: auto;
  }

  .reviews-section::before {
    top: -100px;
    height: 150px;
  }

  .reviews-section .section-title {
    font-size: 1.75rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
    margin: 0 auto 2.5rem;
  }

  .review-card {
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
  }

  .review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .author-name {
    font-size: 0.95rem;
  }

  .author-company {
    font-size: 0.85rem;
  }

  .quote-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
  }

  .quote-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .reviews-section {
    padding: 5rem 0;
  }

  .reviews-section .section-title {
    font-size: 2.25rem;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 800px;
  }

  .review-card {
    padding: 2.25rem 2rem;
  }
}


@media (max-width: 767px) {
  .contact-section {
    padding: 4rem 0 5rem;
  }

  .contact-section::before {
    top: -100px;
    height: 150px;
  }

  .contact-section .section-title {
    font-size: 1.75rem;
  }

  .contact-section .section-description {
    font-size: 1rem;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group label {
    font-size: 0.875rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .quick-contact-info {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .quick-contact-item {
    width: 100%;
    padding: 0.875rem;
    font-size: 0.95rem;
    text-align: center;
  }

  .detailed-contact-link {
    margin-top: 2rem;
  }

  .detailed-contact-link a {
    height: 48px;
    padding: 0 1.5rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .contact-section {
    padding: 5rem 0 6rem;
  }

  .contact-section .section-title {
    font-size: 2.25rem;
  }

  .contact-form-container {
    max-width: 600px;
    padding: 2.5rem;
  }

  .quick-contact-info {
    gap: 1.25rem;
  }
}


@media (max-width: 767px) {

  .btn-primary,
  .btn-secondary {
    font-size: 0.95rem;
  }

  .btn-large {
    height: 46px;
  }

  .services-cta .btn-large {
    width: 100%;
    max-width: 300px;
  }

  .reviews-cta .btn-large {
    width: 100%;
    max-width: 300px;
  }
}


@media (max-width: 767px) {
  .section-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
    margin-bottom: 1.5rem;
  }
}

.mobile-hide {
  display: none;
}

@media (min-width: 768px) {
  .mobile-hide {
    display: block;
  }

  .mobile-only {
    display: none;
  }
}


@media (max-width: 767px) {
  .section-header {
    margin-bottom: 2.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 767px) {
  .animate-on-scroll {
    animation-delay: 0.1s !important;
  }

  .delay-100 {
    animation-delay: 0.1s !important;
  }

  .delay-200 {
    animation-delay: 0.15s !important;
  }

  .delay-300 {
    animation-delay: 0.2s !important;
  }

  .delay-400 {
    animation-delay: 0.25s !important;
  }

  .delay-500 {
    animation-delay: 0.3s !important;
  }

  .delay-600 {
    animation-delay: 0.35s !important;
  }

  .delay-800 {
    animation-delay: 0.4s !important;
  }

  .delay-1000 {
    animation-delay: 0.45s !important;
  }

  .delay-1200 {
    animation-delay: 0.5s !important;
  }
}


@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.75rem;
  }

  .geometric-container {
    width: 500px;
    height: 500px;
  }

  .center-circle {
    width: 200px;
    height: 200px;
  }
}

@media print {

  .header,
  .scroll-indicator,
  .hero-buttons,
  .services-cta,
  .reviews-cta,
  .contact-form,
  .quick-contact-info,
  .detailed-contact-link,
  .nav-toggle {
    display: none !important;
  }

  .hero-section,
  .services-section,
  .about-section,
  .reviews-section,
  .contact-section {
    padding: 1rem 0 !important;
    min-height: auto !important;
    page-break-inside: avoid;
  }

  .hero-background,
  .reviews-background,
  .animated-grid,
  .blur-sphere {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
    font-size: 12pt !important;
  }

  .gradient-text {
    background: none !important;
    -webkit-text-fill-color: black !important;
    color: black !important;
  }

  .hero-visual,
  .about-image,
  .why-image {
    display: none !important;
  }

  .service-card,
  .review-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4 {
    page-break-after: avoid;
  }

  a {
    color: black !important;
    text-decoration: underline !important;
  }
}


@media (max-width: 767px) {
  .animate-on-scroll {
    opacity: 0;
  }

  .animate-on-scroll.animated {
    opacity: 1;
  }
}

@media (hover: none) and (pointer: coarse) {

  .hover-lift:hover,
  .service-card:hover,
  .review-card:hover,
  .feature-card:hover,
  .dd-item:hover {
    transform: none;
  }
}


@media (max-width: 1023px) {
  .nav-menu:not(.active) {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero-section .hero-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-section .hero-visual {
    order: -1;
  }

  .services-detailed-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}


@media (max-width: 768px) {

  .featured-service,
  .core-services,
  .benefits-section,
  .industries-section,
  .services-cta-light {
    padding: 5rem 0;
  }

  .featured-box {
    padding: 2.5rem 2rem;
  }

  .featured-icon {
    width: 80px;
    height: 80px;
  }

  .featured-title {
    font-size: 1.625rem;
  }

  .service-detailed-card {
    padding: 2.5rem 2rem;
  }

  .service-icon-large {
    width: 70px;
    height: 70px;
  }

  .service-detailed-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .service-detailed-title {
    font-size: 1.375rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-cta-light .section-title {
    font-size: 2.5rem;
  }

  .services-cta-light .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .services-cta-light .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-body-content {
    font-size: 0.8125rem;
    margin: 1.25rem 0;
  }

  .hero-body-content p {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 640px) {

  .featured-service,
  .core-services,
  .benefits-section,
  .industries-section,
  .services-cta-light {
    padding: 4rem 0;
  }

  .featured-box {
    padding: 2rem 1.5rem;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .service-detailed-card {
    padding: 2rem 1.5rem;
  }

  .benefit-card,
  .industry-card {
    padding: 2rem 1.5rem;
  }

  .services-cta-light .section-title {
    font-size: 2rem;
  }
}


@media (max-width: 1024px) {
  .contact-content-section .container {
    max-width: 640px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-form-wrapper {
    order: -1;
  }

  .form-card {
    width: 100%;
    padding: 20px 20px;
  }
}


@media (max-width: 768px) {
  .contact-hero {
    min-height: auto;
  }

  .hero-content-center {
    padding: 0 1.25rem;
  }

  .contact-hero .hero-title {
    font-size: 2.2rem;
    line-height: 1.25;
  }

  .contact-hero .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .contact-quick-pills {
    flex-direction: column;
    width: 100%;
  }

  .contact-pill {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.25rem;
    font-size: 0.9rem;
  }

  .contact-content-section {
    padding: 3.5rem 0 4.5rem;
  }

  .contact-content-section .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .contact-grid {
    gap: 2.25rem;
  }

  .section-title-dark {
    font-size: 1.7rem;
  }

  .info-text {
    font-size: 0.98rem;
    margin-bottom: 1.4rem;
  }

  .areas-list li {
    font-size: 0.9rem;
    padding: 0.65rem 0;
  }

  .office-location {
    padding: 1.25rem;
    flex-direction: row;
    align-items: flex-start;
  }


  .form-title {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .form-group label {
    font-size: 0.86rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.9rem 1rem;
    font-size: 16px;
  }

  .form-group textarea {
    min-height: 130px;
  }

  .btn-submit-contact {
    height: 50px;
    font-size: 0.9rem;
    border-radius: 10px;
    letter-spacing: 0.08em;
  }


  .map-section {
    margin-top: 3rem;
  }

  .map-title {
    font-size: 1.6rem;
    margin-bottom: 1.6rem;
  }

  .map-container {
    border-radius: 18px;
    border-width: 3px;
  }

  .map-container iframe {
    height: 320px;
  }
}


@media (max-width: 480px) {
  .contact-hero .hero-title {
    font-size: 1.9rem;
  }

  .contact-hero .hero-description {
    font-size: 0.95rem;
  }

  .contact-content-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }


  .form-group input,
  .form-group textarea {
    padding: 0.85rem 0.9rem;
  }

  .btn-submit-contact {
    height: 48px;
    font-size: 0.85rem;
  }
}