@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  font-family: 'inter';
}

a {
  text-decoration: none;
  color: #000;
}

p {
  font-size: 16px;
  line-height: 1.3;
  color: #666;
  font-weight: 300;
}

h1 {
  font-size: 40px;
  color:#25488D;
}

h2 {
  font-size: 40px;
  font-weight: 500;
  color:#25488D;
}
h3{color:#25488D;}

.custom-container {
  width: 90%;
  margin: auto;
}

/*New css*/


img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}


/* common header section */

header{
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  z-index: 22;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.header-section {
  width: 100%;
  padding: 1.5rem 0;
}

.header-section .custom-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  line-height: 0;
  gap: 2rem;
}

.header-logo .logo{
    display: flex;
}

.header-logo img {
  width: 300px;
}

.header-logo .rotary-texcity-logo img{
    width: 270px;
}

.header-logo .line-between {
  /*border-right: 1px solid #A7A7A7;*/
  width: 1px;
  background-color: #A7A7A7;
  height: 50px;
}

.header-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#hamburger {
  width: 35px;
  height: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  cursor: pointer;
}

#hamburger .line {
  width: 35px;
  height: 3px;
  background-color: #000;
  transition: all 0.5s ease;
  border-radius: 50px;
}

#hamburger.active .line1 {
  transform: rotate(45deg) translate(11px, 3px);
}

#hamburger.active .line2 {
  transform: translateX(-10px);
  background-color: transparent;
}

#hamburger.active .line3 {
  transform: rotate(-45deg) translate(11px, -3px);
}

#menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 1.5rem;
  padding: 1rem 4rem 4rem;
  position: fixed;
  bottom: 0%;
  left: 100%;
  transition: all 0.8s ease;
  width: 100%;
  height: calc(100vh - 103px);
  z-index: 11;
  background-color: #fff;
  line-height: initial;
  /*overflow: scroll;*/
}

#menu-item.active {
  left: 0%;
}

#menu-item a:hover{
  color: #000;
}

#menu-item a {
  font-size: 25px;
  font-weight: 800;
}


/* home page slider */


.homeSwiper .swiper-slide {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
}

.homeSwiper .swiper-slide .swiper-slider-part1 {
  width: 44%;
  z-index: 2;
  position: relative;
}

.swiper-slider-part1 .banner-content {
  position: absolute;
  left: 10%;
  bottom: 10%;
}

.banner-content p {
  font-size: 35px;
  font-weight: 300;
  color: #000;
}

.banner-content p span{
    font-weight: 800;
}

.homeSwiper .swiper-slide .swiper-slider-part2 {
  width:100%;
  position: absolute;
  left: 0;
  top: 0;
}

.homeSwiper .swiper-slider-part1 img {
  width: 100%;
  padding-left: 12%;
}

.homeSwiper .swiper-slider-part2 img {
  width: 100%;
 /* clip-path: polygon(0 0, 100% 0%, 100% 100%, 25% 100%);*/
}

.swiper-slide .swiper-slider-part2 img {
  transform: translateX(25%);
  transition: all 0.8s ease;
}

.swiper-slide.swiper-slide-active .swiper-slider-part2 img {
  transform: translateX(0);
}

.banner-buttons{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: fixed;
  /*position: absolute;*/
  top: 80%;
  right: 0%;
  z-index: 12;
  align-items: flex-end;
}

.banner-buttons .orange-btn{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #EF5B25;
  transform: translateX(68%);
  transition: all 0.5s ease;
}

.banner-buttons .orange-btn:hover{
    transform: translateX(0%);
}

.short-image{
 position: relative;
 z-index: 2;
 padding: 10px 0 10px 20px;
}

.short-image1{
  background-color: #EF5B25;
}

.short-image2{
  background-color: #0D345F;
}

.short-image img{
  width: 20px;
  position: relative;
  display: flex;
  justify-content: center;
}

.short-cut p{
  padding: 0 1rem;
  color: white;
  width: max-content;
  line-height: 1.1;
  font-size: 14px;
  margin: 0;
}

.short-cut{
  z-index: 1;
  width: max-content;
  align-items: center;
  display: flex;
  transition: all 0.5s ease;
}

.banner-buttons .blue-btn{
  background-color: #0D345F;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  transform: translateX(60%);
  transition: all 0.5s ease;
}

.banner-buttons .blue-btn:hover{
    transform: translateX(0%);
}

.home-swiper-section{
    position: relative;
    padding-left: 25px;
    padding-right: 25px;
}


.home-mobile-banner{
  display: none;
}

.home-mobile-banner .swiper {
  width: 100%;
  height: 100%;
}

.home-mobile-banner .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-mobile-banner .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* home page welcome section */

.welcome-section {
  width: 100%;
 
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right bottom;
}

.welcome-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 1rem; 
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
}

.welcome-section .welcome-section1 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.welcome-section1 p {
  text-align: center;
}

.welcome-section2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.welcome-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 33.33%;
}

.welcome-inner div{
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-inner img {
  width: 80px;
}

.welcome-inner div .clock{
    width: 78px;
}

.welcome-p {
  font-size: 24px;
  color: #A19293;
  font-weight: 500;
}

.welcome-inner b {
  font-size: 70px;
  font-weight: 600;
}

.welcome-inner p {
  font-size: 30px;
  text-align: center;
}



/* homepage project section */

.project-section {
  width: 100%;
  background-color: #F8F8F8;
}

.project-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 0;
}

.recent-projects {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  line-height: 0;
}

