/* ============================================================
   ISO Certification Page — matches design exactly
   Green: #516947
   ============================================================ */

/* ---- HERO (white → very light green gradient) ---- */
.iso-hero {
    background: linear-gradient(180deg, #ffffff 0%, #edf3ea 100%);
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.iso-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.iso-hero h1,
.iso-hero-h1 {
    font-size: 2.6rem;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.iso-hero-sub {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

/* Glow rings container — sits as relative wrapper so rings stack in center */
.iso-badge-wrap {
    display: flex;
    justify-content: center;
}

.iso-badge-glow {
    position: relative;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Each ring is absolutely centered, progressively larger & more transparent */
.iso-badge-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #516947;
    pointer-events: none;
    animation: ring-pulse 3s ease-in-out infinite;
}

.iso-badge-ring-1 {
    width: 155px;
    height: 155px;
    opacity: 0.25;
    animation-delay: 0s;
    animation-name: ring-pulse-1;
}

.iso-badge-ring-2 {
    width: 195px;
    height: 195px;
    opacity: 0.12;
    animation-delay: 0.7s;
    animation-name: ring-pulse-2;
}

.iso-badge-ring-3 {
    width: 240px;
    height: 240px;
    opacity: 0.06;
    animation-delay: 1.4s;
    animation-name: ring-pulse-3;
}

@keyframes ring-pulse-1 {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.25; }
    50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.14; }
}

@keyframes ring-pulse-2 {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.12; }
    50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.06; }
}

@keyframes ring-pulse-3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: 0.06; }
    50%       { transform: translate(-50%, -50%) scale(1.08); opacity: 0.02; }
}

/* The actual badge sits above the rings */
.iso-badge {
    position: relative;
    z-index: 2;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #516947;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.iso-badge-label {
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-top: 4px;
}

.iso-badge-sub {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ---- WHAT THIS MEANS (white background) ---- */
.iso-means {
    background: #ffffff;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.iso-means-inner {
    position: relative;
    z-index: 1;
}

/* Decorative watermark triangles (very light green) */
.iso-watermark-tl,
.iso-watermark-br {
    position: absolute;
    width: 200px;
    height: 200px;
    opacity: 0.06;
    z-index: 0;
    pointer-events: none;
}

.iso-watermark-tl {
    top: -40px;
    left: -40px;
    border-right: 200px solid #516947;
    border-bottom: 200px solid transparent;
    width: 0;
    height: 0;
}

.iso-watermark-br {
    bottom: -40px;
    right: -40px;
    border-left: 200px solid #516947;
    border-top: 200px solid transparent;
    width: 0;
    height: 0;
}

.iso-means h2 {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.iso-means-sub {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    max-width: 580px;
    margin: 0 auto 3rem;
}

/* Benefits grid - 3 columns, each a white card */
.iso-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
}

.iso-benefit-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ebebeb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
}

/* Quarter-circle watermark in top-right corner */
.iso-benefit-card-watermark {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(81, 105, 71, 0.1);
    pointer-events: none;
}

/* Green square icon container */
.iso-benefit-icon {
    width: 50px;
    height: 50px;
    background: #516947;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.iso-benefit-card h3 {
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.iso-benefit-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.75;
    margin: 0;
}

/* ---- PILLARS (BLACK background) ---- */
.iso-pillars {
    background: #000000;
    padding: 5rem 1rem;
    text-align: center;
}

.iso-pillars-title {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.iso-pillars-sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.75;
}

/* 3-column dark cards */
.iso-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: left;
}

.iso-pillar-card {
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Icon box — light mint transparent background */
.iso-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(100, 200, 140, 0.12);
    border: 1px solid rgba(100, 200, 140, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

/* Title: white, bold, larger */
.iso-pillar-title {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    margin: 0;
}

/* "What it Means:" / "Our Commitment:" — green label */
.iso-pillar-label {
    font-size: 0.78rem;
    color: #5db876;
    font-weight: 700;
    margin: 0;
    margin-top: 0.4rem;
}

/* Description body — muted gray */
.iso-pillar-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0;
}

/* Commitment body — slightly lighter */
.iso-pillar-body {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin: 0;
}

/* ---- DOWNLOAD (very light green background) ---- */
.iso-download {
    background: #edf3ea;
    padding: 4rem 1rem;
    text-align: center;
}

.iso-download-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Green circle with white filled icon */
.iso-download-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #516947;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.iso-download h2 {
    font-size: 1.65rem;
    color: #1a1a1a;
    margin: 0;
}

.iso-download p {
    font-size: 0.95rem;
    color: #555;
    max-width: 500px;
    line-height: 1.8;
    margin: 0;
}

.iso-download-btn {
    display: inline-block;
    background: #516947;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.iso-download-btn:hover {
    background: #3d5035;
    transform: translateY(-2px);
}

/* ============================================================
   Home page ISO Banner
   ============================================================ */
.iso-banner {
    background: #516947;
    position: relative;
    overflow: hidden;
}

.iso-banner-watermark {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    height: 120%;
    width: auto;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.iso-banner-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    position: relative;
    z-index: 1;
    max-width: 1136px;
    margin: 0 auto;
}

.iso-banner-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-banner-text {
    color: white;
    flex: 1;
}

.iso-banner-text strong {
    font-weight: 700;
}

.iso-banner-link {
    color: #c5e0bc;
    font-weight: 700;
    margin-left: 0.5rem;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.iso-banner-link:hover {
    color: #ffffff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 767px) {
    .iso-hero-h1 {
        font-size: 1.75rem;
    }

    .iso-hero-sub {
        font-size: 0.92rem;
    }

    .iso-badge-glow {
        width: 180px;
        height: 180px;
    }

    .iso-badge-ring-1 {
        width: 120px;
        height: 120px;
    }

    .iso-badge-ring-2 {
        width: 152px;
        height: 152px;
    }

    .iso-badge-ring-3 {
        width: 180px;
        height: 180px;
    }

    .iso-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .iso-pillars-title {
        font-size: 1.75rem;
    }

    .iso-pillars-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .iso-download h2 {
        font-size: 1.35rem;
    }

    .iso-banner-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .iso-banner-text {
        font-size: 0.82rem;
    }

    .iso-banner-watermark {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .iso-hero-h1 {
        font-size: 2.1rem;
    }

    .iso-pillars-title {
        font-size: 2.2rem;
    }

    .iso-benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .iso-pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .iso-hero {
        padding: 5rem 2rem 4rem;
    }

    .iso-hero-h1 {
        font-size: 2.75rem;
    }

    .iso-pillars-title {
        font-size: 3rem;
    }

    .iso-means,
    .iso-pillars,
    .iso-download {
        padding: 5rem 2rem;
    }

    .iso-means h2 {
        font-size: 2.5rem;
    }
}