/* globals.css */
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;700&family=Quicksand:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Berkshire+Swash&family=Dancing+Script:wght@400..700&display=swap');
:root {
  --primary-100:#4bf3af;
  --primary-200:#3CC78F;/*main*/
  --primary-300:#2d9d70;
  --primary-400:#1f7452;
  --primary-500:#124f36;
  --primary-600:#062c1c;

  --secondary-100:#e2d0f6;
  --secondary-200:#c79fee;
  --secondary-300:#ae6ce4;
  --secondary-400:#8F3CC7;/*main*/
  --secondary-500:#612689;
  --secondary-600:#37124f;
  
  --tertiary-100: #fce4d0; 
  --tertiary-200: #f7b350; 
  --tertiary-300: #C78F3C; /* main */
  --tertiary-400: #986d2c; 
  --tertiary-500: #6c4c1c; 
  --tertiary-600: #432e0e; 

  --neutral-100: #f9f9f9;
  --neutral-200: #f4f4f4;
  --neutral-300: #e0e0e0;
  --neutral-400: #cccccc;
  --neutral-500: #666666;
  --neutral-600: #333333;

  --font-primary: 'Quicksand', sans-serif;
  --font-secondary: 'Merriweather Sans', sans-serif;
  --font-playful: 'Dancing Script', cursive;
  --font-decorative: 'Pacifico', cursive;
}

body {
  font-family: var(--font-primary);
  background-color: var(--neutral-200); 
  color: var(--neutral-600);
  margin: 0;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  color: var(--neutral-600);
  margin: 0;
}

h1 {
  font-size: clamp(40px, 5vw, 52px);
  font-weight: 700;
}

h2 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
}

h3 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 500;
}

h4 {
  font-size: 20px;
  font-weight: 500;
}

h5 {
  font-size: 18px;
  font-weight: 500;
}

h6 {
  font-size: 16px;
  font-weight: 400;
}

p {
  font-family: var(--font-primary);
  font-size: clamp(16px, 1rem, 18px);
  line-height: 1.8;
  color: var(--neutral-500);
  margin-bottom: 1.2rem;
  text-align: center;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

.main-container {
  padding: 0px !important;
  margin: 0 !important;
  font-family: 'Merriweather Sans', sans-serif;
  height: 1600px;  
}
.child-main-container{
  background-color: #EAF9F2;padding-top: 15px;padding-bottom: 15px;
}
.main-wrapper{
  display: flex;justify-content: center;align-items: center;align-content: center;
  flex-direction: column; width: 100%;
}
.main-wrapper {
  width: 100%;
}

@media (min-width: 768px) {
  .main-wrapper {
      width: 70%;
      margin: 0 auto;
  }
}

@media (max-width: 576px) { /* Adjust breakpoint as needed */
  .main-wrapper {
      padding: 0; /* Remove padding on mobile */
      max-width: 90%; /* Adjust width for smaller screens if necessary */
  }
  .card{
    width: 100%;
  }
}
.main-wrapper h2{
  color: var(--primary-200);
}
.main-wrapper h4, .main-wrapper p{
  text-align: left;
}

.main-wrapper button{
  width: 150px;border: none !important;
}
.main-wrapper ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
  text-align: left;
  font-family: var(--font-primary);
font-weight: 500;
}

.main-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 500;
  color: #333; /* Adjust text color */
}

.main-wrapper ul li::before {
  content: '●'; /* Custom bullet */
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 20px;
  color: #EDB83E; /* Bullet color */
}

.nav-wrapper {
  background-image: url('/images/hands2.jpg');
  /* Replace with your image URL */
  background-size: cover;
  /* Ensures the image covers the entire area */
  background-position: center;
  /* Centers the image */
  background-repeat: no-repeat;
  /* Prevents the image from repeating */
  height: 550px;
  background-attachment: fixed;
  padding: 0px !important;
}
.phone-contact{
  background-color:var(--primary-600);
}
.phone-contact span{
  color: var(--neutral-300);
}
.phone-contact a{
  color: var(--neutral-300);text-decoration: none !important;
  font-family: 'Quicksand', sans-serif; font-size: 14px;
}
.nav-parent {
  background: rgba(0, 0, 0, 0.6);
  /* Semi-transparent black background */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Optional shadow */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  /* Subtle border */
  width: 100%;
  height: 95px;
  padding: 0px !important;
}

