:root {
    --yellow-light: #f8ebc9;
    --light-grey: #beccc7;
    --yellow: #fed464;
    --orange: #fd6038;
    --green: #017848;
    --dark: #0e1412;
    --grey: #586863;

    --man: "Manrope", sans-serif;
    --robo: "Roboto Slab", serif;
}

body {
    font-family: var(--man);
}

/* Header */
.header {
    background-color: var(--yellow-light);
    padding-top: 25px;
    padding-bottom: 150px;
}

/* Nav-bar */
.nav-bar {
    margin-bottom: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--robo);
    text-decoration: none;
    color: inherit;
}
.logo img {
    height: 30px;
}
.logo span {
    font-weight: 700;
    font-size: 1.5rem;
}
.logo p {
    font-size: 0.875;
}

/* Menu */
.menu {
    display: flex;
    gap: 50px;
}
.menu > li > a {
    position: relative;
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}
.menu > li > a[class="dropdown"]::after {
    position: absolute;
    content: "\f107";
    font-family: "Font Awesome 7 Free";
    font-weight: 700;
    font-size: 0.8rem;
    left: 100%;
    top: 45%;
    transition: transform 0.3s ease;
    transform: translate(4px, -40%);
}
.menu > li > a:hover {
    color: var(--orange);
}
.menu > li > a:hover[class="dropdown"]::after {
    transform: translate(4px, -40%) rotate(180deg);
}

/* Call */
.call span {
    font-weight: 700;
    font-size: 1.3rem;
}

/* Header-left */
.header-left {
    font-family: var(--robo);
    display: flex;
    gap: 30px;
    flex-direction: column;
    justify-content: center;
}
.header-left span {
    font-size: 1.125rem;
}
.header-left h2 {
    font-size: 3.75rem;
    font-weight: 800;
}
.header-left p {
    width: 80%;
    line-height: 1.4;
    font-size: 1.125rem;
    font-family: var(--man);
}
a[class="btn"] {
    background-color: var(--orange);
    align-self: flex-start;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-family: var(--man);
    padding: 20px 30px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}
a[class="btn"]::after {
    position: absolute;
    inset: 0;
    content: "";
    display: block;
    height: 100%;
    z-index: -1;
    width: 100%;
    background-color: white;
    scale: 0;
    transition: scale 0.4s ease-in-out;
}
a[class="btn"]:hover {
    color: var(--orange);
}
a[class="btn"]:hover::after {
    scale: 1;
}

/* Header-right */
.header-right {
    position: relative;
}
.header-right .media-container {
    position: relative;
    height: 100%;
    margin: 0 auto;
}

.media-main {
    display: block;
    margin: 0 auto;
    width: 75%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 3;
}

.media-abstract {
    position: absolute;
    top: 20%;
    right: -15%;
    width: 160px;
    z-index: 5;
    color: var(--orange);
}

.media-play {
    position: absolute;
    vertical-align: middle;
    left: 0;
    top: 0;
    z-index: 10;
    transform: translate(-50%, -50%);
}
.media-play img {
    animation: spinner 3s infinite linear;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.3rem;
}

.bg-green {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    content: "";
    background-color: var(--green);
    height: 100%;
    width: 100%;
}

.bg-yellow {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
    background-color: var(--yellow);
    height: 85%;
    width: 70%;
}

/* about-us */
.about-us {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--dark);
}

