.quote{
    border: 1px solid transparent;
    padding: 10px 20px;
    margin: auto;
    background-color: #cda45e;
    color: #fff;
    border-radius: 20px;
}
.quote:hover{
    background-color: #fff;
    border: 1px solid #cda45e;
    color: #cda45e;
}
.newsletter .cta{
    background-color: #cda45e;
    padding: 10px 20px;
    color: #fff;
    border-radius: 20px;
}
.blogdiv{
    width: 100%;
    display: flex;
    justify-content: center;
}
.blogdiv a{
    background-color: #cda45e;
    padding: 5px 10px;
    color: #fff;
    border: 1px solid #cda45e;
}
.blog-home5 {
  font-family: "Montserrat", sans-serif;
	color: #8d97ad;
  font-weight: 300;
}

.blog-home5 h1, .blog-home5 h2, .blog-home5 h3, .blog-home5 h4, .blog-home5 h5, .blog-home5 h6 {
  color: #3e4555;
}

.blog-home5 .card-title {
	font-size: 18px;
}

.blog-home5 .subtitle {
    color: #8d97ad;
    line-height: 24px;
}

.blog-home5 .card.card-shadow {
    -webkit-box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
    box-shadow: 0px 0px 30px rgba(115, 128, 157, 0.1);
}

.blog-home5 .b-h-box .card-img-overlay {
  bottom: 0px;
  top: auto;
  -webkit-transition: 0.2s ease-in;
  -o-transition: 0.2s ease-in;
  transition: 0.2s ease-in;
  height: 55%;
}

.blog-home5 .b-h-box .card-title {
    color: #ffffff;
}

.blog-home5 .b-h-box {
	color: #ffffff;
}

.blog-home5 .b-h-box .card-text {
  display: none;
}

.blog-home5 .b-h-box:hover {
  color: #8d97ad;
}

.blog-home5 .b-h-box:hover .card-img-overlay {
  height: 100%;
  background: #ffffff;
  border: 3px solid rgba(120, 130, 140, 0.13);
}

.blog-home5 .b-h-box:hover .card-title {
  color: #263238;
  margin: 15px 0;
}

.blog-home5 .b-h-box:hover .card-text {
  display: block;
}


.blog-home5 .font-14 {
	font-size: 14px;
}

@media (max-width:768px) {
	.blog-home5 .b-h-box .card-img-overlay {
		height: 40%;
	}
}
/* overlay */
.popup-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:flex;
justify-content:center;
align-items:center;
z-index: 10000;
opacity:0;
visibility:hidden;
transition:0.4s;
}

/* show popup */
.popup-overlay.active{
opacity:1;
visibility:visible;
}

/* popup box */
.popup-box{
background-color:#cda45e;
width:450px;
padding:25px;
border-radius:10px;
position:relative;

transform:scale(0.8);
transition:0.4s;
}
.popup-box h3{
    text-align: center;
    color: #fff;
}
.popup-overlay.active .popup-box{
transform:scale(1);
}

/* close button */
.close-btn{
position:absolute;
top:10px;
right:15px;
font-size:20px;
cursor:pointer;
}

/* form styling */
.popup-box input,
.popup-box select{
width:100%;
padding:10px;
margin-top:10px;
border:1px solid #ccc;
border-radius:5px;
}

/* submit button */
.popup-box input[type=submit]{
width:100%;
margin-top:15px;
padding:10px;
background:#cda45e;
color:white;
border:2px solid #fff;
border-radius:5px;
cursor:pointer;
}

.popup-box input[type=submit]:hover{
background:#9e7f49;
}

.text-primary{
    color: #cda45e !important;
}
.bg-primary{
    background-color: #cda45e !important;
}
.btn-outline-primary {
color: #cda45e;
border-color: #cda45e;
}
.btn-outline-primary:hover{
color: #fff;
border-color: #cda45e;
background-color: #cda45e;
}
.btn-primary{
    background-color: #cda45e;
    border-color: #cda45e;
} 
.btn-primary:hover{
    background-color: #fff;
    color: #cda45e;
    border-color: #cda45e;
}
.bg-dark{
    background-color: #cda45e !important;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 35px;
    z-index: 99;
    border: 1px solid #fff;
}

