/********** Template CSS **********/
:root {
    --primary: #1e4098 !important;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}

.secondry-title {
    font-size: 24px !important;
    font-weight: 700;
    line-height: 34px;
}

.primary-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    color: #f68524;
}

/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}


.btn-lg-square {
    width: 48px;
    height: 48px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/* CSS of Navbar */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: 0.3s ease;
    padding: 12px 0;
    background: transparent;
}

/* Scroll effect */
.main-header.scrolled {
    background: rgba(7, 6, 6, 0.85) !important;
    backdrop-filter: blur(10px);
}

/* Navbar spacing */
.navbar-nav {
    gap: 28px;
}

/* Balanced spacing (logo left + button right) */
.navbar {
    padding-left: 0;
    padding-right: 0;
}

.navbar-nav li a {
    color: #ffffff !important;
}

.navbar-nav li a:hover {
    color: #f68524 !important;
}

.header-logo {
    margin-right: 170px;
}

.navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Request Button */
/* From Uiverse.io by CristianMontoya98 */
.request-btn {
    margin: 0.5em;
    background: #f68524;
    color: #fff;
    border: none;
    border-radius: 0.625em;
    font-size: 16px;
    list-style: none;
    line-height: 24px;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.request-btn:hover {
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent-color), transparent 60%);
    transform: translateY(-2px);
}

.request-btn:after {
    content: "";
    background: #1e4098;
    position: absolute;
    z-index: -1;

    left: -20%;
    right: -20%;
    top: 0;
    bottom: 0;
    transform: skewX(-45deg) scale(0, 1);
    transition: all 0.5s;
}
.request-btn:hover{
color: #f68524;
}
.request-btn::after {
    background: #ffffff !important;

}
button:hover:after {
    transform: skewX(-45deg) scale(1, 1);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.navbar-nav .nav-link.active {
    color: #f68524 !important;
    font-weight: 700;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .mobile-menu {
        background: rgba(0, 0, 0, 0.85);
        padding: 20px 15px;
        border-radius: 10px;
        margin-left: -20px !important;
    }

    .header-logo {
        margin-right: 0px;
    }

    .mobile-menu .nav-link {
        padding: 0 !important;
        font-size: 18px;
        color: #fff !important;
    }

    #mainNavbar {
        background: rgb(0, 0, 0) !important;
        padding: 0 20px;
    }

    .navbar-nav {
        gap: 0 !important;
    }
}


.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    --background-color: rgb(21, 18, 19);
}

/* ===== Hero Banner Section ===== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../img/banner-1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    overflow: hidden;
}

/* Light Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(3, 4, 7, 0.65),
            rgba(0, 0, 0, 0.35));
}

/* Center Container */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* Title */
.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 800px;
    text-align: center;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 550px;
    color: #fff;
}

/* Button */
.hero-btn {
    display: inline-block;
    padding: 0.85rem 2.4rem;
    border-radius: 999px;
    background: #1e4098;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid #1e4098;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero-btn:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

/* Simple container (if you're not using Bootstrap) */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 100h;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
        .hero-content{
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
}


/* Facts Section Start */
.facts-box {
    background: var(--primary);
}

.project-done h5 {

    color: var(--primary);
}

.facts-point {
    font-size: 18px;
    font-weight: 700 !important;
    line-height: 24px;
}

.facts-icon {
    width: 60px;
    height: 60px;
    font-size: 30px;
    color: var(--primary);
}


.project-icon {
    background: var(--primary);
    color: #ffffff !important;
}

@media (min-width: 575px) and (max-width: 768px){
.facts-boxes, .services-container, .why-us{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
}
.footer-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
}
.header-btn{
    width: 180px;
}
.first-box{
    margin-right: 10px;
}
}
/* Facts Section Ends */

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {
        left: 0;
    }

    50% {
        left: 145px;
    }

    100% {
        left: 0;
    }
}

@-webkit-keyframes section-title-run-center {
    0% {
        left: 50%;
        margin-left: -75px;
    }

    50% {
        left: 50%;
        margin-left: 45px;
    }

    100% {
        left: 50%;
        margin-left: -75px;
    }
}

@-webkit-keyframes section-title-run-sm {
    0% {
        left: 0;
    }

    50% {
        left: 85px;
    }

    100% {
        left: 0;
    }
}