.navbar {
  background-color: transparent;
  position: relative;
  transition: top 0.3s ease-in-out;
}

.nav-fixed .navbar {
  position: fixed;
  background-color: white !important;
  top: -100x;

}

.fixed-top {
  background-color: white !important;
  top: 0;
  animation: dropDown 0.5s ease-out;
}
.scroll-target {
  scroll-margin-top: 100px; /* Add some margin to account for the navbar height */
}
.drop-from-top {
  width: 200px;
  height: 95px;
  background-color: #3CC78F;
  /* Example color */
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  /* Ensure it's positioned within its parent */
  animation: dropDown 1s ease-out;
}

@keyframes dropDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100px;
  /* Set a max height for the logo */
}


.brand-title-subtitle {
  align-items: center;
}

.brand-title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem); /* Scales between 1.5rem and 2.5rem based on viewport */
  color: white;
  margin: 0;
  letter-spacing: 1px;
  font-family: 'Merriweather Sans', sans-serif;
}

.brand-subtitle {
  font-size: clamp(0.94rem, 1.55vw, 1.55rem); /* Adjusted using golden ratio */
  font-weight: 100;
  color: var(--primary-200);
  margin: 0;
  letter-spacing: clamp(2.8px, 3vw, 3.1px);
  font-family: 'Quicksand', sans-serif;
}

.brand-logo {
  max-width: 100%;
  height: auto;
}

@media (max-width: 390px) {
  .nav-parent .container{
    padding: 0px !important;
    padding-left: 2px !important;padding-right: 2px !important;
  }
  .brand-title {
    font-size: 1.4rem; /* Reduce size slightly for small screens */
    letter-spacing: 0.8px; /* Slightly tighter spacing */
  }

  .brand-subtitle {
    font-size: 0.85rem; /* Reduce font size for readability */
    letter-spacing: 2px; /* Adjust*/
  }
  .navbar-brand img{
    width: 45px !important; height: auto !important;
   }
   
}

.fixed-nav .brand-title {
  color: black;
  /* Change title color when navbar is fixed */
}

.fixed-nav .brand-subtitle {
  color: var(--primary-200);
  /* Change subtitle color when navbar is fixed */
}

.navbar-nav .nav-item:first-child {
  margin-left: 0;
}

.navbar-nav .nav-item:not(:first-child) {
  margin-left: 5px;
}

.navbar-nav .nav-item .nav-link {
  color: white;
  position: relative;
}

.navbar-nav .nav-item .nav-link.active {
  color: white;
  
}

.navbar-nav .nav-item .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  /* Adjust thickness of the border */
  background-color: var(--tertiary-200);
  /* Border color */
  transition: width 0.3s ease-in;
  /* Controls the animation */
}

.navbar-nav .nav-item .nav-link:hover::after {
  width: 100%;
  /* Expands the border */
}
.navbar-nav .nav-item .nav-link.active::after {
  width: 100%;
  /* Expands the border */
}
/* When the navbar is fixed, change the link colors */
.fixed-nav-links .nav-item .nav-link {
  color: black;
  /* Change link color when navbar is fixed */
}

.fixed-nav-links .nav-item .nav-link.active {
  color: black;
  /* Change active link color when navbar is fixed */
}

#navbarNav {
  z-index: 999;
}

/* Toggler button styles */
.navbar-toggler {
  border: none;
  background: transparent;
  outline: none;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



/* Mobile-specific adjustments */
@media (max-width: 992px) {
  .navbar-nav {
    color: white;
    background: white;
    /* Semi-transparent black background */

  }

  .nav-parent {
    height: 130px;
  }

  .nav-fixed .navbar {
    position: fixed;
    background-color: white !important;
    top: -100x;

  }

  /* Collapsed menu styles */
  .collapse.navbar-collapse {
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
    
    border-radius: 0 0 5px 5px;
    /* Rounded edges */
    background-color: white;
  }

  .collapse.navbar-collapse ul {
    background-color: white;
  }

  .collapse.navbar-collapse ul .nav-link {
    color: var(--primary-200);
    color: black;
  }

  .collapse.navbar-collapse ul .nav-link.active {
    color: white;
    color: var(--primary-200)
  }

  /* Collapsed menu expanded */
  .collapse.navbar-collapse.show {
    max-height: 500px;
    /* Adjust based on content height */

  }

  /* Navbar link styles */
  .navbar-nav .nav-link {
    color: #fff;
    /* White text */
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--tertiary-300);

  }

  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }

  .navbar-toggler {
    margin-left: auto;
    /*floats it right*/
    margin-top: 5px;
  }

}



