* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root{
    --color-primary: #6c63ff;
    --color-success: #00bf8e;
    --color-secondary: #f8d470;
    --color-warm: #f75842;
    --color-warm-variant: rgba(235, 247, 66, 0.3);
    --color-light: rgba(253, 251, 226, 0.7);
    --text-color: #333;
    --color-black: #0e0d0d;
    --color-bg: #1f2641;
    --color-bg1: #2e3267;
    --color-bg2: #424890;

    --container-width-lg: 76%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;

    --box-shadow: 0 0 10px #0e0e0e;
}

h1, h2, h3, h4, h5 {
    line-height: 1.2;
}
h1{
    font-size: 2.4rem;
}
h2{
    font-size: 2rem;
}
h3{
    font-size: 1.6rem;
}
h4{
    font-size: 1.3rem;
}
a{
    color: var(--color-white);
}
img{
    width: 100%;
    display: block;
    object-fit: cover;
}
.btn{
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
}
.btn:hover{
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-primary{
    background: var(--color-danger);
    color: var(--color-white);
}

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.7;
    color: var(--color-black);
    margin: 0;padding: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(255, 127, 0, 0.03) 50px,
        rgba(255, 127, 0, 0.03) 56px,
        transparent 56px,
        transparent 63px,
        rgba(255, 127, 0, 0.03) 63px,
        rgba(255, 127, 0, 0.03) 69px,
        transparent 69px,
        transparent 116px,
        rgba(255, 206, 0, 0.03) 116px,
        rgba(255, 206, 0, 0.03) 166px
      ), repeating-linear-gradient(
        0deg,
        transparent,
        transparent 50px,
        rgba(255, 127, 0, 0.03) 50px,
        rgba(255, 127, 0, 0.03) 56px,
        transparent 56px,
        transparent 63px,
        rgba(255, 127, 0, 0.03) 63px,
        rgba(255, 127, 0, 0.03) 69px,
        transparent 69px,
        transparent 116px,
        rgba(255, 206, 0, 0.03) 116px,
        rgba(255, 206, 0, 0.03) 166px
      ), repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 5px,
        rgba(143, 77, 63, 0.05) 5px,
        rgba(143, 77, 63, 0.05) 10px
      ), repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(
            143,
            77,
            63,
            0.03
          ) 5px, rgba(143, 77, 63, 0.03) 10px);
    }

  /*background: repeating-linear-gradient(
        90deg,
        transparent 0 50px,
        rgba(255, 127, 0, 0.25) 50px 56px,
        transparent 56px 63px,
        rgba(255, 127, 0, 0.25) 63px 69px,
        transparent 69px 116px,
        rgba(255, 206, 0, 0.25) 116px 166px
      ), repeating-linear-gradient(
        0deg,
        transparent 0 50px,
        rgba(255, 127, 0, 0.25) 50px 56px,
        transparent 56px 63px,
        rgba(255, 127, 0, 0.25) 63px 69px,
        transparent 69px 116px,
        rgba(255, 206, 0, 0.25) 116px 166px
      ), repeating-linear-gradient(
        -45deg,
        transparent 0 5px,
        rgba(143, 77, 63, 0.25) 5px 10px
      ), repeating-linear-gradient(45deg, transparent 0 5px, rgba(
            143,
            77,
            63,
            0.25
          ) 5px 10px)
  }*/

