
/* Navbar Container */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    padding: 20px 40px;
    box-shadow: 0px 12px 30px rgba(0, 0, 0, 0.25);
    z-index: 1;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Navbar Brand */
#navbar .navbar-brand {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s ease;
}

/* Navbar Links */
#navbar .navbar-nav .nav-item .nav-link {
    color: #ffffff; /* Default text color */
    font-size: 18px;
    font-family: 'Arial', sans-serif;
    padding: 12px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Navbar Hover Effects */
#navbar .navbar-nav .nav-item .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2); /* Hover effect */
    transform: scale(1.1); /* Slight zoom effect */
}

/* Navbar Responsive (Collapsed state) */
.navbar-toggler {
    border: none;
    background: linear-gradient(135deg, #8e44ad, #2980b9);
}

.navbar-toggler-icon {
    background-color: #ffffff00;
    color: #000;
}
/* Responsive Adjustments */
@media (max-width: 724px) {
    #navbar {
        background: linear-gradient(135deg, #8e44ad, #2980b9);
    }
}
/* Mobile Navbar Style */
#navbar .navbar-collapse {
    justify-content: flex-end;
    
}

#navbar .navbar-nav {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    padding: 0;
    margin: 0;
}

#navbar .navbar-nav .nav-item {
    display: inline-block;
}

/* Scrolled Navbar */
#navbar.scrolled {
    background: linear-gradient(135deg, #8e44ad, #2980b9); /* Gradient background *//* Change gradient when scrolled */
}

#navbar.scrolled .navbar-brand {
    color: #f0f0f0; /* Lighter brand color when scrolled */
}

#navbar.scrolled .navbar-nav .nav-link {
    color: #f0f0f0; /* Lighter link color when scrolled */
}


/* Rotating Glow Effect (optional for aesthetic) */
#navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%) rotate(45deg);
    animation: rotate-glow 5s infinite linear;
    z-index: -1; /* Gradient behind the text */
    opacity: 0.6;
}

@keyframes rotate-glow {
    0% {
        transform: translateX(-60%) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) rotate(180deg);
    }
    100% {
        transform: translateX(-60%) rotate(0deg);
    }
}

.img{
    width: 200px;
    height: 90px;
    overflow: hidden;

}

/* General Footer Styling */
.footer-minimal {
    background-color: #333; /* Dark background for a sleek design */
    color: #fff;
    padding: 60px 0;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    border-top: 3px solid #ff6600; /* Accent line on top */
  }
  
  /* Logo Styling */
  .footer-minimal .brand-logo-light {
    margin-bottom: 40px;
  }
  
  /* Navigation Links */
  .footer-minimal-nav {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
  }
  
  .footer-minimal-nav li {
    display: inline-block;
  }
  
  .footer-minimal-nav a {
    font-size: 16px;
    font-weight: 600;
    color: #bbb;
    text-decoration: none;
    text-transform: capitalize; /* Capitalized letters for a formal feel */
    transition: all 0.3s ease;
    letter-spacing: 1px; /* Adding a little spacing for cleaner text */
  }
  
  .footer-minimal-nav a:hover {
    color: #ff6600; /* Highlighted hover color */
    transform: translateY(-3px); /* Subtle hover lift effect */
  }
  
  /* Social Icons */
  .social-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  
  .social-list li {
    display: inline-block;
  }
  
  body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
  }

/* General Styles */
.parallax-container {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.parallax-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-image: url('bg-bunner-2.jpg'); /* Replace with actual path */
  background-attachment: fixed; /* Creates the parallax effect */
  background-size: cover;
  background-position: center bottom;
  z-index: -1; /* Send the image to the back */
  animation: float 6s infinite ease-in-out; /* Floating animation */
}

