/* ===================================
   Shuddhi Trust Website Styles
   Clean, professional design with emphasis on readability
   =================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212121;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

/* Header */
header {
  background-color: #ffffff;
  padding: 30px 0 20px 0;
  text-align: center;
}

.main-logo {
  max-width: 400px;
  width: 90%;
  height: auto;
}

/* Navigation Bar */
.navbar {
  background-color: #ffffff;
  border-bottom: 2px solid #f5f5f5;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.05em;
  color: #212121;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-links a:hover {
  color: #0099ff;
  background-color: #f5f5f5;
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Hero Section */
.hero-content {
  text-align: center;
  padding: 40px 0;
}

.tagline {
  font-size: 1.3em;
  line-height: 1.8;
  color: #333333;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
}

/* Main Content */
main {
  padding: 40px 20px;
}

/* Typography */
h1 {
  font-size: 2.5em;
  font-weight: 700;
  color: #212121;
  margin-bottom: 20px;
  text-align: center;
}

h2 {
  font-size: 2em;
  font-weight: 600;
  color: #333333;
  margin-bottom: 20px;
  text-align: center;
}

h3 {
  font-size: 1.5em;
  font-weight: 600;
  color: #0099ff;
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.8;
}

strong {
  font-weight: 600;
  color: #212121;
}

em {
  font-style: italic;
  color: #555555;
}

/* Sections */
section {
  margin: 60px 0;
}

/* Content Boxes */
.content-box {
  background-color: #fafafa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

/* Horizontal Rules */
hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 40px auto;
  width: 80%;
  max-width: 600px;
}

/* Highlight Box */
.highlight {
  background-color: #fff3cd;
  padding: 15px 20px;
  border-left: 4px solid #0099ff;
  border-radius: 4px;
  font-weight: 500;
  margin: 20px 0;
}

/* Links */
a {
  color: #0099ff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
  color: #0077cc;
  text-decoration: underline;
}

/* Buttons */
.btn-link,
.btn-primary,
.btn-donate {
  display: inline-block;
  padding: 12px 30px;
  margin-top: 10px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-link {
  background-color: transparent;
  color: #0099ff;
  border: 2px solid #0099ff;
}

.btn-link:hover {
  background-color: #0099ff;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.btn-primary {
  background-color: #0099ff;
  color: #ffffff;
  border: 2px solid #0099ff;
}

.btn-primary:hover {
  background-color: #0077cc;
  border-color: #0077cc;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 204, 0.4);
}

.btn-donate {
  background-color: #66bb6a;
  color: #ffffff;
  border: 2px solid #66bb6a;
  font-size: 1.1em;
}

.btn-donate:hover {
  background-color: #4caf50;
  border-color: #4caf50;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Medium Section */
.medium-section {
  text-align: center;
  margin: 30px 0;
}

.medium-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.medium-link:hover {
  transform: scale(1.05);
}

.medium-logo {
  display: inline-block;
  margin: 20px 0;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 20px;
}

.team-member h3 {
  color: #212121;
  margin-bottom: 5px;
}

.role {
  color: #0099ff;
  font-weight: 600;
  font-size: 1em;
  margin-bottom: 15px;
}

/* Support Section */
.support-box {
  background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
  border-left: 4px solid #66bb6a;
}

/* Contact Section */
.contact-info {
  text-align: center;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1.1em;
}

/* Footer */
footer {
  background-color: #f5f5f5;
  padding: 40px 0;
  margin-top: 80px;
  border-top: 2px solid #e0e0e0;
}

.social-links {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.social-links a {
  color: #0099ff;
  font-weight: 600;
  padding: 0 10px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #0077cc;
  text-decoration: none;
}

.separator {
  color: #cccccc;
  padding: 0 10px;
}

.copyright {
  text-align: center;
  color: #666666;
  font-size: 0.9em;
  line-height: 1.6;
}

.copyright a {
  color: #0099ff;
  font-weight: 500;
}

.copyright a:hover {
  color: #0077cc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-logo {
    max-width: 300px;
  }

  .nav-links {
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 0.95em;
    padding: 6px 10px;
  }

  .nav-icon {
    width: 18px;
    height: 18px;
  }

  .tagline {
    font-size: 1.1em;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.6em;
  }

  h3 {
    font-size: 1.3em;
  }

  p {
    font-size: 1em;
  }

  .content-box {
    padding: 20px;
  }

  section {
    margin: 40px 0;
  }

  .social-links {
    font-size: 1em;
  }

  .social-links a {
    display: inline-block;
    padding: 5px;
  }

  .separator {
    display: none;
  }

  .social-links a::after {
    content: "";
    display: block;
    height: 5px;
  }
}

@media (max-width: 480px) {
  .main-logo {
    max-width: 250px;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.4em;
  }

  .content-box {
    padding: 15px;
  }

  .btn-link,
  .btn-primary,
  .btn-donate {
    padding: 10px 20px;
    font-size: 0.95em;
  }
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
a:focus,
button:focus {
  outline: 2px solid #0099ff;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  header,
  footer {
    background-color: transparent;
  }

  a {
    color: #212121;
    text-decoration: underline;
  }

  .btn-link,
  .btn-primary,
  .btn-donate {
    border: 1px solid #212121;
    background-color: transparent;
    color: #212121;
  }
}
