/* TECHNOLOGY SECTION - PREMIUM BENTO REDESIGN */

.tech-security-section {
    padding: 8rem 2rem;
    /* Replaced solid black with a rich, dynamic deep blue gradient */
    background: linear-gradient(135deg, #0a1733 0%, #040b17 50%, #08142b 100%); 
    position: relative;
    overflow: hidden;
}

/* Premium abstract background with a subtle tech grid */
.tech-security-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 230, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 230, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

/* Added a subtle ambient glow to break the monotony */
.tech-security-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 230, 255, 0.06) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.tech-security-section .container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
}

.tech-security-section h2.txt {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 230, 255, 0.1);
}

.tech-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.tech-card {
    background-color: #071022; /* Deep solid navy */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px; 
    display: flex;
    flex-direction: column;
    align-items: center; /* Centered horizontally */
    text-align: center; /* Centered text */
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 230, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 230, 255, 0.08);
}

.tech-card h3 {
    margin: 1.5rem 0 1rem 0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem; 
    font-weight: 700;
    color: #ffffff;
    z-index: 2;
    line-height: 1.2;
}

.tech-card p {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: #a0aec0;
    line-height: 1.5;
    z-index: 2;
    flex-grow: 1;
}

/* Image and Icon unifying styles */
.tech-card-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 1px solid rgba(0, 230, 255, 0.2);
    overflow: hidden;
    position: relative;
    background: rgba(10, 23, 51, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 230, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    flex-shrink: 0;
}

/* IMAGE STYLING */
.tech-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: none; 
}

.tech-card:hover .tech-card-img {
    transform: scale(1.15) translateY(-5px);
    border-color: #00e6ff;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 230, 255, 0.4), 0 0 30px rgba(0, 230, 255, 0.2);
}

.tech-card:hover .tech-card-img img {
    transform: scale(1.15);
}

/* ICON STYLING */
.tech-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.icon-bg {
    width: 72px; 
    height: 72px; 
    background: rgba(10, 23, 51, 0.8);
    border: 1px solid rgba(0, 230, 255, 0.2);
    border-radius: 50%; /* Circle to match images */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), inset 0 0 15px rgba(0, 230, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-card:hover .icon-bg {
    transform: scale(1.15) translateY(-5px);
    border-color: #00e6ff;
    background: rgba(10, 23, 51, 1);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 230, 255, 0.4), 0 0 30px rgba(0, 230, 255, 0.2);
}

.icon-bg svg {
    width: 32px; 
    height: 32px; 
    stroke: #00e6ff;
    filter: drop-shadow(0 0 5px rgba(0, 230, 255, 0.5));
    transition: all 0.5s ease;
}

.tech-card:hover .icon-bg svg {
    filter: drop-shadow(0 0 10px rgba(0, 230, 255, 0.9));
    transform: rotate(5deg) scale(1.1);
}

/* Top neon accent line on hover */
.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 255, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 3;
}

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

/* Responsive adjustments */
@media (max-width: 1100px) {
    .tech-card-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .tech-card-grid { grid-template-columns: 1fr; }
    .tech-security-section { padding: 5rem 1.5rem; }
    .tech-security-section h2.txt { font-size: 2.2rem; margin-bottom: 3rem; }
}