/* Keyframes for Floating Movement */
@keyframes float {
  0% { transform: translateY(0); }
  25% { transform: translateY(-10px); }
  50% { transform: translateY(-15px); }
  75% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.parallax-content {
  width: 100%;
  height: 100%;
  padding: 20rem;
  color: #fff;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

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

/* Breadcrumbs Custom Title */
.breadcrumbs-custom-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out;
}

/* Breadcrumbs Path */
.breadcrumbs-custom-path {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-flex;
  gap: 0.5rem;
  font-size: 1rem;
  color: #f0f0f0;
  justify-content: center;
}

.breadcrumbs-custom-path li {
  display: flex;
  align-items: center;
}

.breadcrumbs-custom-path a {
  color: #aaa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.breadcrumbs-custom-path a:hover {
  color: #fff;
  transform: scale(1.1);
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7);
}

.breadcrumbs-custom-path .active {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* Animation for the Title */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-effect {
  0% {
    transform: translateX(-100%) skewY(-10deg);
  }
  100% {
    transform: translateX(100%) skewY(-10deg);
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .parallax-content {
    padding: 15rem 1rem; /* Adjust padding for smaller screens */
  }

  .im{
    width: 100%;
  }

  .parallax-container::before {
    background-attachment: scroll; /* Fix parallax issue on mobile */
    background-position: top center; /* Adjust background positioning */
  }

  .breadcrumbs-custom-title {
    font-size: 2rem; /* Slightly smaller title */
    margin-bottom: 0.5rem; /* Reduce margin on mobile */
  }

  .breadcrumbs-custom-path {
    font-size: 0.875rem; /* Smaller font size */
    flex-direction: column; /* Stack breadcrumbs vertically */
  }

  .breadcrumbs-custom-path li {
    align-items: flex-start; /* Align breadcrumb items to the left */
  }

  .breadcrumbs-custom-path a {
    font-size: 0.875rem; /* Adjust link font size */
  }

  /* Mobile-specific animation adjustments */
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-10px); /* Less dramatic movement */
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Further optimization for very small screens (mobile-first) */
@media (max-width: 480px) {
  .parallax-content {
    padding: 15rem 1rem; /* Further adjust padding */
  }
  .breadcrumbs-custom-title {
    font-size: 1.5rem; /* Further reduce the font size */
  }

  .breadcrumbs-custom-path {
    font-size: 0.75rem; /* Even smaller breadcrumb font */
  }
  .img{
    width: 30vh;
    height: auto;
  }
  .navbar-toggler{
    position: fixed;
    right:40px

  }

  .breadcrumbs-custom-path li {
    margin-bottom: 0.25rem; /* Add some spacing between breadcrumbs */
  }
}


  /* Footer Copyright */
  .rights {
    font-size: 14px;
    color: #bbb;
    margin-top: 40px;
    text-align: center;
  }
  
  .rights a {
    color: #ff6600; /* Primary brand color */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .rights a:hover {
    color: #fff; /* Change text color on hover */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-minimal-nav {
      flex-direction: column; /* Stack navigation links on mobile */
      gap: 15px;
    }
  
    .social-list {
      flex-direction: column; /* Stack social icons vertically */
      gap: 20px;
    }
  
    .rights {
      font-size: 12px;
    }
  
    .footer-minimal .container {
      padding: 0 20px; /* Add some padding on smaller screens */
    }
  }
  
  /* Styling for the banner content container */
.bunner-content-modern {
    display: flex; /* Flexbox for alignment */
    flex-direction: column; /* Align items vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    text-align: center; /* Center text */
    padding: 40px; /* Add padding around the content */
    color: #ffffff; /* Text color */
    border-radius: 15px; /* Rounded corners */
    max-width: 900px; /* Limit content width */
    margin: auto; /* Center horizontally */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow */
    animation: zoomIn 1.2s ease-out; /* Add zoom-in animation */
    transform-origin: center;
}

/* Styling for the main title */
.main-bunner-title {
    font-size: 3rem; /* Large font size */
    font-weight: bold; /* Bold text */
    margin-bottom: 20px; /* Spacing below the title */
    color: #ffe066; /* Soft yellow for the title */
    text-transform: uppercase; /* Uppercase text */
    letter-spacing: 2px; /* Spacing between letters */
    animation: fadeInDown 1s ease-out; /* Add fade-in-down animation */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Title hover effect */
.main-bunner-title:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    color: #ff6f61; /* Change to a vibrant color on hover */
}

/* Styling for the paragraph */
.bunner-content-modern p {
    font-size: 1.5rem; /* Font size for the paragraph */
    line-height: 1.8; /* Line height for readability */
    margin: 0; /* Remove default margin */
    color: #f0f0f0; /* Softer white text */
    animation: fadeInUp 1.5s ease-out; /* Add fade-in-up animation */
    transition: color 0.3s ease;
}

/* Paragraph hover effect */
.bunner-content-modern p:hover {
    color: #ffcccb; /* Change text color on hover */
}

/* Keyframe animations */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-bunner-title {
        font-size: 2.2rem; /* Adjust title font size for smaller screens */
    }

    .bunner-content-modern p {
        font-size: 1.2rem; /* Adjust paragraph font size */
    }
}

