:root {
    --yellow: #DEB129;
    --lyellow: #FFE8B0;
    --green: #0F766E;
    --lgreen: #B9DFDC;
    --blue: #2E458A;
    --lblue: #AFBEE9;
    --cream: #F7F2E7;

    --playfair: 'Playfair Display', serif;
}
 
html {
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
     margin: 0;
     padding: 0;
     width: 100vw;    
     font-family: figtree;
     overflow: hidden;
}

h1, h2, h3, h4, h5 {
    margin: 0;
    line-height: 1.2;
}

h1 {font-size: 60px;}
h2 {font-size: 50px;}
h3 {font-size: 40px;}
h4 {font-size: 30px;}
h5 {font-size: 25px;}

p { 
    font-size: 20px;
    margin: 0;
}

a {
    font-size: 20px;
    text-decoration: none;
}

/*---------- NAVBAR ----------*/
.navbar {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100px;
    background-color: var(--cream);
    /* filter: drop-shadow(0 0 4px gray); */
    z-index: 10;
}

.main-text {
    color: var(--green);
    font-weight: 600;
    padding: 0 1rem;
    margin-right: auto;
}

.mainlog {
    height: auto;
    width: 80px;
    margin: 4rem 0 0 2rem;
    padding: 0.5rem 0.2rem 1rem ;
    background-color: var(--cream);
    outline: 5px solid white;
    border-radius: 100px;
    z-index: auto;
}

.mobile-text {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    color: var(--green);
    align-items: center;
    margin: 0;
    overflow: hidden;
    li {
        display: inherit;
        align-items: center;
        list-style: none;
        width: max-content;
        transition: all 0.2s ease-in-out;
        a {
			display: flex;
			align-items: center;
            color: var(--green);
			padding: 0 1rem;
        	height: 100px;
            transition: all 0.2s ease-in-out;
        }
    }
    a:hover {
        background-color: white;
		font-weight: bold;
    }
    hr {
        display: none;
    }
}

.lets-talk {
    display: inherit;
    align-items: center;
    font-weight: bold;
    color: var(--blue);
    padding: 0.8rem 1.5rem;
    margin: 0 2rem 0 1rem;
    min-width: 105px;
    background-color: var(--yellow);
    border-radius: 50px;
    transition: all 0.2s ease-in-out;
}

.lets-talk:hover {
    background-color: var(--blue)!important;
    color: white !important;
}

.navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-icon {
    width: 100%;
    height: 0.15rem;
    right: 0px;
    background-color: black;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-toggler .navbar-icon::before, .navbar-toggler .navbar-icon::after {
    right: 0px;
    content: '';
    position: absolute;
    width: 100%;
    height: 0.15rem;
    background-color: black;
    transition: all 0.3s ease;
}
.navbar-toggler .navbar-icon::after {top: 0.30rem;}
.navbar-toggler .navbar-icon::before {top: -0.30rem;}

.lets-talk-btn-mobile {
    display: none;
    padding: 1rem;
    text-decoration: none;
    text-align: center;
}

.logo-mobile {
    img { 
        width: 250px; 
        display: none;
    }
}

/*---------- HOME ----------*/
.hero-sec {
    display: flex;
    flex-direction: column;
    position: relative;
    justify-content: end;
    align-items: center;
    width: auto;
    height: 100vh;
    gap: 1rem;
    overflow: hidden;
}

.altlog {
    display: none;
}

.home-text {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
    padding: 0 1rem;
    max-width: 1350px;
    filter: drop-shadow(0 0 4px black);

    gap: 1rem;
    z-index: 5;
    h5 {
        font-weight: 300;
    }
}

.home-btn {
    display: flex;
    flex-direction: row;
    padding-bottom: 4rem;
    gap: 2rem;
    z-index: 5;
    a {
        font-weight: bold;
        text-align: center;
        padding: 1rem;
        color: white;
        width: 360px;
        background-color: var(--green);
        border-radius: 50px;
        transition: all 0.2s ease;
    }
    a:hover {
        color: var(--green);
        background-color: white;
    }
}

.home-bg {
    display: flex;
    justify-content: flex-end;
    position: absolute;
    width: 100%;
    top: 100px;
    background-color: black;
    z-index: 1;
    video {
        object-fit: cover;
        height: 100vh!important;
        width: 100%;
        mask-image: linear-gradient(to bottom,
        rgba(0,0,0,1) 20%,
        rgba(0,0,0,0.6) 60%,
        rgba(0,0,0,0.2) 80%,
        rgba(0,0,0,0) 100%);
    }
    img{
        object-fit: cover;
        height: 100vh!important;
        width: 100vw;
    }
}

/*---------- 2ND SECTION ----------*/
.sec2-wrap {
    background-image: url("../images/bg1.png");
    background-position: center;
    background-size: cover;
}

.about-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
}

