:root {
    --header-height: 143px;
    --soft-background: #f7f0f0;
}

html { scroll-padding-top: var(--header-height); padding-top: var(--header-height); }


/* Image Hover Animation */
.image-anime { position: relative; overflow: hidden; }
.image-anime img { transition: transform 0.7s ease; transform-origin: center center; transform: scale(1.1); }
.image-anime:hover img { transform: scale(1) !important; }
.image-anime::after { content: ""; position: absolute; width: 400px; height: 100%; background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%); top: 0; left: -400px; opacity: 0.3; }
.image-anime:hover::after { animation: shine 0.7s ease-in normal; }

/* Reveal Animation */
.reveal { position: relative; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; visibility: hidden; overflow: hidden; }
.reveal img { height: 100%; width: 100%; -o-object-fit: cover; object-fit: cover; -webkit-transform-origin: left; transform-origin: left; }
.reveal-slide { position: relative; display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; visibility: hidden; overflow: hidden; }
.reveal-slide img { height: 100%; width: 100%; -o-object-fit: cover; object-fit: cover; -webkit-transform-origin: left; transform-origin: left; }

/* Topbar */
.topbar-phone { font-weight: 500; font-size: 15px; position: relative; color: var(--bs-white); }
.topbar-social-media a, .topbar-social-media i { font-size: 20px; }

[data-bs-theme="light"] .topbar { background-color: var(--bs-primary); }
[data-bs-theme="light"] .topbar-phone .c-icon { color: var(--bs-white); }
[data-bs-theme="light"] .topbar-phone a { color: var(--bs-white); }
[data-bs-theme="light"] .topbar-phone a:hover { color: var(--bs-dark-bg-subtle); }

[data-bs-theme="dark"] .topbar-phone a:hover {color: var(--bs-primary) !important; }
[data-bs-theme="dark"] .topbar-social-media a:hover {color: var(--bs-primary) !important; }
[data-bs-theme="light"] .topbar-social-media a {color: var(--bs-white) !important;  }

