@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');


/* Global Styles */
:root {
  --primary-color: #f05a28;
  --secondary-color: #00a651;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --text-color: #555;
  --white: #fff;
  --light-gray: #eee;
  --medium-gray: #ddd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
.top-bar {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info a {
  margin-right: 20px;
}

.contact-info i {
  margin-right: 5px;
}

.social-icons a {
  margin-left: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

.main-nav {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 50px;
  padding: 5px 0;
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 12px;
  position: relative;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.nav-links a i {
  margin-left: 5px;
  font-size: 0.7rem;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 10px 0;
  border-radius: 4px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
  padding: 8px 15px;
}

.dropdown-menu a {
  padding: 5px 0;
  font-size: 0.75rem;
  display: block;
  font-weight: 500;
}

.btn-donate {
  background-color: #8cc63f;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.btn-donate:hover {
  background-color: #7ab536;
}

.mobile-donate {
  display: none;
}

.mobile-menu-icon {
  display: none;
  font-size: 24px;
  color: #333;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

/* Remove these sections from the CSS */
#welcomePopup,
.shiksha-ground {
    display: none;
}

/* Remove these related styles */
#welcomePopup img,
.shiksha-ground h2,
.ground-image,
.ground-image img {
    display: none;
}

/* Responsive Nav Styles */
@media (max-width: 992px) {
  .nav-container {
    padding: 10px 15px;
  }

  .mobile-menu-icon {
    display: block;
  }

  .nav-right {
    flex: 1;
    justify-content: flex-end;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: block;
  }
  
  .nav-links li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  
  .nav-links li a {
    padding: 15px 20px;
    display: block;
    text-align: left;
  }
  
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    padding: 0;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .dropdown-menu li {
    padding: 0;
    border-bottom: none;
  }
  
  .dropdown-menu a {
    padding: 10px 30px;
    color: #666;
  }
  
  .btn-donate {
    display: none;
  }

  .mobile-donate {
    display: block;
    margin-right: 15px;
  }

  .mobile-donate .btn-donate {
    display: block;
    padding: 8px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .logo img {
    height: 60px;
  }
  
  .btn-donate {
    padding: 10px 15px;
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .mobile-donate .btn-donate {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Update Image Section Styles */
.image-section {
  padding: 60px 0;
  background: #fff;
}

.image-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.image-block {
  flex: 0 0 400px;
  aspect-ratio: 3/4;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
}

.text-block {
  flex: 1;
  font-family:Raleway, sans-serif;
}

.text-block p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #666;
}

.reverse .image-content {
  flex-direction: row-reverse;
}

@media (max-width: 992px) {
  .image-content {
    flex-direction: column;
  }
  
  .reverse .image-content {
    flex-direction: column;
  }
  
  .image-block {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Remove support-education and bottom-block styles */
.support-education,
.bottom-block {
  display: none;
}

/* Go Back Button Center Alignment on Mobile */
@media (max-width: 768px) {
  .go-back {
    text-align: center;
  }
  
  .back-btn {
    display: inline-flex;
    margin: 0 auto;
  }
}

.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-popup:hover {
  color: #999;
}

.image-gallery {
  flex: 0 0 400px;
  display: grid;
  gap: 20px;
  aspect-ratio: 3/4;
}

.gallery-item {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  aspect-ratio: 3/4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup img {
    width: auto;
    height: auto;
    max-width: 75vh;
    max-height: 100vh;
    object-fit: cover;
}

.go-back {
  padding: 20px;
  background: #f5f5f5;
}

.back-btn {
  background: #8cc63f;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-btn:hover {
  background: #7ab536;
}