/*=========================================================
Saleforce Fonts
=========================================================*/
@font-face {
    font-family: 'AvantGardeForSalesforce-Demi';
    src: url('/themes/securetheforce/static/fonts/AvantGardeForSalesforce-Demi.otf');
    src: url('/themes/securetheforce/static/fonts/AvantGardeForSalesforceW05-Dm.woff') format('woff'),
         url('/themes/securetheforce/static/fonts/AvantGardeForSalesforce-Demi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SalesforceSans-Semibold';
    src: url('/themes/securetheforce/static/fonts/SalesforceSans-Semibold.eot');
    src: url('/themes/securetheforce/static/fonts/SalesforceSans-Semibold.eot?#iefix') format('embedded-opentype'),
         url('/themes/securetheforce/static/fonts/SalesforceSans-Semibold.woff') format('woff'),
         url('/themes/securetheforce/static/fonts/SalesforceSans-Semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*=========================================================
Global Styles
=========================================================*/
body,
html {
    -webkit-font-smoothing: antialiased;
    background-color: #ffffff;
}

body { 
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'AvantGardeForSalesforce-Demi';
    color: #0692D2;
}

p {
    font-family: "SalesforceSans-Semibold";
    color: #101F67;
}

.heading-text {
    color: #0692D2;
    margin-bottom: 40px;
    font-family: 'AvantGardeForSalesforce-Demi';
    font-size: 45px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.section-headers {
    color: #0692D2;
    margin-bottom: 15px;
    font-family: 'AvantGardeForSalesforce-Demi';
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: left;
}

.body-text {
    color: #101F67;
    font-family: "SalesforceSans-Semibold";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%; 
    text-align: left;
}

.section-spacing {
    padding: 30px 0;
}

/*=========================================================
Landing Page
=========================================================*/
#landing1 {
    min-height: 513px;
    padding: 115px 0; 
}

#landing-text {
    max-width: 540px;
}

#landing2 {
    position: relative;
    padding: 115px 0;
    background-color: #EEF8FF;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

#landing2 li {
    color: #101F67;
}

.tutorial-video {
    margin-bottom: 100px;
}


/*=========================================================
Get Started Page
=========================================================*/
/* #get-started1 {
    padding: 115px 20px;
}

#get-started2 {
    margin-top: 100px;
}
#get-started-text {
    width: 373px;
    height: 133px;
}

.get-started-rules {
    background-color: #EAF5FE; 
    width: 496px;
    height: 408px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.steps-header {
    display: flex;
    width: 183px;
    height: 88px;
    flex-direction: column;
    justify-content: center;
    color: #101F67;
    font-family: 'AvantGardeForSalesforce-Demi';
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-left: 40px;
    padding-top: 40px;
}

.steps-text {
    width: 403px;
    height: 105px;
    color: #101F67;
    font-family: "SalesforceSans-Semibold";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%; 
    padding-left: 40px;
    padding-top: 10px;
    width: 431px;
}

a.get-started-link {
    color: #101F67;
    text-decoration: underline !important;
}

a.get-started-link:hover {
    color: #0692D2;
    transition: 0.3s;
}

.step4-box {
    height: auto;          
    padding: 20px;         
}

.step4-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;         
}

.step4 {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
  .get-started-rules {
    margin-bottom: 0;
  }
} */



/*=========================================================
Get Started Page
=========================================================*/
#get-started1 {
    padding: 115px 20px;
}

#get-started2 {
    margin-top: 60px;
}

#get-started-text {
    max-width: 373px;
}

/* .get-started-rules {
    background-color: #EAF5FE; 
    width: 496px !important;  
    max-width: 100%;
    min-height: 408px;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;  
} */


.get-started-rules {
    background-color: #EAF5FE; 
    width: 100%;           /* Changed from 496px to fill the column */
    min-height: 408px;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    /* Remove flex-shrink: 0; it's not needed here */
}

/* Ensure the text doesn't have a fixed width either */
.steps-text {
    color: #101F67;
    font-family: "SalesforceSans-Semibold";
    font-size: 16px;
    font-weight: 600;
    line-height: 130%;
    width: 100%;           /* Ensure it stays within the box */
}





.steps-header {
    color: #101F67;
    font-family: 'AvantGardeForSalesforce-Demi';
    font-size: 36px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 10px;
}

/* .steps-text {
    color: #101F67;
    font-family: "SalesforceSans-Semibold";
    font-size: 16px;
    font-weight: 600;
    line-height: 130%; 
} */

a.get-started-link {
    color: #101F67;
    text-decoration: underline !important;
}

a.get-started-link:hover {
    color: #0692D2;
    transition: 0.3s;
}

.step4-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step4-img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .get-started-rules {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .step4-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }
    
    .step4-text {
        flex: 0 0 45%;
    }
    
    .step4-img-wrapper {
        flex: 1;
    }
}

/*=========================================================
FAQ Page
=========================================================*/
.faq-accordion .accordion-button {
    font-weight: 600;
    color: #0692D2;
}

.faq-accordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.faq-accordion .accordion-body {
    color: #101F67;
    padding: 1rem 1.25rem;
}

