:root {
    --primarycolor: #F4782C;
    --secondarycolor: #161E44;
    --accentcolor: #002547;
    --othercolor: #002E6A;
    --headingclr: #002547;
    --textclr: #000000;
    --white: #ffffff;
    --black: #000000;
    --bgwhtxtclr: #ffffff;
    --bgdktxtclr: #000000;
    --bgdkclr: #002547;
    --bgwhclr: #E9F7FF;
    --headfont: "Montserrat", sans-serif;
    --parafont: "Montserrat", sans-serif;
}

html {
    overflow-x: hidden;
}

body {
    color: var(--textclr);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    font-family: var(--parafont);
    overflow-x: hidden;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease-out;
}

a:hover {
    color: var(--accentcolor);
}

a:focus, input:focus, textarea:focus, button:focus {
    border: 0;
    outline: 0;
    box-shadow: 0;
}

p {
    color: var(--textclr);
    font-family: var(--parafont);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--headingclr);
    font-family: var(--headfont);
}

.container {
    max-width: 1180px;
    width: 100%;
}

section {
    position: relative;
}

ul.lists {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px 0;
}

ul.lists li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: var(--accentcolor);
    font-weight: 600;
}

ul.lists li img {
    width: 40px;
    margin-right: 15px;
}


/* --- Scrollbar Code --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primarycolor);
}

::-webkit-scrollbar-thumb {
    background: var(--othercolor);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primarycolor);
}

/* --- Button Code --- */
.custom-btn {
    display: inline-block;
    font-family: var(--parafont);
    overflow: hidden;
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 25px;
    text-transform: capitalize;
    text-align: center;
    -webkit-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.custom-btn:before {
    left: -20px;
    transform: translate(-50%, -50%);
}

.custom-btn:after {
    right: -20px;
    transform: translate(50%, -50%);
}

.custom-btn:before, .custom-btn:after {
    position: absolute;
    top: 50%;
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--black);
    border-radius: 50%;
    z-index: -1;
}