/*** 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;
}

.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;
    }
}

@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 ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.jpg) top center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.header-carousel {
    position: relative;
    padding: 45px 90px 45px 0;
}

.header-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    z-index: -1;
}

.header-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: 38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    border: 2px solid var(--bs-white);
    transition: .5s;
}

.header-carousel .owl-dot.active {
    height: 30px;
    background: var(--bs-white);
}


/*** 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.png) 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 25px 60px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: auto;
    right: 0;
    width: calc(24% + 55px);
    height: 70%;
    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: #000;
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #000;
    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(0, 0, 0, 0.5);
    font-weight: bolder;
    text-decoration: none;
    border-bottom:transparent !important;
}

.footer .copyright a:hover {
    color: rgba(0, 0, 0, 0.5);
}

.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;
}
.footer .footer-link a{
 color: #000;
 border: 1px solid #9e7f49;
}
.footer .footer-link a:hover{
    color: #cda45e;
    border-color: #fff;
    background-color: #fff;
}

/* Sidebar */
.services-list a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  margin-bottom: 8px;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

.services-list a:hover {
  background: #cda45e;
  color: #fff;
}

.services-list i {
  margin-right: 8px;
}

/* Sticky Sidebar */
.stickey {
  position: sticky;
  top: 100px;
}

/* Help Box */
.help-box {
  background: #cda45e;
  color: #fff;
  padding: 25px;
  border-radius: 10px;
  margin-top: 20px;
  text-align: center;
}

.help-box a {
  color: #fff;
  text-decoration: none;
}

/* Section spacing */
.service-details h3 {
  margin-top: 40px;
  font-weight: 600;
}

/* Image Grid */
.image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.image-container img {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.image-container img:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
}

/* Mobile Fix */
@media (max-width: 991px) {
  .stickey {
    top: 0;
      position: sticky;
    top: 20px;
    margin-right: 5px;
  }
}
.sidebar-right {
  margin-right: 5px;
}
.card {
  border-radius: 12px;
}

.card h5 {
  font-weight: 600;
}

.list-group-item a {
  text-decoration: none;
  color: #333;
}

.list-group-item a:hover {
  color: #cda45e;
}

.badge {
  font-size: 15px;
  padding: 6px 10px;
}


.pagination{
  display: flex;
  flex-wrap: wrap;
  color: black;
  justify-content: space-evenly;
  margin-top: 30px;
  padding-left: 0;
}
.pagination li{
  list-style-type: none;
  margin-top: 20px;
}
.pagination li a{
  color: #031D3E; 
  padding: 5px;
  font-size: 17px;
}
.pagination .pages{
    display: flex;
    justify-content: space-evenly;
}
.pagination .pages a{
    margin: 2px 5px;
}
.list-unstyled{
      list-style-type: disc;   /* bullet style */
  padding-left: 20px;      /* spacing */
}
.list-unstyled li{
    margin: 20px 5px;
}
.nav-pills .nav-link {
  border-radius: 30px;
  padding: 10px 20px;
  margin: 5px;
  color: #333;
  border: 1px solid #ddd;
}

.nav-pills .nav-link.active {
  background: linear-gradient(45deg, #be8344, #bb9d3b);
  color: #fff;
}

.tab-pane img {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 600px;
  height: 400px;
  object-fit: cover; /* keeps image ratio, crops if needed */
  border-radius: 10px;
}
/* 📱 Mobile View (Full Height) */
@media (max-width: 768px) {
  .tab-pane img {   
     object-fit: contain;
    max-width: 100%;
    border-radius: 0;    /* Optional: edge-to-edge look */
  }
}



.card:hover {
  transform: translateY(-8px);
  transition: 0.3s ease;
}

.badge {
  font-size: 14px;
}

.card i {
  transition: 0.3s;
}

.card:hover i {
  transform: scale(1.2);
}

.accordion-button {
  font-weight: 500;
  border-radius: 8px !important;
}

.accordion-item {
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(45deg, #be8344, #bb9d3b);
  color: #fff;
}
        .portfolio-card img {
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: 0.4s;
}

.portfolio-card:hover .overlay {
  opacity: 1;
}
.portfolio-img-box {
  height: 250px; /* same height for all */
}

.portfolio-img-box img {
  object-fit: cover;
}