/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tech Slider Animation */
@keyframes slideLeftToRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Base Styles - Global Background */
body {
    background: url(/images/web-pictures/landing-page.jpg);
    background-size: cover;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
}

/* Solutions Container */
.solutions-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

/* Solutions Section */
.solutions-section {
    margin: 2rem 0;
    position: relative;
}

    .solutions-section.our-solutions {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        color: white;
        border-radius: 20px;
        padding: 4rem 2rem;
        margin: 4rem 0 3rem 0;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

    .solutions-section.our-tech {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        color: white;
        border-radius: 20px;
        padding: 4rem 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

/* Section Content */
.section-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

/* Titles */
.services-title {
    text-align: center;
    color: white;
    font-weight: 700; 
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .services-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        border-radius: 2px;
    }

.tech-title {
    text-align: center;
    color: white;
    font-weight: 700;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .tech-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        border-radius: 2px;
    }

/* Intro Text */
.services-intro, .tech-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(255 255 255 / 85%);
}

/* Containers Grid */
.containers {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2rem;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    animation: scaleIn 0.6s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

    .container:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(6, 165, 221, 0.2);
        background: rgba(255, 255, 255, 0.12);
    }

    .container:nth-child(1) {
        animation-delay: 0.2s;
    }

    .container:nth-child(2) {
        animation-delay: 0.4s;
    }

    .container:nth-child(3) {
        animation-delay: 0.6s;
    }

.container-icon {
    background: linear-gradient(90deg, white 0%, white 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem auto 1.5rem;
    flex-shrink: 0;
    font-size: 3rem;
}

.container-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem;
    flex-shrink: 0;
}

.container-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
    padding: 10px;
    flex-grow: 1;
}

/* Tech Slider Styles */
.tech-slider-container {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    margin-bottom: 3rem;
}

.tech-slider {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: slideLeftToRight 30s linear infinite;
    will-change: transform;
}

.tech-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

    .tech-item:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 10px 30px rgba(6, 165, 221, 0.3);
        background: rgba(255, 255, 255, 0.15);
    }

/* Tech Icon Styles */
.tech-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #112846f2 0%, #112846f2 50%, #112846f2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sub-Tech Section */
.sub-tech-section {
    margin-top: 3rem;
}

.sub-tech-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

    .sub-tech-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #ffffff, #2196F3);
        border-radius: 2px;
    }

.sub-tech-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto 3rem auto;
    max-width: 600px;
}

.sub-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.sub-tech-category {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .sub-tech-category:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(6, 165, 221, 0.2);
        background: rgba(255, 255, 255, 0.12);
    }

.category-title {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-icon {
    background: linear-gradient(135deg, #06a5dd, #2196F3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

.sub-tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.sub-tech-item {
    background: rgba(6, 165, 221, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(6, 165, 221, 0.4);
    transition: all 0.3s ease;
    cursor: default;
}

    .sub-tech-item:hover {
        background: linear-gradient(135deg, #06a5dd 0%, #2196F3 100%);
        color: white;
        border-color: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(6, 165, 221, 0.3);
    }

/* CTA Button */
.cta-btn {
    display: inline-block;
    margin: 2rem 0 0.5rem;
    padding: 0.9rem 2.2rem;
    font-size: .8rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(90deg, rgba(6, 165, 221, 0.8) 0%, rgba(33, 150, 243, 0.8) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(6, 165, 221, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

    .cta-btn:hover, .cta-btn:focus {
        color: #ffffff;
        background: linear-gradient(90deg, #06a5dd 0%, #2196F3 100%);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 12px 35px rgba(6, 165, 221, 0.4);
        border-color: rgba(255, 255, 255, 0.5);
        outline: none;
    }

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

    footer span {
        display: block;
        margin: 0.5rem 0;
    }

    footer a {
        color: #06a5dd;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: #2196F3;
        }

/* Mobile Responsive */
@media (max-width: 768px) {
    .solutions-container {
        padding: 1rem;
    }

    .solutions-section.our-solutions,
    .solutions-section.our-tech {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .containers {
        flex-direction: column;
        gap: 1rem;
    }

    .container {
        min-height: auto;
        padding: 1.5rem;
    }

    .container-icon {
        font-size: 2.5rem;
    }

    .tech-icon {
        font-size: 2rem;
    }

    .sub-tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-btn {
        padding: 0.7rem 1.8rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sub-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
