* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url('st-3.jpg') no-repeat center center fixed;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../Utils/corp-3.png') no-repeat center center fixed;
  background-size: cover;
  filter: blur(8px);
  z-index: -1;
}

/* Navbar General Styles */
.navbar {
  position: fixed;
  top:0px;
  left: 0px;
  width: 100vw;
  z-index: 1;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 1rem;
  font-family: 'Arial', sans-serif;
}

.navbar-brand {
  display: flex;
  align-items: center;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 16px;
}

.navbar-brand img {
  height: 40px;
  margin-right: 8px;
}

.navbar-toggler {
  margin-left: auto; /* Align toggler to the right for mobile view */
}

/* Navbar Links */
.navbar-nav {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  width: 100%; /* Ensure it fills the container */
  align-items: center; /* Vertically center all items */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove padding */
}

.nav-item {
  margin: 0 5px; /* Reduce the space between the items */
  padding: 0; /* Remove padding */
}

.nav-item a {
  color: black;
  text-transform: uppercase;
  font-weight: 600; /* Lighten the font weight */
  font-size: 14px; /* Ensure uniform font size for all links */
  position: relative;
  padding: 8px 12px; /* Consistent padding for each link */
  transition: color 0.3s ease;
}

.nav-item a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 0;
  background-color: red;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-item a:hover::after {
  width: 100%;
  left: 0;
}

/* Mobile View Adjustments */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1rem;
  }

  .nav-item {
    margin: 5px 0; /* Add vertical spacing for mobile view */
  }

  .dropdown-menu {
    width: 100%; /* Full width for mobile dropdowns */
  }
}

/* Meal Plan Link */
.nav-item.meal-plan a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  color: rgb(0, 0, 0);
}

/* Red line effect on hover for Meal Plan */
.nav-item.meal-plan a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 0;
  background-color: red;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-item.meal-plan a:hover::after {
  width: 100%;
  left: 0;
}

/* Dropdown Menu - Initially hidden */
.nav-item.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  min-width: 180px; /* Optional, you can adjust the width */
}

/* Title Section */
.title {
  position: relative;
  text-align: center;
  margin-top: 80px;
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

:root{
  --contributor-card-bg: linear-gradient(145deg, #ffffff, #f0f0f0);
  --card-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), inset 0 -3px 6px rgba(0, 0, 0, 0.05);
  --card-bg: linear-gradient(145deg, #f7e8a1, #f2c94c);
  --border-color: #d4af37;
  --card-hover: linear-gradient(145deg, #ffd700, #ffdf80);
}

.dark-mode{
  --contributor-card-bg: linear-gradient(145deg, #333333, #222222);
  --card-bg: linear-gradient(145deg, #776923, #a58005);
  --border-color: #d4c737;
  --card-hover: linear-gradient(145deg, #eedf8a, #6f664a);
}

/* Contributors Grid */
.contributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px auto;
  padding: 0 20px;
  max-width: 1200px;
}

/* Contributor Card */
/* Contributors Card */
.contributor-card {
  background: var(--contributor-card-bg);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
  transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
  transition: transform 0.8s ease, box-shadow 0.8s ease, background 0.5s ease;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Glow effect and hover transformation */
.contributor-card:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.05);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(214, 165, 43, 0.5);
  background: var(--border-color);
}

/* Decorative elements */
.contributor-card::before, 
.contributor-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 223, 128, 0.2), transparent);
  animation: rotateGlow 6s linear infinite;
  z-index: -1;
}

.contributor-card::after {
  animation-direction: reverse;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Contributor Image */
.contributor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 15px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
  border: 4px solid #d6a52b;
  transition: transform 0.3s ease;
}

.contributor-card img:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Contributor Name */
.contributor-card h3 {
  margin: 10px 0;
  font-size: 1.5rem;
  color: #222;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Contributor Profile Link */
/* .contributor-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 0.9rem;
  text-decoration: none;
  color: #fff;
  background: #d6a52b;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.contributor-card a:hover {
  background: #e0b84c;
  transform: translateY(-3px);
} */

/* Contributor Description */
.contributor-card p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 10px;
  line-height: 1.4;
}



.navbar-nav {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  width: 100%; /* Ensure it fills the container */
  align-items: center; /* Vertically center all items */
  margin: 0; /* Remove default margin */
  padding: 0; /* Remove padding */
}

.nav-item {
  margin: 0 5px; /* Reduce the space between the items */
  padding: 0; /* Remove padding */
}

.nav-item a {
  color: black;
  text-transform: uppercase;
  font-weight: 600; /* Lighten the font weight */
  font-size: 14px; /* Ensure uniform font size for all links */
  position: relative;
  padding: 8px 12px; /* Consistent padding for each link */
  transition: color 0.3s ease;
}

.nav-item a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 50%;
  bottom: 0;
  background-color: red;
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-item a:hover::after {
  width: 100%;
  left: 0;
}

.navbar-toggler {
  margin-left: auto; /* Align the toggler to the right for mobile view */
}

@media (max-width: 768px) {
  .navbar-nav {
    grid-template-columns: 1fr; /* Stack items in mobile view */
    text-align: center;
  }
}

html {
  scroll-behavior: smooth;
}



/* Scroll to Top Button */
#scrollToTopBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  background-color: red;
  color: white;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
}

