﻿/* ============================================
   IT EXPERT FEATURE SECTION
   ============================================ */

.it-expert-feature {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.03) 0%, 
        rgba(56, 189, 248, 0.03) 100%);
}

.expert-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin: var(--spacing-lg) auto 0;
    max-width: 1200px;
    width: 100%;
}

.expert-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(56, 189, 248, 0.15);
    transition: all var(--transition-normal) var(--transition-ease);
}

.expert-image-wrapper:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
                0 0 60px rgba(56, 189, 248, 0.25);
}

.expert-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow) var(--transition-ease);
}

.expert-image-wrapper:hover .expert-image {
    transform: scale(1.05);
}

.expert-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.expert-text h2 {
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-bold);
    max-width: 800px;
    width: 100%;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.expert-text p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.9;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0 auto var(--spacing-lg);
    max-width: 700px;
    width: 100%;
    hyphens: auto;
    padding: 0 var(--spacing-sm);
}

.expertise-highlights {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 600px;
    width: 100%;
}

.expertise-highlights li {
    padding: var(--spacing-md);
    color: var(--text-primary);
    font-size: 1.05rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    transition: all var(--transition-normal) var(--transition-ease);
    position: relative;
    overflow: hidden;
    font-weight: var(--font-weight-medium);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expertise-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-purple));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.expertise-highlights li:hover {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.2);
}

.expertise-highlights li:hover::before {
    opacity: 1;
}

/* ============================================
   TECHNOLOGY SHOWCASE SECTION
   ============================================ */

.tech-showcase {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, 
        rgba(56, 189, 248, 0.02) 0%, 
        transparent 50%,
        rgba(168, 85, 247, 0.02) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tech-showcase .section-title {
    margin: 0 auto var(--spacing-md);
    max-width: 900px;
    width: 100%;
}

.tech-showcase .section-subtitle {
    margin: 0 auto var(--spacing-lg);
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.tech-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) auto 0;
    max-width: 1200px;
    width: 100%;
    justify-items: center;
}

.tech-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.2);
    background: var(--glass-bg);
    transition: all var(--transition-normal) var(--transition-ease);
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.tech-image-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 60px rgba(56, 189, 248, 0.3),
                0 0 40px rgba(56, 189, 248, 0.15);
}

.tech-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow) var(--transition-ease);
    filter: brightness(0.9) contrast(1.1);
}

.tech-image-card:hover .tech-image {
    transform: scale(1.15);
    filter: brightness(1) contrast(1.2);
}

.tech-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(10, 15, 26, 0.98) 0%, 
        rgba(10, 15, 26, 0.85) 60%,
        rgba(10, 15, 26, 0.5) 80%,
        transparent 100%);
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform var(--transition-normal) var(--transition-ease);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.tech-image-card:hover .tech-image-overlay {
    transform: translateY(0);
}

.tech-image-overlay h3 {
    margin: 0 auto var(--spacing-sm);
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.01em;
}

.tech-image-overlay p {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
    max-width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN FOR NEW SECTIONS
   ============================================ */

@media (max-width: 768px) {
    .expert-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .expert-image-wrapper {
        order: -1;
    }
    
    .expert-text h2 {
        max-width: 100%;
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .expert-text p {
        text-align: justify;
        max-width: 100%;
        padding: 0;
    }
    
    .expertise-highlights {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: var(--spacing-sm);
    }
    
    .expertise-highlights li {
        text-align: center;
        padding: var(--spacing-sm);
    }
    
    .tech-images-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        max-width: 100%;
    }
    
    .tech-image-card {
        max-width: 100%;
    }
    
    .tech-image-overlay p {
        text-align: justify;
        font-size: 0.95rem;
    }
    
    .tech-showcase .section-subtitle {
        text-align: center;
    }
}

/* ============================================
   MISSION SECTION (ADDED FOR ABOUT PAGE)
   ============================================ */

.mission-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(56, 189, 248, 0.05) 100%);
    overflow: hidden;
}

.mission-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
    text-align: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.mission-content .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mission-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
}

.mission-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(56, 189, 248, 0.15);
    transition: all var(--transition-normal) ease;
    background: var(--glass-bg);
    max-width: 800px;
    width: 100%;
    margin-top: var(--spacing-md);
}

.mission-image-wrapper:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(56, 189, 248, 0.3);
}

.mission-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mission-image-wrapper:hover .mission-image {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .mission-text {
        font-size: 1rem;
        padding: 0 var(--spacing-sm);
    }
}


.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs);
    font-style: italic;
    background: rgba(10, 15, 26, 0.8);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(4px);
}

