/* 
    Use every spacing in multiples of 8 or 4
  ----------------------------------------------
    Multiple    | Amount to increment in rem
  ----------------------------------------------
    4px         | 0.25rem
    8px         | 0.5rem
    16px        | 1rem
*/
@font-face {
    font-family: 'Segoe UI';
    src: url('./fonts/segoeui.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
}
body {
    font-size: 16px;
}
.header {
    min-height: 4.25rem;
}

.logo {
    padding-left: 1rem;
    width: fit-content;
}

#headerBrand {
    height: 1.75rem;
    width: fit-content;
    text-align: left;
    letter-spacing: 0rem;
    color: #212121;
    opacity: 1;
    margin: 0rem;
    display: flex;
    align-items: center;
}

#headerBrand .logo-text {
    color: #737373;
    font: normal normal 600 1rem Segoe UI;
    margin: 0.25em 0.5em 0.5em 0.5em;
}

@media screen and (max-width: 639px) {
    #headerBrand .logo-text {
        font: normal normal 600 0.75rem Segoe UI;
    }
}

.header-list {
    list-style-type: none;
}

.header-links {
    font: normal normal 400 1rem Segoe UI;
    line-height: 1.25rem;
    letter-spacing: 0px;
    color: #212121;
    opacity: 1;
    padding: 0.75em;
    border-bottom: #0078D4;
}

#goToProtocolWebsite, #goToProtocolWebsite_mobile {
    background: #0078D4 !important;
    color: #ffffff !important;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.anchor-link {
    text-decoration: none;
    color: #212121;
}

.hamburger-menu {
    padding: 0.75rem;
    cursor: pointer
}

#mobileMenu {
    cursor: pointer;
    flex-basis: 100%;
}

.header-links-mobile {
    padding: 0.75rem;
    font: normal normal 600 1.25rem/1.5rem Segoe UI;
}

#hr-mobileListStart {
    margin-top: 0;
}

#hr-mobileListEnd {
    margin-bottom: 0;
}

.intro-section {
    background: transparent linear-gradient(106deg, #025BB5 0%, #1378DE 100%) 0% 0% no-repeat padding-box;
    opacity: 1;
    margin: 0;
}

.intro-container {
    padding: 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro-text {
    width: 42%;
    margin-left: 5rem;
}

.intro-video {
    width: 40%;
    margin-right: 5rem;
}

@media only screen and (max-width: 639px) {
    .intro-container {
        flex-direction: column;
    }
    
    .intro-text {
        width: 100%;
        margin-left: 0;
    }
    
    .intro-video {
        width: 100%;
        margin-right: 0;
        margin-top: 5%;
    }
}
.intro-heading {
    text-align: left;
    font: normal normal bold 2.4rem Segoe UI;
    color: #FFFFFF;
    opacity: 1;
}

.teaser-text {
    text-align: left;
    font: normal normal normal 1.4rem Segoe UI;
    letter-spacing: 0px;
    color: #FFFFFF;
    opacity: 1;
}

#getStartedButton {
    width: 240px;
    height: 50px;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 0px;
    border-radius: 8px;
    opacity: 1;
    text-align: center;
    font: normal normal 600 1.4rem Segoe UI;
    letter-spacing: 0px;
    color: #106ebe;
    opacity: 1;
    margin-bottom: auto;
    margin-top: 1.4rem;
}

.video-player {
    box-shadow: 0px 3px 66px #000000B4;
    border-radius: 10px;
    opacity: 1;
    width: 100%;
    object-fit: fill;
}

#implementation, #generateApiKey, #faq, #bestPractices, #samples {
    margin-top: -1.25rem;
    padding-top: 1.25rem;
}

.section-header {
    font: normal normal bold 2.25rem/4rem Segoe UI;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
    margin-bottom: 4.5rem;
    margin-top: 5rem;
    word-wrap: break-word;
}

.step-number {
    background: #4376D7;
    border-radius: 46px;
    font: normal normal bold 1.5rem/2rem Segoe UI;
    letter-spacing: 0px;
    color: white;
    opacity: 1;
    width: 67px;
    height: 67px;
}

.implementation-steps-heading {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    min-height: 4rem;

}

.input-grp {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    border: 2px solid #C6C6C6;
    border-radius: .75rem;
    margin-bottom: 5%;
    padding: 0.25rem;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.key-div {
    overflow: scroll;
    scrollbar-width: none;
    margin-left: 1%;
}

    .key-div::-webkit-scrollbar {
        display: none;
    }

.guid {
    width: 636px;
}

#download-icon {
    cursor: pointer;
    opacity: 1;
    margin-right: 1%;
}