.about-head {
    text-align: center;
    color: white;
    h5 {font-weight: 300;}
    h3 {font-weight: bold;}
}

.line1 {
    /* height: 4px; */
    /* width: 200px; */
    background-color: white;
    margin: 1rem 0;
}

.content-wrap {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    img {
        width: 227px;
        height: 227px;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 960px;
    p {
        font-weight: 300;
        color: white;
    }
}

.about-boxes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
}

.box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    max-width: 310px;
    width: 100%;
    border-radius: 20px;
    outline: 1px solid white;
    img {
        width: 40px;
        height: 40px;
    }
}

.line2 {
    height: 2px;
    width: 60vw;
    background-color: white;
    margin-bottom: 2rem;
}

.about-bot {
    color: white;
    font-weight: 300;
    text-align: center;
    strong {
        font-weight: bold;
    }
    a {
        color: white;
    }
    a:hover {
        text-decoration: underline;
    }
}
/*---------- 3RD SECTION ----------*/
.sec3 {
    display: flex;
    justify-content: center;
    background-color: white;
}

.sec3-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--cream);
    width: 90vw;
    padding: 2rem;
    border-radius: 50px;
}

.companies-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 4rem 0;
    h5 {font-weight: 300;}
}

.line3 {
    height: 4px;
    width: 200px;
    background-color: black;
    margin: 1rem;
}

.companies-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 1180px;
    width: 100%;
    gap: 1rem;
    margin-bottom: 4rem;
}

.company {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 380px;
    border-radius: 20px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    img {
        padding: 0 2rem;
        border-radius: 10px;
        background-color: white;
    }
    p {
		font-weight: 300;
	}
}

.bot-sec1, .bot-sec2, .bot-sec3 {
    position: relative;
    height: 70px;
    width: 100%;
    border-radius: 0 20px 20px 20px;
}

.bottom1, .bottom2, .bottom3 {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 56%;
    height: 35px;
    border-bottom: 10px solid var(--cream);
    border-right: 10px solid var(--cream);
    border-bottom-right-radius: 30px;
}

.bot-sec1::after, .bot-sec2::after, .bot-sec3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 175px;
    height: 70px;
    background: var(--cream);
    border-top-left-radius: 20px;
    z-index: 0;
}

.top-sec1, .top-sec2, .top-sec3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1rem;
    border-radius: 20px 20px 20px 0;
    gap: 1rem;
    flex: 1 !important;
}

.top-sec1, .bot-sec1, .bottom1, .bot-btn1 {
    background-image: url("../images/bg3.png");
    background-position: center;
    background-size: cover;
    h5, p, a {color: black;}
} 

.top-sec3, .bot-sec3, .bottom3, .bot-btn3 {
    background-image: url("../images/bg2.png");
    background-position: center;
    background-size: cover;
    h5, p, a {color: white;}
} 
.top-sec2, .bot-sec2, .bottom2, .bot-btn2 {
    background-image: url("../images/bg1.png");
    background-position: center;
    background-size: cover;
    h5, p, a {color: white;}
}

.bot-btn1, .bot-btn2, .bot-btn3 {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 65px;
    width: 170px;
    border-radius: 20px;
    background-position: center;
    background-size: cover;
    transition: all 0.3s ease;
    z-index: 1;
}

.bot-btn1:hover, .bot-btn2:hover, .bot-btn3:hover {
    transform: scale(1.1);
    width: 180px;
    height: 80px;
    font-weight: bold;
}

.company1 .bot-btn {
    background-image: url("../images/bg3.png");
} 

.company2 .bot-btn {
    background-image: url("../images/bg2.png");
} 

.company3 .bot-btn {
    background-image: url("../images/bg1.png");
}

.plac-con {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: white;
    padding: 1rem 2rem;
    margin: 2rem 0;
    border-radius: 20px;
    gap: 2rem;
    video {
        height: 200px;
        width: 500px;
        object-fit: cover;
        border-radius: 10px;
    }
}

.plac-con-text {
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    max-width: 600px;
}