/* About Us Start */
.about-points h5 {
    color: #1e4098;
}
.mobile-view{
    display: none;
}
.service, .about-us, .why-choose-us, .contact-us-section{
    padding-top: 90px;
}
@media(max-width:786px){
    #about-us .position-relative {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .dekstop-view{
        display: none !important;
    }
    .mobile-view{
        display: block;
    }

    .service, .about-us, .why-choose-us, .contact-us-section{
    padding-top: 20px;
}
}

.about-us-img{
    border-radius: 10px;
}
/* About Us Ends */

/*** service Start ***/

.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: #163375 !important;
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
    padding:  10px !important;
}

.services-container a,
.services-container a h4 {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 26px;

}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}


/*** Service End ***/



/* Why Choose Us Start */
.why-us h4 {
    font-size: 18px;
    color: #1e4098;
    line-height: 26px;
}

.why-us p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #757575 !important;
}
.why-bg{
    background: var(--primary);
}
/* Why Choose Us Ends */

/* FAQ Start */
.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px !important;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #222;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: all 0.4s ease;
    padding: 0 20px;
    line-height: 1.6;
    color: #555;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 15px 20px;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* FAQ Ends */

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}

.testimonial-container {
    flex-shrink: 0;
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.testimonial-item img {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
}

.testimonial-item h4 {
    font-size: 18px;
    color: #1e4098;
    line-height: 26px;
}

.testimonial-item p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #757575 !important;
}

.ratings {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
}

.ratings i {
    color: #f68524 !important;
}

/* Contact US Section Start */
.contact-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    border-radius: 12px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e6ecef;
    transition: 0.3s ease;
}

.contact-card a {

    font-size: 16px;
    color: #757575;
    cursor: pointer;
}

.contact-card a i {
    font-size: 20px;
    color: #1e4098 !important;
}

.contact-card:hover {
    background: #e9f3ff;
    border-color: #b3d6fa;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-border{
    border-radius: 10px !important;
    padding: 3rem !important;
}

@media(max-width:600px){
    .contact-border{
        padding: 3rem 1rem !important;
    }
}
@media (min-width: 601px) and (max-width: 768px){
 .contact-border{
        padding: 3rem 2rem !important;
    }
}
/* Contact Us Section Ends */

/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/* Brand Crousel start */
.brand-crousel {
    background: #222930;
}

/* Brand Crousel Ends */

/* Footer Section Start */

.footer {
    background: #10141b;
}

.footer h4 {
    color: #f68524 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
}

.footer-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #f68524;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.footer-logo img{
    width: 100%;
}

@media(max-width:768px){
    /* .footer-logo {
        padding: 20px 0 !important;
    } */
}
.footer-btn:hover {
    background: #cdccd3d2;
}

.footer-btn i {
    font-size: 20px;
}

.footer-services a:hover i {
    color: #f68524 !important;
}

.footer-services a:hover {
    color: #f68524 !important;
}

.footer a i {
    color: #ffffff !important;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

.footer-address a,
.footer-services a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

/* Footer Section Ends */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e4098;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #163375;
    /* darker hover shade */
}

.bottom-to-top{
    background: var(--primary);
    color: #fff;
}

/* Chatbot Box */
.fixed-buttons {
    position: fixed;
    right: 30px;
    bottom: 15%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* justify-content: space-between; */
    gap: 150px;
    z-index: 9999;
}


.dual-icon {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.icon-btn:hover {
    transform: scale(1.1);
}

.chatbot {
    background: var(--primary);
}

.chatbot img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.chatbot-box {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 320px;
  height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  z-index: 9999;
}

/* Header */
.chatbot-header {
  background: #1e4098;
  color: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* Body */
.chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f5f7ff;
}

.bot-msg,
.user-msg {
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  max-width: 80%;
}

.bot-msg {
  background: #e0e7ff;
  color: #000;
}

.user-msg {
  background: #1e4098;
  color: #fff;
  margin-left: auto;
}

/* Footer */
.chatbot-footer {
  display: flex;
  border-top: 1px solid #ddd;
}

.chatbot-footer input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

.chatbot-footer button {
  background: #1e4098;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}
