/********** Template CSS **********/
:root {
    --primary: #FF800F;
    --secondary: #001064;
    --light: #F6F7F8;
    --dark: #010A35;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#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;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover,
.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
/*** Navbar ***/
.navbar.sticky-top{
    top:-100px;
    transition:.5s;
}

.navbar .navbar-brand img{
    max-height:60px;
}

.navbar .navbar-nav .nav-link{
    margin:0 18px;
    padding:12px 0;
    color:#696E77;
    font-family:'Manrope',sans-serif;
    font-size:15px;
    font-weight:600;
    letter-spacing:.3px;
    outline:none;
    transition:.3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active{
    color:var(--primary);
}

.navbar .dropdown-toggle::after{
    border:none;
    content:"\f107";
    font-family:"Font Awesome 5 Free";
    font-weight:900;
    vertical-align:middle;
    margin-left:8px;
}

@media (max-width:991.98px){
    .navbar .navbar-brand img{
        max-height:45px;
    }

    .navbar .navbar-nav{
        margin-top:20px;
        margin-bottom:15px;
    }

    .navbar .navbar-nav .nav-link{
        margin:0;
    }

    .navbar .nav-item .dropdown-menu{
        padding-left:30px;
    }
}

@media (min-width:992px){
    .navbar .nav-item{
        position:relative;
    }

    .navbar .nav-item .dropdown-menu{
        display:block;
        border:none;
        margin-top:0;
        top:150%;
        left:0;
        right:auto;
        opacity:0;
        visibility:hidden;
        transition:.35s;
    }

    .navbar .nav-item:hover .dropdown-menu{
        top:100%;
        opacity:1;
        visibility:visible;
    }
}



/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(1, 10, 53, .8);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(1, 10, 53, .8), rgba(1, 10, 53, .8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}


/*** Facts ***/
.facts {
	position: relative;
}

.facts * {
	position: relative;
	z-index: 1;
}

.facts::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
    background: rgba(1, 10, 53, .8);
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .container.quote .quote-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }

    .container.quote .quote-form {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .container.quote .quote-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }

    .container.quote .quote-form  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

.container.quote .quote-text,
.container.quote .quote-form {
	position: relative;
}

.container.quote .quote-text *,
.container.quote .quote-form * {
	position: relative;
	z-index: 1;
}

.container.quote .quote-text::after,
.container.quote .quote-form::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.container.quote .quote-text::after {
    background: rgba(1, 10, 53, .8);
}

.container.quote .quote-form::after {
    background: rgba(255, 255, 255, .8);
}

.container.quote .quote-text .h-100,
.container.quote .quote-form .h-100 {
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Service ***/
.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}


/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(1, 10, 53, .8);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.animated.pulse {
    animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
    position: relative;
}

.testimonial-left img,
.testimonial-right img {
    position: absolute;
    border-radius: 70px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
    width: 50px;
    height: 50px;
    bottom: 10%;
    right: 10%;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}


/*** Footer ***/
.footer {
    color: #7F8499;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #7F8499;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #7F8499;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #7F8499;
    border: 1px solid #7F8499;
}

.footer .btn.btn-square:hover {
    color: var(--light);
    border-color: var(--primary);
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--primary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/*==============================================
  CUSTOM UPGRADE STYLES
  (Interactivity, hovers, icons, responsiveness)
================================================*/

* {
    outline: none;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Generic focus/hover cursor for JS-driven or placeholder elements */
.js-link,
.interactive {
    cursor: pointer;
}

/* Make every anchor & button feel alive */
a {
    transition: color .3s ease, background-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.btn {
    transition: all .35s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-3px);
}

.btn.btn-primary:hover {
    box-shadow: 0 10px 20px rgba(255, 128, 15, .35);
}

.btn.btn-link:hover {
    transform: translateX(4px);
}


/*** Brand / Logo Icon (replaces old PNG icon) ***/
.brand-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 10px;
    transition: all .45s ease;
}

.navbar-brand:hover .brand-icon {
    transform: rotate(20deg) scale(1.1);
    background: var(--secondary);
}

.footer h1 .brand-icon {
    background: var(--primary);
}

.footer h1:hover .brand-icon {
    transform: rotate(20deg) scale(1.1);
    background: var(--secondary);
}


/*** Icon badges used instead of PNG icons (about / feature sections) ***/
.icon-badge {
    width: 55px;
    height: 55px;
    min-width: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all .45s ease;
}

.icon-badge:hover {
    background: var(--secondary) !important;
    transform: scale(1.12) rotate(8deg);
}

.btn-lg-square,
.btn-square,
.btn-sm-square {
    transition: all .4s ease;
}

.btn-lg-square:hover {
    background: var(--secondary) !important;
    transform: scale(1.1);
}

.d-flex.mb-5 .flex-shrink-0.btn-square:hover,
.d-flex.mb-0 .flex-shrink-0.btn-square:hover {
    background: var(--secondary) !important;
    transform: scale(1.1) rotate(8deg);
}

.service-item .service-icon {
    transition: all .45s ease;
}

.service-item:hover .service-icon {
    background: var(--secondary) !important;
    transform: scale(1.08);
}

.navbar .btn-square.bg-light:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    transform: translateY(-3px);
}

.team-social .btn-square {
    transition: all .35s ease;
}

.team-social .btn-square:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}


/*** Navbar hover / active link underline ***/
.navbar .navbar-nav .nav-link {
    position: relative;
}

.navbar .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .35s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-item.dropdown:hover .nav-link {
    color: var(--primary);
}

.navbar .dropdown-menu {
    box-shadow: 0 10px 30px rgba(1, 10, 53, .15);
    border-radius: 6px;
    overflow: hidden;
    min-width: 230px;
}

.navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    transition: all .3s ease;
    font-weight: 400;
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    background: var(--primary);
    color: #FFFFFF;
    padding-left: 26px;
}


/*** Service cards interactive hover ***/
.service-item {
    background: #FFFFFF;
    overflow: hidden;
    border-radius: 4px;
    transition: transform .45s ease, box-shadow .45s ease;
}

.service-item img {
    transition: transform .6s ease;
    display: block;
    width: 100%;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(1, 10, 53, .12);
}

.service-item:hover img {
    transform: scale(1.08);
}

.service-item h4 a {
    transition: color .3s ease;
}

.service-item h4 a:hover {
    color: var(--primary) !important;
}


/*** Floating action buttons (WhatsApp / Call) ***/
.float-btn {
    position: fixed;
    right: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
    z-index: 1000;
    transition: all .35s ease;
}

.float-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, .4);
    color: #FFFFFF;
}

.float-whatsapp {
    bottom: 92px;
    background-color: #25D366;
}

.float-call {
    bottom: 20px;
    background-color: var(--primary);
}

.back-to-top.btn-primary:hover {
    transform: scale(1.1);
}


/*** Form focus states ***/
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(255, 128, 15, .2);
}

.footer .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}


/*** Inline feedback alert (used by contact form / newsletter JS) ***/
.form-feedback {
    display: none;
    margin-top: 15px;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: .95rem;
}

.form-feedback.show {
    display: block;
}

.form-feedback.success {
    background: rgba(40, 167, 69, .12);
    color: #1e7e34;
    border: 1px solid rgba(40, 167, 69, .3);
}

.form-feedback.error {
    background: rgba(220, 53, 69, .12);
    color: #b02a37;
    border: 1px solid rgba(220, 53, 69, .3);
}

.footer .form-feedback.success,
.footer .form-feedback.error {
    color: #FFFFFF;
    border: none;
}

.footer .form-feedback.success {
    background: rgba(40, 167, 69, .35);
}

.footer .form-feedback.error {
    background: rgba(220, 53, 69, .35);
}


/*** Opening Hours (Footer) ***/
.footer .opening-hours li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: #7F8499;
}

.footer .opening-hours li:last-child {
    border-bottom: none;
}

.footer .opening-hours li span:first-child {
    color: #DDD;
}

.footer .opening-hours li.emergency {
    color: var(--primary);
    font-weight: 600;
}

.footer .opening-hours li.emergency span:first-child {
    color: var(--primary);
}


/*** Service Detail Pages ***/
.detail-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-feature-list li {
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px dashed rgba(1, 10, 53, .1);
    transition: transform .3s ease;
}

.detail-feature-list li:last-child {
    border-bottom: none;
}

.detail-feature-list li:hover {
    transform: translateX(6px);
    color: var(--primary);
}

.detail-feature-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary);
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    border-radius: 6px;
    background: var(--light);
    transition: all .4s ease;
    height: 100%;
}

.process-step:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(1, 10, 53, .15);
}

.process-step:hover .process-icon {
    background: #FFFFFF;
    color: var(--primary);
}

.process-step .process-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: all .4s ease;
}

.process-step .process-number {
    display: inline-block;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: 1px;
    opacity: .6;
    margin-bottom: 8px;
}

.cta-strip {
    background: linear-gradient(rgba(1, 10, 53, .88), rgba(1, 10, 53, .88)), url(../img/carousel-2.jpg) center center / cover no-repeat;
    border-radius: 6px;
    padding: 50px 40px;
    color: #FFFFFF;
}

.related-service-card {
    display: block;
    padding: 25px;
    border-radius: 6px;
    background: var(--light);
    text-align: center;
    height: 100%;
    transition: all .4s ease;
    color: var(--dark);
    text-decoration: none;
}

.related-service-card:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(1, 10, 53, .12);
}

.related-service-card i {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary);
    transition: color .4s ease;
}

.related-service-card:hover i {
    color: #FFFFFF;
}


/*** Breadcrumb tweak (no dead "#" for category label) ***/
.page-header .breadcrumb-item.text-muted-label {
    color: rgba(255, 255, 255, .6);
}


/*==============================================
  RESPONSIVENESS IMPROVEMENTS
================================================*/

h1.display-4 {
    font-size: clamp(1.9rem, 5vw, 3.2rem);
}

h1.display-6 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        background: transparent;
    }

    .navbar .dropdown-menu .dropdown-item:hover,
    .navbar .dropdown-menu .dropdown-item.active {
        padding-left: 20px;
    }

    .cta-strip {
        padding: 35px 20px;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .carousel-caption h1 {
        font-size: 1.6rem !important;
    }

    .carousel-caption p {
        font-size: 1rem !important;
    }

    .carousel-caption .btn {
        padding: .6rem 1.5rem !important;
    }

    .page-header {
        padding: 30px 0 !important;
    }

    .page-header h1 {
        font-size: 1.8rem !important;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
        right: 14px;
    }

    .float-whatsapp {
        bottom: 78px;
    }

    .float-call {
        bottom: 16px;
    }

    .footer .col-md-6 .position-relative input.form-control {
        padding-right: 90px;
    }

    .service-item:hover {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .display-4 {
        font-size: 1.8rem;
    }

    .testimonial-item p.fs-5 {
        font-size: 1rem !important;
    }

    .navbar .navbar-brand h1 {
        font-size: 1.1rem;
    }
}

img {
    max-width: 100%;
}

.table-responsive-wrapper {
    overflow-x: auto;
}

/* Topbar contact links hover */
.topbar-link {
    transition: color .3s ease;
}

.topbar-link:hover,
.topbar-link:hover small {
    color: var(--primary) !important;
}
