﻿/********** Template CSS **********/

:root {
    --accent: #ff0100;
    --accent-dark: #cc0000;
    --text-muted-custom: #6b7280;
    --card-shadow: 0 4px 24px rgba(0,0,0,.08);
    --card-shadow-hover: 0 8px 40px rgba(0,0,0,.15);
    --radius: 4px;
    --transition: .35s ease;
    --bs-primary: #ff0100;
    --bs-primary-rgb: 255, 1, 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a2e;
    line-height: 1.75;
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    letter-spacing: .5px;
    line-height: 1.25;
}

p {
    color: #4b5563;
    line-height: 1.8;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    border-radius: 50% !important;
    width: 46px;
    height: 46px;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    border-radius: var(--radius);
}

.btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(var(--bs-primary-rgb), .35);
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), .45);
    transform: translateY(-1px);
}

.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

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

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

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

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

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

/*** Topbar ***/
.bg-primary small {
    font-size: 13px;
    opacity: .92;
}

/*** Enhanced Navbar ***/
.sticky-top {
    top: 0px;
    transition: .5s;
    box-shadow: 0 2px 20px rgba(0,0,0,.07);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Logo styling */
.navbar-brand {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .brand-logo {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.navbar-brand .brand-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #1a1a2e;
    letter-spacing: .5px;
    line-height: 1;
}

.navbar-brand .brand-text span {
    color: var(--bs-primary);
}

/* Enhanced navigation links */
.navbar .navbar-nav {
    align-items: center;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 18px 0;
    color: #1a1a2e;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .8px;
    outline: none;
    position: relative;
    transition: all var(--transition);
    border-radius: 4px;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.navbar .navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar .navbar-nav .nav-link:not(.dropdown-toggle):hover::after,
.navbar .navbar-nav .nav-link:not(.dropdown-toggle).active::after {
    width: 80%;
}

.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
    font-weight: 800;
}

/* Navbar LinkedIn icon */
.nav-linkedin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 119, 181, .1);
    color: #0077b5;
    font-size: .95rem;
    transition: all var(--transition);
    border: 1.5px solid rgba(0, 119, 181, .25);
    text-decoration: none;
}

.nav-linkedin-btn:hover {
    background: #0077b5;
    color: #fff;
    border-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 119, 181, .35);
}

/* Enhanced CTA button */
.navbar .btn-primary {
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(var(--bs-primary-rgb), .3);
    transition: all var(--transition);
    border: 2px solid var(--bs-primary);
}

.navbar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), .4);
}

/* Navbar container height */
.navbar.navbar-expand-lg {
    min-height: 70px;
    padding: 0;
}

/* Mobile navbar improvements */
@media (max-width: 991.98px) {
    .navbar-brand .brand-logo {
        height: 38px;
    }
    
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,.05);
    }
    
    .navbar .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .navbar .navbar-nav {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(0,0,0,.1);
    }
    
    .navbar .btn-primary {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}










@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    }
}




/*** Enhanced Services Dropdown ***/

/* Desktop: show on hover via CSS */
@media (min-width: 992px) {
    .nav-svc-wrap {
        position: relative;
    }
    
    .nav-svc-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 280px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-50%) translateY(15px);
        transition: all .3s ease;
        z-index: 9999;
        border: none;
        box-shadow: 0 10px 40px rgba(0,0,0,.15);
        border-radius: 8px;
        padding: 1rem 0;
        background: #fff;
        border-top: 3px solid var(--bs-primary);
    }
    
    .nav-svc-wrap:hover .nav-svc-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-svc-wrap:hover .nav-svc-icon {
        transform: rotate(180deg);
    }
}

/* Mobile: show when .show class added by JS */
@media (max-width: 991.98px) {
    .nav-svc-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: #f8f9fa;
        padding: .5rem 0 .5rem 1rem;
        display: none;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .nav-svc-menu.show {
        display: block;
        animation: slideDown .3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Enhanced caret icon */
.nav-svc-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-svc-icon {
    font-size: .7rem;
    display: inline-block;
    transition: transform .3s ease;
    vertical-align: 1px;
    color: var(--bs-primary);
}

/* Active/hover states */
.nav-svc-toggle.active,
.nav-svc-toggle:hover {
    color: var(--bs-primary) !important;
}

/* Enhanced dropdown items */
.nav-svc-menu .dropdown-item {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #374151;
    padding: .7rem 1.5rem;
    transition: all .25s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.nav-svc-menu .dropdown-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--bs-primary);
    border-radius: 50%;
    opacity: 0;
    transition: all .25s ease;
}

.nav-svc-menu .dropdown-item:hover,
.nav-svc-menu .dropdown-item.active {
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-primary);
    border-left-color: var(--bs-primary);
    padding-left: 2rem;
}

.nav-svc-menu .dropdown-item:hover::before,
.nav-svc-menu .dropdown-item.active::before {
    opacity: 1;
    left: 1.7rem;
}

/*** Header ***/

