body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}
/* Header Styling */
 header {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

nav {

    background-color: #333;
    color: white;
}

.navbar-link {
    text-transform: uppercase; /* All caps */
    text-shadow: 1px 1px 2px #000; /* Subtle text shadow */
    transition: color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover */
  }
  
  /* Hover effect: glowing or highlighting */
  .navbar-link:hover {
    color: #ffc107; /* Highlight color: Bootstrap yellow */
    text-shadow: 0 0 10px #ffc107, 0 0 20px #ffc107, 0 0 30px #ffc107; /* Glowing effect */
  }
.logo {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f8d947;
    margin: 0;
}

.blur-text {
    color: transparent;
    text-shadow: 0 0 8px rgba(0,0,0,0.5);
    filter: blur(4px);
}

.logo span {
    color: #ffffff;
}

.tagline {
    font-size: 1rem;
    font-weight: 300;
    color: #adb5bd;
    margin-top: 10px;
}

/* Section Styling */
section {
    padding: 40px 20px;
    margin-bottom: 30px;
}

section:nth-of-type(odd) {
    background-color: #ffffff;
}

section:nth-of-type(even) {
    background-color: #f1f3f5;
}

/* Stats Cards */
.stats-card {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}

.stats-card .icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 50px;
    color: rgba(8, 3, 62, 0.953);
}

.stats-card h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 40px;
}

.stats-card p {
    margin: 5px 0;
}

