/* CSS Variables for Color Theme */
:root {
  --dark-green: #2D3A22;
  --gradient-gold-start: #F2A900;
  --gradient-gold-end: #FF7F32;
  --light-violet: #B48AD8;
  --deep-yellow-gold: #D9A441;
  --dark-gray-black: #333333;
  --white: #FFFFFF;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-green);
  background-color: var(--white);
  padding-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-green);
}

a {
  text-decoration: none;
  color: var(--white);
}

button {
  background: linear-gradient(to right, var(--gradient-gold-start), var(--gradient-gold-end));
  color: var(--white);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s;
  min-height: 44px;
}

button:hover {
  transform: scale(1.05);
}

/* --- बेसिक स्टाइलिंग --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  height: 80px;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

.nav-links {
  display: flex;
  list-style: none;
  flex: 1;
  justify-content: flex-end;
}

.nav-links li {
  padding: 0 1rem;
}


.nav-links a {
  color: #333333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: orange;
}



.join-now {
  background: linear-gradient(to right, var(--gradient-gold-start), var(--gradient-gold-end));
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.nav-logo img {
  height: 100%;
  width: auto;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: url('images/banner.JPG') no-repeat center/cover;
  color: var(--white);
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.cta-button {
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 1.2em;
}

/* Sections */
section {
  padding: 60px 0;
}

.intro-section, .story-section, .about-section, .vision-mission-section, .plans-section, .income-section, .why-section, .certificates-section, .cta-section {
  background-color: rgba(180, 138, 216, 0.05);
}

section h1, section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--deep-yellow-gold);
}

section h1 {
  font-size: 2.5em;
}

/* Vision Mission Grid */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.vm-item h3 {
  color: var(--gradient-gold-start);
  margin-bottom: 15px;
}

.vm-item ul {
  list-style-type: disc;
  padding-left: 20px;
}

.vm-item li {
  margin-bottom: 10px;
  color: var(--dark-green);
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.plan-card {
  background-color: var(--white);
  border: 1px solid var(--dark-green);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card h3 {
  font-size: 2em;
  color: var(--gradient-gold-start);
}

/* Income Grid */
.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.income-item {
  text-align: center;
  padding: 20px;
}

.income-item span {
  font-size: 3em;
  display: block;
  margin-bottom: 10px;
}

/* Why Choose Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--dark-green);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.why-card span {
  font-size: 3em;
  display: block;
  margin-bottom: 10px;
}

/* Certificates Grid */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.certificates-grid .cert-item {
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--dark-green);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.certificates-grid .cert-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.certificates-grid .cert-item h3 {
  color: var(--dark-green);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, var(--gradient-gold-start), var(--gradient-gold-end));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

/* Read More Button */
.read-more {
  background: var(--light-violet);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 5px;
  transition: background 0.3s;
}

.read-more:hover {
  background: var(--deep-yellow-gold);
}

/* Footer */
footer {
  background-color: var(--dark-gray-black);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
}

footer .container {
  text-align: center;
}

footer p {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.social-icons a {
  color: var(--white);
  font-size: 24px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--deep-yellow-gold);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .vm-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1.2em;
  }

  .plans-grid, .income-grid, .why-grid, .certificates-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 40px 0;
  }

  section h1 {
    font-size: 2em;
  }

  section h2 {
    font-size: 1.5em;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  table {
    overflow-x: auto;
    display: block;
  }

  input, textarea {
    padding: 15px;
    font-size: 16px;
  }

  button {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.5em;
  }

  .hero-content p {
    font-size: 1em;
  }

  section h1 {
    font-size: 1.8em;
  }

  section h2 {
    font-size: 1.3em;
  }

  .container {
    padding: 0 10px;
  }

  section {
    padding: 30px 0;
  }

  .plan-card, .why-card {
    padding: 20px;
  }

  .plan-card h3 {
    font-size: 1.5em;
  }

  .why-card span {
    font-size: 2.5em;
  }

  .income-item span {
    font-size: 2.5em;
  }
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

table th, table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--dark-green);
}

table th {
  background-color: var(--dark-green);
  color: var(--white);
  font-weight: 600;
}

table tr:nth-child(even) {
  background-color: rgba(180, 138, 216, 0.05);
}

table tr:hover {
  background-color: rgba(217, 164, 65, 0.1);
}

/* Income Example Styles */
.income-example {
  background-color: var(--white);
  border: 1px solid var(--dark-green);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.income-example h4 {
  color: var(--gradient-gold-start);
  margin-bottom: 10px;
}

.income-example p {
  margin-bottom: 10px;
  line-height: 1.8;
}

/* Terms & Conditions */
.terms ul {
  list-style-type: disc;
  padding-left: 20px;
}

.terms li {
  margin-bottom: 10px;
  color: var(--dark-green);
}

/* Form Inputs */
input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--dark-green);
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 10px;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--gradient-gold-start);
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader.hidden {
  display: none;
}

.preloader img {
  width: 100px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Content */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-content img {
  height: 50px;
}

.quick-links h3 {
  color: var(--deep-yellow-gold);
  margin-bottom: 10px;
}

.quick-links ul {
  list-style: none;
}

.quick-links li {
  margin-bottom: 5px;
}

.quick-links a {
  color: var(--white);
  transition: color 0.3s;
}

.quick-links a:hover {
  color: var(--deep-yellow-gold);
}

.contact-info {
  text-align: left;
}

.contact-info p {
  margin-bottom: 5px;
}
