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

body,
html {
  height: 100%;
  font-family: Arial, sans-serif;
}

.container {
  display: flex;
  height: 100vh; /* full viewport height */
}

/* Left Side (just an image) */
.image-side {
  flex: 1;
  height: 100%;
  width: 50%; /* ensures left is half; flex:1 already works, but explicit makes it clear */
  overflow: hidden; /* important so image can crop to container */
  display: block;
}

/* Make the <img> fill and cover the left side */
.side-image {
  width: 100%;
  height: 100%;
  display: block; /* removes inline-gap */
  object-fit: cover; /* cover the whole area, cropping as needed */
  object-position: center;
}

/* Right Side (branding + forms) */
.form-side {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 40px;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
}

/* (rest of your rules...) */
.branding {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  width: 200px;
  margin-bottom: 0px;
}

.branding h1 {
  font-size: 26px;
  margin-bottom: 5px;
  color: #333;
}

.branding p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* Forms */
.form-side h2 {
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}

input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

button {
  display: block; /* makes it respect margin auto */
  margin: 10px auto 0; /* auto horizontally centers */
  width: 40%;

  padding: 10px;
  margin-top: 10px;
  background: blueviolet;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

button:hover {
  background: blueviolet;
}

.toggle {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}

.toggle a {
  color: blueviolet;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.hidden {
  display: none;
}

/* Navbar */
header {
  background: magenta;
  padding: 15px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 50px;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-links .btn {
  background: blueviolet;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
}

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 40px;
  background: blueviolet;
}

.hero-text {
  flex: 1;
  padding-right: 20px;
}

.hero-text h1 {
  font-size: 36px;
  margin-bottom: 15px;
  color: magenta;
}

.hero-text p {
  margin-bottom: 20px;
}

.cta-btn {
  background: blueviolet;
  color: purple;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.hero-img {
  flex: 1;
}

.hero-img img {
  width: 100%;
  border-radius: 10px;
}

/* About */
.about {
  padding: 60px 40px;
  text-align: center;
  background: magenta;
}

.about h2 {
  margin-bottom: 15px;
  color: blueviolet;
}
.testimonials h2 {
  color: blueviolet;
}

/* Testimonials */
.testimonials {
  background: magenta;
  padding: 60px 40px;
  text-align: center;
}

.testimonial-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 250px;
}

/* Call to Action Section */
.cta {
  padding: 60px 40px;
  text-align: center;
  background: blueviolet;
  color: #fff;
}

/* Animated Join Now Button */
.cta-btn {
  margin-top: 15px;
  display: inline-block;
  padding: 12px 30px;
  background: #fff; /* button background */
  color: blueviolet; /* button text */
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.cta-btn:hover {
  box-shadow: 0 0 15px #fff, 0 0 25px #fff;
  transform: translateY(-3px); /* slight lift */
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: #fff;
}

/* Contact Page */
.contact {
  padding: 60px 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 32px;
  color: blueviolet;
  margin-bottom: 15px;
}

.contact p {
  font-size: 16px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  text-align: left;
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
}

.contact-form button {
  width: 40%;
  margin: 0 auto;
  padding: 12px;
  background: blueviolet;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  box-shadow: 0 0 15px #8a2be2, 0 0 25px #8a2be2;
  transform: translateY(-3px);
}

/* Footer social links */
.social-links {
  margin-top: 10px;
  text-align: center;
}

.social-links a {
  margin: 0 10px;
  color: blueviolet;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #8a2be2;
}

.thank-you {
  color: green;
  font-weight: bold;
  margin-top: 20px;
  font-size: 16px;
}

.hidden {
  display: none;
}

/* Job Board */
.job-board {
  padding: 2rem;
  background: #fff;
}
.job-board h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Mentorship */
.mentorship {
  padding: 2rem;
  background: #f2e9f9;
}
.mentorship h2 {
  text-align: center;
  margin-bottom: 2rem;
}
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.mentor-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.mentor-card h3 {
  margin-bottom: 0.8rem;
  color: #5a2a82;
}
.mentor-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #555;
}
.mentor-card button {
  padding: 0.6rem 1.2rem;
  border: none;
  background: #5a2a82;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.mentor-card button:hover {
  background: #7b3ea9;
}
/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Navbar */
.navbar {
  background: #5a2a82;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
}
.navbar .logo {
  font-weight: bold;
  font-size: 1.3rem;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
}
.nav-links a.active {
  border-bottom: 2px solid #ffd700;
}

/* Hero */
.hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #f2e9f9;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.1rem;
  color: #444;
}
/* Career Paths Section */
.career-paths {
  padding: 3rem 2rem;
  background: #f9fafb; /* soft gray background */
  text-align: center;
}

.career-paths h2 {
  font-size: 2rem;
  color: #1f2937; /* dark gray */
  margin-bottom: 2rem;
  font-weight: 700;
}

.career-paths .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.career-paths .card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-paths .card h3 {
  font-size: 1.25rem;
  color: blueviolet;
  margin-bottom: 0.75rem;
}

.career-paths .card p {
  font-size: 1rem;
  color: #4b5563; /* medium gray */
  line-height: 1.6;
}

/* Hover effect */
.career-paths .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Contact Page */
.contact {
  padding: 3rem 2rem;
  text-align: center;
  background: #f9fafb;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4b0082; /* purple accent */
}

.contact p {
  margin-bottom: 2rem;
  color: #374151;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
  text-align: left;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #4b0082;
  box-shadow: 0 0 4px rgba(75, 0, 130, 0.3);
}

.btn {
  background: #4b0082;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

.btn:hover {
  background: #6a0dad;
}

/* Hero for Donate Page */
.donate-hero {
  background: linear-gradient(to right, #6a0dad, #b57edc);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
}

.donate-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donate-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Donate Section */
.donate {
  padding: 3rem 2rem;
  text-align: center;
}

.donate h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #4b0082;
}

.donation-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.donation-options button {
  background: blueviolet;
  border: 1px solid #ccc;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.donation-options button:hover {
  background: magenta;
  color: #fff;
}

#donationForm {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  background: magenta;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#donationForm .form-group {
  margin-bottom: 1.5rem;
}

#donationForm label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#donationForm input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

#donationForm input:focus {
  outline: none;
  border-color: #6a0dad;
  box-shadow: 0 0 4px rgba(106, 13, 173, 0.3);
}
