:root {
  /* Brand Colors - Inspired by Simons Institute / Berkeley */
  --primary-color: #003262;
  /* Berkeley Blue */
  --secondary-color: #fdb515;
  /* California Gold */
  --accent-color: #3b7ea1;
  /* Founders Rock */
  --medalist-color: #c4820e;

  /* Neutral Colors */
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #6c757d;
  --border-color: #e0e0e0;

  /* Typography */
  --font-primary: "Public Sans", sans-serif;
  --font-heading: "Merriweather", serif;

  /* Spacing & Layout */
  --section-padding: 80px 0;
  --card-border-radius: 8px;
  --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition-speed: 0.3s;
  --container-max-width: 1400px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  overscroll-behavior: none; /* Prevents the bounce effect in Safari/Firefox */
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Stop horizontal scroll */
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  min-height: 100vh;
}

h1 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 72px;
  font-weight: 400;
  /* Regular */
}

h2 {
  font-family: var(--font-heading);
  color: #000000;
  font-size: 36px;
  font-weight: 400;
  /* Regular */
}

h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
}

p {
  font-family: var(--font-primary);
  font-size: 19px;
  font-weight: 400;
  color: #000000;
  text-align: justify;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--accent-color);
}

/* Section Common Styles */
.section-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  margin: 20px auto 0;
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  padding: 10px 25px;
  border-radius: 5px;
}

.btn-primary-custom:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Custom Container */
.custom-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Common Read More Button */
.btn-read-more {
  background-color: #04555b;
  color: #ffffff;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 16px;
  padding: 7px 8px;
  border: none;
  border-radius: 0;
  display: inline-block;
  text-decoration: none;
  transition: background-color var(--transition-speed);
}

.btn-read-more:hover {
  color: #ffffff;
}

/* Card Styles */
/* Card styles moved to index.css */
/* Responsive Typography */
@media (max-width: 991px) {
  h2 {
    font-size: 28px;
  }
  p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  h2 {
    font-size: 25px;
  }
  p {
    font-size: 16px;
  }
}
