/********** Template CSS **********/
:root {
    --primary: #32C36C;
    --light: #F6F7F8;
    --dark: #000000;
}

body {
    overflow-x: hidden;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}
/* ===== GLOBAL FONT STYLE ===== */

/* Body Content */
body,
p,
span,
li,
a,
input,
textarea,
button {
    font-family: "Cambria Math", Cambria, serif !important;
    font-weight: 400;
}

/* Titles / Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.stats-text,
.gallery-content h5,
.choose-item h5,
.service-item h4,
.navbar-nav .nav-link {
    font-family: "Cambria Math", Cambria, serif !important;
    font-weight: bold !important;
}
/*** 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 {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.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 {
    background: #000000 !important;
    top: 0;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 100px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    transition: .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
    color: #FFFFFF;
}

.navbar .dropdown-menu {
    background: #111111;
}

.navbar .dropdown-menu .dropdown-item {
    color: #FFFFFF;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .35);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/contact.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Carousel ***/
.carousel-item img {
    height: 80vh;
    object-fit: cover;
}

.carousel-caption {
    bottom: 25%;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 48px;
    font-weight: 700;
}

.carousel-caption p {
    font-size: 18px;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 60vh;
    }

    .carousel-caption h1 {
        font-size: 26px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}

/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.team-item:hover {
    transform: translateY(-5px);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #FFFFFF;
    transition: .5s;
}

/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** CTA Section ***/
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.95)),
                url('img/carousel-1.jpg') center/cover no-repeat;
    border-radius: 0;
}

.cta-section h2 {
    font-weight: 700;
    color: #FFFFFF;
}

.cta-section .btn-success {
    background: #22c55e;
    border: none;
    transition: 0.3s;
}

.cta-section .btn-success:hover {
    background: #16a34a;
}

.cta-section .btn-outline-light:hover {
    background: #fff;
    color: #000;
}

/*** Footer ***/
.footer,
.footer-section {
    background: #000000 !important;
    color: #FFFFFF;
}

.footer-logo {
    width: 150px;
}

.footer-link {
    display: block;
    color: #cbd5e1;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #22c55e;
    padding-left: 5px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #cbd5e1;
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 14px;
    background: #000000;
    color: #FFFFFF;
}

.footer-bottom a,
.footer .copyright a {
    color: #22c55e;
    text-decoration: none;
}

.footer-bottom a:hover,
.footer .copyright a:hover {
    color: #32C36C;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

/*** Counter ***/
.counter-box {
    display: inline-block;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #22c55e;
    background: #0f172a;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(34,197,94,0.3);
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(34,197,94,0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(34,197,94,0.8);
    }
}

.btn-social {
    width: 38px;
    height: 38px;
    margin-right: 8px;
    border-radius: 50%;
}

/* ===== RESPONSIVE CAROUSEL ===== */

#mainSlider {
    width: 100%;
    overflow: hidden;
}

/* Dynamic responsive height */
#mainSlider .carousel-item {
    height: 85vh;
    min-height: 250px;
    max-height: 700px;
}

#mainSlider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Caption */
#mainSlider .carousel-caption {
    bottom: 12%;
    z-index: 2;
}

/* Desktop */
#mainSlider .carousel-caption h1 {
    font-size: 52px;
    font-weight: 700;
}

#mainSlider .carousel-caption p {
    font-size: 18px;
}

/* Laptop */
@media (max-width: 1200px) {

    #mainSlider .carousel-item {
        height: 70vh;
    }

    #mainSlider .carousel-caption h1 {
        font-size: 42px;
    }
}

/* Tablet */
@media (max-width: 992px) {

    #mainSlider .carousel-item {
        height: 55vh;
    }

    #mainSlider .carousel-caption {
        bottom: 10%;
    }

    #mainSlider .carousel-caption h1 {
        font-size: 34px;
    }

    #mainSlider .carousel-caption p {
        font-size: 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    #mainSlider .carousel-item {
        height: 40vh;
    }

    #mainSlider .carousel-caption {
        bottom: 8%;
        padding: 0 15px;
    }

    #mainSlider .carousel-caption h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    #mainSlider .carousel-caption p {
        font-size: 13px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {

    #mainSlider .carousel-item {
        height: 32vh;
    }

    #mainSlider .carousel-caption {
        bottom: 5%;
    }

    #mainSlider .carousel-caption h1 {
        font-size: 18px;
    }

    #mainSlider .carousel-caption p {
        font-size: 11px;
    }
}