.generate-button {
    width: 180px;
    height: 50px;
    background: #1378DE 0% 0% no-repeat padding-box;
    border: 0px;
    border-radius: 8px;
    opacity: 1;
    font: normal normal 500 1.4rem Segoe UI;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin-bottom: 5%;
}

.blue {
    display: inline;
    color: #1378DE;
    font: normal normal 600 1.6rem Segoe UI;
    width: max-content;
}

.black {
    display: inline;
    color: #000000;
    width: max-content;
    font: normal normal 600 1.6rem Segoe UI;
}

.samples {
    background: #F5F5F5 0% 0% no-repeat padding-box;
    opacity: 1;
    padding: 4% 4%;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 20px;
}

.samples-body {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 6px;
    opacity: 1;
    text-align: left;
    padding: 4%;
}

.samples-body-steps {
    margin-bottom: 30px;
    padding-top: 1rem;
}

.samples-h3 {
    font: normal normal bold 1.5rem/2rem Segoe UI;
}

.samples-para {
    font: normal normal normal 1.1rem/1.5rem Segoe UI;
    word-wrap: break-word;
}

.anchor {
    text-decoration: none;
}

.code-block-row {
    margin-top: 4rem;
}

.code-block-title {
    height: 46px;
    background: #E8E8E8 0% 0% no-repeat padding-box;
    opacity: 1;
    font: normal normal 600 1.25rem/1.75rem Segoe UI;
    letter-spacing: 0px;
    color: #212121;
    opacity: 1;
}

pre {
    font-size: 1em;
    font: normal normal normal 1rem/1.5rem Helvetica Neue;
    color: #232629;
    background-color: #E3E6E8;
    margin-bottom: 2.75rem;
    padding: 1.25rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: pre-line;
    min-height: 350px;
}

    pre::-webkit-scrollbar {
        display: none;
    }

code {
    white-space: pre;
}

.code-block-body {
    margin-top: 0;
    padding-top: 0;
    background-color: #E3E6E8;
    min-height: 350px;
}

.error-codes {
    padding: 0.25rem;
}

.longWordInText {
    overflow-x: auto;
}

.best-practices {
    background: #FFFFFF 0% 0% no-repeat padding-box;
}

.best-practice-check {
    width: 90px;
    height: 90px;
    background: #DBEDFF 0% 0% no-repeat padding-box;
    border-radius: 44px;
    opacity: 1;
    margin-bottom: 24px;
}

.best-practices-text {
    font: normal normal 600 1.5rem/2rem Segoe UI;
    letter-spacing: 0px;
    color: #253858;
}

.custom-accordion {
    padding: 1rem 1.25rem;
    display: block;
}

.custom-accordion-header {
    cursor: pointer;
    display: flex;
    justify-content: left;
    align-content: center;
}

.custom-accordion-header:not(.show)::before {
    content: url("./img/chevron-right.svg");
    display: flex;
    align-items: center;
    width: 32px;
    height: 32px;
    padding-right: 1.25rem;
    transform: scale(1.5);
}

.custom-accordion-header::before {
    content: url("./img/chevron-down.svg");
    display: flex;
    align-items: center;
    width: 32px;
    height: 32px;
    padding-right: 1.25rem;
    transform: scale(1.5);
}

.custom-accordion-body {
    display: flex;
    margin-top: 1rem;
    padding-left: 2rem;
}

question {
    text-align: left;
    font: normal normal 600 1.25rem/1.5rem Segoe UI;
    letter-spacing: 0px;
    color: #253858;
    opacity: 1;
}

answer {
    text-align: left;
    font: normal normal normal 1rem/1.25rem Segoe UI;
    letter-spacing: 0px;
    color: #212121;
    opacity: 1;
}

.see-more-faq {
    cursor: pointer;
    width: 140px;
    height: 40px;
    background: #99130024 0% 0% no-repeat padding-box;
    opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font: normal normal 600 1rem/1.5rem Segoe UI;
    letter-spacing: 0px;
    color: #212121;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.microsite-footer {
    background: #F5F5F5 0% 0% no-repeat padding-box;
    opacity: 1;
    padding: 4rem;
}

.footer-column-heading {
    font: normal normal 600 1.5rem/2rem Segoe UI;
    letter-spacing: 0px;
    color: #212121;
    opacity: 1;
    margin-bottom: 1rem;
}

.footer-list {
    margin: 0;
    margin-bottom: 1rem;
    padding: 0;
}

.footer-column-list {
    list-style-type: none;
    font: normal normal 600 1rem/2rem Segoe UI;
    letter-spacing: 0px;
    color: #000000;
    opacity: 0.7;
}

.footer-anchor, .footer-anchor:hover {
    font: normal normal 600 1rem/2rem Segoe UI;
    letter-spacing: 0px;
    color: #000000;
    opacity: 0.8;
    text-decoration: none;
}