.text-bot {
    text-align: center;
    max-width: 1145px;
    margin: 2rem 0;
}

/*---------- 4TH SECTION ----------*/
.sec4-wrap {
    background-image: url("../images/bg2.png");
    background-position: center;
    background-size: cover;
}

.impact-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    border-radius: 0 0 800px 800px;
	padding-bottom: 8rem;
}

.impact-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1rem;
    max-width: 970px;
    color: var(--blue);
    h5 {font-weight: 300;}
    p {color: black;}
}

.impact-num {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.num {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    h2 {
        color: white;
        background-color: var(--blue);
        border-radius: 50px;
        padding: 1rem 2rem;
        width: 250px;
    }
    h5 {
        font-weight: 300;
    }
}
/*---------- TESTIMONIALS ----------*/
.testimonies {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6rem 1rem;
    color: white;
    overflow: hidden;
}

.track {
    margin: 2rem 0;
    position: relative;
    width: clamp(250px, 80vw, 800px);
}

.testimony {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-height: 350px;
    width: 100%;
    padding: 2rem;
    border-radius: 20px;
    outline: 2px solid white;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    p {font-style: italic;}
    img {
        width: 190px;
        margin: 1rem 0;
    }
}

.testimony.active {
    opacity: 1;
    position: relative;
}

.name {
    font-weight: bold;
    font-style: unset !important;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.dots span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    transition: 0.3s;
}

.dots span.active {
    background: white;
}

/*---------- FOOTER ----------*/
.footer-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 4rem;
    background-color: white;
    h3 {
        font-weight: 400;
        text-align: center;
        color: var(--blue);
		margin: 2rem 0;
    }
    span {
        font-weight: bold; 
        font-style: italic;
    }
}

.f-line {
    height: 1px;
    background-color: var(--blue);
    width: 90vw;
    margin: 2rem 0;
}

.footer-column {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: start;
    gap: 2rem;
    width: 90vw;
	margin: 1rem 0;
}

.col-cont {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    p {
        font-weight: bold;
    }
    ul {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: repeat(3, auto);
        grid-auto-flow: column;
        padding: 0;
        margin: 0;
        gap: 1rem 4rem;
    }
    li {
        list-style: none;
    }
    a {
        color: black;
        font-weight: 300;
        transition: all 0.2s ease;
    }
    a:hover {
        color: var(--blue);
        text-decoration: underline;
    }
}

.bot-foot {
    text-align: center;
    color: var(--blue);
    a {
        font-style: italic;
        font-weight: bold;
        color: #D9644A;
    }
    a:hover {
        text-decoration: underline;
    }
}

