/* COTR Seminary - Main Design System & Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Poppins:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

:root {
  /* Brand Palette */
  --primary-navy: #192f59;
  --primary-navy-dark: #0f1d38;
  --primary-navy-light: #244177;
  --accent-gold: #e7b748;
  --accent-gold-dark: #cc8f02;
  --accent-gold-light: #f7d27e;
  --accent-blue: #007aff;
  --accent-blue-dark: #0060c7;
  --accent-cyan: #0ff9d2;
  --accent-sky: #2bc3ff;
  
  /* Neutral Colors */
  --text-dark: #373737;
  --text-body: #555555;
  --text-muted: #777777;
  --text-light: #a0aec0;
  --bg-white: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #121f38;
  --border-light: #eaeaea;
  --border-dark: #2b3956;
  
  /* Typography */
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-serif: 'Inria Serif', Georgia, serif;
  --font-roboto: 'Roboto', sans-serif;
  
  /* Spacing & Layout */
  --container-max-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(3, 15, 39, 0.08);
  --shadow-lg: 0 20px 40px rgba(3, 15, 39, 0.12);
  --shadow-hero: 0 20px 40px rgba(10, 10, 10, 0.2);
  --transition: all 0.3s ease;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Headings & Text */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-fluid {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

/* Layout Utilities */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; padding: 0 15px; }
.col-6 { flex: 0 0 50%; max-width: 50%; padding: 0 15px; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; padding: 0 15px; }
.col-3 { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }

@media (max-width: 991px) {
  .col-8, .col-4, .col-6, .col-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-roboto);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background-color: var(--accent-blue-dark);
  border-color: var(--accent-blue-dark);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.35);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: #1a1a1a;
  font-weight: 600;
  border-color: var(--accent-gold);
}

.btn-gold:hover {
  background-color: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(231, 183, 72, 0.4);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--text-dark);
  border-bottom: 2px solid var(--accent-gold);
  padding: 0 0 4px 0;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
}

.btn-outline-gold:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

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

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

/* Dividers & Accents */
.gold-divider {
  width: 50px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 15px auto 25px auto;
}

.gold-divider-left {
  width: 50px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 15px 0 25px 0;
}

/* Breadcrumb & Subpage Banner */
.page-title-banner {
  position: relative;
  background-color: var(--primary-navy-dark);
  background-image: linear-gradient(rgba(10, 29, 55, 0.85), rgba(15, 29, 56, 0.9)), url('../assets/images/about-us-banner.png');
  background-size: cover;
  background-position: center;
  padding: 80px 0 60px 0;
  color: var(--bg-white);
  text-align: center;
}

.page-title-banner h1 {
  color: var(--bg-white);
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.page-title-banner .breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.page-title-banner .breadcrumbs a {
  color: var(--accent-gold);
}

.page-title-banner .breadcrumbs a:hover {
  color: var(--bg-white);
}

.page-title-banner .breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.4);
}

/* Main Content Area */
.page-content-wrap {
  padding: 60px 0 80px 0;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 25px 0;
  -webkit-overflow-scrolling: touch;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 15px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.styled-table thead th {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-family: var(--font-heading);
}

.styled-table tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.styled-table tbody tr:nth-child(even) {
  background-color: #fbfbfb;
}

.styled-table tbody tr:hover {
  background-color: #f0f4fb;
}

/* Section Headings */
.section-title-wrap {
  text-align: center;
  margin-bottom: 45px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--primary-navy);
  font-weight: 700;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-gold { color: var(--accent-gold) !important; }
.text-navy { color: var(--primary-navy) !important; }
.text-muted { color: var(--text-muted) !important; }
.bg-light { background-color: var(--bg-light) !important; }
.bg-white { background-color: var(--bg-white) !important; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.p-30 { padding: 30px; }