.custom-btn:hover:before {
    -webkit-animation: criss-cross-left 0.8s both;
    animation: criss-cross-left 0.8s both;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.custom-btn:hover:after {
    -webkit-animation: criss-cross-right 0.8s both;
    animation: criss-cross-right 0.8s both;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}

.ddark-btn {
    color: var(--white);
    background-color: var(--accentcolor);  
}

.ddark-btn svg {
    fill: var(--white); 
}

.ddark-btn:hover {
    color: var(--white);
}

.ddark-btn:hover svg {
    fill: var(--white);
}


.dark-btn {
    color: var(--white);
    background-color: var(--primarycolor);
}

.dark-btn svg {
    fill: var(--white);
}

.dark-btn:hover {
    color: var(--white);
}

.dark-btn:hover svg {
    fill: var(--white);
}

.light-btn {
    color: var(--secondarycolor);
    background-color: var(--bgwhclr);
}

.light-btn svg {
    fill: var(--secondarycolor);
}

.light-btn:hover {
    color: var(--white);
}

.light-btn:hover svg {
    fill: var(--white);
}

.light-border-btn {
    color: var(--white);
    border: 1px solid var(--white);
}

.light-border-btn svg {
    fill: var(--white);
}

.light-border-btn:hover {
    color: var(--white);
    border: 1px solid var(--black);
}

.light-border-btn:hover svg {
    fill: var(--white);
}


.subtitle {
    color: var(--primarycolor);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --- Header Code --- */
header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
}

header.fixed-header {
    background-color: var(--accentcolor);
    position: fixed !important;
    animation: smoothScroll 1s forwards;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

header .container {
    background-color: var(--accentcolor);
    border-radius: 0 0 25px 25px;
    padding: 25px 30px;
    position: relative;
}

header .container:before, 
header .container:after {
    content: '';
    position: absolute;
    top: -2px;
    width: 40px;
    height: 40px;
}

header .container:after {
    left: -40px;
    background: url(https://ace.devbuildpro.com/wp-content/uploads/2025/10/top-icon2.webp) no-repeat center;
    background-size: contain;
}

header .container:before {
    right: -40px;
    background: url(https://ace.devbuildpro.com/wp-content/uploads/2025/10/top-icon1.webp) no-repeat center;
    background-size: contain;
}

header .row {
    align-items: center;
}

header .h-logo img {
    max-width: 220px;
}

ul.header-info {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    width: fit-content;
    padding: 5px 0;
    margin: 0 0 0 auto;
}

ul.header-info li {
    color: var(--bgwhtxtclr);
    font-size: 14px;
    font-weight: 500;
    padding: 0 15px;
    line-height: 1;
}

ul.header-info li a {
    color: var(--bgwhtxtclr);
}

ul.header-info li a:hover {
    color: var(--primarycolor);
}

ul.header-info li:first-child {
    padding-left: 0;
}

ul.header-info li:last-child {
    padding-right: 0;
}

ul.header-info li img {
    width: 20px;
    margin-right: 5px;
}


ul.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-around;
}

ul.footer-info li {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    color: var(--white);
}

ul.footer-info li a {
    font-weight: 700;
    color: var(--white);
    display: block;
    transition: all 0.3s ease-in-out;
}

ul.footer-info li a:hover {
    color: var(--primarycolor);
}

ul.footer-info li img {
    width: 36px;
    margin-right: 20px;
}


/* --- Back To Top Code --- */
.back-to-top {
    position: fixed;
    z-index: 9;
    bottom: 150px;
    right: -2px;
    background-color: var(--accentcolor);
    padding: 10px 12px 5px;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    box-shadow: 0 0 10px #979797;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

#btn-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top i {
    transition: all 0.3s ease-in-out;
    color: var(--white);
}

.back-to-top:hover {
    background-color: var(--darkclr);
}

.back-to-top:hover i {
    color: var(--white);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
}   

.contact-wrapper {
    background-color: var(--accentcolor); 
    padding: 35px 0px;
}

.flogo-row {
    padding: 35px 10px;
}

footer .f-logo {
    display: block;
    text-align: center;
}

footer .f-logo img {
    max-width: 220px;
}

.bottom-footer {
    background-color: var(--secondarycolor); 
    padding: 0 0px;
}

.copyright-row {
    border-top: 1px solid #818181;
    padding: 20px 0px;
}

.copyright-txt {
    color: #fff;
    text-align: center;
}


/* --- Contact Form 7 --- */
.wpcf7 form span.wpcf7-not-valid-tip {
    display: none;
}

.form-box form.wpcf7-form .wpcf7 form input.wpcf7-not-valid, 
.form-box form.wpcf7-form .wpcf7 form select.wpcf7-not-valid, 
.form-box form.wpcf7-form .wpcf7 form textarea.wpcf7-not-valid {
    border: 2px solid #ff0000;
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
    text-align: center;
}


/* --- Home Page Code --- */
.banner-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50px;
    padding: 120px 0px 70px 0px;
    margin-top: 30px;
}

.banner-section .container,
.bottom-footer .container,
.cta-wrapper .container,
.review-sec .container {
    max-width: 1340px;
}

.bimg_wrapper>div {
    border-radius: 30px;
    border: 8px solid #FFF;
    overflow: hidden;
}

.b_img2, .b_img3 {
    z-index: 1;
    position: relative;
    max-width: 45%;
}

.b_img1 {
    max-width: 85%;
}

.b_img2 {
    margin-left: 2rem;
    margin-top: -4rem;
}

.b_img3 {
    margin-left: auto;
    margin-right: 0rem;
    margin-top: -20rem;

}

.form-col {
    padding-left: 3rem;
    margin-bottom: -8rem;
}

.form-col h2 {
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.form-col h2 span {
    color: var(--primarycolor);
    font-size: 40px;
    display: block;
}

.form-box {
    border-radius: 30px;
    background: var(--primarycolor);
    box-shadow: 4px 4px 10px 0 rgba(0, 0, 0, 0.42);
    padding: 40px 20px;
    text-align: center
}

.form-box h3 {
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.form-box form.wpcf7-form input,
.form-box form.wpcf7-form select,
.form-box form.wpcf7-form textarea {
    width: 100%;
    display: block;
    color: #6B6B6B;
    border: 2px solid var(--white);
    padding: 7px 15px;
}

.form-box form.wpcf7-form select {
    padding: 10px 15px; 
}

.form-box form.wpcf7-form textarea {
    height: 120px;
    resize: none;
}

.form-box form.wpcf7-form input.wpcf7-submit {
    border-radius: 8px;
    background-color: var(--accentcolor);
    border: 2px solid var(--accentcolor);;
    color: var(--white) !important;
    padding: 10px 20px;
    max-width: 280px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto;
    transition: all 0.3s ease-in-out;
}

.form-box form.wpcf7-form input.wpcf7-submit:hover {
    background-color: var(--bgwhclr);
    border: 2px solid var(--bgwhclr);
    color: var(--accentcolor) !important;
}

.form-box form.wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    position: relative;
}

.form-box form.wpcf7-form span.wpcf7-spinner {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 9;
}

.form-box form.wpcf7-form .wpcf7-response-output {
    width: 100%;
    text-align: center;
    font-size: 14px;
    background-color: var(--bgwhclr);
    border-color: var(--accentcolor);
    padding: 7px 20px;
    border-radius: 5px;
}

.form-box form.wpcf7-form span.wpcf7-form-control-wrap {
    width: 100%;
}

.form-box form.wpcf7-form span.wpcf7-form-control-wrap[data-name="y-email"], 
.form-box form.wpcf7-form span.wpcf7-form-control-wrap[data-name="y-phone"] {
    width: 48%;
}


.welcome-section {
    padding: 150px 20px 70px;
}

.welcome-section h2 {
    font-size: 32px;
}

.welcome-section h2 span {
    display: block;
    font-weight: 400;
}

.welcome-section .btn-col, .whychoose-sec .btn-col {
    justify-content: flex-start;
}

.whychoose-sec .btn-col {
    margin-top: 20px;
}

.welcome-section .btn-col .ddark-btn, .whychoose-sec .btn-col .ddark-btn {
    padding: 10px 40px;
}

.counter-row {
    background-color: var(--accentcolor);
    margin-top: 30px;
    border-radius: 25px;
    padding: 35px 25px;
}

.counter-box {
    text-align: center;
}

.counter-box h5 {
    color: var(--primarycolor);
    font-size: 36px;
} 

.counter-box p {
    text-transform: uppercase;
    color:var(--white);
    font-weight: 600;
    margin-bottom: 0;
}

.counter-row>div {
    border-right: 1px solid var(--white);
}

.counter-row>div:last-child {
    border-right: 0px solid var(--white);
}



.cta-wrapper {
    background-color: var(--othercolor);
    position: relative;
    z-index: 1;
    padding: 0 40px;
}

.cta-content {
    padding: 70px 0;
}

.btn-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    margin-top: 20px;
}

.cta-content h3, .cta-content p {
    text-align: right;
    color: var(--white);
}

.cta-content h3 {
    font-size: 36px;
}

.cta-content p {
    font-size: 24px;
}

.cta-man img {
    margin-top: -14rem;
}


.faqs-section {
    padding: 70px 20px 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.faqs-section h2 {
    color: var(--black);
    font-size: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.faqs-section h2:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 400px;
    height: 2px;
    background-color: var(--primarycolor);
    margin: 0 auto;
}

.main-accordion {
    margin-top: 50px;
}

.main-accordion .accord-item {
    cursor: pointer;
    border: 1px solid #D9D9D9;
    margin-bottom: 10px;
}

.main-accordion .accord-item h3 {
    color: var(--headclr);
    font-size: 18px;
    font-weight: 600;
    background-color: transparent;
    padding: 15px 60px 15px 20px;
    position: relative;
    margin-bottom: 0;
    transition: all 0.3s ease-in-out;
}

.main-accordion .accord-item h3:before {
    content: "\2b";
    position: absolute;
    font-family: 'FontAwesome';
    font-size: 20px;
    right: 20px;
    top: 10px;
    transition: all 0.3s ease-in-out;
}

.main-accordion .accord-item.active h3:before {
    content: "\f068";
}

.main-accordion .accord-item h3:hover,
.main-accordion .accord-item.active h3 {
    color: var(--secondarycolor);
}

.main-accordion .accord-item .accord-content {
    padding: 0 20px 15px 20px;
}

.main-accordion .accord-item .accord-content p {
    color: var(--headclr);
    font-size: 16px;
    font-weight: 500;
}

.main-accordion .accord-item .accord-content p:last-child {
    margin-bottom: 0;
}




.service-section h2, .service-section h4, .service-section p {
    color: var(--white);
}

.service-section h2, .whychoose-sec h2, .gallery-sec h2, .review-sec h2 {
    font-size: 38px;
}

.service-section h2 span {
    display: block;
}

.review-sec h2 {
    font-weight: 400;
}

.review-sec h2 span { 
    font-weight: 700;
    display: block;
}

.service-section h4, .whychoose-sec h4, .gallery-sec h4, .review-sec h4 {
    font-size: 28px;
    font-weight: 400;
}

.whychoose-sec h4 {
    max-width: 800px;
    margin: 0 auto;
}

.whychoose-sec h4 span {
    font-weight: 700;
}


.whychoose-sec, .gallery-sec {
    padding: 70px 20px;
}

.whychoose-sec img, .review-sec img {
    border-radius: 30px;
}

.wc-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.wc-item {
    border-radius: 16px;
    background: #F5F5F5;
    box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.25);
    padding: 20px;
    width: 49%;
    margin-bottom: 2%;
}

.wc-item h5 {
    font-size: 18px;
}

.wc-item p {
    font-size: 15px;
}

.wc-item p:last-child {
    margin-bottom: 0;
}


.review-sec {
    padding: 40px 0;
}

.review-sec .img-col {
    padding-right: 50px;
}



.service-section {
    padding: 70px 20px;
    background-color: var(--bgdkclr);
}

.service-row {
    margin: 40px 0 20px 0;
}

.service-box .s-content {
    border-radius: 16px;
    background: #D9D9D9;
    padding: 40px 15px 20px 15px;
    max-width: 90%;
    margin: -30px auto 0 auto;
    text-align: center;
    z-index: 1;
    position: relative;
}

.service-box .s-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accentcolor);
    margin: 0;
    transition: all 0.3s ease-in-out;
}

