/* ==========================================================================
   T.C. COLLEGE OF TEACHERS' EDUCATION & SOCIAL WORK
   Premier Educational Institution Stylesheet
   Kangpokpi, Manipur | NCTE Recognised & Manipur University Affiliated
   ========================================================================== */

:root {
  --primary: #023f75;
  --primary-dark: #072545;
  --primary-light: #0d5ea6;
  --secondary: #d97706;
  --secondary-dark: #b45309;
  --secondary-light: #fbbf24;
  --accent: #991b1b;
  --accent-light: #ef4444;
  --dark: #0f172a;
  --slate-dark: #1e293b;
  --slate-medium: #475569;
  --slate-light: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px -1px rgba(2, 63, 117, 0.08), 0 2px 6px -1px rgba(2, 63, 117, 0.04);
  --card-shadow: 0 10px 25px -5px rgba(2, 63, 117, 0.09), 0 8px 10px -6px rgba(2, 63, 117, 0.04);
  --hover-shadow: 0 20px 35px -10px rgba(2, 63, 117, 0.16);
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Georgia', 'Cambria', 'Times New Roman', serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-max: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--slate-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover {
  color: var(--secondary);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.35rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 4.5rem 0;
}

.section-sm {
  padding: 2.5rem 0;
}

.section-alt {
  background-color: #ffffff;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  background: rgba(217, 119, 6, 0.1);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  color: var(--primary-dark);
  font-size: 2.25rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.section-desc {
  max-width: 680px;
  margin: 1rem auto 0;
  color: var(--slate-medium);
  font-size: 1.05rem;
}

/* ==========================================================================
   TOP BAR & NOTICE TICKER
   ========================================================================== */
.top-bar {
  background-color: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-contact {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-bar-contact a:hover {
  color: var(--secondary-light);
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-badge {
  background: rgba(255,255,255,0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #fff;
  font-weight: 600;
}

/* Notice Ticker */
.notice-ticker-wrap {
  background: #0f172a;
  color: #fff;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--secondary);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
}

.ticker-label {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  padding: 0.35rem 1rem;
}

.ticker-items {
  display: inline-block;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-items:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-block;
  color: #e2e8f0;
  margin-right: 3rem;
}

.ticker-item:hover {
  color: var(--secondary-light);
  text-decoration: underline;
}

@keyframes ticker-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ==========================================================================
   MAIN BRANDING HEADER
   ========================================================================== */
.main-header {
  background: #ffffff;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand-logo img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.brand-text h1 a {
  color: var(--primary-dark);
}

.brand-text h1 a:hover {
  color: var(--primary);
}

.brand-text p {
  font-size: 0.85rem;
  color: var(--slate-medium);
  margin-bottom: 0.35rem;
}

.affiliation-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.affiliation-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

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

.header-badges img {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.main-nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(2, 63, 117, 0.15);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.95rem 1rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  background: rgba(255, 255, 255, 0.12);
  color: var(--secondary-light);
}

/* Dropdowns */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 250px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 3px solid var(--secondary);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--slate-dark);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.dropdown-item:last-child a {
  border-bottom: none;
}

.dropdown-item a:hover {
  background: #f8fafc;
  color: var(--primary);
  padding-left: 1.5rem;
}

.nav-cta {
  padding: 0.45rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: #7f1d1d;
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-dark);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.badge-info {
  background-color: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.badge-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.badge-warning {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--card-shadow);
  transform: translateY(-3px);
}

.card-body {
  padding: 1.75rem;
}

/* Course Cards */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.course-card {
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-badge {
  display: inline-block;
  background: rgba(2, 63, 117, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-box {
  background: #ffffff;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: var(--secondary);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

/* Notice Cards */
.notice-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.notice-item-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: var(--transition);
}

.notice-item-card:hover {
  box-shadow: var(--card-shadow);
  border-left: 4px solid var(--secondary);
  transform: translateY(-2px);
}

.notice-date-badge {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 65px;
}

.notice-day {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.notice-month {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-medium);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.2rem;
}

.notice-details {
  flex: 1;
}

.notice-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(2, 63, 117, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.notice-tag.pinned {
  background: #fef2f2;
  color: var(--accent);
}

/* Faculty Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.faculty-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 3px solid var(--primary);
}

.faculty-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: #f1f5f9;
}

/* Message Cards */
.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.message-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.message-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-light);
}

.message-author h4 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.message-author p {
  font-size: 0.85rem;
  color: var(--slate-medium);
  margin-bottom: 0;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 37, 69, 0.9) 0%, rgba(7, 37, 69, 0.2) 60%, transparent 100%);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Stats Bar */
.stats-bar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}

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

.stat-item {
  border-right: 1px solid var(--border-color);
  padding: 0 1rem;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--slate-medium);
  font-weight: 600;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(7, 37, 69, 0.94) 0%, rgba(2, 63, 117, 0.88) 100%), url('../images/card-bg.png') center/cover;
  color: #ffffff;
  padding: 6rem 0 7rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--secondary-light);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-title {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   FORMS & INPUTS
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--slate-dark);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 63, 117, 0.15);
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.custom-table th {
  background-color: #f1f5f9;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border-color);
}

.custom-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--slate-dark);
}

.custom-table tbody tr:hover {
  background-color: #f8fafc;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.alert-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.alert-warning {
  background-color: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.alert-info {
  background-color: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #071e36;
  color: #cbd5e1;
  margin-top: auto;
}

.footer-top {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary-light);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
}

.footer-contact-item a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  background: #041221;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .brand-wrapper {
    flex-direction: column;
  }

  .header-badges {
    justify-content: center;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-inner {
    padding: 0.5rem 0;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-dark);
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1.5rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    border-radius: 0;
    border-top: none;
    display: none;
  }

  .nav-item.open-dropdown .dropdown-menu {
    display: block;
  }

  .dropdown-item a {
    color: #cbd5e1;
    padding-left: 2.5rem;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
  }

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

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

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