*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Georama', sans-serif ;
    text-decoration: none;
    color: #707173;
    --coc-blue: #0084d5;
    --coc-text: #808080;
}

html,
body{
    width: 100%;
    max-width: 100%;
}

/* clip, not hidden: hidden makes body a scroll container and breaks the
   sticky .left-coc-section. The :has() selectors outrank the global
   `html,body{overflow-x:hidden}` in home.css regardless of load order. */
html:has(.coc-section),
body:has(.coc-section){
    overflow-x: clip;
}

img{
    max-width: 100%;
}

a{
    text-decoration: none!important;
    font-size: 16px;
    font-weight: 600;
}

body{
    background-color: #F5F5F5;
}

.coc-section {
    color: var(--coc-text);
    background: #fff;
    padding: 0 6.6%!important;
    display: flex;
    gap: 6%;
}

.left-coc-section{
    position: sticky;
    top: 0;
    width: 27%;
    align-self: flex-start;
    padding: 64px 0;
}

.mail-card a{
    text-transform: uppercase;
    color: #0084D5;
}

.right-coc-section{
    width: 67%;
}

.colorDivider{
    margin: 44px 6.6%;
}

.hero-section{
    color: var(--coc-text);
    background: #fff;
    padding: 62px 6.6%;
    display: flex;
    gap: 6%;
    align-items: start
}

.hero-section-left{
    width: 27%;
}

.hero-section-left h1{
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 600;
    line-height: 100%;
}

.hero-section-right{
    width: 67%;
}

.hero-section-right p{
    font-size: 18px;
    font-weight: 400;
}

.hero-section-right p a{
    text-transform: uppercase;
    color: #0084D5;
}

.highlights-main-box{
    padding: 0 6.6%;
    background: #fff;
}

.highlights-inner-box{
    background: linear-gradient(270deg, #4D2A86 0%, #23043C 100%);
    padding: 32px 48px;
    border-radius: 20px;
    display: flex;
    gap: clamp(32px, 4vw, 72px);
    justify-content: space-between;
    align-items: center;
}

.highlights-breakline{
    flex: 0 0 1px;
    align-self: center;
    width: 1px;
    height: 60px;
    margin: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.24);
    opacity: 1;
}

.highlights-text-box{
    padding: 32px 0;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: clamp(15px, 2vw, 44px);
    min-width: 0;
}

.highlights-box{
    flex: 1 1 0;
    min-width: 0;
}

.highlights-box h3{
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #fff;
}

.highlights-box p{
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    color: #fff;
}

.highlight-button{
    flex: 0 0 auto;
}

.highlight-button a{
    text-transform: uppercase;
    display: inline-block;
}

.highlight-button button{
    min-width: 230px;
    padding: 16px 28px;
    border: 0;
    border-radius: 999px;
    background: #0084D5;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.highlight-button button:hover{
    background: #087FC1;
    transform: translateY(-1px);
}

.highlight-button button:focus-visible{
    outline: 3px solid rgba(255, 255, 255, .85);
    outline-offset: 3px;
}

.quick-links-title {
    margin: 0 0 16px 20px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
}

.quick-links a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0 7px 20px;
    color: var(--coc-blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
}

.quick-links a.active::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 20px;
    width: 3px;
    border-radius: 3px;
    background: var(--coc-blue);
    content: "";
}

.quick-links a.active {
    padding-left: 31px;
}

.quick-links a span {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 400;
    color: #087bb7;
}

.quick-links a:hover {
    color: #087bb7;
}

.quick-links a:focus-visible {
    outline: 2px solid var(--coc-blue);
    outline-offset: 3px;
}

.complaint-card {
    display: flex;
    flex-direction: column;
    padding: 32px;
    border-radius: 20px;
    background: #f0f0f0;
    gap: 12px;
}

.complaint-card-header{
    display: flex;
    align-items: center;
    gap: 6px;
}

.complaint-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
    margin: 0;
}

