/* GLOBAL RESET & CONSISTENCY */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* COMMON CONTAINER */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* SECTION SPACING */
section {
    padding: 60px 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

/* FORM STANDARDIZATION */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus {
    outline: none;
    border-color: #264796;
    box-shadow: 0 0 0 3px rgba(38, 71, 150, 0.1);
}

/* BUTTON CONSISTENCY */
.btn, .pill-button {
    display: inline-block;
    padding: 12px 30px;
    background: #264796; /* Using brand color for consistency */
    color: #fff !important;
    border: none;
    border-radius: 9999px; /* Rounded pill style as per master */
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn:hover, .pill-button:hover {
    background: #1a2f6e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Specific pink button from instructions if needed separately */
.btn-pink {
    background: #ff4d6d;
}
.btn-pink:hover {
    background: #e63950;
}

/* GRID FIX (PROGRAMS) */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.program-card {
    height: 100%;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
}

/* IMAGE RESPONSIVE */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ADDITIONAL BRAND STYLES (FROM INDEX.PHP) */
.bg-ssvm-blue { background-color: #264796; }
.text-ssvm-blue { color: #264796; }

/* NAVBAR SCROLLED STATE (FROM INDEX.PHP) */
.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 0 !important;
}

.scrolled .nav-link { color: #264796 !important; }
.scrolled #nav-logo { color: #264796 !important; }

/* TYPOGRAPHY FIX */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* EVENTS SECTION */
.events-section {
  padding: 60px 0;
}

/* EVENT GRID */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* EVENT CARD */
.event-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-5px);
}

/* EVENT IMAGE */
.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* EVENT CONTENT */
.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* EVENT TITLE */
.event-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* EVENT DATE */
.event-date {
  font-size: 13px;
  color: #ff4d6d;
  font-weight: 500;
  margin-bottom: 2px;
}

/* EVENT DESCRIPTION */
.event-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* SECTION TITLE */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
}