.faq-accordion .accordion-button.collapsed {
    background: transparent;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-section {
    width: 100%;
    background: #fff;
    padding: 30px 0;
}

.accordion-item {
    background-color: #F7F7F7;
}

button.accordion-button.collapsed {
    color: #0692D2 !important;
}

/*=========================================================
Challenges Page
=========================================================*/
div.category-header.mb-3 h3 {
    color: #0090D1;
    font-family: "SalesforceSans-Semibold";
}

.challenges-content-container {
    margin-bottom: 200px;
}

/*=========================================================
Scoreboard Page
=========================================================*/


/*=========================================================
Users Page
=========================================================*/
.users-content-container {
    margin-bottom: 200px;
    margin-top: 100px;
}

/* ========================
Login
========================*/
.login-content-container {
    margin-bottom: 200px;
    margin-top: 100px;
}

/* ========================
Footer
========================*/
footer { 
    background-color: #0090D1; 
    overflow: hidden;
}

.footer {
    min-height: 100px;
    /* height: auto !important; */
}

#footer-nav-mirror {
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 767px) {
    #footer-nav-mirror {
        justify-content: center;
    }
}


/* ========================
Responsive Headers
========================*/
.hero {
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#landing-hero,
#get-started-hero,
#faq-hero,
#challenges-hero,
#scoreboard-hero,
#users-hero,
#login-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

#landing2 {
    padding: 45px 20px;
}

/* =====================================================
   MOBILE (DEFAULT - no media query needed)
   ===================================================== */
#landing-hero {
    background-image: url('/themes/securetheforce/static/img/landing/landing-mobile.png');
    margin-bottom: 50px;
}

#get-started-hero {
    background-image: url('/themes/securetheforce/static/img/get-started/get-started-mobile.png');
    margin-bottom: 50px;
}

#faq-hero {
    background-image: url('/themes/securetheforce/static/img/faq/faq-mobile.png');
    margin-bottom: 50px;
}

#challenges-hero {
    background-image: url('/themes/securetheforce/static/img/challenges/challenges-mobile.png');
    margin-bottom: 50px;
}

#scoreboard-hero {
    background-image: url('/themes/securetheforce/static/img/scoreboard/scoreboard-mobile.png');
    margin-bottom: 50px;
}

#users-hero {
    background-image: url('/themes/securetheforce/static/img/users/users-mobile.png');
    margin-bottom: 50px;
}

#login-hero {
    background-image: url('/themes/securetheforce/static/img/login/login-mobile.png');
    margin-bottom: 50px;
}

/* .hero {
    width: 100%;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
} */

/* =====================================================
   LAPTOP (768px and up)
   ===================================================== */
@media (min-width: 768px) {
    .hero {
        /* min-height: 600px; */
        background-position: center center;
    }

    #landing-hero {
        background-image: url('/themes/securetheforce/static/img/landing/landing-laptop.png');
        /* min-height: 700px; */
    }

    #get-started-hero {
        background-image: url('/themes/securetheforce/static/img/get-started/get-started-laptop.png');
    }

    #faq-hero {
        background-image: url('/themes/securetheforce/static/img/faq/faq-laptop.png');
    }

    #challenges-hero {
        background-image: url('/themes/securetheforce/static/img/challenges/challenges-laptop.png');
    }

    #scoreboard-hero {
        background-image: url('/themes/securetheforce/static/img/scoreboard/scoreboard-laptop.png');
    }

    #users-hero {
        background-image: url('/themes/securetheforce/static/img/users/users-laptop.png');
    }

    #login-hero {
        background-image: url('/themes/securetheforce/static/img/login/login-laptop.png');
    }
}

/* =====================================================
   DESKTOP (1400px and up)
   ===================================================== */
@media (min-width: 1400px) {
    .hero {
        /* min-height: 689px; */
    }

    #landing-hero {
        background-image: url('/themes/securetheforce/static/img/landing/landing-desktop.png');
        /* min-height: 875px; */
    }

    #get-started-hero {
        background-image: url('/themes/securetheforce/static/img/get-started/get-started-desktop.png');
    }

    #faq-hero {
        background-image: url('/themes/securetheforce/static/img/faq/faq-desktop.png');
    }

    #challenges-hero {
        background-image: url('/themes/securetheforce/static/img/challenges/challenges-desktop.png');
    }

    #scoreboard-hero {
        background-image: url('/themes/securetheforce/static/img/scoreboard/scoreboard-desktop.png');
    }

    #users-hero {
        background-image: url('/themes/securetheforce/static/img/users/users-desktop.png');
    }

    #login-hero {
        background-image: url('/themes/securetheforce/static/img/login/login-desktop.png');
    }
}

/* =====================================================
   LARGE DESKTOP (2200px and up)
   ===================================================== */
@media (min-width: 2200px) {
    #landing-hero {
        background-image: url('/themes/securetheforce/static/img/landing/landing-large-desktop.png');
        /* min-height: 700px; */
    }

    #get-started-hero {
        background-image: url('/themes/securetheforce/static/img/get-started/get-started-large-desktop.png');
    }

    #faq-hero {
        background-image: url('/themes/securetheforce/static/img/faq/faq-large-desktop.png');
    }

    #challenges-hero {
        background-image: url('/themes/securetheforce/static/img/challenges/challenges-large-desktop.png');
    }

    #scoreboard-hero {
        background-image: url('/themes/securetheforce/static/img/scoreboard/scoreboard-large-desktop.png');
    }

    #users-hero {
        background-image: url('/themes/securetheforce/static/img/users/users-large-desktop.png');
    }

    #login-hero {
        background-image: url('/themes/securetheforce/static/img/login/login-large-desktop.png');
    }
}