@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700&display=swap');
/* =====================================================================
   AppMotion CMS layout - base
   ===================================================================== */

.f-14 {
    font-size: 14px !important;
}
.f-16 {
    font-size: 16px !important;
}
.f-18 {
    font-size: 18px !important;
}

.am-page {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #1a202c;
    overflow-x: hidden;
}
.am-page h1,
.am-page h2,
.am-page h3,
.am-page h4,
.am-page h5 {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    color: #1a202c;
    margin: 0;
}
.am-page p {
    margin: 0;
    color: #64748b;
    font-size: 18px;
}
.am-page a {
    text-decoration: none;
    color: inherit;
}
.am-page .container {
    max-width: 1200px;
}
.am-section {
    padding: 60px 0;
}
.am-section-p {
    padding: 120px 0;
}
.am-section-pt {
    padding: 120px 0 60px 0;
}
.am-section-pb {
    padding: 60px 0 120px 0;
}
.am-section-light {
    background: #f7f9fc;
}
.am-section-head {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}
.am-section-head h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}
.am-section-head p {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}
.am-title-left {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.am-title-left .am-accent {
    color: #06a5f4;
}
.am-text-muted {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
}
.am-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    transition: all .2s ease;
}
.am-btn-primary {
    background: #06a5f4;
    color: #fff !important;
}
.am-btn-primary:hover {
    background: #0489cc;
    color: #fff;
}
.am-btn-outline {
    border: 1px solid #06a5f4;
    color: #06a5f4 !important;
}
.am-btn-outline:hover {
    background: #06a5f4;
    color: #fff !important;
}

.am-border-top-bottom {
    border-top-width: 1px;
    border-top-style: solid;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #e2e8f0;
}

/* =====================================================================
   Hero
   ===================================================================== */
.am-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 120px;
}
.am-hero-bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 736px;
    max-height: 100%;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 0;
}
.am-hero > .container {
    position: relative;
    z-index: 1;
}
.am-hero-title {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 64px;
    letter-spacing: 0;
    margin-bottom: 0;
}
.am-hero-title .text-wrapper {
    color: #1a202c;
}
.am-hero-title .span,
.am-hero-title .am-hero-accent {
    color: #06a5f4;
}
.am-hero-desc-wrap {
    padding-top: 24px;
}
.am-hero-desc {
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    color: #64748b;
    font-size: 18px;
    line-height: 29.2px;
    margin-bottom: 0;
}
.am-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 32px;
}
.am-hero-media {
    position: relative;
}
.am-hero-image {
    width: 100%;
    min-height: 465px;
    border-radius: 16px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0px 20px 25px -5px rgba(0,0,0,.1), 0px 8px 10px -6px rgba(0,0,0,.1);
}
.am-hero-badge {
    position: absolute;
    left: -16px;
    bottom: -24px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,.1), 0px 4px 6px -4px rgba(0,0,0,.1);
    max-width: 260px;
}
.am-hero-badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(6,165,244,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.am-hero-badge-number {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 14px;
}
.am-hero-badge-label {
    color: #64748b;
    font-size: 11px;
}

/* =====================================================================
   Info bar
   ===================================================================== */
.am-infobar {
    background: #031740;
    padding: 40px 24px;
}
.am-infobar-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.am-infobar-label {
    color: rgba(255,255,255,.9);
    font-size: 11px;
    letter-spacing: 1.2px;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
}
.am-infobar-value {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
}

/* =====================================================================
   About / values
   ===================================================================== */
.am-about-text {
    color: #64748b;
    font-size: 16px;
    line-height: 1.65;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}
.am-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
}
.am-value-card {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
}
.am-value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.am-value-icon img {
    width: 48px;
    height: 48px;
}
.am-value-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}
.am-value-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================================
   Services
   ===================================================================== */
.am-service-card {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    height: 100%;
}
.am-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.am-service-icon img {
    width: 56px;
    height: 56px;
}
.am-service-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}
.am-service-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* =====================================================================
   Client types
   ===================================================================== */
