/***************************************************** 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;
}

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

/* 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;
}

/* 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;
}

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

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

.mySlides {
  display: none;
  animation: crossfade 1.5s ease-in-out;
}

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

.slideimg {
  width: 100%;
  height: 100%;
  transform: translateY(-30%);
  object-fit: cover;
  position: relative;
}

.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: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
  padding-top: 20px;
  width: 80%;
  line-height: 1.2;
  font-family: 'poppins', sans-serif;
}

.banner-text {
  font-size: 36px;
  font-weight: bold;
  margin: 0;
}

/* MEMBERSHIP SECTIONS *****************************************************/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-family: 'poppins', sans-serif;
  font-size: 36px;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 600;
}

.section-subtitle {
  font-family: 'poppins', sans-serif;
  font-size: 24px;
  color: #C2A878;
  text-align: center;
  margin-top: -40px;
  margin-bottom: 60px;
  font-weight: 500;
}

/* MEMBERSHIP OVERVIEW */
.membership-overview {
  padding: 80px 0;
  background-color: #f8f9fa;
  text-align: center;
}

.membership-overview h2 {
  font-family: 'poppins', sans-serif;
  font-size: 36px;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.membership-overview p {
  font-family: 'poppins', sans-serif;
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

/* MEMBERSHIP SECTION - Simplified */
.membership-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.membership-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Benefits cards */
.benefits-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.benefit-item {
  text-align: center;
  padding: 40px 25px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(194, 168, 120, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(194, 168, 120, 0.2);
  border-color: #C2A878;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #C2A878, rgba(194, 168, 120, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.benefit-item h3 {
  font-family: 'poppins', sans-serif;
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.benefit-item p {
  font-family: 'poppins', sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* MEMBERSHIP FORM */
.membership-form-section {
  padding: 80px 0;
  background-color: white;
}

.membership-form-section h2 {
  font-family: 'poppins', sans-serif;
  font-size: 36px;
  color: #333;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.membership-form-section > .container > p {
  font-family: 'poppins', sans-serif;
  font-size: 18px;
  color: #666;
  text-align: center;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.membership-form {
  max-width: 700px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(194, 168, 120, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'poppins', sans-serif;
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: 'poppins', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C2A878;
  box-shadow: 0 0 0 3px rgba(194, 168, 120, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-family: 'poppins', sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #C2A878;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #C2A878, rgba(194, 168, 120, 0.9));
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, rgba(194, 168, 120, 0.9), #C2A878);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(194, 168, 120, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* FAQ SECTION */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-section h2 {
  font-family: 'poppins', sans-serif;
  font-size: 36px;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 600;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.faq-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(194, 168, 120, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(194, 168, 120, 0.15);
}

.faq-item h3 {
  font-family: 'poppins', sans-serif;
  font-size: 20px;
  color: #C2A878;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-item p {
  font-family: 'poppins', sans-serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* FOOTER *****************************************************/

.support-section {
  margin-top: 60px;
  padding-top: 10px;
  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;
    }
    
    .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .membership-form {
        padding: 40px 30px;
    }
    
    .faq-grid {
        grid-template-columns: 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;
        padding: 10px 20px;
        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;
        padding: 15px;
        border-bottom: 1px solid rgba(194, 168, 120, 0.2);
    }
    
    .navbar ul li:last-child {
        border-bottom: none;
    }
    
    .navbar ul li a {
     
        display: block;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 15px;
    }
    
    .donate-form {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .donate-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo img {
        width: 100px;
    }
    
    .mainpage {
        height: 35vh;
    }
    
    .slideshow-container {
        height: 60vh;
    }
    
    .mainpage h1 {
        font-size: 36px;
        padding: 0 15px;
    }
    
    .mainpage h2 {
        font-size: 20px;
        padding: 0 15px;
    }
    
    .text-overlay {
        width: 90%;
        top: 50%;
    }
    
    .membership-overview {
        padding: 50px 0;
    }
    
    .membership-overview h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .membership-overview p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .membership-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .section-subtitle {
        font-size: 20px;
        margin-top: -30px;
        margin-bottom: 40px;
    }
    
    .benefits-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-item {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .benefit-icon img {
        width: 30px;
        height: 30px;
    }
    
    .benefit-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .benefit-item p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .membership-form-section {
        padding: 50px 0;
    }
    
    .membership-form-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .membership-form-section > .container > p {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .membership-form {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .checkbox-label {
        font-size: 13px;
        gap: 8px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 16px;
        margin-top: 15px;
        min-height: 44px;
    }
    
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .faq-item {
        padding: 25px 20px;
    }
    
    .faq-item h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .faq-item p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .row {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
        gap: 30px;
    }
    
    .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;
    }
    
    .newsletter input[type="email"] {
        width: calc(100% - 20px);
        max-width: 300px;
    }
}

@media screen and (max-width: 480px) {
    .contacttop {
        font-size: 11px;
        padding: 8px 15px;
    }
    
    .navbar {
        padding: 8px 15px;
    }
    
    .logo img {
        width: 80px;
    }
    
    .mainpage {
        height: 28vh;
    }
    
    .slideshow-container {
        height: 50vh;
    }
    
    .mainpage h1 {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .mainpage h2 {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .membership-overview {
        padding: 40px 0;
    }
    
    .membership-overview h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .membership-overview p {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .membership-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-top: -20px;
        margin-bottom: 30px;
    }
    
    .benefits-cards {
        gap: 15px;
    }
    
    .benefit-item {
        padding: 25px 15px;
    }
    
    .benefit-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }
    
    .benefit-icon img {
        width: 25px;
        height: 25px;
    }
    
    .benefit-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .benefit-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .membership-form-section {
        padding: 40px 0;
    }
    
    .membership-form-section h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .membership-form-section > .container > p {
        font-size: 14px;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .membership-form {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .form-row {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .checkbox-label {
        font-size: 12px;
        gap: 6px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
        margin-top: 12px;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .faq-item {
        padding: 20px 15px;
    }
    
    .faq-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .faq-item p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .row {
        margin-left: 15px;
        margin-right: 15px;
        gap: 25px;
    }
    
    .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;
    }
}

@media screen and (max-width: 320px) {
    .contacttop {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .logo img {
        width: 70px;
    }
    
    .mainpage {
        height: 45vh;
    }
    
    .slideshow-container {
        height: 45vh;
    }
    
    .mainpage h1 {
        font-size: 24px;
    }
    
    .mainpage h2 {
        font-size: 14px;
    }
    
    .membership-overview {
        padding: 30px 0;
    }
    
    .membership-overview h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .membership-overview p {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .membership-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-top: -15px;
        margin-bottom: 25px;
    }
    
    .benefits-cards {
        gap: 12px;
    }
    
    .benefit-item {
        padding: 20px 10px;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .benefit-icon img {
        width: 22px;
        height: 22px;
    }
    
    .benefit-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .benefit-item p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .membership-form-section {
        padding: 30px 0;
    }
    
    .membership-form-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .membership-form-section > .container > p {
        font-size: 13px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .membership-form {
        padding: 20px 10px;
        margin: 0 3px;
    }
    
    .form-row {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 6px 8px;
        font-size: 13px;
    }
    
    .checkbox-label {
        font-size: 11px;
        gap: 5px;
    }
    
    .submit-btn {
        padding: 10px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    .faq-section {
        padding: 30px 0;
    }
    
    .faq-section h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .faq-item {
        padding: 15px 10px;
    }
    
    .faq-item h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .faq-item p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .row {
        margin-left: 10px;
        margin-right: 10px;
        gap: 20px;
    }
    
    .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;
    }
    
    .contact-info h3 {
        font-size: 14px;
    }
    
    .contact-info p, .socials p, .newsletter p {
        font-size: 13px;
    }
    
    .email-icon, .phone-icon, .pin-icon {
        width: 14px;
        height: 14px;
        margin-right: 5px;
    }
    
    .facebook-img {
        width: 28px;
        height: 28px;
    }
    
    .newsletter input[type="email"] {
        padding: 6px;
        font-size: 13px;
    }
    
    .newsletter button {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Additional Mobile-Specific Improvements */

@media screen and (max-width: 768px) {
    /* Touch-friendly button sizes */
    .submit-btn {
        min-height: 44px;
        min-width: 44px;
    }
    

    
    /* Better spacing for mobile cards */
    .benefit-item,
    .faq-item {
        margin-bottom: 15px;
    }
    
    /* Simplified animations for mobile */
    .benefit-item:hover {
        transform: translateY(-2px);
    }
    
    .faq-item:hover {
        transform: translateY(-2px);
    }
    
    /* 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);
    }
    
    /* Improved mobile content readability */
    .membership-overview p,
    .membership-form-section > .container > p,
    .benefit-item p,
    .faq-item p {
        text-align: left;
        word-wrap: break-word;
    }
    
    /* Mobile-optimized form styling */
    .membership-form {
        border-radius: 15px;
        box-shadow: 0 8px 20px rgba(194, 168, 120, 0.1);
    }
    
    /* Better mobile form styling */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: 2px solid #C2A878;
        outline-offset: 1px;
    }
    
    /* Improved mobile button states */
    .submit-btn:active,
    .newsletter button:active {
        transform: translateY(1px);
    }
    
    /* Mobile-friendly benefit cards */
    .benefit-item {
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(194, 168, 120, 0.1);
    }
    
    /* Mobile-optimized FAQ cards */
    .faq-item {
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(194, 168, 120, 0.1);
    }
    
    /* Better mobile checkbox styling */
    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    /* Mobile-friendly form validation */
    .form-group input:invalid,
    .form-group select:invalid,
    .form-group textarea:invalid {
        border-color: #dc3545;
    }
    
    .form-group input:valid,
    .form-group select:valid,
    .form-group textarea:valid {
        border-color: #28a745;
    }
}

/* 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;
    }
    
    .text-overlay {
        top: 45%;
    }
}

/* High DPI / Retina display optimizations */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2),
       screen and (max-width: 768px) and (min-resolution: 192dpi) {
    .benefit-icon img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
    }
}

/* Accessibility improvements for mobile */
@media screen and (max-width: 768px) {
    /* Ensure sufficient contrast and readability */
    .membership-overview p,
    .benefit-item p,
    .faq-item p {
        color: #333;
        font-weight: 400;
    }
    
    /* Improve focus states for mobile */
    .submit-btn:focus,
    .navbar ul li a:focus {
        outline: 2px solid #C2A878;
        outline-offset: 2px;
    }
    
    /* Better mobile card accessibility */
    .benefit-item,
    .faq-item {
        border: 1px solid rgba(194, 168, 120, 0.1);
    }
    
    /* Improved form accessibility */
    .form-group label {
        color: #333;
        font-weight: 500;
    }
    
    /* Better mobile form field spacing */
    .form-group input,
    .form-group select,
    .form-group textarea {
        margin-bottom: 5px;
    }
}

/* Very small screens optimization */
@media screen and (max-width: 280px) {
    .contacttop {
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .logo img {
        width: 60px;
    }
    
    .mainpage h1 {
        font-size: 20px;
    }
    
    .mainpage h2 {
        font-size: 12px;
    }
    
    .membership-overview h2 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .benefit-item {
        padding: 15px 8px;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
    }
    
    .benefit-icon img {
        width: 20px;
        height: 20px;
    }
    
    .benefit-item h3 {
        font-size: 15px;
    }
    
    .benefit-item p {
        font-size: 11px;
    }
    
    .membership-form-section h2 {
        font-size: 18px;
    }
    
    .membership-form {
        padding: 15px 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 5px 6px;
        font-size: 12px;
    }
    
    .submit-btn {
        padding: 8px;
        font-size: 13px;
    }
    
    .faq-section h2 {
        font-size: 18px;
    }
    
    .faq-item {
        padding: 12px 8px;
    }
    
    .faq-item h3 {
        font-size: 14px;
    }
    
    .faq-item p {
        font-size: 11px;
    }
}

/* Print styles for mobile */
@media print {
    .navbar,
    .support-section,
    footer,
    .menu-toggle {
        display: none;
    }
    
    .mainpage {
        height: auto;
        background: none;
    }
    
    .mainpage::after {
        display: none;
    }
    
    .benefit-item,
    .faq-item {
        break-inside: avoid;
        margin-bottom: 20px;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .submit-btn {
        display: none;
    }
    
    .membership-form {
        break-inside: avoid;
    }
}

/* Custom scrollbar for mobile webkit browsers */
@media screen and (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #C2A878;
        border-radius: 4px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: rgba(194, 168, 120, 0.8);
    }
}

/* Mobile-specific loading states */
@media screen and (max-width: 768px) {
    .membership-form input:disabled,
    .membership-form select:disabled,
    .membership-form textarea:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    .submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }
    
    .submit-btn:disabled:hover {
        transform: none;
        box-shadow: none;
    }
}