/* Technologies Page Specific Styles v2 */

/* Hero Section */
.technologies-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2rem 4rem;
    overflow: hidden;
}

.technologies-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/services-hero.jpg') center/cover no-repeat;
    opacity: 0.12;
    z-index: 0;
}

.technologies-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.technologies-hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.technologies-hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    opacity: 0;
    animation: slideUp 0.8s ease-out 0.3s forwards;
}

@media (max-width: 768px) {
    .technologies-hero {
        min-height: 40vh;
        padding: 8rem 2rem 3rem;
    }

    .technologies-hero h1 {
        font-size: 2.5rem;
    }

    .technologies-hero p {
        font-size: 1.1rem;
    }
}

/* Technologies Intro */
.technologies-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem;
    text-align: center;
}

.technologies-intro p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.highlight-text {
    color: var(--text);
    font-weight: 600;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section Header */
.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-tag {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Vertical Flow Blocks */
.tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 2rem;
}

.tech-block,
.capability-block {
    width: 100%;
    margin-bottom: 2rem;
    padding: 3.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
    display: block;
    /* Ensure strictly block */
}

.tech-block:hover,
.capability-block:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.tech-block-header,
.capability-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.3));
    flex-shrink: 0;
}

.tech-block-header h3,
.capability-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.tech-block p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 900px;
}

/* Internal Projects Grid */
.projects-grid,
.tech-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-card:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
    transform: translateY(-5px);
}

.p-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.project-card h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.highlight-card {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(139, 92, 246, 0.05);
}

/* List Styling */
.tech-list-grid li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-list-grid li:hover {
    color: var(--text);
    transform: translateX(10px);
}

.tech-list-grid li:hover .bullet {
    color: var(--primary);
}

.bullet {
    color: var(--secondary);
    font-weight: bold;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {

    .tech-block,
    .capability-block {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .tech-block,
    .capability-block {
        padding: 2rem;
    }

    .tech-block-header,
    .capability-header {
        flex-direction: column;
        text-align: center;
    }

    .tech-block-header h3,
    .capability-header h3 {
        font-size: 1.8rem;
    }

    .projects-grid,
    .tech-list-grid {
        grid-template-columns: 1fr;
    }
}