:root {
    --primary: #2FB8E6;
    /* Wisdom cyan/blue */
    --secondary: #7BC043;
    /* Wisdom green */
    --accent: #F4B400;
    /* Wisdom gold/yellow for 25 */
    --light: #F7F9F7;
    --dark: #111111;
    --text-dark: #222222;
    --primary-dark: #1E95C4;
    --secondary-dark: #5A9132;
    --accent-dark: #D69E00;
    --gradient-primary: linear-gradient(135deg, #2FB8E6 0%, #1E95C4 100%);
    --gradient-secondary: linear-gradient(135deg, #7BC043 0%, #5A9132 100%);
    --gradient-accent: linear-gradient(135deg, #F4B400 0%, #D69E00 100%);
    --gradient-wisdom: linear-gradient(90deg, #2FB8E6 0%, #7BC043 50%, #F4B400 100%);
    --shadow-primary: 0 10px 30px rgba(47, 184, 230, 0.3);
    --shadow-secondary: 0 10px 30px rgba(123, 192, 67, 0.3);
    --shadow-accent: 0 10px 30px rgba(244, 180, 0, 0.3);
}

body {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-dark);
    font-weight: 500;
    /* Regular text is now medium for better visibility */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    /* Bolder headings */
}

h1.text-primary,
h2.text-primary,
h3.text-primary {
    background: var(--gradient-wisdom);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://img.freepik.com/free-vector/world-map-travel-background_23-2148113429.jpg?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: #ffffff;
}

/* (Removed global override) */
/* Ensure Bootstrap utility classes use the template variables */
.text-primary {
    color: var(--primary) !important;
    text-shadow: 0 2px 10px rgba(47, 184, 230, 0.2);
}

.bg-primary {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow-primary);
}

.btn-primary {
    background: var(--gradient-wisdom) !important;
    border: none !important;
    box-shadow: var(--shadow-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(47, 184, 230, 0.4);
}

.text-secondary {
    color: var(--secondary) !important;
    text-shadow: 0 2px 10px rgba(123, 192, 67, 0.2);
}

.bg-secondary {
    background: var(--gradient-secondary) !important;
    box-shadow: var(--shadow-secondary);
}

.bg-white {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
}

/* Navbar override: use brand primary + secondary gradient */
.navbar.bg-white {
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.95), rgba(123, 192, 67, 0.95)) !important;
    backdrop-filter: none;
}

/* Ensure navbar links and controls are readable on the gradient */
.navbar.bg-white .nav-link,
.navbar.bg-white .navbar-brand,
.navbar.bg-white .navbar-text,
.navbar.bg-white .fw-medium,
.navbar.bg-white .btn {
    color: #ffffff !important;
}

.navbar.bg-white .btn-primary {
    /* keep primary button visible — use white text */
    color: #ffffff !important;
}

.bg-light {
    background-color: rgba(247, 249, 247, 0.5) !important;
    backdrop-filter: blur(10px);
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: var(--gradient-wisdom) !important;
    color: white !important;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 15px 40px rgba(47, 184, 230, 0.5);
}

/*** Vehicle Showcase Animation ***/
.vehicle-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
}

.vehicle-scroll {
    display: flex;
    gap: 40px;
    animation: scrollLeft 30s linear infinite;
    width: max-content;
}

.vehicle-item {
    flex-shrink: 0;
    width: 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.vehicle-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-wisdom);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vehicle-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-primary);
    background: #fff;
}

.vehicle-item:hover::before {
    opacity: 1;
}

.vehicle-item img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 10px;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.vehicle-scroll-wrapper:hover .vehicle-scroll {
    animation-play-state: paused;
}

/* Constrain and center carousel side images */
.carousel-side-img {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ===== Polaroid Stacked Images Layout ===== */
.about-section-row {
    min-height: 600px;
}

.stacked-images-container {
    position: relative;
    width: 100%;
    height: 550px;
    max-width: 100%;
    margin: 0;
}

/* Polaroid frame effect */
.polaroid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    padding: 12px;
    padding-bottom: 45px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.polaroid::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-wisdom);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.6;
}

