
/***************************************************** LANGUAGE TOGGLE STYLES *************************************************/

.language-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    margin-left: auto;
}

.language-btn {
    background-color: transparent;
    border: 1px solid white;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    font-family: 'poppins', sans-serif;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-btn.active {
    background-color: white;
    color: black;
}

.flag-icon {
    width: 20px;
    height: 15px;
}

/* Update contacttop to accommodate language toggle */
.contacttop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background-color: black;
    font-size: 15px;
    color: white;
    padding-left: 260px;
    padding-right: 250px;
    font-family: 'open sans', sans-serif;
    z-index: 2;
    position: relative;
}

/* Mobile responsive adjustments for language toggle */
@media screen and (max-width: 768px) {
    .contacttop {
        padding: 10px 20px;
        font-size: 12px;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        text-align: center;
    }
    
    .language-toggle {
        margin: 0;
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .language-btn {
        font-size: 12px;
        padding: 4px 12px;
    }
}

@media screen and (max-width: 480px) {
    .language-btn {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .flag-icon {
        width: 16px;
        height: 12px;
    }
}
















/***************************************************** GENERAL STYLES *************************************************/

html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body{
  overflow-x: hidden;
}

* {
  box-sizing: border-box; /* Apply to all elements */
}

/***************************************************** MAINPAGE STYLES *************************************************/

.mainpage{
  height: 88vh;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  height: 88vh;
}

.mySlides {
  display: none;
  height: 100%;
  animation: crossfade 1s ease-in-out; 
}

@keyframes crossfade {
    0% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.slideimg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mainpage::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.mainpage h1{
  font-family: 'poppins', sans-serif;
  font-size: 60px;
  color: white;
  margin: 0;
  font-weight: bold;
  z-index: 2;
  position: relative;
}

.mainpage h2{
  font-family: 'poppins', sans-serif;
  font-size: 30px;
  color: white;
  margin: 0;
  font-weight: bold;
  z-index: 2;
  position: relative;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  padding-top: 20px;
  width: 90%;
}

.bullet-img{
  width: 23px;
  height: 23px;
  vertical-align: middle;
  margin-bottom: 5px;
}

.membership-btn {
    background-color: #C2A878;
    margin-top: 50px;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'poppins', sans-serif;
    border: none;
    cursor: pointer;
    z-index: 3;
    position: relative;
    transition: all 0.3s ease;
}

.membership-btn:hover {
    background-color: rgba(194, 168, 120, 0.8);
    color: white;
    transform: scale(1.05);
} 

.membership-btn:active {
    background-color: rgba(194, 168, 120, 0.6);
    color: white;
}

/***************************************************** NAVBAR STYLES *************************************************/

.navbar{
  display: flex;
  justify-content:center;
  background-color: transparent;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  margin: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(194, 168, 120, 0.1);
  border-bottom: 1px solid rgba(194, 168, 120, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 20px;
  transition: all 0.3s ease;
  height: 60px;
}

.navbar:hover {
    box-shadow: 0 4px 20px rgba(194, 168, 120, 0.15);
}

.navbar ul{ 
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  align-items: center;
}

.navbar ul li{
  display: inline;
  padding: 15px;
  color: black;
}

.navbar ul li a{
  text-decoration: none;
  color: black;
  transition: color 0.3s ease;
  font-family: 'poppins', sans-serif;
  font-weight: 500;
  padding-left: 20px;
  font-size: 18px;
}

.navbar ul li a:hover{
  color: #C2A878;
}

.donate-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    background-color: #C2A878;
    padding: 10px 18px;
    font-size: 18px;
    font-family: 'poppins', sans-serif;
    font-weight: 600;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.donate-btn:hover {
    background-color: rgba(194, 168, 120, 0.8);
    color: white;
}

.donate-btn:active {
    background-color: rgba(194, 168, 120, 0.6);
    color: white;
}

.donate-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
    margin-left: 50px; 
    align-items: center; 
}

.heart-icon {
    width: 20px;
    height: 20px;
}

.contacttop{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  background-color:black;
  font-size: 15px;
  color: white;
  padding-left: 260px;
  padding-right: 250px;
  font-family: 'open sans', sans-serif;
  z-index: 2;
  position: relative;
}

.logo img{
  width: 150px;
  height: auto;
  margin-right: 30px;
  object-fit: contain;
  padding-top: 0px;
  justify-content: flex-start;
  cursor: pointer;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

/***************************************************** WELCOME STYLES *************************************************/

.welcome-section {
  padding: 40px 20px;
}

.row{
  margin-left: 60px;
  display:flex;
  justify-content: space-between;
  margin-right: 60px;
  margin-top: 20px;
}

.column1{
  flex: 35%;
  padding: 30px;
  font-family: 'poppins', sans-serif;
  background-color: white;
  border-radius: 15px;
  margin-right: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.column1 h1{
  font-family: 'poppins', sans-serif;
  color: #533805;
  text-align: center;
  margin-bottom: 20px;
}

.prayer-times-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.prayer-times-container iframe{
  width: 100%;
  border: none;
  border-radius: 10px;
}

.column2{
  flex: 65%;
  padding: 30px;
  font-family: 'poppins', sans-serif;
  background: linear-gradient(90deg,
    rgba(194, 168, 120, 0.2) 0%,    
    rgba(194, 168, 120, 0.9) 100%   
  );
  border-radius: 15px;
}

.column2 h1{
  text-align: center;
  font-family: 'poppins', sans-serif;
  color: #533805;
  margin-bottom: 20px;
}

.column2 p{
  font-size: 16px;
  color: #444;
  font-family: 'poppins', sans-serif;
  margin-bottom: 20px;
  line-height: 1.7;
}

.learn-more-btn {
    background-color: #C2A878;
    margin-top: 20px;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-family: 'poppins', sans-serif;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: rgba(194, 168, 120, 0.8);
    color: white;
    transform: scale(1.05);
} 

.learn-more-btn:active {
    background-color: rgba(194, 168, 120, 0.6);
    color: white;
}

/***************************************************** EVENT STYLES *************************************************/

.events-section {
  padding: 60px 20px;
  background: rgba(194, 168, 120, 0.05);
}

.events-section h1{
  text-align: center;
  font-family: 'poppins', sans-serif;
  font-weight: 600;
  color: #533805;
  font-size: 36px;
  margin-bottom: 40px;
}

.column11{
  flex: 70%;
  font-family: 'poppins', sans-serif;
    background: linear-gradient(90deg,
    rgba(194, 168, 120, 0.9) 0%,    
    rgba(194, 168, 120, 0.3) 100%  
  );
  border-radius: 15px;
  padding: 30px;
  margin-right: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.column11 h2{
  text-align: center;
  font-family: 'poppins', sans-serif;
  color: #533805;
  margin-bottom: 20px;
}

.calendar-container {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.column22{
  flex: 30%;
  font-family: 'poppins', sans-serif;
  background: white;
  border-radius: 15px;
 padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.column22 h2{
  text-align: center;
  font-family: 'poppins', sans-serif;
  color: #533805;
  margin-bottom: 20px;
}

.fb-page-container {
  border-radius: 10px;
  overflow: hidden;
}

.events-btn {
  background-color: #C2A878;
  color: white;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-family: 'poppins', sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin: 20px auto;
}

.events-btn:hover {
  background-color: rgba(194, 168, 120, 0.8);
  color: white;
  transform: scale(1.05);
} 

.events-btn:active {
  background-color: rgba(194, 168, 120, 0.6);
  color: white;
}

.footer-btn {
  text-align: center;
}

/***************************************************** PROGRAMS STYLES *************************************************/

.programs-section {
  padding: 60px 20px;
  background: white;
}

.programs-section h1 {
  font-family: 'poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  color: #533805;
  font-size: 36px;
  margin-bottom: 20px;
}

.programs-intro {
  text-align: center;
  margin-bottom: 40px;
}

.programs-intro h2{
  font-family: 'poppins', sans-serif;
  font-size: 20px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.program-card {
  background: linear-gradient(180deg,
    rgba(194, 168, 120, 0.9) 0%,    
    rgba(194, 168, 120, 0.2) 100%   
  );
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  font-family: 'poppins', sans-serif;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.program-card h3 {
  font-size: 20px;
  color: #533805;
  margin-bottom: 20px;
  font-weight: 600;
}

.program-icon {
  width: 180px;
  height: 180px;
  margin: 20px auto;
  opacity: 0.8;
}

.card-text {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
}

.card-text p {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.5;
}

.program-link {
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.program-link:hover {
  color: #533805;
}

.program-card:hover {
  box-shadow: 0 15px 40px rgba(194, 168, 120, 0.6);
}

.program-card:hover .program-icon,
.program-card:hover h3 {
  opacity: 0;
}

.program-card:hover .card-text {
  opacity: 1;
}

/***************************************************** SERVICES STYLES *************************************************/

.services-section {
  padding: 60px 20px;
  background: rgba(194, 168, 120, 0.05);
}

.services-section h1 {
  font-family: 'poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  color: #533805;
  font-size: 36px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: linear-gradient(180deg, 
    rgba(194, 168, 120, 0.9) 0%, 
    rgba(194, 168, 120, 0.3) 100%);
  border-radius: 15px;
  min-height: 250px;
  text-align: center;
  font-family: 'poppins', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-50px);
  box-shadow: 0 10px 30px rgba(194, 168, 120, 0.6);
}

.service-icon {
  width: 60px;
  height: 60px;
  opacity: 0.8;
  margin-bottom: 15px;
}

.service-card h2 {
  font-size: 20px;
  color: #533805;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
  line-height: 1.5;
}

.service-link {
  color: #533805;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #C2A878;
}

/***************************************************** BANQUET STYLES *************************************************/

.banquet-section {
  padding: 60px 20px;
  background: white;
}

.banquet-section h1 {
  font-family: 'poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  color: #533805;
  font-size: 36px;
  margin-bottom: 40px;
}

.banquet-gallery {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.column111 {
  flex: 50%;
  font-family: 'poppins', sans-serif;
  background: linear-gradient(180deg,
    rgba(194, 168, 120, 0.9) 0%,    
    rgba(194, 168, 120, 0.2) 100%   
  );
  border-radius: 15px;
  padding: 30px;
  margin-right: 20px;
  max-height: 800px;
}

.banquet-swiper {
  width: 100%;
  height: 600px;
  border-radius: 15px;
  overflow: hidden;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: white;
  background-color: rgba(194, 168, 120, 0.8);
  border-radius: 50%;
  padding: 15px;
  font-size: 18px;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  background-color: rgba(194, 168, 120, 1);
  transition: background-color 0.3s ease;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column222 {
  flex: 50%;
  font-family: 'poppins', sans-serif;
  background: linear-gradient(180deg,
    rgba(194, 168, 120, 0.9) 0%,    
    rgba(194, 168, 120, 0.2) 100%   
  );
  border-radius: 15px;
  padding: 30px;
  min-height: 600px;
}

.column222 h2 {
  text-align: center;
  font-family: 'poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #533805;
  margin-bottom: 20px;
}

.column222 p {
  font-family: 'poppins', sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
}

.banquethall-btn {
  background-color: #C2A878;
  color: white;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 18px;
  font-family: 'poppins', sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.banquethall-btn:hover {
  background-color: rgba(194, 168, 120, 0.8);
  color: white;
  transform: scale(1.05);
}

.banquethall-btn:active {
  background-color: rgba(194, 168, 120, 0.6);
  color: white;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #C2A878;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  background-color: rgba(194, 168, 120, 0.4);
  transition: background-color 0.3s ease;
}

.swiper-button-prev:active::after,
.swiper-button-next:active::after {
  background-color: rgba(194, 168, 120, 0.6);
  background-color: rgba(194, 168, 120, 1);
  transition: background-color 0.3s ease;
}

/***************************************************** FOOTER SECTION STYLES *************************************************/

.support-section {
  margin-top: 60px;
  padding: 40px 20px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: linear-gradient(90deg,
    rgba(194, 168, 120, 0.9) 0%,    
    rgba(194, 168, 120, 0.3) 100%  
  );
  width: 100%;
}

.support-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 20%;
}

.logo-img {
  width: 300px;
  height: 300px;
  margin-bottom: -90px;
  margin-top: -100px;
  margin-left: -35px;
}

.support-text p {
  font-size: 18px;
  padding-right: 40px;
  color: black;
  font-family: 'poppins', sans-serif;
  margin-top: 0;
}

.facebook-img {
  width: 40px;
  height: 40px;
  margin-top: 0;
  margin-bottom: 50px;
}

.social-media:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.social-media:active {
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.contact-info h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 20%;
  font-family: 'poppins', sans-serif;
  color: black;
  font-size: 27px;
}

.contact-info h3 {
  font-family: 'poppins', sans-serif;
  color: black;
  font-size: 16px;
  color: #533805;
  font-weight: 600;
}

.contact-info p {
  font-family: 'poppins', sans-serif;
  color: black;
  font-weight: 500;
}

.socials {
  color: black;
  font-family: 'poppins', sans-serif;
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 18px;
}

.email-icon, .phone-icon, .pin-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.newsletter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 20%;
  font-family: 'poppins', sans-serif;
  color: black;
  font-size: 18px;
}

.newsletter input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.newsletter button {
  background-color: #C2A878;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background-color: rgba(194, 168, 120, 0.8);
} 

.newsletter button:active {
  background-color: rgba(194, 168, 120, 0.6);
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: 'poppins', sans-serif;
  font-size: 14px;
}

/***************************************************** MOBILE RESPONSIVE STYLES *************************************************/

@media screen and (max-width: 1024px) {
    .contacttop {
        padding-left: 50px;
        padding-right: 50px;
        font-size: 14px;
    }
    
    .navbar ul li a {
        font-size: 16px;
        padding-left: 15px;
    }
    
    .donate-form {
        margin-left: 30px;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .contacttop {
        padding: 10px 20px;
        font-size: 12px;
        flex-direction: column;
        gap: 5px;
    }
    
    .navbar {
        flex-direction: column;
        height: auto;
        
        align-items: flex-start;
    }
    
.navbar ul {
    position: absolute; /* Add this */
    top: 100%; /* Position below navbar */
    left: 0;
    right: 0;
    z-index: 1000; /* Ensure it appears above other content */
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 0; /* Remove margin since it's positioned absolutely */
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    
}
    
    .navbar ul.show {
        display: flex;
    }
    
    .navbar ul li {
        width: 100%;
        text-align: center;
        
        border-bottom: 1px solid rgba(194, 168, 120, 0.2);
        font-size: 8px;
    }
    
    .navbar ul li a{
      padding: 0px;
    }


    .navbar ul li:last-child {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 15px;
    }
    
    .donate-form {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .logo img {
        width: 100px;
    }
    
    .mainpage {
        height: 60vh;
    }
    
    .slideshow-container {
        height: 60vh;
    }
    
    .mainpage h1 {
        font-size: 36px;
        padding: 0 15px;
    }
    
    .mainpage h2 {
        font-size: 20px;
        padding: 0 15px;
    }
    
    .membership-btn {
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 30px;
    }
    
    .row {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 20px;
    }
    
    .column1, .column2, .column11, .column22, .column111, .column222 {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .prayer-times-container iframe {
        height: 600px;
    }
    
    .calendar-container iframe {
        height: 350px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .program-card {
        min-height: 250px;
        padding: 25px;
    }
    
    .program-icon {
        width: 120px;
        height: 120px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
.service-card {
        min-height: 200px;
        padding: 25px;
    }
    
    .service-card:hover {
        transform: translateY(-20px);
    }
    
    .banquet-swiper {
        height: 400px;
    }
    
    .support-section {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .support-text, .contact-info, .socials, .newsletter {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .logo-img {
        width: 200px;
        height: 200px;
        margin: 0 auto 20px auto;
    }
    
    .support-text p {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-info h2 {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .events-section h1, .programs-section h1, .services-section h1, .banquet-section h1 {
        font-size: 28px;
    }
    
    .column1 h1, .column2 h1, .column11 h2, .column22 h2, .column222 h2 {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .contacttop {
        font-size: 11px;
        padding: 8px 15px;
    }
    
    .navbar {
        padding: 8px 15px;
    }
    
    
    .logo img {
        width: 80px;
    }
    
    .mainpage {
        height: 50vh;
    }
    
    .slideshow-container {
        height: 50vh;
    }
    
    .mainpage h1 {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .mainpage h2 {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .membership-btn {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 25px;
    }
    
    .row {
        margin-left: 15px;
        margin-right: 15px;
        gap: 15px;
    }
    
    .column1, .column2, .column11, .column22, .column111, .column222 {
        padding: 20px;
    }
    
    .prayer-times-container iframe {
        height: 600px;
    }
    
    .calendar-container iframe {
        height: 300px;
    }
    
    .programs-grid {
        padding: 10px;
        gap: 15px;
    }
    
    .program-card {
        min-height: 220px;
        padding: 20px;
    }
    
    .program-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .program-icon {
        width: 100px;
        height: 100px;
        margin: 15px auto;
    }
    
    .card-text p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .services-grid {
        padding: 10px;
        gap: 15px;
    }
    
    .service-card {
        min-height: 180px;
        padding: 20px;
    }
    
    .service-card h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .banquet-swiper {
        height: 300px;
    }
    
    .column222 h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .column222 p {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .support-section {
        padding: 25px 15px;
        gap: 25px;
    }
    
    .logo-img {
        width: 150px;
        height: 150px;
        margin: 0 auto 15px auto;
    }
    
    .support-text p {
        font-size: 16px;
    }
    
    .contact-info h2, .socials h2, .newsletter h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .contact-info h3 {
        font-size: 15px;
        margin: 8px 0 4px 0;
    }
    
    .contact-info p, .socials p, .newsletter p {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .email-icon, .phone-icon, .pin-icon {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }
    
    .facebook-img {
        width: 32px;
        height: 32px;
        margin-top: 8px;
        margin-bottom: 0;
    }
    
    .newsletter input[type="email"] {
        padding: 8px;
        font-size: 14px;
        margin-top: 8px;
    }
    
    .newsletter button {
        padding: 8px 16px;
        font-size: 14px;
        margin-top: 12px;
    }
    
    .events-section h1, .programs-section h1, .services-section h1, .banquet-section h1 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .column1 h1, .column2 h1, .column11 h2, .column22 h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .programs-intro h2 {
        font-size: 16px;
        padding: 0 15px;
        line-height: 1.4;
    }
    
    .learn-more-btn, .events-btn, .banquethall-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .bullet-img {
        width: 18px;
        height: 18px;
        margin-bottom: 3px;
        margin-right: 6px;
    }
    
    .column2 p {
        font-size: 14px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 320px) {
    .contacttop {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .logo img {
        width: 70px;
    }
    
    .mainpage h1 {
        font-size: 24px;
    }
    
    .mainpage h2 {
        font-size: 14px;
    }
    
    .membership-btn {
        padding: 8px 16px;
        font-size: 13px;
        margin-top: 20px;
    }
    
    .row {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    .column1, .column2, .column11, .column22, .column111, .column222 {
        padding: 15px;
    }
    
    .prayer-times-container iframe {
        height: 400px;
    }
    
    .calendar-container iframe {
        height: 250px;
    }
    
    .program-card {
        min-height: 200px;
        padding: 15px;
    }
    
    .program-card h3 {
        font-size: 16px;
    }
    
    .program-icon {
        width: 80px;
        height: 80px;
        margin: 10px auto;
    }
    
    .service-card {
        min-height: 160px;
        padding: 15px;
    }
    
    .service-card h2 {
        font-size: 16px;
    }
    
    .service-card p {
        font-size: 12px;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
    }
    
    .banquet-swiper {
        height: 250px;
    }
    
    .support-section {
        padding: 20px 10px;
        gap: 20px;
    }
    
    .logo-img {
        width: 120px;
        height: 120px;
    }
    
    .support-text p {
        font-size: 14px;
    }
    
    .contact-info h2, .socials h2, .newsletter h2 {
        font-size: 18px;
    }
    
    .events-section h1, .programs-section h1, .services-section h1, .banquet-section h1 {
        font-size: 22px;
    }
    
    .column1 h1, .column2 h1, .column11 h2, .column22 h2, .column222 h2 {
        font-size: 18px;
    }
}

/* Additional Mobile-Specific Improvements */

@media screen and (max-width: 768px) {
    /* Touch-friendly button sizes */
    .learn-more-btn, .events-btn, .banquethall-btn, .membership-btn, .donate-btn {
        min-height: 44px;
        min-width: 44px;
    }
    

    
    /* Better spacing for mobile cards */
    .program-card, .service-card {
        margin-bottom: 15px;
    }
    
    /* Mobile-optimized hover effects */
    .program-card:hover .card-text {
        opacity: 1;
    }
    
    .program-card:hover .program-icon,
    .program-card:hover h3 {
        opacity: 0.3;
    }
    
    /* Simplified animations for mobile */
    .service-card:hover {
        transform: translateY(-5px);
    }
    
    /* Mobile-friendly iframe responsiveness */
    .prayer-times-container iframe,
    .calendar-container iframe {
        max-width: 100%;
        border-radius: 8px;
    }
    
    /* Improved mobile typography */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    /* Mobile menu animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Landscape orientation adjustments for mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .mainpage {
        height: 70vh;
    }
    
    .slideshow-container {
        height: 70vh;
    }
    
    .mainpage h1 {
        font-size: 32px;
    }
    
    .mainpage h2 {
        font-size: 18px;
    }
}