#scrollToTopBtn:hover {
  background-color: red;
  transform: scale(1.1);
}

#scrollToTopBtn i {
  font-size: 20px;
}

/* Responsive Adjustments */

/* Tablets and below */
@media (max-width: 992px) {
  #scrollToTopBtn {
      bottom: 30px;
      right: 30px;
      width: 45px;
      height: 45px;
  }

  #scrollToTopBtn i {
      font-size: 18px;
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  #scrollToTopBtn {
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
  }

  #scrollToTopBtn i {
      font-size: 16px;
  }
}

/* Footer Styling */
footer {
  background-color: #f8f9fa;
  padding: 40px 0;
  font-family: 'Arial', sans-serif;
  color: #6c757d;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

.footer-section {
  margin: 20px;
}

.footer-section h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

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

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

.footer-section ul li a {
  text-decoration: none;
  color: #6c757d;
  font-size: 14px;
}

.footer-section ul li a:hover {
  color: #000;
}

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

.social-icons li {
  list-style: none;
}

.social-icons li a {
  font-size: 20px;
  color: #6c757d;
}

/* Newsletter Section Styling */
.footer-section.newsletter {
  grid-column: span 4; /* span across all sections */
  padding: 30px;
  background-color: #ffffff;
  background-image: url('https://media.istockphoto.com/id/666193858/photo/indian-vegetarian-office-or-school-lunch-box-or-tiffin-with-north-indian-or-maharashtrian.jpg?s=612x612&w=0&k=20&c=Ac-U7hY1leIuM97jLNPqzv7SX5DbZofu5p_pfUCgeJA=');
  text-align: center;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-section.newsletter h2 {
  font-size: 22px;
  color: #ea0202;
  margin-bottom: 15px;
}

.footer-section.newsletter p {
  font-size: 14px;
  color: #130111;
  margin-bottom: 20px;
}

.footer-section.newsletter .newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.footer-section.newsletter .newsletter-form input {
  padding: 10px;
  font-size: 14px;
  width: 250px;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.footer-section.newsletter .newsletter-form input:focus {
  border-color: #ff5722; /* Focused border color */
  outline: none;
}

.footer-section.newsletter .subscribe-btn {
  background: linear-gradient(90deg, #ff5722, #ff0000); /* Red gradient */
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-section.newsletter .subscribe-btn:hover {
  background: linear-gradient(90deg, #ff0000, #ff5722); /* Reverse gradient on hover */
  transform: translateY(-3px); /* Button hover animation */
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background-color: #e9ecef;
  font-size: 14px;
}
.payments i:hover{
  transform: scale(1.2);
}

.contributor-card {
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  margin: 12px;
  text-align: center;
  background: var(--card-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 220px;
}
.contributor-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}
.contributor-card h3 {
  margin: 10px 0;
  color: #5a4637;
}
.contributor-card button {
  margin-top: 12px;
  padding: 10px 16px;
  background-color:cadetblue; 
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.contributor-card button:hover {
  background-color:rgb(83, 160, 162);
  transform: translateY(-2px);
}

.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

.dark-mode .navbar {
  background-color: #222222 !important;
  border-bottom: 1px solid #444 !important;
}

.dark-mode .navbar a {
  color: #ffffff !important;
}

/*These will ensure that the meal plans are visible in dark mode*/
.dark-mode .dropdown-item {
  background-color: #333333; 
  color: #ffffff; 
}

.dark-mode .dropdown-item:hover {
  background-color: #444444; 
  color: #ffffff; 
}

.dark-mode .dropdown-item:active {
  background-color: #555555; 
  color: #ffffff; 
}


.dark-mode .btn-outline-dark {
  color: #ffffff;
  border-color: #ffffff;
}


/* Dark mode for the entire footer */
.dark-mode footer {
  background-color: black !important; /* Ensure the entire footer has a black background */
  color: white !important; /* Ensure default text is white */
}

/* Dark mode for footer content */
.dark-mode footer .footer-content {
  background-color: black !important; /* Force dark background */
  color: white !important; /* Force white text */
}

/* Dark mode for footer sections (e.g., about, services, learn-more, social-links) */
.dark-mode footer .footer-section {
  background-color: black !important; /* Force dark background for all sections */
  color: white !important; /* Force white text */
}

/* Dark mode for footer links */
.dark-mode footer .footer-section a {
  color: white !important; /* White links */
}

.dark-mode footer .footer-section a:hover {
  color: #e67e22; /* Orange hover effect */
}

/* Dark mode for footer headings (h2) */
.dark-mode footer .footer-section h2 {
  color: white !important; /* White headings */
}

.dark-mode footer .footer-section h2:hover {
  color: #e67e22; /* Orange hover effect */
}

/* Dark mode for footer bottom */
.dark-mode footer .footer-bottom {
  background-color: black !important; /* Force dark background */
  color: white !important; /* White copyright text */
}

.dark-mode footer .footer-bottom p {
  color: white !important; /* White copyright text */
}

.dark-mode footer .footer-bottom p:hover {
  color: #e67e22; /* Orange hover effect */
}

/* Dark mode for social icons */
.dark-mode footer .social-icons {
  background-color: black !important; /* Force dark background */
  color: white !important; /* White social icons */
}

.dark-mode footer .social-icons a {
  color: white !important; /* White social icons */
}

.dark-mode footer .social-icons a:hover {
  color: #e67e22; /* Orange hover effect */
}

/* Dark mode for dropdown items (if applicable in the footer) */
.dark-mode footer .dropdown-item {
  background-color: #333333 !important; /* Darker background for dropdown */
  color: white !important; /* White text for dropdown */
}

/* Dark mode for payment icons or specific footer elements (if needed) */
.dark-mode footer .payments {
  background-color: black !important; /* Force dark background */
  color: white !important; /* White text */
}

.dark-mode footer .payments a {
  color: white !important; /* White payment icons/links */
}

.dark-mode footer .payments a:hover {
  color: #e67e22; /* Orange hover effect */
}

/* Toggle Button Adjustments */
.dark-mode #dark-mode-toggle i {
  color: #ffffff;
}

.dark-mode #menu .section-menu-h2 {
  color: #ffffff;
}

.dark-mode #contact-us input::placeholder,
.dark-mode #contact-us textarea::placeholder,
.dark-mode #contact-us select option[disabled] {
  color: white;
  opacity: 1;
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
  .contributor-card {
    width: 90%; /* Adjust card width */
    margin: 10px auto;
  }

  .contributor-card h3 {
    font-size: 1em; /* Adjust font size */
  }

  .contributor-card button {
    font-size: 0.9em; /* Smaller button text */
    padding: 8px 12px;
    margin-left:10px;
  }
}