/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: #434A54;
    background-color: #F5F7FA;
}

/* Navbar Styles - Updated with tricolor theme */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(90deg, rgba(255,153,51,0.1) 0%, rgba(255,255,255,0.1) 50%, rgba(19,136,8,0.1) 100%);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.8rem;
    color: #434A54;
    display: flex;
    align-items: center;
}

.navbar-brand:hover .brand-text {
    animation: animate__rubberBand;
    animation-duration: 1s;
}

/* Updated brand text to match tricolor theme */
.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    animation: textGradient 5s linear infinite;
    letter-spacing: -0.5px;
    margin-left: 5px;
}

@keyframes textGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Enhanced navbar styles with hover effects */
.navbar-nav .nav-link {
    position: relative;
    margin: 0 10px;
    padding: 8px 0;
    color: #434A54;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF9933, #138808);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #FF9933;
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

/* Active nav item */
.navbar-nav .nav-item.active .nav-link {
    font-weight: 600;
    color: #FF9933;
}

.navbar-nav .nav-item.active .nav-link::before {
    width: 100%;
    background: linear-gradient(90deg, #FF9933, #138808);
}

/* Login button hover effect */
.navbar-nav .btn-primary {
    background: linear-gradient(135deg, #FF9933 0%, #FF7E33 100%);
    border-color: #FF9933;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}

.navbar-nav .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 153, 51, 0.3);
}

.navbar-nav .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #138808 0%, #0d7006 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.navbar-nav .btn-primary:hover::after {
    opacity: 1;
}

.navbar-nav .btn-primary i {
    transition: transform 0.3s ease;
}

.navbar-nav .btn-primary:hover i {
    transform: rotate(10deg) scale(1.1);
}

/* Hero Section - Updated with tricolor gradient */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    clip-path: polygon(
        0% 0%,                    /* top left */
        100% 0%,                  /* top right */
        100% 70%,                 /* right indent start */
        85% 85%,                  /* right corner */
        70% 85%,                  /* right curve */
        55% 95%,                  /* right curve center */
        45% 95%,                  /* left curve center */
        30% 85%,                  /* left curve */
        15% 85%,                  /* left corner */
        0% 70%                    /* left indent end */
    );
    border: none;
    margin-bottom: -40px;
}
/* Add ornamental pillars on sides */
.hero-ornamental-pillar {
    position: absolute;
    bottom: 0;
    width: 30px;
    height: 200px;
    background: linear-gradient(to bottom, 
        transparent 0%,
        rgba(255,255,255,0.1) 10%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0.1) 90%,
        transparent 100%);
    z-index: 2;
    pointer-events: none;
}
/* Decorative dome ornament at top center */
.hero-section::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 60px;
    background: radial-gradient(ellipse at bottom, rgba(255,153,51,0.4) 0%, rgba(255,255,255,0.2) 70%, transparent 100%);
    border-radius: 60px 60px 0 0;
    z-index: 3;
    pointer-events: none;
}

/* Decorative side columns */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(255,153,51,0.2) 0px,
        rgba(255,153,51,0.2) 10px,
        rgba(255,255,255,0.2) 10px,
        rgba(255,255,255,0.2) 20px,
        rgba(19,136,8,0.2) 20px,
        rgba(19,136,8,0.2) 30px
    );
    z-index: 3;
    pointer-events: none;
}
.hero-ornamental-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,153,51,0.3), transparent);
}
.hero-ornamental-pillar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 15px;
    background: radial-gradient(ellipse at top, rgba(19,136,8,0.3), transparent);
}

.hero-pillar-left {
    left: 7%;
}

.hero-pillar-right {
    right: 7%;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 153, 51, 0.5) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(19, 136, 8, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.25);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-box .form-control {
    border: none;
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.9);
}

.search-box .btn {
    border-radius: 0 5px 5px 0;
}

/* Add text shadow to improve readability of white text */
.hero-content h1, 
.hero-content p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Guarantee buttons are properly visible - Updated colors */
.hero-content .btn-outline-light {
    border: 2px solid #fff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .btn-primary {
    font-weight: 600;
}