.service-box .image {
    border: 1px solid var(--black);
    background: #D9D9D9;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    overflow: hidden;
}

.service-section .btn-col, .gallery-sec .btn-col {
    justify-content: center;
}

.service-box .svg {
    border-radius: 50%;
    border: 2.5px solid var(--white);
    background: var(--accentcolor);
    width: fit-content;
    margin: auto;
    position: absolute;
    z-index: 2;
    padding: 10px;
    right: 0;
    left: 0;
    top: -30px;
    transition: all 0.3s ease-in-out;
}

.service-box .svg svg {
    fill: var(--white);
    width: 32px;
    transition: all 0.3s ease-in-out;
}

.service-box {
    position: relative;
}

.service-box:hover h4 {
    color: var(--white);
}

.service-box:hover .svg {
    background-color: #d9d9d9;
}

.service-box:hover svg {
    fill: var(--accentcolor);
}

.service-box:hover .s-content {
    background-color: var(--primarycolor);
}


.gallery-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  grid-gap: 15px;
}

.gallery-row .g-item {
    border-radius: 15px;
    overflow: hidden;
    height: 240px;
    background-color: var(--black);
}

.gallery-row .g-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: all 0.3s ease-in-out;
}

.gallery-row .g-item:hover img {
    opacity: 1;
}

.gallery-row .g-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.gallery-row .g-item:nth-child(4) {
  grid-column: 1;
  grid-row: 2;
}

.gallery-row .g-item:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1 / span 2;
    height: 100%;
}

.gallery-row .g-item:nth-child(3) {
  grid-column: 4;
  grid-row: 1;
}

.gallery-row .g-item:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}






/* --- Animation Code --- */
@keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes criss-cross-left {
    0% {
        left: -20px;
    }

    50% {
        left: 50%;
        transform: scale(2.5);
    }

    100% {
        left: 50%;
        transform: scale(20.0);
    }
}

@keyframes criss-cross-right {
    0% {
        right: -20px;
    }

    50% {
        right: 50%;
        transform: scale(2.5);
    }

    100% {
        right: 50%;
        transform: scale(20.0);
    }
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

