#edit-uid{
    width: 300px ;
}
.views-exposed-form.views-exposed-form fieldset {
    border: none;
    margin: 10px 3px;
}
.js-form-item-field-age-value-value{
    width: 150px;
}
.page-content {
    margin-bottom: 0px; 
}

.main-navbar {
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 8px 0;
}
.ftree-header{
  margin:20px;
}
.member-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.member-photo-wrapper img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 4px solid #fff;
}


.field--name-field-member-photo .field__label {
  display: none !important;
}


.member-name {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-size: 33px;
}


.profile-card {
  text-align: center;
  background: #fff;
  padding: 20px;
  max-width: 700px;
  margin: 31px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.profile-card-head{
    padding: 20px;
    background: linear-gradient(to right, #7de3ff, #15b4ff);
}
.relation-son{
      background: linear-gradient(to right, #7de3ff, #15b4ff); 
}
.relation-daughter{
    background: linear-gradient(to right, #f3a6fc, #ff15c3);
}
.relation-wife{
     background: linear-gradient(to right, #f3a6fc, #a915ff);
}

.family-member-table {
  width: 100%;
  border-collapse: collapse;
}

.family-member-table th,
.family-member-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.family-member-table th {
  text-align: left;
  font-weight: bold;
  color: #555;
}

.family-member-table td {
  color: #333;
}

.my-family-member .field__label{
  display: none;
}

/* Hero Wrapper */
.hero-wrapper {
  position: relative;
  padding: 20px 0;
  text-align: center;
  height: 80vh;
  color: #fff;
  overflow: hidden;
 
}



.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
 
  object-fit: cover;
  z-index: 0;
  /* filter: brightness(0.35) blur(2px); */
}

/* Main Hero Section */
.member-hero {
  position: relative;
  z-index: 2;
   padding-top: 28vh; 
  display: flex;       
  flex-direction: column; 
  align-items: center;
  text-align: center; 
}
/* Align Photo + Text in One Row */
.member-hero .row {
  display: flex;
  align-items: center;
  gap: 10px;  
}

/* Profile Photo */
.member-photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Member Details Next to Photo */
.member-details {
  text-align: left;
  padding-left: 25px;
}

.member-details .member-name {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.member-details .dates {
  font-size: 18px;
  margin-bottom: 4px;
  color: #fff;
}

.member-details .aged {
  font-size: 16px;
  color: #ccc;
}
.member-photo {
  width: 160px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dates {
  font-size: 1.05rem;
  color: #f0f0f0;
}
.aged {
  font-size: 0.95rem;
  color: #d0d0d0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .member-name { font-size: 1.7rem; }
  .member-photo { width: 120px; height: 120px; border-width: 4px; }
  
}
 


.ftree-card {
  border: 1px solid #ddd;
  /* padding: 15px; */
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Family Head */
.ftree-head-pill {
  display: block;
  background-color: red;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  /* border-radius: 6px; */
  text-align: center;
  margin-bottom: 10px;
}

/* Relation Type */
.ftree-pill {
  display: inline-block;
  /* background-color: #ffccdd; */
  color: #333;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
      width: 115px;
    /* margin: 0 auto; */
}
.image-style-thumbnail{
    height: 100px;
    width: auto;
}

/* Info Section */
.ftree-info {
  margin-top: 10px;
}
.ftree-name a{
  text-decoration: none;
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
}
span.ftree-pill.Wife{
  background-color:#d4a5ff;
}
span.ftree-pill.Daughter {
    background-color:  #ffccdd;
}

span.ftree-pill.Son {
    background-color:  #a5d8ff;
}



/* Grid container */
.ftree-children {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 cards per row */
  gap: 20px; /* spacing between cards */
  padding: 20px;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .ftree-children {
    grid-template-columns: repeat(4, 1fr);
  }
  .marquee-container {
    height:300px !important;
  }
  
}

@media (max-width: 992px) {
  .ftree-children {
    grid-template-columns: repeat(3, 1fr);
  }
  
}

@media (max-width: 768px) {
  .ftree-children {
    grid-template-columns: repeat(2, 1fr);
  }
 
}

@media (max-width: 480px) {
  .ftree-children {
    grid-template-columns: 1fr;
  }
 
}

.footer-bottom {
  text-align: center;
 
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #999;
}
/* Footer Quick Links Section */
.footer-col {
  font-weight: 400;
}

.footer-col p {
  margin-bottom: 10px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;       /* Wrap buttons to next line */
  gap: 10px;             /* Space between buttons */
}

/* Button-style links */
.footer-col a {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  border: 1px solid #555;
  border-radius: 6px;          
  color: #ddd;
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Hover effect */
.footer-col a:hover {
  background-color:#ff6600;;   
  color: #111;                
  border-color: #ff6600;;
  transform: translateY(-2px); /* Slight lift effect */
}

/* Responsive design */
@media (max-width: 768px) {
  .footer-col a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
 
}/* Gallery wrapper - using CSS grid */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Always 3 columns */
  gap: 15px; /* Space between images */
 
  margin: 0 auto;
}

/* Gallery items */
.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.view-gallery img {
  width: 100%;
  height: 250px; /* Fixed height for equal size */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.view-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

/* Responsive behavior */
@media (max-width: 992px) {
  .gallery-wrapper {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
  .marquee-container {
  width: auto;
}
}

@media (max-width: 576px) {
  .gallery-wrapper {
    grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
  }
  
}

.help-contact-section {
  background-color: #f9fafc;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}

.help-contact-container {
  max-width: 800px;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.help {
  padding: 40px 0;
  background: #f9f9f9;
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
  gap: 20px;
}

.help-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%; /* makes all cards equal height in grid */
}

.help-card img {
  width: 100%;
  height: 200px; /* all images same height */
  object-fit: cover; /* crop/rescale image nicely */
  border-bottom: 1px solid #ddd;
}

.marquee-container {
  height: 569px;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  flex-direction: column;
  animation: scrollUp 20s linear infinite;
}



/* Continuous scrolling effect */
@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Pause animation when hovered */
.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}
#qr-container{
  text-align: center;
}
/* Container */
.countries-grid {
   display: grid;
  grid-template-columns: repeat(2, 1fr); /* 4 columns */
  gap: 20px; /* space between cards */

  margin-top: 30px;
  justify-content: center;
}


/* Each country card */
.countries-donate-details {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  width: 300px; /* fixed width for all cards */
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.countries-donate-details:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Country image */
.countries-donate-details img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Country title */
.country-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Toggle button */
.toggle-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.toggle-btn:hover {
  background-color: #0056b3;
}

/* Details section */
.country-details {
  margin-top: 15px;
  text-align: left;
  display: none; /* hidden by default */
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}



.country-details.active {
  display: block;
}



/* Make responsive */
@media screen and (max-width: 991px) {
  .countries-donate-details {
    width: 45%;
  }
}

@media screen and (max-width: 600px) {
  .countries-donate-details {
    width: 100%;
  }
}

.countries-grid {
  background: transparent; /* removes background from inner grid */
}

.vc_row.la_fp_slide {
  background: transparent; /* removes outer row background if double */
}

.node__meta{
  display: none;
}

.btn-read-more {
  display: inline-block;
  padding: 8px 18px;
  background-color: white;
  color: #ff6600;
  border: 1px solid rgb(5, 5, 5);
  border-radius: 9px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background-color: #ff6600;
  color: white;
    border: 2px solid #ff6600;
}



/* Donation page  */

    /* Tabs container */
    .nav-tabs .nav-link {
      border-radius: 0.5rem 0.5rem 0 0;
      color: #495057;
      font-weight: 500;
    }

    .nav-tabs .nav-link.active {
      background-color: #fe7b0e;
    color: #fff;
    border-color: #ff7b0e #ff7b0e #000;
    }

    .tab-content {
      width: 100%;
      background: #fff;
      border: 1px solid #ddd;
     
      padding: 20px;
      border-radius: 0 0 0.5rem 0.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .sidebar {
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      border: 1px solid #ddd;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      min-height: 350px;
    }
    .nav-tabs .nav-link {
  white-space: nowrap;
}
.nav-tabs .nav-link {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px; /* icon aur text ke beech gap */
}
@media (max-width: 768px) {  /* You can adjust breakpoint if needed */
  .hero-bg {
    height: 500px;
   
  }
}
/* Mobile view adjustments */
@media (max-width: 768px) {
  .container {
    padding: 10px; /* reduce container padding */
  }

  .nav-tabs {
    flex-wrap: wrap;         /* allow tabs to wrap on small screens */
    overflow-x: auto;        /* enable horizontal scrolling if needed */
    -webkit-overflow-scrolling: touch;
    border-bottom: none;     /* optional: cleaner look */
  }

  .nav-tabs .nav-item {
    flex: 1 1 auto;          /* make tabs flexible */
    text-align: center;
    margin-bottom: 5px;
  }

  .nav-tabs .nav-link {
    font-size: 14px;         /* smaller text */
    padding: 8px 10px;
    white-space: nowrap;     /* prevent breaking words */
  }

  .tab-content .row {
    margin: 0;              /* reduce spacing */
  }

  .tab-content {
    font-size: 14px;        /* slightly smaller text for mobile */
  }

  h3.mb-4 {
    font-size: 18px;        /* smaller heading */
  }
}
@media (max-width: 768px) {
  #countryTabs {
    flex-wrap: wrap !important;
  }
}

.form-item--field-first-name-0-value,
.form-item--field-last-name-0-value,
.form-item--field-city-0-value {
  display: none;
}
