/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --code-bg: #090d16;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover, 
nav a.active {
  color: var(--accent);
}

/* ==========================================================================
   3. LAYOUT CONTAINERS & HEADINGS
   ========================================================================== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-title {
  text-align: center;
  margin-bottom: 3rem;
}

.page-title h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   4. HOME PAGE & HERO SECTION
   ========================================================================== */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 8px;
}

.card h3 {
  margin-bottom: 0.8rem;
  color: var(--accent);
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   5. BUTTONS & UI CONTROLS
   ========================================================================== */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #0f172a;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  background-color: var(--accent-hover);
}

/* ==========================================================================
   6. SERVICES & PRICING PAGE
   ========================================================================== */
.table-container {
  overflow-x: auto;
  margin-bottom: 4rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

th, td {
  padding: 1rem 1.2rem;
  text-align: left;
}

th {
  background-color: #334155;
  color: var(--accent);
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.02);
}

tr:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.price-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.price-card.featured {
  border-color: var(--accent);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin: 1rem 0;
}

.price-card ul {
  list-style: none;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: left;
}

.price-card li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.price-card li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
}

/* ==========================================================================
   7. GUIDES & TECHNICAL CODE BLOCKS
   ========================================================================== */
.guide-section {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.guide-section h2 {
  color: var(--accent);
  margin-bottom: 1rem;
}

pre {
  background-color: var(--code-bg);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 1rem 0;
}

code {
  font-family: "Courier New", Courier, monospace;
  color: #e2e8f0;
}

/* ==========================================================================
   8. CONTACT FORM STYLES
   ========================================================================== */
.form-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-main);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: auto;
}
/* Business Theme Color Variables */
:root {
  --primary-color: #1a365d;   /* Primary Brand Color */
  --accent-color: #2b6cb0;    /* Secondary/Hover Color */
  --bg-color: #f7fafc;        /* Main Page Background */
  --card-bg: #ffffff;         /* Card Background */
  --text-dark: #2d3748;       /* Primary Text */
  --text-muted: #718096;      /* Subtitles & Captions */
  --border-color: #e2e8f0;    /* Section Borders */
}

/* Page Setup */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  margin: 0;
  padding: 0;
}

/* Container & Layout */
.container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

/* Header & Avatar Styling */
.profile-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin-bottom: 15px;
}

.heading-primary {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 10px 0 5px 0;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Text Content & Quote */
.description {
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.business-quote {
  background-color: var(--bg-color);
  border-left: 4px solid var(--primary-color);
  margin: 20px 0;
  padding: 15px 20px;
  text-align: left;
  font-style: italic;
}

.business-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: bold;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Business Button Styling */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--accent-color);
}

/* Transcript Page Header & Logo */
.transcript-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 10%;
  background-color: #f8f9fa;
  border-bottom: 2px solid #ddd;
}

.transcript-header .logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.transcript-container {
  padding: 30px 10%;
}

/* Transcript Outer Table Requirements */
.transcript-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  /* Double line outer border requirement */
  border: 4px double #333; 
}

.transcript-table th, 
.transcript-table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
  text-align: left;
}

/* Distinct Background Color for AINT Student Name */
.student-name-header {
  background-color: #f1c40f; 
  color: #000;
  text-align: center;
  font-size: 1.25rem;
  padding: 14px;
}

.semester-heading th {
  background-color: #2c3e50;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  padding: 10px;
}

.table-subhead th {
  background-color: #ecf0f1;
  color: #333;
}

.gpa-row {
  background-color: #f9f9f9;
}

.text-right {
  text-align: right;
}