@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');
:root {
    --primary-color: #236c58;
    --secondary-color: #00A78C;
    --light-color: #e8e6e6;
    --gray-color: #9EA09F;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}



body {
    font-family: "Nunito", sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.pc {
    font-family: "Nunito", sans-serif;
    font-weight: 100;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.head h1,
.body h1 {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 2rem 1rem 1rem;
}

.headings h1{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding: 2rem 1rem 1rem;
}
.head h1 {
    margin-bottom: 0;
    font-size: 2.3rem;
    background-color: var(--gray-color);
}

.container1 #welcome {
    color: var(--light-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.section-title {
    text-align: center;
    margin: 2rem 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

#abt {
    font-size: 2.3rem;
}

.partnerships {
    border-top: grey;
}

#partner h1 {
    font-size: 2.3rem;
    border-top: grey;
    border: 0.5rem;
    box-shadow: grey;
}

.container1 {
    width: 100%;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/deskoff.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.container1 h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.container1 #invest {
    background: transparent;
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 1px;
    border: 2px solid var(--light-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.container1 #invest:hover,
.container1 #invest:focus {
    background: var(--primary-color);
    outline: none;
}

.content-container,
.contain
{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    padding: 1rem 5% 0;
    margin: 2rem 0;
}

.side,
.sides {
    width: 100%;
    text-align: center;
}

.abt-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
}

.sides #abt-text {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 100;
    line-height: 1.6;
}

.btn-read {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.btn-read:hover {
    background-color: #1a4f3f;
}

.container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 2rem;
    width: 100%;
    padding: 3rem 2rem;
    background-color: var(--gray-color);
    margin-bottom: 2rem;
}

.box {
    background-color: var(--white);
    box-shadow: 0 0 17px rgba(48, 156, 111, 0.5);
    height: 220px;
    text-align: center;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.box:hover,
.box:focus-within {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(48, 156, 111, 0.7);
}

.box h3 {
    margin: 1rem 0;
    color: var(--text-color);
    font-size: 22px;
    font-weight: 100;
}

.box img {
    width: 65px;
    height: 65px;
    margin-bottom: 0.8rem;
}

.box p {
    font-size: 16px;
    color: var(--text-color);
}

.containerg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
    padding: 2rem 2%;
    margin: 0 auto;
}

.images {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.images:hover img {
    transform: scale(1.05);
}


/* Services */

.container-s {
    width: 100%;
    height: 200px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin: 2rem 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}


/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    border: 2px solid var(--primary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 400px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    background: none;
    border: none;
}

.close-btn:hover {
    color: #000;
}

form {
    display: flex;
    flex-direction: column;
}

input,
textarea {
    margin-bottom: 12px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

button[type="submit"]:hover {
    background-color: #1a4f3f;
}


/* Buttons */

.open-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 1rem 0;
    font-family: inherit;
}


/* Horizontal Gallery Styles */

.horizontal-gallery {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    border-bottom: 1px solid#222121;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.horizontal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}


.image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.image-wrap {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.image- {
    width: 100px;
    height: 100px;
    border-radius: 10%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.image-wrapper:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.image-wrap:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.image-:hover{
transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.image-wrapper:hover img{
    transition: ease-out;
}

.image-wrap:hover img{
    transition: ease-out;
}

.image-:hover img{
    transition: ease-out;
}


.image-wrapper img {
    width: auto-fit ;
    height: auto-fit;
    object-fit: cover;
    display: block;
}

.image-wrap img {
    width: 100%;
    height: auto-fit;
    padding-top: 40%;
    object-fit: cover;
    display: block;
}

.image- img{
    width: 100%;
    height: auto-fit;
    padding-top: 20%;
    object-fit: cover;
    display: block;
}


.name-label {
    font-family: "Nunito", sans-serif;
    color: var(--text-color);
    /* color: var(--light-color); */
    text-align: center;
    /* margin-top: 5px; */
}

/* Responsive Design */

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .horizontal-gallery {
        flex-wrap: wrap;
        justify-content: center;
    }

    .partner-row {
        gap: 30px;
    }

    .partners-showcase {
        gap: 20px;
    }
    
    
}

@media (max-width: 768px) {
    .partners-title,
    .section-main-title,
    .elegant-heading {
        font-size: 2rem;
    }

    .minimal-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .partner-row {
        gap: 20px;
    }

    .horizontal-item {
        min-width: 150px;
    }

    .image-wrapper {
        width: 120px;
        height: 120px;
    }

    .partner-logo-item {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .partners-title,
    .section-main-title,
    .elegant-heading {
        font-size: 1.8rem;
    }

    .minimal-title {
        font-size: 1.5rem;
    }

    .partner-row {
        flex-direction: column;
        gap: 30px;
    }

    .horizontal-gallery {
        flex-direction: column;
        gap: 30px;
    }

    .horizontal-item {
        min-width: auto;
        width: 100%;
        max-width: 250px;
    }

    .partners-showcase {
        flex-direction: column;
        gap: 20px;
    }


    .partner-logo-item {
        width: 100%;
        max-width: 250px;
    }
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


/* Responsive */

/* @media (min-width: 768px) {
    .content-container,
    .container,
    .horizontal-gallery,
    .contain {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        
    }
    .side,
    .sides {
        text-align: left;
    }
    .container1 h2 {
        font-size: 3rem;
    }
} */



@media (max-width: 1024px) {
    .containerg {
        grid-template-columns: repeat(4, 1fr);
        /* max-width: 900px; */
    }

    .container{
        grid-template-columns: repeat(4, 1fr);  
        padding: 3rem 2rem;
 
    }
}

@media (max-width: 992px) {
    .container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .container1 {
        height: 300px;
    }
    
    .container1 h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .content-container,
    .horizontal-gallery,
    .contain,
    .container {
        padding: 2rem 1rem;
        grid-template-columns: repeat(2, 1fr);

    }

    .containerg {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 2rem 1rem;
    }


    .images {
        height: 250px;
    }
    /* .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    } */


    .btn-read {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container1 {
        height: 250px;
        padding: 0 0.5rem;
    }

    .container1 h2 {
        font-size: 1.8rem;
    }

    .container1 #invest {
        padding: 10px 20px;
    }
    
    .container {
        padding: 2rem 1rem;
        grid-template-columns: repeat(1, 1fr);

    }

    .containerg {
        padding: 1.5rem 1rem;
    }

    .box {
        height: auto;
        min-height: 200px;
    }

    .images {
        height: 200px;
    }
    /* .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    } */

    .content-container
    {
        padding: 2rem 1rem;
        grid-template-columns: repeat(1, 1fr);

    }
}


.lines {
        font-size: 25px;
        font-weight: 90;
        justify-self: center;
        text-align: center;
        border-bottom: 1px solid #222121;
        width: 90%;
        margin-top: 1rem;
    }
    
    .containers {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        gap: 0%;
        height: auto-fit;
        margin-top: 0%;
        padding-top: 0%;
    }
    
    .containers1 {
        display: grid;
        border-right: 2px solid#222121;
    }
    
    .containers2 {
        display: grid;
    }
    
    .projectR {
        display: flex;
        position: relative;
        justify-items: end;
    }
    
    .projectR p {
        font-size: medium;
        background-color: aliceblue;
        padding: 0.8rem 0.8rem 0.8rem 2rem;
        border-radius: 20%;
        margin-top: 1.5rem;
    }
    
    .projectL {
        display: block;
        /* position: relative; */
        justify-items: end;
    }
    
    .projectL p {
        font-size: medium;
        background-color: aliceblue;
        padding: 0.8rem 2rem 0.8rem 0.8rem;
        border-radius: 20%;
    }
    
    @media (max-width: 480px) {
        .projectR,
        .projectL {
            max-width: 100%;
        }


        .projectR p,
        .projectL p {
            padding: clamp(0.4rem, 3vw, 0.6rem);
            margin-top: clamp(0.8rem, 2.5vw, 1rem);
        }

        .projectR p {
            padding-left: clamp(1.5rem, 5vw, 2rem);
        }

        .projectL p {
            padding-right: clamp(1.5rem, 5vw, 2rem);
        }

        .containers {
            padding: 0.5rem;
        }
    }
    
    @media (hover: none) and (pointer: coarse) {
        .projectR p,
        .projectL p {
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }
    /* Print styles */
    
    @media print {
        .containers1 {
            border-color: #000;
        }

        .projectR p,
        .projectL p {
            background-color: transparent;
            border: 1px solid #000;
        }
    }
    /* Reduced motion support */
    
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    /* Dark mode support */
    
    @media (prefers-color-scheme: dark) {
         :root {
            --bg-color: #2d3748;
            --border-color: #4a5568;
        }

        .projectR p,
        .projectL p {
            color: #e2e8f0;
        }
    }
    /* High contrast support */
    
    @media (prefers-contrast: high) {
         :root {
            --border-color: #000000;
        }
        
        .projectR p,
        .projectL p {
            background-color: #ffffff;
            border: 1px solid #000000;
        }
    }