.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: linear-gradient(to right, rgba(0,0,0,.82) 40%, rgba(0,0,0,.3) 100%);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-caption h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
    line-height: 1.15;
}

.carousel .carousel-caption p {
    color: rgba(255,255,255,.88);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.75;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 520px;
    }
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .carousel .carousel-indicators [data-bs-target] {
        width: 55px;
        height: 55px;
    }
    .carousel .carousel-caption {
        padding: 2rem 2rem 2rem 8rem;
        background: linear-gradient(to right, rgba(0,0,0,.85) 50%, rgba(0,0,0,.4) 100%);
    }
    .carousel .carousel-caption h1 {
        font-size: clamp(1.4rem, 4vw, 2.5rem);
    }
    .carousel .carousel-caption p {
        font-size: .9rem;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .carousel .carousel-item {
        min-height: 460px;
    }
    .carousel .carousel-indicators {
        top: auto;
        bottom: 15px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        margin-left: 0;
    }
    .carousel .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid #fff;
        overflow: hidden;
        margin: 0 4px;
    }
    .carousel .carousel-indicators [data-bs-target] img {
        display: none;
    }
    .carousel .carousel-caption {
        padding: 1.5rem;
        text-align: center;
        align-items: center;
        background: rgba(0,0,0,.65);
    }
    .carousel .carousel-caption h1 {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        margin-bottom: .75rem;
    }
    .carousel .carousel-caption p {
        font-size: .82rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    .carousel .carousel-caption .btn {
        font-size: .78rem;
        padding: .5rem 1.25rem;
    }
}

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

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


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
    border-radius: var(--radius);
    overflow: visible;
}

.about-img img {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    border-radius: var(--radius);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,.92) 55%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: var(--card-shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-item {
    border-color: rgba(0,0,0,.06) !important;
    background: #fff;
    transition: var(--transition);
}

.feature-item:hover {
    background: #fafafa;
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    position: relative;
    transition: var(--transition);
    border-radius: var(--radius);
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item h5 {
    font-size: .9rem;
    letter-spacing: .5px;
}

.feature-item p {
    font-size: .88rem;
    color: #6b7280;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

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

.feature-item a:hover::after {
    background: var(--bs-primary);
}

/*** Core Capabilities Cards ***/
.cap-card {
    border: 1px solid rgba(0,0,0,.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cap-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bs-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.cap-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12) !important;
    border-color: rgba(var(--bs-primary-rgb), .2);
}

.cap-card:hover::before {
    transform: scaleX(1);
}

.cap-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), .08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cap-card:hover .cap-icon {
    background: var(--bs-primary);
}

.cap-card:hover .cap-icon i {
    color: #fff !important;
}

.cap-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: .5rem;
}

.cap-tag {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .4px;
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
    border-radius: 20px;
    padding: 3px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

/*** Progress Bars ***/
.experience .progress {
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,.15);
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
    border-radius: 3px;
}

/*** Responsive tweaks ***/
@media (max-width: 767.98px) {
    h1.display-6 { font-size: 1.5rem; }
    .carousel .carousel-caption { padding-left: 9rem; }
    .pt-6, .pb-6 { padding-top: 3rem; padding-bottom: 3rem; }
    .mt-6, .mb-6 { margin-top: 3rem; margin-bottom: 3rem; }
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: var(--card-shadow);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.service .service-inner:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: .7s ease;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
    border-radius: var(--radius);
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-text h5 {
    font-size: .95rem;
    letter-spacing: .4px;
    margin-bottom: .5rem;
}

.service .service-text p {
    font-size: .875rem;
    line-height: 1.65;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appointment ***/
.appoinment {
    background: linear-gradient(135deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.appoinment .bg-white {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow-hover);
}

.appoinment .form-floating .form-control,
.appoinment .form-floating .form-select {
    border-radius: var(--radius);
    font-size: .9rem;
}

.appoinment .form-floating label {
    font-size: .85rem;
    color: #9ca3af;
}


/*** Process Steps (image-free) ***/
.process-step {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(var(--bs-primary-rgb), .2);
}

.process-step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}

.process-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.process-step-icon i {
    font-size: 1.5rem;
    color: var(--bs-primary);
    transition: var(--transition);
}

.process-step:hover .process-step-icon {
    background: var(--bs-primary);
}

.process-step:hover .process-step-icon i {
    color: #fff;
}

.process-step h5 {
    font-size: .92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #1a1a2e;
    margin-bottom: .5rem;
}

.process-step p {
    font-size: .83rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 0;
}

/* Connector arrow between steps on desktop */
@media (min-width: 992px) {
    .process-step-wrap {
        position: relative;
    }
    .process-step-wrap:not(:last-child)::after {
        content: '\f054';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: -14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--bs-primary);
        font-size: .85rem;
        z-index: 1;
    }
}

/*** Process / Team Cards ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: var(--card-shadow);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.team .team-item:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-4px);
}

.team .team-item .text-center h5 {
    font-size: 1rem;
    color: #1a1a2e;
}

.team .team-item .text-center span {
    font-size: .82rem;
    color: #6b7280;
    line-height: 1.5;
    display: block;
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: var(--transition);
    background: rgba(var(--bs-primary-rgb), .92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.testimonial-item p {
    font-size: .95rem;
    font-style: italic;
    color: #374151;
    line-height: 1.8;
}

.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

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

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Newsletter ***/
.newsletter {
    background: linear-gradient(135deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 100%), url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.newsletter .bg-white {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow-hover);
}


/*** Footer ***/
.footer {
    background: #111827 !important;
}

.footer h5 {
    font-size: .85rem;
    letter-spacing: 1.5px;
    color: #f9fafb !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: .6rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer p {
    color: #9ca3af;
    font-size: .875rem;
    line-height: 1.7;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
    color: #9ca3af;
    font-weight: normal;
    font-size: .875rem;
    text-transform: capitalize;
    transition: var(--transition);
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #fff;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn-square.btn-light {
    background: rgba(255,255,255,.08) !important;
    border: none;
    color: #d1d5db !important;
    transition: var(--transition);
}

.footer .btn-square.btn-light:hover {
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.footer .img-fluid {
    border-radius: 2px;
    transition: var(--transition);
    opacity: .85;
}

.footer .img-fluid:hover {
    opacity: 1;
    transform: scale(1.05);
}

.copyright {
    background: #0d1117;
    font-size: .82rem;
    color: #6b7280;
}

.copyright a {
    color: #d1d5db;
}

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

/*** Page Header ***/
.page-header {
    background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .bg-white {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

/*** Form Controls ***/
.form-control, .form-select {
    border-radius: var(--radius) !important;
    font-size: .9rem;
}

.form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .15);
    border-color: var(--bs-primary);
}

/*** Service Detail Sidebar Links ***/
.svc-sidebar-link {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #374151;
    transition: var(--transition);
}

.svc-sidebar-link span {
    transition: var(--transition);
}

.svc-sidebar-link:hover,
.svc-sidebar-link.active {
    color: var(--bs-primary);
}

.svc-sidebar-link.active {
    font-weight: 700;
}

.svc-sidebar-link:hover span {
    padding-left: 4px;
}

/*** Clients ***/
.client-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 8px;
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(var(--bs-primary-rgb), .2);
}

.client-card img {
    max-height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: var(--transition);
}

.client-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/*** Utility ***/
.border-primary {
    border-color: var(--bs-primary) !important;
}

.text-primary {
    color: var(--bs-primary) !important;
}

/*** Service Grid Cards ***/
.svc-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 8px;
    padding: 2rem 1.5rem 1.5rem;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--bs-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(var(--bs-primary-rgb), .15);
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), .08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    transition: var(--transition);
}

