/********** Template CSS **********/
:root {
    --primary: #2878EB;
    --secondary: #F14D5D;
    --light: #ECF4FF;
    --dark: #120F2D;
}

[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}
.photo-frame {
    border: 10px solid #fff; /* Adjust the border size and color as needed */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); /* Adjust the box shadow size and color as needed */
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.photo-frame img {
    width: calc(100% + 20px); /* Adjust the width to accommodate the border size */
    height: calc(100% + 20px); /* Adjust the height to accommodate the border size */
    margin: -10px; /* Negative margin to offset the border size */
    object-fit: cover;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}
.card {
    position: relative;
}

.image-container {
    position: relative;
    overflow: hidden;
}

.image-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    background-color:#2878EB;
    
    color: #fff;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.image-container:hover .image-name {
    opacity: 1;
}

.card-img-top {
    border: 5px solid #fff; /* Adjust the border width and color as needed */
    border-radius: 10px; /* Adjust the border radius as needed */
    transition: transform 0.2s, box-shadow 0.2s; /* Add box-shadow transition */
}

.card-img-top:hover {
    transform: scale(1.1); /* Add a scale effect on hover if desired */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Add a subtle shadow on hover */
}
.image-hover:hover {
    /* Add your hover animation styles here */
    transform: scale(1.1); /* Example: Enlarge the image on hover */
    transition: transform 0.5s ease; /* Example: Add a smooth transition effect */
}
.service-item-wrapper {
    display: flex;
    height: 100%; /* Set a fixed height for all service items */
}

.service-item {
    flex: 1;
    /* Add other styling as needed */
}
.portfolio_item img,
.portfolio-item img {
    width: 100%;
	transition: all 0.5s ease-in-out;
}
.portfolio_hide {
	opacity: 0;
    visibility: hidden;
    height: 0;
	padding-top:0 !important;
	padding-bottom:0 !important
}
.gutter_small > li {
    padding: 0 7.5px 15px 7.5px;
}
.gutter_medium > li {
    padding: 0px 15px 30px 15px;
}
.portfolio_content {
    padding: 15px;
}
.portfolio_item {
    overflow: hidden;
    position: relative;
}
.portfolio_item a {
	display: block;
	overflow: hidden;
}
.portfolio_style1 .portfolio_content {
    bottom: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    position: absolute;
    top: 60px;
	opacity: 0;
	visibility: hidden;
    right: 0;
    left: 0;
    text-align: center;
	transition: all 0.5s ease-in-out;
	z-index: 3;
}
.portfolio_style1 .portfolio_item::before {
    background-color: rgba(14,147,216,0.80);
    content: "";
    position: absolute;
    left: 0;
    right: 0;
	opacity: 0;
	visibility: hidden;
    top: 0;
    bottom: 0;
	transition: all 0.5s ease-in-out;
	z-index: 2;
}
.portfolio_style1 .portfolio_item:hover .portfolio_content {
	top: 0;
	opacity: 1;
	visibility: visible;
}
.portfolio_style2 .portfolio_content {
	background-color: rgba(14,147,216,0.80);
    bottom: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    position: absolute;
    top: 0px;
	opacity: 0;
	visibility: hidden;
    right: 0;
    left: 0;
    text-align: center;
	transition: all 0.5s ease-in-out;
}
.portfolio_style1 .portfolio_item:hover:before,
.portfolio_style2 .portfolio_item:hover .portfolio_content,
.portfolio_style3 .portfolio_item:hover .portfolio_content {
	opacity: 1;
	visibility: visible;
}
.portfolio_style2 .portfolio_item:hover img,
.portfolio_style4 .portfolio_item:hover img {
	-moz-transform: scale(1.3);
	-webkit-transform: scale(1.3);
    transform: scale(1.3);
}
.portfolio_style3 .portfolio_content {
	background-color: rgba(14,147,216,0.80);
    bottom: 10px;
	display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    position: absolute;
    top: 10px;
	opacity: 0;
	visibility: hidden;
    right: 10px;
    left: 10px;
    text-align: center;
	transition: all 0.5s ease-in-out;
}
.portfolio_style4 .portfolio_item .image_link {
    display: block;
    overflow: hidden;
}
.portfolio_style4 .portfolio_content {
	background-color: #0e93d8;
	transition: all 0.5s ease-in-out;
}
.portfolio_style5 .portfolio_content {
	background-color: rgba(14,147,216,0.80);
    bottom: 10px;
	display: -webkit-flex;
    display: -ms-flexbox;
    display: -ms-flex;
    display: flex;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    position: absolute;
    top: 10px;
	opacity: 0;
	visibility: hidden;
    right: 10px;
    left: 10px;
	-moz-transform: scale(1.3);
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
	transition: all 0.5s ease-in-out;
}
.portfolio_style5 .portfolio_item:hover .portfolio_content {
	opacity: 1;
	visibility: visible;
	-moz-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
}
/* .carousel-item img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
} */
.social-icon-style1 {
    margin-bottom: 0;
    list-style: none;
    padding: 0;
  }
  .social-icon-style1 li {
    display: inline-block;
    margin-right: 5px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }
  .social-icon-style1 li a {
    text-align: center;
    height: 35px;
    width: 35px;
    line-height: 35px;
    font-size: 14px;
    border-radius: 5px;
    display: inline-block;
    background: rgba(225, 225, 225, 0.1);
    color: #fff;
  }
  .social-icon-style1 li:last-child {
    margin-right: 0;
  }
  .social-icon-style1 li a:hover,
  .social-icon-style1 li a:active,
  .social-icon-style1 li a:focus {
    background-color: #1158e7;
    color: #fff;
  }
  .social-icon-style2 li {
    display: inline-block;
    margin-right: 7px;
  }
  .social-icon-style2 li a {
    font-size: 14px;
    text-align: center;
    color: #fff;
    background: #fcaf17;
    height: 38px;
    display: inline-block;
    line-height: 38px;
    width: 38px;
    border-radius: 50px;
  }
  .social-icon-style2 li a:hover,
  .social-icon-style2 li a:active,
  .social-icon-style2 li a:focus {
    color: #fff;
    background-color: #1158e7;
  }
  .social-icon-style2 li:last-child {
    margin-right: 0;
  }
