/* Mentor Card Fix: Ensure paragraphs are spaced and block-level */
.mentor-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.2rem 1rem 1rem 1rem;
  border: 1px solid #e0e0e0;
  word-break: break-word;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  /* Remove any fixed height to allow content to expand */
}
.mentor-card h4 {
  margin-bottom: 0.7em;
  color: var(--primary-dark);
  font-size: 1.18rem;
}
/* Modern SOTCA Website Styles - Flat Design */

/* CSS Variables for consistent theming */
:root {
  --primary-color: #111214;
  --primary-dark: #000000;
  --primary-light: #f5f6fa;
  --secondary-color: #ffffff;
  --accent-blue: #007aff;
  --accent-green: #34c759;
  --accent-gray: #e5e5ea;
  --text-color: #222326;
  --text-light: #6e6e73;
  --white: #ffffff;
  --border-color: #e5e5ea;
  --shadow: none;
  --shadow-lg: none;
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
  --border-radius: 12px;
  --max-width: 1200px;
  --header-height: 64px;
}

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

body {
  font-family: 'Inter', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--primary-light);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* Header and Navigation */
.site-header {
  background: var(--secondary-color);
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  background: var(--secondary-color);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 400;
  padding: 0.5rem 1.2rem;
  position: relative;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--accent-gray);
  color: var(--accent-blue);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--secondary-color);
  color: var(--primary-dark);
  padding: 100px 0 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background: none;
  color: var(--accent-blue);
  border: 1px solid var(--accent-blue);
  font-weight: 400;
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: var(--white);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--secondary-color);
  border: 1px solid var(--border-color);
  padding: 2.2rem 2rem 2rem 2rem;
  border-radius: 12px;
  transition: var(--transition);
  word-break: break-word;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.card:hover {
  border-color: var(--accent-blue);
}

.card h3 {
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
  color: var(--primary-dark);
}

.card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Content Sections */
.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content-section.reverse {
  direction: rtl;
}

.content-section.reverse > * {
  direction: ltr;
}

.content-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.content-image img {
  /* Flat design - no rounded corners or shadows */
}

/* Footer */
.site-footer {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 60px 0 20px;
  margin-top: 60px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--accent-blue);
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  color: var(--text-light);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.bg-light {
  background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    border-bottom: 2px solid var(--border-color);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .content-section {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .section {
    padding: 40px 0;
  }

  .logo {
    font-size: 1.25rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
}