.WhyIndexNowHeader {
    margin: 5% 20% 0 20%;
}

@media screen and (max-width: 639px) {
    .WhyIndexNowHeader {
        margin: 5% 10% 0 10%;
    }
}

.WhyIndexNowHeader > div {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.WhyIndexNowHeader > div > h3 {
    text-align: center;
    letter-spacing: 0.25em;
    font: normal normal 600 1rem/1.5rem Segoe UI;
    color: #2F69C5;
    margin: 0 1rem;
}

/* Marketing Cards Section */
.MarketingCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 5% 10%;
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .MarketingCards {
        flex-direction: column;
        margin: 5% 5%;
    }
}

.cardProps {
    flex: 1 1 calc(50% - 1rem);
    min-width: 300px;
    background: #FFFFFF;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
    border: none;
    margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
    .cardProps {
        flex: 1 1 100%;
        min-width: auto;
    }
}

.cardProps img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.cardProps .card-body {
    padding: 2rem;
}

.cardProps .card-body h1 {
    font: normal normal bold 1.5rem/2rem Segoe UI;
    color: #253858;
    margin-bottom: 1rem;
}

.cardProps .card-body p {
    font: normal normal normal 1rem/1.5rem Segoe UI;
    color: #212121;
    margin-bottom: 1rem;
}

.cardProps .card-body a {
    color: #1378DE;
    text-decoration: none;
    font: normal normal 600 1rem/1.5rem Segoe UI;
}

.cardProps .card-body a:hover {
    text-decoration: underline;
}

/* Partner Carousel Section */
.PartnerCarouselContainer {
    margin: 5% 10%;
    text-align: center;
}

.PartnerCarouselContainer h1 {
    font: normal normal bold 2rem/2.5rem Segoe UI;
    color: #253858;
    margin-bottom: 3rem;
}

.PartnerCarousel {
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0px 3px 6px #00000029;
    padding: 2rem;
}