.polaroid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stacked-image {
    position: absolute;
    border-radius: 4px;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Polaroid positions - 4 images stacked */
.stacked-img-1 {
    width: 280px;
    height: 200px;
    top: 30px;
    left: 20px;
    transform: rotate(-8deg);
    z-index: 1;
}

.stacked-img-2 {
    width: 300px;
    height: 220px;
    top: 80px;
    left: 120px;
    transform: rotate(5deg);
    z-index: 2;
}

.stacked-img-3 {
    width: 290px;
    height: 210px;
    top: 250px;
    left: 30px;
    transform: rotate(-3deg);
    z-index: 3;
}

.stacked-img-4 {
    width: 280px;
    height: 200px;
    top: 310px;
    left: 150px;
    transform: rotate(6deg);
    z-index: 4;
}

/* Hover effects for polaroids */
.polaroid:hover {
    z-index: 10 !important;
    transform: scale(1.08) rotate(0deg) !important;
    box-shadow: var(--shadow-primary);
}

.polaroid:hover::after {
    opacity: 1;
    box-shadow: 0 0 30px rgba(47, 184, 230, 0.6);
}

/* Airplane doodle */
.airplane-doodle {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    z-index: 5;
}

.airplane-doodle::before {
    content: "✈";
    font-size: 24px;
    color: #2FB8E6;
    position: absolute;
}

.airplane-doodle::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px dashed #2FB8E6;
    border-radius: 50%;
    top: 10px;
    left: 15px;
    opacity: 0.5;
}

/* Location pin doodle */
.location-doodle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 5;
}

.location-doodle::before {
    content: "📍";
    font-size: 28px;
    position: absolute;
}

/* ===== Tour Package Cards ===== */
.tour-packages-container {
    width: 100%;
}

.tour-package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.tour-package-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent; /* removed gradient background */
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-primary);
}

.tour-package-card:hover::before {
    opacity: 0; /* keep overlay hidden */
}

.package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 140px;
}

.package-content {
    padding: 16px 20px;
}

