/* 

----------------TYPOGRAPHY----------------

FONT SIZE
12px / 16px / 20px / 24px / 32px / 40px / 48px / 62px

FONT WEIGHT
400 / 700

LINE HEIGHT
1.2 / 1.5

LETTER SPACING
0 / -2px

FONT FAMILY
"Poppins", sans-serif

---------------------COLOR PALETTE----------------

PRIMARY COLOR

BASE: #339af0 (sky blue)
Tint: #d0ebff (arctic)
Shade: #1c7ed6 (deep sea)

SECONDARY COLOR

BASE: #9775fa (lavender)
Tint: #e5dbff (moonlight iris)  
Shade: #7048e8 (purple haze)

Tertiary COLOR

BASE: #ff922b (pumpkin)
Tint: #ffe8cc (Dawn)
Shade: #f76707 (Lava)

GREY

BASE: #495057 (slate)
Tint: #f1f3f5 (pebble)
Shade: #212529 (graphite)


------------ BORDER RADIUS ------------
4px / 8px / 20px / 25px / 

------------ SPACING SYSTEM ------------


*/

:root{

    /* ------- FONT SIZE -------*/    
    --text-sm:1.2rem;
    --text-base:1.6rem;
    --text-paragraph:2rem;
    --text-h5:2.4rem;
    --text-h4:3.2rem;
    --text-h3:4.0rem;
    --text-h2:4.8rem;
    --text-h1:6.2rem;

    /* ------- FONT WEIGHT -------*/
    --font-weight-normal:400;
    --font-weight-bold:700;

    /* -------- FONT FAMILY --------*/
    --font-family: "Poppins", sans-serif;

    /* ------- LINE HEIGHT -------*/
    --line-height-tight:1.2;
    --line-height-normal:1.5;

    /* ------- LETTER SPACING -------*/
    --letter-spacing-tight:-2px;

    /* ----------- COLORS -----------*/

    --primary-base: #339af0;
    --primary-tint: #d0ebff;
    --primary-shade: #1c7ed6;
    --secondary-base: #9775fa;
    --secondary-tint: #e5dbff;
    --secondary-shade: #7048e8;
    --tertiary-base: #ff922b;
    --tertiary-tint: #ffe8cc;
    --tertiary-shade: #f76707;
    --gray-base: #495057;
    --gray-tint: #f1f3f5;
    --gray-shade: #212529;
    --white: #fff;
    --black: #000;

    /* MISCELLANEOUS */
    --nav-height: 100px; /* update the value in the flex box topic*/


}



*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/* ------------------- GLOBAL STYLE -------------------*/

html{
    font-size: 62.5%;
}

