* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  color: #333;
}


.hero {
  background: url('../logo/logo_1.png') center/contain no-repeat;
  background-color: #162816; /* fallback color behind logo */
  min-height: calc(100vh - 60px); /* full screen minus navbar height */
  width: 100%;
  margin-top: 60px; /* matches fixed navbar height */
  padding: 140px 2rem 2rem 2rem !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}



.hero-header {  
  padding: 40px 2rem 2rem 2rem !important;
}

/* Navbar basics */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #162816;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  
  /*border-bottom: 1px solid #452829; /* Lime Green separator */
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.logo {
 font-size: 24px;
  font-weight: bold;
  text-decoration: none; /* Prevent underline */
  color: #fff; /* Keep same white logo color */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f39c12;
}

.hero-content {
  text-align: center;
  animation: fadeInUp 1.5s ease-out;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content p {
  margin: 20px 0px 15px 0px;
  font-size: 1.2rem;
}

#about > p {
  text-align: justify !important;
  padding: 4px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  margin-top: 30px;
  background: #f39c12;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn:hover {
  background: #d35400;
}

.section {
  padding: 80px 40px;
  text-align: center;
}

.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

/* Circular project cards */
.course-card {
  width: 180px;
  height: 180px;
  color: #104210;
  border: 4px solid #e55b13;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
  margin: 0 auto;
  font-size: 1.1rem;
  text-decoration: none; /* in case it's an <a> */
}

.course-card:hover {
  background: #e55b13;
  color: white;
  transform: scale(1.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: auto;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form button {
  padding: 12px;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1e8449;
}

footer {
  background-color: #162816;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* =============================
   DONATION STRIP ON HOME (KARMADHAM CTA)
============================= */

.donation-section {
  background: linear-gradient(to right, #fff4e6, #ffe9d6);
  color: #162816;
  padding: 80px 30px;
  text-align: center;
  border-top: 5px solid #e55b13;
  border-bottom: 5px solid #e55b13;
}

.donation-section .donation-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #104210;
}

.donation-section .donation-text {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.2rem;
  line-height: 1.6;
}

.donation-section .donate-btn {
  display: inline-block;
  background-color: #e55b13;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.donation-section .donate-btn:hover {
  background-color: #c74a0a;
}

.donation-section .donate-btn i {
  margin-right: 10px;
}

@media (max-width: 768px) {
	
	
  .hero,
  .hero-karmadham {
    margin-top: 60px;
    padding: 100px 1.5rem 2rem 1.5rem !important;
    min-height: calc(100vh - 60px);
  }

  /* Hide only the home page hero heading on small screens */
  .hero-home .hero-content h1 {
    display: none;
  }

  .hero-content p {
    font-size: 1rem;
  }
	
	
	
  .donation-section .donation-title {
    font-size: 2rem;
  }

  .donation-section .donation-text {
    font-size: 1rem;
    padding: 0 10px;
  }

  .donation-section .donate-btn {
    font-size: 1rem;
    padding: 12px 24px;
  }
  
  
  
  
  
}

/* Responsive nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(0, 60, 0, 0.6);
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 20px;
    border-radius: 10px 0 0 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 15px 0;
  }
}

/* =============================
   KARMADHAM PAGE STYLES
============================= */

/* Hero background specifically for Karmadham page */
/* New full-cover hero image for Karmadham */
.hero-karmadham {
  background: url('../images/cover-page-karmadham.png') center/cover no-repeat !important;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}




.karmadham-section {
  background: #f6a21e; /* Orange */
  padding: 4rem 2rem;
  color: #104210; /* Forest Green */
  text-align: center;
}

.karmadham-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mission-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.donation-form-wrapper {
  background: #fff;
  border: 3px solid #e55b13; /* Red Orange */
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto 3rem;
}

.donation-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.donation-form input,
.donation-form select,
.donation-form textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 2px solid #e55b13;
  border-radius: 8px;
}

.donation-form button {
  background: #104210;
  color: white;
  font-weight: bold;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.donation-form button:hover {
  background: #e55b13;
}

/* Slideshow on Karmadham */

.slideshow-section {
  margin: 3rem 0;
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.slide {
  display: none;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.slide.active {
  display: block;
}

.cta {
  margin-top: 2rem;
  font-size: 1.1rem;
}

.cta a {
  color: #e55b13;
  font-weight: bold;
}

@media (max-width: 600px) {
  .donation-form-wrapper {
    padding: 1rem;
  }
}


/* =============================
   SOCIAL MEDIUM PAGE
============================= */

/* Hero with Video Background (Social Media Page) */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
  margin-top: 60px; /* space for navbar */
  overflow: hidden;
}

/* Video iframe fills entire hero area */
.video-wrapper {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: 1;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover; /* full cover like background */
  border: none;
}

/* dark overlay for readability */
.hero-video::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* text over the video */
.hero-video .hero-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  top: 50%;
  transform: translateY(-50%); /* center vertically */
  animation: fadeInUp 1.2s ease-out;
}

/* Mobile: Hide video (autoplay restrictions + speed) */
@media (max-width: 768px) {
  .video-wrapper {
    display: none;
  }

  .hero-video {
    background: #162816;  /* solid fallback */
    height: calc(100vh - 60px);
  }

  .hero-video .hero-text h1 {
    font-size: 2rem;
  }
}





.social-medium-section {
  max-width: 1100px;
  margin: 0 auto;
}

.social-intro {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.social-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.social-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.social-card-body {
  padding: 1.5rem;
  text-align: left;
}

.social-card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #162816;
}

.social-card-body p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-link {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* Brand-ish button colors */
.social-link.yt { background: #ff0000; }
.social-link.fb { background: #1877f2; }
.social-link.ig {
  background: radial-gradient(circle at 30% 30%, #fdf497 0, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Small screen tweaks */
@media (max-width: 600px) {
  .social-card-body {
    padding: 1.25rem;
  }

  .social-card-body h3 {
    font-size: 1.4rem;
  }
}


/* =============================
   ART IN ACTION PAGE
============================= */

.art-section {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.art-intro {
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.art-card {
  background: #fff;
  padding: 1rem 1rem 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.art-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.art-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.art-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #162816;
}

.art-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Tablet & Mobile */
@media (max-width: 768px) {
  .art-card h3 {
    font-size: 1.25rem;
  }
  .art-card p {
    font-size: 0.9rem;
  }
}




/* =============================
   SOIL TO SELF RELIANCE PAGE
============================= */

.soil-section {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.soil-intro {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.soil-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.soil-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: left;
}

.soil-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #162816;
}

.soil-card p {
  font-size: 0.96rem;
  line-height: 1.6;
}

/* Products table */

.products-section {
  max-width: 1100px;
  margin: 0 auto;
}

.products-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.products-table thead {
  background: #162816;
  color: #fff;
}

.products-table th,
.products-table td {
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  text-align: left;
}

.products-table tbody tr:nth-child(even) {
  background: #f7f7f7;
}

.products-table tbody tr:hover {
  background: #fde9cf;
}




/* Optional footer styling */

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-links a {
  color: #f6a21e;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .footer-links {
    flex-direction: column;
    gap: 5px;
  }
}


/* Legal / Policy pages should fill the screen height */
.legal-page {
  max-width: 900px;
  margin: 80px auto 40px auto;  /* nice spacing */
  text-align: left;
  line-height: 1.7;
  min-height: 100vh;            /* ensure section is at least full viewport height */
}