.btn-primary,
.btn-secondary,
.btn-primary:hover,
.btn-secondary:hover {
    color: #FFFFFF;
}
.img-card:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}
.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.logo {
    margin-top: 6px;
    width: 144px; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    /* Add any other styles you want for your logo */
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-right: 137px;
    margin-left: -91px;
    padding: 30px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.carousel-indicators {
    align-items: flex-end;
}

.carousel-indicators [data-bs-target] {
    width: 5px;
    height: 25px;
}

.carousel-indicators .active {
    height: 45px;
}

.hero-header {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.service-item div {
    z-index: 1;
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 2px 0 0;
    transition: .5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

.bg-offer {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-2.jpg) top right no-repeat;
    background-size: cover;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}
.rounded-top-md-5px {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .rounded-bottom-md-5px {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  .rounded-start-md-5px {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  .rounded-end-md-5px {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #D34351 #D34351 transparent;
    z-index: -1;
}

/* Contact Form Section */
.contact-form {
    background-color: #f8f9fa; /* Set your desired background color */
}

.contact-form .section-heading {
    text-align: center;
}

.contact-form h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222; /* Set your desired text color */
}

.contact-form .row {
    margin-top: 30px;
}

.contact-form .contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background-color: #ffffff; /* Set your desired background color for the contact wrapper */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.contact-form .contact-wrapper:hover {
    transform: translateY(-5px);
}

.contact-form .contact-icon {
    font-size: 48px;
    color: #007bff; /* Set your desired icon color */
}

.contact-form .contact-content {
    flex-grow: 1;
    margin-left: 20px;
}

.contact-form h4 {
    font-size: 24px;
    font-weight: 600;
    color: #222; /* Set your desired heading color */
    margin-bottom: 10px;
}

.contact-form h2.title-hover {
    font-size: 28px;
    font-weight: 600;
    color: #007bff; /* Set your desired title color */
    margin-bottom: 15px;
}

.contact-form span {
    font-size: 16px;
    color: #555; /* Set your desired text color */
    display: block;
    margin-top: 10px;
}

/* Responsive Styling */
@media (max-width: 767px) {
    .contact-form .contact-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .contact-form .contact-content {
        margin-left: 0;
        margin-top: 15px;
    }
}
/* Contact Form Section */
.section {
    padding: 100px 0;
}

.form-background {
    background-color: #ffffff; /* Set your desired background color for the form */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.form-background h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333; /* Set your desired label color */
}

.quform-input input,
.quform-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd; /* Set your desired border color */
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
}

.quform-input input:focus,
.quform-input textarea:focus {
    border-color: #007bff; /* Set your desired focus border color */
}

.quform-submit-inner button {
    background-color: #007bff; /* Set your desired button background color */
    color: #fff; /* Set your desired button text color */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
}

.quform-submit-inner button:hover {
    background-color: #0056b3; /* Set your desired button hover background color */
}

/* Responsive Styling */
@media (max-width: 767px) {
    .col-lg-6 {
        margin-bottom: 30px;
    }
}
/* Contact Form Section */
.contact-form {
    padding: 80px 0; /* Adjust the padding as needed */
}

.contact-wrapper {
    display: flex;
    align-items: center;
}

.contact-icon {
    margin-right: 20px;
}

.contact-icon i {
    font-size: 40px;
    color: #007bff; /* Set your desired icon color */
}

.contact-content {
    max-width: 400px;
}

.contact-content h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-content a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #333; /* Set your desired text color */
    margin-bottom: 10px;
    transition: color 0.3s ease-in-out;
}

.contact-content a:hover {
    color: #007bff; /* Set your desired text hover color */
}

/* Responsive Styling */
@media (max-width: 767px) {
    .contact-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
}
/* Contact Card Styles */
.contact-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-content {
    flex-grow: 1;
}

.contact-icon {
    margin-bottom: 15px;
}

/* Equal height for contact cards */
.row.g-xxl-5 > div[class^="col-"] {
    display: flex;
    flex-direction: column;
}

/* Add these styles if you want the address spans to be the same height */
.contact-content span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Additional styles for responsiveness */
@media (min-width: 576px) {
    .row.g-xxl-5 > div[class^="col-"] {
        flex-direction: row;
    }

    .contact-wrapper {
        height: auto;
    }
}

