@import 'variables.css';
/* Mission Section Styles ----------------------------------------------------------------*/
.mission {
    position:relative;
    padding: var(--space-xl) 0;
    background-color: var(--background2-color);
}

.mission-header-content {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: var(--space-md); 
    width: 100%;
    flex-wrap: nowrap;
}

.mission img {
    width: 70px;
    height: auto;
    margin-bottom: 0; 
    margin-left: var(--space-sm); 
}

/* Si quieres que el texto del h2 no se mueva verticalmente, puedes resetear su margin-bottom */
.mission-header-content h2 {
    margin-bottom: 0;
    font-size: var(--font-2xl);
}

.mission p {
    max-width: 800px;
    margin: 0 auto;
    font-size: var(--font-base);
    line-height: 1.4;
    text-align: justify;
    font-size: var(--font-lg);
}

.mission-decoration {
    display: none;
}
@media (min-width: 1270px) {
    .mission-decoration {
        display: block; 
        position: absolute; /* Positions relative to the new positioned ancestor: #quote-section */
        z-index: 50;   

        /* Anchor to the top-left corner of the #quote-section */
        top: 70px; /* Adjust this value to control how much is off the top */
        right: -100px/* Adjust this value to control how much is off the left */
        
        /* Mirror the image horizontally */
        /*transform: scaleX(-1); */
    }
    
    .mission-decoration .mission-decoration-icon {
        height: 500px; 
        width: auto;
    }
}
/* Services Section Styles ----------------------------------------------------------------*/

.services ul {
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 1em;
    color: var(--white-color); /* match text color */
}
.service-container1, .service-container2 {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-3xl);
}
.service-container1{
    background-color: var(--title-color);
}
.service-card {
    background-color: var(--title-color);
    padding: var(--space-lg);
    border: solid 2px var(--white-color);
    flex: 1 1 auto;
    width: 100%;
    max-width: 600px;
    color: var(--white-color);
    font-size: var(--font-lg);
}
.service-card h3 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-md);
    color: var(--white-color);
    text-align: center;
}
.service-container2  {
    /*image backgrund*/
    background-image: url();
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--background2-color);
    position: relative;

}
.service-container2 h4 {
    font-size: var(--font-lg);
    margin-bottom: var(--space-md);
    text-align: left;
    color: var(--text-color);
}
.service-container2 ul {
    margin-bottom: var(--space-lg);
    color: var(--text-color);
    font-size: var(--font-lg);
   
}
.service-decoration-icon{
    width: 150px;
    height: auto;
    position: absolute;
    bottom: -90px;
    left: 30px;

    z-index: 10;
}
.services-decoration-icon img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .service-container1, .service-container2 {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 100%;
        margin-bottom: var(--space-lg);
    }
}
@media (min-width: 1200px) {
    .service-decoration-icon {
        width: 250px;
        left: 50px;
        bottom: -140px;
    }
}

/* How I Work Section Styles ----------------------------------------------------------------*/
.work {
    
    background-color: var(--background1-color);
    text-align: center;
}
.work h2 {
    text-align: center;
    font-size: var(--font-2xl);
    margin-bottom: var(--space-lg);
    color: var(--title-color);
}
.work p {
    max-width: 800px;
    margin: var(--space-xl) auto;
    font-size: var(--font-lg);
    line-height: 1.6;
    text-align: justify;
    color: var(--text-color);
}
.work a{
    font-size: var(--font-xl);
    margin-top: var(--space-xl);
}
.work-image-container {
    margin: 0 auto;
    max-width: 600px;
}
.work-image {
    display: block;
    width: 100%;
    height: auto;
   
}
@media (min-width: 900px) {
    .work .container {
        display: flex;
        flex-direction: row-reverse; /* image LEFT, text RIGHT */
        align-items: flex-start;
        gap: var(--space-3xl);
    }

    .work-content,
    .work-picture {
        flex: 1;                /* 50% / 50% */
        max-width: 50%;         /* Prevents stretching */
    }

    .work-picture {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .work .cta-button {
        margin-top: var(--space-4xl) !important;
    }

    .work-image-container {
    background: white;                 /* Polaroid frame color */
    padding: 20px 20px 45px;           /* Extra bottom padding → Polaroid style */
    border-radius: 4px;                /* Very subtle rounding */
    max-width: 300px;                  /* Optional: controls size */
    box-shadow: 
        -10px 10px 15px rgba(0, 0, 0, 0.15);  /* Left + bottom shadow */
    margin: 0 auto;                    /* Center on mobile */
    transform: rotate(-15deg);          /* Slight tilt */
}

    
    
}