/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #1c1c1b;
    --white: #fff;
    --offwhite: #FFF0D3;
    --primary: #E4665E;
    --hot-pink: #FB4375;
    --Dark-Red:#5D2D2F;
    --pale-yellow: #FFF0D3;
    --orange: #FFCEAB;
    --light-blue:#D9E4F8;
    --purple: #9E7EC2;
    --dark-purple :#3F2B55;
    --light-purple : #D6C4EB;
    --grey: #5e5e5e;
}

body {
    color: #1c1c1b;
    font-family: 'Inter', sans-serif;
}

.hero-section{
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.navbar, .dropdown-menu {
    background-size: 100% auto;
    background-color: #fff;
    border-color: transparent;
    padding: 0;
}

.container-fluid {
    font-family: 'Inter', sans-serif; /* Default font for the body */
    width: 88%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    align-items: center;
}

/* Savy Socials Top Right */
.navbar-brand {
    font-size: 32px;
    letter-spacing: -0.04em;
    font-weight: 600;
    color: var(--black);
}
.navbar-brand img{
    margin: 8px;
    vertical-align: bottom;

}

.navbar-toggler {
    border-color: transparent;
    border: 0;
}

.navbar-collapse {
    justify-content: right;
    align-items: center;
}

/* Navigation Listed Words */
.navbar-nav {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey);
    padding: 0 80;
    margin-bottom: 16;
}

/* Nav text (services/comapny/ etic.) */
.nav-item.dropdown {
    margin: 16px;
    font-size: 16px;
}

.dropdown-item {
    min-width: 200px;
    font-size: 14px;
    font-weight: 350;
    padding: .25rem 1rem;
    color: var(--grey);
}

.dropdown-item img {
    margin: 8 16;
}

.dropdown-menu-macos .dropdown-item {
    border-radius: .25rem;
}
.dropdown-menu-macos {
    gap: .25rem;
    padding: .5rem;
    border-radius: .5rem;
}

.shadow {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.dropdown-item.active {
    background-color: var(--primary);
}

.nav-btn {
    letter-spacing: -.36px;
    align-items: center;
    font-size: 18px;
    line-height: 1.38889;
}

*, ::after, ::before {
    box-sizing: border-box;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.w-layout-grid {
    grid-row-gap: 16px;
    grid-column-gap: 16px;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
    grid-auto-columns: 1fr;
    display: grid;
}

.c-button {
    display: inline-block;
    grid-column-gap: 15px;
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: #fff;
    text-align: center;
    letter-spacing: -.36px;
    border-radius: 16px;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    transition: transform .5s;
    white-space: nowrap;
}

#orange {
    background-color: var(--orange);
    color: var(--Dark-Red)
}

#dark-red {
    background-color: var(--Dark-Red);
    color: var(--white)
}

#light-blue {
    background-color: var(--light-blue);
    color: var(--Dark-Red)
}

#primary {
    background-color: var(--primary);
    color: var(--white)
}

#spaced {
    padding: 24px 0;
    line-height: 2;
}

.image {
    float: right;
    margin-left: 5%;
    max-width: 400px; /* Limits the width of the image */
    padding-bottom: 10%;
}

.image img {
    max-width: 100%; /* Ensure the image scales down */
    height: auto;
    border-radius: 16px;
}

.section {
    margin: 4% 0;
}

.title {
    font-size: 72px;
    font-weight: 400;
    line-height: 1;
}

.title-subtext{
    letter-spacing: -.32px;
    max-width: 560px;
    margin: 25px auto;
}

.header {
    display: flex;
    background-color: var(--light-blue);
    align-items: center;
    justify-content: center;
    margin: 1% 0;
    padding: 5% 10%;
    color: var(--Dark-Red)
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3% 5%;
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
    padding: 0 5%;
    overflow-x: scroll;
}

.card-container {
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 24px;
    min-width: 250px;
}

.paragraph-header {
    padding-top: 32px;
    font-size: 40px;
}


/*footer section*/

.footer {
    background-size: cover;
    background-color: var(--offwhite);
    margin-left: auto;
    margin-right: auto;
}

.footer-wrapper {
    background-color: var(--white);
    width: 100%;
}

.footer-inner {
    color: var(--grey);
    width: 77.5%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 30px;
    position: relative;
}

.footer-header {
    margin-bottom: -12px;
    width: 100%;
}

.footer-head_top {
    background-color: var(--primary);
    color: var(--white);
    border-bottom-left-radius: 16px;
    justify-content: space-between;
    align-items: center;
    margin-right: 78px;
    margin-bottom: 78px;
    padding-top: 24px;
    padding-bottom: 27px;
    padding-left: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    line-height: 1;
    display: flex;
    position: relative;
    width: 100%;
}

.footer-flex {
    grid-column-gap: 18%;
    grid-row-gap: 50px;
    flex-wrap: wrap;
    justify-content: space-between;
    display: flex;
}

.footer-link_header {
    color: var(--black);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.375;
}

.footer-links_wrapper {
    display: grid;
    justify-content: space-between;
    flex-grow: 1;
    align-items: flex-start;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
}

.footer-flex_inner {
    flex: auto;
    max-width: 431px;
}

.location-details {
    font-weight: 600;
    font-size: 18;
    text-align: right;
}

.contact-details {
    display: flex;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.footer-inner_bottom {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    justify-content: space-between;
    align-items: center;
    margin-top: 43px;
    margin-bottom: 25px;
    padding-top: 24px;
    padding-bottom: 24px;
    font-size: 18px;
    line-height: 1.5;
    display: flex;
}


.footer-social-links {
    align-items: center;
    font-size: 16px;
    display: flex;
}

.social-links_flex {
    margin-right: 32px; /* Adjust margin as needed */
}

.social-link {
    margin-right: 32px; /* Adjust margin as needed */
    cursor: pointer;
    flex: none;
    width: 24px;
    height: 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit; /* Keeps the text color the same as the normal state */
    text-decoration: none; /* Ensures no underline or other decoration on hover */
}


.w-inline-block {
    max-width: 100%;
    display: inline-block;
}

@media screen and (min-width: 1026px) {
    h1 {
        font-size: 120px;
    }

    h3 {
        font-size: 48px;
    }

    p {
        font-size: 20px;
        line-height: 1.4;
    }

    p2 {
        font-size: 32px;
        line-height: 1.7;
    }

    .about-journey {
        margin: 24px 10%;
    }

    .about-qualifications {
        margin: 24px 10%;
    }
}

@media screen and (max-width: 1025px) {
    h1 {
        font-size: 88px;
    }

    h3 {
        font-size: 48px;
    }

    p {
        font-size: 18px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 481px) {
    h1 {
        font-size: 48px;
    }

    h3 {
        font-size: 42px;
    }

    p {
        font-size: 18px;
        line-height: 1.4;
    }


}
