/* ==========================================================================
   gadgap AI — Official Modern Design System & Stylesheet (v2.0)
   Brand Dual-Tone: Electric Orange (#DE5814) & Frontier Blue (#147EB2)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Core Colors */
  --brand-orange: #DE5814;
  --brand-orange-light: #FF7A38;
  --brand-orange-dark: #B5420A;
  --brand-orange-glow: rgba(222, 88, 20, 0.25);
  
  --brand-blue: #147EB2;
  --brand-blue-light: #25A6E9;
  --brand-blue-dark: #0D5A80;
  --brand-blue-glow: rgba(20, 126, 178, 0.25);

  /* Backgrounds & Canvas */
  --bg-dark: #080C16;
  --bg-surface: #0D1322;
  --bg-card: #0F172A;
  --bg-card-hover: #152238;
  --bg-elevated: #1E293B;
  --bg-glass: rgba(15, 23, 42, 0.75);

  /* Borders & Dividers */
  --border-subtle: #1E293B;
  --border-medium: #334155;
  --border-focus: #147EB2;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;

  /* Accents */
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  --accent-purple: #8B5CF6;

  /* Layout & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(222, 88, 20, 0.15), 0 0 40px rgba(20, 126, 178, 0.15);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle background ambient mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(circle 800px at 15% -10%, rgba(222, 88, 20, 0.12), transparent 70%),
              radial-gradient(circle 800px at 85% -10%, rgba(20, 126, 178, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Container & Grid --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.container-narrow {
  max-width: 960px;
}

.container-wide {
  max-width: 1360px;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

p.lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--brand-blue-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-orange-light);
}

/* --- Gradient Text & Badges --- */
.gradient-brand-text {
  background: linear-gradient(120deg, var(--brand-orange-light) 0%, #FFA266 35%, var(--brand-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-orange-text {
  background: linear-gradient(120deg, #FF7A38, #DE5814);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-blue-text {
  background: linear-gradient(120deg, #38BDF8, #147EB2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-brand {
  background: rgba(222, 88, 20, 0.12);
  border: 1px solid rgba(222, 88, 20, 0.35);
  color: var(--brand-orange-light);
}

.badge-blue {
  background: rgba(20, 126, 178, 0.12);
  border: 1px solid rgba(20, 126, 178, 0.35);
  color: var(--brand-blue-light);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-green);
}

.badge-coming-soon {
  background: rgba(148, 163, 184, 0.12);
  border: 1px dashed rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(8, 12, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover .brand-logo-img {
  transform: scale(1.02);
}

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

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
  transition: width var(--transition-fast), left var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
}

.mobile-nav-drawer.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  list-style: none;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--brand-orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-orange-light) 0%, var(--brand-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(222, 88, 20, 0.4);
  color: #FFFFFF;
}

.btn-blue {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--brand-blue-glow);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--brand-blue-light) 0%, var(--brand-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 126, 178, 0.4);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--bg-elevated);
  border-color: var(--brand-blue-light);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-orange {
  background: transparent;
  border-color: var(--brand-orange);
  color: var(--brand-orange-light);
}

.btn-outline-orange:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
}

.btn-outline-blue {
  background: transparent;
  border-color: var(--brand-blue);
  color: var(--brand-blue-light);
}

.btn-outline-blue:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* --- Cards & Glass Containers --- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(20, 126, 178, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-gradient-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-blue));
}

/* --- Course Card Styles --- */
.course-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(222, 88, 20, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(222, 88, 20, 0.1);
}

.course-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-surface);
  overflow: hidden;
}

.course-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.course-card:hover .course-thumb-img {
  transform: scale(1.04);
}

.course-floating-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.course-price-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(8, 12, 22, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brand-orange-light);
}

.course-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.tag-pill {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-elevated);
  color: var(--text-muted);
  font-weight: 500;
}

.tag-pill-modality {
  background: rgba(20, 126, 178, 0.15);
  color: var(--brand-blue-light);
  border: 1px solid rgba(20, 126, 178, 0.3);
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.course-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.course-meta-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Filter Bar & Search --- */
.filter-wrapper {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.search-box-wrap {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background-color: var(--bg-dark);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-blue-light);
  box-shadow: 0 0 0 3px var(--brand-blue-glow);
}

.filter-categories {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 90px;
}

.filter-btn {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--brand-orange) 0%, #B5420A 100%);
  border-color: var(--brand-orange-light);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 2px 8px var(--brand-orange-glow);
}

.filter-btn.active.blue-tone {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #0D5A80 100%);
  border-color: var(--brand-blue-light);
  box-shadow: 0 2px 8px var(--brand-blue-glow);
}

.filter-btn-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  position: relative;
}

.filter-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.reset-filter-btn {
  background: none;
  border: none;
  color: var(--brand-orange-light);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.2rem 0.5rem;
}

/* --- Hero Section Styles --- */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(222, 88, 20, 0.1);
  border: 1px solid rgba(222, 88, 20, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-orange-light);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 1.25rem auto 2.25rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Syllabus / Accordion Styles --- */
.syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.module-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.module-item.active {
  border-color: var(--brand-blue);
}

.module-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  background: var(--bg-card);
  transition: background var(--transition-fast);
}

.module-header:hover {
  background: var(--bg-card-hover);
}

.module-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.module-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-orange-light);
  background: rgba(222, 88, 20, 0.15);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.module-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.module-toggle-icon {
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  font-size: 1.1rem;
}

.module-item.active .module-toggle-icon {
  transform: rotate(180deg);
  color: var(--brand-blue-light);
}

.module-body {
  padding: 0 1.5rem 1.5rem;
  display: none;
  border-top: 1px solid var(--border-subtle);
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

.module-item.active .module-body {
  display: block;
}

.module-topic-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.module-topic-item {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.module-topic-item::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--brand-blue-light);
  font-size: 1.1rem;
}

.module-lab-box {
  background: rgba(20, 126, 178, 0.08);
  border: 1px solid rgba(20, 126, 178, 0.25);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
}

.module-lab-label {
  font-weight: 700;
  color: var(--brand-blue-light);
  margin-right: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* --- Section Layouts & Utilities --- */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-orange-light);
  margin-bottom: 0.75rem;
  display: block;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

/* --- Service Card Styles --- */
.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-icon-orange {
  background: rgba(222, 88, 20, 0.15);
  color: var(--brand-orange-light);
  border: 1px solid rgba(222, 88, 20, 0.3);
}

.service-icon-blue {
  background: rgba(20, 126, 178, 0.15);
  color: var(--brand-blue-light);
  border: 1px solid rgba(20, 126, 178, 0.3);
}

.service-icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* --- Modal Styles --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px var(--brand-orange-glow);
}

/* --- Footer --- */
.site-footer {
  background-color: #050810;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-orange-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Toast Notification --- */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--brand-orange);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 0.95rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .section {
    padding: 3.5rem 0;
  }

  .hero-section {
    padding: 3.5rem 0 2.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