.package-price {
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.package-price span {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.package-rating {
    background: var(--gradient-accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-accent);
    animation: ratingPulse 2s ease-in-out infinite;
}

@keyframes ratingPulse {

    0%,
    100% {
        box-shadow: var(--shadow-accent);
    }

    50% {
        box-shadow: 0 5px 20px rgba(244, 180, 0, 0.5);
    }
}

.package-rating i {
    font-size: 11px;
}

.package-title {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.package-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.package-meta span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.package-meta i {
    color: var(--primary);
    font-size: 12px;
    text-shadow: 0 2px 8px rgba(47, 184, 230, 0.3);
}

.package-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.package-actions .btn {
    background: var(--primary) !important; /* use solid primary color */
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.package-actions .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.view-details {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.view-details {
    position: relative;
}

.view-details::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.view-details:hover {
    color: var(--primary);
}

.view-details:hover::after {
    width: 100%;
}

/* Scroll animations */
[data-scroll-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.polaroid[data-scroll-animate] {
    opacity: 0;
}

.stacked-img-1[data-scroll-animate] {
    transform: translateY(50px) rotate(-8deg);
}

.stacked-img-2[data-scroll-animate] {
    transform: translateY(50px) rotate(5deg);
}

.stacked-img-3[data-scroll-animate] {
    transform: translateY(50px) rotate(-3deg);
}

.stacked-img-4[data-scroll-animate] {
    transform: translateY(50px) rotate(6deg);
}

[data-scroll-animate].scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.stacked-img-1.scroll-visible {
    transform: translateY(0) rotate(-8deg);
}

.stacked-img-2.scroll-visible {
    transform: translateY(0) rotate(5deg);
}

.stacked-img-3.scroll-visible {
    transform: translateY(0) rotate(-3deg);
}

.stacked-img-4.scroll-visible {
    transform: translateY(0) rotate(6deg);
}

/* Staggered animation delays */
.stacked-img-1[data-scroll-animate] {
    transition-delay: 0s;
}

.stacked-img-2[data-scroll-animate] {
    transition-delay: 0.15s;
}

.stacked-img-3[data-scroll-animate] {
    transition-delay: 0.3s;
}

.stacked-img-4[data-scroll-animate] {
    transition-delay: 0.45s;
}

.tour-packages-container[data-scroll-animate] {
    transition-delay: 0.6s;
}

/* Tablet adjustments */
@media (max-width: 991px) {
    .about-section-row {
        min-height: auto;
    }

    .stacked-images-container {
        height: 450px;
        margin-bottom: 50px;
    }

    .stacked-img-1 {
        width: 240px;
        height: 170px;
        left: 50%;
        transform: translateX(-60%) rotate(-8deg);
    }

    .stacked-img-2 {
        width: 260px;
        height: 190px;
        left: 50%;
        transform: translateX(-40%) rotate(5deg);
    }

    .stacked-img-3 {
        width: 250px;
        height: 180px;
        left: 50%;
        transform: translateX(-55%) rotate(-3deg);
    }

    .stacked-img-4 {
        width: 240px;
        height: 170px;
        left: 50%;
        transform: translateX(-35%) rotate(6deg);
    }

    .tour-packages-container {
        padding: 0 15px;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .stacked-images-container {
        height: 380px;
        width: 100%;
        margin: 0 auto;
        margin-right: 182px;
        position: relative;
    }

    /* Force all stacked images to center on mobile */
    .stacked-img-1,
    .stacked-img-2,
    .stacked-img-3,
    .stacked-img-4 {
        width: 200px;
        height: 140px;
        left: 50% !important;
        /* Center horizontally */
    }

    /* Adjust position and rotation while keeping them centered */
    .stacked-img-1 {
        top: 0;
        transform: translateX(-50%) rotate(-6deg);
    }

    .stacked-img-2 {
        top: 60px;
        transform: translateX(-50%) rotate(4deg);
    }

    .stacked-img-3 {
        top: 180px;
        transform: translateX(-50%) rotate(-3deg);
    }

    .stacked-img-4 {
        top: 240px;
        transform: translateX(-50%) rotate(5deg);
    }

    /* Move doodles to appropriate places for mobile */
    .airplane-doodle {
        left: 5% !important;
        top: -10px !important;
        transform: scale(0.6);
    }

    .location-doodle {
        right: 5% !important;
        bottom: 0 !important;
        transform: scale(0.6);
    }

    .package-img {
        min-height: 120px;
    }

    .package-content {
        padding: 12px 15px;
    }

    .package-title {
        font-size: 16px;
    }

    .package-meta {
        gap: 10px;
    }
}

/* ===== Special Offers CTA Section ===== */
.cta-section {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
    transition: all 0.4s ease;
    position: relative;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-wisdom);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.cta-section:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(47, 184, 230, 0.35);
}

.cta-section:hover::after {
    opacity: 1;
}

.cta-image {
    position: relative;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cta-section:hover .cta-image img {
    transform: scale(1.05);
}

.cta-content {
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.95) 0%, rgba(123, 192, 67, 0.95) 100%);
    padding: 60px 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.2) 0%, transparent 70%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
}

.cta-content .btn-light {
    background: var(--gradient-accent);
    color: white;
    border: none;
    padding: 14px 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    width: fit-content;
    box-shadow: var(--shadow-accent);
    text-transform: uppercase;
}

.cta-content .btn-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.4);
}

/* Responsive adjustments for CTA */
@media (max-width: 991px) {
    .cta-image {
        min-height: 300px;
    }

    .cta-content {
        padding: 40px 30px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .cta-image {
        min-height: 250px;
    }

    .cta-content {
        padding: 30px 20px;
        text-align: center;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .cta-content .btn-light {
        width: 100%;
    }
}

.carousel-caption .col-lg-5 {
    display: flex;
    align-items: center;
    justify-content: center;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner .spinner-border {
    border-color: var(--primary);
    border-right-color: transparent;
    width: 4rem !important;
    height: 4rem !important;
    animation: spinner-border .75s linear infinite, spinnerGlow 2s ease-in-out infinite;
}

@keyframes spinnerGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(47, 184, 230, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(123, 192, 67, 0.8));
    }
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #000;
    /* use black underline */
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    /* Use black color on hover/active per request */
    color: #000 !important;
    text-shadow: none;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

/* Normalize mobile navbar action area across all pages */
@media (max-width: 991.98px) {

    /* Target the collapse container's action area - make it full-width and centered */
    #navbarCollapse .d-flex.align-items-center,
    .navbar-collapse .d-flex.align-items-center {
        justify-content: center !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 auto !important;
    }

    /* Ensure links inside the action area are centered and spaced uniformly */
    #navbarCollapse .d-flex.align-items-center a,
    .navbar-collapse .d-flex.align-items-center a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 0.35rem !important;
    }

    /* Keep the Book Now button a consistent size */
    #navbarCollapse .d-flex.align-items-center a.btn,
    .navbar-collapse .d-flex.align-items-center a.btn {
        min-width: 140px !important;
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }

    /* Remove extra right padding that was shifting alignment */
    #navbarCollapse .pe-4,
    .navbar-collapse .pe-4 {
        padding-right: 0 !important;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 50px;
}

/* Logo sizing and alignment */
.navbar .navbar-brand,
.navbar .navbar-brand img,
.navbar-brand .navbar-logo {
    height: 50px;
}

.navbar .navbar-brand img,
.navbar-brand .navbar-logo {
    max-height: 44px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 4px 8px;
    margin: 0;
    /* let flex alignment handle vertical centering */
}

@media (max-width: 991.98px) {

    .navbar .navbar-brand img,
    .navbar-brand .navbar-logo {
        max-height: 36px;
        padding: 2px 6px;
    }
}

/* Ensure navbar stays above topbar/content when sticky */
.navbar {
    z-index: 1030;
}

.navbar-light .navbar-nav .nav-link {
    /* Keep navbar links readable on the header gradient */
    color: #ffffff;
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
    /* single-blue blur header (removed green) */
   background: linear-gradient(135deg, rgba(47, 184, 230, 0.95), rgba(123, 192, 67, 0.95)) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(47, 184, 230, 0.3);
}

.navbar-light.sticky-top.show {
    /* match the non-show state with blue-only gradient */
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.98), rgba(47, 184, 230, 0.78)) !important;
}

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border-radius: 50%;
    padding: 10px;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background: var(--gradient-wisdom);
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(47, 184, 230, 0.5);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.page-header-inner {
    background: transparent;
    position: relative;
}

/* Larger wavy page header for services */
.page-header-large {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: visible;
}

.page-header-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.page-header-large .page-header-inner {
    background: transparent;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.page-header-large .container {
    z-index: 2;
}

.page-header-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.page-header-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.page-header-wave svg path {
    fill: url(#waveGradient);
}

/* Define SVG gradient for waves */
.page-header-wave svg defs linearGradient stop:first-child {
    stop-color: var(--primary);
}

.page-header-wave svg defs linearGradient stop:last-child {
    stop-color: var(--secondary);
}

@media (max-width: 991px) {
    .page-header-large .page-header-inner {
        min-height: 420px;
    }

    .page-header-wave svg {
        height: 90px;
    }
}

@media (max-width: 576px) {
    .page-header-large .page-header-inner {
        min-height: 340px;
    }

    .page-header-wave svg {
        height: 70px;
    }
}

.footer-wave {
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    width: 100%;
    line-height: 0;
    pointer-events: none;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

@media (max-width: 991px) {
    .footer-wave svg {
        height: 90px;
    }
}

@media (max-width: 576px) {
    .footer-wave svg {
        height: 70px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.85), rgba(123, 192, 67, 0.85)), url(../img/carousel-bg-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.fact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(47, 184, 230, 0.1) 0%, rgba(244, 180, 0, 0.1) 100%);
    pointer-events: none;
}


/*** Service ***/
.service .nav .nav-link {
    background: rgba(255, 255, 255, 0.95);
    transition: .35s ease;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(17, 17, 17, 0.04);
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
}

.service .nav .nav-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-wisdom);
    border-radius: 6px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service .nav .nav-link:hover::before,
.service .nav .nav-link.active::before {
    opacity: 1;
}

.service .nav .nav-link .svc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.service .nav .nav-link:hover .svc-icon,
.service .nav .nav-link.active .svc-icon {
    background: var(--gradient-wisdom);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(47, 184, 230, 0.4);
}

.service .nav .nav-link h4 {
    font-size: 16px;
    margin: 0;
    line-height: 1.1;
    color: #0b2746;
    transition: all 0.3s ease;
}

.service .nav .nav-link:hover h4,
.service .nav .nav-link.active h4 {
    color: var(--primary);
    text-shadow: 0 2px 10px rgba(47, 184, 230, 0.2);
}

/* dark navy for better contrast */
}

.service .nav .nav-link p {
    margin: 0;
    color: #5b6b7a;
    font-size: 13px;
}

.service .nav .nav-link.active {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
}

.service .nav .nav-link.active .svc-icon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.service .nav .nav-link.active h4,
.service .nav .nav-link.active p {
    color: #fff !important;
}

/* Left service nav: full-height column and evenly sized items */
.container-xxl.py-5 .row.g-4>.col-lg-4 {
    display: flex;
}

.container-xxl.py-5 .row.g-4>.col-lg-4 .nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service .nav .nav-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 28px 20px;
}

@media (max-width: 991.98px) {

    .container-xxl.py-5 .row.g-4>.col-lg-4,
    .container-xxl.py-5 .row.g-4>.col-lg-4 .nav {
        display: block;
    }

    .service .nav .nav-link {
        flex: none;
        padding: 18px 12px;
    }
}

/* Make service tab image and content equal height and vertically center content */
.tab-pane .row.g-4 {
    align-items: stretch;
}

.tab-pane .row.g-4>.col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-pane .row.g-4 .position-relative.h-100 {
    flex: 1 1 auto;
    min-height: 350px;
}

.tab-pane .row.g-4 .position-relative.h-100 img.position-absolute {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .tab-pane .row.g-4 .position-relative.h-100 {
        min-height: 220px;
    }

    .tab-pane .row.g-4>.col-md-6 {
        justify-content: flex-start;
    }
}

/* Improve tab content typography and button styling */
.tab-pane h3 {
    font-size: 26px;
    color: #0b2b4a;
    margin-bottom: 10px;
    font-weight: 700;
}

.tab-pane p {
    color: #586974;
}

.tab-pane .btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    box-shadow: 0 6px 18px rgba(43, 140, 170, 0.12);
}

