

/* ------------------ Services Section --------------- */

#services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    text-align: center;

    h2 {
        font-size: clamp(2rem, 5vw, 2.5rem);
        font-weight: 500;
        margin-bottom: 5rem;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;
        }

    .services {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2.5rem;

        .card {
            background: #fff;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
            text-align: left;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;

            img {
                width: 100%;
                height: 240px;
                object-fit: cover;
                }

            .card-content {
                padding: 1.5rem;

                h3 {
                    font-size: 1.25rem;
                    font-weight: 500;
                    margin-bottom: 0.75rem;
                    color: var(--dark-text);
                    }

                p {
                    font-size: 1rem;
                    color: var(--text-color);
                    margin-bottom: 1.5rem;
                    line-height: 1.5;
                    }

                .learn-more {
                    display: inline-flex;
                    align-items: center;
                    color: var(--accent);
                    font-weight: 500;
                    font-size: 1rem;
                    text-decoration: none;
                    transition: color 0.3s ease;
                    &::after {
                        content: "→";
                        display: inline-block;
                        margin-left: 8px;
                        font-size: 12px;
                        font-weight: bolder;
                        transition: transform 0.3s ease;
                        }

                    &:hover {
                        color: var(--dark-text);
                        &::after {
                            transform: rotateZ(-45deg);
                            }
                        }
                    
                    }

                }
            }
        }
    }
@media (max-width: 768px) {
    #services-section {
        .services {
            .card img {
                height: 250px;
                object-position: center -40px;
            }
            .card:first-child img {
                object-position: center top;
                }   
            }
        }
    }

@media (max-width: 1088px) {
    #services-section {
        .services {
            
            .card:first-child img {
                object-position: center top !important;
                }   
            }
        }
    }
/* ------------------ Services Section --------------- */

/* ------------------ Text Section --------------- */


.container {
    .text-container {
        width: 70%;
        margin: 100px auto;
        transform: translateY(30px);
        opacity: 0;
        transition: all .8s ease-in;
        p {
            color: var(--text-color);
            font-size: 20px;
            letter-spacing: 1.1px;
            line-height: 40px;
        }
        .detailed-desc {
            margin: 40px 0;
            h2 {
                font-size: clamp(2rem, 5vw, 2.5rem);
                font-weight: 500;
                margin-bottom: 1rem;
            }
            ul {
                margin: 20px 0;
                margin-left: 30px;

                li {
                    color: var(--text-color);
                    font-size: 20px;
                    letter-spacing: 1.1px;
                    line-height: 40px;
                }
            }
        }
    }
}

@media (max-width: 950px) {
    .container {
        .text-container {
            width: 90%;
            p {
                color: var(--text-color);
                font-size: 19px;
                letter-spacing: 1px;
                line-height: 36px;
            }
        }
    }
}

/* ------------------ Text Section --------------- */


/* --------------------- Reveal ------------------------------ */

.reveal {
        opacity: 1 !important;
        transform: translateY(0) !important;
        }

/* --------------------- Reveal ------------------------------ */