@media (max-width: 1260px) {
    .content-wrap {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {

    h1 {font-size: 40px;}
    h2 {font-size: 30px;}
    h3 {font-size: 25px;}
    h4 {font-size: 25px;}
    h5 {font-size: 20px;}
    p {font-size: 18px;}
    a {font-size: 18px;}
    
    .navbar {
        justify-content: space-between;
        height: 4rem;
        outline: none;
        background-color: transparent;
        box-shadow: none;
        margin: 0;
    }

    .navbar-toggler {
        display: flex;
        margin-right: 1rem;
        background-color: var(--cream);
    }

    .main-text {
        display: none;
    }

    .mobile-text {
        display: block;
        text-align: center;
        margin-right: none;
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        background-color: white;
        width: 100%;
        top: 0;
        right: 0;
        padding: 1rem 0;
        margin: 0;
        gap: 1rem;
        z-index: 50;
        li {
            a {
            font-weight: bold;
            padding: 0;
			height: unset;
            }
        }
		a:hover {
            background-color: none;
            border-bottom: none;
        }
        hr {
            display: block;
            width: 80vw;
        }
    }

    .nav-links.show {
        display: flex;
    }

    .logo-mobile {
        img { 
            display: block;
        }
    }

    .nav-links li {
        height: auto;
        margin: 0.2rem 0;
    }

    .lets-talk {display: none;}
    .lets-talk-btn-mobile {
        font-weight: bold;
        display: block;
        padding: 0.2rem 0;
        color: var(--green)
    }

/*---------- HOME SEC ----------*/
    .altlog {	
        display: block;
        position: absolute;
        width: 200px;
        padding: 1rem;
        top: 0;
        left: 0;
        z-index: 8;
    }
        
    .mainlog { 
        display: none;
        padding-left: 0;
    }
        
    .home-btn {
        gap: 1rem;
        padding-bottom: 2rem;
        a {
            padding: 0.5rem 1rem;
            width: 250px;
        }
    }

    .home-bg {
        top: 0;
    }

/*---------- 2ND SEC ----------*/
.about-sec {
    padding: 2rem 1rem;
}

.content-wrap {
    align-items: center;
    flex-direction: column;
    padding: 0;
}

.about-content {
    text-align: center;
    gap: 2rem;
}

.box {
    text-align: start;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 10px;
}

.line2 {
    width: 80vw;
    margin: 2rem;
}

/*---------- 3RD SEC ----------*/
.sec3-wrap {
    border-radius: 20px;
}

.companies-head {
    margin: 0 0 2rem;
}

.company {
    border-radius: 10px;
    img {
        padding: 0;
    }
}
	
.top-sec1, .top-sec2, .top-sec3 {
    border-radius: 10px 10px 10px 0;
}

.bot-sec1, .bot-sec2, .bot-sec3 {
    border-radius: 0 10px 10px 10px;
}

.bottom1, .bottom2, .bottom3 {
    border-bottom-right-radius: 15px;
}

.bot-sec1::after, .bot-sec2::after, .bot-sec3::after {
    border-top-left-radius: 10px;
}

.text-bot {
    margin: 0 0 1rem;
}

.bot-btn1, .bot-btn2, .bot-btn3 {
    border-radius: 10px;
}

/*---------- 4TH SEC ----------*/
.impact-sec {
    height: auto;
}

.impact-head {
    padding: 2rem 1rem 1rem;
}

.num {
    gap: 0.5rem;
    h2 {
        width: 150px;
    }
}

/*---------- TESTIMONIALS ----------*/
.testimonies {
    padding: 2rem 1rem;
}

.testimony {
    padding: 1rem;
}

.track {
    touch-action: pan-y;
    margin: 1rem 0;
}

/*---------- FOOTER ----------*/
    .footer-column {
        flex-wrap: wrap;
    }

    .col-cont {
        ul {
            gap: 1rem 2rem;
        }
    }
}

@media (max-width: 768px) {
/*---------- 3RD SEC ----------*/
.sec3-wrap {
    border-radius: 0;
    padding: 2rem 1rem;
    width: auto;
}

.companies-wrap {
    flex-direction: column;
    align-items: center;
}

.bottom1, .bottom2, .bottom3 {
    bottom: -10px;
    left: 2px;
    width: 56%;
}
	
.company {
    width: clamp(250px, 80vw, 380px);
    img {
        width: 150px;
        height: 150px;
    }
}

.top-sec {
    height: auto;
    padding: 0 0.5rem 6rem;
}

.plac-con {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    video {
        /* height: 150px; */
        width: clamp(250px, 80vw, 500px);
        object-fit: cover;
        border-radius: 10px;
    }
}

.dots span {
    width: 15px;
    height: 15px;;
}

/*---------- FOOTER ----------*/
    .footer-column {
        justify-content: start;
    }
}

@media (max-width: 546px) {

    h1 {font-size: 30px;}
    h2 {font-size: 25px;}
    h3 {font-size: 20px;}
    h4 {font-size: 18px;}
    h5 {font-size: 18px;}
    p {font-size: 16px;}
    a {font-size: 16px;}
    .navbar { 
        height: 60px;
    }
    .logo-mobile {
        img { 
            width: 200px; 
        }
    }

/*---------- HOME ----------*/
    .home-btn {
        flex-direction: column;
        gap: 0.5rem 1rem;
    }

    .altlog {
        padding: 0.5rem;
        width: 150px;
    }

/*---------- 2ND SEC ----------*/
.content-wrap {
    img {
        width: 150px;
        height: 150px;
    }
}
.about-boxes {
    flex-direction: column;
    align-items: center;
}

.box {
    max-width: 220px;
    img {
        width: 30px;
        height: 30px;
    }
}

.plac-con-text {
    margin: 0 0 1rem;
}

.bottom1, .bottom2, .bottom3 {
	border-bottom-right-radius: 25px;
}

	
/*---------- 4TH SEC ----------*/
.impact-sec {
    padding-bottom: 2rem;
}

.impact-num {
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.num {
    h2 {
        padding: 0.5rem 2rem;
    }
}

/*---------- FOOTER ----------*/
    .footer-column {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .col-cont {
        align-items: center;
        ul {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }
}