/* --- Hero Section with Video Background --- */
header {
    position: relative;
    /* background property is removed in favor of the video */
    min-height: 80vh; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns content to the start */
    color: var(--light-text);
    text-shadow: 0 2px 4px var(--shadow-medium);
    overflow: hidden; /* Hides any part of the video that goes outside the header */
}

.video-background-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Places it at the very back */
}

.video-background-holder video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the area without distortion */
    pointer-events: none; /* Prevents video from being clickable */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 0%);
    z-index: 1; /* Sits on top of the video */
}

.hero-content {
    position: relative;
    z-index: 2; /* Sits on top of the overlay */
        padding: 276px 0 86px 0;
}
:root {
    --bg-dark: #2D1B4E;
    --bg-light: #F4F1DE;
    --accent-primary: #9B59B6;
    --accent-secondary: #F39C12;
    --accent-tertiary: #8E44AD;
    --text-light: #FFFFFF;
    --text-dark: #3D2817;
    --text-secondary: #8B7355;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    background-image: linear-gradient(rgb(244 241 222 / 0%), rgb(244 241 222 / 0%)), url(../images/why-us-bg.jpg);
        background-attachment: fixed;
        background-size: contain;
        background-position: center;
        color: var(--text-dark);
        overflow-x: hidden;
        font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    text-transform: none;
    font-weight: 700;
}

/* --- Text Color Utilities --- */
.text-orange {
    color: var(--accent-primary) !important;
    font-size: 5.5rem;
}

.text-blue {
    color: var(--accent-secondary) !important;
}

.overflow-hidden {
    /* Prevents horizontal scrollbars caused by animations like AOS */
    overflow-x: hidden;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-primary);
    bottom: 0;
    left: calc(50% - 40px);
    border-radius: 2px;
}

/* --- Hero and Navbar --- */
.hero-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 31, 53, 0.85), rgba(231, 76, 60, 0.15)), url(../images/IMG_3985.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 90vh;
    /* background: linear-gradient(135deg, rgba(15, 31, 53, 0.85), rgba(231, 76, 60, 0.15)), url(../images/IMG_3985.jpg) no-repeat center center; */
    /* background-size: cover; */
    /* background-attachment: fixed; */
    display: flex;
    flex-direction: column;
    justify-content: center;
  position: relative;
  min-height: 100vh;

}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
  background-color: rgba(15, 31, 53, 0.6);
  z-index: 1;
}

.hero-content {
    z-index: 2;
}


.hero-section-small {
    position: relative;
    height: 54vh;
    background: linear-gradient(135deg, rgba(15, 31, 53, 0.85), rgba(231, 76, 60, 0.15)), url(../images/IMG_3985.jpg) no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1031;
        position: fixed;
}

.navbar.navbar-scrolled {
background-color: #00000069;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    position: fixed;
    width: 100vw;
}

.navbar.navbar-scrolled .desktop-centered-logo {
    display: none;
}

/* Hide the scrolled logo by default */
#scrolled-logo {
    display: none;
}

.navbar.navbar-scrolled #scrolled-logo {
    display: block !important; /* Show the small logo on scroll */
}

.logo-image-scrolled {
    max-height: 50px; /* Control the size of the small logo */
    transition: max-height 0.3s ease;
}

.navbar.navbar-scrolled .nav-link {
color: #ffffff !important;
}

.navbar.navbar-scrolled .nav-link:hover {
    color: var(--accent-primary) !important;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-image {
    /* Set a larger initial height for the logo */
    max-height: 118px; 
    transition: max-height 0.3s ease;
}
.navbar-brand {
    /* This ensures the centered logo doesn't create extra space when hidden */
    transition: opacity 0.3s ease;
}

.navbar-scrolled .logo-image {
    max-height: 50px; /* Shrink the logo on scroll */
}

.dropdown-menu {
    background-color: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 8px;
    margin-top: 0.5rem !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: var(--text-dark);
    font-family: var(--font-body);
    transition: all 0.2s ease-in-out;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--accent-primary);
    color: var(--text-light) !important;
}

/* --- Mega Menu --- */
.mega-menu .dropdown-menu {
    width: 700px;
    padding: 2rem;
    left: auto;
    right: 0;
}

