/************main color 8.4.2025. ******************/
:root {
    --primary-bg-color: #343a40;   /* dark */
    --secondary-bg-color:  #4c5966; /* Green */
    --third-bg-color:  #7d97b1; /* Green */
    --text-color-h-soft-blue:#a8c7fa;
    --accent-color: #e74c3c;    /* Red */
    --background-color: #faf9ea; /* Light Gray */
    --text-color:  #faf0ea;         /* white */
    --text-color-grey:  #343a40; 
    --text-color-middle-gray: #4c5966; 
    --text-color-soft-gray: #7d97b1;   
    --fa-color:#faf9ea;
    --bi-color:#faf9ea;
    --primary-color-gradient: linear-gradient(45deg, var(--primary-bg-color), var(--secondary-bg-color));
}

/* Serif font */
body {
     font-family: 'CopperplateGothicBold', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
  }

.bg-color{
    background-color: var(--background-color);
}


.bg-color-gray{
    background-color: var(--primary-bg-color);
}

.bg-color-middle-gray{
    background-color: var(--secondary-bg-color);
}
.bg-color-soft-gray{
    background-color: var(--third-bg-color);
}
  
.container-fluid.topbar, .container-fluid.footer{
    background: var(--primary-color-gradient);
    color: var(--text-color);
}

.container-fluid.bg-color {
    background-color: var(--primary-bg-color);
}

.container-fluid.topbar small{
    color: var(--text-color) !important; /* Change to your desired color */
}

.fab{
    background-color: var( --secondary-bg-color);
    color: var(--text-color) !important; /* Change to your desired color */
}

.rounded-circle{
    border-color: var(--text-color) !important;
}

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

.text-color-gray{
    color: var(--text-color-grey);
}
.text-color-middle-gray{
    color: var(--text-color-middle-gray);
}
.text-color-soft-gray{
    color: var(--text-color-soft-gray);
}
.text-color-h-soft-blue{
    color: var(--text-color-h-soft-blue);
}
.bi-color{
    color:var(--bi-color);
}
.mb-0 .text-color{
    color:var(--primary-bg-color) !important;
}

/* Regular */
/*
@font-face {
    font-family: 'CopperplateGothicBold';
    src: url('../fonts/Copperplate\ Gothic\ Bold\ Regular.ttf');
  }
*/
@font-face {
    font-family: 'CopperplateGothicBold';
    src: url('../fonts/CopperplateGothicBold-Regular.woff2') format('woff2'),
         url('../fonts/CopperplateGothicBold-Regular.woff') format('woff'),
         url('../fonts/CopperplateGothicBold-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
/********** Template CSS **********/
 
/*** Spinner ***/
.spinner {
    width: 80px;
    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-family: 'CopperplateGothicBold', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 2.5px;
}

h3,
h4,
.fw-semi-bold {
     font-family: 'CopperplateGothicBold', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 1.5px;
}

h5,
h6,
.fw-medium {
     font-family: 'CopperplateGothicBold', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

/*** Button ***/

.back-to-top,
.back-to-top:focus,
.back-to-top:active {
    outline: none !important;
    box-shadow: none !important;
}


.btn {
    font-family: 'CopperplateGothicBold', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    transition: .5s;
    color: var(--secondary-bg-color);
}


.btn-primary,
.btn-secondary {
    color: var(--light);
    background-color:var(--primary-bg-color);
    border-color:var(--primary-bg-color);
    box-shadow: inset 0 0 0 50px transparent;
    color: var(--secondary-bg-color);
    
}

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

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

.btn-square {
    width: 36px;
    height: 36px;

}

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    color: var(--secondary-bg-color);
    border-color:var(--secondary-bg-color);
}


.btn-square:hover {
    color: var(--secondary-bg-color);
}

.btn-sm-square:hover {
    color: var(--secondary-bg-color);
}

.btn-lg-square:hover {
    color: var(--secondary-bg-color);
}



/*** Navbar ***/

.navbar {
    background-color: var(--background-color);
}


#logo {
    width: 160px;
    height: 60px;
}

.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--primary-bg-color);
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--primary-bg-color);
}

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

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--background-color) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

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

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
        max-height: 70px;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
        
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--dark);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(116, 115, 113, 0.5); /**/
    z-index: 1;
}

@media (max-width: 576px) {
    
    .carousel-item img {
        height: 50vh;
    }
    
    .carousel-caption h5 {
        font-size: 17.5px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }

    #logo {
        width: 120px;
        height: 40px;
    }
    .zoom-container {
        height: 200px; /* Smaller height on phones */
    }
    .zoom-image {
        height: auto; /* Maintain aspect ratio on small screens */
    }


}