.svc-card-icon i {
    font-size: 1.4rem;
    color: var(--bs-primary);
    transition: var(--transition);
}

.svc-card:hover .svc-card-icon {
    background: var(--bs-primary);
}

.svc-card:hover .svc-card-icon i {
    color: #fff;
}

.svc-card-title {
    font-size: .92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #1a1a2e;
    margin-bottom: .6rem;
}

.svc-card-desc {
    font-size: .83rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.svc-card-link {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.svc-card:hover .svc-card-link {
    gap: 10px;
}

/*** Why A Square strength cards ***/
.why-card {
    border: 1px solid rgba(var(--bs-primary-rgb), .3);
    border-radius: 6px;
    background: rgba(255,255,255,.05);
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(var(--bs-primary-rgb), .12);
    border-color: var(--bs-primary);
}

/*** Dropdown styling ***/
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    border-radius: 6px;
    padding: .5rem 0;
    min-width: 220px;
}

.dropdown-item {
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #374151;
    padding: .55rem 1.25rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(var(--bs-primary-rgb), .08);
    color: var(--bs-primary);
    padding-left: 1.6rem;
}

/*** Service Detail Page ***/
.svc-detail-hero {
    background: linear-gradient(135deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.5) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
    padding: 6rem 0 4rem;
}

.svc-scope-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.svc-scope-item:last-child {
    border-bottom: none;
}

.svc-scope-item i {
    color: var(--bs-primary);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.svc-scope-item span {
    font-size: .9rem;
    color: #374151;
    line-height: 1.6;
}

/* Mobile nav dropdown icon rotation */



/* Mobile nav improvements */
@media (max-width: 991.98px) {
    .navbar .nav-item.dropdown .dropdown-menu {
        border: none;
        background: #f8f9fa;
        padding: .25rem 0 .25rem 1rem;
        box-shadow: none;
    }
    .navbar .dropdown-item {
        font-size: .78rem;
        padding: .4rem .75rem;
        border-left: 2px solid rgba(var(--bs-primary-rgb), .2);
    }
    .navbar .dropdown-item:hover {
        border-left-color: var(--bs-primary);
        background: transparent;
        padding-left: 1rem;
    }
}
