
/* Tech Stack Section */
.tech-stack-section {
    padding: 100px 6%;
    background-color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.tech-stack-section .tech-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.tech-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tech-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 60px;
}

.tech-grid-wrap {
    position: relative;
    width: 100%;
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.tech-dots {
    display: none;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px 32px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-width: 200px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 92, 41, 0.25);
}

.tech-logo-box {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tech-card:hover .tech-logo-box {
    background: #ffffff;
    border-color: #e5e7eb;
}

.tech-logo-box img {
    max-width: 85%;
    max-height: 70%;
    object-fit: contain;
}

/* Specific background colors for logos (kept for optional use) */
.bg-dark-blue { background-color: #232f3e; }
.bg-azure { background-color: #0078d4; }
.bg-white { background-color: #f9fafb; }
.bg-k8s { background-color: #326ce5; }
.bg-terraform { background-color: #5c4ee5; }

.tech-name {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 100px 6% 140px;
    background-color: #e85c29;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.cta-section .cta-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.cta-section .cta-title {
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-section .cta-desc {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.btn-white-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: #ffffff;
    color: #101828;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin-bottom: 32px;
}

.btn-white-cta:hover {
    transform: translateY(-2px);
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .tech-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .tech-title {
        font-size: 28px;
    }

    /* Tech grid: one card at a time, swipable, dots */
    .tech-grid-wrap {
        padding: 0 16px;
    }

    .tech-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        padding: 0 0 16px;
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .tech-grid::-webkit-scrollbar {
        display: none;
    }

    .tech-card-item {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        flex: 0 0 100%;
        min-width: 100%;
        box-sizing: border-box;
    }

    .tech-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .tech-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .tech-dot.is-active {
        background: #e85c29;
        transform: scale(1.1);
    }
    
    .cta-section .cta-title {
        font-size: 36px;
    }
    
    .cta-section .cta-desc {
        font-size: 18px;
    }
}