.am-clients {
    padding: 106px 139px 105px;
}
.am-clients-illustration {
    display: block;
    max-width: 393px;
    width: 100%;
    height: auto;
    margin-top: 32px;
}
.am-clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.am-client-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
}
.am-client-icon,
.am-client-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}
.am-client-icon {
    background: rgba(6,165,244,.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.am-client-card h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 4px;
}
.am-client-card p {
    color: #64748b;
    font-size: 12px;
    line-height: 19.5px;
}

/* =====================================================================
   Industries
   ===================================================================== */
.am-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
}
.am-industry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.am-industry-icon,
.am-industry-icon-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.am-industry-icon {
    background: rgba(6,165,244,.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.am-industry-card h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 19.2px;
    text-align: center;
    margin: 0;
}

/* =====================================================================
   Products
   ===================================================================== */
.am-product-card {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
}
.am-product-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.am-product-tag {
    display: block;
    color: #06a5f4;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 4px;
}
.am-product-head h3 {
    font-size: 24px;
    font-weight: 800;
}
.am-round-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1a202c;
    transition: all .2s ease;
}
.am-round-link:hover {
    background: #06a5f4;
    border-color: #06a5f4;
    color: #fff;
}
.am-product-card > p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.am-product-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 12px;
}
.am-users-icon {
    width: 15px;
    height: 17px;
    margin-right: 8px;
    margin-bottom: 5px;
}

/* =====================================================================
   Stats bar
   ===================================================================== */
.am-stats-bar {
    background: #031740;
    padding: 64px 0;
}
.am-stat-number {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 800;
    font-size: 48px;
    color: #fff;
    line-height: 1;
}
.am-stat-label {
    color: rgba(255,255,255,.7);
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: .35px;
    margin-top: 12px;
}

/* =====================================================================
   Process
   ===================================================================== */
.am-process-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.am-process-step {
    display: flex;
    align-items: center;
    gap: 96px;
    width: 100%;
}
.am-process-text {
    flex: 1 1 0;
    min-width: 0;
}
.am-process-number {
    display: block;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #06a5f4;
    font-size: 96px;
    line-height: 96px;
    margin-bottom: 24px;
}
.am-process-step h4 {
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 24px;
}
.am-process-step p {
    color: #64748b;
    font-size: 16px;
    line-height: 26px;
}
.am-process-img {
    width: 42%;
    max-width: 492px;
    height: auto;
    flex-shrink: 0;
}
.am-process-connector {
    width: 100%;
    height: auto;
}

/* =====================================================================
   Team
   ===================================================================== */
.am-team-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
    margin-bottom: 40px;
}
.am-team-head .am-title-left {
    margin-bottom: 0;
    flex-shrink: 0;
}
.am-team-head-text {
    width: 384px;
    max-width: 100%;
    color: #64748b;
    font-size: 14px;
    line-height: 22.8px;
    margin: 0;
}
.am-team-list {
    display: flex;
    flex-direction: column;
}
.am-team-row {
    display: grid;
    grid-template-columns: 48px 1fr 2fr;
    column-gap: 24px;
    align-items: start;
    padding: 28px 0;
    border-bottom: 1px solid #e2e8f0;
}
.am-team-index {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #e2e8f0;
    padding-top: 2px;
}
.am-team-row h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24.8px;
    color: #1a202c;
}
.am-team-row p {
    color: #64748b;
    font-size: 14px;
    line-height: 22.8px;
    margin: 0;
}
.am-team-row-active .am-team-index,
.am-team-row-active h5 {
    color: #06a5f4;
}

/* =====================================================================
   Social
   ===================================================================== */
