/* Base styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  color: #222;
  background-color: #f7f9fc;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container utility */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Hero Section */
.hero {
  /* Reduce hero height to make the header less overwhelming on smaller screens */
  height: 70vh;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Dark overlay for legibility */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 1rem;
}

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

/* Logo styling in the hero section */
.hero-content .logo {
  width: 120px;
  margin: 0 auto 1rem;
  display: block;
}

.tagline {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-button {
  background-color: #007acc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #005f99;
}

/* About Section */
.about {
  background-color: #fff;
  padding-top: 4rem;
}

.about h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #003d6b;
}

.about p {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  color: #555;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value {
  background-color: #f0f5fa;
  padding: 1.5rem;
  border-radius: 6px;
  text-align: center;
}

.value h3 {
  margin-bottom: 0.5rem;
  color: #007acc;
}

.value p {
  color: #555;
}

/* Features Section */
.features {
  background-color: #f7f9fc;
}

.features h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #003d6b;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: #007acc;
}

.feature p {
  color: #555;
}

/* Team Section */
.team {
  background-color: #fff;
}

.team h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #003d6b;
}

.team p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
  color: #555;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-member {
  background-color: #f0f5fa;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* Remove default input styling because upload inputs are no longer used */

/* Style for mentor name */
.team-member h4 {
  margin-top: 0.5rem;
  color: #003d6b;
  font-size: 1.1rem;
}

/* Style for mentor role */
.team-member .role {
  color: #555;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* LinkedIn link styling for team members */
.team-member .linkedin-link {
  color: #007acc;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.team-member .linkedin-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta {
  background-color: #007acc;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta .cta-button {
  background-color: #fff;
  color: #007acc;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta .cta-button:hover {
  background-color: #f0f5fa;
  color: #005f99;
}

/* Secondary CTA button */
.cta .cta-button.cta-secondary {
  background-color: #005f99;
  color: #fff;
  margin-left: 0.5rem;
}

.cta .cta-button.cta-secondary:hover {
  background-color: #003d6b;
  color: #fff;
}

/* Events Section */
.events {
  background-color: #f7f9fc;
  padding: 4rem 0;
}

.events h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #003d6b;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.event {
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.event img {
  width: 100%;
  height: auto;
  display: block;
}

.event h3 {
  margin: 1rem;
  color: #007acc;
  font-size: 1.25rem;
}

.event p {
  margin: 0 1rem 1.5rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Contact Page Styles */
.contact-container {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 0;
}

.contact-container h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #003d6b;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #003d6b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.contact-form button {
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #007acc;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005f99;
}

/* Footer */
footer {
  background-color: #003d6b;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

footer p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}

footer .social-links a {
  color: #fff;
  margin: 0 0.3rem;
  font-size: 0.9rem;
}

footer .social-links a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .tagline {
    font-size: 1rem;
  }
  .cta h2 {
    font-size: 1.5rem;
  }
}