@media (max-width: 1399.98px) {
  .hero-title {
    font-size: 42px;
    line-height: 52px;
  }
}

@media (max-width: 1199.98px) {
  .hero-section {
    min-height: 620px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 50px;
    margin-top: 120px;
  }

  .hero-text {
    font-size: 21px;
    max-width: 420px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 580px;
    text-align: center;
    background-position: center;
    background-size: cover;
    margin-top: 60px !important;
  }

  .hero-container {
    margin-right: 0;
  }

  .hero-title {
    font-size: 34px;
    line-height: 44px;
    margin-top: 100px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-dots {
    right: 50%;
    transform: translateX(50%);
  }
  
  .hero-content {
      justify-content: right !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 520px;
    border-radius: 12px;
    margin: 60px 10px 10px;
    background-size: cover;
    background-position: center;
  }

@media (max-width: 1399.98px) {
  .hero-title {
    font-size: 42px;
    line-height: 52px;
  }
}

@media (max-width: 1199.98px) {
  .hero-section {
    min-height: 620px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 50px;
    margin-top: 120px;
  }

  .hero-text {
    font-size: 21px;
    max-width: 420px;
  }

  .hero-author {
    font-size: 16px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 580px;
    text-align: center;
    background-position: center;
    background-size: cover;
    margin-top: 60px !important;
  }

  .hero-container {
    margin-right: 0;
  }

  .hero-title {
    font-size: 34px;
    line-height: 44px;
    margin-top: 100px;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-dots {
    right: 50%;
    transform: translateX(50%);
  }
  
  .hero-content {
      justify-content: right !important;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 520px;
    border-radius: 12px;
    margin: 60px 10px 10px;
    background-size: cover;
    background-position: center;
  }

  .hero-title {
    font-size: 30px;
    line-height: 38px;
    margin-top: 80px;
  }

  .hero-text {
    font-size: 19px;
    line-height: 26px;
  }

  .hero-author {
    font-size: 14px;
  }

  .hero-btn {
    font-size: 16px;
    padding: 10px 22px;
  }
  
  .hero-fade-layer {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    min-height: 520px; /* Increased height to show more of the image */
    border-radius: 10px;
    width: auto;
    margin: 60px 10px 10px;
    background-position: center top;
    font-size: 24px;
    line-height: 32px;
    margin-top: 60px;
  }

  .hero-title .blue-text,
  .hero-title .white-text {
    font-size: 24px;
    line-height: 32px;
    color: #ffffff; /* Use pure white for better contrast on dark overlay */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  }

  .hero-title .blue-text {
    color: #1965c0 !important; /* Keep the signature blue */
  }

  .hero-text {
    font-size: 17px;
    line-height: 24px;
    max-width: 100%;
    padding: 0 10px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
  .hero-author {
    font-size: 13px;
  }

  .hero-btn {
    font-size: 15px;
    padding: 9px 20px;
  }

  .hero-dots {
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
  
  .hero-fade-layer {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
  }

  .hero-fade-layer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for even better readability */
    z-index: 1;
  }
}

@media (max-width: 1399.98px) {
  .about-heading {
    font-size: 38px;
    line-height: 50px;
  }

  .about-subtext {
    font-size: 15px;
  }
}

@media (max-width: 1199.98px) {
  .about-heading {
    font-size: 34px;
    line-height: 46px;
    max-width: 720px;
  }

  .about-subtext {
    max-width: 750px;
    font-size: 15px;
  }

  .info-card {
    height: auto;
    padding: 28px !important;
  }
}

@media (max-width: 991.98px) {
  .about-heading {
    font-size: 30px;
    line-height: 40px;
  }

  .about-subtext {
    font-size: 14px;
    line-height: 22px;
    padding: 0 20px;
  }

  .info-card {
    height: auto;
    padding: 24px !important;
  }

  .card-title {
    font-size: 18px;
  }

  .info-card p {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {
  .about-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .about-heading {
    font-size: 26px;
    line-height: 36px;
  }

  .about-subtext {
    font-size: 14px;
    line-height: 22px;
  }

  .info-card {
    height: auto;
    padding: 20px !important;
  }

  .card-title {
    font-size: 17px;
  }
}

@media (max-width: 575.98px) {
  .about-heading {
    font-size: 22px;
    line-height: 30px;
  }

  .about-subtext {
    font-size: 13px;
    line-height: 20px;
    padding: 0 10px;
  }

  .info-card {
    padding: 18px !important;
    border-radius: 12px;
  }

  .card-title {
    font-size: 16px;
  }

  .info-card p {
    font-size: 13px;
    line-height: 20px;
  }
}

@media (max-width: 1399.98px) {
  .section-title {
    font-size: 38px;
    line-height: 48px;
  }

  .section-text {
    max-width: 375px;
  }

  .person-img {
    width: 250px !important;
  }

  .person-info {
    width: 260px;
    height: 100px;
  }

  .card-container {
    --bs-gutter-x: 1rem;
  }
}

@media (max-width: 1199.98px) {
  .founder-section {
    height: auto;
  }

  .founder-wrapper {
    padding: 70px 60px;
  }

  .section-title {
    font-size: 34px;
    line-height: 44px;
  }

  .person-img {
    width: 100%;
    margin: 0 auto;
    display: block;
  }

  .btn-custom {
    width: 45%;
  }

  .card-container {
    --bs-gutter-x: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .founder-section {
    height: auto;
  }

  .founder-wrapper {
    padding: 50px 60px;
  }

  .section-title {
    font-size: 30px;
    line-height: 40px;
  }

  .section-text {
    font-size: 15px;
    max-width: 100%;
  }

  .btn-custom {
    width: 60%;
  }

  .card-container {
    margin-top: 40px;
  }

  .founder-card {
    padding-right: 35px;
  }

  .person-img {
    width: 100% !important;
    max-width: 520px;
    margin: 0 auto;
    display: block;
  }

  .person-info {
    width: 85%;
  }
}

@media (max-width: 767.98px) {
  .founder-wrapper {
    padding: 50px 25px;
  }

  .founder-card {
    padding-right: 42px;
  }

  .section-label {
    font-size: 16px;
  }

  .section-title {
    font-size: 26px;
    line-height: 34px;
  }

  .section-text {
    font-size: 14px;
    line-height: 22px;
  }

  .btn-custom {
    width: 70%;
    height: 52px;
  }

  .btn-custom h5 {
    font-size: 17px;
  }

  .person-img {
    height: 340px;
    object-fit: cover;
  }

  .person-info {
    width: 90%;
  }
}

@media (max-width: 575.98px) {
  .founder-wrapper {
    padding: 40px 15px;
  }

  .founder-card {
    padding-right: 15px;
    padding-left: 15px;
    display: flex;
    justify-content: center;
  }

  .section-title {
    font-size: 24px;
    line-height: 32px;
  }

  .section-text {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 0 !important;
  }

  .btn-custom {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-custom h5 {
    font-size: 16px;
    margin-bottom: 0;
  }

  .card-container {
    margin-top: 20px;
    --bs-gutter-y: 2rem;
  100
  .person-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .person-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 24px;
  }

  .person-info {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: -60px;
    padding: 15px 20px 15px;
    border-top-right-radius: 40px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: auto !important;
    position: relative;
    z-index: 2;
  }

  .person-info h3, .person-info h6 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .person-info small {
    font-size: 13px;
  }
}

@media (min-width: 1400px) {
  .success-title {
    font-size: 42px;
    line-height: 56px;
  }

  .success-card h3 {
    font-size: 44px;
    line-height: 56px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .success-title {
    font-size: 38px;
    line-height: 50px;
  }

  .success-card h3 {
    font-size: 38px;
    line-height: 48px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .success-title {
    font-size: 34px;
    line-height: 44px;
  }

  .success-card {
    padding: 45px 20px 30px;
  }

  .success-card h3 {
    font-size: 34px;
    line-height: 44px;
  }

  .success-card p {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .success-title {
    font-size: 30px;
    line-height: 40px;
  }

  .success-card {
    padding: 40px 18px 28px;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
    margin: -70px auto 18px;
  }

  .success-card h3 {
    font-size: 30px;
    line-height: 40px;
  }

  .success-card p {
    font-size: 17px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .success-title {
    font-size: 26px;
    line-height: 34px;
  }

  .success-card {
    padding: 35px 16px 25px;
    margin-top: 30px;
  }

  .icon-circle {
    width: 65px;
    height: 65px;
    margin: -65px auto 15px;
  }

  .success-card h3 {
    font-size: 26px;
    line-height: 34px;
  }

  .success-card p {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .success-label {
    font-size: 16px;
  }

  .success-title {
    font-size: 22px;
    line-height: 30px;
  }

  .success-card {
    padding: 30px 15px 22px;
    margin-top: 25px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
    margin: -60px auto 12px;
  }

  .success-card h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .success-card p {
    font-size: 15px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .card-wrapper {
    max-width: 1200px;
    margin: 0 auto !important;
  }

  .admin-img {
    height: 330px;
  }

  .card-one {
    width: 30%;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .admin-section {
    min-height: auto;
  }

  .card-wrapper {
    max-width: 100%;
    margin: 0 auto !important;
  }

  .admin-img {
    height: 300px;
  }

  .card-one {
    width: 45%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .admin-section {
    min-height: auto;
    margin: 12px;
  }

  .card-wrapper {
    margin: 0 auto !important;
    padding: 0 20px;
    justify-content: center;
  }

  .admin-img {
    height: 280px;
    width: 100%;
  }

  .card-one {
    width: 48%;
  }

  .admin-info {
    height: auto;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .admin-section {
    min-height: auto;
    margin: 10px;
    border-radius: 16px;
  }

  .card-wrapper {
    margin: 0 auto !important;
    padding: 0 15px;
    justify-content: center;
  }

  .admin-img {
    height: 100%;
    width: 90% !important;
    margin: 0 auto;
  }

  .card-one {
    width: 100%;
  }

  .admin-info {
    height: auto;
    padding: 18px;
    width: 90%;
    margin: -30px auto 0;
  }
}

@media (max-width: 575.98px) {
  .admin-section {
    min-height: auto;
    margin: 10px;
    border-radius: 16px;
  }

  .admin-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .card-wrapper {
    margin: 0 auto !important;
    padding: 0 15px;
    display: flex;
    justify-content: center;
  }

  .admin-img {
    height: 340px;
    width: 100%;
    object-fit: cover;
    border-radius: 24px;
  }

  .card-one {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
  }

  .admin-info {
    height: auto !important;
    padding: 15px 20px;
    width: 100%;
    margin: -50px 0 0 0;
    background: #ffffff;
    border-top-right-radius: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  }

  .admin-info h3, .admin-info h6 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .admin-info small {
    font-size: 14px;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {

  .gallery-title {
    font-size: 26px;
    line-height: 34px;
  }

  .gallery-wrapper .d-flex {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
  }

  .gallery-btn {
    margin-top: 20px !important;
  }

  .gallery-subtitle {
    font-size: 14px;
  }

  .gallery-grid-home {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item-home {
    height: 220px;
    border-radius: 16px;
  }

}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-item-home {
    height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-item-home {
    height: 240px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid-home {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .gallery-item-home {
    height: 260px;
  }
}


}

@media (min-width: 1200px) and (max-width: 1399.98px) {

  .swiper-slide {
    width: 380px;
  }

  .swiper-slide img {
    height: 260px;
  }

}

@media (min-width: 1400px) {

  .swiper-slide {
    width: 420px;
  }

  .swiper-slide img {
    height: 280px;
  }

}

@media (min-width: 1400px) {
  .message-title {
    font-size: 42px;
    line-height: 56px;
  }

  .message-box {
    padding: 55px;
    min-height: 450px;
  }

  .message-img {
    top: 60px;
    right: 40px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .message-title {
    font-size: 38px;
    line-height: 50px;
  }

  .message-box {
    padding: 50px;
  }

  .message-img {
    top: 55px;
    right: 30px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .message-title {
    font-size: 34px;
    line-height: 44px;
  }

  .message-box {
    padding: 40px;
    min-height: auto;
  }

  .message-img {
    top: 40px;
    right: 20px;
  }

  .message-text {
    font-size: 15px;
    line-height: 22px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .message-title {
    font-size: 30px;
    line-height: 40px;
  }

  .message-box {
    padding: 35px;
    min-height: auto;
    margin-top: 40px;
  }

  .message-img {
    top: 40px;
    right: 0;
    /* margin-bottom: 30px; */
    object-fit: contain;
  }

  .message-text {
    font-size: 14px;
    line-height: 22px;
  }

  .signature {
    height: 38px;
    width: 115px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .message-title {
    font-size: 26px;
    line-height: 34px;
  }

  .message-box {
    padding: 30px;
    border-radius: 24px;
    margin-top: 30px;
  }

  .message-img {
    top: 30px;
    right: 0;
    /* margin-bottom: 25px; */
    object-fit: contain;
  }

  .message-text {
    font-size: 14px;
    line-height: 22px;
  }

  .signature {
    height: 35px;
    width: 105px;
  }

  .message-info h6,
  .message-info small {
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .message-title {
    font-size: 22px;
    line-height: 30px;
  }

  .message-label {
    font-size: 16px;
  }

  .message-box {
    padding: 25px;
    border-radius: 20px;
    margin-top: 25px;
  }

  .message-img {
    top: 25px;
    right: 0;
    /* margin-bottom: 20px; */
    object-fit: contain;
  }

  .message-text {
    font-size: 13px;
    line-height: 20px;
  }

  .signature {
    height: 30px;
    width: 95px;
  }

  .message-info h6 {
    font-size: 14px;
  }

  .message-info small {
    font-size: 13px;
  }
}

@media (min-width: 1400px) {
  .news-title {
    font-size: 42px;
    line-height: 56px;
  }

  .news-img img {
    height: 300px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .news-title {
    font-size: 38px;
    line-height: 50px;
  }

  .news-img img {
    height: 280px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .news-title {
    font-size: 34px;
    line-height: 44px;
  }

  .news-label {
    font-size: 18px;
  }

  .news-img img {
    height: 260px;
  }

  .news-date {
    font-size: 18px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .news-title {
    font-size: 30px;
    line-height: 40px;
  }

  .news-label {
    font-size: 16px;
  }

  .news-img img {
    height: 240px;
  }

  .news-date {
    font-size: 16px;
  }

  .news-card-title {
    font-size: 16px;
    line-height: 22px;
  }

  .news-btn {
    height: 45px;
    width: 120px;
    font-size: 18px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .news-title {
    font-size: 26px;
    line-height: 34px;
  }

  .news-label {
    font-size: 15px;
  }

  .news-img img {
    height: 220px;
  }

  .news-date {
    font-size: 15px;
  }

  .news-card-title {
    font-size: 15px;
    line-height: 22px;
  }

  .news-btn {
    height: 42px;
    width: 110px;
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .news-title {
    font-size: 22px;
    line-height: 30px;
  }

  .news-label {
    font-size: 14px;
  }

  .news-img img {
    height: 200px;
    border-radius: 16px;
  }

  .news-date {
    font-size: 14px;
  }

  .news-card-title {
    font-size: 14px;
    line-height: 20px;
  }

  .news-btn {
    height: 40px;
    width: 100px;
    font-size: 14px;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .boundaries-title {
    font-size: 38px;
    line-height: 50px;
  }

  .region-card {
    width: 100% !important;
    padding: 30px 25px;
  }

  .region-content {
    padding-left: 30px;
  }

  .boundary-card-one-img {
    height: 240px;
  }

  .boundary-card-info {
    padding: 25px;
    margin-top: -45px;
    border-top-right-radius: 50px;
    min-height: 190px;
  }

  .boundary-card-info h4, .boundary-card-info h6 {
    font-size: 22px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .boundaries-title {
    font-size: 34px;
    line-height: 44px;
  }

  .region-card {
    padding: 25px 20px;
  }

  .region-content {
    padding-left: 20px;
  }

  .boundary-card-one-img {
    height: 220px;
  }

  .boundary-card-info {
    padding: 22px;
    margin-top: -40px;
    border-top-right-radius: 45px;
    min-height: auto;
  }

  .boundary-card-info h4, .boundary-card-info h6 {
    font-size: 20px;
  }

  .boundary-card-info small {
    font-size: 15px;
  }
}

@media (max-width: 991.98px) {
  .region-card {
    width: 100% !important;
    padding: 20px !important;
    margin-bottom: 30px !important;
    border-radius: 24px !important;
    flex-direction: column !important;
  }

  .region-list {
    flex-direction: row !important;
    overflow-x: auto !important;
    padding: 5px 2px 15px !important;
    gap: 12px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }

  .region-list::-webkit-scrollbar {
    display: none;
  }

  .region-item {
    white-space: nowrap !important;
    width: auto !important;
    padding: 10px 18px !important;
    margin-bottom: 0 !important;
    scroll-snap-align: start;
    flex-shrink: 0 !important;
  }

  .region-icon-box {
    width: 38px !important;
    height: 38px !important;
  }

  .region-item span {
    font-size: 15px !important;
  }

  .region-content {
    padding-left: 0 !important;
  }

  .boundary-card-one-img {
    height: 240px;
  }

  .boundary-card-info {
    padding: 25px 20px;
    margin-top: -60px;
    border-top-right-radius: 40px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.05);
  }

  .boundary-card-info h4, .boundary-card-info h6 {
    font-size: 22px;
  }
}

@media (max-width: 767.98px) {
  .boundaries-subtitle {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .boundaries-title {
    font-size: 28px;
    line-height: 1.3;
  }

  .boundary-card-one-img {
    height: 220px;
  }

  .boundary-card-info {
    padding: 22px 18px;
    margin-top: -45px;
    border-top-right-radius: 40px;
    width: 94%;
  }

  .boundary-card-info h4, .boundary-card-info h6 {
    font-size: 20px;
  }
}

@media (max-width: 575.98px) {
  .boundaries-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .region-card {
    padding: 15px !important;
    border-radius: 18px !important;
    margin-bottom: 25px !important;
  }

  .region-list {
    gap: 10px !important;
    padding-bottom: 10px;
  }

  .region-item {
    padding: 8px 14px !important;
  }

  .region-icon-box {
    width: 34px !important;
    height: 34px !important;
  }

  .region-item span {
    font-size: 14px !important;
  }

  .boundary-card-one-img {
    height: 200px;
  }

  .boundary-card-info {
    padding: 20px 15px;
    margin-top: -40px;
    border-top-right-radius: 35px;
    width: 100%;
    min-height: auto !important;
    justify-content: flex-start !important;
  }

  .boundary-card-info h4 {
    font-size: 16px;
  }

  .boundary-card-info small {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .contact-info {
    margin-top: 15px;
    padding-top: 10px;
  }

  .contact-text-blue {
    font-size: 13px !important;
  }

  .boundaries-btn {
    width: 100%;
    margin-top: 25px;
    height: 45px;
    font-size: 16px;
  }
}





/* Responsive fix for Call to Action sections in Mission and Formation */
@media (max-width: 575.98px) {
  .section-padding .p-5.rounded-4 {
    padding: 30px 15px !important;
  }
  
  .section-padding .p-5.rounded-4 h2 {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }
  
  .section-padding .p-5.rounded-4 .d-flex.gap-3 {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }
  
  .section-padding .p-5.rounded-4 .btn {
    width: 100% !important;
    max-width: 280px;
    padding: 12px 20px !important;
    font-size: 15px !important;
    margin: 0 !important;
  }
}

/* Global Responsive fix for Button Groups and CTA sections */
@media (max-width: 575.98px) {
  .section-padding .d-flex.gap-3,
  .section-padding .p-5.rounded-4 .d-flex.gap-3 {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .section-padding .btn.rounded-pill,
  .section-padding .p-5.rounded-4 .btn {
    width: 100% !important;
    max-width: 320px !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    margin: 0 !important;
    white-space: normal !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    min-height: 50px !important;
    line-height: 1.2 !important;
  }

  .section-padding .p-5.rounded-4 {
    padding: 30px 20px !important;
  }
}