/* Card Backgrounds */
[data-bs-theme="light"] .packages-bg .app-card-content, [data-bs-theme="light"] .featured-tours .app-card-content { background-color: var(--bs-white); }
[data-bs-theme="dark"] .packages-bg .app-card-content, [data-bs-theme="dark"] .featured-tours .app-card-content { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .blog-section-bg .app-card-content { background-color: var(--bs-white); }
[data-bs-theme="dark"] .blog-section-bg .app-card-content { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .list-default-wrap .app-card-content { background-color: var(--bs-white); }
[data-bs-theme="dark"] .list-default-wrap .app-card-content { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .group-grid .app-card-content { background-color: var(--bs-white); }
[data-bs-theme="dark"] .group-grid .app-card-content { background-color: var(--bs-tertiary-bg); }

/* Home Page Background */
[data-bs-theme="light"] .page-home { background-image: url('../img/doodle-ruins-1.png'); background-repeat: no-repeat; background-position: bottom right; background-attachment: inherit; background-size: auto; }
[data-bs-theme="dark"] .page-home { background-image: url('../img/doodle-ruins-1.png'); background-repeat: no-repeat; background-position: bottom right; background-attachment: inherit; background-size: auto; }

/* Testimonials Section Background */
[data-bs-theme="light"] .testimonials-bg { background-image: url('../img/doodle-ruins-3.png'); background-repeat: no-repeat; background-position: bottom right; background-attachment: inherit; background-size: auto; }
[data-bs-theme="dark"] .testimonials-bg { background-image: url('../img/doodle-ruins-3.png'); background-repeat: no-repeat; background-position: bottom right; background-attachment: inherit; background-size: auto; }

/* Footer Backgrounds */
[data-bs-theme="light"] .footer{ background-image: url('../img/doodle-ruins-2.png'); background-repeat: no-repeat; background-position: bottom right; background-attachment: inherit; background-size: auto; }
[data-bs-theme="dark"] .footer { background-image: url('../img/doodle-ruins-2.png'); background-repeat: no-repeat; background-position: bottom right; background-attachment: inherit; background-size: auto; }
 
/* Home Page Content Headings */
.page-home .content-home h2 { font-family: var(--secondary-font); font-weight: 800; font-size: 36px; text-align: left; margin-bottom: 0.75rem; }
.page-home .content-home h3 { font-family: var(--secondary-font); font-weight: 800; font-size: 30px; text-align: left; }
.page-home .content-home h4 { font-family: var(--secondary-font); font-weight: 300; font-size: 22px; text-align: left; }

/* Home Page Content Headings Color */
[data-bs-theme="light"] .page-home .content-home h2, 
[data-bs-theme="light"] .page-home .content-home h3 { color: var(--bs-primary); }

/* Testimonials Section Customization */
.testimonials.default .testimonials-slideshow .swiper-slide .entry-block { width: 80%; }
.testimonials.default .testimonials-slideshow .swiper-slide .entry-block .entry-comment p { font-size: 18px; }
.testimonials.default .testimonials-slideshow .swiper-slide .entry-block .rating-icon { font-size: 13px; }
.testimonials.default .testimonials-title { font-family: var(--tertiary-font); text-align: center; position: relative; }
.testimonials.default .testimonials-subtitle { font-family: var(--secondary-font); font-weight: 300; text-align: center; position: relative; }
.testimonials.default .swiper-button-next { right: 0; }
.testimonials.default .swiper-button-prev { left: 0; }

/* Testimonials Section Color Overrides */
[data-bs-theme="light"] .testimonials.default .testimonials-slideshow .swiper-slide .entry-block .entry-comment { background-color: var(--soft-background); color: var(--bs-dark); border: 1px solid var(--soft-background); position: relative; }
[data-bs-theme="light"] .testimonials.default .testimonials-slideshow .swiper-slide .entry-block .entry-comment::before { content: ""; position: absolute; bottom: -18px; left: 60px; width: 0; height: 0; border-width: 8px; border-style: solid; border-color: var(--soft-background) transparent transparent transparent; }
[data-bs-theme="dark"] .testimonials.default .testimonials-slideshow .swiper-slide .entry-block .entry-comment { background-color: var(--bs-tertiary-bg); position: relative; }
[data-bs-theme="dark"] .testimonials.default .testimonials-slideshow .swiper-slide .entry-block .entry-comment::before { content: ""; position: absolute; bottom: -16px; left: 60px; width: 0; height: 0; border-width: 8px; border-style: solid; border-color: var(--bs-tertiary-bg) transparent transparent transparent; }

[data-bs-theme="dark"] .testimonials.default { background-color: transparent !important; }
[data-bs-theme="light"] .testimonials.default .testimonials-title { color: var(--bs-primary); }

/* Button Hover Effects */

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; outline: none; overflow: hidden; cursor: pointer; gap: 0; }
.btn:hover::before { animation: shine 1.5s ease-out normal; }
.btn::before { content: ""; position: absolute; width: 100px; height: 100%; background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%); top: 0; left: -100px; opacity: 0.6; }
    
.btn-animated { animation: shadow-pulse-theme 4s infinite; --btn-animated-color: var(--bs-primary); }
.btn-animated:hover { animation: shadow-pulse-theme 4s infinite; --btn-animated-color: var(--bs-secondary); }

[data-bs-theme="light"] .number-btn { border-color: #dee2e6 !important;}
[data-bs-theme="dark"] .reservation-details  { color: var(--bs-light) !important; }
[data-bs-theme="dark"] .reservation-details a { color: var(--bs-light) !important; }

.btn-tour-cta { font-weight: 400; }


[data-bs-theme="dark"] .btn-link:hover { color: var(--bs-primary) !important; }

/* Page Header Customization */
[data-bs-theme="light"] .pageheader-section.compact { background-color: var(--bs-light); }
.pageheader-section .pageheader-content .page-description { font-size: 15px; font-family: var(--secondary-font); }

/* Tripadvisor Logo */
[data-bs-theme="light"] .tripadvisor-logo { display: inline-block; width: 120px; height: 32px; background: url('../img/tripadvisor-text-logo.svg') no-repeat center; background-size: contain; }
[data-bs-theme="dark"] .tripadvisor-logo { display: inline-block; width: 120px; height: 32px; background: url('../img/tripadvisor-text-logo-white.svg') no-repeat center; background-size: contain; }

/* Call to Action Section */
[data-bs-theme="light"] .cta.default .cta-title { color: var(--bs-primary); }

/* Featured Slider */
.featured-slider .hero-swiper .swiper-slide::before { background-color: rgba(0, 0, 0, 0.40); }

/* Footer Customization */
[data-bs-theme="light"] .fast-contact svg { color: var(--bs-primary); }
.fast-contact .fast-contact-item .widget-title { font-weight: 500; font-size: 18px; }
.fast-contact .fast-contact-item .c-icon { margin-right: 10px; padding-top: 3px; }
.fast-contact .fast-contact-item .text-muted { font-size: 14px; }
[data-bs-theme="light"] .fast-contact .fa-fw { color: var(--bs-primary); }
[data-bs-theme="light"] .fast-contact a:hover { color: var(--bs-dark); }
[data-bs-theme="dark"] .fast-contact a:hover { color: var(--bs-primary); }
[data-bs-theme="light"] .footer-widget a:hover { color: var(--bs-dark); }
[data-bs-theme="dark"] .footer-widget a:hover { color: var(--bs-primary); }
[data-bs-theme="light"] .footer-socials .social-item:hover { background-color: var(--bs-primary) !important; }
[data-bs-theme="dark"] .footer-socials .social-item:hover { background-color: var(--bs-primary) !important; color: var(--bs-white) !important; }
.footer-navigation i { font-size: 14px !important; }

.featured-destinations-slideshow .app-card-content { position: absolute; left: 0; right: 0; z-index: 4; padding: 0 !important; }
.featured-destinations-slideshow .app-card { border-radius: 0; border: 0 !important; }

.featured-destinations-slideshow .app-card-image { position: relative; }
.featured-destinations-slideshow .app-card-image::before { content: ''; background: rgba(0,0,0,0.40); position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; transition: background 0.4s; }
.featured-destinations-slideshow .app-card:hover .app-card-image::before { background: rgba(0,0,0,0.20); }
.featured-destinations-slideshow .swiper-slide-active .app-card-image::before { background: rgba(0,0,0,0.10); }
.featured-destinations-slideshow .app-card-image img { position: relative; z-index: 2; display: block; width: 100%; height: auto; border-radius: inherit; }

.featured-destinations-slideshow .app-card-title { margin-left: 0.5rem; margin-top: 0.5rem; }
.featured-destinations-slideshow .app-card-title h3 a { color: var(--bs-white) !important; font-size: 34px !important; padding: 0.5rem 2rem; background-color: rgba(0, 0, 0, .4); border-radius: 15px; display: inline-block !important; transition: 0.5s ease all; font-family: var(--tertiary-font); }
.featured-destinations-slideshow .app-card-title h3 a:hover { text-decoration: none !important; background-color: var(--bs-secondary); color: var(--bs-white) !important; }
.featured-destinations-slideshow .swiper-slide-active .app-card-title h3 a { background-color: var(--bs-secondary); }
.featured-destinations-slideshow .swiper-slide-active .app-card-title h3 a:hover { background-color: var(--bs-secondary); }

.featured-destinations-slideshow .app-card-description { color: var(--bs-white) !important; font-size: 16px; font-weight: 300; transition: 0.5s ease all; opacity: 0; background-color: rgba(0, 0, 0, 0.7); border-radius: 0; overflow: hidden !important; display: block; border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; }
.featured-destinations-slideshow .app-card:hover .app-card-description { opacity: 1; }
.featured-destinations-slideshow .swiper-slide-active .app-card-description { opacity: 1; }

.featured-destinations-slideshow .app-card-buttons  { opacity: 0; transition: 0.5s ease all; }
.featured-destinations-slideshow .app-card:hover .app-card-buttons  { opacity: 1;}
.featured-destinations-slideshow .swiper-slide-active .app-card-buttons  { opacity: 1; }

/* swiper override */
/* [data-bs-theme="light"] .swiper-pagination-bullet { width: 20px; height: 20px; text-align: center; line-height: 20px; font-size: 12px; color: var(--bs-black); background: var(--bs-primary); opacity: 0.5; border-radius: 10px; }
[data-bs-theme="light"] .swiper-pagination-bullet-active { color: var(--bs-white); background: var(--bs-secondary); opacity: 1; }

[data-bs-theme="dark"] .swiper-pagination-bullet { width: 20px; height: 20px; text-align: center; line-height: 20px; font-size: 12px; color: var(--bs-black); background: var(--bs-light); opacity: 0.5; border-radius: 10px; }
[data-bs-theme="dark"] .swiper-pagination-bullet-active { color: var(--bs-white); background: var(--bs-black); opacity: 1; }
 */
.section-buttons .btn { padding-left: 40px !important; }
.section-buttons .btn-icon { padding: 0.50rem 0.25rem 0.25rem 0.25rem; border: 1px dashed var(--bs-white); border-radius: 100%; width: 36px; height: 36px; overflow: hidden; position: absolute; left: 5px; top: 5px; }
.section-buttons .btn-icon-clear { padding: 0.50rem 0.25rem 0.25rem 0.25rem; border:0; border-radius: 100%; width: 36px; height: 36px; overflow: hidden; position: absolute; left: 5px; top: 4px; }

.tourGallery { border-radius: 1rem; }
.tourThumbs { margin-top: 1rem; }
.tourThumbs .swiper-slide:hover { cursor: pointer; }

/* Booking Form Background */
[data-bs-theme="light"] .form-booking-area { background-color: var(--bs-light); }
[data-bs-theme="dark"] .form-booking-area { background-color: var(--bs-tertiary-bg); }

/* Tour Title, Content and Highlights */
.page-tours .tour-title { font-family: var(--secondary-font); font-size: 36px; font-weight: 700; }
.page-tours .tour-highlights { font-weight: 500; }
.page-tours .tour-content p:last-child { margin-bottom: 0; }
.page-tours .tour-content-wrap .badge { font-size: 15px; }
.page-tours .highlight-stars { font-size: 14px; }

/* Itinerary Accordion */
.page-tours .itinerary .accordion-body ul li:last-child { margin-bottom: 0; }

[data-bs-theme="light"] .page-tours .itinerary .accordion-body { background-color: var(--bs-white); }
[data-bs-theme="dark"] .page-tours .itinerary .accordion-body { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .page-tours .itinerary .day-badge { background-color: var(--bs-secondary); }
[data-bs-theme="dark"] .page-tours .itinerary .day-badge { background-color: var(--bs-tertiary-bg); }

/* Tour Section Titles */
.page-tours .tour-section-title { font-weight: 500; }

/* Included/Excluded Lists Backgrounds */
[data-bs-theme="light"] .page-tours .included-list .included-item { background-color: var(--bs-light); border: 1px dashed var(--bs-success); }
[data-bs-theme="dark"] .page-tours .included-list .included-item { background-color: var(--bs-tertiary-bg); border: 1px dashed var(--bs-success); }
[data-bs-theme="light"] .page-tours .excluded-list .excluded-item { background-color: var(--bs-light); border: 1px dashed var(--bs-danger); }
[data-bs-theme="dark"] .page-tours .excluded-list .excluded-item { background-color: var(--bs-tertiary-bg); border: 1px dashed var(--bs-danger); }
[data-bs-theme="light"] .page-tours .highlight-list .highlight-item .highlight-details { background-color: var(--bs-light); border: 1px dashed var(--bs-primary); }
[data-bs-theme="dark"] .page-tours .highlight-list .highlight-item .highlight-details { background-color: var(--bs-tertiary-bg); border: 1px dashed var(--bs-light); }
[data-bs-theme="light"] .page-tours .highlight-list .highlight-item .highlight-details .fa-star { color: var(--bs-primary);}
[data-bs-theme="dark"] .page-tours .highlight-list .highlight-item .highlight-details .fa-star { color: var(--bs-light);}

/* Sidebar Widgets Backgrounds */
[data-bs-theme="light"] .sidebar-about { background-color: var(--bs-light); }
[data-bs-theme="dark"] .sidebar-about { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .sidebar-contact { background-color: var(--bs-light); }
[data-bs-theme="dark"] .sidebar-contact { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .sidebar-blog-categories { background-color: var(--bs-light); }
[data-bs-theme="dark"] .sidebar-blog-categories { background-color: var(--bs-tertiary-bg); }

[data-bs-theme="light"] .sidebar-destination-widget { background-color: var(--bs-light); }
[data-bs-theme="dark"] .sidebar-destination-widget { background-color: var(--bs-tertiary-bg); }

.sidebar-blog-categories ul li { border-bottom: 1px dashed var(--bs-border-color); }

/* Page Header Description Color */
.pageheader-section.default .page-description {  color: var(--bs-white); }

/* Destinations Page Customization */
[data-bs-theme="light"] .page-destinations .directions .app-card { background-color: var(--bs-light); }
[data-bs-theme="dark"] .page-destinations .directions .app-card { background-color: var(--bs-tertiary-bg); }
[data-bs-theme="light"] .page-destinations .tips .app-card { background-color: var(--bs-light); }
[data-bs-theme="dark"] .page-destinations .tips .app-card { background-color: var(--bs-tertiary-bg); }
[data-bs-theme="light"] .page-destinations .tips .app-card .app-card-title { color: var(--bs-primary); }
[data-bs-theme="light"] .page-destinations #fade-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to bottom, rgba(var(--bs-light-rgb), 0), var(--bs-white) 80%); display: block; }
[data-bs-theme="dark"] .page-destinations #fade-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to bottom, rgba(var(--bs-dark-rgb), 0), var(--bs-dark) 80%); display: block; }

.page-destinations #content-preview { /* max-height: 480px; overflow: hidden; position: relative; */ margin-bottom: 1rem;}

[data-bs-theme="light"] .page-destinations .grid-entry .card-body { background-color: var(--soft-background); }
[data-bs-theme="light"] .page-destinations .grid-entry .card-body .card-title { color: var(--bs-primary);  border-bottom: 2px dotted var(--bs-primary) }
[data-bs-theme="light"] .page-destinations .grid-widget.creative .grid-entry .card-body .card-text { color: var(--bs-primary); }

[data-bs-theme="dark"] .page-destinations .grid-entry .card-body { background-color: var(--bs-tertiary-bg); }
[data-bs-theme="dark"] .page-destinations .grid-entry .card-body .card-title { color: var(--bs-secondary-color); }
[data-bs-theme="dark"] .page-destinations .grid-widget.creative .grid-entry .card-body .card-text { color: var(--bs-secondary-color); }

.page-destinations .grid-widget.creative .grid-entry .card-body .card-title { font-size: 22px; padding-bottom: 5px; margin-bottom: 0; text-align: center; font-weight: 700; font-family: var(--secondary-font); }
.page-destinations .grid-widget.creative .grid-entry .card-body .card-text p { margin-bottom: 0; }

/* Tours Page Customization */

[data-bs-theme="light"] .page-tours #fade-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to bottom, rgba(var(--bs-light-rgb), 0), var(--bs-white) 80%); display: block; }
[data-bs-theme="dark"] .page-tours #fade-overlay { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: linear-gradient(to bottom, rgba(var(--bs-dark-rgb), 0), var(--bs-dark) 80%); display: block; }
.page-tours #content-preview { max-height: 180px; overflow: hidden; position: relative; }

/* FAQ Section Background */
[data-bs-theme="light"] .collection-faq .accordion-body { background-color: var(--bs-light); }
[data-bs-theme="dark"] .collection-faq .accordion-body { background-color: var(--bs-tertiary-bg); }

.tour-page .terms .accordion-body *:last-child { margin-bottom: 0; }

/* Vector Map Customization */
[data-bs-theme="light"] .vectormap { padding:15px; border-radius: 15px; background-color:var(--bs-white); display:flex; justify-content:center; }
[data-bs-theme="dark"] .vectormap { padding:15px; border-radius: 15px; background-color:var(--bs-white); display:flex; justify-content:center; }
.mapael .map { position:relative; width:100%; margin:0 auto; }
.mapael .mapTooltip { position:absolute; background-color:#222; opacity:1; border-radius:10px; padding:10px; z-index:1000; max-width:200px; display:none; color:#fff; }
.mapael .zoomButton { display:none; }
.mapael .zoomReset {display:none; }
.mapael .zoomIn { display:none; }
.mapael .zoomOut { display:none; }

.app-card .btn { padding-left: 10px; padding-right: 10px; }
.app-card .fa-clock,
.app-card .fa-location-dot { min-width: 18px; }

.nav-pills { --bs-nav-pills-link-active-bg: var(--bs-secondary); --bs-nav-link-color: var(--bs-white); } 
.nav-pills .nav-link { background-color: var(--bs-light); color: var(--bs-primary); }
.featured-nav .nav-item { padding: 0.5rem; } 

.form-number { display: flex; align-items: center; justify-content: space-between; gap: 1rem; } 
.form-number label { flex: 0 0 auto; margin-bottom: 0; margin-right: 1rem; text-align: left; } 
.form-number .input-group, .form-number input { flex: 1 1 0; min-width: 0; margin-bottom: 0; max-width: 150px }

/* Grid Titles */
.grid-title { font-weight: 400; text-align: center; position: relative; }
.grid-subtitle { font-weight: 300; text-align: center; position: relative; }
.grid-entry .card-body .card-text p { margin-bottom: 0; }
[data-bs-theme="light"] .group-title, 
[data-bs-theme="light"] .grid-title { color: var(--bs-primary); }

.hr-seperator { border-top: 1px dashed var(--bs-border-color); max-width: 70%; width: 70%; display: inline-block;}

.payment-options { height: 40px; }

.bottombar-links a { font-size: 15px; }
.bottombar-copyright { font-size: 15px;  }

[data-bs-theme="light"] .location-badge { background-color: var(--bs-light); color: var(--bs-primary); font-size: 0.8rem; }
[data-bs-theme="dark"] .location-badge { background-color: var(--bs-dark-bg-subtle); color: var(--bs-light); font-size: 0.8rem; }

[data-bs-theme="light"] .group-widget .app-card { border: 1px solid var(--bs-border-color); }
[data-bs-theme="light"] .group-widget { --swiper-pagination-color: var(--bs-primary); --swiper-pagination-bullet-inactive-color: var(--bs-primary); }
[data-bs-theme="dark"] .group-widget { --swiper-pagination-color: var(--bs-light); --swiper-pagination-bullet-inactive-color: var(--bs-light); }

.group-widget .section-buttons {  }
.group-widget .swiper-pagination-bullets { width: auto !important; line-height: 0; }

.group-widget .swiper-slide { height: unset !important; }

@media (min-width:992px) {
    /* Navbar Customization */
    .nav-link { --bs-nav-link-font-size: 18px; --bs-nav-link-font-weight: 500; --bs-navbar-nav-link-padding-x: 0.75rem; --bs-navbar-nav-link-padding-y: 1.25rem; font-family: var(--secondary-font); }
    
    [data-bs-theme="light"] .navbar-nav > .nav-item > .nav-link { color: var(--bs-black); }
    [data-bs-theme="dark"] .navbar-nav > .nav-item > .nav-link { color: var(--bs-light); }

    .navbar-nav > .nav-item > .nav-link { white-space: nowrap; position: relative; }

    [data-bs-theme="light"] .navbar-nav > .nav-item > .nav-link:hover, 
    [data-bs-theme="light"] .navbar-nav > .nav-item > .nav-link:active, 
    [data-bs-theme="light"] .navbar-nav > .nav-item > .nav-link:focus { color: var(--bs-primary); }

    [data-bs-theme="dark"] .navbar-nav > .nav-item > .nav-link:hover, 
    [data-bs-theme="dark"] .navbar-nav > .nav-item > .nav-link:active, 
    [data-bs-theme="dark"] .navbar-nav > .nav-item > .nav-link:focus { color: var(--bs-primary); }

    [data-bs-theme="light"] .navbar-nav > .nav-item.active > .nav-link { color: var(--bs-primary); }
    [data-bs-theme="dark"] .navbar-nav > .nav-item.active > .nav-link { color: var(--bs-tertiary-color); }
    
    .navbar-nav > .nav-item.dropdown > .nav-link::before { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    .navbar-nav > .nav-item.dropdown > .nav-link::after { border-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
    
    /* Dropdown menu override */
    [data-bs-theme="light"] .dropdown-menu { --bs-dropdown-font-size: 15px; --bs-dropdown-link-hover-color: var(--bs-white); --bs-dropdown-link-hover-bg: rgb(var(--primary-color)); --bs-dropdown-link-active-bg: rgb(var(--primary-color)); --bs-dropdown-border-radius: 10px; --bs-dropdown-padding-x: 0.5rem; --bs-dropdown-padding-y: 0.5rem; font-family: var(--secondary-font); box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; background-color: rgba(255, 255, 255, 1) !important; backdrop-filter: blur(10px); }
    [data-bs-theme="dark"] .dropdown-menu { --bs-dropdown-font-size: 15px; --bs-dropdown-link-hover-color: var(--bs-white); --bs-dropdown-link-hover-bg: rgb(var(--secondary-color)); --bs-dropdown-link-active-bg: rgb(var(--secondary-color)); --bs-dropdown-border-radius: 10px; --bs-dropdown-padding-x: 0.5rem; --bs-dropdown-padding-y: 0.5rem; font-family: var(--secondary-font); box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px; background-color: rgba(0, 0, 0, 1) !important; backdrop-filter: blur(10px); }
    [data-bs-theme="dark"] .dropdown-item:focus, .dropdown-item:hover { background-color: var(--bs-primary); }
    .dropdown-toggle::after { vertical-align: middle; }
    .dropdown-menu li:not(:last-child) .dropdown-item { border-bottom: 1px dashed var(--bs-border-color); }
    
    /* Home Page Content Padding */
    .page-home .content-home { padding: 0 0 0 0 !important; }

    .group-title { font-size: 52px; }
    .group-description { font-size: 16px; }

    .grid-title { font-size: 52px; }
    .grid-description { font-size: 16px; }

    .testimonials-title { font-size: 52px; }
    .testimonials-description { font-size: 16px; }
}

@media (max-width:991px) {
    /* Navbar Customization */
    .navbar-brand img { width: 200px; }
    .navbar .fa-solid.fa-angle-down { display: none !important; }

    /* Page Header Customization */
    .pageheader-section.compact .page-title { text-align: center; }
    .pageheader-section.default .page-title { text-align: center; }
    .pageheader-section.default .page-description { text-align: center; }

    /* Breadcrumb Customization */
    .breadcrumb { display: flex; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; list-style: none; padding: 0; margin: 0; }
    .breadcrumb-item { display: none; }
    .breadcrumb-item:nth-child(1), .breadcrumb-item:nth-child(2), .breadcrumb-item:last-child { display: inline-block; }
    .breadcrumb-item + .breadcrumb-item::before { content: "/"; margin: 0 0.25rem; color: #999; }
    .breadcrumb-item:nth-child(2)::after { content: "..."; margin: 0 0.5rem 0 0.5rem }

    /* Testimonials Section Customization */
    .testimonials.default { padding-left: 1rem !important; padding-right: 1rem !important; }
    .testimonials.default .swiper-button-next,
    .testimonials.default .swiper-button-prev { top: auto; bottom: 10%; }

    .header .dropdown-item { white-space: normal !important; font-weight: 600; }
    .header .dropdown-menu li { padding-top: 5px; padding-bottom: 5px; }
    .header .dropdown-menu li:not(:last-child) { border-bottom: 1px dashed #dedede;  }
    .header .navbar-nav {  border-radius: 1rem;  }
    .header .navbar-nav .nav-item { background-color: var(--soft-background); color: var(--bs-primary); padding: 7px 15px; }
    .header .navbar-nav .nav-item:not(:last-child) { border-bottom: 1px solid var(--bs-border-color);  }
    .header .navbar-nav .nav-item a { color: var(--bs-primary) !important; font-size: 17px;  }
    .header .navbar-nav .nav-item .dropdown-menu  { background-color: var(--bs-primary); border-radius: 15px;  }
    .header .navbar-nav .nav-item .dropdown-menu a  { color: #fff !important; font-size: 16px;  }

    .footer-logo { text-align: center; }

    [data-bs-theme="light"] .navbar-toggler:focus { box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width) rgb(190,13,6); }

    [data-bs-theme="light"] .app-home .header.fixed-top { background-color: var(--bs-white) !important; backdrop-filter: unset; }
    [data-bs-theme="light"] .app-home .header.fixed-top.scrollOn { background-color: var(--bs-white) !important; backdrop-filter: unset; }
    [data-bs-theme="light"] .app-home .header.fixed-top.scrollOff { background-color: var(--bs-white) !important; backdrop-filter: unset; }

    [data-bs-theme="dark"] .app-home .header.fixed-top { background-color: var(--bs-black) !important; backdrop-filter: unset; }
    [data-bs-theme="dark"] .app-home .header.fixed-top.scrollOn { background-color: var(--bs-black) !important; backdrop-filter: unset; }
    [data-bs-theme="dark"] .app-home .header.fixed-top.scrollOff { background-color: var(--bs-black) !important; backdrop-filter: unset; }

    [data-bs-theme="dark"] .nav-link { color: var(--bs-white) !important; }

    .testimonials.default .testimonials-slideshow .swiper-slide .entry-block .entry-comment::before { left: 50% !important; margin-left: -8px; }

    .pageheader-section .pageheader-content .page-title { line-height: 32px !important; font-size: 28px !important; }

    .group-title { font-size: 38px; }
    .group-description { font-size: 16px; }

    .grid-title { font-size: 38px; }
    .grid-description { font-size: 16px; }

    .testimonials-title { font-size: 38px; }
    .testimonials-description { font-size: 16px; }

    .footer-description { width: 100% !important; }

    .testimonials-slideshow { width: 100% !important;}
    .testimonials.default .testimonials-slideshow .swiper-slide .entry-block { width: 90% !important;}

}