/* about-us-left */
.about-us-left .img-main {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.about-us-media {
    position: relative;
    width: 90%;
    height: 100%;
}

.about-us-bg-yellow {
    position: absolute;
    height: 220px;
    width: 20px;
    background-color: var(--yellow);
    top: 0;
    left: 0;
}
.about-us-decor {
    display: block;
    position: absolute;
    width: 114px;
    right: 0;
    top: 50%;
    translate: 50%;
}
/* about-us-right */
.about-us-right {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-us-right span {
    font-family: var(--robo);
    color: var(--orange);
    font-size: 1.125rem;
}
.about-us-right h2 {
    font-family: var(--robo);
    color: white;
    font-size: 2.625rem;
    font-weight: 700;
    line-height: 1.4;
}
.about-us-right p {
    margin-top: 30px;
    color: var(--light-grey);
    font-size: 1.125rem;
    line-height: 1.4;
}

.info {
    margin-top: 30px;
    margin-bottom: 40px;
    display: flex;
    gap: 40px;
}

.info-num {
    color: white;
    font-size: 1.5rem;
    font-family: var(--robo);
}

.info-name {
    margin-top: 10px;
    color: var(--light-grey);
}

/* services */
.services {
    padding-top: 150px;
    padding-bottom: 150px;
    background-color: white;
}

.services-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.services-heading span {
    font-size: 1.125rem;
    color: var(--grey);
    font-family: var(--robo);
}
.services-heading h2 {
    color: var(--dark);
    font-weight: 700;
    font-size: 2.635rem;
    font-family: var(--robo);
}
.services-heading p {
    color: var(--grey);
    font-size: 1.125rem;
    line-height: 1.4;
    text-align: center;
    width: 35%;
}

.services-list {
    margin-top: 50px;
}

.services-item {
    position: relative;
}
.services-item img {
    width: 100%;
    object-position: center;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}
.services-item .btn {
    position: absolute;
    bottom: 35px;
    left: 50%;
    translate: -50%;
    width: 80%;
    text-align: center;
    color: black;
    background-color: white;
    font-weight: 700;
    font-size: 1.375rem;
}
.services-item .btn::after {
    background-color: var(--orange);
}
.services-item .btn:hover {
    color: white;
}

/* services-btn */
.services-btn {
    margin-top: 30px;
}
.services-btn > * {
    display: flex;
    justify-content: center;
}
.services-btn a {
    background-color: var(--orange);
    align-self: center;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-family: var(--man);
    padding: 25px 40px;
    font-weight: 400;
    font-size: 1.125rem;
    position: relative;
}

/* features */
.features {
    margin-top: 150px;
}
.feature-img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.features-media {
    position: relative;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.features-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.features-content span {
    font-family: var(--robo);
    font-size: 1.125rem;
    color: var(--grey);
}
.features-content h2 {
    font-family: var(--robo);
    font-weight: 700;
    font-size: 2.625rem;
    margin-top: 10px;
}
.features-content p {
    font-size: 1.125rem;
    color: var(--grey);
    line-height: 1.4;
    margin-top: 30px;
}
.features-content ul {
    list-style: disc;
    padding-left: 30px;
    margin-top: 30px;
}
.features-content ul li {
    color: var(--dark);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 2.5;
}

.feature-btn {
    background-color: var(--orange);
    align-self: flex-start;
    display: inline-block;
    color: white;
    text-decoration: none;
    font-family: var(--man);
    padding: 20px 30px;
    font-weight: 600;
    font-size: 1.125rem;
    position: relative;
    margin-top: 50px;
}

.features-bg-orange {
    width: 20px;
    height: 220px;
    background-color: var(--orange);
    position: absolute;
    right: 0;
    top: 0;
}

.features-bg-green {
    width: 20px;
    height: 220px;
    background-color: var(--green);
    position: absolute;
    right: 0;
    bottom: 0;
}

.feature-decor {
    position: absolute;
    width: 117px;
    height: 129px;
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* team */
.team {
    background-color: var(--dark);
    padding-top: 100px;
    padding-bottom: 100px;
}

.team-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.team-intro span {
    color: var(--orange);
    font-size: 1.125rem;
}
.team-intro h2 {
    font-size: 2.625rem;
    font-weight: 700;
    color: white;
}
.team-intro p {
    font-size: 1.125rem;
    font-family: var(--man);
    color: var(--light-grey);
    width: 35%;
    text-align: center;
    line-height: 1.6;
}

.team-members {
    margin-top: 50px;
}
.member-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}
.team-members p {
    color: white;
    font-weight: 700;
    font-size: 1.375rem;
}
.team-members span {
    color: var(--light-grey);
}

.team-member-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
    transition: transform 0.8s ease;
}
.team-img-wrapper {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.view-profile-btn {
    position: absolute;
    content: "View Profile";
    background-color: var(--orange);
    font-weight: 600;
    font-size: 1.125rem;
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    left: 50%;
    bottom: 20px;
    translate: -50%;
    scale: 0;
    transition: scale 0.5s ease;
}

.team-img-wrapper:hover .team-member-img {
    transform: scale(1.3);
}
.team-img-wrapper:hover .view-profile-btn {
    scale: 1;
}

.team-btn {
    padding: 20px 40px;
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    background-color: var(--orange);
    text-decoration: none;
    display: block;
    width: max-content;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

/* awards */
.awards {
    background-color: var(--yellow-light);
    padding-top: 100px;
    padding-bottom: 100px;
}

.awards-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 70px;
}

.awards span {
    font-size: 1.125rem;
    font-family: var(--robo);
    color: var(--dark);
}
.awards h2 {
    font-family: var(--robo);
    font-weight: 700;
    font-size: 2.625rem;
}

.awards-wrapper {
    background-color: white;
    aspect-ratio: 1 / 1;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.awards-list img {
    width: 100%;
}

/* testimonial */
.testimonial {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: white;
}
.testimonial-intro > p {
    font-family: var(--robo);
    font-size: 1.125rem;
    color: var(--grey);
}

.testimonial-heading {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.testimonial-heading h2 {
    font-family: var(--robo);
    font-weight: 700;
    font-size: 2.625rem;
    line-height: 1.3;
}

.testimonial-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.testimonial-btn {
    color: white;
    background-color: black;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.testimonial-btn:hover {
    background-color: var(--orange);
}

.testimonial-content {
    margin-top: 80px;
}

.testimonial-reviewer {
    padding: 30px;
    border: 1px solid #e6efec;
}
.testimonial-reviewer.active {
    box-shadow: 0px 20px 70px 0px #0e141212;
    border: none;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-reviewer-content {
    margin-top: 30px;
    line-height: 1.5;
    font-size: 1.125rem;
    color: var(--grey);
    font-weight: 400;
}

.testimonial-icon {
    margin-top: 30px;
}

.testimonial-credit {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.testimonial-reviewer-name {
    font-weight: 700;
    font-size: 1.25rem;
}
.testimonial-reviewer-position {
    color: var(--grey);
    font-size: 0.875rem;
}

.testimonial-content-nav {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.testimonial-content-btn {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background-color: var(--dark);
    transition: background-color 0.3s ease;
}
.testimonial-content-btn:hover {
    background-color: var(--orange);
}
.testimonial-content-btn.active {
    background-color: var(--orange);
}

/* faq */
.faq {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: white;
}

.faq-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.faq-heading p {
    font-family: var(--robo);
    font-size: 1.125rem;
    color: var(--grey);
}
.faq-heading h2 {
    font-family: var(--robo);
    font-weight: 700;
    font-size: 2.625rem;
    color: var(--dark);
}

.faq-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.faq-nav li a {
    color: var(--dark);
    font-size: 1.125rem;
    text-decoration: none;
    transition: color 0.3s ease;
}
.faq-nav li a.active {
    color: var(--orange);
}
.faq-nav li a:hover {
    color: var(--orange);
}

.faq-question-wrapper {
    margin-top: 100px;
}

.faq-question {
    padding: 20px;
    padding-bottom: 0;
    padding-top: 40px;
    display: block;
    position: relative;
}
.faq-question::after {
    background-color: var(--light-grey);
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 1px;
}

.faq-question-title {
    display: flex;
    justify-content: space-between;
}

.faq-question-title span {
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--dark);
}

.faq-question-btn {
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--dark);
    color: white;
    transition: color 0.3s ease;
}
.faq-question-btn i {
    transition: rotate 0.3s ease;
}

.faq-question-content {
    font-size: 1.125rem;
    color: var(--grey);
    line-height: 1.7;
}

.faq-question-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    margin-top: 20px;
    overflow: hidden;
}
.faq-question-content p {
    min-height: 0;
    margin-top: 0;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
    opacity: 0;
    transform: scale(1);
}

.faq-question-wrapper input:checked + .faq-question {
    box-shadow: 0px 20px 70px 0px #0e141212;
}
.faq-question-wrapper input:checked + .faq-question .faq-question-content {
    grid-template-rows: 1fr;
    padding-bottom: 20px;
}
.faq-question-wrapper input:checked + .faq-question .faq-question-content p {
    opacity: 1;
}
.faq-question-wrapper input:checked + .faq-question .faq-question-btn {
    background-color: var(--orange);
}
.faq-question-wrapper input:checked + .faq-question .faq-question-btn i {
    rotate: 180deg;
}

/* blog */
.blog {
    background-color: white;
    padding-top: 100px;
    padding-bottom: 150px;
}

.blog-heading span {
    font-family: var(--robo);
    font-size: 1.125rem;
    color: var(--grey);
}
.blog-heading h2 {
    font-family: var(--robo);
    font-weight: 700;
    font-size: 2.625rem;
    color: var(--dark);
    margin-top: 20px;
}

.blog-heading-desc {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
.blog-heading-desc p {
    font-size: 1.125rem;
    color: var(--grey);
    line-height: 1.8;
}
.blog-heading-desc a {
    line-height: normal;
    padding: 15px 30px;
    background-color: var(--orange);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
}

.blog-content {
    margin-top: 70px;
}

.single-blog {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.single-blog > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}
.avatar-wrapper > img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
}

.blog-credit {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-writer {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--dark);
}

.blog-position {
    color: var(--grey);
}

.blog-title {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.5;
    color: var(--dark);
}

.blog-btn {
    color: var(--dark);
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}
.blog-btn:hover {
    color: var(--orange);
}

/* cta */
.cta {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--green);
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-wrapper span {
    font-family: var(--robo);
    font-size: 1.125rem;
    color: white;
}
.cta-wrapper h2 {
    margin-top: 30px;
    font-family: var(--robo);
    font-weight: 700;
    font-size: 2.625rem;
    color: white;
}
.cta-wrapper p {
    margin-top: 30px;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 40px;
    line-height: 1.5;
    width: 40%;
    text-align: center;
}
.cta-wrapper a {
    align-self: center;
}

/* footer */
.footer {
    background-color: var(--dark);
    padding-top: 100px;
    padding-bottom: 30px;
}

.footer-info h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 30px;
}
.footer-info ul li a {
    color: var(--light-grey);
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 3;
    transition: color 0.3s ease;
}
.footer-info ul li a:hover {
    color: var(--orange);
}
.footer-info ul li {
    color: var(--light-grey);
    font-size: 1.125rem;
    line-height: 2;
}
.footer iframe {
    height: 400px;
    width: 100%;
}

.divider {
    width: 100%;
    height: 2px;
    background: #313d39;
    margin-top: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    max-width: max-content;
}
.footer-logo > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--robo);
    text-decoration: none;
    color: inherit;
}
.footer-logo img {
    height: 30px;
    color: white;
}
.footer-logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}
.footer-logo p {
    font-size: 0.875;
    color: white;
}

.footer-last-content {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}
.footer-last-content span {
    font-size: 0.875rem;
    color: var(--light-grey);
}

.footer-contact {
    display: flex;
    gap: 20px;
}
.footer-contact li a {
    text-decoration: none;
    color: white;
    background-color: #313d39;
    padding: 10px;
    transition: background-color 0.3s ease;
}
.footer-contact li a:hover {
    background-color: var(--orange);
}
