/* certifications.css */

/* HERO SECTION */
.cert-hero {
    position: relative;
    padding: 6rem 1rem 4rem;
    width: 100%;
    /* Refined LearnDepth green gradient */
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 40%, #e6f8ec 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 420px;
    border-bottom: 1px solid rgba(55, 126, 68, 0.1);
}

.cert-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1rem;
}

.cert-hero-content {
    max-width: 800px;
    width: 100%;
}

.cert-breadcrumb {
    font-size: 0.875rem; /* ~14px */
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.cert-breadcrumb a:hover {
    color: var(--primary-green);
}

.cert-breadcrumb span.separator {
    font-size: 0.75rem;
}

.cert-breadcrumb span.current {
    font-weight: 500;
    color: var(--text-main);
}

.cert-hero-title {
    font-family: var(--font-serif);
    font-size: var(--fs-h1);
    font-weight: 500;
    font-style: italic;
    color: var(--primary-green);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cert-hero-desc {
    font-size: var(--fs-body);
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 720px;
}

.cert-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-hero-actions .btn {
    font-size: 1rem; /* 16px */
    padding: 0.875rem 1.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cert-hero-actions .btn-primary {
    background-color: var(--text-main); /* Dark charcoal/black per instructions */
    color: white;
    border: 1px solid var(--text-main);
}

.cert-hero-actions .btn-primary:hover {
    background-color: #000000;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cert-hero-actions .btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.cert-hero-actions .btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cert-hero {
        padding-top: 5rem;
        padding-bottom: 3rem;
        min-height: auto;
    }
    
    .cert-hero-desc {
        font-size: 1.125rem; /* ~18px for mobile */
        margin-bottom: 2rem;
    }

    .cert-hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .cert-hero-actions .btn {
        width: 100%;
    }
}

/* FOUNDATIONAL SECTION */
.cert-section {
    padding: 6rem 1rem;
    width: 100%;
    background-color: var(--bg-white);
}

.cert-section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cert-section-header {
    margin-bottom: 4rem;
}

.cert-section-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}

.cert-section-title {
    font-family: var(--font-serif);
    font-size: var(--fs-h2);
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.cert-section-desc {
    font-size: var(--fs-body);
    color: var(--text-muted);
    max-width: 700px;
}

/* PREMIUM CERTIFICATION CARD */
.cert-card-premium {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
}

.cert-card-visual {
    flex: 0 0 340px;
    background-color: #f7fcf9;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-color);
}

.cert-badge-img {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
}

.cert-card-content {
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cert-status-badge {
    align-self: flex-start;
    background-color: var(--bg-offwhite);
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #d1fae5;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.cert-card-heading {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cert-level-indicator {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.cert-card-body {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cert-metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.meta-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.cert-card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.cert-card-actions .btn {
    font-size: 0.9375rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cert-card-premium {
        flex-direction: column;
    }
    
    .cert-card-visual {
        flex: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .cert-section {
        padding: 4rem 1rem;
    }

    .cert-card-content {
        padding: 2rem;
    }

    .cert-metadata-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cert-card-actions {
        flex-direction: column;
    }

    .cert-card-actions .btn {
        width: 100%;
    }
}

/* BENEFITS SECTION */
.benefits-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
    background-color: var(--bg-white);
}

.benefits-header {
    margin-bottom: 3.5rem;
}

.benefits-content-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.benefits-visual {
    flex: 0 0 40%;
}

.benefits-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.benefits-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.benefit-icon {
    flex-shrink: 0;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
}

.benefit-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* RESPONSIVE BENEFITS */
@media (max-width: 1024px) {
    .benefits-content-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .benefits-content-wrapper {
        flex-direction: column;
        gap: 3rem;
    }

    .benefits-visual {
        flex: 1;
        width: 100%;
    }

    .benefits-img {
        max-height: 400px;
    }

    .benefits-list {
        gap: 2rem;
    }
}

/* GET STARTED SECTION */
.get-started-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
}

.get-started-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.get-started-card {
    background-color: var(--bg-offwhite);
    border-radius: 2rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.get-started-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
    border-color: rgba(55, 126, 68, 0.1);
}

.gs-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    background-color: var(--bg-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    align-self: flex-start;
}

.gs-title {
    font-size: var(--fs-h3);
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.gs-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.gs-arrow {
    margin-top: auto;
    font-size: 1.5rem;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.get-started-card:hover .gs-arrow {
    transform: translateX(6px);
    color: var(--primary-green);
}

/* RESPONSIVE GET STARTED */
@media (max-width: 1024px) {
    .get-started-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .get-started-grid {
        grid-template-columns: 1fr;
    }
}
