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

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

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

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

.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 ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
}

/* Logo Styling */
.navbar-brand {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.logo-img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover .logo-img {
    transform: rotate(5deg) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.navbar-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bs-dark);
    transition: all 0.3s ease;
}

.navbar-brand:hover h1 {
    color: var(--bs-primary);
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: var(--bs-dark);
}

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

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

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: var(--bs-white);
    background: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
    
    .navbar-brand h1 {
        font-size: 1.5rem;
    }
    
    .logo-img {
        height: 35px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand h1 {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 30px !important;
    }
    
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .logo-img {
        margin-right: 0 !important;
        margin-bottom: 5px;
    }
}

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


/*** Hero Header - Full Page Carousel ***/
.hero-fullpage {
    height: 100vh;
    margin-top: -100px;
    position: relative;
    overflow: hidden;
}

.hero-fullpage-carousel {
    height: 100vh;
}

.hero-fullpage-carousel .owl-stage-outer,
.hero-fullpage-carousel .owl-stage,
.hero-fullpage-carousel .owl-item {
    height: 100vh;
}

.hero-slide {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Animated Background Images */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Animation Classes for Different Effects */
.hero-slide.zoom-animation::before {
    background-image: inherit;
    animation: zoomInOut 20s ease-in-out infinite;
}

.hero-slide.pan-animation::before {
    background-image: inherit;
    animation: panLeftRight 25s ease-in-out infinite;
}

.hero-slide.fade-animation::before {
    background-image: inherit;
    animation: fadeInOut 15s ease-in-out infinite;
}

.hero-slide.float-animation::before {
    background-image: inherit;
    animation: floatImage 18s ease-in-out infinite;
}

/* Keyframe Animations */
@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes panLeftRight {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5%);
    }
    75% {
        transform: translateX(5%);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.8;
        filter: brightness(1.2);
    }
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    33% {
        transform: translateY(-3%) scale(1.05);
    }
    66% {
        transform: translateY(3%) scale(0.95);
    }
}

/* Parallax Effect */
.hero-slide.parallax-animation::before {
    background-image: inherit;
    animation: parallaxMove 30s linear infinite;
}

@keyframes parallaxMove {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10%) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Pulse Effect */
.hero-slide.pulse-animation::before {
    background-image: inherit;
    animation: pulseImage 12s ease-in-out infinite;
}

@keyframes pulseImage {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) contrast(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1) contrast(1.1);
    }
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-fullpage .hero-content {
    position: relative;
    z-index: 2;
}

.hero-fullpage .hero-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-success-gradient {
    background: linear-gradient(135deg, #198754 0%, #20c997 100%);
}

.bg-danger-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

.hero-fullpage .hero-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 20px;
    color: #ffc107;
    opacity: 0.9;
}

.hero-fullpage .hero-actions .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    backdrop-filter: blur(10px);
}

.hero-fullpage .hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-fullpage .hero-stats .stat-item {
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-fullpage .hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

/* Carousel Navigation */
.hero-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    pointer-events: none;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-prev {
    left: 30px;
}

.hero-nav-next {
    right: 30px;
}

/* Carousel Dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-dots-wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-dot.active {
    background: #ffc107;
    border-color: white;
    transform: scale(1.2);
}

/* Scroll Down Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-down-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scroll-down-btn:hover {
    color: #ffc107;
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.scroll-down-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-down-btn span {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Legacy Hero Header (keeping for compatibility) */
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

.hero-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 20px;
    color: #0d6efd;
    opacity: 0.8;
}

