html {
  scroll-behavior: smooth;
}

.navbar {
    background-color: #0000ff !important; /* Deep Blue */
}
.nav-link {
    color: white;
}
.nav-link:hover {
    color: black;
    background-color: white;
}
.profile-pic {
    display: inline-block;
    vertical-align: middle;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.profile-menu .dropdown-menu {
    right: 0;
    left: auto;
    top: 100%;
    margin-top: 5px;
    position: absolute;
}

.carousel-item img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-carousel {
  max-height: 400px; /* Increase the height for visibility */
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden; /* Prevents overflow */
}

.hero-section img {
  width: 100%; /* Fill container's width */
  max-height: 600px; /* Adjust as needed */
  object-fit: cover; /* Maintain aspect ratio */
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white; /* Adjust based on image contrast */
  text-align: center;
  padding: 20px; /* Space around text */
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Body Styles */
body {
  background-color: #f8f9fa; /* Light background color */
}

/* Commodity Image Hover Effect */
.commodity-img {
  transition: transform 0.3s; /* Smooth scaling */
}

.commodity-img:hover {
  transform: scale(1.1); /* Scale up on hover */
}

/* Weather Section Styles */
#weather-section {
  background-color: #f8f9fa; /* Light background for contrast */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.weather-card {
    background-color: #f0f8ff; /* Light blue background for contrast */
    border-radius: 8px;
    padding: 15px;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow */
}

.weather-icon {
    background-color: rgba(51, 153, 255, 0.2); /* Light blue background for the icon */
    border-radius: 50%; /* Make it circular */
    padding: 10px; /* Space around the icon */
    max-height: 70px; /* Adjust height as needed */
    margin-bottom: 10px; /* Space below the icon */
}


.weather-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.weather-icon {
  max-height: 50px; /* Size of weather icons */
  margin-bottom: 10px; /* Space below icons */
}

.temperature {
  font-weight: bold;
  font-size: 1.1rem; /* Size of temperature text */
}

/* What We Do Section Styles */
#what-we-do {
  background-color: #f0f8ff; /* Light blue background */
  padding: 40px 20px; /* Add padding for spacing */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

h2 {
  color: #3399ff; /* Light blue for headings */
  font-weight: bold;
}

.service-card {
  border: 1px solid #3399ff; /* Light blue border */
  border-radius: 8px;
  padding: 20px;
  margin: 10px 0; /* Margin for spacing */
  background-color: #ffffff; /* White background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow */
  transition: transform 0.3s, box-shadow 0.3s; /* Animation on hover */
  position: relative; /* For pseudo-element positioning */
  width: 100%; /* Full width */
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(51, 153, 255, 0.1); /* Light blue overlay */
  opacity: 0; /* Initially hidden */
  transition: opacity 0.3s;
  border-radius: 8px; /* Match border radius */
}

.service-card:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

.service-card:hover::before {
  opacity: 1; /* Show overlay on hover */
}

h5 {
  color: #3399ff; /* Light blue for card headings */
  font-weight: bold;
  margin-bottom: 10px; /* Space between heading and text */
}

.footer {
  width: 100%; /* Ensures full width */
  background-color: blue;
}

.container {
  max-width: 100%; /* Ensure it takes full width */
  padding-left: 0; /* Remove left padding */
  padding-right: 0; /* Remove right padding */
}

.footer h5 {
  margin-bottom: 15px; /* Space below headings */
  font-weight: bold; /* Bold for emphasis */
}

.footer a {
  color: #ffffff; /* White text for links */
  text-decoration: none; /* Remove underline */
}

.footer a:hover {
  text-decoration: underline; /* Underline on hover */
}

.carousel-item img {
  max-width: 100%; /* Ensure the image fits the width */
    max-height: 500px; /* Set a maximum height */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Show the entire image */
}

#our-partners {
  background-color: #f0f8ff; /* Light blue background */
  padding: 40px 20px; /* Add padding for spacing */
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.partners-wrapper {
  display: flex; /* Use flexbox for layout */
  justify-content: center; /* Center the items horizontally */
  flex-wrap: wrap; /* Allow wrapping to next line if needed */
  gap: 20px; /* Space between cards */
}

.partner-card {
  text-align: center; /* Center text */
  min-width: 150px; /* Set a minimum width for each card */
}

.partner-card img {
  max-height: 60px; /* Adjust max height for logos */
  max-width: 100%; /* Ensure logo fits within card */
  object-fit: contain; /* Maintain aspect ratio */
  margin-bottom: 10px; /* Space below logos */

}

.partner-card:hover {
  transition: transform 0.3s;
  transform: scale(1.1); /* Scale up on hover */
}

#trends-section {
  padding-top: 100px; /* Adjust this value to suit your layout */
  margin-top: -100px; /* Negative margin to offset the padding */
}

.filter-section .form-control,
.filter-section .form-select {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.filter-section .form-control:focus,
.filter-section .form-select:focus {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: #3399ff;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #007bb5; /* Darker shade on hover */
}