.hero {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-top: 100px;
 
}

.hero h2 {
  font-size: clamp(40px, 5vw, 60px); /* Increased font size */
  font-family: "Dancing Script", serif; /* Final font selection */
  font-weight: 700; /* Ensures bold weight */
  font-style: normal; /* Sets normal style */
  color: white; /* Text color */
  text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.4); /* Reduced shadow */

}


.hero p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: max(18px, 2vw);
  /* Scales between 18px and larger sizes on larger screens */
  color: white;
  /* Matches the color of the heading for consistency */
  line-height: 1.5;
  /* Improves readability with proper spacing */
  margin-top: 10px;
  /* Adds some breathing room below the headline */
}

.hero button {
  background-color:var(--primary-200) !important;
  border-radius: 30px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
  color: white !important;
  min-height: 56px;
  width: 200px;
  border-style: none;
  letter-spacing: 0.125em;
  padding-left: 32px;
  padding-right: 32px;
  /*box shadow*/
  box-shadow: 2px 0px 25px 5px rgba(204, 204, 204, 0.5);
  -webkit-box-shadow: 2px 0px 25px 5px rgba(204, 204, 204, 0.5);
  -moz-box-shadow: 2px 0px 25px 5px rgba(204, 204, 204, 0.5);
  transition: all 0.2s;
}

.hero button:hover {
  background-color: var(--tertiary-400);
  transform: scale(1.05);
  box-shadow: 2px 0px 30px 5px rgba(204, 204, 204, 0.7);
}

button {
  background-color: var(--primary-200) !important;
  font-size: 14px;
  font-style: normal;
  color: white !important;
  border-style: none;
  letter-spacing: 0.125em;
  transition: all 0.2s;
  cursor: pointer;
  /* Indicates clickable button */
}

button:hover {
  transform: scale(1.05) !important;
  /* Subtle grow effect on hover */
}

.programs-wrapper,.partners-wrapper {
  background-color: #f7f7f7;
}
.partners-section {
  padding: 60px 0;
}
.partners-wrapper i{
  color: var(--primary-200);
}
.partner-card {
  border: none;
  transition: transform 0.3s ease-in-out, border 0.3s ease-in-out;
  
}
.partner-card:hover {
  transform: translateY(-5px);
  border: 1px solid var(--primary-200) !important; /* Teal border on hover */
  outline: none !important;
}

.partner-logo {
  max-width: 100px;
  margin: auto;
  padding: 15px;
}
.partner-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 10px;
}

.programs,
.events-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-content: center;

  background-color: #f7f7f7;
  /* Soft light background */
  padding: 50px 0;
}

.card {
  background-color: white;
  /* Light background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 5px;
  text-align: center;
  transition: all 0.3s ease;
}

.programs-wrapper .card {
  background-color: white;
  /* Light background */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 5px;
  text-align: center;
  transition: all 0.3s ease;

  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

/* Stagger the appearance of each card */
.programs .card-1 {
  transition-delay: 0.1s;
}

.programs .card-2 {
  transition-delay: 0.3s;
}

.programs .card-3 {
  transition-delay: 0.5s;
}


/* Final state: once visible, the cards will slide in and become fully visible */
.programs-wrapper .card.visible {
  transform: translateY(0);
  opacity: 1;
}

.card:hover {
  background-color: #f8f8f8;
  /* Subtle hover effect */
  border: 1px solid var(--secondary-400);
  /* Border on hover */
}

.card-title {
  font-size: 20px;
  font-family: 'Quicksand', sans-serif;
  color: var(--primary-200);
  /* Title with primary color */
  font-weight: 700;
}

.card-text {
  font-size: 16px;
  font-family: 'Quicksand', sans-serif;
  color: #333;
  /* Darker color for text */
}

.card-icon {
  font-size: 24px;
  color: var(--primary-200) !important;
  /* Primary color for icons */
  margin-bottom: 10px;
  /* Space between icon and text */
}

.programs .card-body {
  min-height: 280px;
}

.btn-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-200) !important;
  /* Primary color for "Learn More" link */
}

.btn-link:hover {
  color: var(--tertiary-400) !important;
  /* Secondary color on hover */
  text-decoration: underline;
}