body{
    font-weight: var(--font-weight-normal);
    font-family: var(--font-family);
    line-height: var(--line-height-tight);
    color: var(--gray-base);
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

h1, h2, h3, h4,h5{
    font-weight: var(--font-weight-bold);   
    letter-spacing: var(--letter-spacing-tight);
    line-height: var(--line-height-normal);
    color: var(--gray-shade);
}

h1{
    
    font-size: var(--text-h1);
    
}

h2{
    font-size: var(--text-h2);
    
}


h3{
    font-size: var(--text-h3);
    
}

h4{
    font-size: var(--text-h4);
}

h5{
    font-size: var(--text-h5);
}


p{
    font-size: var(--text-paragraph)
}

a{
    font-size: var(--text-base);
    text-decoration: none;
    display: inline-block;
    
}

a:link, a:visited, a:hover, a:active {
    color: var(--gray-shade);
}

span {
    display: inline-block;
}

ul{
    list-style: none;
}

.small-text{
    font-size: var(--text-sm);
}

/* ------------------- COMPONENT -------------------*/


.btn{
    font-weight: var(--font-weight-normal);
    font-size: var(--text-base);        
    text-decoration: none;
    padding: 1.5rem 3.0rem;
    border-radius: 8px;
}

.btn-primary:link, .btn-primary:visited{
    color: var(--white);
    background-color: var(--primary-base);
    border: 2px solid var(--primary-base);
}

.btn-primary:hover, .btn-primary:active{
    color: var(--white);
    background-color: var(--primary-shade);
    border:2px solid var(--primary-shade);
}

/* ------------- OUTLINE BTN -------------*/
.btn-primary-outline:link, .btn-primary-outline:visited{
    color: var(--primary-base);
    background-color: var(--white);
    border: 2px solid var(--primary-base);
}

.btn-primary-outline:hover, .btn-primary-outline:active{
    color: var(--primary-shade);
    background-color: var(--white);
    border: 2px solid var(--primary-shade);
}

.btn-secondary:link, .btn-secondary:visited{
    color: var(--white);
    background-color: var(--secondary-base);
    border: 2px solid var(--secondary-base);
    
}

.btn-secondary:hover, .btn-secondary:active{
    color: var(--white);
    background-color: var(--secondary-shade);
    border: 2px solid var(--secondary-shade);
}



.highlight{
    color: var(--white);
    padding: 0.5rem 1.0rem;
    border-radius: 4px;
}

.highlight-primary{
    background-color: var(--primary-base);
}

.highlight-secondary{
    background-color: var(--secondary-base);
}

.highlight-tertiary{
    background-color: var(--tertiary-base);
}

.logo-md {
    width: 100px;
}

.logo-sm {
    width: 80px;
}



.feature-img {
    max-width: 400px;
    width:100%;
}


/* ------------------- SECTIONS -------------------*/

/* ------- HEADER -------*/

/* header{
    height: 100vh;
    min-height: 800px;
} */

/* ------- NAVBAR -------*/

.navbar{
    height: var(--nav-height);
    /* 300px */
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.nav-btn-container {
    display: flex;
    gap: 2rem;
}

/* ------- HERO SECTION -------*/

.hero-section{
    height: calc(100vh - var(--nav-height));
    /*
            100vh means the full height of the browser window.
            We subtract the navbar height so the navbar and hero together
            occupy exactly one viewport: navbar + hero = 100vh.

            Example: if the viewport is 900px tall and the navbar is 300px,
            the hero height becomes calc(900px - 300px) = 600px.

            More examples:
            height: calc(100vh - 80px);       A navbar that is always 80px tall
            --nav-height: 15vh;               A navbar sized relative to the viewport
            min-height: 400px;                Keeps the hero usable on short screens
            height: calc(100% - var(--nav-height));
                                        Use this when the parent has a set height
    */
    min-height: 400px;
    margin-bottom: 10rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    
}

.hero-heading{
    margin-bottom: 1rem;
    text-align: center;
}

.hero-paragraph {
    margin-bottom: 10rem;
    text-align: center;
}

.hero-btn-container {
    display: flex;
    gap: 2rem;
}

/* ------- FEATURE SECTION -------*/

.features-section {
    margin-bottom: 30rem;
}

.features-main-heading{
    text-align: center;
    margin-bottom: 8.0rem;
}

.feature-headings {
    margin-bottom: 2.0rem;
}

.feature-img-swap-order {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
}

.feature-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15rem;
    column-gap: 5rem;
    justify-items: center;   
    align-items: center;
}

/* ------- CTA SECTION -------*/
.cta-section{
    margin-bottom: 30rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-card{
    text-align: center;
    background-color: var(--primary-base);
    max-width: 1000px;
    width: 100%;
    padding: 10rem 20rem;
    border-radius: 2.0rem;
    /* margin: 0 auto; */
}

.cta-heading{
    margin-bottom: 1.0rem;
    color:var(--white);
}

/* ------- FOOTER SECTION -------*/
.footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-icon-container {
    display: flex;
    /* justify-content: center; */
    gap: 1.5rem;
    
}

.footer-link-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icon {
    width: 20px;
}

.heart-icon {
    color: var(--secondary-base);
}


