/* ========================================
   TECHNOLOGIES PAGE STYLES
   ======================================== */

/* Technologies Container */
.tech-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

/* Technologies Header - Left Aligned */
.tech-header {
    margin-bottom: 60px;
    text-align: left;
}

.tech-header h1 {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 16px;
    line-height: 1.2;
}

.tech-subtitle {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    margin-bottom: 30px;
}

/* Header Divider After Subtitle */
.header-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
}

/* Technologies Content Area */
.tech-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Technology Category - No Borders */
.tech-category {
    background: transparent;
    border: none;
    padding: 0;
}

.tech-category h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 24px;
    text-align: left;
}

/* Divider Line Between Categories */
.tech-divider {
    width: 100%;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* Technology Skills Container - Grid Layout */
.tech-skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Individual Skill Badge - Polished Design */
.tech-skill {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    color: #ffffff;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    cursor: default;
    line-height: 1.3;
    text-align: center;
    min-height: 64px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.tech-skill:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Attractive Color Combinations - Inspired by Abdullah's Palette */
.skill-1 { background: #2563eb; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Python - Royal Blue */
.skill-2 { background: #000000; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); } /* TensorFlow - Black */
.skill-3 { background: #06b6d4; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* PyTorch - Bright Cyan */
.skill-4 { background: #7c3aed; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Scikit-learn - Purple */
.skill-5 { background: #eab308; color: #1a1a1a; text-shadow: none; font-weight: 800; } /* Hugging Face - Golden Yellow */
.skill-6 { background: #ec4899; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Pandas & NumPy - Pink */
.skill-7 { background: #10b981; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* OpenCV - Bright Green */
.skill-8 { background: #06b6d4; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* XGBoost - Cyan */
.skill-9 { background: #ef4444; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Streamlit - Bright Red */
.skill-10 { background: #10b981; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* LangChain - Emerald */
.skill-11 { background: #14b8a6; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* OpenAI API - Teal */
.skill-12 { background: #1e293b; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); } /* AutoGen - Dark Blue */
.skill-13 { background: #7c3aed; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* CrewAI - Purple */
.skill-14 { background: #3b0764; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); } /* RAG Systems - Deep Purple */
.skill-15 { background: #06b6d4; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* n8n - Cyan */
.skill-16 { background: #0ea5e9; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Zapier - Sky Blue */
.skill-17 { background: #6366f1; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Vector Databases - Indigo */
.skill-18 { background: #06b6d4; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Prompt Engineering - Cyan */
.skill-19 { background: #14b8a6; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* FastAPI - Teal */
.skill-20 { background: #2563eb; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Docker - Blue */
.skill-21 { background: #f97316; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } /* Git - Orange */

/* Dark Mode Adjustments */
.dark-Mode .tech-divider,
.dark-Mode .header-divider {
    background: #333;
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Technologies Page */

/* Mobile Devices - 1 Skill Per Row */
@media (width <= 768px) {
    .tech-container {
        padding: 80px 20px 40px;
    }

    .tech-header {
        margin-bottom: 40px;
    }

    .tech-header h1 {
        font-size: 42px;
    }

    .tech-subtitle {
        font-size: 16px;
    }

    .tech-content {
        gap: 32px;
    }

    .tech-category h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .tech-divider {
        margin: 16px 0;
    }

    /* 1 skill per row on mobile */
    .tech-skills {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tech-skill {
        font-size: 17px;
        font-weight: 800;
        padding: 16px 20px;
        min-height: 60px;
        border-radius: 10px;
    }
}

@media (width <= 480px) {
    .tech-container {
        padding: 80px 16px 30px;
    }

    .tech-header {
        margin-bottom: 32px;
    }

    .tech-header h1 {
        font-size: 36px;
    }

    .tech-subtitle {
        font-size: 15px;
    }

    .tech-content {
        gap: 28px;
    }

    .tech-category h3 {
        font-size: 20px;
        margin-bottom: 18px;
    }

    .tech-divider {
        margin: 14px 0;
    }

    /* 1 skill per row on small mobile */
    .tech-skills {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tech-skill {
        font-size: 16px;
        font-weight: 800;
        padding: 14px 18px;
        min-height: 56px;
        border-radius: 10px;
    }
}

/* Tablet - 2 Skills Per Row */
@media (width >= 769px) and (width <= 1024px) {
    .tech-container {
        max-width: 900px;
        padding: 90px 30px 50px;
    }

    .tech-header h1 {
        font-size: 48px;
    }

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

    .tech-skill {
        font-size: 18px;
        font-weight: 800;
        padding: 17px 20px;
        min-height: 62px;
        border-radius: 11px;
    }
}

/* Large Desktop */
@media (width >= 1400px) {
    .tech-container {
        max-width: 1200px;
        padding: 120px 40px 80px;
    }

    .tech-header h1 {
        font-size: 64px;
    }

    .tech-subtitle {
        font-size: 20px;
    }

    .tech-content {
        gap: 48px;
    }

    .tech-category h3 {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .tech-divider {
        margin: 24px 0;
    }

    .tech-skills {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .tech-skill {
        font-size: 20px;
        font-weight: 800;
        padding: 20px 26px;
        min-height: 68px;
        border-radius: 12px;
    }
}