.rotary-headings {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.recent-projects .project-link {
  width: calc(33.3% - 1.33rem);
}

.recent-projects .pie-chart {
  width: calc(50% - 1rem);
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  position: relative;
}

.recent-projects img {
  width: 100%;
}

.project-link{
    position: relative;
}

.project-link:before {
  content: '';
  display: block;
  position: absolute;
  height: 0%;
  width: 100%;
  bottom: 0;
  transition: height 0.5s ease-out;
  background: linear-gradient(to bottom, transparent 0%, black 100%);
}
.project-link:hover:before {
  height: 40%;
}

.project-link p{
    position: absolute;
    bottom: 5%;
    width: 100%;
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    opacity: 0;
    transition: all 0.5s ease;
}

.project-link:hover p{
    opacity: 1;
}



/* homepage existence section */

.existence-section {
  width: 100%;
  background-color: #0D345F;
  padding: 4rem 0 2rem;
}

.existence-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.existence-section .existence-part1 {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: inherit;
}

.existence-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.existence-heading p {
  font-size: 40px;
  color: #fff;
  font-weight: 200;
}

.existence-heading h2 {
  font-size: 62px;
  font-weight: 500;
  color: #fff;
}

.existence-link {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.existence-link a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
  width: calc(25% - 1.5rem);
}

.existence-link a:nth-child(1) img{
    width: 50px;
    height: 55px;
}

.get-involved-tab-section .nav-link div:nth-child(1) img{
    width: 50px;
    height: 55px;
}

.existence-link a img{
  width: 50px;
}

.existence-link p {
  color: #fff;
}

.existence-link a:nth-child(1),
.existence-link a:nth-child(3) {
  background-color: #FCAC38;
}

.existence-link a:nth-child(2),
.existence-link a:nth-child(4) {
  background-color: #EF5B25;
}

.existence-section2 {
  padding: 2rem 0 4rem;
  background-image: linear-gradient(to bottom, #0D345F 50%, #fff 48%);
}

.existence-part2 {
  width: 85%;
  margin: auto;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 1.5rem;
  position: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.member-photo{
  width: 30%;
}

.member-photo img{
  width: 100%;
}

.existence-inner {
  width: calc(70% - 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.existence-inner .orange {
  color: #666;
  font-size: 22px;
}

.orange {
  color: #666;
  font-size: 22px;
  font-weight: 400;
}

.existence-inner p {
  font-size: 16px;
}

.existence-inner .members-name {
  font-size: 18px;
  color: #000;
  font-weight: 500;
}

.existence-inner a {
  padding: 0.6rem 1rem;
  border: 1px solid #000;
  width: fit-content;
}


/* homepage event section */

.event-section {
  width: 100%;
  background-image: url('images/Bckdrop.svg');
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: -29%;
  display: flex;
  justify-content: flex-end;
  padding: 3rem 0;
}

.event-section .event-swiper-container {
  width: 75%;
}


.event-section .event-swiper-container h2{
  margin-bottom: 2rem;
}

.eventSwiper {
  position: relative;
}

.eventSwiper .swiper-slide {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 4rem;
  padding-right: 1.8rem;
}

.event-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem 0 0 1rem;
  width: 35%;
}

.event-content div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-img {
  width: calc(65% - 4rem);
}

.event-img img {
  width: 100%;
  object-fit: cover;
}

.event-content h2 {
  position: fixed;
  left: 0;
  top: 0;
}

.event-content h3 {
  font-size: 45px;
  font-weight: 600;
}

.event-content a {
  padding: 0.6rem 1rem;
  border: 1px solid #000;
  width: fit-content;
}

.eventSwiper .swiper-button-prev {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #000;
}

.eventSwiper .swiper-button-next {
  position: absolute;
  top: 15px;
  left: 70px;
  color: #000;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 25px;
  font-weight: 900;
}

.mobile-events{
  width: 100%;
  padding: 0 2rem;
  display: none;
}

.mobile-swiper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-events .swiper {
  width: 100%;
  height: 100%;
}

.mobile-events .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-events .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* home page news section */

.homepage-news-section {
  width: 100%;
}

.homepage-news-section .custom-container {
 /* padding: 3rem 0;*/
  padding : 0;
  display: flex;
  flex-direction: column;
  /*align-items: center; gap: 3rem;*/

  gap: 1rem;
  
}

.homepage-news-section h2 {
  display: flex;
  justify-content: center;
  text-align: center;
}

.news-flex {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1.5rem;
}

.homepage-news-section .news-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.news-card img {
  width: 100%;
}

.news-card-content {
  width: 90%;
  margin: 0 auto;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0.5rem;
  transform: translateY(-4rem);

}

.news-card-content h4 {
  font-size: 16px;
}

.news-card-content h3{
    font-size: 17px;
    font-weight: 500;
}

.news-card-content p {
  font-size: 12px;
}

.date{
  position: absolute;
  top: 0;
  left: 5%;
  background-color: #FCAC38;
  padding: 6px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.date p{
  color: #fff;
  line-height: 1.2;
  font-size: 14px;
}

.news-view{
    display: flex;
    justify-content: center;
}

.news-view a {
    padding: 0.6rem 1rem;
    border: 1px solid #000;
    width: fit-content;
}


/* newsletter section */

.newsletter-section {
  width: 100%;
  background-color: #0D345F;
  padding: 2rem 0;
}

.newsletter-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.newsletter-content p {
  color: #fff;
  font-size: 35px;
  font-weight: 400;
}

.newsletter-content {
  width: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.newsletter-form {
  width: 45%;
  position: relative;
}

.newsletter-form form .form-flex{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.newsletter-form form .form-flex .form-field{
  display: flex;
  flex-direction: column;
  width: 80%;
  position: relative;
}

.newsletter-form form .form-flex .form-field p{
  position: absolute;
  top: 100%;
  left: 0;
  font-size: 15px;
  padding: 5px 10px;
}

.form-preloader-holder{
    display: inline-block;
    width: max-content;
    position: relative;
}

#sunmit-btn4{
    width: fit-content;
}

#formPreloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002A49;
    display: flex;
    align-items: center;
    justify-content: center;
}

#formPreloader2 {
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002A49;
    display: flex;
    align-items: center;
    justify-content: center;
}

#formPreloader3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002A49;
    display: flex;
    align-items: center;
    justify-content: center;
}

#formPreloader4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002A49;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 25px;
    height: 25px;
    border: 4px solid #fff0;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    border-radius: 50%;
}

#response_message1{
    color: #fff;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.newsletter-form form input {
  border: none;
  outline: unset;
  background-color: unset;
  border-bottom: 1px solid #fff;
  width: 100%;
  font-size: 18px;
  color: #fff;
  padding: 5px 10px;
  background-color: #0D345F;
}

.newsletter-form form .send-btn {
  border: unset;
  padding: 5px 15px;
  background-color: #0D345F;
  cursor: pointer;
}

.newsletter-form form .bx {
  background-color: #0D345F;
  color: #fff;
  font-size: 30px;
  outline: unset;
  border-bottom: #0D345F;
}


#response_message2{
    color: green;
}

