.hero-section {
  background-color: #f8f9fa; /* same as bg-light */
  padding-left: 5px;
  padding-right: 1000px;
  
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 650px; /* or 50vh if you want it dynamic */
  
}

.hero-container {
  padding-left: 1rem;   /* or try 2vw for a relative margin */
  padding-right: 1rem;
  max-width: 100%;      /* Optional, keep it from expanding oddly */
  box-sizing: border-box;
  margin: 0 auto;       /* center content if it ever becomes narrower */
  text-align: left;
}

footer {
    font-size: 0.9rem;
    color: #6c757d;
}

.content-wrapper {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .content-wrapper {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

  
}

@media (min-width: 768px) {
  .wide-container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

.nav-inner-container {

  padding-left: 3rem;
  padding-right: 3rem;
}

.custom-nav-padding {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}


/* TIGHTER horizontal padding on your navbar */
.navbar > .container-fluid {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}


.about-section .container {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .about-section .container {
    padding-left: 5vw;
    padding-right: 5vw;
  }
}


.about-wrapper {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-left: 10rem;
  padding-right: 10rem;
  flex-wrap: wrap; /* ensures responsiveness */
}

.about-text {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.about-img {
  flex: 1;
  min-width: 300px;
}

.text-justify {
  text-align: justify;
}


/* Fund Page Styles */
.fund-section {
  min-height: 80vh;
  padding: 2rem 0;
}

.fund-wrapper {
  display: flex;
  gap: 3rem;
  padding-left: 3rem;
  padding-right: 3rem;
  flex-wrap: wrap;
  align-items: stretch; /* ✅ make both columns equal height */
  margin-bottom: 40px;    /* ✅ vertical space between rows */
}

.chart-container {
  flex: 1.2;
  min-width: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  order: 2; /* Chart now on the right */
}

.chart-area {
  position: relative;
  flex: 1;               /* fill the vertical space of chart-container */
  margin-top: 1rem;
}

.fund-info {
  flex: 1.3;
  min-width: 400px;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  order: 1; /* Fund info now on the left */
}

.fund-details h4 {
  color: #2c3e50;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.fund-details h4:first-child {
  margin-top: 0;
}

.fund-details ul li {
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.fund-details ul li:last-child {
  border-bottom: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-item:nth-child(2n) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.metric-label {
  font-weight: 500;
  color: #6c757d;
}

.metric-value {
  font-weight: bold;
  font-size: 1.1rem;
}

.chart-controls {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.chart-controls .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
}

.chart-controls .form-control {
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.chart-controls .btn {
  padding: 0.5rem 1.5rem;
  font-weight: 600;
}

/* Responsive design for fund page */
@media (max-width: 1200px) {
  .fund-wrapper {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .chart-container {
    min-width: 450px;
  }
  
  .fund-info {
    min-width: 350px;
  }
}

@media (max-width: 768px) {
  .fund-wrapper {
    flex-direction: column;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 2rem;
  }
  
  .chart-container {
    min-width: 100%;
  }
  
  .fund-info {
    min-width: 100%;
  }
  
  .chart-area {
    height: 10px;
    position: relative;
  }
  

  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

.text-justify {
    text-align: justify;
}
.chart-area canvas {
  width: 100% !important;  /* fill the container */
  height: 100% !important; /* fill the container */
}

/* Slow the slide animation and add glow */
.collapsing {
  transition: height 2.8s ease !important;   /* Bootstrap animates height on .collapsing */
}



/* changed added on 25th September 2025, to add contract and doc section */

/* One big unified frame */
.frame-card {
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}

/* Inside the big frame, space sections consistently */
.frame-body {
  padding: 1.25rem;      /* mobile */
}
@media (min-width: 992px){
  .frame-body { padding: 2rem 2rem; }   /* desktop */
}

/* Optional: de-emphasize inner cards so they feel part of the mosaic */
.frame-body .card {
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: none;
}

/* Make the inner tab nav match your neutral card theme */
.frame-tabs .nav-link {
  color: #495057;              /* dark gray text */
  background-color: transparent;
}

.frame-tabs .nav-link.active,
.frame-tabs .nav-link.active:hover {
  color: #212529;              /* almost black text */
  background-color: #e9ecef;   /* Bootstrap gray-200 */
  border-radius: 0.5rem;       /* keep soft pill corners */
  font-weight: 500;
}

.frame-tabs .nav-link:hover {
  background-color: #f8f9fa;   /* lighter hover gray */
}

#tab-docs .card-title {
  white-space: nowrap;
}

/* --- Documents tiles --- */
#tab-docs .card {
  border: 1px solid #e5e7eb;       /* subtle border */
  border-radius: 1rem;             /* larger, like fund-wrapper panels */
  background-color: #fff;          /* clean white background */
  box-shadow: none;                /* no heavy shadows, match flat look */
  transition: all 0.2s ease-in-out;
  text-align: center;              /* consistent text alignment */
  padding: 1.5rem 1rem;            /* breathing room inside */
}

/* Hover feedback (optional, for UX consistency) */
#tab-docs .card:hover {
  border-color: #d1d5db;           /* slightly darker border on hover */
  transform: translateY(-2px);     /* subtle lift */
}

/* --- Title fix --- */
#tab-docs .card-title {
  font-size: 1.05rem;              /* slightly smaller to prevent wrapping */
  font-weight: 600;
  white-space: nowrap;             /* lock single-line */
}
