@media (min-width: 1400px) {
  section .container, section .container-lg, section .container-md, section .container-sm, section .container-xl, section .container-xxl {
      max-width: 900px;
  }
}
@media (min-width: 1200px) {
  section .container, section .container-lg, section .container-md, section .container-sm, section .container-xl, section .container-xxl {
      max-width: 900px;
  }
}
@media (min-width: 992px) {
  section .container, section .container-lg, section .container-md, section .container-sm, section .container-xl, section .container-xxl {
      max-width: 900px;
  }
}
.i_create__donate_title {
font-size: 3rem;
font-family: var(--heading-font);
font-weight: 700;
}

.photo-grid {
display: grid;
grid-template-columns: repeat(4, 1fr); /* 4 columns */
grid-auto-rows: 150px; /* Default row height */
gap: 10px;
overflow: hidden; /* Prevent any overflow */
grid-template-rows: 110px 110px 110px 110px;
}

.image-container {
position: relative;
overflow: hidden;
border-radius: 0px; /* Rounded corners for images */
}

.image-container img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease-in-out;
}

.image-container:hover img {
transform: scale(1.1); /* Zoom effect on hover */
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Dark transparent overlay */
opacity: 0;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: 1rem;
font-weight: bold;
text-align: center;
transition: opacity 0.3s ease-in-out;
}

.image-container:hover .overlay {
opacity: 1;
}

/* Custom Sizes for Images */
.image-container.wide {
grid-column: span 2; /* Span 2 columns */
grid-row: span 1; /* Span 1 row */
}

.image-container.large {
grid-column: span 2; /* Span 2 columns */
grid-row: span 2; /* Span 2 rows */
}

.image-container.long {
grid-column: span 1; /* Span 1 column */
grid-row: span 2; /* Span 2 rows */
}
.image-container.midLong {
grid-column: span 1; /* Span 1 column */
grid-row: span 1.5; /* Span 2 rows */
}

.i_create__work_with_us_btn {
margin-top: 66px;
margin-bottom: 133px;
}

/* story */
/* Section Styling */
/* Section Styling */
.story-cards-section {
  background-color: #fff;
  padding: 2rem 0;
}

/* Story Cards Container (should wrap all cards) */
.story-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Story Card Styling */
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0px 4px 13px 0px #0000000d;
  border-radius: 30px;
  overflow: hidden;
  padding-bottom: 4rem;
  width: 100%;
  min-height: 100%; /* Ensures consistent height inside container */
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Image Styling */
.story-card-img {
  object-fit: cover;
  height: 280px;
  width: 100%;
}

/* Card Body */
.story-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Heading Styling */
.story-card-body h5 {
  margin-bottom: 0.5rem;
  font-size: 28px;
  font-weight: 700;
  line-height: 33.6px;
  text-align: left;
  font-family: var(--heading-font);
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

/* Paragraph Styling (3-line truncation + fixed height) */
.story-card-body p {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 1rem;
  color: #6c757d;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 60px; /* 3 lines * line-height */
}

/* Button Styling */
.story-card-body .btn {
  font-weight: bold;
  border-radius: 10px;
  text-transform: uppercase;
  display: block;
  width: 100%;
  height: 40px;
  background-color: var(--bs-primary);
  color: #fff;
  margin-top: auto; /* Pushes button to bottom */
}

/* Responsive Styling */
@media (max-width: 768px) {
/*.photo-grid {
  grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens 
}*/

.image-container {
  grid-column: span 1; /* Default to 1 column on smaller screens */
  grid-row: span 1;
}

.image-container.large {
  grid-column: span 2; /* Ensure large image spans full width */
  grid-row: span 2;
}
}
.i_create_india_hero_descp{
  font-size: 18px;
}