.mega-menu-title {
    font-family: var(--font-heading);
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-secondary);
}

.mega-menu .list-group-item {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    padding: 0.75rem 0;
    color: var(--text-dark);
    text-decoration: none;
}

.mega-menu .list-group-item img {
    width: 55px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.mega-menu .list-group-item span {
    font-family: var(--font-body);
    font-weight: 500;
    transition: color 0.3s ease;
}

.mega-menu .list-group-item:hover, .mega-menu .list-group-item:focus {
    background-color: transparent;
    color: var(--text-dark);
}

.mega-menu .list-group-item:hover span {
    color: var(--accent-primary);
}

.mega-menu-custom {
    width: 800px!important;
    padding: 2rem!important;; /* Keep padding */
    left: 50%!important; /* Position the left edge of the menu at the center of the viewport */
    transform: translateX(-50%)!important; /* Shift the menu back by half of its own width */
    right: auto!important; /* Reset the right property */
}

.mega-menu-links li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.mega-menu-links li a:hover {
    color: var(--accent-primary);
    background-color: var(--bg-light);
    padding-left: 10px;
}

.mega-menu-links li a.disabled {
    color: #aaa;
    pointer-events: none;
}

.mega-menu-feature {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
}

.mega-menu-feature .card {
    border: none;
    background: transparent;
}

.mega-menu-feature .card-img-top {
    border-radius: 8px;
    object-fit: cover;
    height: 150px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mega-menu .list-group {
    max-height: 190px;
    overflow-y: auto;
}

/* --- Custom Scrollbar for Mega Menu --- */
.mega-menu .list-group::-webkit-scrollbar {
    width: 8px;
}

.mega-menu .list-group::-webkit-scrollbar-track {
    background: transparent;
}

.mega-menu .list-group::-webkit-scrollbar-thumb {
    background-color: var(--accent-secondary);
    border-radius: 10px;
}

.mega-menu .list-group::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-primary);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    color: white;
}

.nav-link:hover, .nav-link.active {
    color: #c494d8!important;
    border-bottom-color: var(--accent-primary);
}

.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInFromTop 1.2s ease-out 0.5s forwards;
    opacity: 0;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* animation: fadeInFromTop 1.2s ease-out 0.5s forwards; */
    /* opacity: 0; */
}

/* Keyframes for the hero text animation */
@keyframes fadeInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero-subheadline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    /* letter-spacing: 1px; */
    /* text-transform: uppercase; */
    color: #ffffff;
    font-weight: 700;
    font-weight: 400;
}

.btn-primary {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-tertiary);
    border-color: var(--accent-tertiary);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-secondary);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: var(--text-light);
}

.btn-custom-orange {
    background-color: var(--accent-primary);
    color: var(--text-light);
    border: 2px solid var(--accent-primary);
    padding: 12px 30px;
    padding: 10px 25px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-custom-orange:hover {
    background-color: transparent;
    color: var(--accent-primary);
}

.btn-custom-blue-outline {
    background-color: transparent;
    color: #be8e00;
    border: 2px solid var(--accent-secondary);
    padding: 12px 30px;
    padding: 10px 25px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-custom-blue-outline:hover {
    background-color: var(--accent-secondary);
    color: var(--text-light);
}

/* --- Wave Divider --- */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.wave-divider .shape-fill {
    fill: var(--bg-dark);
}

/* --- Featured Treks --- */
.featured-treks-section {
    background-color: #ffc10717; /* Make background transparent to show body background */
}

.btn-filter {
    color: var(--text-dark);
    border: 2px solid var(--accent-secondary);
    margin: 0 5px;
    transition: all 0.3s ease;
    background-color: transparent;
    border-radius: 4px;
}

.btn-filter:hover, .btn-filter.active {
    background-color: var(--accent-primary);
    color: var(--text-light);
    border-color: var(--accent-primary);
}

.tour-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    height: 450px;
}

.tour-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tour-card:hover .tour-card-img {
    transform: scale(1.08);
}

.tour-card-overlay {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 31, 53, 0.95) 0%, rgba(15, 31, 53, 0.8) 40%, transparent 100%);
    padding: 1.5rem;
    color: var(--text-light);
    transform: translateY(calc(100% - 85px));
    transition: transform 0.4s ease-in-out;
}