#response_message3{
    color: green;
}

#response_message4{
    color: green;
}

#response_message{
    color: green;
}


/* common footer */

.footer-section {
  width: 100%;
  background-color: #252525;
}

.footer-section .custom-container {
  padding: 3rem 0;
}

.footer-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.footer-flex p {
  color: #fff;
  font-weight: 200;
  margin:0;
}

.footer-flex a {
  color: #fff;
  font-weight: 200;
}

.footer-flex h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.footer-col1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.footer-flex .footer-content,
.footer-col2 {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: max-content;
}

.footer-col2 {
  padding: 2rem 0;
}

.line-between {
  border-right: 1px solid #494949;
}

.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.social-links .bx {
  color: #fff;
  font-size: 50px;
}

/* copyright section */

.copyrights-section {
  width: 100%;
  background-color: #1F1F1F;
}

.copyrights-section .custom-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.copy-rights{
    display: flex;
    align-items: center;
    gap: 5px;
}

.copyrights-section .copy-rights a{
    color: #fff;
    font-size: 14px;
    font-weight: 300;
}
.copy-rights p {
  color: #fff;
  font-size: 12px;
  font-weight: 300;
}


.copyrights-section a {
  text-decoration: none;
  color: black;
}

.logo-reveal {
  transition: all 0.3s;
  text-align: center;
  filter: opacity(1);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-content: center;
}

.logo-reveal img {
  width: 100%;
}

/* news page */

.common-banner {
  width: 100%;
  position: relative;
}

.common-banner img {
  width: 100%;
  
}

/*img.abt-sec {*/
/*    height: 70vh;*/
/*}*/

.news-page-section{
 
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: right center;
}

.news-page-section .custom-container {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

.news-page-section .news-flex1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 2rem;
}

.news-page-section .news-card1 {
  width: calc(25% - 1.5rem);
  display: flex;
  flex-direction: column;
  position: relative;
}

.event-page-section {
  width: 100%;
 
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: right center;
}

