/* Hero Get Started Button - Stay on one line */
    .hero-btn {
      white-space: nowrap !important;
      display: inline-block !important;
      min-width: max-content !important;
    }
    
    @media (max-width: 768px) {
      .hero-btn {
        font-size: 1rem !important;
        padding: 10px 20px !important;
      }
    }
    
    @media (max-width: 576px) {
      .hero-btn {
        font-size: 0.9rem !important;
        padding: 8px 16px !important;
      }
    }
    
    @media (max-width: 375px) {
      .hero-btn {
        font-size: 0.85rem !important;
        padding: 8px 14px !important;
      }
    }
    
    /* Center the Get Started button only on mobile and tablet */
    @media (max-width: 991.98px) {
      .hero-btn {
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
      }
    }
    
    /* Responsive hero section adjustments - center text on mobile/tablet */
    @media (max-width: 991.98px) {
      .hero-cover {
        min-height: 70vh !important;
      }
      
      .hero-cover .row {
        min-height: 70vh !important;
      }
      
      .hero-cover .col-lg-6:first-child {
        min-height: auto !important;
        padding: 30px 20px !important;
        text-align: center !important; /* Center text on tablet */
      }
      
      .hero-cover .col-lg-6:last-child {
        min-height: 50vh !important;
      }
      
      .hero-image {
        width: 100% !important;
        height: 50vh !important;
        max-width: 100% !important;
        max-height: 50vh !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
      }
      
      .hero-cover h1 {
        font-size: 2.8rem !important;
        line-height: 1.2 !important;
      }
      
      .hero-cover p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-bottom: 2rem !important;
      }
    }

    @media (max-width: 767.98px) {
      .hero-cover {
        min-height: 60vh !important;
      }
      
      .hero-cover .row {
        min-height: 60vh !important;
      }
      
      .hero-cover .col-lg-6:first-child {
        padding: 25px 20px !important;
        text-align: center !important; /* Center text on mobile */
      }
      
      .hero-cover .col-lg-6:last-child {
        min-height: 40vh !important;
      }
      
      .hero-image {
        width: 100% !important;
        height: 40vh !important;
        max-width: 100% !important;
        max-height: 40vh !important;
      }
      
      .hero-cover h1 {
        font-size: 2.4rem !important;
        line-height: 1.2 !important;
      }
      
      .hero-cover p {
        font-size: 15px !important;
        line-height: 1.5 !important;
      }
    }

    @media (max-width: 575.98px) {
      .hero-cover {
        min-height: 50vh !important;
      }
      
      .hero-cover .row {
        min-height: 50vh !important;
      }
      
      .hero-cover .col-lg-6:first-child {
        padding: 20px 15px !important;
        text-align: center !important; /* Center text on small mobile */
      }
      
      .hero-cover .col-lg-6:last-child {
        min-height: 35vh !important;
      }
      
      .hero-image {
        width: 100% !important;
        height: 35vh !important;
        max-width: 100% !important;
        max-height: 35vh !important;
      }
      
      .hero-cover h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
      }
      
      .hero-cover p {
        font-size: 14px !important;
        line-height: 1.4 !important;
      }
    }

    /* About section responsive adjustments - center text on mobile/tablet */
    @media (max-width: 991.98px) and (min-width: 768px) {
      /* iPad specific styles */
      .what-we-do {
        padding: 30px 0 !important;
        overflow: hidden !important;
      }
      
      .what-we-do .container {
        max-width: 100% !important;
        padding: 0 30px !important;
        overflow: hidden !important;
      }
      
      .what-we-do .section-header {
        text-align: center !important;
        margin-bottom: 1.5rem !important;
      }
      
      .what-we-do .section-header h2 {
        font-size: 2rem !important;
        margin-bottom: 0.8rem !important;
      }
      
      .what-we-do .section-header p {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
      }
      
      .what-we-do .content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        overflow: hidden !important;
      }
      
      .what-we-do .right-text {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important;
      }
      
      .what-we-do .right-text h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0.8rem !important;
      }
      
      .what-we-do .right-text p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.8rem !important;
        width: 100% !important;
      }
      
      .what-we-do .right-text blockquote {
        font-size: 0.95rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
      }
      
      .what-we-do .left-images {
        order: 2 !important;
        width: 100% !important;
        height: 400px !important;
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        transform: scale(0.75) !important;
        transform-origin: center center !important;
        overflow: visible !important;
      }
      
      /* Ensure decorative elements stay within bounds */
      .what-we-do .decor {
        position: absolute !important;
      }
      
      .what-we-do .circle {
        position: absolute !important;
      }
    }

    @media (max-width: 767.98px) {
      /* Mobile styles */
      .what-we-do {
        padding: 25px 0 !important;
      }
      
      .what-we-do .container {
        max-width: 100% !important;
        padding: 0 20px !important;
      }
      
      .what-we-do .section-header {
        text-align: center !important;
        margin-bottom: 1.2rem !important;
      }
      
      .what-we-do .section-header h2 {
        font-size: 1.75rem !important;
        margin-bottom: 0.6rem !important;
      }
      
      .what-we-do .section-header p {
        font-size: 0.9rem !important;
        margin-bottom: 0.2rem !important;
      }
      
      .what-we-do .content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
      }
      
      .what-we-do .right-text {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 1.2rem !important;
        padding: 0 !important;
      }
      
      .what-we-do .right-text h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.6rem !important;
      }
      
      .what-we-do .right-text p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 0.6rem !important;
        width: 100% !important;
      }
      
      .what-we-do .right-text blockquote {
        font-size: 0.85rem !important;
        margin-top: 0.8rem !important;
        width: 100% !important;
      }
      
      .what-we-do .left-images {
        order: 2 !important;
        width: 100% !important;
        height: 380px !important;
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto !important;
        transform: scale(0.8) !important;
        transform-origin: center !important;
        overflow: visible !important;
      }
    }

    @media (max-width: 575.98px) {
      /* Small mobile styles */
      .what-we-do {
        padding: 20px 0 !important;
      }
      
      .what-we-do .container {
        padding: 0 15px !important;
      }
      
      .what-we-do .section-header {
        margin-bottom: 1rem !important;
      }
      
      .what-we-do .section-header h2 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
      }
      
      .what-we-do .section-header p {
        font-size: 0.85rem !important;
        margin-bottom: 0.2rem !important;
      }
      
      .what-we-do .right-text {
        margin-bottom: 1rem !important;
      }
      
      .what-we-do .right-text h3 {
        font-size: 1.2rem !important;
        margin-bottom: 0.5rem !important;
      }
      
      .what-we-do .right-text p {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
      }
      
      .what-we-do .right-text blockquote {
        font-size: 0.8rem !important;
        margin-top: 0.6rem !important;
      }
      
      .what-we-do .left-images {
        height: 340px !important;
        transform: scale(0.75) !important;
      }
    }