.am-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 15px;
}
.am-social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
}
.am-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(6,165,244,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.am-social-icon img {
    width: 18px;
    height: 18px;
}
.am-social-card strong {
    display: block;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #1a202c;
    font-size: 14px;
    line-height: 14px;
}
.am-social-card small {
    display: block;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
    line-height: 16px;
    margin-top: 4px;
}

/* =====================================================================
   Legal info
   ===================================================================== */
.am-legal {
    border-bottom: 1px solid #e2e8f0;
}
.am-legal-side {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.am-legal-side .am-title-left {
    margin-bottom: 16px;
}
.am-legal-side-text {
    color: #64748b;
    font-size: 14px;
    line-height: 22.8px;
    margin: 0;
}
.am-legal-illustration {
    width: 434px;
    max-width: 100%;
    height: auto;
}
.am-legal-table {
    display: flex;
    flex-direction: column;
}
.am-legal-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}
.am-legal-row:last-child {
    border-bottom: none;
}
.am-legal-label {
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
    letter-spacing: .3px;
    line-height: 16px;
    flex: 0 0 176px;
    padding-top: 2px;
}
.am-legal-value {
    color: #1a202c;
    font-size: 14px;
    line-height: 20px;
    flex: 1;
    min-width: 0;
}

/* =====================================================================
   Portfolio
   ===================================================================== */
.am-portfolio {
    position: relative;
    overflow: hidden;
}
.am-portfolio-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 771px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.am-portfolio > .container {
    position: relative;
    z-index: 1;
}

/* Tabs (XF\Ui\Tab) styled like the Figma pills */
.am-portfolio-tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 44px;
    border-bottom: none;
    margin-bottom: 45px;
    padding: 0;
}
.am-portfolio-tabs .nav-item {
    margin: 0;
}
.am-portfolio-tabs .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 156px;
    height: 49px;
    padding: 0 20px;
    background: #031740;
    border: none;
    border-radius: 10px;
    font-family: "Montserrat", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    transition: background .2s ease;
}
.am-portfolio-tabs .nav-link:hover {
    background: #0a2a5c;
    color: #fff;
}
.am-portfolio-tabs .nav-link.active {
    background: #27cdf2;
    color: #fff;
    font-weight: 600;
}
.am-portfolio-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: #27cdf2;
    border-bottom: 0;
}
.am-portfolio-tabs .tab-content {
    border: none;
    padding: 0;
    background: transparent;
}

/* Cards grid */
.am-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 29px 24px;
}
.am-portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 372 / 248;
    background: #f1f5f9;
}
.am-portfolio-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.am-portfolio-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 98px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 17px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 6px 20px rgba(7, 133, 242, .15);
    opacity: 0;
    transform: translateY(105%);
    transition: opacity .3s ease, transform .3s ease;
}
.am-portfolio-card:hover .am-portfolio-card-caption,
.am-portfolio-card-demo .am-portfolio-card-caption {
    opacity: 1;
    transform: translateY(0);
}
.am-portfolio-card-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #484747;
}
.am-portfolio-card-arrow {
    width: 44.5px;
    height: 44.8px;
    flex-shrink: 0;
}

/* =====================================================================
   Technologies
   ===================================================================== */
.am-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.am-tech-tags span {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 30px;
    padding: 6px 14px;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
}
.am-skill-bars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.am-skill-head {
    display: flex;
    justify-content: space-between;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
}
.am-skill-head span:last-child {
    font-weight: 700;
    color: #06a5f4;
}
.am-skill-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 30px;
    overflow: hidden;
}
.am-skill-fill {
    height: 100%;
    background: #06a5f4;
    border-radius: 30px;
}

/* =====================================================================
   Certifications
   ===================================================================== */
.am-cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 17px;
}
.am-cert-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 0;
}
.am-cert-card:nth-child(-n+2) {
    border-bottom: 1px solid #e2e8f0;
}
.am-cert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.am-cert-icon img {
    width: 20px;
    height: 20px;
}
.am-cert-card-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.am-cert-tag {
    display: block;
    color: #06a5f4;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 1.2px;
    line-height: 16px;
    text-transform: uppercase;
}
.am-cert-card h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 25.2px;
    margin: 4px 0 0;
}
.am-cert-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 22.8px;
    margin: 6px 0 0;
}

.am-timeline {
    position: relative;
    max-width: 1124px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}