.event-page-section .custom-container {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

.event-page-section .news-flex1 {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 2rem;
}

.event-page-section .news-card2 {
  width: calc(33.3% - 1.33rem);
  display: flex;
  flex-direction: column;
  position: relative;
}

.gallery-section {
  padding: 4rem 0;
}

.gallery-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gallery-odd {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.gallery-flex {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  width: 66.666%;
}

.gallery-flex img {
  width: 50%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-even {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.gallery-odd>img {
  width: 33.333%;
  object-fit: cover;
}

.gallery-even>img {
  width: 33.333%;
  object-fit: cover;
}



/* annets page */

.annets-section {
 
  background-repeat: no-repeat;
  background-size: 28%;
  background-position: right center; 
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 3rem 0;
}

.annets-section h1 {
  margin: 0;
}

.annets-section p {
  margin: 0;
}

.annets-section .center {
  display: flex;
  justify-content: center;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}

.annets-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordian-tab-section {
  border: 1px solid #C3C2C2;
}

.accordion-button {
  gap: 1rem;
  padding: 1rem 2rem;
  justify-content: flex-start;
}

.accordion-body {
  padding: 1rem 2rem;
  font-size: 16px;
  font-weight: 300;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-flush .accordion-item .accordion-button {
  font-size: 18px;
  font-weight: 500;
  color: #666;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: unset;
  box-shadow: unset;
}

.accordion-button:focus {
  border-color: unset;
}

.accordian-tab-flex {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.accordian-tab-flex .tab-heading {
  width: 100%;
  padding: 1rem 2rem;
  color: #fff;
  background-color: #0D345F;
  font-size: 18px;
  font-weight: 500;
}



/* history page */

.history-section {
  width: 100%;
}

.history-section .custom-container {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.history-section .rotary-headings {
  gap: 1rem;
  max-width: 1300px;
}

.heading1 {
  font-size: 25px;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
}

.heading1 span {
  font-weight: 500;
  color: #000;
  font-size: 40px;
}


.history-members-section {
  width: 100%;
  padding: 4rem 0;
  background-color: #0D345F;
}

.history-members-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

.welcome-inner1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  width: 25%;
}


.welcome-inner1 div{
  aspect-ratio: 1 / 1;
  display: flex;
  /*align-items: flex-end;*/
  justify-content: center;
}

.welcome-inner1:nth-child(1) img,
.welcome-inner1:nth-child(4) img{
  width: 86px;
}

.welcome-inner1:nth-child(2) img,
.welcome-inner1:nth-child(3) img{
  width: 88px;
}

.welcome-inner1 b {
  font-size: 70px;
  font-weight: 600;
  color: #fff;
}

.welcome-inner1 p {
  font-size: 30px;
  text-align: center;
  color: #fff;
}

.founder-container {
  width: 100%;
  background-image: url('images/Bckdrop.svg');
  background-repeat: no-repeat;
  background-size: 43%;
  background-position: 5% 90%;
  display: flex;
  justify-content: flex-end;
}

.founder-container .custom-container {
  padding: 6rem 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.founder-content .rotary-headings {
  align-items: flex-start;
}

.founder-container .founder-flex {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  width: 85%;
  margin: auto;
}

.founder-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.prayer-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.prayer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
}

.prayer-content p {
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  color: #000;
}

.object-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.object {
  width: 50%;
  background-color: #F8F8F8;
  padding: 4rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.test {
  width: 50%;
  background-color: #FFF;
  padding: 4rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.four-things{
    font-size: 18px;
    font-weight: 400;
    color: #000;
}

.object-flex .rotary-headings {
  align-items: flex-start;
}

.object-flex ul {
  color: #666;
  gap: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 4rem;
}

.object-flex ul li {
  list-style-type: none;
  position: relative;
}

.blue-circle li::before {
  content: '';
  background-image: url('images/History/bullet.svg');
  position: absolute;
  right: calc(100% + 2rem);
  top: 0;
  background-size: cover;
  width: 1.7rem;
  height: 1.7rem;
}

.orange-circle li::before {
  content: '';
  background-image: url('images/History/bullet-1.svg');
  position: absolute;
  right: calc(100% + 2rem);
  top: 0;
  background-size: cover;
  width: 1.7rem;
  height: 1.7rem;
}



/* About page */

.about-president-container {
  width: 100%;
 background-image: url('images/Bckdrop.svg');
  background-repeat: no-repeat;
  background-size: 45%;
  background-position: -30%;
}

.about-president-container .custom-container {
  padding: 6rem 0;
}

.about-flex {
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.about-president {
  width: 30%;
}

.about-president img {
  width: 100%;
}

.about-flex .founder-content {
  width: calc(70% - 3rem);
}

.about-flex .founder-content {
  gap: 1rem;
}

.yours {
  color: #000;
  font-weight: 400;
}

.president-name {
  font-size: 25px;
  font-weight: 500;
  color: #000;
}

.past-president-container {
  width: 100%;
  background-color: #F8F8F8;
}

.past-president-container .custom-container {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.name {
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.president-inner p {
  font-size: 14px;
  color: #000;
}

.presidents-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  /*gap: 5rem;*/
  width: 100%;
}

.past-presidents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 30%;
}

.past-presidents-flex{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
}

.president-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  width: calc(50% - 0.5rem);
}

.president-inner div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  gap: 0.4rem;
}

.president-inner img {
  width: 100%;
}

.past-president-section .custom-container{
    padding: 3rem 0;
}

.past-presidents-table table{
     border-collapse: collapse;
}
   

.past-presidents-table table td{
    padding: 1rem 0.6rem;
    width: fit-content;
    border: 1px solid #000;
}

.past-presidents-table table th{
    padding: 1rem 0.6rem;
    width: fit-content;
    border: 1px solid #000;
}

.past-presidents-table table tr:nth-child(odd){
    background-color: #F7F7F7;
}

.past-presidents-table table .table-head{
    position: sticky;
    top: -1px;
    background-color: #0D345F!important;
}

.table-head th{
    color: #fff;
}

/* members page */

.members-section {
  width: 100%;
}

.members-section .custom-container {
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.members-img-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 2rem;
}

.club-member {
  width: calc(16.6% - 1.66rem);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.club-member img {
  width: 100%;
}

.club-member div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
}

.club-member div p {
  font-size: 13px;
}

.major-donors-container{
    width: 100%;
    background-color: #F8F8F8;;
}

.major-donors-container .custom-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
}

.rotary-members-section {
  width: 100%;
 
  background-repeat: no-repeat;
  background-size: 35%;
  background-position: right center;
}

.rotary-members-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 0;
}

.rotary-members-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
}

.rotary-member-inner {
  width: calc(25% - 1.5rem);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}

.rotary-member-inner div:nth-child(1) {
  width: 40%;
}

.rotary-member-inner div:nth-child(2) {
  width: calc(60% - 1rem);
}

.rotary-member-inner img {
  width: 100%;
}

.rotary-member-inner div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.rotary-member-inner p {
  font-size: 14px;
}

.members-readmore{
  width: 100%;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.members-readmore a{
  color: #0D345F;
  font-size: 18px;
}

#text{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  display: none;
}


/* get involved page */

.get-involved-section {
  width: 100%;
 
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: center right;
}

.get-involved-section .rotary-headings p{
    max-width: 1600px;
}

.get-involved-section .custom-container{
    padding: 4rem 0 5rem;
}

.get-involved-tab-section .d-flex {
  flex-direction: column;
}

.get-involved-tab-section .flex-column {
  flex-direction: row !important;
  margin-right: 0;
  justify-content: space-between;
}

.get-involved-tab-section .me-3 {
  margin-right: 0 !important;
  width: 100%;
}

.get-involved-tab-section .nav-link {
  width: 15%;
  padding: 2rem 1rem;
}

.get-involved-tab-section .nav-link div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.get-involved-tab-section .nav-link div p {
  margin-bottom: 0;
  color: #fff;
  font-weight: 500;
}

.get-involved-tab-section .nav-link div img {
  width: 80px;
}

.get-involved-tab-section .nav-link:nth-child(1),
.get-involved-tab-section .nav-link:nth-child(3) {
  background-color: #EF5B25;
}

.get-involved-tab-section .nav-link:nth-child(2),
.get-involved-tab-section .nav-link:nth-child(4) {
  background-color: #FCAC38;
}

.nav-pills .nav-link{
    border-radius: 0;
}

.get-involved-tab-section .nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #F8F8F8;
  outline: unset;
}

.get-involved-tab-section .nav-pills .nav-link.active p {
  color: #000;
}

.get-involved-tab-section .nav-link div svg {
  fill: #fff;
 }

 
.get-involved-tab-section .nav-pills .nav-link.active svg {
  fill: #000;
}

.get-involved-tab-section .tab-content {
  width: 100%;
}

.get-involved-tab-section .tab-pane {
  background-color: #F8F8F8;
  padding: 5rem 3rem;
}

.involved-tab-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.involved-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.involved-tab-form form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
}

.involved-tab-form form div {
  width: calc(33.3% - 2.66rem);
  position: relative;
}

.involved-tab-form form div input {
  padding: 0.5rem 0;
  border: none;
  outline: none;
  background-color: unset;
  width: 100%;
  border-bottom: 1px solid #666;
  font-size: 16px;
}

.involved-tab-form form p{
    font-size: 14px;
    position: absolute;
    left: 0;
    top: 100%;
}

.involved-tab-form form button {
  padding: 0.8rem 3.2rem;
  background-color: #0D345F;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  width: fit-content;
}

.captcha {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.captcha .captcha-btn{
  display: flex;
  flex-direction: column;
  width: 47%;
}

.service-tab{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.involved-tab-form form div:nth-child(7){
    width: max-content;
}

.involved-tab-form form div:nth-child(8){
    width: 100%;
    transform: translateY(-30px);
}


/* contact page */

.contact-section {
  width: 100%;
 
  background-repeat: no-repeat;
  background-size: 27%;
  background-position: center right;
}

.contact-section .custom-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 0 5rem;
}

.contact-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}

.contact-col1 {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: max-content;
  width: 33.33%;
}

.contact-col {
  width: 33.33%;
}

.contact-col iframe {
  width: 100%;
  outline: unset;
  border: unset;
}

.contact-flex .footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: max-content;
}

.contact-inner-flex {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

.contact-inner-flex div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-inner-flex div h2{
    font-size: 20px;
}

.footer-content .contact-inner-flex div {
  display: flex;
  flex-direction: column;
}

.footer-content .contact-inner-flex div a {
  color: #666;
}

.contact-inner-flex img {
  width: 20px;
}

.contact-section .involved-tab-form {
  margin-top: 3rem;
}


/*.involved-tab-form form .form-preloader-holder{*/
/*    position: relative;*/
/*    width: 100%;*/
/*}*/

.involved-tab-form form #formPreloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002A49;
    display: flex;
    align-items: center;
    justify-content: center;
}

.involved-tab-form form .spinner {
    width: 25px!important;
    height: 25px;
    border: 4px solid #fff0;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
    border-radius: 50%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

 #captchaBackground {
          display: flex;
          flex-direction: column;
        }
        
         #captchaBackground .captcha-flex{
            display: flex;
            align-items: center;
            gap: 2rem;
            width: 100%;
        }
        
        #captcha {
          font-size: 18px;
          width: clac(50% - 2rem);
          background: #D9D9D9;;
          padding: 0.5rem 1rem;
          letter-spacing: 3px;
        }
        
        #textBox{
            width:50%;
        }
        
         #captcha2 {
          font-size: 18px;
          width: clac(50% - 2rem);
          background: #D9D9D9;;
          padding: 0.5rem 1rem;
          letter-spacing: 3px;
        }
        
        #textBox2 {
            width:50%;
        }
        
       #captcha3 {
          font-size: 18px;
          width: clac(50% - 2rem);
          background: #D9D9D9;;
          padding: 0.5rem 1rem;
          letter-spacing: 3px;
        }
        
        #textBox3 {
            width:50%;
        }
        
        #captcha4 {
          font-size: 18px;
          width: clac(50% - 2rem);
          background: #D9D9D9;;
          padding: 0.5rem 1rem;
          letter-spacing: 3px;
        }
        
        #textBox4 {
            width:50%;
        }
        
        .center {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .redText {
          color: #a03146;
          font-weight: bold;
        }
        
        .greenText {
          color: #1a3815;
          font-weight: bold;
        }
        
         #captchaBackground div{
             width:100%;
         }
         
   .eye-serve-container{
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items: center;
       gap: 2rem;
       padding: 3rem 0;
   }      
         
