
/* Card grid layout */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 15rem;
    max-width: 100vw;
    align-items: stretch;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 2fr 5fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "logo name details"
      "logo tagline details"
      "logo tagline details"
      "logo buttons details";
    min-height: 12rem;
    color: #ddd;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem 1rem;
    transition: box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    gap: .5rem;
    transition: box-shadow .5s, background .5s;
}
.project-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, 0.2) 100%);
}

.project-image {
    grid-area: logo;
    height: 100%;
    width: 100%;
    object-fit: contain;
    align-self: stretch;
    /* Remove image link for now: just show image */
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
    transition: filter 0.5s;
}
.project-card:hover .project-image{
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.project-name {
    grid-area: name;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.project-tagline {
    grid-area: tagline;
    font-size: 1rem;
    padding: 0 4rem;
    text-align: center;
}

.project-details {
    grid-area: details;
    font-size: 1.5rem;
    line-height: 1.8rem;
    text-align: justify;
    padding-right: 2rem;
}
.project-buttons {
    grid-area: buttons;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.card-btn {
    /* display: inline-block; */
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.card-btn-light-blue {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #90caf9;
}
.card-btn-light-blue:hover {
    background: #90caf9;
    color: #fff;
}
.card-btn-grey {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
}
.card-btn-grey:hover {
    background: #ccc;
    color: #222;
}

/* #region Breakpoints */

/*xxxSmall*/
@media (max-width: 600px) {
    .card-grid {
        padding: 2rem 2rem;
    }
    .project-card {
        grid-template-columns: 1fr;
        grid-template-rows: 6rem auto auto auto;
        grid-template-areas:
            "logo"
            "name"
            "tagline"
            "buttons";
        height: 18rem;
    }
    .project-details {
        display: none;
    }
}

/*xxSmall*/
@media (min-width: 601px) and (max-width: 1084px) {
    .card-grid {
        padding: 2rem 2rem;
    }
    .project-card {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 3rem 3rem 3rem 3rem;
        grid-template-areas:
            "logo name"
            "logo tagline"
            "logo buttons"
            "logo buttons";
    }
    .project-details {
        display: none;
    }
}

/*xSmall*/
@media (min-width: 1085px) and (max-width: 1249px) {
    .card-grid {
        padding: 2rem 15rem;
    }
    .project-card {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 3rem 3rem 3rem 3rem;
        grid-template-areas:
            "logo name"
            "logo tagline"
            "logo buttons"
            "logo buttons";
    }
    .project-details {
        display: none;
    }
}

/*Small*/
@media (min-width: 1250px) and (max-width: 1659px) {
    .project-card {
        grid-template-areas:
        "logo name details"
        "logo tagline details"
        "logo buttons details"
        "logo buttons details";
    }
    .card-btn {
        width: 80%;
    }  
}
/*Medium*/
@media (min-width: 1660px) and (max-width: 1819px) {
    .card-grid {
        padding: 2rem 15rem;
    }
    .project-card {
        grid-template-areas:
        "logo name details"
        "logo tagline details"
        "logo buttons details"
        "logo buttons details";
    }
}

/*Large*/
@media (min-width: 1820px) and (max-width: 1999px) {
    .project-tagline {
        padding: 0 1rem;
    }
}

/*xLarge*/
@media (min-width: 2000px) {
    .project-name {
        padding: 0;
    }
    .project-tagline {
        padding: 0;
    }
}

/*xxLarge*/
@media (min-width: 2500px) {

}

/* #endregion Breakpoints */

/* Visually hide section headings but keep for accessibility/SEO */
h2 {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* Section divider style */
.section-divider {
    width: 100%;
    height: 4px;
    margin: 0;
    background: #222;
    border-radius: 0;
    opacity: 0.7;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
}
/* Minimal styling for Ignyos homepage */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #292e30;
    color: #222;
    overflow-x: hidden;
}
header {
    background: #222;
    color: #fff;
    padding: 1rem;
    padding-bottom: 0;
    text-align: center;
    position: relative;
    z-index: 1;
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
nav a.tab {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background 0.2s;
}
nav a.tab.active {
    background: #ff9800;
    color: #222;
    font-weight: bold;
}
.software-bg {
    background: linear-gradient(135deg, #e3f2fd 60%, #bbdefb 100%);
}
.hardware-bg {
    background: linear-gradient(135deg, #fce4ec 60%, #f8bbd0 100%);
}
.services-bg {
    background: linear-gradient(135deg, #e8f5e9 60%, #a5d6a7 100%);
}
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    width: 100%;
    bottom: 0;
}
.scroll-content {
    margin-top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    overflow-x: hidden;
}
.page-grid {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100vh;
}
.content-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
main {
    flex: 1 0 auto;
}
footer {
    flex-shrink: 0;
}
.main-nav {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
    transition: background 0.2s, color 0.2s;
}
.nav-link.active {
    color: #fff;
    border-bottom: rgb(48, 170, 54) solid .3rem;
}
.nav-link.active:hover {
    color: inherit;
    color: #fff;
    border-bottom: rgb(48, 170, 54) solid .3rem;
}
.nav-link:hover {
    color: rgb(55, 104, 238);
}

.footer,a {
    color: #4682db;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1.2rem;
}