@media (max-width: 768px) {
    .zoom-container {
        height: 400px; /* Slightly smaller height on tablets */
    }
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
}


/*** Section Title ***/
/* Base title styling */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 60px;
}

/* Gradient underline */
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 4px;
    left: 0;
    bottom: 0;
    transform: rotate(45deg); /* makes it a diamond */
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    opacity: 0.8;
}

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

/* Glowing animated dot */
.section-title::after {
    position: absolute;
    content: "";
    width: 38px;
    height: 10px;
    bottom: -3px;
    transform: rotate(45deg); /* makes it a diamond */
    background: var(--text-color-h-soft-blue);
    border-radius: 50%;
    box-shadow: 0 25px 8px var(--text-color-h-soft-blue);
    animation: run-dot-center 3s infinite ease-in-out;
}

/* Animation for center titles */
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-75px);
}

/* Animation keyframes */
@keyframes run-dot-center {
    0%   { transform: translateX(-75px); opacity: 1; }
    50%  { transform: translateX(75px); opacity: 0.7; }
    100% { transform: translateX(-75px); opacity: 1; }
}

/* Small variant (optional) */
.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title.section-title-sm::after {
    width: 18px;
    height: 10px;
    bottom: -2px;
    animation: run-dot-sm 4s infinite ease-in-out;
}

@keyframes run-dot-sm {
    0%   { transform: translateX(); }
    50%  { transform: translateX(180px); }
    100% { transform: translateX(); }
}



/*** Service ***/
.service-item {
    position: relative;
    height: 400px;
    padding: 0 30px;
    transition: .5s;
    background: linear-gradient(90deg, var(--third-bg-color), var(--secondary-bg-color), var(--primary-bg-color));
    color: #2f2203;
}

.service-item img{
    display: block;
    transition: transform 0.5s ease;
    will-change: transform;
}


/* start 18.9.2024. */
.zoom-container {
    overflow: hidden; /* Ensures that the zoomed image doesn't overflow outside the container */
    margin-bottom: 3px; /* Space between images */
    position: relative;
    overflow: hidden;
    height: 300px; /* Fixed height for larger screens */
}
.zoom-container:last-child {
    margin-bottom: 0; /* Remove margin for the last image */
}

.zoom-image {
    transition: transform 0.5s ease; /* Smooth zoom-in effect */
    position: relative;
    overflow: hidden;
    height: 300px; /* Fixed height for larger screens */

}

.zoom-image:hover {
    transform: scale(1.2); /* Zoom in when hovered */
}
/* end 18.9.2024. */

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:var(--primary-bg-color);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
    color: var(--secondary-bg-color);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity:0;
    color: var(--secondary-bg-color);
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
    background-color:var(--primary-bg-color);
    color: var(--secondary-bg-color);
    border: none;
}


/*our service*/
.service-card {
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-img {
    transition: transform 0.4s ease;
    height: 250px;
    object-fit: cover;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    color: #fff;
    text-align: left;
}

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

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

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

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** 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 {
    position: relative;
    background: url(/img/cover-photo-3.jpg) center center no-repeat;
    background-size: cover;
}

.bg-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(116, 115, 113, 0.5);
    z-index: 1;
}

.bg-header > * {
    position: relative;
    z-index: 2;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

/*** ADDITIONAL CSS ***/

#dropdown-links:focus {
    color: var(--secondary-bg-color);
}

#dropdown-links a {
    color:var(--primary-bg-color);
    transition: ease-in-out 0.3s;
}

#dropdown-links a:hover {
    color:var(--secondary-bg-color);
    background: transparent;
}


/*******/
.py-5 h1,
.py-5 h5,
.ps-5 h1, 
.ps-5 h5, 
.ps-4 h5, 
.ps-4 h6{
   color: var(--primary-bg-color)
}

.col-md-6 input, 
.col-12 input,
.col-12 textarea {
    background-color: var(--secondary-bg-color);
   
}
.col-12 button{
    background-color: var(--primary-bg-color);
}
.col-md-6 input:focus, 
.col-12 input:focus,
.col-12 textarea:focus {
    background-color: var(--secondary-bg-color);
    color: var(--text-color);
    outline: 0 solid rgb(243, 237, 237);
}

.col-md-6 input::placeholder, 
.col-12 input::placeholder,
.col-12 textarea::placeholder {
    background-color: var(--secondary-bg-color);
    color: var(--text-color);
}
.col-12{
    color: var(--text-color);
}

.col-12 button:hover {
    background-color: var(--secondary-bg-color);
}


.sidebar-link:hover{
    background-color: var(--primary-bg-color);
}