.tab-pane .btn-primary:hover {
    transform: translateY(-2px);
}

.tab-pane .col-md-6:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/*** Booking ***/
.booking {
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.88), rgba(123, 192, 67, 0.88)), url(../img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
    position: relative;
}

.booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(244, 180, 0, 0.15), transparent 70%);
    pointer-events: none;
}

/* Booking section: improve layout, inputs and button */
.booking .col-lg-6.py-5 {
    padding: 3.5rem 3rem !important;
}

.booking .col-lg-6 .img-fluid {
    max-width: 480px;
    box-shadow: 0 12px 30px rgba(11, 39, 70, 0.08);
}

.booking .bg-primary {
    padding: 2.5rem;
    border-radius: 6px;
}

.booking form .form-control,
.booking form .form-select,
.booking form textarea {
    height: 56px;
    border-radius: 4px;
    padding-left: 16px;
    padding-right: 16px;
    background: #ffffff;
    border: 2px solid rgba(11, 39, 70, 0.06);
    box-shadow: none;
    color: #0b2746;
    transition: all 0.3s ease;
}

.booking form .form-control:focus,
.booking form .form-select:focus,
.booking form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(47, 184, 230, 0.25);
    outline: none;
}

.booking form textarea {
    min-height: 90px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.booking .input-group .input-group-text {
    background: transparent;
    border: none;
    padding-left: 10px;
    padding-right: 10px;
    color: var(--primary);
    font-size: 18px;
}

.booking .input-group:focus-within .input-group-text {
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(244, 180, 0, 0.3);
}

.booking .row.gx-3>[class*="col-"] {
    padding-left: .5rem;
    padding-right: .5rem;
}

.booking .btn-secondary {
    background: var(--gradient-accent);
    border: none;
    color: #fff;
    font-weight: 700;
    letter-spacing: .6px;
    padding: 14px 20px;
    box-shadow: var(--shadow-accent);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.booking .btn-secondary:hover {
    background: var(--gradient-wisdom);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(47, 184, 230, 0.5);
}

.booking .btn-secondary i {
    margin-right: 8px;
}

.booking .text-white.opacity-75 {
    display: block;
    margin-top: 14px;
}

@media (min-width: 992px) {

    /* align left & right columns vertically and remove extra side padding */
    .booking .row.gx-5.align-items-center>.col-lg-6:first-child {
        padding-right: 2rem;
    }

    .booking .row.gx-5.align-items-center>.col-lg-6:last-child {
        padding-left: 2rem;
    }
}

@media (max-width: 767.98px) {
    .booking .bg-primary {
        padding: 1.25rem;
    }

    .booking form .form-control,
    .booking form .form-select {
        height: 48px;
    }
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-wisdom);
    transform: scale(0);
    transition: .5s;
    box-shadow: var(--shadow-primary);
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--gradient-primary);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--gradient-wisdom) !important;
    box-shadow: var(--shadow-primary);
    border: 3px solid rgba(244, 180, 0, 0.5);
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    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;
    border: 2px solid var(--primary);
    transition: .5s;
    border-radius: 50%;
}

