@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  padding: 50px 20px 50px 20px;
  background-color: white;
}
img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block
}

.w-button {
    padding: 12px 18px;
    border-radius: 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.section-animate {
    opacity: 0;
    transform: translateY(20px);
}

.section-animate.in-view {
    animation: fadeInUp 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.services-section {
    padding: 120px 5%;
    background-image: url("./assets/back-left.webp");
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 40px 24px;
    border-radius: 16px;
    background: rgba(7, 51, 171, 0.02);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border: 1px solid var(--primary-800);
    position: relative;
    z-index: 1;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--tertiary-700);
}

.process-step:hover::before {
    opacity: 1;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-900);
}

.process-step p {
    color: var(--primary-600);
    line-height: 1.6;
}


.tech-section {
    padding: 120px 5%;
    background-image: url("./assets/back.webp");
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: white;
}

.tech-item {
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    background: rgba(7, 51, 171, 0.02);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    position: relative;
    isolation: isolate;
    border: 1px solid var(--primary-800);
    color: var(--primary-900);
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--tertiary-700);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-item img {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    
}

.tech-item:hover img {
    transform: scale(1.1);
}

.tech-item span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.4s ease;
}

/* Offerings (types of app development) */
.offerings-section {
    padding: 48px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}
.offerings-container {
    max-width: 95%;
    margin: 0 auto;
    text-align: center;
}
.offerings-headline {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-900, #044bab);
    margin-bottom: 8px;
}
.offerings-sub {
    color: rgba(0, 0, 0, 0.65);
    margin-bottom: 20px;
}
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 14px;
}
.offer-card {
    background: #fff;
    border: 1px solid rgba(4, 75, 171, 0.06);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 6px 18px rgba(4, 75, 171, 0.04);
}
.offer-icon {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(4, 75, 171, 0.06);
    color: #044bab;
    flex-shrink: 0;
}
.offer-title {
    font-weight: 700;
    color: #042a5f;
    margin-bottom: 6px;
}
.offer-desc {
    color: rgba(0, 0, 0, 0.72);
    font-size: 0.95rem;
}

.offer-keywords {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin-top: 8px;
}
.offer-actions {
    margin-top: 10px;
}
.offer-button {
    display: inline-block;
    background: #044bab;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

/* Offerings section styles (shared) */
.offerings-section{padding:48px 0}
.offerings-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.offer-card{background:#fff;border:1px solid #eef2ff;padding:22px;border-radius:10px;display:flex;flex-direction:column;min-height:220px}
.offer-icon{width:56px;height:56px;border-radius:10px;background:#f1f6ff;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.offer-title{font-size:18px;font-weight:700;margin:0 0 8px}
.offer-desc{font-size:14px;color:#475569;margin-bottom:12px}
.offer-keywords{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.offer-button{display:inline-block;margin-top:14px;padding:10px 14px;background:#044bab;color:#fff;border-radius:8px;text-decoration:none}
@media(max-width:900px){.offerings-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.offerings-grid{grid-template-columns:1fr}}

@media (min-width: 640px) {
    .offer-button {
        padding: 10px 14px;
    }
}

@media (min-width: 640px) {
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .offerings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .offer-card {
        padding: 18px;
    }
    .offerings-headline {
        font-size: 62px;
    }
}

.portfolio-heading {
    font-size: 28px;
    color: #042a5f;
    font-weight: 700;
    margin: 24px 0 12px;
    text-align: center;
}

/* FAQ (copied from pricing.css) */
.faq-section {
    padding: 40px 20px;
    background: transparent;
}
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
}
.faq-headline {
    font-size: 46px;
    font-weight: 400;
    color: var(--primary-900, #044bab);
    text-align: center;
    margin-bottom: 8px;
}
.faq-sub {
    text-align: center;
    color: rgba(0, 0, 0, 0.65);
    max-width: 820px;
    margin: 0 auto 20px;
}
.faq-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.faq-item {
    background: #fff;
    border: 1px solid rgba(4, 75, 171, 0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(4, 75, 171, 0.04);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 700;
    color: #042a5f;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}
.faq-answer {
    padding: 0 16px;
    color: rgba(0, 0, 0, 0.75);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.28s ease,
        padding 0.22s ease;
}
.faq-item[aria-expanded="true"] .faq-answer {
    padding: 12px 16px 18px;
    max-height: 800px;
}
.faq-item[aria-expanded="false"] .faq-answer {
    padding: 0 16px;
    max-height: 0;
}

@media (min-width: 768px) {
    .faq-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .faq-headline {
        font-size: 69px;
    }
}

/* Portfolio Card Buttons - Responsive */
.portfolio-buttons-container {
  display: flex;
  gap: 8px;
  width: 100%;
  flex-direction: column;
  margin-top: 12px;
}

@media (min-width: 768px) {
  .portfolio-buttons-container {
    flex-direction: row;
  }
}

.visit-button {
  flex: 1;
  padding: 10px 12px;
  background: #044bab;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: block;
}

.visit-button:disabled {
  background: rgba(4, 75, 171, 0.18);
  cursor: default;
  opacity: 0.7;
}

.details-button {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  color: #044bab;
  border: 2px solid rgba(4, 75, 171, 0.12);
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  display: block;
}

.details-button:hover {
  background: rgba(4, 75, 171, 0.04);
}

.details-button:disabled {
  opacity: 0.6;
  cursor: default;
}