/* Add this to your CSS for enhanced button effects */
.hero-content .btn {
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.hero-content .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.hero-content .btn:active {
    transform: scale(0.96);
}

.hero-content .btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0.3;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

/* Ensure 3D model doesn't overflow on mobile */
@media (max-width: 768px) {
    #canvas-container {
        height: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Apple-style text animation for hero heading - with better sync */
.hero-heading-animated {
  display: inline-block;
  overflow: hidden;
  position: relative;
}

.hero-heading-animated span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation-name: charAnimation;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  filter: brightness(1.2); /* Make all text brighter */
}

/* Add a subtle color variation with India's tricolor */
.hero-heading-animated span {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* Stronger shadow for better contrast */
  font-weight: 700; /* Bolder text */
}

/* India flag colors: Saffron, White, Green */
.hero-heading-animated .char-saffron {
  color: #FF9933; /* Saffron (India flag top color) */
  filter: drop-shadow(0 0 3px rgba(255, 153, 51, 0.6));
}

.hero-heading-animated .char-white {
  color: #FFFFFF; /* White (India flag middle color) */
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7));
}

.hero-heading-animated .char-green {
  color: #138808; /* Green (India flag bottom color) */
  filter: drop-shadow(0 0 3px rgba(19, 136, 8, 0.6));
}

@keyframes charAnimation {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Make sure text remains readable with text shadow but more prominent */
.hero-heading-animated span {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Stronger shadow */
  font-weight: 700; /* Bolder text */
}

/* Add continuous glow effects for letters in a more synchronized way */
@keyframes glowPulse {
  0% { filter: brightness(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3)); }
  50% { filter: brightness(1.4) drop-shadow(0 0 5px rgba(255, 255, 255, 0.6)); }
  100% { filter: brightness(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.3)); }
}

/* Add special animation for white characters to make them more visible */
@keyframes whiteGlowPulse {
  0% { filter: brightness(1) drop-shadow(0 0 3px rgba(0, 0, 0, 0.5)); }
  50% { filter: brightness(1.4) drop-shadow(0 0 5px rgba(0, 0, 0, 0.7)); }
  100% { filter: brightness(1) drop-shadow(0 0 3px rgba(0, 0, 0, 0.5)); }
}

.hero-heading-animated span.animated {
  animation: glowPulse 3s ease-in-out infinite;
}

.hero-heading-animated .char-white.animated {
  animation: whiteGlowPulse 3s ease-in-out infinite;
}

/* Cards - Updated with subtle tricolor accents */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
    height: 100%;
    border-top: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #434A54;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Buttons - Updated with tricolor theme */