.testimonial-carousel .owl-dot.active {
    background: var(--gradient-accent);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    transform: scale(1.3);
}


/*** Footer ***/
.footer {
    position: relative;
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.92), rgba(123, 192, 67, 0.92)), url(../img/carousel-bg-1.jpg) center center no-repeat;
    background-size: cover;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(244, 180, 0, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 2px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
    background: transparent;
}

.footer .btn.btn-social:hover {
    color: white;
    background: var(--gradient-accent);
    border-color: var(--accent);
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-accent);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--accent);
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--accent);
    text-shadow: 0 2px 10px rgba(244, 180, 0, 0.5);
    padding-left: 10px;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

/* Footer-only override: set footer text to black (prevents altering global styles) */
.footer,
.footer * {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Responsive fix: make absolute overlay static and centered on small screens */
@media (max-width: 576px) {
    .hero-abs {
        position: static !important;
        top: auto !important;
        right: auto !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 1rem !important;
        background: transparent !important;
    }

    .hero-abs img {
        max-width: 80% !important;
        height: auto !important;
    }
}

/* Prevent horizontal overflow on small screens caused by negative margins or wide elements */
@media (max-width: 767.98px) {

    html,
    body {
        overflow-x: hidden;
    }

    /* Neutralize Bootstrap negative margin utilities that can push positioned elements off-screen */
    .me-n4,
    .ms-n4,
    .mx-n4,
    .mt-n4,
    .mb-n4 {
        margin: 0 !important;
    }

    /* Ensure carousel-caption doesn't exceed viewport on some layouts */
    .carousel-caption {
        left: 0 !important;
        right: 0 !important;
    }
}

/* Strong guard against any element causing horizontal scroll */
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ensure main containers don't exceed viewport width */
.container,
.container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Make all images and media respect viewport width */
img,
video,
iframe {
    max-width: 100% !important;
    height: auto !important;
}

/* Hide native scrollbar arrow buttons (Chrome/Edge/Safari) and tidy appearance */
*::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

*::-webkit-scrollbar-corner {
    background: transparent !important;
}

*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.22) !important;
    border-radius: 10px;
}