.trend-indicator {
    font-size: 0.9rem;
    position: absolute;
    top: 10px;
    right: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.trend-indicator i {
    margin-left: 5px;
}

.trend-indicator.text-success {
    color: #28a745;
}

.trend-indicator.text-danger {
    color: #dc3545;
}

/* Colors for each card */
.stats-card.bg-blue {
    background-color: #d6e9ff;
}

.stats-card.bg-green {
    background-color: #dfffe2;
}

.stats-card.bg-yellow {
    background-color: #fff4ce;
}

.stats-card.bg-pink {
    background-color: #ffe6f2;
}

/* Search Section */
.search-section {
    padding: 40px 20px;
    background-color: #007bff;
    color: white;
    border: 1px solid #dee2e6;
    border-radius: 0;
    padding-bottom: 20px !important;
}

.search-section .input-group {
    max-width: 600px;
    margin: auto;
}

.search-section input {
    border-radius: 0;
}

.search-section button {
    border-radius: 0;
}


/* Review Cards */
.review-card {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.review-card h5 {
    margin-bottom: 10px;
    font-weight: bold;
}

.review-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-info i {
    font-size: 20px;
    color: #007bff;
}

.review-info p {
    margin: 0;
}

.rating .stars {
    color: #f8d947;
}

.review-card small {
    display: block;
    margin-top: 15px;
    font-size: 12px;
    color: #adb5bd;
}

footer {
    background: #333; /* Dark background for contrast */
    color: #fff; /* White text for readability */
    font-size: 0.9rem;
}

footer h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

footer a {
    color: #f8d947; /* Gold color for links */
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff; /* Change link color to white on hover */
}

footer .bi {
    font-size: 1.5rem;
}

footer hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subpage-header {
    background-color: #595757;
    color: white;
    padding: 10px 20px;
    text-align: center;
}

.subpage-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.policy-container {
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}   
/* Button Styling */
.btn-submit-review {
    display: inline-block;
    background-color: #fafaf8 !important; /* Bright Yellow for Contrast */
    color: #555353 !important;/* Dark Text for Readability */
    font-size: 1rem; /* Font Size */
    font-weight: bold;
    padding: 12px 24px; /* Padding */
    border-radius: 8px; /* Rounded Corners */
    text-decoration: none; /* Remove Underline */
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle Shadow */
}

.btn-submit-review:hover {
    background-color: #ffd700; /* Slightly Brighter Yellow on Hover */
    transform: translateY(-3px); /* Slight Lift on Hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Deeper Shadow */
}

.btn-submit-review i {
    margin-right: 10px; /* Spacing between Icon and Text */
}


.search-result-categories>li>a {
    color: #b6b6b6;
    font-weight: 400
}

.search-result-categories>li>a:hover {
    background-color: #ddd;
    color: #555
}

.search-result-categories>li>a>.glyphicon {
    margin-right: 5px
}

.search-result-categories>li>a>.badge {
    float: right
}

.search-results-count {
    margin-top: 10px
}

.search-result-item {
    padding: 20px;
    background-color: #fff;
    border-radius: 4px
}

.search-result-item:after,
.search-result-item:before {
    content: " ";
    display: table
}

.search-result-item:after {
    clear: both
}

.search-result-item .image-link {
    display: block;
    overflow: hidden;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px
}

@media (min-width:768px) {
    .search-result-item .image-link {
        display: inline-block;
        margin: -20px 0 -20px -20px;
        float: left;
        width: 200px
    }
}

@media (max-width:767px) {
    .search-result-item .image-link {
        max-height: 200px
    }
}

.search-result-item .image {
    max-width: 100%
}

.search-result-item .info {
    margin-top: 2px;
    font-size: 12px;
    color: #999
}

.search-result-item .description {
    font-size: 13px
}

.search-result-item+.search-result-item {
    margin-top: 20px
}

@media (min-width:768px) {
    .search-result-item-body {
        
    }
}

.search-result {
    /*border: 2px solid #515151; /* Blue border for visibility */
    padding: 20px; /* Adds space inside the div for better readability */
    margin: 10px 0; /* Adds space between search results */
    border-radius: 8px; /* Rounded corners for a smoother look */
    background-color: #ffffff; /* White background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Smooth transitions for interactions */
}

.search-result:hover {
    transform: translateY(-5px); /* Slightly raises the div on hover */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Enhances shadow on hover for a "lifted" effect */
}


.search-result-stars {
    font-size: 2vw; /* Scales the font size to 2% of the viewport width */
}

.search-blur-overlay-container {
    display: flex;
}

.search-blur-message {
    position: relative;
    top: -40px; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust position to be truly centered */
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    color: #FFF; /* White text */
    font-size: 24px; /* Larger text size */
    font-weight: bold; /* Bolder font */
    text-shadow: 
        1px 1px 2px black, /* Drop shadow for depth */
        0 0 25px blue, /* Blue glow */
        0 0 5px darkblue; /* Intense inner blue for more glow effect */
    z-index: 100;
}

/* Optional: Set minimum and maximum sizes to ensure readability and aesthetics */
@media (max-width: 570px) {
    .search-result-rating-headings {
        font-size: calc(2vw + 2px); /* Ensures a minimum size on very small screens */
        display: inline;
        float: left

    }
    .search-result-stars {
        font-size: calc(2vw + 2px); /* Ensures a minimum size on very small screens */
        display: inline;
        float: right;
    }

    .search-result-review-count {
 
        float: left;
    }

    .search-result-profile-button {
        display: block;
        width: 100%;
    }
    .container {
        padding:0;
        margin:0;
      }
      .search-result-actions {
        text-align: right !important;
    }

}

@media (min-width: 1200px) {
    .search-result-stars {
        font-size: calc(2vw + 1px); /* Caps the size on very large screens */
    }
    .search-result-actions {
        text-align: right !important;
    }
}


.search-result-item-heading {
    font-weight: 400
}

.search-result-item-heading>a {
    color: #555
}

.text-secondary, .text-secondary-hover:hover {
    color: #59b73f !important;
}
.display-25 {
    font-size: 1.4rem;
}

.text-primary, .text-primary-hover:hover {
    color: #ff712a !important;
}

p {
    margin: 0 0 20px;
}

.mb-1-6, .my-1-6 {
    margin-bottom: 1.6rem;
}



.ruler {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 60px;
    background-color: #DDD; /* Darker shade */
    border: 2px solid #555; /* Darker border */
    border-radius: 5px;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4); /* Darker shadow */
    display: flex;
  }
  .mark {
    position: absolute;
    height: 100%;
    width: 2px;
    background-color: #333; /* Darker color for marks */
  }
  .mark.half {
    height: 50%; /* Half marks are shorter */
    top: 50%;
  }
  .label {
    position: absolute;
    z-index: 1;
    top: 60px; /* Lowered to accommodate inside the ruler */
    margin-left: -15px;
    width: 30px;
    text-align: center;
    font-family: Arial, sans-serif;
    color: rgb(8, 8, 8); /* Improved visibility on darker backgrounds */
  }

  .zone-label {
        position: absolute;
        z-index: 1;
        top: 60px; /* Lowered to accommodate inside the ruler */
        margin-left: -15px;
        width: 30px;
        text-align: center;
        color: rgb(8, 8, 8); /* Improved visibility on darker backgrounds */
        font-size: 12px; /* Smaller font size for the unit */
        letter-spacing: 1px; /* Slight increase in spacing between letters */
  }
  .highlight {
    position: absolute;
    height: 100%;
    background-color: #fe00fa6f; /* Green for the highlight */
    z-index: 1;
  }
  .callout {
    position: absolute;
    top: -10px;
    margin-left: -5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 10px 0 10px;
    border-color: #FF9800 transparent transparent transparent;
    z-index: 1
  }
  .callout-text {
    position: absolute;
    top: -40px;
    left: -50px;
    width: 100px;
    text-align: left;
    font-family: Arial, sans-serif;
    color: #FF9800; /* Orange text for visibility */
  }


  .measurement {
    margin-left: auto;
    display: flex; /* Use flexbox for easy centering */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center-align children horizontally */
    justify-content: center; /* Center-align children vertically */
    font-family: 'Arial', sans-serif; /* Modern, legible font */
}

.number {
    font-weight: 700;
    font-size: 24px; /* Smaller size for the number */
    color: #333; /* Dark grey color for prominence */
}

.unit {
    font-size: 12px; /* Smaller font size for the unit */
    color: #777; /* Lighter grey for a more subdued look */
    letter-spacing: 1px; /* Slight increase in spacing between letters */
}
@media (min-width:768px) {
    .search-result-item-heading {
        margin: 0
    }
}

/* Button Positioning */


/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-submit-review2 {
        position: static; /* Default position in mobile view */
        margin-top: 20px; /* Add spacing below the logo */
        display: block; /* Full-width button */
        margin-left: auto;
        margin-right: auto;
    }

}