/* ==========================================
   SOLUTIONS SECTION - CYBERSECURITY THEME
   ========================================== */

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --accent-green: #00ff88;
    --accent-cyan: #00d4ff;
    --accent-red: #ff0055;
    --text-light: #e0e0e0;
    --border-color: rgba(0, 255, 136, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   SOLUTIONS SECTION MAIN
   ========================================== */

.solutions-section {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.solutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.05), transparent);
    pointer-events: none;
}

/* ==========================================
   SECTION TITLE
   ========================================== */

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.solutions-container h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: titleGlowSolutions 2.5s ease-in-out infinite;
}

@keyframes titleGlowSolutions {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
    }
}

/* ==========================================
   SOLUTIONS CARDS GRID
   ========================================== */

.solutions-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    place-items: center;
    justify-content: center;
    width: 100%;
}

/* ==========================================
   INDIVIDUAL SOLUTION CARD
   ========================================== */

.solution-card {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(26, 31, 58, 0.8));
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1),
                inset 0 0 20px rgba(0, 212, 255, 0.05);
}

/* Animated border effect on hover */
.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 212, 255, 0.1) 50%,
        transparent 100%
    );
    opacity: 0;
    animation: borderGlowSolution 3s ease-in-out infinite;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.solution-card:hover::before {
    opacity: 1;
    animation: borderGlowActiveSolution 1s ease-in-out infinite;
}

@keyframes borderGlowSolution {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

@keyframes borderGlowActiveSolution {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

/* Glow effect on card */
.solution-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.05), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.3),
                0 20px 60px rgba(0, 212, 255, 0.2),
                inset 0 0 30px rgba(0, 212, 255, 0.1);
    background: linear-gradient(135deg, rgba(10, 14, 39, 1), rgba(26, 31, 58, 1));
}

/* ==========================================
   SOLUTION ICON
   ========================================== */

.solution-card .service-icon {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
    animation: iconFloatSolution 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.solution-card:hover .service-icon {
    color: var(--accent-green);
    font-size: 4rem;
    filter: drop-shadow(0 0 25px rgba(0, 255, 136, 0.8));
    animation: iconFloatHoverSolution 1.5s ease-in-out infinite;
}

@keyframes iconFloatSolution {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconFloatHoverSolution {
    0%, 100% {
        transform: translateY(-5px) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

/* ==========================================
   SOLUTION CARD HEADING
   ========================================== */

.solution-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.solution-card:hover h3 {
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

/* ==========================================
   SOLUTION CARD DESCRIPTION
   ========================================== */

.solution-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    opacity: 0.8;
}

.solution-card:hover p {
    opacity: 1;
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .solutions-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-container h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .solutions-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .solution-card {
        padding: 2rem;
        min-height: 300px;
    }

    .solution-card .service-icon {
        font-size: 2.8rem;
    }

    .solution-card:hover .service-icon {
        font-size: 3.2rem;
    }

    .solution-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .solutions-section {
        padding: 3rem 1rem;
    }

    .solutions-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .solution-card {
        padding: 1.5rem;
        min-height: 280px;
    }

    .solution-card .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .solution-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .solution-card p {
        font-size: 0.95rem;
    }
}

/* ==========================================
   ANIMATION STAGGER EFFECT
   ========================================== */

.solution-card:nth-child(1) {
    animation: cardSlideInSolution 0.8s ease-out 0s both;
}

.solution-card:nth-child(2) {
    animation: cardSlideInSolution 0.8s ease-out 0.1s both;
}

.solution-card:nth-child(3) {
    animation: cardSlideInSolution 0.8s ease-out 0.2s both;
}

@keyframes cardSlideInSolution {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