.PartnerGrid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.PartnerRow {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.PartnerLogo {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 120px;
    height: 80px;
}

.PartnerLogo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.PartnerLogo img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.CheveronLeft, .CheveronRight {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
    width: 48px;
    height: 48px;
}

.CheveronLeft {
    left: -60px;
}

.CheveronRight {
    right: -60px;
}

/* Override Bootstrap carousel controls */
.PartnerCarousel .carousel-control-prev,
.PartnerCarousel .carousel-control-next {
    background: transparent;
    border: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.PartnerCarousel .carousel-control-prev:hover,
.PartnerCarousel .carousel-control-next:hover {
    opacity: 1;
}

.PartnerCarousel .carousel-control-prev {
    left: -60px;
}

.PartnerCarousel .carousel-control-next {
    right: -60px;
}

/* Take Control Section */
.TakeControl {
    background: #F5F5F5;
    text-align: center;
    padding: 5rem 10%;
    margin: 5% 0;
}

.TakeControl h1 {
    font: normal normal bold 2.5rem/3rem Segoe UI;
    color: #253858;
    margin-bottom: 2rem;
}

.TakeControl button {
    width: 240px;
    height: 50px;
    background: #1378DE;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font: normal normal 600 1.4rem/1.5rem Segoe UI;
    cursor: pointer;
    transition: background 0.3s ease;
}

.TakeControl button:hover {
    background: #106ebe;
}

/* Fix for WhyIndexNowHeader content */
.WhyIndexNowHeader h1 {
    font: normal normal bold 2.5rem/3rem Segoe UI;
    color: #253858;
    margin: 2rem 0;
    text-align: center;
}

.WhyIndexNowHeader p {
    font: normal normal normal 1.2rem/1.8rem Segoe UI;
    color: #212121;
    text-align: center;
    margin-bottom: 3rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .PartnerCarouselContainer {
        margin: 5% 5%;
    }
    
    .TakeControl {
        padding: 3rem 5%;
    }
    
    .TakeControl h1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    
    .CheveronLeft, .CheveronRight {
        display: none;
    }
}

/* Plugin Cards Section - Override Bootstrap with higher specificity */
.BodyAndCards {
    margin: 3rem 0 !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

.BodyAndCards .Body {
    text-align: center !important;
    margin-bottom: 2rem !important;
}

.BodyAndCards .Body h1 {
    font: normal normal bold 2rem/2.5rem Segoe UI !important;
    color: #253858 !important;
    margin-bottom: 1rem !important;
}

.BodyAndCards .Body p {
    font: normal normal normal 1.1rem/1.6rem Segoe UI !important;
    color: #212121 !important;
}

.PlugInCards {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    margin: 2rem auto !important;
    max-width: 1200px !important;
    padding: 0 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.PlugInCards .Card {
    flex: 0 1 calc(25% - 1.5rem) !important;
    min-width: 250px !important;
    max-width: 300px !important;
    background: #FFFFFF !important;
    border: 1px solid #E1E1E1 !important;
    border-radius: 8px !important;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

.PlugInCards .Card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.PlugInCards .Card.HiddenCard {
    visibility: hidden !important;
    opacity: 0 !important;
}

.Card .LogoSection {
    padding: 2rem 1rem 1rem 1rem !important;
    min-height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FAFAFA !important;
    border-bottom: 1px solid #E1E1E1 !important;
    flex: 0 0 auto !important;
}

.Card .LogoSection img {
    max-width: 80% !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: brightness(0.8) !important;
    transition: filter 0.2s ease !important;
}

.Card .LogoSection img:hover {
    filter: brightness(1) !important;
}

.Card .LogoSection h1 {
    font: normal normal bold 1.2rem/1.4rem Segoe UI !important;
    color: #253858 !important;
    text-align: center !important;
    margin: 0 !important;
}

.Card .LinksSection {
    padding: 1.5rem 1rem !important;
    min-height: 60px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 !important;
}

.Card .LinksSection .Link {
    margin: 0.25rem 0 !important;
}

.Card .LinksSection .Link a {
    color: #1378DE !important;
    text-decoration: none !important;
    font: normal normal 600 0.95rem/1.3rem Segoe UI !important;
    transition: color 0.2s ease !important;
}

.Card .LinksSection .Link a:hover {
    color: #106ebe !important;
    text-decoration: underline !important;
}

.Card .LinksSection span:not(.Link) {
    font: normal normal normal 0.9rem/1.3rem Segoe UI !important;
    color: #212121 !important;
    margin-bottom: 0.5rem !important;
}

/* Special styling for LinksSection with lists */
.Card .LinksSection ul {
    margin: 0 !important;
    padding-left: 1.5rem !important;
    list-style-type: none !important;
}

.Card .LinksSection li {
    margin: 0.5rem 0 !important;
    position: relative !important;
    padding-left: 0 !important;
}

.Card .LinksSection li.Link {
    list-style-type: none !important;
}

.Card .LinksSection li.Link::before {
    content: "•" !important;
    color: #1378DE !important;
    font-weight: bold !important;
    position: absolute !important;
    left: -1rem !important;
}

.Card .LinksSection li.Link a {
    color: #1378DE !important;
    text-decoration: none !important;
    font: normal normal 600 0.95rem/1.3rem Segoe UI !important;
    transition: color 0.2s ease !important;
}

.Card .LinksSection li.Link a:hover {
    color: #106ebe !important;
    text-decoration: underline !important;
}

/* Implementation Steps Section */
.implementation-steps {
    margin: 4rem 2rem;
    text-align: center;
}

.implementation-steps h1 {
    font: normal normal bold 2rem/2.5rem Segoe UI;
    color: #253858;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.implementation-steps .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.implementation-steps .step {
    flex: 0 1 calc(25% - 2rem);
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.implementation-steps .step-link {
    font: normal normal bold 1.1rem/1.4rem Segoe UI;
    color: #1378DE;
    text-decoration: none;
    margin: 1rem 0;
    display: block;
}

.implementation-steps .step-link:hover {
    color: #106ebe;
    text-decoration: underline;
}

.implementation-steps .step p {
    font: normal normal normal 0.95rem/1.4rem Segoe UI;
    color: #212121;
    margin-top: 1rem;
}

/* Implementation Details Section */
.implementationFirstRow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.implementationDetailCard {
    background: #FFFFFF;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.implementationDetailCard .header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.implementationDetailCard .stepNumber {
    background: #4376D7;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font: normal normal bold 1.2rem/1rem Segoe UI;
    margin-right: 1rem;
}

.implementationDetailCard .stepTitle {
    font: normal normal bold 1.5rem/1.8rem Segoe UI;
    color: #253858;
}

/* CDN Cards Section */
.Cards.Cds {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.Cards.Cds .Card {
    flex: 0 1 calc(50% - 1.5rem);
    min-width: 300px;
    max-width: 500px;
    background: #FFFFFF;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .PlugInCards .Card {
        flex: 0 1 calc(50% - 1.5rem);
        min-width: 200px;
    }
    
    .implementation-steps .step {
        flex: 0 1 calc(50% - 2rem);
    }
    
    .Cards.Cds .Card {
        flex: 0 1 100%;
    }
}

@media screen and (max-width: 480px) {
    .PlugInCards .Card {
        flex: 0 1 100%;
    }
    
    .implementation-steps .step {
        flex: 0 1 100%;
    }
    
    .BodyAndCards {
        padding: 0 1rem;
    }
    
    .implementation-steps {
        margin: 4rem 1rem;
    }
}