.am-timeline::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 44px;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: repeating-linear-gradient(to bottom, #06a5f4 0, #06a5f4 8px, transparent 8px, transparent 16px);
}
.am-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.am-timeline-card {
    width: 50%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 6px 20px rgba(7,133,242,.15);
    padding: 24px 28px;
}
.am-timeline-left .am-timeline-card {
    margin-right: auto;
    padding-right: 73px;
}
.am-timeline-right .am-timeline-card {
    margin-left: auto;
    padding-left: 73px;
}
.am-timeline-card p {
    color: #484747;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 28px;
}
.am-timeline-year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 90px;
    height: 88px;
    border-radius: 50%;
    background: #06a5f4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 28px;
    z-index: 1;
}

/* =====================================================================
   History decorative backgrounds
   ===================================================================== */
.am-history {
    position: relative;
    overflow: hidden;
}
.am-history-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1440px;
    height: 771px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.am-history-bg-top {
    top: 0;
}
.am-history-bg-bottom {
    bottom: 0;
}
.am-history > .container {
    position: relative;
    z-index: 1;
}

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 991px) {
    .am-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .am-process-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    .am-process-reverse .am-process-text {
        order: -1;
    }
    .am-process-text {
        width: 100%;
    }
    .am-process-img {
        width: 100%;
        max-width: 420px;
    }
    .am-process-connector {
        display: none;
    }
    .am-process-number {
        font-size: 64px;
        line-height: 64px;
        margin-bottom: 16px;
    }
    .am-process-step h4 {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 16px;
    }
    .am-legal-row {
        flex-direction: column;
        gap: 8px;
    }
    .am-legal-label {
        flex: none;
        padding-top: 0;
    }
    .am-legal .col-lg-6 + .col-lg-6 {
        margin-top: 32px;
    }
    .am-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .am-cert-grid {
        grid-template-columns: 1fr;
    }
    .am-cert-card:nth-child(-n+3) {
        border-bottom: 1px solid #e2e8f0;
    }
    .am-certifications .col-lg-4 {
        margin-top: 32px;
    }
    .am-team-head {
        flex-direction: column;
        gap: 16px;
    }
    .am-team-head-text {
        width: 100%;
    }
    .am-team-row {
        grid-template-columns: 48px 1fr;
        row-gap: 8px;
    }
    .am-team-row p {
        grid-column: 2;
    }
    .am-social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .am-social .col-lg-4 {
        margin-top: 32px;
    }
    .am-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .am-portfolio-tabs .nav-tabs {
        gap: 16px;
    }
}
@media (max-width: 575px) {
    .am-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .am-portfolio-tabs .nav-link {
        min-width: 0;
        flex: 1 1 40%;
    }
}
@media (max-width: 767px) {
    .am-page .container {
        padding: 0 !important;
    }
    .am-hero-title {
        font-size: 32px;
    }
    .am-section {
        padding: 56px 24px;
    }
    .am-section-head h2,
    .am-title-left {
        font-size: 28px;
    }
    .am-values-grid {
        grid-template-columns: 1fr;
    }
    .am-hero-badge {
        position: static;
        margin-top: 16px;
        max-width: 100%;
    }
    .am-timeline {
        gap: 40px;
    }
    .am-timeline::before {
        display: none;
    }
    .am-timeline-item {
        flex-direction: column;
        gap: 16px;
    }
    .am-timeline-year {
        position: static;
        transform: none;
        width: 72px;
        height: 70px;
        font-size: 22px;
    }
    .am-timeline-card,
    .am-timeline-left .am-timeline-card,
    .am-timeline-right .am-timeline-card {
        width: 100%;
        padding: 24px;
    }
    .am-clients-grid {
        grid-template-columns: 1fr;
    }
    .am-social-grid {
        grid-template-columns: 1fr;
    }
    .am-stats-bar,
    .am-infobar {
        .row {
            display: flex;
        }
        .am-stat-number {
            font-size: 36px;
        }
        .am-stat-label {
            font-size: 12px;
        }
    }
    .widget-technologies {
        padding: 56px 0 !important;
        .col-lg-6 {
            padding: 0 !important;
        }
    }
}