/* Firefox: thinner scrollbar (no arrow buttons in FF) */
html {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.22) transparent;
}

/* IE/Edge legacy */
html,
body {
    -ms-overflow-style: none;
}

/* ===== Remove inner scrollbars: show only body scrollbar ===== */
/* Hide scrollbars for any element except the page root so only body shows a scrollbar */
:not(html):not(body) {
    /* Firefox */
    scrollbar-width: none !important;
    /* IE/Edge */
    -ms-overflow-style: none !important;
}

:not(html):not(body)::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Ensure the body still shows a usable scrollbar */
body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body {
    scrollbar-width: auto;
    -ms-overflow-style: auto;
}

/* Make sure root elements use natural height/overflow to avoid nested scrollbars */
html,
body {
    height: auto !important;
    overflow-y: auto !important;
}

/* Small safety: treat common full-height utilities so they don't force an inner scroll */
.vh-100,
[style*="height:100vh"] {
    min-height: 100vh;
    height: auto !important;
}

/* ===== Service Page Enhancements ===== */
/* Hover lift effect for service cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Service tab buttons hover effect */
.service .nav-link {
    transition: all 0.3s ease;
}

.service .nav-link:hover:not(.active) {
    background: rgba(47, 184, 230, 0.08);
    transform: translateX(5px);
}

/* Better alignment for tab content */
.tab-content .row.align-items-center {
    min-height: 380px;
}

/* Image container with shadow and rounded corners */
.tab-pane .rounded.overflow-hidden.shadow {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.tab-pane .rounded.overflow-hidden.shadow:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18) !important;
}

