/********** 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: 0;
    position: sticky !important;
    z-index: 1020;
    background-color: #f3e6ff;
    transition: background-color 0.3s ease;
    
}

.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);
}
.gallery-card {
  transition: all 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  border-radius: 4px;
}

/* ===== Choose Us Section Styling ===== */
.choose-us-section {
  background: linear-gradient(135deg, #4d194d 0%, #c7b16b 100%);
  padding: 80px 0;
  color: #333;
}

.choose-us-section h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.choose-us-section .text-primary {
  color: #4d194d !important;
}

.choose-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 35px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 10px; /* Adds horizontal spacing between cards */
}

.choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.choose-card i {
  transition: color 0.3s ease;
}

.choose-card:hover i {
  color: #c7b16b;
}

.choose-card p {
  font-size: 15px;
  color: #555;
  margin-top: 10px;
}

/* ===================== */

/* ==============About us============ */
/* ===== About Section Styling ===== */
.about-section {
  position: relative;
  background-color: #fff;
  padding: 80px 0;
}

/* Image Container */
.about-section .col-6 {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

/* Main Image Styling */
.about-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.6s ease, box-shadow 0.3s ease;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Hover Animation */
.about-section img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Decorative Gradient Overlay */
.about-section .col-6::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(77, 25, 77, 0.25), rgba(199, 177, 107, 0.25));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 10px;
  z-index: 1;
}

.about-section .col-6:hover::before {
  opacity: 1;
}

/* Border Accent Animation */
.about-section .col-6::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, #4d194d, #c7b16b) 1;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-radius: 10px;
  z-index: 2;
}

.about-section .col-6:hover::after {
  opacity: 1;
  transform: scale(1.02);
}

/* Award Text Box Styling */
.about-section .bg-primary {
  background: linear-gradient(135deg, #4d194d, #c7b16b) !important;
  border-radius: 0 0 8px 8px;
  transition: background 0.4s ease;
}

.about-section .bg-primary:hover {
  background: linear-gradient(135deg, #c7b16b, #4d194d) !important;
}

.navbar-brand .logo-img {
    height: 50px; /* Adjust size as needed */
    width: auto;
    display: block;
}

.navbar {
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .navbar-brand .logo-img {
        height: 40px;  
    }
}

@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;
    }
}
.display-1 {
  color: #fff !important;
}


/*** Hero Header ***/
.hero-header {
    margin-top: -100px;
    padding-top: 150px;
    background: url(../img/hero-bg.png) 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 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);
}
.gold-rect {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 30%;
    height: 80%;
    background-color: #c7b16b;
    z-index: 0;
    border-radius: 4px;
    transform: translateY(-50%);
}
@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;
}
.newsletter-text h1,
.newsletter-text p {
    color: #dccfa3;
}

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

@media (max-width: 992px) {
    /* Stack hero text and slider vertically */
    .container-fluid > .container .row.align-items-center {
        flex-direction: column;
        align-items: center; /* center the text and slider */
    }

    /* Text column adjustments */
    .container-fluid > .container .col-lg-6:first-child {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px;
        position: relative !important;
        z-index: 2 !important;
        text-align: center; /* center text */
        margin-bottom: 20px;
    }

    /* Vertical rectangle adjustments */
    .col-lg-6 + div[style*="position:absolute"] {
        position: relative !important;
        width: 80% !important; /* shrink rectangle on medium screens */
        height: 20px !important; /* reduce height so it doesn't cover text */
        margin: 20px auto 0 auto;
        top: 0 !important;
        right: 0 !important;
        border-radius: 4px !important;
    }

    /* Reduce hero text size */
    h1 {
        font-size: 36px !important;
    }

    h1 span {
        color: #c7b16b !important;
    }

    h5 {
        display: block;
        margin: 10px auto 0 auto !important;
        text-align: center;
    }
    .gold-rect {
        position: relative;  /* stack below content */
        width: 80%;           /* shrink width */
        height: 20px;         /* small height for mobile */
        margin: 20px auto 0 auto;  /* center it */
        top: auto;
        right: auto;
        transform: none;
    }
  
    
}
#customDots {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

#customDots .dot {
    width: 16px;
    height: 16px;
    background-color: white;
    border: 2px solid #c7b16b;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
#customDots .dot.active {
    background-color: #4d194d;
    transform: scale(1.1);
}


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

.btn-link i {
  transition: transform 0.2s ease, color 0.2s ease;
}
.btn-link:hover i {
  transform: scale(1.2);
  color: #c7b16b; /* gold hover color */
}
@media (max-width: 576px) {
    h3 {
        font-size: 1rem;
    }
}


/* Custom CSS (Ensure this loads AFTER Bootstrap) */

/* 1. Universal No-Wrap and Minimal Padding on Links */
.custom-nav-links .nav-link {
    white-space: nowrap !important; /* Forces 'About Us' onto one line */
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important; /* Tightest padding */
}

/* 2. Target the Critical Narrow Desktop Range */
@media (min-width: 990px) and (max-width: 1160px) {
    
    /* A. Reduce Brand/Logo Size */
    /* This is often the biggest space-saver on the left side */
    .navbar-brand img {
        height: 35px !important; /* Reduce logo height/width */
    }
    .navbar-brand span {
        font-size: 1.3rem !important; /* Smaller logo text */
        letter-spacing: 0 !important;  /* Remove letter-spacing */
    }

    /* B. Reduce Navigation Link Size */
    .custom-nav-links .nav-link {
        font-size: 0.8rem !important; /* Smallest practical font size */
    }
}