.complaint-card p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 160%;
    font-weight: 500;
}

.complaint-card button {
    align-self: flex-start;
    padding: 16px 32px;
    border-radius: 80px;
    background: #fff;
    color: var(--coc-blue);
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    border: 1px solid var(--coc-blue);
}

.mail-card{
    border-radius: 20px;
    border: 0.5px solid #707173;
    padding: 32px;
    margin-top: 24px;
}

.mail-card h3{
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
}

.mail-card h3 span{
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    margin-top: 6px;
}

.coc-content {
    padding: 64px 16px;
    scroll-margin-top: 24px;
    border-bottom: 0.5px solid #707173;
}

.coc-content:nth-last-child(1){
    border-bottom: none;
}

.coc-content h2 {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 600;
    line-height: 100%;
}

.coc-content p,
.coc-content li {
    font-size: 16px;
    line-height: 160%;
    font-weight: 400;
}

.coc-content p {
    margin-bottom: 0;
    max-width: 95%;
}

.coc-content a{
    text-transform: uppercase;
    color: var(--coc-blue);
    font-weight: 600;
    font-size: 16px;
}

.coc-content ul {
    margin: 0;
    padding-left: 19px;
}

.certificate-design-box{
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 32px;
    margin-top: 24px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.4), 0 8px 24px -6px rgba(0, 0, 0, 0.16);
    min-width: 0;
}

.certificate-design-box img{
    width: 420px;
    max-width: 48%;
    height: auto;
    flex: 0 1 420px;
    border-radius: 10px;
    border: 1px solid #dadada;
}

.certificate-text-box{
    flex: 1 1 0;
    min-width: 0;
}

.certificate-text-box h3{
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
}

.certificate-text-box p{
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
}

.certificate-text-box p a{
    text-transform: lowercase;
}

.accordion-item{
    border: none!important;
    border-radius: 0!important;
    background: none!important;
    padding: 32px 0!important;
    border-bottom: 1px solid #E2E2E2!important;
}

.accordion-item:nth-last-child(1){
    border-bottom: none!important;
}

#faqs .accordion-button:not(.collapsed), #modules .accordion-button:not(.collapsed){
    background:transparent;
    color:#707173;
    box-shadow:none;
}

#faqs h2{
    margin-bottom: 0;
}

#faqs .accordion-button:focus , #modules .accordion-button:focus{
    box-shadow:none;
}

#faqs .accordion-button:focus-visible, #modules .accordion-button:focus-visible{
    outline:2px solid var(--coc-blue);
    outline-offset:6px
}

button.accordion-button{
    background: none;
    padding: 0;
}

.accordion-title-text{
    font-size: 20px;
    font-weight: 600;
    line-height: 100%;
    color :#707173;

}

.accordion-module-text{
    font-size: 12px;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
}

#faqs .accordion-button::after, #modules .accordion-button::after {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-left: auto;
    border: 1px solid #0084D5;
    border-radius: 50%;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m8 10 4 4 4-4' fill='none' stroke='%230084d5' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    box-shadow: 0 3px 8px rgb(0 0 0 / 15%);
    transform: rotate(0);
    transition: transform 0.2s ease;
}

#faqs .accordion-button:not(.collapsed)::after, #modules .accordion-button:not(.collapsed)::after{
    transform:rotate(180deg)
}

/* self css: the gap is padding, not margin, so the collapse animation ends at the final height without a snap */
.accordion-body{
    padding: 6px 0 0!important;
}

.accordion-main-box{
    padding: 32px;
    border-radius: 10px;
    border: solid 1px #dadada;
    box-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.4), 0 8px 24px -6px rgba(0, 0, 0, 0.16);
    min-width: 0;
}


@media(max-width:1399px){
    .complaint-card{
        padding:24px
    }
    
    .quick-links a{
        text-transform: uppercase;
        font-size:14px
    }
}

