* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow: hidden; */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --primary-color: #385C6A;
    --secondary-color: #ECB917;
    --off-white-color: rgb(238, 233, 233);
    --card-primary: #6da8c0;
    --card-secondary: #d1bb72;
    --text-color: #444444;
    --white-color: white;
    --dander: rgb(220, 11, 11);
}

/* input css */
.inp {
    border: 1px solid #8b8a8a;
    padding: .5rem;
    color: #444444;

}

/* btn css */
.btn {
    border: none;
    padding: .5rem;
    width: fit-content;
    color: white;
    cursor: pointer;
    border-radius: .3rem;
    transition: all ease .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-color);
    cursor: pointer;
}

.card-primary {
    background-color: var(--card-primary);
    cursor: pointer;
}

.btn-white {
    background-color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary {
    cursor: pointer;
    background-color: var(--secondary-color);
}

.card-secondary {
    cursor: pointer;
    background-color: var(--card-secondary);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.main-p {
    /* padding: 5rem; */
    padding-inline: 8rem;
    padding-block: 5rem;
}

.main-c {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-c h1 {
    text-align: center;
    color: var(--primary-color);
}

.main-c h1 span {
    color: var(--secondary-color);
}

.main-c h2 {
    color: var(--primary-color);
}

.main-c h3 {
    text-align: center;
    color: var(--primary-color);
}

.c-2-c {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.row-3 {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: stretch;
    justify-content: center;
}

.row-4 {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.row-4 .card-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: calc((100% - 6rem) / 4);
    border-radius: .3rem;
    padding: 2rem;
}

.row-3 .card-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: calc((100% - 4rem) / 3);
    border-radius: .3rem;
    padding: 2rem;
    /* opacity: 50%; */
}

.fig-100 {
    height: 100px;
    width: 100%;
    width: 100%;
    overflow: hidden;
}

.fig-50 {
    height: 50px;
    width: 100%;
    overflow: hidden;
}

.fig-200 {
    height: 200px;
    width: 100%;
    overflow: hidden;
    overflow: hidden;
}

.fig-300 {
    height: 300px;
    width: 100%;
    overflow: hidden;
    overflow: hidden;
}

.fig-w {
    width: 100%;
    overflow: hidden;
}

.fig-w img {
    width: 100%;
    height: fit-content;
}

.fig-300 img,
.fig-50 img,
.fig-200 img,
.fig-100 img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.text-c {
    text-align: center;
}


.a-none {
    color: var(--white-color);
    text-decoration: none;
}

.a-n {
    text-decoration: none;
}

nav ul .active {
    color: var(--secondary-color) !important;
}

.bor-1 {
    border: 1px solid var(--primary-color);
}

.bor-2 {
    border: 2px solid var(--primary-color);
}

.cont-c {
    display: flex;
    align-items: center;
    justify-content: center;
}

.row-fig-50,
.row-fig-40,
.row-fig-30 {
    display: flex;
    gap: 3rem;
}

.row-fig-50 figure,
.row-fig-40 figure,
.row-fig-30 figure {
    width: 100%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid red; */
}

.row-fig-50 figure img,
.row-fig-40 figure img,
.row-fig-30 figure img {
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    /* object-fit: contain; */
    height: auto;
    max-height: 100%;
}

.row-fig-50 div {
    width: calc(100% - 1.5rem);
    position: relative;

}

.row-fig-40 div {
    width: calc(60% - 1rem);
    position: relative;
}

.row-fig-30 div {
    width: calc(70% - 1rem);
    position: relative;
}

.row-fig-40 .fig-div {
    width: 40%;
    position: relative;
}

.row-fig-30 .fig-div {
    width: 30%;
    position: relative;
}

.btn-fancy {
    color: var(--white-color);
    min-width: 200px;
    border-radius: .7rem;
    border: none;
    background-color: var(--secondary-color);
    padding: .8rem;

}

.btn-fancy span {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: .7rem;
    border-radius: 50%;
    background-color: var(--white-color);
    color: black;
    padding: .2em;
}

.btn-fancy span i {
    position: relative;
}


@media only screen and (max-width : 700px) {
    .row-fig-30 {
        gap: 0rem;
    }

    .row-fig-30 .fig-div {
        width: 0;
        position: relative;
    }
}