:root {
    --dark: #000;
    --medium: #1b1b1b;
    --light: #2e2e2e;
    --mouseX: 0px;
    --mouseY: 0px;
}


:root {
    --primary: #43b7ff;
    --dark: #00306b;
    --light: #b3c1d3;
    --secondary: #19A084;
    --secondaryLight: #f7a5a7;
    --secondaryDark: #000;
    --tertiary: #F68D1E;
}

h1,
h2,
h2 span,
h3,
h4,
h5,
h6 {
    font-family: Poppins, sans-serif;
    margin: 0;
    color: #1d2124;
}

body {

    background-color: var(--primary);
}


#landing {
    position: relative;

    h1 {
        font-size: 36px;
        font-weight: bold;
        text-align: left;
        margin-bottom: 15px;
        color: white;
    }

    h2 {
        font-weight: normal;
        font-size: 14px;
        text-align: left;
        color: white;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-image {
        position: absolute;
        width: 100%;
        max-width: 300px;
        height: auto;
        order: -1;
        margin-top: 20px;
        right: 0;
        bottom: -150px;
        z-index: -1;
    }

    button.button-solid {
        /* width: calc(100% / 4); */
        padding: 15px 30px;
        margin: 10px 0;
        background: none;
        background-color: white;
        color: black;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-weight: bold;
        text-align: center;
        box-sizing: border-box;
    }
}

section {
    padding-top: 35px;
    padding-bottom: 35px;
}

#portfolio {
    padding: 20px;
    /* Light background for the section */
}




#portfolio h2 {
    text-align: center;
    /* Center the text */
    margin: 20px auto;
    /* Add margins (top/bottom 20px, auto for left/right centering) */
    font-weight: 900;
    /* Increase font weight */
    font-size: 1.7em;
    /* Adjust font size as needed for mobile */
}


#portfolio span {
    color: var(--tertiary);
    margin-right: 4px;
    /* Tertiary color for the word "OUR" */
}



.example {
    margin-bottom: 70px;
    position: relative;
    padding: 50px 25px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 25px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
    border-bottom: 4px solid var(--primary);
    /* transition: transform 0.3s ease-out; */
}



.example img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.example h3 {
    margin-bottom: 5px;
}

.example h4 {
    color: var(--light);
    font-size: 0.9em;
    margin-bottom: 10px;
}

p {
    line-height: 1.7em;
    font-size: 1.1em;
}

/* Style the button (assuming button-solid class exists) */
.button-solid {
    background: linear-gradient(to right, var(--dark), var(--primary));
    /* Linear gradient */
    color: white;
    margin: 10px 0;
    padding: 15px 30px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
}



/* ... (other styles) ... */

@media (min-width: 500px) {

    /* Adjust breakpoint as needed for your specific tablet size */
    #portfolio {
        padding: 0px;
    }

    #portfolio h2 {
        /* Increase font size for tablets */
        margin-bottom: 30px;
        /* Increase margin below the heading */
    }

    .container {
        max-width: 800px;
        width: 100%;
        margin: auto
    }

    .example-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Two equal columns */
        gap: 20px;
        /* Add some spacing between cards */
    }

    .example:first-child {
        grid-column: span 2;
        /* Make the first example span both columns */
    }

    .example {
        margin: 0;
    }

}

@media (min-width: 1020px) {
    #portfolio2 {
        max-width: 1100px;
        /* Limit container width */
        margin: 0 auto;
        /* Center horizontally */
    }

    .example-group {
        display: flex;
        /* Back to flexbox for even distribution */
        justify-content: space-around;
    }

    .example-group {
        perspective: 800px;
        /* Light background for the section */
    }


    .example {
        width: calc(100% / 3 - 30px);
        /* Three equal columns with spacing */
        margin-bottom: 0;
        /* Remove bottom margin */
        padding: 60px 30px;
    }

    .example::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
        /* Semi-transparent white overlay */
        opacity: 0;
        /* Start with 0 opacity */
        transition: opacity 0.3s ease-out;
        /* Smooth opacity transition */
        pointer-events: none;
        /* Allow mouse events to pass through */
    }

    .example:hover::before {
        opacity: 1;
        /* Increase opacity on hover */
    }
}