.btn-primary {
    background: linear-gradient(135deg, #FF9933 0%, #FF7E33 100%);
    border-color: #FF9933;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #FF7E33 0%, #FF6633 100%);
    border-color: #FF7E33;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 153, 51, 0.3);
    outline: none !important;
    animation: animate__pulse;
    animation-duration: 0.5s;
}

.btn-primary:active:focus {
    box-shadow: none;
}

.btn-secondary {
    background-color: #F5F7FA;
    border-color: #138808;
    color: #138808;
    transition: all 0.3s ease;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #138808;
    border-color: #138808;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(19, 136, 8, 0.2);
    outline: none !important;
    animation: animate__pulse;
    animation-duration: 0.5s;
}

.btn-secondary:active:focus {
    box-shadow: none;
}

.btn-outline-light {
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background-color: #fff;
    color: #FF9933;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
    outline: none !important;
}

.btn-outline-light:active:focus {
    box-shadow: none;
}

/* Tour package toggle button styling */
.btn-group .btn-outline-primary {
    color: #434A54;
    border-color: #FF9933;
}

.btn-group .btn-outline-primary.active,
.btn-group .btn-outline-primary:hover {
    background: linear-gradient(135deg, #FF9933, #FF7E33);
    border-color: #FF7E33;
    color: #fff;
}

/* Price difference styling */
.package-premium .alert-success {
    background-color: rgba(255, 153, 51, 0.1);
    border-color: #FF9933;
}

.package-standard .alert-success {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ccc;
}

.package-budget .alert-success {
    background-color: rgba(19, 136, 8, 0.1);
    border-color: #138808;
}

/* Animation for package switching */
.tour-option {
    transition: all 0.3s ease;
}

/* Popular Destinations */
.img-fluid {
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Add styles for popular destination images */
.popular-destination-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.5s ease;
}

.popular-destination-img:hover {
    transform: scale(1.03);
    transition: transform 0.5s ease;
    border-image: linear-gradient(90deg, #FF9933, transparent, #138808) 1;
}

.popular-destination-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #434A54;
    margin-bottom: 20px;
    text-align: center;
}

/* Popular Destinations - Modern Card Design */
.destination-card {
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: none;
    position: relative;
}

.destination-image-container {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.destination-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.destination-card:hover .destination-image {
    transform: scale(1.08);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%, rgba(0,0,0,0.2) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.destination-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.destination-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-desc {
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.destination-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

/* Toast notification style */
.destination-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    z-index: 1050;
}

.destination-toast-content {
    display: flex;
    align-items: center;
}

.destination-toast i {
    color: #4CAF50;
    font-size: 1.2rem;
    margin-right: 10px;
}

.toast-close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    margin-left: 15px;
    cursor: pointer;
}

/* Gallery modal styles */
.destination-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1060;
    padding: 20px;
}

.gallery-modal-content {
    background-color: #fff;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.gallery-header h4 {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
}

.gallery-body {
    padding: 20px;
    flex-grow: 1;
    overflow-y: auto;
}

.gallery-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    color: #777;
}

.gallery-loading i {
    font-size: 2rem;
    color: #FF9933;
    margin-bottom: 15px;
}

.added {
    background-color: #4CAF50 !important;
    border-color: #4CAF50 !important;
}

/* List Group */
.list-group-item {
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 10px 0;
    position: relative;
    padding-left: 20px;
}

.list-group-item:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FF9933;
}

.list-group-item:nth-child(even):before {
    color: #138808;
}

/* Headings */
h2 {
    font-weight: bold;
    margin: 40px 0 20px;
    color: #434A54;
    position: relative;
}

/* Add subtle tricolor accent to headings */
h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
}

/* Responsive Design */
@media (max-width: 768px) {
    .jumbotron {
        padding: 100px 0;
    }
    
    .search-bar {
        margin: -30px 15px 30px;
    }
}

/* Category Cards */
.category-card {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-card .card-title {
    margin-bottom: 0.5rem;
}

.category-card .card-text {
    margin-bottom: 1rem;
}

.category-card .btn {
    align-self: flex-start;
}

/* Review Cards - Updated with tricolor accents */
.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 3px solid #FF9933;
}

.review-card:nth-child(2n) {
    border-left: 3px solid #138808;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #FF9933;
}

.review-meta {
    flex-grow: 1;
}

.reviewer-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #434A54;
}

.review-rating {
    color: #FF9933;
    margin-top: 5px;
}

.review-rating i {
    margin-right: 2px;
}

.review-content {
    padding-left: 65px;
}

.review-title {
    color: #FF9933;
    font-weight: 600;
    margin-bottom: 10px;
}

.review-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-date {
    color: #8c8c8c;
    font-size: 0.85rem;
    font-style: italic;
}

/* See More Button - Updated with tricolor */
.see-more-btn {
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: #434A54;
}

.see-more-btn:hover {
    background-image: linear-gradient(transparent, transparent), linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
    background-origin: border-box;
    background-clip: border-box, border-box;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.see-more-btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.see-more-btn:hover i {
    transform: translateY(2px);
}

#more-reviews {
    transition: all 0.5s ease;
}

/* Performance Optimizations */
.animate__animated {
    will-change: transform, opacity;
}

/* Standardize category card animations */
.category-card {
    animation-duration: 0.6s;
}

/* Use hardware acceleration for smoother animations */
.review-card, 
.card, 
.popular-destination-img,
.animate__animated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce painting area for card hover effects */
.card:hover {
    transform: translateY(-5px) translateZ(0);
}

