/*
Theme Name: underscore Child
Theme URI: http://underscores.me/
Template: underscore
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Tags: custom-background,custom-logo,custom-menu,featured-images,threaded-comments,translation-ready
Version: 1.0.0.1767865074
Updated: 2026-01-08 16:37:54

*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700&display=swap');

:root {
    --primary-green: #1a9c6d;
    --text-dark: #1f2937;
    --bg-light: #f6f8fb;
    --border-soft: #d9e9df;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Sticky Footer */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#page {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.site-content {
    flex: 1;
}

.home-main {
    color: var(--text-dark);
    background: #ffffff;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.service-title,
.info-title {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 28px);
}

.home-main section {
    padding: clamp(48px, 6vw, 80px) 0;
}

.section-title {
    text-align: center;
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 600;
    letter-spacing: 0.04em;
    position: relative;
    /* opacity: 0; -- Removed to fix visibility. Animation via parent [data-animate] */
    /* transform: translateY(24px); */
    /* transition: opacity .6s ease, transform .6s ease; */
}

.section-title::after {
    content: "";
    width: 80px;
    height: 2px;
    background: currentColor;
    display: block;
    margin: 16px auto 0;
    /* transform: scaleX(0); -- Removed to ensure visibility */
}

/* 
.section-title.is-visible { ... } -- Removed as redundant if not using data-animate on the title itself
*/

/* Fade-up animation */

/* Fade-up animation */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--anim-delay, 0ms);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*Process*/
.process-list-section.card {
    display: none}

/* Services */
.home-services {
    background: var(--bg-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.service-card {
    flex: 0 1 calc(50% - 12px);
    background: #ffffff;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-decoration: none;
}

.service-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #128c5e 100%);
    box-shadow: 0 10px 20px rgba(26, 156, 109, 0.2);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    transition: transform 0.4s ease;
}

.service-icon i {
    color: #ffffff !important;
    font-size: 28px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.service-desc {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-more {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.service-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-green);
    background: #fff;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-title {
    color: var(--primary-green);
}

.service-card:hover .service-more {
    opacity: 1;
    gap: 12px;
}

.service-card:hover .service-icon i {
    color: #ffffff !important;
}

.service-card:hover .service-more i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 24px;
    }

    .service-icon {
        margin-bottom: 8px;
    }
}

.service-empty {
    color: #6b7280;
    text-align: center;
    width: 100%;
}

/* Partners */
.home-partners {
    background: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.partner-card {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 18px;
    background: #fdfefe;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.partner-logo {
    display: grid;
    place-items: center;
    transition: filter 0.25s ease;
}

.partner-logo img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.partner-card:hover .partner-logo {
    filter: grayscale(0);
}

/* Technology grid */
.home-tech__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.link-see-all {
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.tech-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.tech-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tech-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.tech-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 156, 109, 0) 0%, rgba(26, 156, 109, 0.28) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tech-card:hover img {
    transform: scale(1.05);
}

.tech-card:hover .tech-overlay {
    opacity: 1;
}

/* Info columns */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #0E9F6E;
    /* Permanent Green Border */
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft permanent shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 159, 110, 0.15);
    /* Greenish shadow on hover */
}

.info-title {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
}

.info-name {
    font-size: 15px;
    font-weight: 500;
    /* Lighter weight */
    color: #6b7280;
    margin-bottom: 0;
}


/* =========================================
   Homepage Contact Section
   ========================================= */
.home-contact {
    padding: 80px 0;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px;
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(18, 140, 94, 0.08);
    border-color: #128c5e;
}

.info-icon-circle {
    width: 60px;
    height: 60px;
    background: #f0fdf4;
    color: #128c5e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-title {
    font-size: 1.25rem;
    color: #111827;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-name {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 1rem;
}

.info-contact-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.contact-item:hover {
    background: #f0fdf4;
}

.contact-icon {
    color: #128c5e;
    display: flex;
    flex-shrink: 0;
}

.contact-text {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

@media (max-width: 768px) {
    .home-tech__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   Lightbox Styles
   ========================================= */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.lightbox-image {
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

body.lightbox-open {
    overflow: hidden;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 95%;
    }
}

/* Lightbox Navigation */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    text-decoration: none;
    z-index: 10001;
    background-color: rgba(0, 0, 0, 0);
    /* Transparent by default */
}

.lightbox-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
}

/* Responsive Typography for Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 28px !important;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    h2 {
        font-size: 24px !important;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    h3 {
        font-size: 20px !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    h4 {
        font-size: 18px !important;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    h5 {
        font-size: 16px !important;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    h6 {
        font-size: 14px !important;
        line-height: 1.5;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 28px !important;
    }
}