@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Poppins:wght@200;300;400;500;600;700&family=Raleway:wght@200;300;400;500&family=helvetica:ital,wght@0,300;0,400;0,500;0,700;1,900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

.d-none {
    display: none;
}

body {
    color: var(--black);
    letter-spacing: .8px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    transition: .5s;
}

:root {
    --primary-color: #145da1;
    --secondary-color: #3c79b0;
    --white: #fff;
    --grey: #797977;
    --light-grey: #afafaf17;
    --black: #151515;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    width: 100%;
    height: 100%;
}


h1 {
    font-size: 54px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 80px;
}

h2 {
    font-size: 40px;
    font-weight: 600;
}

h3 {
    font-size: 36px;
    font-weight: 600;
}

h4 {
    font-size: 26px;
    font-weight: 600;
    line-height: 36px;
}

h5 {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

h6 {
    font-size: 16px;
    line-height: 30px;
    letter-spacing: 1px;
}

p {
    font-size: 15px;
    line-height: 26px;
    /* letter-spacing: 1px; */
}

.page-width {
    /* max-width: 1400px; */
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.page-spacing {
    padding-top: 80px;
    padding-bottom: 80px;
}

.w-100 {
    width: 100%;
}

.w-50 {
    width: 50%;
}

.w-fit {
    width: fit-content;
}

hr {
    border-color: var(--light-grey);
    margin: 0;
}

.mb-10 {
    margin-bottom: 10px;
}

/* header start */

header {
    padding-top: 15px;
    padding-bottom: 15px;
    position: fixed;
    z-index: 9;
    transition: .3s;
    width: 100%;
    background: var(--white);
}

body.scrolled header {
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    background: var(--white);
}

body.scrolled .header-right {
    transform: scale(0.97);
    transition: .3s;
}

body.scrolled .logo img {
    transition: .3s;
}

.logo_mob {
    display: none;
}


.header-align {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 70px;

}

.logo {
    align-items: center;
    display: flex;
    z-index: 9999;

}

.logo img {
    max-width: 220px;
    /* height: 60px; */
    object-fit: contain;
    transition: .3s;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    transition: .3s;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-items {
    color: var(--black);
    align-items: center;
    display: flex;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    height: fit-content;
    cursor: pointer;
    line-height: initial;
    transition: .3s;
    padding: 5px 0;
}

/* .nav-items:hover:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grey);
    opacity: .6;
    animation: tab_border .4s;
    border-radius: 10px;
    background: var(--grey);
} */

.nav-items.active:hover:before {
    animation: none;
}

@keyframes tab_border {
    0% {
        width: 5px;
        opacity: .2;
    }

    50% {
        width: 50%;
        opacity: .5;
    }

    100% {
        width: 100%;
        opacity: .6;
    }

}

.nav-items.active {
    font-weight: 800;
    color: var(--primary-color);
}

.nav-items:hover {
    transform: translateY(-5px) scale(1.02);
}

/* .nav-items.active:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--black);
    opacity: 1;
    border-radius: 10px;
} */

body.open .nav-items.active:before {
    background: var(--white);
}

.nav-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

header .button-rockcaptl {
    color: var(--white);
}

.button-rockcaptl,
.button-rockcaptl2 {
    background: var(--black);
    padding: 6px 12px;
    min-height: 44px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid var(--black);
    position: relative;
}

.button-rockcaptl2 {
    background: var(--white);
    color: var(--black);
}

.button-rockcaptl::after,
.button-rockcaptl2::after {
    content: '';
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--white);
    width: 0;
    transition: .3s;
}

.button-rockcaptl2::after {
    background: var(--black);
}

.button-rockcaptl span,
.button-rockcaptl2 span {
    font-weight: 500;
}

.button-rockcaptl:hover span,
.button-rockcaptl2:hover span {
    color: var(--black);
    z-index: 9;
}

.button-rockcaptl2:hover span {
    color: var(--white);
}

.button-rockcaptl:hover::after,
.button-rockcaptl2:hover::after {
    width: 100%;
}

.button-rockcaptl:hover:before {
    display: none;
}

.menu {
    width: 25px;
    height: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: column;
    display: none;
}

.menu span {
    height: 2px;
    width: 100%;
    background: var(--primary-color);
    transition: .3s;
}

body.open .menu span {
    background: var(--white);
}

.menu span:nth-child(2) {
    width: 80%;
}

.open .nav-items {
    color: var(--white);
}

.open .menu span:nth-child(1) {
    transform: translate(0%, 10px) rotate(45deg);
    transition: .3s;
}

.open .menu span:nth-child(2) {
    opacity: 0;
}

.open .menu span:nth-child(3) {
    transform: translate(0%, -6px) rotate(-45deg);
    transition: .3s;
}

/* header end */

/* footer start */
.flex-align3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

footer {
    /* background: linear-gradient(80deg, var(--secondary-color), var(--primary-color)); */
    background: var(--white);
    padding: 70px 40px 60px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a {
    color: var(--black);
    cursor: pointer;
    font-size: 14px;
    position: relative;
}

.logo-footer img {
    max-width: 200px;
    height: 80px;
    object-fit: contain;
}


.footer-nav a:not(:last-child):before {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    height: 100%;
    width: 1px;
    background: var(--black);
}

.footer-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.cr-col-4 {
    width: 33.3%;
    padding: 5px;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
    place-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-left>div {
    flex-direction: column;
    align-items: flex-start;
    color: var(--black);
}

footer .social img {
    width: 25px;
    cursor: pointer;
    filter: invert(1);
}

footer .social img:hover {
    animation: rotaet_scale .3s ease;
}

@keyframes rotaet_scale {
    0% {
        transform: scaleX(-1);
    }


    100% {
        transform: scaleX(1);

    }
}

/* footer end */

/* main start */

.hero-bg {
    background-image: url(../img/hero.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: calc(100vh - 70px);
    position: relative;
    display: flex;
    align-items: center;
    padding: 220px 40px 100px 40px;
}


.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.split-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;

}

.split-container.cta {

    gap: 20px;
    padding: 40px;
    background-color: #d1eaf4;
    margin-bottom: 40px;
}

.split-inner {
    width: calc(50% - 30px);
}

.split-inner img {
    max-height: 60vh;
    object-fit: cover;
}

.txt-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.btn-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.point-icon {
    width: 20px;
    height: 20px;
    margin-top: 5px;
}

.flex-align {
    display: flex;
    gap: 10px;
}

.invert {
    flex-direction: row-reverse;
}

.testimonial-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.testimonial-body {
    display: flex;
    gap: 20px;
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item {
    width: 33.33%;
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
    justify-content: flex-end;
    background: #fff;
    padding: 35px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
    transition: .3s;
}

.item:hover {
    transform: scale(1.03);
}

.rating {
    height: 20px;
    object-fit: contain;
    width: fit-content;
}

.avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
}

/* rating stars style  */

.Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: 25px;
    font-family: Times;
    line-height: 1;
}

.Stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(90deg, #fc0 var(--percent), #d6d6d6 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta .split-inner-right,
.faq .split-inner-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* accordion starts */
.accordion .accordion-item {
    border-bottom: 1px solid var(--black);
}

.accordion .accordion-item button[aria-expanded='true'] {
    border-bottom: 1px solid var(--primary-color);
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: var(--black);
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
    color: var(--primary-color);
}

.accordion button:hover::after,
.accordion button:focus::after {
    cursor: pointer;
    color: #03b5d2;
    border: 1px solid #03b5d2;
}

.accordion button .accordion-title {
    padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    transform: translate(-50%);
    width: 15px;
    height: 15px;
    background: url(../img/arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: .3s;
}


.accordion button[aria-expanded='true'] {
    color: var(--primary-color);
}

.accordion button[aria-expanded='true'] .icon::before {
    transform: translate(-50%) rotate(180deg);
    transition: .3s;
}

.accordion button[aria-expanded='true']+.accordion-content {
    opacity: 1;
    max-height: 40em;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content p {

    font-weight: 300;
    margin: 2em 0;
}


.contact-form-container {

    /* align-items: flex-start; */
    background: url(../img/contact-us.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    position: relative;

    label,
    input,
    textarea {
        display: block;
        width: 100%;
    }

    span {
        line-height: 35px;
        font-size: 14px;
        text-transform: uppercase;
    }


    form {
        overflow: hidden;
        padding: 25px;
        border-radius: 4px;
        border: 1px solid var(--white);
        box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
        background: var(--white);
        color: var(--black);
        max-width: 600px;
        margin-left: auto;
        position: relative;
        z-index: 1;
    }

    .form-100 {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .required-star {
        color: var(--black);
    }

    input,
    textarea {
        width: 100%;
        padding: 9px 20px;
        border: 1px solid #d7d7d7;
        background-color: transparent;
        /* caret-color: var(--white); */
        box-sizing: border-box;
        font-size: 14px;
        line-height: 29px;
        border-radius: 3px;
        line-height: 29px;
        /* color: var(--white); */
        letter-spacing: 1px;
    }

    input:focus-visible,
    textarea:focus-visible {
        outline: none;
    }
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
}


/* main end */
@media (min-width:1460px) {
    .page-width {
        padding-left: 10%;
        padding-right: 10%;
        margin: 0 auto;

    }
}

@media(max-width: 990px) {
    .header-right {

        gap: 40px;
    }

    .logo img {
        height: 50px;

    }


    .header-right {

        gap: 40px;
    }

    .split-container {
        align-items: flex-start;
    }

    .txt-container .split-texts {
        flex-direction: column;
    }

    .testimonial-body {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 8px;
    }

    .item {
        width: 50%;
        scroll-snap-align: center;
        flex: none;
        align-items: center;
        margin: 20px 0;
        padding: 25px;
    }

    h1 {
        font-size: 40px;
        line-height: 42px;
    }

    h2 {
        font-size: 28px;
    }

    h4 {
        font-size: 18px;
    }

    .page-spacing {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .w-50 {
        width: 100%;
    }

}

@media(max-width: 768px) {
    .menu {
        display: flex;
        z-index: 9999;
    }

    .header-right {
        flex-direction: column;
        height: 100vh;
        background: var(--secondary-color);
        width: 100vw;
        position: fixed;
        top: 0;
        right: -100vw;
        justify-content: flex-start;
        transition: .3s;
        padding-top: 120px;
    }

    body.scrolled .header-right {
        transform: none;
    }



    .open .header-right {
        right: 0;
        z-index: 3;
    }

    .nav {

        flex-direction: column;
    }

    p {
        font-size: 14px;
        line-height: 24px;
    }

    h1 {
        font-size: 30px;
        line-height: 42px;
    }

    h2 {
        font-size: 24px;
    }

    h4 {
        font-size: 18px;
    }

    .page-spacing {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .footer-row {
        gap: 20px;
    }

    .cr-col-4 {
        width: 100%;
        padding: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cr-col-4 * {
        justify-content: center;
        text-align: center;
    }

    .footer-center {
        order: 0;
    }

    .footer-left {
        order: 1;
    }

    .footer-right {
        order: 2;
    }

    .footer-left>div {
        align-items: center;
    }

    .page-width {
        padding-left: 20px;
        padding-right: 20px;
    }

    .split-container {
        flex-direction: column;
        gap: 20px;
    }

    .split-inner {
        width: 100%;
    }


    .item {
        width: 50%;
    }

    .item h5 {
        text-align: center;
    }

    .txt-container .split-texts {
        flex-direction: column;
    }

    .testimonial-container {
        gap: 30px;
    }

    .hero-bg {
        min-height: auto;
        padding: 220px 20px 100px 20px;
        background-image: url(../img/hero-mob.jpg);
        background-position: left top;
    }

    body.open .logo_mob {
        display: block;
    }

    body.open .logo_web {
        display: none;
    }

    .txt-container {
        gap: 20px;
    }

    .split-container.cta {

        gap: 20px;
        padding: 20px;
    }

    footer {
        padding-top: 40px;
        padding-bottom: 40px;

    }

    .contact-form-container form {
        max-width: 100%;
    }
}

@media screen and (max-width:600px) {
    .item {
        width: 90%;
    }
}

@media screen and (min-width:769px) and (max-width:990px) {
    .img-container {
        position: sticky;
        top: 100px;
    }

    .nav {
        gap: 10px;
    }

    .header-right {
        gap: 20px;
    }

    .logo img {
        height: clamp(40px, 5vw, 50px);
    }
}

#form-messages {
    margin-bottom: 20px;
}

#form-messages .success {
    color: #4CAF50;
    font-weight: bold;
}

#form-messages .error {
    color: #F44336;
    font-weight: bold;
}


/* Spinner style */
.spinner {
    width: 30px;
    height: 30px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #000; /* Change color as needed */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