.tour-card:hover .tour-card-overlay {
    transform: translateY(0);
}

.card-title-trek {
    color: var(--text-light);
    transition: color 0.3s ease;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.tour-card:hover .card-title-trek {
    color: white;
}

.tour-card-overlay .card-text,
.tour-card-overlay .btn {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.tour-card:hover .tour-card-overlay .card-text,
.tour-card:hover .tour-card-overlay .btn {
    opacity: 1;
}

/* --- Why Choose Us --- */
.why-us-section {
    background: transparent; /* Remove specific background image/gradient */
    color: var(--text-dark); /* Adjust text color for readability against body background */
}

.why-us-section .section-title {
    color: var(--text-dark); /* Adjust title color */
}

.why-us-section .section-title::after {
    background: var(--accent-primary);
}

.why-us-section h5 {
    color: var(--text-dark); /* Adjust heading color */
}

.why-us-section p {
    color: var(--text-dark); /* Adjust paragraph color */
}

.icon-box {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
}

.why-us-section p {
    color: rgba(255, 255, 255, 0.9);
}

/* --- Blog Section --- */
.blog-section {
    background-color: #ffc10717; /* Make background transparent to show body background */
}

.blog-card {
    background-color: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-category {
    background-color: #9b59b6;
    color: var(--text-light);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    flex-grow: 1;
    color: var(--text-dark);
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--accent-primary);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more-link {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--accent-secondary);
}

.read-more-link i {
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 0.5rem;
}

.read-more-link:hover i {
    transform: translateX(5px);
}

/* --- Final CTA --- */
.final-cta-section {
    position: relative;
    padding: 6rem 0;
    background: url('../images/cta-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Creates a simple parallax effect */
    color: var(--text-light);
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* A vibrant gradient overlay using your theme's purple tones */
    background: linear-gradient(45deg, rgba(45, 27, 78, 0.881), rgba(45, 27, 78, 0.881));
    z-index: 1;
}

.final-cta-section .container {
    position: relative;
    z-index: 2; /* Ensures content is above the overlay */
}

.final-cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.final-cta-section .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* --- Footer --- */
.footer-section {
    background-color: var(--bg-dark); /* Restore the original dark background */
    color: #B0BEC5; /* Restore the original light text color for contrast */
}

.footer-section h5 {
    color: var(--text-light); /* Restore the original light heading color */
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #B0BEC5; /* Restore the original light paragraph color */
    line-height: 1.8;
}

.footer-logo-image {
    max-height: 70px;
    margin-bottom: 1rem;
}

.footer-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-secondary);
}

.social-icons a {
    color: var(--accent-primary);
    font-size: 1.2rem;
    border: 1.5px solid var(--accent-primary);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 0.75rem;
}

.social-icons a:hover {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: var(--text-light);
    transform: translateY(-4px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: var(--accent-secondary);
}

/* --- Tour Detail Page --- */
.page-header-small {
    background-color: var(--bg-light);
    padding: 4rem 0;
    height: 56vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    border-bottom: 2px solid var(--accent-primary);
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-title {
    font-size: 3.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    text-transform: capitalize;
    font-family: var(--font-heading);
    color: white;
}

.tour-detail-section {
    background-color: var(--bg-light);
}

.tour-detail-section .section-title::after {
    left: 0;
}

.tour-detail-section .section-title {
    color: var(--text-dark);
}

.tour-description {
    color: var(--text-dark);
}

.tour-description p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tour-description ul {
    list-style-type: none;
    padding-left: 0;
}

.tour-description li {
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.tour-description li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.tour-info-box {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-box-title {
    color: var(--accent-primary);
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.tour-info-box ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-dark);
}

.tour-info-box ul li i {
    color: var(--accent-primary);
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
    margin-right: 1rem;
}

/* Style for disabled links where slug is missing */
.list-group-item.disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: rgba(245, 247, 250, 0.5);
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 2rem;
}

.breadcrumb-item a {
    color: var(--accent-primary);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
    color: var(--accent-secondary);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}

.accordion-body {
    overflow: hidden;
    background-color: var(--bg-light);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        flex-direction: column;
        align-items: center;
    }
    #main-nav-links-left, #main-nav-links-right {
        flex-basis: 100%;
        justify-content: center;
    }
    .navbar.navbar-scrolled .navbar-collapse {
        flex-direction: row;
        justify-content: center;
    }
    .navbar.navbar-scrolled #main-nav-links-left, .navbar.navbar-scrolled #main-nav-links-right {
        flex-basis: auto;
    }
}

