
@import './root.css';

/* Default styles for desktop and larger screens */

/* Tablet Styles (768px to 1024px) */
@media (max-width: 1024px) {
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .section-subtitle {
    font-size: var(--text-lg);
  }
}

/* Mobile Styles (below 768px) */
@media (max-width: 768px) {
  .section-title {
    font-size: var(--text-2xl);
  }
  
  .section-subtitle {
    font-size: var(--text-base);
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-base);
  }
  
  .hero-button {
    padding: var(--space-3) var(--space-6);
  }
  
  .section-header {
    margin-bottom: var(--space-8);
  }
  
  /* Container padding */
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  
  /* Vertical spacing */
  .section {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
  
  /* Button sizes */
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
  }
  
  /* Grid items */
  .grid-col-3,
  .grid-col-4 {
    grid-template-columns: 1fr;
  }
  
  /* Hide optional elements */
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  /* Modal/Lightbox sizes */
  .modal-content {
    width: 95%;
    max-height: 90vh;
  }
}

/* Small mobile devices (below 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: var(--text-2xl);
  }
  
  .section-title {
    font-size: var(--text-xl);
  }
  
  .btn {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }
  
  .container {
    padding-left: var(--space-3);
    padding-right: var(--space-3);
  }
}
@media (max-width: 480px) and (min-width: 320px) {
  .impact-highlight-card {
        max-width: none !important;
        width: 90% !important;
    }
     .impact-highlights-container {
    height: 720px !important;
  }
  .team-card{
    height: 430px;
    overflow:visible;
  }
  .logo img{
    height: 8vh !important;
    }
    .footer-logo img{
      height: auto;
    }
}
 

/* Portrait mobile orientation */
/* Print styles */
@media print {
  .header,
  .footer,
  .hero-button,

  .no-print {
    display: none !important;
  }
  
  body {
    color: black;
    background: white;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}
@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    padding: 30px 15px;
    gap: 24px;
  }
  .contact-info-panel {
    padding-right: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 1024px) {
  .about-container {
    flex-direction: column;
    gap: var(--space-8);
  }

  .about-image,
  .about-content {
    width: 100%;
  }

  .about-image-accent {
    width: 150px;
    height: 150px;
    bottom: -40px;
    right: -40px;
  }
}
@media (max-width:1025px){
  .nav-item{
    margin: 0 var(--space-1);
  }
.about-container{
  gap: 30px !important;
}
}
@media (max-width: 1025px) and (min-width: 765px){
  .logo img{
    height: 8vh !important;
  }
  .nav-menu .topbar-donate-btn {
  padding: 7px 16px;
  font-size: 13px;
  margin-top: 8px;
  }
}
@media (max-width: 768px) {
  .about-container{
    flex-direction: column-reverse !important;
  }
  .about-section {
    padding: var(--space-10) var(--space-4);
  }
.about-cont{
  margin-left: 0;
  margin-right: 0;
}
  .about-title , .project-success .section-title , .section-title, .about-tile1{
    font-size: var(--text-3xl) !important;
  }
 .section-subtitle , .section-subtitle{
  text-align: left !important;
}
  .about-image-main {
    height: 420px;
  }
 .impact-highlights-container{
  display: grid !important;
  height: 580px;
}
.impact-highlight-card{
  max-width: 670px;
  margin: 18px 16px 18px 22px;
}
.photo-gallery-section{
  padding: 30px;
}

  .about-image-accent {
    width: 120px;
    height: 120px;
    bottom: -30px;
    right: 0px;
    border-width: 6px;
  }

}
@media (max-width: 900px) {
  .stats-container {
    gap: 30px;
  }
  .stat-number {
    font-size: 48px;
  }
  .stat-icon {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .stats-container {
    flex-direction: column;
    gap: 20px;
  }
  .stat-card {
    padding: 16px 0;
  }
}
@media (max-width: 768px) {
  .help-us-title {
    font-size: 1.5rem;
  }
  .help-us-text {
    font-size: 1.1rem;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-12);
  }
}

@media (max-width: 768px) {
  .footer {
    padding-top: var(--space-10);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
  }

  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-copyright {
    margin-bottom: var(--space-4);
  }

  .footer-links-bottom {
    flex-direction: column;
  }

  .footer-links-bottom a {
    margin: var(--space-2) 0;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: var(--space-4);
    right: var(--space-4);
  }
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-img {
    height: 180px;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-img {
    height: 200px;
  }
}