.hero-actions .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.hero-stats .stat-item {
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.header-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.carousel-item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.carousel-item-wrapper:hover .carousel-overlay {
    transform: translateY(0);
}

.header-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.header-carousel .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.header-carousel .owl-dot.active {
    background: #0d6efd;
    border-color: white;
    transform: scale(1.2);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.floating-card.card-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: -30px;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 20%;
    right: -25px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(13, 110, 253, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    /* background: linear-gradient(135deg, #0d6efd, #6610f2); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
    transition: all 0.3s ease;
}

/* Ensure Font Awesome icons load properly */
.feature-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Fallback for missing icons */
.feature-icon i:before {
    content: attr(data-icon);
}

.feature-icon i.fas.fa-home:before { content: "\f015"; }
.feature-icon i.fas.fa-solar-panel:before { content: "\f5ba"; }
.feature-icon i.fas.fa-cog:before { content: "\f013"; }
.feature-icon i.fas.fa-bolt:before { content: "\f0e7"; }

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(13, 110, 253, 0.4);
}

/* Additional Animations */
.fade-out {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.hero-content.fade-out {
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.floating-elements.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Stagger animation for feature cards */
.feature-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced button hover effects */
.hero-actions .btn {
    position: relative;
    overflow: hidden;
}

.hero-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-actions .btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .floating-elements {
        display: none;
    }
    
    .hero-header {
        padding-top: 120px;
    }
    
    .min-vh-75 {
        min-height: auto;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .hero-underline {
        display: none;
    }
    
    /* Full Page Carousel Mobile Styles */
    .hero-fullpage {
        height: 100vh;
        margin-top: -80px;
    }
    
    .hero-fullpage .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .hero-nav-prev {
        left: 15px;
    }
    
    .hero-nav-next {
        right: 15px;
    }
    
    .hero-carousel-dots {
        bottom: 20px;
    }
    
    .hero-scroll-indicator {
        bottom: 60px;
    }
    
    .scroll-down-btn {
        padding: 0.8rem;
    }
    
    .scroll-down-btn i {
        font-size: 1.2rem;
    }
    
    .scroll-down-btn span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-actions .btn:last-child {
        margin-bottom: 0;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats .stat-item {
        margin-bottom: 1rem;
    }
    
    /* Full Page Carousel Tablet Styles */
    .hero-fullpage .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-fullpage .hero-content .lead {
        font-size: 1rem;
    }
    
    .hero-fullpage .hero-stats .stat-item {
        padding: 1rem;
    }
    
    .hero-fullpage .hero-stats .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .hero-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 0.9rem;
    }
    
    .hero-nav-prev {
        left: 10px;
    }
    
    .hero-nav-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-badge .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Full Page Carousel Mobile Styles */
    .hero-fullpage {
        margin-top: -70px;
    }
    
    .hero-fullpage .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-fullpage .hero-content .lead {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .hero-fullpage .hero-badge .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-fullpage .hero-actions .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-fullpage .hero-stats .stat-item {
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-fullpage .hero-stats .stat-item h3 {
        font-size: 1.2rem;
    }
    
    .hero-fullpage .hero-stats .stat-item small {
        font-size: 0.7rem;
    }
    
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .hero-nav-prev {
        left: 5px;
    }
    
    .hero-nav-next {
        right: 5px;
    }
    
    .hero-dot {
        width: 12px;
        height: 12px;
    }
    
    .hero-carousel-dots {
        bottom: 15px;
    }
    
    .hero-scroll-indicator {
        bottom: 50px;
    }
    
    .scroll-down-btn {
        padding: 0.6rem;
    }
    
    .scroll-down-btn i {
        font-size: 1rem;
    }
    
    .scroll-down-btn span {
        font-size: 0.7rem;
    }
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.jpg) top left no-repeat;
    background-size: contain;
}


/*** Project ***/
.project-item img {
    transition: .5s;
}
  
.project-item:hover img {
    transform: scale(1.2);
}
  
.project-overlay {
    position: absolute;
    padding: 25px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 30px 25px;
    transition: .5s;
}

.service-item.bg-primary:hover {
    background: var(--bs-light) !important;
}

.service-item.bg-primary p {
    color: var(--bs-light);
    transition: .5s;
}

.service-item.bg-primary:hover p {
    color: var(--bs-secondary);
}

.service-item.bg-light:hover {
    background: var(--bs-primary) !important;
}

.service-item.bg-light p {
    color: var(--bs-secondary);
    transition: .5s;
}

.service-item.bg-light:hover p {
    color: var(--bs-light);
}


.service-item .service-img h3 {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 12px 7px 0;
}

.service-item.bg-primary .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: .5s;
}

.service-item.bg-primary:hover .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
}

.service-item.bg-light .service-img h3 {
    background: var(--bs-light);
    color: var(--bs-dark);
    transition: .5s;
}

.service-item.bg-light:hover .service-img h3 {
    background: var(--bs-primary);
    color: var(--bs-white);
}


/*** Our Team ***/
.team-item img {
    transition: .5s;
}
  
.team-item:hover img {
    transform: scale(1.2);
}
  
.team-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(255, 255, 255, .1) 50%, var(--bs-dark));
    z-index: 1;
}

.team-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: var(--bs-white);
    background: var(--bs-primary);
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.testimonial-text h5 {
    position: relative;
    padding-left: 45px;
}

.testimonial-text h5::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    position: absolute;
    height: 17px;
    bottom: 0;
    right: 0;
    left: auto;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-primary);
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-dots {
        left: 0;
        right: auto;
    }

    .testimonial-carousel .owl-dot {
        margin-right: 10px;
        margin-left: 0;
    }
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/hero-bg.jpg) bottom right no-repeat;
    background-size: cover;
}

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

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

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

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


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

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

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

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

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

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

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Smooth scroll for all anchor links */
a[href^="#"] {
    scroll-behavior: smooth;
}