.eye-serve-flex{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    width: 100%;
    background-color:#0D345F;
    padding: 4rem 0;
;
}

.eye-serve-inner{
    width: calc(33.3% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.eye-serve-inner div{
    line-height: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eye-serve-inner img{
    width: 80px;
}

.eye-serve-inner .clock{
    width: 95px;
}

.eye-serve-inner b {
  font-size: 70px;
  font-weight: 600;
  color: #fff;
}

.eye-serve-inner p {
  font-size: 30px;
  text-align: center;
  color: #fff;
}

.pie-chart1 {
	background:
		radial-gradient(
			circle closest-side,
			transparent 100%,
			white 0
		),
		conic-gradient(
			#4e79a7 0,
			#4e79a7 38%,
			#f28e2c 0,
			#f28e2c 61%,
			#e15759 0,
			#e15759 77%,
			#76b7b2 0,
			#76b7b2 87%,
			#59a14f 0,
			#59a14f 93%,
			#edc949 0,
			#edc949 100%
	);
	position: relative;
	width: 350px;
	aspect-ratio: 1/1;
	margin: 0;
	border-radius: 50%;
}
figcaption {
	/*position: absolute;*/
	bottom: 1em;
	right: 1em;
	font-size: smaller;
	text-align: right;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	gap: 6px;
}

figcaption p{
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
figcaption span:after {
	display: inline-block;
	content: "";
	width: 0.8em;
	height: 0.8em;
	margin-left: 0.4em;
	height: 0.8em;
	border-radius: 0.2em;
	background: currentColor;
}

.empty-circle{
    width: 70%;
  	aspect-ratio: 1/1;
    border-radius: 50%;
    background-color: #fff;
    position: absolute;
    top: 15.5%;
    left: 15.5%;
}

@media screen and (max-width: 1440px){
    .pie-chart1{
        width: 250px;
    }
    
    .recent-projects .pie-chart{
        padding: 2rem;
    }
}

@media screen and (max-width: 1200px){
    .pie-chart1{
        width: 200px;
    }
}

@media screen and (max-width: 600px){
    .pie-chart1{
        width: 270px;
        height: 270px;
    }
}

@media screen and (max-width: 1440px) {

  .event-section .event-swiper-container{
    width: 85%;
  }
  
  .banner-content p{
      font-size: 40px;
  }
  
  .empty-circle{
      width: 200px;
      height: 200px;
  }
  
 
}

@media screen and (max-width: 1290px) {

  .header-logo{
    gap: 2rem;
  }

  #menu-item {
    height: calc(100vh - 107px);
  }
  
  .banner-content p{
    font-size: 33px;
  }

  .welcome-inner b{
    font-size: 55px;
  }

  .welcome-inner p{
    font-size: 23px;
  }

  .project-section .custom-container{
    gap: 3rem;
  }

  .event-section .event-swiper-container{
    width: 90%;
  }

  .event-content h3{
    font-size: 30px;
  }

  .test{
    padding: 3rem;
  }

  .object{
    padding: 3rem;
  }

  .welcome-inner1 img{
    width: 70px;
  }

  .welcome-inner1 b{
    font-size: 55px;
  }

  .welcome-inner1 p{
    font-size: 23px;
  }

  .newsletter-content p{
    font-size: 30px;
  }
  
  .get-involved-tab-section .tab-pane{
      padding: 2rem;
  }
  
  .involved-tab-form form{
      gap: 2rem;
  }

.involved-tab-form form div{
    width: calc(33.3% - 1.33rem);
}

.get-involved-tab-section .nav-link{
    width: 20%;
    padding: 1.5rem;
}

.get-involved-tab-section .nav-link div img{
    width: 60px;
}

}


@media screen and (max-width: 1220px) {

  .club-member{
      width: calc(20% - 1.6rem);
  }
  
  .contact-col1{
      width: 50%;
  }
  
  .contact-col{
      width: 100%;
      margin-top: 3rem;
  }
  
  .contact-section .custom-container{
      gap: 2rem;
  }
  
  
 
}

@media screen and (max-width: 1024px) {

  .banner-content p{
    font-size: 24px;
  }

  .event-section{
    background-image: none;
  }

  .event-section .event-swiper-container{
    width: 95%;
  }

  .event-content{
    width: 40%;
  }

  .event-img{
    width: calc(60% - 4rem);
  }

  .existence-part2{
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .member-photo{
    width: 50%;
    margin: auto;
  }

  .existence-inner{
    width: 100%;
    align-items: center;
  }

  .existence-inner p{
    text-align: center;
  }

  .existence-link a{
    width: calc(50% - 1rem);
  }

  .existence-heading h2{
    font-size: 45px;
  }

  .existence-heading p{
    font-size: 30px;
  }

  .newsletter-content p{
    font-size: 25px;
  }

  .founder-container .founder-flex{
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .existence-inner{
    gap: 1rem;
  }
  
  .welcome-inner1{
      width: 50%;
  }
  
  .about-flex{
      flex-direction: column;
  }
  
  .about-president{
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .about-president img{
      width: 50%;
  }
  
  .about-flex .founder-content{
      width: 100%;
  }
  
  .about-president-container .custom-container{
      padding: 3rem 0;
  }
  
  .past-presidents{
      width: calc(50% - 1rem);
  }
  
  .social-links .bx{
      font-size: 35px;
  }
  
  .footer-col1{
      gap: 2rem;
  }
  
  .footer-section .custom-container{
      padding: 2rem 0;
  }
  
  .involved-tab-form form div{
      width: calc(50% - 1rem);
  }
  
  .club-member{
      width: calc(25% - 1.5rem);
  }
  
  .rotary-member-inner{
      width: calc(33.3% - 1.33rem);
  }
  
  .news-page-section .news-card1{
      width: calc(33.3% - 1.33rem);
  }
}

@media screen and (max-width: 900px) {

  .header-logo{
    gap: 1rem;
  }

  .header-logo img{
    width: 110px;
  }

  #menu-item {
    height: calc(100vh - 99px);
  }

  .welcome-inner b{
    font-size: 45px;
  }

  .welcome-inner p{
    font-size: 18px;
  }

  .event-content h3{
    font-size: 30px;
  }

  
  .object-flex{
    flex-direction: column-reverse;
  }

  .object{
    width: 100%;
    padding: 2rem;
  }

  .test{
    width: 100%;
    padding: 2rem;
  }

  .welcome-inner1 b{
    font-size: 35px;
  }

  .welcome-inner1 img{
    width: 50px;
  }
  
   .rotary-member-inner{
      width: calc(50% - 1rem);
  }
  
  .event-page-section .news-card2{
      width: calc(50% - 1rem);
  }
  
  .news-card-content h3{
      font-size: 18px;
  }
  
   .news-page-section .news-card1{
      width: calc(50% - 1rem);
  }
  
  .header-logo .rotary-texcity-logo img{
      width: 200px;
  }
}


@media screen and (max-width: 768px) {

  .event-section .event-swiper-container{
    width: 95%;
  }

  .event-content h3{
    font-size: 25px;
  }

  .event-content{
    width: 45%;
  }

  .event-img{
    width: calc(65% - 2rem);
  }

  .eventSwiper .swiper-slide{
    gap: 2rem;
  }

  .banner-content p{
    font-size: 18px;
  }
  
   .footer-section .custom-container{
    padding: 0;
  }

  .footer-flex{
    flex-direction: column;
  }

  .footer-col1{
    flex-direction: column;
    gap: 1rem;
  }

  .footer-col1, .footer-col2, .social-links{
    padding: 2rem 0;
    align-items: center;
    width: 100%;
  }

  .footer-flex .footer-content, .footer-col2{
    align-items: center;
  }

  .social-links .bx{
    font-size: 35px;
  }

  .line-between{
    border-bottom: 1px solid #494949;
  }
  
   .involved-tab-form form div{
      width: 100%;
  }
  
  .get-involved-tab-section .nav-link{
      width: 24%;
  }

 .club-member{
      width: calc(33.3% - 1.33rem);
  }
  
  .contact-flex{
      flex-direction: column;
      gap: 2rem;
  }
  
  .contact-col1{
      width: 100%;
  }
  
 .contact-section .involved-tab-form{
     padding: 2rem;
     margin-top: 0;
 } 
 
 .prayer-content p{
     font-size: 24px;
 }
 

}


@media screen and (max-width: 600px) {

  h1{
    font-size: 30px;
  }
  
  .heading1{
      font-size: 20px;
  }
  
  .heading1 span{
      font-size: 30px;
  }

  h2{
    font-size: 30px;
  }

  p{
    font-size: 15px;
  }

  #menu-item{
    height: calc(100vh - 57px);
    gap: 2rem;
  }

  #menu-item a{
    font-size: 20px;
  }
  
  .header-section{
      padding: 0.8rem 0;
  }

  .header-logo{
    gap: 0.2rem;
  }

  .header-logo img {
    width: 180px;
  }

  .homeSwiper{
    display: none;
    
  }

  .home-mobile-banner{
    display: block;
  }

  .welcome-section{
    background-image: none;
  }

  .welcome-p{
    font-size: 20px;
  }

  .welcome-section .welcome-section1{
    text-align: center;
  }

  .welcome-section .custom-container{
    padding: 1rem 0;
  }

  .welcome-section2{
    flex-direction: column;
    gap: 2rem;
  }

  .welcome-inner{
    width: 100%;
    gap: 0.5rem;
  }

  .welcome-inner b{
    font-size: 50px;
  }

  .welcome-inner p{
    font-size: 23px;
  }

  .project-section .custom-container{
    gap: 2rem;
  }

  .recent-projects{
    flex-direction: column;
    gap: 1rem;
  }

  .recent-projects .project-link{
    width: 100%;
  }
  
   .recent-projects .pie-chart{
    width: 100%;
    flex-direction: column;
    padding: 2rem;
    gap: 3rem;
  }

  .existence-heading h2{
    font-size: 28px;
  }

  .existence-heading p{
    font-size: 24px;
  }

  .existence-link{
    flex-direction: column;
    gap: 1rem;
  }

  .existence-link a{
    width: 100%;
  }

  .member-photo{
    width: 100%;
  }

  .existence-inner .members-name{
    font-size: 16px;
  }

  .event-section{
    padding: 0%;
    background-image: none;
  }

  .eventSwiper{
    display: none;
  }

  .mobile-events{
    display: block;
  }

  .swiper-slide h3{
    font-size: 24px;
  }

  .news-flex{
    flex-direction: column;
    gap: 0;
  }

  .homepage-news-section .custom-container{
    gap: 1rem;
  }

  .news-card h3{
    font-size: 14px;
  }

  .news-card p{
    font-size: 12px;
  }

  .newsletter-flex{
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-content{
    width: 100%;
  }

  .newsletter-content p{
    font-size: 18px;
  }

  .newsletter-form{
    width: 90%;
    gap: 2rem;
  }

  /* history page */

  .prayer-content p{
    font-size: 14px;
  }

  .history-section .custom-container{
    padding: 2rem 0;
  }

  .history-members-flex{
    flex-direction: column;
    gap: 2rem;
  }

  .welcome-inner1{
    width: 100%;
    gap: 0;
  }

  .welcome-inner1 img{
    width: 60px;
  }

  .welcome-inner1 b{
    font-size: 40px;
  }

  .welcome-inner1 p{
    font-size: 20px;
  }

  .founder-container{
    background-image: none;
  }

  .object-section{
    padding: 0;
  }

  .founder-container .founder-flex{
    flex-direction: column;
    gap: 1rem;
  }

  .founder-content{
    gap: 1rem;
  }

  .object{
    padding: 2rem 1rem;
  }

  .test{
    padding: 2rem 1rem;
  }
  
  .about-president img{
      width: 100%;
  }
  
  .past-presidents-table table td{
      font-size: 14px;
  }
  
  .presidents-flex{
      flex-direction: column;
      gap: 1rem;
  }
  
  .past-presidents{
      width: 100%;
  }
  
  .president-name{
      font-size: 18px;
  }
  
  .past-president-container h2{
      font-size: 20px; 
  }
  
  .past-president-container .welcome-p{
      font-size: 18px; 
  }
  
  .captcha{
      flex-direction: column-reverse;
  }
  
  .captcha .captcha-btn{
      width: 75%;
  }
  
  .get-involved-tab-section .flex-column{
      flex-direction: column!important;
      gap: 0.5rem;
  }
  
  .get-involved-tab-section .nav-link{
      width: 100%;
      padding: 10px;
  }
  
  .get-involved-tab-section .nav-link div{
      flex-direction: row;
  }
  
  .get-involved-tab-section .nav-link div img{
      width: 50px;
  }
  
  .members-img-flex{
      gap: 1rem;
  }
  
  .rotary-members-flex{
      gap: 1rem;
  }
  
  .rotary-member-inner{
      width: calc(50% - 0.5rem);
  }
  
  .rotary-member-inner{
      flex-direction: column;
  }
  
  .rotary-member-inner div:nth-child(1){
      width: 100%;
  }
  
  .rotary-member-inner div:nth-child(2){
      width: 100%;
  }
  
  .rotary-member-inner p{
      font-size: 13px;
  }
  
  .rotary-member-inner div{
      gap: 0.5rem;
  }
  
  #text{
      gap: 1rem;
  }
  
  
.contact-section .custom-container{
    padding: 3rem 0;
}

  .gallery-section{
      padding: 2rem 0;
  }
  
  .club-member{
      width: calc(50% - 0.5rem);
  }
  
  .news-page-section .custom-container{
      padding: 2rem 0;
  }
  
  .news-page-section .news-card1{
      width: 100%;
  }
  
  .news-card-content h3{
      font-size: 16px;
  }
  
  .annets-section{
      padding: 2rem 0;
  }
  
  .accordian-tab-flex{
      margin-top: 1rem;
  }
  
  
  .contact-col1{
      width: 100%;
  }
  
   .contact-section .involved-tab-form{
     padding: 1rem;
 } 
 
 .footer-flex h3{
     font-size: 16px;
 }
 
 .founder-container .custom-container{
     padding: 3rem 0;
 }
 
 .header-logo .rotary-texcity-logo img{
     width: 110px;
 }
 
 .header-logo .line-between{
     height: 35px;
 }
  
  .existence-link a:nth-child(1) img{
    width: 40px;
    height: 40px;
  }
  
  .existence-link a img{
    width: 40px;
  }
  
  .existence-link a{
    padding: 4px 1rem;
  }
  
  .existence-inner .orange{
  	font-size: 18px;
  }
  
  .orange{
  	font-size: 20px;
  }
  
  .event-page-section .news-card2{
    width: 100%;
  }
  
  .accordion-button{
    padding: 1rem;
  }
  
  .accordion-body{
    padding: 1rem;
  }
  
  .existence-section .existence-part1{
    gap: 2rem;
  }
  
  .copyrights-section .custom-container{
      align-items: center;
      justify-content: center;
      gap: 8px
  }
  
  
  .get-involved-tab-section .nav-link div svg{
      width: 40px;
      height: 40px;
  }
  
}
.custom-two-block-section .two-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.block-image {
    flex: 1 1 300px;
    text-align: center;
}
.block-content {
    flex: 2 1 400px;
}
@media (max-width: 768px) {
    .custom-two-block-section .two-blocks {
        flex-direction: column;
        gap: 20px;
    }
    .block-image, .block-content {
        flex: 1 1 100%;
    }
    
    .swiper-wrapper{
    height:100% !important;
}

.legacy-item{
    width:auto !important;
}

}

@media (min-width:1025px) { 
    
.swiper-wrapper{
    height:350px !important;
} 

.feature{
     min-width: 550px;
      max-width: 600px;
       flex: 1 1 350px;
}
    
}
.swiper_text{

  position: absolute;
    z-index: 999;
    top: 0;
    right: 0;
    font-size: 25px;
    width: 100%;
    background-color: rgb(0, 51, 161, 0.5);
    color: #fff;
    height: 60px;
    text-align: right;
    padding: 14px 9px 2px 4px;
}


 .features {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 30px 30px;
    }
    .feature {
      display: flex;
      align-items: flex-start;
     
      border-radius: 8px;
      padding: 20px 18px;
      margin-bottom: 10px;
     
      box-shadow: 0 2px 8px rgba(34,48,74,0.05);
      text-align: left;
     
    }
    .icon {
      font-size: 2.5em;
      margin-right: 18px;
      margin-top: 2px;
      flex-shrink: 0;
    }
    .feature-content {
      flex: 1;
    }
    .feature-title {
      font-weight: bold;
      font-size: 1.2em;
      margin-bottom: 8px;
      color:#25488D;
    }
    .feature-desc {
      color: #3a4a6b;
      font-size: 1em;
    }
    @media (max-width: 900px) {
      .features {
        flex-direction: column;
        align-items: center;
      }
      .feature {
        max-width: 95vw;
      }
    }
    
    
     .legacy-container {
      display: flex;
      gap: 36px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .legacy-item {
      background: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 170px;
    }
    .legacy-icon {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2.5rem;
      margin-bottom: 16px;
      color: #3a2d1a;
    }
    .icon-bg1 { background: #cbe6f7; }
    .icon-bg2 { background: #cbe6f7; }
    .icon-bg3 { background: #f7d6b3; }
    .icon-bg4 { background: #cbe6f7; }
    .icon-bg5 { background: #f7d6b3; }
    .legacy-title {
      font-weight: bold;
      font-size: 1.1rem;
      text-align: center;
      margin-bottom: 4px;
       color:#25488D;
    }
    .legacy-desc {
      text-align: center;
      color: #3a2d1a;
      font-size: 1rem;
      margin: 0;
    }