﻿/*======================================================
SECTION 5 : INSPIRATION
======================================================*/

html,
body {
    margin: 0;
    padding: 0;
    background: #f4f6f8;
}


.section5-container {
    width: 100%;
    margin: auto;
    max-width: 1220px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 28px rgba(0,0,0,.08);
}



/*==================================
Header
==================================*/

.section5-header {
    text-align: center;
    margin-bottom: 5;
}

    .section5-header h1 {
        font-size: 30px;
    font-weight: 700;
    color: #202020;
    line-height: 1.2;
    margin-bottom: 8px;
    margin-top: 0;
    }

    .section5-header h2 {
           margin: auto;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    }


/*==================================
Hero Quote
==================================*/

.inspiration-quote {
       /*max-width: 980px;
    margin: 0 auto 28px;
    background: #ffffff;
    border-left: 6px solid #e67e22;
    border-right: 6px solid #e67e22;
    padding: 10px 28px;
    box-shadow: 0 0 15px #d7d7d7c4;
    border-radius: 12px;*/

           max-width: 980px;
    margin: 0 auto 20px;
    padding: 0;
    border-radius: 12px;
}

    .inspiration-quote blockquote {
           margin: 0;
    text-align: center;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.55;
    font-style: italic;
    color: #727272;
    }


/*==================================
Story Card
==================================*/

.story-card {
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
    padding: 22px 28px;
    background: #fff;
    border-radius: 16px;
    border-top: 4px solid #e67e22;
  box-shadow: 0 0 15px #d7d7d7c4;
}


.story-number {
     width: 70px;
    flex-shrink: 0;
    font-size: 30px;
    font-weight: bold;
    color: #1d3557;
    text-align: center;
    background: #e5e5e5;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.story-content {
    flex: 1;
}


    .story-content h3 {
        margin: 0 0 10px;
        font-size: 24px;
        color: #1d3557;
    }


    .story-content p {
            margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.3;
    color: #222;
    text-align: justify;
    }


/*==================================
Footer
==================================*/

.section5-footer {
    margin-top: 10px;
    background: #1d3557;
    color: #ffffff;
    text-align: center;
    /*border-top: 4px solid #FFD700;*/
    border-radius: 16px;
    padding: 22px;
}


    .section5-footer h2 {
        margin: 0 0 10px;
        font-size: 30px;
        color: #ffffff;
        /*letter-spacing: 4px;*/
    }


    .section5-footer p {
        margin: 0;
        font-size: 24px;
        color: #ffffff;
        line-height: 1.3;
    }


/*==================================
Responsive
==================================*/

@media (max-width:768px) {

    .story-card {
        flex-direction: column;
    }

    .story-number {
        width: 100%;
    }

    .section5-header h1 {
        font-size: 32px;
        letter-spacing: 6px;
    }

    .inspiration-quote blockquote {
        font-size: 20px;
    }

    .story-content p {
        font-size: 17px;
    }
}

/*==================================================
    SECTION 5 RESPONSIVE CSS
==================================================*/

/* Large Desktop */
@media (min-width:1400px) {

    .section5-container {
        max-width: 1320px;
        padding: 25px 40px 55px;
    }

    .section5-header h1 {
        font-size: 48px;
    }

    .section5-header h2 {
        font-size: 26px;
    }

    .inspiration-quote {
        max-width: 1100px;
    }

        .inspiration-quote blockquote {
            font-size: 28px;
        }

    .story-content h3 {
        font-size: 28px;
    }

    .story-content p {
        font-size: 24px;
    }

    .section5-footer h2 {
        font-size: 34px;
    }

    .section5-footer p {
        font-size: 28px;
    }
}

/* Laptop */
@media (max-width:1199px) {

    .section5-container {
        max-width: 1140px;
        padding: 22px 30px 45px;
    }

    .section5-header h1 {
        font-size: 36px;
        letter-spacing: 6px;
    }

    .story-content p {
        font-size: 20px;
    }
}

/* Tablet */
@media (max-width:991px) {

    .section5-container {
        padding: 22px;
        border-radius: 16px;
    }

    .section5-header h1 {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .section5-header h2 {
        font-size: 20px;
    }

    .inspiration-quote {
        padding: 18px;
    }

        .inspiration-quote blockquote {
            font-size: 20px;
        }

    .story-card {
        gap: 18px;
        padding: 20px;
    }

    .story-number {
        width: 60px;
        font-size: 28px;
    }

    .story-content h3 {
        font-size: 22px;
    }

    .story-content p {
        font-size: 18px;
        line-height: 1.6;
    }

    .section5-footer {
        padding: 20px;
    }

        .section5-footer h2 {
            font-size: 26px;
            letter-spacing: 2px;
        }

        .section5-footer p {
            font-size: 18px;
        }
}

/* Mobile */
@media (max-width:767px) {

    .section5-container {
        padding: 18px;
        border-radius: 14px;
    }

    .section5-header {
        margin-bottom: 18px;
    }

        .section5-header h1 {
            font-size: 26px;
            letter-spacing: 2px;
            line-height: 1.4;
        }

        .section5-header h2 {
            font-size: 16px;
        }

    .inspiration-quote {
        padding: 15px;
        max-width: 330px;
        margin-bottom: 20px;
    }

        .inspiration-quote blockquote {
            font-size: 17px;
            line-height: 1.7;
        }

    .story-card {
        flex-direction: column;
        gap: 12px;
        padding: 18px;
        max-width: 350px;
    }

    .story-number {
        width: 100%;
        font-size: 30px;
    }

    .story-content h3 {
        font-size: 20px;
        text-align: center;
    }

    .story-content p {
        font-size: 15px;
        text-align: left;
        line-height: 1.7;
    }

    .section5-footer {
        padding: 18px;
        max-width: 350px;
    }

        .section5-footer h2 {
            font-size: 22px;
            letter-spacing: 1px;
        }

        .section5-footer p {
            font-size: 16px;
            line-height: 1.6;
        }
}

/* Small Mobile */
@media (max-width:575px) {

    .section5-container {
        padding: 15px;
    }

    .section5-header h1 {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .section5-header h2 {
        font-size: 15px;
    }

    .inspiration-quote blockquote {
        font-size: 16px;
    }

    .story-number {
        font-size: 26px;
    }

    .story-content h3 {
        font-size: 18px;
    }

    .story-content p {
        font-size: 14px;
    }

    .section5-footer h2 {
        font-size: 20px;
    }

    .section5-footer p {
        font-size: 15px;
    }
}

/* Extra Small Mobile */
@media (max-width:360px) {

    .section5-container {
        padding: 12px;
    }

    .section5-header h1 {
        font-size: 20px;
    }

    .section5-header h2 {
        font-size: 14px;
    }

    .inspiration-quote {
        padding: 12px;
    }

        .inspiration-quote blockquote {
            font-size: 15px;
        }

    .story-number {
        font-size: 22px;
    }

    .story-content h3 {
        font-size: 17px;
    }

    .story-content p {
        font-size: 13px;
    }

    .section5-footer h2 {
        font-size: 18px;
    }

    .section5-footer p {
        font-size: 14px;
    }
}
