/* ==========================================================================
   Info / Good To Know Component
   ========================================================================== */

/* Main Section Wrapper */
.info-section {
    width: 100%;
    padding: 3rem 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.info-container {
    grid-column-gap: 80px;
    grid-row-gap: 80px;
    background-color: var(--primary-002);
    border-radius: 0;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: center;
    place-items: center;
    padding: 32px 0;
    display: flex;
}

/* Common Icon Styling (replacing the missing SVGs) */
.info-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-bottom: 0;
    /* Reset */
}

.info-icon i {
    font-size: 1.5rem;
}

/* Text Styling */
.gtk-label {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-004);
}

/* ==========================================================================
   Desktop / Tablet Layout (.good-to-know)
   Visible on screens > 768px
   ========================================================================== */
.good-to-know {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1050px;
    /* Indented alignment */
    margin: 0 auto;
    gap: 2rem;
}

.gtk-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

/* Desktop Theme Colors */
@media screen and (min-width: 769px) {
    .info-section {
        background-color: var(--primary-002);
        /* Full width peach bar */
    }

    .good-to-know-mobile {
        display: none !important;
    }

    /* Item 1 & 3: Red Theme */
    .gtk-item:nth-child(1) .info-icon,
    .gtk-item:nth-child(3) .info-icon {
        background-color: var(--red-001);
    }

    .gtk-item:nth-child(1) .info-icon i,
    .gtk-item:nth-child(3) .info-icon i {
        color: var(--red-002);
    }

    /* Item 2: Green Theme */
    .gtk-item:nth-child(2) .info-icon {
        background-color: var(--green-001);
    }

    .gtk-item:nth-child(2) .info-icon i {
        color: var(--green-003);
    }
}


/* ==========================================================================
   Responsive Layouts (Tablet & Mobile)
   ========================================================================== */

/* Hide legacy mobile structure globally */
.good-to-know-mobile {
    display: none !important;
}

/* Tablet Layout (max-width: 768px) */
/* This covers everything below 768px, acting as the base for small screens */
@media screen and (max-width: 768px) {
    .info-container {
        background-color: transparent;
        padding: 2rem;
    }

    .good-to-know {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.875rem;
        background-color: transparent;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .gtk-item {
        background-color: var(--primary-002);
        border-radius: 1.5rem;
        padding: 2.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }

    /* Icon Theme Colors (Tablet/Mobile Base) */
    .gtk-item:nth-child(1) .info-icon,
    .gtk-item:nth-child(3) .info-icon {
        background-color: var(--red-001);
    }

    .gtk-item:nth-child(1) .info-icon i,
    .gtk-item:nth-child(3) .info-icon i {
        color: var(--red-002);
    }

    .gtk-item:nth-child(2) .info-icon {
        background-color: var(--green-001);
    }

    .gtk-item:nth-child(2) .info-icon i {
        color: var(--green-003);
    }
}

/* Mobile Layout (max-width: 631px) */
/* Overrides Tablet styles for very small screens */
@media screen and (max-width: 631px) {
    .info-container {
        padding: 0 1.5rem 3rem 1.5rem;
    }

    .good-to-know {
        display: flex !important;
        flex-direction: column;
        gap: 0.875rem;
        width: 100%;
        /* max-width: 400px; */
        margin: 0 auto;
    }

    .gtk-item {
        width: 100%;
        padding: 2.5rem 2rem;
        border-radius: 2rem;
    }

    /* Icon Sizing for Mobile */
    .info-icon {
        width: 4rem;
        height: 4rem;
    }

    .info-icon i {
        font-size: 2rem;
    }

    .gtk-label {
        font-size: 1.1rem;
    }

    /* Colors inherit from Tablet query above */
}