@media(max-width:1199px){
    .highlights-inner-box{
        flex-direction: column;
        gap: 8px;
        padding: 28px 40px 36px;
    }

    .highlights-text-box{
        width: 100%;
    }

    .hero-section-left h1{
        font-size:36px
    }
}


@media(max-width:1024px){
    .hero-section,.coc-section{
        flex-direction:column;
        gap:32px
    }

    .hero-section-left,.hero-section-right,.left-coc-section,.right-coc-section{
        flex:none;
        width:100%
    }

    .left-coc-section{
        position:static;
        max-height:none;
        overflow:visible;
        padding:0
    }

    .hero-section{
        padding-block:40px
    }

    .coc-content{
        padding-inline:0
    }

    .coc-content{
        scroll-margin-top:24px
    }

    .certificate-design-box{
        flex-direction: column;
        align-items: stretch;
    }

    .certificate-design-box img{
        width: min(100%, 520px);
        max-width: 100%;
        flex-basis: auto;
        align-self: center;
    }
}

@media(min-width:768px) and (max-width:900px){
    .highlights-text-box{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .highlights-breakline{
        display: none;
    }

    .highlights-box{
        padding: 18px 24px;
    }

    .highlights-box:nth-of-type(even){
        border-left: 1px solid rgba(255, 255, 255, 0.24);
    }

    .highlights-box:nth-of-type(n+3){
        border-top: 1px solid rgba(255, 255, 255, 0.24);
    }
}

@media(max-width:767px){

    .breadbumb,
    .hero-section,
    .coc-section{
        padding-inline: 20px;
    }

    .colorDivider{
        margin: 32px 20px;
    }

    .highlights-main-box{
        padding-inline: 20px;
    }

    .highlights-inner-box{
        align-items: stretch;
        padding: 32px 24px;
        border-radius: 16px;
        gap: 28px;
    }

    .highlights-text-box{
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 0;
    }

    .highlights-box{
        text-align: center;
    }

    .highlights-breakline{
        width: 100%;
        height: 1px;
    }

    .highlight-button,
    .highlight-button a,
    .highlight-button button{
        width: 100%;
    }

    .highlight-button button{
        min-width: 0;
    }

    .breadbumb{
        min-height:80px
    }

    .hero-section{
        gap: 24px;
        padding-block: 36px;
    }

    .hero-section-left h1{
        font-size: clamp(28px, 8vw, 32px);
        line-height: 1.08;
    }

    .hero-section-right,
    .coc-content,
    .certificate-design-box,
    .certificate-text-box,
    .accordion-main-box,
    .accordion,
    .accordion-item,
    .accordion-button,
    .accordion-title-text{
        min-width: 0;
        max-width: 100%;
    }

    .hero-section-right p,
    .coc-content p,
    .coc-content li,
    .mail-card a{
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }

    .coc-content h2{
        font-size:20px
    }

    .complaint-card button{
        padding:12px 24px;
        font-size:14px
    }

    .coc-content p,.coc-content li,.complaint-card p{
        font-size:14px
    }

    .coc-content{
        padding-block:28px
    }

    .complaint-card{
        padding:20px
    }

    .mail-card,
    .certificate-design-box,
    .accordion-main-box{
        padding: 20px;
    }

    .certificate-design-box{
        gap: 20px;
    }

    .accordion-item{
        padding-block: 24px!important;
    }

    #faqs .accordion-button::after,
    #modules .accordion-button::after{
        width: 30px;
        height: 30px;
        margin-left: 12px;
    }

    .accordion-title-text{
        font-size:18px
    }

}

/* self css: page background is white in the design (membership.css sets #f5f5f5 on body) */
html body{
    background-color: #fff;
}

/* self css: the "Get certified" button repeated under the FAQs (Figma) */
.faq-cta-button{
    margin-top: 44px;
    text-align: center;
}

/* self css: home.css gives the divider width 100%, which with the design margin ran past the right edge */
hr.colorDivider{
    width: auto;
}