/* Footer Base Styles */
.footer {
  background-color:var(--primary-500);
  /* Dark Teal */
  font-family: "Quicksand", sans-serif;
  color: #ffffff;
  /* White text */
  font-size: 16px;
}


/* Logo Heading */
.footer-logo {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* Section Headings */
.footer-heading {
  font-family: "Merriweather Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color:var(--tertiary-300);
  /* Orange heading color */
}

/* Text Content */
.footer-text {
  margin-bottom: 8px;
  font-size: 16px;
  color: #ffffff;
}
.footer-text a{
  text-decoration: none;
  font-size: 16px;
  color: #ffffff;
}
/* Links */
.footer-link {
  text-decoration: none;
  color: white;
  /* Orange link color */
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--tertiary-300);
  /* White hover effect */
}

/* Input Field */
.footer-input {
  font-size: 14px;
  font-family: "Quicksand", sans-serif;
}

/* Subscribe Button */
/* Subscribe Button */
.footer-btn {
  background-color: var(--primary-200) !important;
  /* Orange background */
  color: #1E4D4D !important;
  /* Dark teal text for contrast */
  font-family: "Merriweather Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  /* Add space inside the button */
  border: none !important;
  border-radius: 5px !important;
  /* Slightly rounded corners */
  transition: background-color 0.3s, color 0.3s, transform 0.2s ease-in-out !important;
}

.footer-btn:hover {
  background-color:var(--tertiary-300) !important;
  /* Darker orange shade on hover */
  color: #ffffff !important;
  /* White text */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
  /* Shadow for depth */
}

.footer-cp {
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  background-color: var(--primary-500);
  padding-left: 10px;padding-right: 10px;
  
}

.footer-cp p {
  font-size: 14px;
  color: white;
  color: var(--neutral-400);
}
.backtotop{
  position: fixed;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color:var(--primary-200);
  border-radius: 50%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* WebKit-based browsers (Chrome, Safari) */
  -moz-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); /* Firefox */
  color: white;
  font-size: 28px;
  font-weight: bold;
  z-index: 1000;
  transition: background-color 0.3s ease;
}
  .backtotop p{
color: white;font-weight: 700;font-size: 28px;margin-bottom: 0px !important;cursor: pointer;

  }
.causes-wrapper {
  background: linear-gradient(to right, var(--tertiary-300), var(--primary-200));
  min-height: 550px;
  padding: 0px !important;
}

.events-wrapper {
  background-color: white;
}

.causes-wrapper h2 {
  color: white;
}

.cause-content,
.event-content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;

}

.causes-wrapper .card-body,
.events-wrapper .card-body {
  padding: 0px !important;
  margin: 0px;
  min-height: 380px;
}

.cause-content,
.event-content,.main-card-body {
  width: 100% !important;
  padding: 0px !important;
} 

.cause-content .img,
.event-content .img {
  width: 100% !important;
  transition:all 0.3s;
  z-index: 1;
}

.cause-content .img:hover,
.event-content .img:hover {
  transform: scale(1.05);
  transition:all 0.3s;
}
.cause-content .cause,
.event-content .event {
  margin-top: -40px;
  background-color: white;
  margin-left: 10px;
  margin-right: 10px;
  padding-top: 5px;
  z-index: 2;
}
.cause a:hover{
  color: var(--tertiary-300);
}
span {
  font-size: 14px;
  /* Adjust based on use case */
  color: #6c757d;
  /* Muted gray */
  font-weight: 300;
  /* Medium weight for clarity */
}

span i {
  color: var(--primary-200);
  font-weight: 700;
}
.connect {
  background-color: white;
  height: 250px;
  height: 400px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.connect h2 {
  color: rgb(27, 27, 27);
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  font-weight: 400;
  font-size: 28px;
  font-family: var(--font-primary);
  text-align: center;
  letter-spacing: normal;
}
.connect .social {
  margin-top: 40px;
}
.connect .icons {
  width: 100%;
  min-width: 100%;
}
.connect .icons span {
  width: 38px;
  margin: 15px;
}
.connect .icons span img {
  width: 100%;
  height: auto;
}
@media (min-width: 768px) {
.connect {
  margin-top: 0px;
}
.connect .icons {
  width: 100%;
  min-width: 100%;
}
.connect .icons span {
  margin: 20px;
}
}