/* ============================
   ISO Certification Page
   ============================ */

/* Hero Section */
.iso__hero__section {
    background-color: #0d0d0d;
    background-image: url("../img/iso_banner.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 3.75rem;
    padding: 4rem 1rem;
    position: relative;
    color: white;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.iso__hero__overlay {
    /* Overlay removed to show exact banner design */
    display: none;
}

.iso__hero__content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}

.iso__hero__content h1 {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 2.4rem;
    max-width: 600px;
    text-align: left;
}

/* Main Two-Column Layout */
.iso__main__section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.iso__layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.iso__layout__main {
    flex: 1;
}

.iso__layout__sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .iso__layout {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }

    .iso__layout__main {
        max-width: 65%;
    }

    .iso__layout__sidebar {
        width: 320px;
        flex-shrink: 0;
    }
}

/* Intro & What It Means (Left Column) */
.iso__intro {
    margin-bottom: 3rem;
}

.iso__intro__img {
    max-width: 100%;
    margin-bottom: 2rem;
    display: block;
}

.iso__intro p {
    font-size: 0.9375rem;
    line-height: 1.875rem;
    font-weight: 300;
    color: var(--text);
    margin-bottom: 1rem;
}

.iso__means h2 {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--header);
    margin-bottom: 0.75rem;
}

.iso__means__lead {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.875rem;
    color: var(--text);
    margin-bottom: 2rem;
}

.iso__means__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .iso__means__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.iso__means__item {
    border: none;
    padding: 0;
}

.iso__means__item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.75rem;
}

.iso__means__item p {
    font-size: 0.875rem;
    line-height: 1.6rem;
    font-weight: 300;
    color: var(--text);
}

/* Sidebar Styling */
.sidebar__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #fafafa;
    color: #444;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sidebar__link:hover {
    background-color: #f0f0f0;
    color: #000;
}

.sidebar__link svg {
    color: #888;
}

.sidebar__social {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
}

.social__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.social__item:hover {
    transform: scale(1.05);
}

/* Pillars (CIA Triad) Section */
.iso__pillars__section {
    padding: 4rem 0;
    background-color: #f8f8f9;
}

.iso__pillars__section h2 {
    font-size: 1.75rem;
    font-weight: 400;
    text-align: center;
    color: var(--header);
    margin-bottom: 1rem;
}

.iso__pillars__lead {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.875rem;
    color: var(--text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.iso__pillars__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .iso__pillars__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.iso__pillar__card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.iso__pillar__img {
    width: 100%;
    height: 160px;
    background-color: #ebf0f1;
    /* Matching the pillar image background */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.iso__pillar__img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.iso__pillar__body {
    padding: 1.5rem;
    flex: 1;
}

.iso__pillar__body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.iso__pillar__what-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #229f55;
    /* Green bold */
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.iso__pillar__body p {
    font-size: 0.875rem;
    line-height: 1.6rem;
    font-weight: 300;
    color: var(--text);
}

/* Download Section */
.iso__download__section {
    background-color: #9c9e9e;
    /* Solid flat grey matching the design */
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .iso__download__section {
        padding: 6rem 0;
    }
}

.iso__download__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .iso__download__container {
        flex-direction: row;
        gap: 2rem;
    }
}

.iso__download__image_box {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .iso__download__image_box {
        margin: 0 120px 0 0;
        /* space for the absolute circle overlap */
    }
}

.iso__download__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.iso__download__icon {
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #00aa4f;
    /* Green */
    color: white;
    /* Simulate the slightly darker semi-transparent outer green ring */
    box-shadow: 0 0 0 10px rgba(0, 170, 79, 0.4);
    z-index: 2;
}

@media (min-width: 768px) {
    .iso__download__icon {
        width: 220px;
        height: 220px;
    }
}

.iso__download__icon span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.iso__download__text {
    text-align: left;
    color: white;
    max-width: 550px;
    flex: 1;
}

.iso__download__text h2 {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: white;
}

.iso__download__text p {
    font-size: 0.9375rem;
    font-weight: 300;
    line-height: 1.75rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.iso__download__btn {
    display: inline-block;
    background-color: #00aa4f;
    color: white;
    text-decoration: none;
    padding: 0.875rem 2.5rem;
    font-size: 0.9375rem;
    transition: background-color 0.2s linear;
    border: none;
}

.iso__download__btn:hover {
    background-color: #00883d;
    color: white;
}

/* Helper variables (if not globally defined) */
:root {
    --header: #1e1d28;
    --text: #54575e;
    --primary: #229f55;
    --border: #f0f0f0;
}