/* Responsive adjustments for services */
@media (max-width: 991px) {

    /* Stack navigation buttons horizontally on tablet */
    .service .nav.flex-column {
        flex-direction: row !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .service .nav-link {
        white-space: nowrap;
        min-width: 200px;
    }

    .tab-content .row.align-items-center {
        min-height: auto;
    }
}

@media (max-width: 767px) {

    /* Vertical stacking on mobile */
    .service .nav.flex-column {
        flex-direction: column !important;
    }

    .service .nav-link {
        min-width: 100%;
        white-space: normal;
    }

    .service .nav-link h4 {
        font-size: 14px;
    }

    /* Better spacing for mobile */
    .tab-pane .col-md-6.ps-md-4 {
        padding-left: 0.75rem !important;
        margin-top: 1.5rem;
    }
}

/* Service offerings icons with gradient background */
.bg-primary.text-white.rounded-circle {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    transition: transform 0.3s ease;
}

.hover-lift:hover .bg-primary.text-white.rounded-circle {
    transform: rotate(10deg) scale(1.1);
}

/* Text muted color improvement */
.text-muted {
    color: #6c757d !important;
}

/* Better spacing between service cards */
.row.g-4 {
    row-gap: 1.5rem !important;
}

/* ===== Page background for About page ===== */
.page-bg {
    position: relative;
    background-image: url('https://images.rawpixel.com/image_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIzLTA2L2pvYjE4ODQtcmVtaXgtMDRhLWItbGpod3I1cjcuanBn.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
}

/* ===== Page background for Index (content-only) ===== */
.page-bg-index {
    position: relative;
    background-image: url('https://images.rawpixel.com/image_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIzLTA2L2pvYjE4ODQtcmVtaXgtMDRhLWItbGpod3I1cjcuanBn.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
}

.page-bg-index::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    pointer-events: none;
    z-index: 0;
}

.page-bg-index>* {
    position: relative;
    z-index: 1;
}

/* Slight overlay to keep text readable on top of the background (only for the content container) */
.page-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    pointer-events: none;
    z-index: 0;
}

/* Ensure page content inside the container sits above the overlay */
.page-bg>* {
    position: relative;
    z-index: 1;
}

/* ===== Memories / Promotional Section ===== */
.memories-section {
    background: #ffffff;
}

.memories-left {
    min-height: 420px;
}

.memories-left .map-doodle {
    position: absolute;
    left: -8%;
    top: 10px;
    right: 0;
    bottom: 10px;
    background: radial-gradient(circle at 10% 30%, rgba(43, 140, 170, 0.06), transparent 10%), radial-gradient(circle at 80% 70%, rgba(123, 192, 67, 0.04), transparent 15%);
    z-index: 1;
    border-radius: 6px;
}

.memories-left img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
}

.memories-section h1 {
    font-size: 2.6rem;
    line-height: 1.05;
    background: var(--gradient-wisdom);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.mem-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.mem-feature .icon {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--gradient-wisdom);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    flex-shrink: 0;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.mem-feature:hover .icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 35px rgba(47, 184, 230, 0.5);
}

.mem-feature h5 {
    margin: 0;
    font-weight: 700;
}

.memories-section .btn-outline-primary {
    border-width: 2px;
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.memories-section .btn-outline-primary:hover {
    background: var(--gradient-wisdom);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

@media (max-width: 991px) {
    .memories-left {
        margin-bottom: 30px;
    }

    .memories-section h1 {
        font-size: 1.9rem;
    }
}

@media (max-width: 576px) {
    .mem-feature .icon {
        width: 56px;
        height: 56px;
    }

    .memories-section h1 {
        font-size: 1.5rem;
    }
}

/* ===== Video Background & Hero Section ===== */
.hero-video-header {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: brightness(0.6);
}

#header-carousel {
    width: 100%;
    height: 100%;
}

#header-carousel .carousel-inner,
#header-carousel .carousel-item {
    height: 100%;
}

#header-carousel .carousel-caption {
    background: transparent !important;
    z-index: 10;
}

.carousel-side-img {
    max-height: 400px;
    object-fit: contain;
    z-index: 10;
}

.hero-content {
    z-index: 15;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.page-bg-index {
    background: transparent !important;
}

.page-bg-index::before {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-video-header {
        height: 80vh;
    }

    .carousel-side-img {
        display: none;
    }
}

/* ===== Professional Service Cards ===== */
.service-item-new {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 480px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.service-item-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.service-img-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s ease;
}

.service-item-new:hover .service-img-wrap img {
    transform: scale(1.15);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.85) 100%);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.5s ease;
}

.service-item-new:hover .service-overlay {
    background: linear-gradient(to bottom,
            rgba(254, 110, 38, 0.2) 0%,
            rgba(0, 0, 0, 0.3) 40%,
            rgba(0, 0, 0, 0.95) 100%);
}

.service-icon-box {
    width: 65px;
    height: 65px;
    background: #FE6E26;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 25px;
    font-size: 28px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(254, 110, 38, 0.4);
}

.service-item-new:hover .service-icon-box {
    transform: rotateY(360deg) scale(1.15);
    background: #fff;
    color: #FE6E26;
}