/* Optimize animations */
@media (prefers-reduced-motion: reduce) {
    .animate__animated {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* Remove animations on mobile for better performance */
@media (max-width: 768px) {
    .animate__delay-1s,
    .animate__delay-2s,
    .animate__delay-3s {
        animation-delay: 0s !important;
    }
    
    .popular-destination-img:hover {
        transform: none;
    }
    
    .review-card:hover {
        transform: none;
    }
}

/* Itinerary Details Styling */
.itinerary-details {
    margin-bottom: 30px;
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    height: 100%;
    width: 2px;
    background: linear-gradient(180deg, #FF9933 0%, #138808 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #FF9933;
    left: -30px;
    top: 3px;
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-marker {
    border-color: #138808;
}

.timeline-content {
    padding-left: 10px;
}

.timeline-title {
    margin-bottom: 5px;
    font-weight: 600;
    color: #434A54;
}

/* Footer Styles */
.heritage-footer {
    background-color: #212529;
    color: #f8f9fa;
    position: relative;
}

.footer-heading {
    position: relative;
    padding-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
}

.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF9933;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 20px;
}

.footer-links a:hover::before {
    background-color: #138808;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #FF9933, #FF7E33);
    color: #fff;
    transform: translateY(-3px);
}

.newsletter-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    height: 45px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    font-size: 0.9rem;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-bottom-links li {
    margin-left: 20px;
}

.footer-bottom-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Tricolor border at the bottom of the footer */
.tricolor-border {
    display: flex;
    height: 5px;
    width: 100%;
}

.orange-section {
    flex: 1;
    background-color: #FF9933;
}

.white-section {
    flex: 1;
    background-color: #FFFFFF;
}

.green-section {
    flex: 1;
    background-color: #138808;
}

@media (max-width: 768px) {
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 10px;
    }
    
    .footer-bottom-links li {
        margin-left: 0;
        margin-right: 20px;
    }
}

/* Virtual Tour Styles */
.virtual-tour-btn {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.virtual-tour-btn:hover {
    background-color: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

.virtual-tour-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.virtual-tour-modal.visible {
    opacity: 1;
}

.virtual-tour-content {
    width: 90%;
    height: 90%;
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.virtual-tour-header {
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(255,153,51,0.8) 0%, rgba(19,136,8,0.8) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    z-index: 2;
}

.virtual-tour-header h3 {
    margin: 0;
    font-size: 1.4rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.virtual-tour-controls {
    display: flex;
    gap: 10px;
}

.panorama-container {
    flex-grow: 1;
    width: 100%;
    position: relative;
}

.tour-info-panel {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 8px;
    padding: 15px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.tour-info-panel:hover {
    opacity: 1;
}

.tour-info-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #FF9933;
}

.tour-info-content p {
    font-size: 13px;
    margin-bottom: 10px;
}

.tour-controls-guide {
    font-size: 12px;
    line-height: 1.7;
    opacity: 0.8;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .virtual-tour-content {
        width: 95%;
        height: 80%;
    }
    
    .tour-info-panel {
        width: 200px;
        bottom: 10px;
        right: 10px;
    }
    
    .virtual-tour-header h3 {
        font-size: 1.1rem;
    }
}

/* Fix for panorama viewer */
.pnlm-container {
    background: #000;
}

.pnlm-compass {
    width: 40px;
    height: 40px;
}

/* Add this to your CSS file */
.panorama-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    background-color: rgba(0,0,0,0.7);
    z-index: 1;
}

.panorama-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
    background-color: rgba(0,0,0,0.85);
    z-index: 1;
}

.panorama-error i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.panorama-error h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.panorama-error p {
    margin-bottom: 0.5rem;
    max-width: 400px;
}

.panorama-error .btn {
    margin-top: 1rem;
}

/* Interactive Heritage Map Styles */
.heritage-map-container {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.map-sidebar {
    height: 500px;
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}
.map-filters {
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.map-filters h5 {
    position: relative;
    padding-bottom: 8px;
    color: #434A54;
    font-weight: 600;
    margin-bottom: 15px;
}

.map-filters h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #FF9933, #138808);
}
/* Better filter icons */
.filter-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    border: 2px solid transparent;
}

/* Enhanced filter checkbox items */
.custom-control {
    padding-left: 2.5rem;
    margin-bottom: 12px;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.custom-control:hover {
    background-color: rgba(0,0,0,0.03);
}

.custom-control:hover .filter-icon {
    transform: scale(1.1);
}

.custom-control-input:checked ~ .filter-icon {
    border-color: #FF9933;
}

/* Custom checkbox styles */
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #FF9933;
    border-color: #FF9933;
}

.custom-control-label {
    flex-grow: 1;
    padding-left: 5px;
    font-size: 0.95rem;
    cursor: pointer;
}

/* Region buttons with improved image effects */
.popular-regions h5 {
    position: relative;
    padding-bottom: 8px;
    color: #434A54;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
}

.popular-regions h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #FF9933, #138808);
}

.region-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 8px 10px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    text-align: left;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
}

.region-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.region-btn:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.region-btn:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}



.region-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Better active states for region buttons */
.region-btn.active {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.region-btn.active::before {
    opacity: 0.3;
}

.region-btn.active .region-img {
    transform: scale(1.1);
    border-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.region-btn.active[data-region="north"]::before {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/Taj Mahal Hero Image.png');
}

.region-btn.active[data-region="south"]::before {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/meenakshi-temple.jpg');
}

.region-btn.active[data-region="east"]::before {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/sun_temple_konark.jpg');
}

.region-btn.active[data-region="west"]::before {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/AdobeStock_505662817_Preview.jpeg');
}

.region-btn.active[data-region="central"]::before {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/khajuraho.jpg');
}

.site-info-image {
    height: 130px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

#site-name {
    margin-top: 12px;
    font-weight: 600;
    color: #434A54;
    font-size: 1rem;
}
#site-description {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.site-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.site-info-image:hover img {
    transform: scale(1.05);
}


/* Custom marker styles */
.heritage-marker {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
/* Site information section */
.map-info {
    padding-top: 15px;
}

.map-info h5 {
    position: relative;
    padding-bottom: 8px;
    color: #434A54;
    font-weight: 600;
    margin-bottom: 15px;
}

.map-info h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #FF9933, #138808);
}
/* Site information section */
.map-info {
    padding-top: 15px;
}

.map-info h5 {
    position: relative;
    padding-bottom: 8px;
    color: #434A54;
    font-weight: 600;
    margin-bottom: 15px;
}

.map-info h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #FF9933, #138808);
}
#site-info-placeholder {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.02);
    border-radius: 8px;
    border: 1px dashed rgba(0,0,0,0.1);
}
.badge {
    padding: 5px 8px;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}