/* Contact Section Mobile & Tablet Responsive */
@media (max-width: 991.98px) {
  /* Contact Section Container */
  .container.my-5 {
    padding: 2rem 1rem !important;
    margin: 2rem auto !important;
  }
  
  .container.my-5 .row {
    gap: 2rem !important;
  }
  
  /* Contact Form Adjustments */
  .container.my-5 .col-lg-6:first-child {
    order: 1;
    margin-bottom: 1.5rem;
  }
  
  .container.my-5 .col-lg-6:last-child {
    order: 2;
  }
  
  .container.my-5 .card {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .container.my-5 .card-header {
    padding: 1rem !important;
  }
  
  .container.my-5 .card-header h2 {
    font-size: 1.5rem !important;
  }
  
  .container.my-5 .card-body {
    padding: 1.5rem !important;
  }
  
  /* Form Elements */
  .container.my-5 .form-control {
    padding: 0.75rem !important;
    font-size: 0.95rem !important;
  }
  
  .container.my-5 .form-label {
    font-size: 0.9rem !important;
  }
  
  .container.my-5 .apply-btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  /* Contact Details */
  .container.my-5 .w-100 {
    padding: 1.5rem 1rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child h3 {
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child h4 {
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    margin-top: 1.5rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child p {
    font-size: 0.95rem !important;
  }
  
  /* Map */
  .container.my-5 iframe {
    height: 200px !important;
  }
}

@media (max-width: 767.98px) {
  /* Mobile Specific Adjustments */
  .container.my-5 {
    padding: 1.5rem 0.75rem !important;
    margin: 1.5rem auto !important;
  }
  
  .container.my-5 .row {
    gap: 1.5rem !important;
    margin: 0 !important;
  }
  
  .container.my-5 .col-lg-6 {
    padding: 0 0.5rem !important;
  }
  
  .container.my-5 .card {
    border-radius: 15px !important;
  }
  
  .container.my-5 .card-header {
    border-radius: 13px 13px 0 0 !important;
    padding: 0.75rem !important;
  }
  
  .container.my-5 .card-header h2 {
    font-size: 1.25rem !important;
  }
  
  .container.my-5 .card-body {
    padding: 1rem !important;
  }
  
  .container.my-5 .form-control {
    padding: 0.6rem !important;
    font-size: 0.9rem !important;
  }
  
  .container.my-5 .form-label {
    font-size: 0.85rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .container.my-5 .apply-btn {
    padding: 0.6rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
  
  .container.my-5 .w-100 {
    padding: 1rem 0.75rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child h3 {
    font-size: 1.2rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child h4 {
    font-size: 1rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  
  .container.my-5 iframe {
    height: 180px !important;
  }
}

@media (max-width: 575.98px) {
  /* Small Mobile Adjustments */
  .container.my-5 {
    padding: 1rem 0.5rem !important;
    margin: 1rem auto !important;
  }
  
  .container.my-5 .row {
    gap: 1rem !important;
  }
  
  .container.my-5 .col-lg-6 {
    padding: 0 0.25rem !important;
  }
  
  .container.my-5 .card-header h2 {
    font-size: 1.1rem !important;
  }
  
  .container.my-5 .card-body {
    padding: 0.75rem !important;
  }
  
  .container.my-5 .form-control {
    padding: 0.5rem !important;
    font-size: 0.85rem !important;
  }
  
  .container.my-5 .form-label {
    font-size: 0.8rem !important;
  }
  
  .container.my-5 .apply-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
  }
  
  .container.my-5 .w-100 {
    padding: 0.75rem 0.5rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child h3 {
    font-size: 1.1rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child h4 {
    font-size: 0.95rem !important;
  }
  
  .container.my-5 .col-lg-6:last-child p {
    font-size: 0.85rem !important;
  }
  
  .container.my-5 iframe {
    height: 160px !important;
  }
}

/* Additional Contact Form Width Fixes */
@media (max-width: 991.98px) {
  /* Ensure full width containers */
  .container.my-5 {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  .container.my-5 .row {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .container.my-5 .col-lg-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  /* Card width fixes */
  .container.my-5 .card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .container.my-5 .card-body {
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Form element width fixes */
  .container.my-5 .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .container.my-5 .apply-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 767.98px) {
  /* Mobile width adjustments */
  .container.my-5 {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .container.my-5 .col-lg-6 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  
  .container.my-5 .card {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 575.98px) {
  /* Small mobile width fixes */
  .container.my-5 {
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
  
  .container.my-5 .col-lg-6 {
    padding-left: 0.125rem !important;
    padding-right: 0.125rem !important;
  }
}

/* Contact Details Section Width Fixes */
@media (max-width: 991.98px) {
  .container.my-5 .w-100 {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .container.my-5 iframe {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Prevent horizontal scroll */
@media (max-width: 991.98px) {
  body {
    overflow-x: hidden !important;
  }
  
  .container.my-5 * {
    box-sizing: border-box !important;
  }
}

/* Support Our Mission Section Font Size Adjustments */
@media (max-width: 991.98px) {
  /* Tablet adjustments */
  section[style*="width:100vw; margin-left:calc(-50vw + 50%)"] h2 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }
  
  section[style*="width:100vw; margin-left:calc(-50vw + 50%)"] p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.5rem !important;
  }
}

/* Featured Blog Section Responsive */
@media (max-width: 991.98px) {
  /* Tablet adjustments for Featured Blog */
  section[style*="background:#f9fafb; padding:60px 100px"] {
    padding: 40px 20px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .container-fluid {
    padding: 0 15px !important;
  }
  
  /* Header adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 h2 {
    font-size: 1.8rem !important;
    margin-bottom: 8px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 {
    margin-bottom: 2rem !important;
  }
  
  /* Blog card layout - stack on tablet */
  section[style*="background:#f9fafb; padding:60px 100px"] .row.g-0 {
    flex-direction: column !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  }
  
  /* Image adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:first-child {
    order: 2 !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:first-child img {
    height: 250px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  
  /* Content adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child {
    order: 1 !important;
    padding: 2rem !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child h3 {
    font-size: 1.3rem !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child p:first-of-type {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
    line-height: 1.5 !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child p:nth-of-type(2) {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child .btn {
    padding: 10px 24px !important;
    font-size: 0.95rem !important;
  }
}

@media (max-width: 767.98px) {
  /* Mobile adjustments for Featured Blog */
  section[style*="background:#f9fafb; padding:60px 100px"] {
    padding: 30px 15px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .container-fluid {
    padding: 0 10px !important;
  }
  
  /* Header mobile adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 h2 {
    font-size: 1.6rem !important;
    margin-bottom: 6px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 p {
    font-size: 0.9rem !important;
    padding: 0 10px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 {
    margin-bottom: 1.5rem !important;
  }
  
  /* Mobile blog card adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .row.g-0 {
    border-radius: 15px !important;
    margin: 0 5px !important;
  }
  
  /* Mobile image adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:first-child img {
    height: 200px !important;
    border-radius: 0 0 15px 15px !important;
  }
  
  /* Mobile content adjustments */
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child {
    padding: 1.5rem !important;
    border-radius: 15px 15px 0 0 !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child h3 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child p:first-of-type {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child p:nth-of-type(2) {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child .btn {
    padding: 8px 20px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 575.98px) {
  /* Small mobile adjustments for Featured Blog */
  section[style*="background:#f9fafb; padding:60px 100px"] {
    padding: 25px 10px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .container-fluid {
    padding: 0 5px !important;
  }
  
  /* Small mobile header */
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 h2 {
    font-size: 1.4rem !important;
    margin-bottom: 5px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 p {
    font-size: 0.85rem !important;
    padding: 0 5px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .text-center.mb-5 {
    margin-bottom: 1.2rem !important;
  }
  
  /* Small mobile card */
  section[style*="background:#f9fafb; padding:60px 100px"] .row.g-0 {
    margin: 0 2px !important;
  }
  
  /* Small mobile image */
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:first-child img {
    height: 180px !important;
  }
  
  /* Small mobile content */
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child {
    padding: 1.2rem !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child h3 {
    font-size: 1.1rem !important;
    margin-bottom: 8px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child p:first-of-type {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child p:nth-of-type(2) {
    font-size: 0.8rem !important;
    margin-bottom: 10px !important;
  }
  
  section[style*="background:#f9fafb; padding:60px 100px"] .col-md-6:last-child .btn {
    padding: 6px 18px !important;
    font-size: 0.85rem !important;
  }
}

/* Scholarship Section Responsive - Full Width Like Donation Section */
@media (max-width: 991.98px) {
  /* Tablet adjustments for Scholarship section */
  #scholarship {
    min-height: 280px !important;
  }
  
  #scholarship .container-fluid {
    padding: 30px 20px !important;
    min-height: 280px !important;
  }
}

@media (max-width: 767.98px) {
  /* Mobile adjustments for Scholarship section */
  #scholarship {
    min-height: 250px !important;
  }
  
  #scholarship .container-fluid {
    padding: 25px 15px !important;
    min-height: 250px !important;
  }
}

@media (max-width: 575.98px) {
  /* Small mobile adjustments for Scholarship section */
  #scholarship {
    min-height: 220px !important;
  }
  
  #scholarship .container-fluid {
    padding: 20px 10px !important;
    min-height: 220px !important;
  }
}