.service-content-new h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-content-new p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.service-item-new:hover .service-content-new p {
    transform: translateY(0);
    opacity: 1;
}

.service-btn-new {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
}

.service-item-new:hover .service-btn-new {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Enhanced Logo Color Theme Accents ===== */

/* Animated gradient border decoration for sections */
.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-wisdom);
    border-radius: 2px;
    animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {

    0%,
    100% {
        width: 80px;
    }

    50% {
        width: 120px;
    }
}

/* Enhanced glow effect for important CTAs */
.btn-glow {
    position: relative;
    z-index: 1;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-wisdom);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.btn-glow:hover::after {
    opacity: 0.7;
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.5;
    }
}

/* Decorative accent shapes using logo colors */
.accent-shape-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(47, 184, 230, 0.15), transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

.accent-shape-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(123, 192, 67, 0.15), transparent 70%);
    border-radius: 50%;
    bottom: -75px;
    left: -75px;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

.accent-shape-3 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.15), transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    pointer-events: none;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -20px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, 10px) rotate(-5deg);
    }

    75% {
        transform: translate(15px, 15px) rotate(3deg);
    }
}

/* Topbar enhancement with logo colors */
.container-fluid.bg-light {
    background: linear-gradient(135deg, rgba(47, 184, 230, 0.05), rgba(123, 192, 67, 0.05)) !important;
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-wisdom) 1;
}

/* Enhanced section backgrounds with subtle logo color tints */
.bg-white-tinted {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 247, 0.98));
}

/* Icon pulse animation for service icons */
@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.service-icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Navbar brand logo enhancement */
.navbar-brand img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 10px rgba(47, 184, 230, 0.3));
}

.navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 20px rgba(47, 184, 230, 0.5));
}

/* Restore persistent blurred translucent background for the logo wrapper */
.navbar-brand .brand-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.18) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 8px 24px rgba(47,184,230,0.08) !important;
}
.navbar-brand .brand-wrap:hover {
    background: rgba(255,255,255,0.22) !important;
}
.navbar-brand .brand-wrap .navbar-logo {
    max-height: 44px;
    width: auto;
    display: block;
}

@media (max-width: 991.98px) {
    .navbar-brand .brand-wrap {
        padding: 4px 8px;
        -webkit-backdrop-filter: blur(6px) !important;
        backdrop-filter: blur(6px) !important;
    }
    .navbar-brand .brand-wrap .navbar-logo {
        max-height: 36px;
    }
}

/* Card hover lift effect with logo color shadow */
.card-lift {
    transition: all 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(47, 184, 230, 0.2);
}

/* Gradient text for special headings */
.gradient-text {
    background: var(--gradient-wisdom);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Badge/Tag styling with logo colors */
.badge-wisdom {
    background: var(--gradient-accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: var(--shadow-accent);
}

/* Decorative border for images */
.img-bordered {
    border: 4px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.img-bordered::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-wisdom);
    border-radius: inherit;
    z-index: -1;
}

/* Enhanced list items with logo color bullets */
.list-wisdom {
    list-style: none;
    padding-left: 0;
}

.list-wisdom li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.list-wisdom li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: var(--shadow-primary);
}

/* Price tag styling with logo accent color */
.price-tag {
    position: relative;
    display: inline-block;
    background: var(--gradient-accent);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 24px;
    box-shadow: var(--shadow-accent);
}

.price-tag::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--accent);
}

/* Animated border for highlighted sections */
.border-animated {
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.border-animated::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-wisdom);
    border-radius: inherit;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Enhanced blockquote styling */
.blockquote-wisdom {
    border-left: 5px solid transparent;
    border-image: var(--gradient-wisdom) 1;
    padding-left: 20px;
    font-style: italic;
    color: var(--text-dark);
}

/* Notification badge with logo accent color */
.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    box-shadow: var(--shadow-accent);
    animation: notificationPulse 2s ease-in-out infinite;
}

@keyframes notificationPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.service-btn-new .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .service-item-new {
        height: 400px;
    }

    .service-content-new p {
        opacity: 1;
        transform: translateY(0);
        font-size: 14px;
    }

    .service-btn-new {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline-carousel {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 5px 0;
    display: inline-block;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

@media (max-width: 576px) {
    .tagline-carousel {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
}

.cta-carousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
}

@media (max-width: 991px) {
    .cta-carousel .item img {
        border-radius: 20px 20px 0 0;
    }
}