@charset "UTF-8";

/* =========================================
   Solutions Page Specific Styles
   ========================================= */

/* -----------------------------------------
   1. Grid Layout (Solutions List)
----------------------------------------- */
.solution-grid-sec {
    background: var(--gray-color);
}

.solution-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.sol-card-grid {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.sol-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.sol-img-grid {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.sol-img-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sol-card-grid:hover .sol-img-grid img {
    transform: scale(1.05);
}

.sol-num-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-color);
    color: #fff;
    font-family: var(--font-en-head);
    font-size: 1.5rem;
    font-weight: bold;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-right-radius: 12px;
    z-index: 2;
}

.sol-text-grid {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sol-cat {
    display: block;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.sol-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sol-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
}

.sol-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sol-tags span {
    background: #f0f4f8;
    color: #555;
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold;
}

/* -----------------------------------------
   2. Tech Stack - Premium White Design
----------------------------------------- */
.tech-stack {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.tech-stack .container {
    position: relative;
    z-index: 1;
}

.tech-stack .section__title {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tech-stack .section__desc {
    color: #666;
    font-size: 1.1rem;
}

/* Tech Category Cards */
.tech-category {
    margin-bottom: 50px;
    padding: 50px 40px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cat-color-1), var(--cat-color-2));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.tech-category:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tech-category:last-child {
    margin-bottom: 0;
}

/* Category Colors */
.tech-category--dev {
    --cat-color-1: #3b82f6;
    --cat-color-2: #06b6d4;
    --cat-glow: rgba(59, 130, 246, 0.3);
}

.tech-category--tools {
    --cat-color-1: #f59e0b;
    --cat-color-2: #ef4444;
    --cat-glow: rgba(245, 158, 11, 0.3);
}

.tech-category--ai {
    --cat-color-1: #8b5cf6;
    --cat-color-2: #ec4899;
    --cat-glow: rgba(139, 92, 246, 0.3);
}

.tech-category__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.tech-category__title i {
    font-size: 1.6rem;
    background: linear-gradient(135deg, var(--cat-color-1), var(--cat-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px var(--cat-glow));
}

.tech-category__desc {
    font-size: 1rem;
    color: #666;
    margin: 0 0 35px;
    letter-spacing: 0.5px;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 0;
}

.tech-category .tech-grid {
    margin-top: 0;
}

/* Tech Item Cards */
.tech-item {
    background: #f8f9fa;
    padding: 28px 16px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--cat-color-1), var(--cat-color-2));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: transparent;
    background: #fff;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 0 20px var(--cat-glow);
}

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

.tech-item>* {
    position: relative;
    z-index: 1;
}

/* Tech Icon */
.tech-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--cat-color-1), var(--cat-color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px var(--cat-glow));
}

/* Tech Name */
.tech-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a2e;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-name {
    color: #1a1a2e;
}

/* Tech Description */
.tech-desc {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    transition: color 0.3s ease;
}

.tech-item:hover .tech-desc {
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .tech-stack {
        padding: 60px 0;
    }

    .tech-category {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .tech-category__title {
        font-size: 1.4rem;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 12px;
    }

    .tech-item {
        padding: 20px 12px;
    }

    .tech-icon {
        font-size: 2.2rem;
    }

    .tech-name {
        font-size: 0.85rem;
    }

    .tech-desc {
        font-size: 0.7rem;
    }
}

/* -----------------------------------------
   3. FAQ Section
----------------------------------------- */
.faq-area {
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 50px;
}

.faq-item {
    background: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-question {
    list-style: none;
    padding: 25px 30px;
    font-weight: bold;
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-q-mark {
    color: var(--accent-color);
    font-family: var(--font-en-head);
    font-size: 1.2rem;
    margin-right: 15px;
}

.faq-icon {
    font-size: 0.9rem;
    color: #ccc;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    overflow: hidden;
    animation: fadeDown 0.4s ease;
}

.faq-answer-inner {
    padding: 0 30px 30px 30px;
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    padding-left: 60px;
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -----------------------------------------
   4. Contact Area (Added)
----------------------------------------- */
.contact-area {
    background: #fff;
    /* or #f9f9f9 depending on section flow */
}

.contact-box {
    background: #f4f8ff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-contact-primary {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-contact-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.4);
}

/* -----------------------------------------
   5. Responsive
----------------------------------------- */
@media (max-width: 768px) {
    .solution-grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-question {
        padding: 20px;
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        padding: 0 20px 25px 20px;
        padding-left: 20px;
    }

    /* Contact Responsive */
    .contact-btns {
        flex-direction: column;
    }

    .contact-box {
        padding: 40px 20px;
    }
}