/* Apply a background to the navbar on mobile devices */
@media (max-width: 991.98px) {
    .navbar.navbar-mobile-expanded {
        background: rgba(0, 0, 0, 0.7);
        transition: background-color 0.2s ease-in-out;
        position: absolute;
        width: 100%;
        top: 0;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 767.98px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-headline .text-orange {
        font-size: 2.5rem;
    }

    .hero-subheadline {
        font-size: 0.8rem;
        text-shadow: 1px 1px 4px rgb(0 0 0);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .mega-menu .dropdown-menu {
        width: 100%;
    }
    
    .blog-card .card-img-top {
        height: 180px;
    }
    
    .tour-info-box {
        margin-bottom: 1.5rem;
    }
}

/* --- Spam Prevention --- */
.honeypot-field {
    position: absolute;
    left: -5000px;
    top: -5000px;
}

/* --- Form Styling --- */
.form-label {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    border: 1.5px solid #E0E0E0;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    background-color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.15);
    background-color: var(--text-light);
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.3rem;
    border-color: #D0D0D0;
}

.form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-check-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 0.25rem rgba(231, 76, 60, 0.25);
}

.form-check-label {
    color: var(--text-dark);
    margin-left: 0.5rem;
    cursor: pointer;
}

.contact-form-wrapper {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.intro-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.intro-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.intro-image-wrapper:hover img {
    transform: scale(1.05);
}

.lead {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.alert {
    border-radius: 8px;
    border: none;
    padding: 1rem 1.25rem;
}

.alert-success {
    background-color: #D4EDDA;
    color: #155724;
}

.alert-danger {
    background-color: #F8D7DA;
    color: #721C24;
}

/* --- Gallery and Lightbox --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- Highlight Card --- */
.highlight-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.highlight-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

.highlight-card .card-body {
    padding: 1.5rem;
    background-color: var(--text-light);
}

.highlight-card .card-title {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.highlight-card .card-img-top {
    height: 220px; /* Fixed height for all images */
    object-fit: cover;
}
.highlight-card:hover {
    transform: translateY(-5px);
}

/* --- Himalayan Calling Section Enhancements --- */
.himalayan-calling-section {
    background-color: #ffc10717; /* Make background transparent to show body background */
    position: relative;
}
/* The ::before pseudo-element for the pattern remains */
.himalayan-calling-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle geometric pattern for background texture */
    background-image: url('data:image/svg+xml,%3Csvg width="6" height="6" viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%239C92AC" fill-opacity="0.1" fill-rule="evenodd"%3E%3Cpath d="M5 0h1L0 6V5zM6 5v1H5z"/%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.1;
    z-index: 0;
}

.himalayan-calling-section .container > .row {
    position: relative;
    z-index: 1; /* Ensure content is above the pattern */
}

/* Adjust the underline for left-aligned section titles */
.section-title-left::after {
    left: 0 !important; /* Override center alignment for this specific title */
}

.image-frame-effect {
    border: 8px solid var(--text-light); /* White border to frame the image */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    transition: transform 0.3s ease-in-out; /* Smooth transition for hover effect */
}
.image-frame-effect:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
}
/* Modern Blog Card Styles */
.blog-card {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    /* Remove default border */
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-card-img-container {
    position: relative;
    overflow: hidden;
}

.blog-card-img-container img {
    transition: transform 0.4s ease-out;
}

.blog-card:hover .blog-card-img-container img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-category {
    font-size: 0.85rem;

    margin-bottom: 0.75rem;
    display: inline-block;
}

.blog-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background-color: hsl(39.24deg 86.85% 58.24%);
    /* A light, neutral background */
    color: #475569;
    /* A calm, readable text color */
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}