/*========Navigation========*/
nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    width: 100vw;
    height: 7rem;
    position: fixed;
    top: 0;
    z-index: 11;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 96%;
    height: 75%;
}
.navbar > a {
    display: flex;
    align-self: center;
    padding: 1rem 0;
    width: 12%;
    height: 100%;
}
.navbar a img {
    width: 100%;
    height: 98%;
    object-fit: contain;
}
.navbar .nav-links {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .nav-links a {
    width: fit-content;
    text-align: center;
    color: var(--color-bg);
    padding: 0;margin: 0;
    line-height: 1;
    font-size: 1.7rem;
    font-weight: 500;
    text-shadow: 1px 0 5px var(--color-secondary);
}
.contacts {
    display: flex;
    height: 25%;
    gap: 2rem;
    align-items: center;
    color: var(--color-bg);
    background: transparent;
    padding: 0 2rem;
}
.contacts a {
    font-size: 1.2rem;
    margin: 0; padding: 0.2;
}
/*Change navbar style on scroll using javascript*/
.window-scroll{
   display: none;
/*  background: var(--color-secondary);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);*/
}
.contacts-scroll {
    background: rgba(108, 99, 255, 0.3);
} 

/* Header */
header {
    position: relative;
    display: flex;
    top: 10rem;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 2rem;
    justify-content: center;
    align-items: center;
    background: rgba(66, 72, 144, 0.3);
}
header > form {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
}
header > form input[type="search"] {
    height: 2.5rem;
    border-radius: 15px;
    background: var(--color-light);
    border: 1px solid var(--color-primary);
    padding: 0 1rem;
}
header > form label {
    font-size: 1.5rem;
    cursor: pointer;
}
header > h1 {
    color: #0e0e0e;
}
/* Main */
main {
    position: relative;
    top: 10rem;
    width: 96vw;
    margin: 0 auto;
}
.about {
    display: flex;
}
main section {
    width: 98%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about .about-us-main {
    width: 70%;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    background: rgba(238, 238, 238, .7);
}
.about .abt-us-side {
    width: 30%;
    padding: 0.6rem;
    background-color: #6c63ff;
}
.about-us-main .mision-obj {
    display: flex;
    gap: 2rem;
}
.mision-obj .mission, .mision-obj .objectives {
    width: 48%;
}
.mission h2, .objectives h2 {
    margin: 1rem 0;
}
.objectives li {
    list-style: circle;
    line-height: 2;
}
.about-us-main .ops-policies {
    width: 98%;
    margin-top: 3rem;
}
.ops-policies h2 {
    text-align: center;
    margin: 1rem 0;
}
.ops-policies p {
    margin-bottom: 0.5rem;
}
.abt-us-side h2 {
    text-align: center;
    margin: 1rem 0;
}
section h1 {
    text-align: center;
    margin-bottom: 1rem;
}
section .card-grp {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-grp .grp-of-4, .card-grp .grp-of-3 {
    display: flex;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin: 0.5rem auto;
    flex-wrap: nowrap;
}
.grp-of-4 .biz-type-4, .grp-of-3 .biz-type-3 {
    display: block;
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
}
.grp-of-4 .biz-type-4 {
    width: 24%;
}
.grp-of-3 .biz-type-3 {
    width: 33%;
}
.biz-type-4:hover, .biz-type-3:hover {
    scale: 103%;
}
.grp-of-4 a, .grp-of-3 a {
    font-size: 1.2rem;
}
section > a {
    margin: 0.2rem auto;
    font-size: 1.5rem;
    color: var(--color-bg1);
    text-decoration: underline;
}
@media(max-width: 950px) {
    .navbar .nav-links {
        width: 80%;
    }
    .grp-of-4 .biz-type-4, .grp-of-3 .biz-type-3 {
        padding: 0.5rem;
    }
}
@media(max-width: 750px) {
    .navbar .nav-links {
        width: 98%;
    }
    .navbar .nav-links a {
        font-size: 1.2rem;
    }
    .contacts a {
        font-size: 1rem;
    }
    .card-grp .grp-of-4, .card-grp .grp-of-3 {
        gap: 1rem;
    }
    .grp-of-4 a, .grp-of-3 a {
        font-size: 1rem;
    }
}
@media(max-width: 550px) {
   .navbar {
        padding: 0 1rem;
    }
   .navbar .nav-links a {
        font-size: 1rem;
        line-height: 1.2;
    }
    .contacts a {
        font-size: 0.7rem;
    }
    section h1 {
        font-size: 1.3rem;
    }
   section > a {
        font-size: 1rem;
    }
   .card-grp .grp-of-4, .card-grp .grp-of-3 {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .grp-of-4 .biz-type-4 {
        width: 47%;
    }
    .grp-of-3 .biz-type-3 {
        width: 47%;
    }
}

/* Register Business */
.reg-biz {
    position: relative;
    display: flex;
    gap: 2rem;
    width: 100%;
    margin: 0;
    flex-direction: row;
    background: var(--color-warm-variant);
    font-size: 1.3rem;
    color: var(--text-color);
}
.reg-biz h2 {
    position: absolute;
    top: 2rem;
    transform: translate(-50%, -2rem);
    text-align: center;
    animation: vib 2s ease infinite;
}
@keyframes vib {
    0% {
        transform: scale(80%);
    }
    50% {
        transform: scale(110%);
        color: #00bf8e;
    }
    100% {
        transform: scale(80%);
    }
}
.reg-biz .reg-biz-txt, .reg-biz .reg-biz-form {
    margin-top: 4rem;
}
.reg-biz-txt {
    width: 55%;
}
.reg-biz-txt p {
    margin-bottom: 1.2rem;
}
.reg-biz-form form {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-bg1);
    border-radius: 10px;
    padding: 10px;
}
.reg-biz-form input {
    height: 2rem;
    padding: 0 5px;
    margin-bottom: 1rem;
}
.reg-biz-form textarea {
    padding: 5px;
}
.reg-biz-form a {
    display: none;
}
.reg-biz-form a:hover {
    box-shadow: 0 0 0 transparent;
    border: 1px solid yellow;
}
.reg-biz-form button {
    width: fit-content;
    padding: 0.5rem;
    color: var(--color-light);
    border-radius: 5px;
    background: var(--color-bg1);
    cursor: pointer;
}

/*Paid Ads */
.paid-ads {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}
.paid-ads h2 {
    text-align: center;
}
.paid-ads .biz-ads, .paid-ads .biz-vid-ads {
    display: flex;
    width: 100%;
    gap: 2rem;
}
 
.biz-ads .media-box {
    min-width: 20%;
    max-width: 30%;
}
.biz-vid-ads .media-vid-box {
    min-width: 30%;
    max-width: 45%;
}
.media-vid-box video {
    width: 100%;
    object-fit: contain;
}

/*footer*/
footer {
    display: grid;
    grid-template-columns: 1fr 3fr 2fr;
    position: relative;
    gap: 2rem;
    top: 12rem;
    width: 96vw;
    margin: 0 auto;
    color: var(--color-light);
    background: var(--color-bg);
}
footer .logo-img, footer .copyright-info, footer .ext-links {
    padding: 1rem;
    font-size: 1.2rem;
}
footer .logo-img img {
    width: 95%;
    height: 95%;
    object-fit: contain;
}

.copyright-info .social-media-mobile, .copyright-info .other-links-mobile {
    display: none;
}
.copyright-info h4 {
    display: none;
}

footer .ext-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ext-links .social-media {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.ext-links .other-links {
    display: flex;
    flex-direction: column;
}
@media(max-width: 950px) {
    .reg-biz-form a {
        display: block;
        font-style: italic;
        background: #fff;
        box-shadow: 0 2px 5px var(--color-bg);
        padding: 0.5rem;
    }
    .paid-ads .biz-vid-ads {
        flex-direction: column;
    }
    .biz-vid-ads .media-vid-box {
        margin: 0 auto;
        min-width: 90%;
    }
}
@media(max-width: 750px) {
    .reg-biz {
        flex-direction: column;
    }
    .reg-biz h2 {
        text-align: center;
    }
    .reg-biz-txt {
        width: 100%;
    }
    .paid-ads .biz-ads {
        flex-direction: column;
    }
    .biz-ads .media-box {
        min-width: 80%;
        margin: 0 auto;
    }

    footer .logo-img, footer .copyright-info, footer .ext-links {
        font-size: 1rem;
    }
}
@media(max-width: 550px) {
    footer {
        grid-template-columns: 1fr 3fr;
    }
    
    footer .logo-img, footer .copyright-info, footer .ext-links {
        font-size: 0.8rem;
    }
    footer .logo-img {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer .logo-img img {
        width: 100%;
        margin: auto;
    }
    
    footer .copyright-info {
        display: flex;
        flex-direction: column;
    }
    .copyright-info .social-media-mobile {
        margin-top: 1rem;
    }
    .copyright-info .social-media-mobile, .copyright-info .other-links-mobile {
        display: flex;
        justify-content: end;
    }
    .copyright-info h4 {
        display: block;
        text-align: end;
        margin: 1rem 0;
    }
    .social-media-mobile a, .other-links-mobile a {
        margin-left: 1.5rem;
    }
    footer .ext-links {
        display: none;
    }
}