/* General Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eef2f5;
  }
  
  /* Box Icon Modern Container */
  .box-icon-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
    text-align: center;
  }
  
  /* Triangle Decoration */
  .decorate-triangle {
    background-color: #6a82fb;
    padding: 20px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
  }

 .decorate-triangle::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #6a82fb;
  }  

  /* Box Icon Inner */
  .decorate-circle {
    background-color: #fc5c7d;
    padding: 20px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
  }
  
  .box-icon-inner:hover {
    transform: scale(1.1);
  }

  /* Circle Decoration */
  .decorate-circle::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #fc5c7d;
  }

  .decorate-rectangle {
    background-color: #FF7F50;
    padding: 20px;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
  }
  
  
  /* Rectangle Decoration */
  .decorate-rectangle::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #FF7F50;
  }
  
  
  /* Icon */
  .icon-xl {
    font-size: 2.5rem;
    color: white;
  }
  
  /* Box Icon Caption */
  .box-icon-caption {
    max-width: 400px;
  }
  
  .box-icon-caption h4 {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .box-icon-caption p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
    margin-top: 0;
  }
  /* Normal State for Caption Link */
.box-icon-caption h4 a {
    text-decoration: none;
    color: transparent; /* Make the text transparent initially */
    background-image: linear-gradient(135deg, #6a82fb, #fc5c7d, #FF7F50); /* Define the gradient */
    -webkit-background-clip: text; /* Ensures background-clip works in Webkit browsers (Chrome, Safari) */
    background-clip: text; /* Clips the background to the text */
    transition: background-image 0.3s ease-in-out; /* Smooth transition on hover */
  }
  
  /* Hover Effect for Caption Link */
  .box-icon-caption h4 a:hover {
    background-image: linear-gradient(135deg, #FF7F50, #fc5c7d, #6a82fb); /* Reverse gradient on hover */
  }
  
  /* Fade In Animation */
  @keyframes fadeInUp {
    0% {
      transform: translateY(30px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .box-icon-modern {
      flex-direction: column;
      padding: 25px;
      max-width: 90%;
      height: 90%;
    }
  
    .box-icon-caption h4 {
      font-size: 1.4rem;
    }
  
    .box-icon-caption p {
      font-size: 0.95rem;
    }
  }
  
  @media (max-width: 480px) {
    .box-icon-caption h4 {
      font-size: 1.2rem;
    }
  
    .box-icon-caption p {
      font-size: 0.9rem;
    }
  }
  
  /* Core Services Container */
  .core-services-container {
    background: linear-gradient(135deg, #6a82fb, #fc5c7d);
    padding: 40px 30px;
    margin: 30px auto;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 0.6s ease-out;
  }
  
  /* Core Services Title */
  .core-services-title {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  /* Core Services Description */
  .core-services-description {
    font-size: 1.2rem;
    color: #f8f8f8;
    line-height: 1.8;
    margin-top: 0;
    font-weight: 400;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Add subtle hover effect */
  .core-services-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  }
  
  /* Fade In Animation */
  @keyframes fadeInUp {
    0% {
      transform: translateY(30px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .core-services-title {
      font-size: 2.2rem;
    }
  
    .core-services-description {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 480px) {
    .core-services-title {
      font-size: 1.8rem;
    }
  
    .core-services-description {
      font-size: 1rem;
    }
  }
  
    
  /* Container for the "Serving the Deserving" Section */
  .won {
    text-align: center;
    padding: 50px;
    margin: 50px auto;
    background-color: #FFFAF0; /* Light background color for the section */
    border-radius: 20px; /* Rounded corners for a softer look */
    max-width: 800px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    opacity: 1;
    animation: slideInDown 1s ease-out;
    border-left: 6px solid #FF7F50; /* Accent border on the left side */
    transition: all 0.3s ease-in-out; /* Smooth transition effect */
  }
  
  /* Heading Styling */
  .won h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
    transition: color 0.3s ease-in-out; /* Transition on hover */
  }
  
  /* Paragraph Styling */
  .won p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
    margin-top: 0;
    letter-spacing: 1px;
    opacity: 0.9; /* Slight transparency */
    transition: opacity 0.3s ease-in-out; /* Smooth opacity transition */
  }
  
  /* Slide-in Animation */
  @keyframes slideInDown {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Hover Effects for the Section */
  .won:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    background-color: #fff9e6; /* Lighter background on hover */
    transition: all 0.3s ease-in-out;
  }
  
  /* Hover Effect for Heading */
  .won h3:hover {
    color: #FF7F50; /* Change color on hover */
  }
  
  /* Hover Effect for Paragraph */
  .won p:hover {
    opacity: 1; /* Full opacity when hovered */
    color: #333; /* Darker text color when hovered */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .won {
      padding: 40px;
    }
  
    .won h3 {
      font-size: 2rem;
    }
  
    .won p {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .won {
      padding: 30px;
    }
  
    .won h3 {
      font-size: 1.5rem;
    }
  
    .won p {
      font-size: 0.9rem;
    }
  }
  
  /* Box Causes Section Styling */
.box-causes {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa; /* Light background color for the box */
    background-image: linear-gradient(135deg, #ff7f50, #fc5c7d); /* Gradient background */
    border-radius: 12px;
    width: 350px; /* Fixed width for uniformity */
    height: 450px; /* Fixed height for uniformity */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
    animation: fadeInUp 1s ease-out;
  }
  
  /* Image Container */
  .box-causes-img {
    position: relative;
    width: 100%; /* Ensures the image container takes full width */
    height: 70%; /* Makes the image container occupy 70% of the box height */
    overflow: hidden;
    border-radius: 10px;
    background-color: #e9ecef; /* Light gray background for the image section */
    transition: background-color 0.3s ease-in-out; /* Smooth background color transition */
  }
  
  /* Image Styling */
  .cause-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: 10px;
  }
  
  /* Button Styling */
  .but {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #FF7F50; /* Coral */
    color: white;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
  }
  
  .but:hover {
    background-color: #32CD32; /* Lime Green on hover */
  }
  
  /* Heading Styling */
  .font-weight-medium {
    font-size: 1.6rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 1px;
  }
  
  .font-weight-medium a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
  }
  
  .font-weight-medium a:hover {
    color: #FF7F50; /* Change color on hover */
  }
  
  /* Fade-in Animation */
  @keyframes fadeInUp {
    0% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Hover Effects for Box Causes */
  .box-causes:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
    background-color: #f8f9fa; /* Light color on hover */
    background-image: linear-gradient(135deg, #fc5c7d, #6a82fb); /* Gradient on hover */
  }
  
  /* Hover Effects for Image Container */
  .box-causes-img:hover {
    background-color: #d1d8e0; /* Slight change in the image container background color on hover */
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .box-causes {
      width: 300px; /* Adjust width for smaller screens */
      height: 400px; /* Adjust height for smaller screens */
    }
  
    .cause-image {
      height: 100%; /* Maintain aspect ratio for the image */
    }
  
    .font-weight-medium {
      font-size: 1.4rem;
    }
  }
  
  @media (max-width: 480px) {
    .box-causes {
      width: 100%; /* Make it take full width on mobile */
      height: 350px; /* Adjust height for mobile */
      padding: 15px;
    }
  
    .cause-image {
      height: 100%; /* Maintain aspect ratio for the image */
    }
  
    .font-weight-medium {
      font-size: 1.2rem;
    }
  }

  .cont {
    background-image: linear-gradient(135deg, #ff9a8b, #fad0c4); /* Soft pastel gradient */
  }

  .cont1 {
    background-image: linear-gradient(135deg, #4e54c8, #8f94fb); /* Bold orange to pink gradient */
  }
  
/* Modal Styling */
.modal-content {
    background-color: #ffffff; /* White background for the modal */
    border-radius: 20px; /* More rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border: none;
    padding: 25px;
    transition: all 0.3s ease-in-out; /* Smooth transition on modal open/close */
}

/* Modal Header Styling */
.modal-header {
    border-bottom: 3px solid #f1f1f1;
    background-color: #FF6A00; /* Vibrant coral header background */
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0; /* Rounded top corners */
    text-align: center;
}

.modal-header .modal-title {
    font-size: 2rem; /* Larger title for emphasis */
    font-weight: 600;
}

/* Custom Close Button Styling */
.btn-close {
    position: relative;
    background-color: transparent;
    border: none;
    color: #fff; /* White color for the close icon */
    font-size: 1.8rem; /* Larger size for visibility */
    padding: 0.5rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background-color: rgba(0, 0, 0, 0.15); /* Soft background on hover */
    color: #ff9900; /* Coral color when hovered */
    transform: scale(1.1); /* Slight increase in size on hover */
}

.btn-close:focus {
    outline: none;
}

/* Modal Body Styling */
.modal-body {
    padding: 30px;
    text-align: center;
    font-size: 1.2rem;
    color: #555; /* Soft dark text color for readability */
    line-height: 1.6; /* Improved line spacing */
}

/* Image Styling */
.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 15px; /* Rounded corners for the image */
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out; /* Smooth zoom effect */
}

.modal-body img:hover {
    transform: scale(1.05); /* Slight zoom-in effect on hover */
}

/* Button Styling */
.modal-body .btn-primary {
    background-color: #FF6A00; /* Coral background for the button */
    border-color: #FF6A00;
    padding: 15px 30px;
    font-size: 1.3rem; /* Larger font size */
    border-radius: 50px; /* Rounded button */
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: white;
    font-weight: 600;
}

.modal-body .btn-primary:hover {
    background-color: #32CD32; /* Green color on hover */
    transform: scale(1.05); /* Slight scaling effect */
}

/* Styling the span for emphasis */
p.mt-3 span {
  font-weight: bold; /* Bold to highlight the text */
  color: #4f46e5; /* Primary color for the text */
  transition: color 0.3s ease; /* Smooth color transition */
}

/* Hover effect for span */
p.mt-3 span:hover {
  color: #ec4899; /* Change to pinkish color on hover */
  text-decoration: underline; /* Underline on hover */
}

/* Optional: Darker Background Behind Modal */
.modal-backdrop.show {
    opacity: 0.8; /* Darker backdrop for better focus */
    background-color: rgba(0, 0, 0, 0.8); /* Dark backdrop color */
    z-index: 1;
}

/* Optional: Smooth Transition for Modal Show/Hide */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
    transform: translate(0, 0); /* Smooth animation when modal appears */
}

.para-container {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    }
    
    .para-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-image: url('parallax-img-2.jpg'); /* Replace with actual path */
    background-attachment: fixed; /* Creates the parallax effect */
    background-size: cover;
    background-position: center bottom;
    z-index: -1; /* Send the image to the back */
    animation: float 6s infinite ease-in-out; /* Floating animation */
    }
    
    /* Keyframes for Floating Movement */
    @keyframes float {
    0% {
      transform: translateY(0) ; /* Original position */
    }
    25% {
      transform: translateY(-10px) ; /* Slight upward and clockwise tilt */
    }
    50% {
      transform: translateY(-15px) ; /* Peak upward movement with counterclockwise tilt */
    }
    75% {
      transform: translateY(-10px) ; /* Back down slightly with clockwise tilt */
    }
    100% {
      transform: translateY(0) ; /* Return to original position */
    }
    }
    
    .para-content {
    width: 100%;
    height: 100%;
    padding: 20rem;
    color: #fff;
    text-align: center;
    animation: fadeIn 1s ease-in-out; /* Add a fade-in effect for the content */
    }
    
    @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
    }
      
    .custom-input {
        width: 100%;
        max-width: 350px;
        padding: 12px 18px;
        font-size: 16px;
        border: none;
        border-radius: 50px;
        background: linear-gradient(to right, #f4f4f4, #ffffff);
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
        color: #444;
        outline: none;
        transition: box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
      }
      
      .custom-input:focus {
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
      }
      
      .custom-button {
        display: inline-block;
        padding: 12px 30px;
        font-size: 16px;
        margin: 10px;
        font-weight: bold;
        text-transform: uppercase;
        color: #fff;
        background: linear-gradient(to right, #6b6bff, #4c4cff);
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, background 0.3s ease-in-out;
      }
      
      .custom-button:hover {
        background: linear-gradient(to right, #4c4cff, #6b6bff);
        transform: translateY(-3px);
        box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.3);
      }
      
      /* Mobile Responsiveness */
@media (max-width: 768px) {
  .para-content {
      padding: 5rem 1rem; /* Reduced padding for mobile */
  }

  .custom-input {
      width: 90%; /* Full width with some padding */
      max-width: none; /* Remove max-width */
      font-size: 14px; /* Smaller font size for mobile */
  }

  .custom-button {
      padding: 14px; /* Increase padding for touch targets */
      font-size: 14px; /* Adjust font size */
      margin: 10px 0; /* Adjust margins */
  }
}

/* Mobile-first adjustments for very small screens */
@media (max-width: 480px) {
  .para-content {
      padding: 3rem 1rem; /* Further reduce padding */
  }

  .custom-input {
    max-width: 100%;
      font-size: 14px; /* Ensure text is still legible */
  }

  .custom-button {
      padding: 12px; /* Slightly smaller button padding */
  }
}

      h3 {
        font-size: 30px;
        margin-bottom: 25px;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
      }
      
      @media (max-width: 768px) {
      
        h3 {
          font-size: 24px;
        }
      }
      
      /* General Button Styling */
.button {
    display: inline-block;
    padding: 20px 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Primary Button Styling */
  .button-primary {
    background: linear-gradient(to right, #6a5acd, #483d8b);
    color: #fff;
    border: none;
  }
  
  /* Hover Effect */
  .button-primary:hover {
    background: linear-gradient(to right, #483d8b, #6a5acd);
    transform: translateY(-3px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
  }
  
  /* Active Effect */
  .button-primary:active {
    background: linear-gradient(to right, #6a5acd, #483d8b);
    transform: translateY(1px);
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
  }
  
  /* Small Button Styling */
  .button-sm {
    font-size: 12px;
    border-radius: 25px;
  }
  
  .box-img-animate {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden; /* Prevents items from spilling outside */
  }
  
  .box-img-animate-item {
    position: relative; /* Ensure each item's animation space is independent */
    will-change: transform; /* Improve performance */
  }
  
  .download-btn {
    display: inline-block; /* Make the link behave like a button */
    padding: 12px 20px; /* Add some padding */
    font-size: 16px; /* Set font size */
    font-weight: 600; /* Bold font */
    color: #fff; /* White text */
    background: linear-gradient(135deg, #007BFF, #0056b3); /* Blue gradient */
    border: none; /* Remove default border */
    border-radius: 30px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    text-align: center; /* Center text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
  }
  
  .download-btn:hover {
    background: linear-gradient(135deg, #0056b3, #003f87); /* Darker gradient on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    transform: translateY(-3px); /* Slight lift effect */
  }
  
  .download-btn:active {
    transform: translateY(0); /* Reset when clicked */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Return to original shadow */
  }
  