.heritage-marker.unesco {
    background-color: #FF9933;
}

.heritage-marker.ancient {
    background-color: #138808;
}

.heritage-marker.museum {
    background-color: #f0c14b;
}

.heritage-marker.monument {
    background-color: #4a90e2;
}
/* Enhanced site more link */
#site-more-link {
    color: #FF9933;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.85rem;
}

#site-more-link:hover {
    color: #138808;
    text-decoration: none;
}

/* Leaflet popup customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.leaflet-popup-content {
    margin: 10px 12px;
    font-family: 'Montserrat', sans-serif;
}

.leaflet-popup-content h6 {
    margin: 0 0 5px;
    font-weight: 600;
}

.leaflet-popup-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Category badges for the site info panel */
#site-category.badge-unesco {
    background-color: #FF9933;
}

#site-category.badge-ancient {
    background-color: #138808;
}

#site-category.badge-museum {
    background-color: #f0c14b;
}

#site-category.badge-monument {
    background-color: #4a90e2;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .heritage-map-container, .map-sidebar {
        height: 400px;
    }
    
    .map-sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .heritage-map-container {
        height: 350px;
    }
    
    .map-sidebar {
        height: auto;
        max-height: 350px;
    }
    
    .site-info-image {
        height: 100px;
    }
}
/* Enhanced Gallery Styles - Add this to the end of your existing app.css file */
.gallery-main {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gallery-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-size: 14px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 5;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.8);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-thumbnails {
    display: flex;
    overflow-x: auto;
    background-color: #f5f5f5;
    padding: 10px;
    gap: 10px;
}

.gallery-thumbnail {
    flex: 0 0 100px;
    height: 70px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnail.active {
    border-color: #FF9933;
}

.gallery-thumbnail:hover:not(.active) {
    border-color: #138808;
}

/* Make the gallery modal properly visible */
.destination-gallery-modal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.destination-gallery-modal.visible {
    opacity: 1;
    visibility: visible;
}